Interface Endpoint Args
data class InterfaceEndpointArgs(val endpointService: Output<EndpointServiceArgs>? = null, val fqdn: Output<String>? = null, val id: Output<String>? = null, val interfaceEndpointName: Output<String>? = null, val location: Output<String>? = null, val resourceGroupName: Output<String>? = null, val subnet: Output<SubnetArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<InterfaceEndpointArgs>
Interface endpoint resource. Uses Azure REST API version 2019-02-01. In version 2.x of the Azure Native provider, it used API version 2019-02-01. Other available API versions: 2018-08-01, 2018-10-01, 2018-11-01, 2018-12-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native network [ApiVersion]
. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.
Example Usage
Create interface endpoint
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var interfaceEndpoint = new AzureNative.Network.InterfaceEndpoint("interfaceEndpoint", new()
{
EndpointService = new AzureNative.Network.Inputs.EndpointServiceArgs
{
Id = "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName",
},
Fqdn = "uniqueIdentifier.fqdn.windows.net",
InterfaceEndpointName = "testIe",
ResourceGroupName = "rg1",
Subnet = new AzureNative.Network.Inputs.SubnetArgs
{
Id = "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet",
},
});
});
Content copied to clipboard
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewInterfaceEndpoint(ctx, "interfaceEndpoint", &network.InterfaceEndpointArgs{
EndpointService: &network.EndpointServiceArgs{
Id: pulumi.String("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName"),
},
Fqdn: pulumi.String("uniqueIdentifier.fqdn.windows.net"),
InterfaceEndpointName: pulumi.String("testIe"),
ResourceGroupName: pulumi.String("rg1"),
Subnet: &network.SubnetTypeArgs{
Id: pulumi.String("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"),
},
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.InterfaceEndpoint;
import com.pulumi.azurenative.network.InterfaceEndpointArgs;
import com.pulumi.azurenative.network.inputs.EndpointServiceArgs;
import com.pulumi.azurenative.network.inputs.SubnetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var interfaceEndpoint = new InterfaceEndpoint("interfaceEndpoint", InterfaceEndpointArgs.builder()
.endpointService(EndpointServiceArgs.builder()
.id("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Provider/resourceType/resourceName")
.build())
.fqdn("uniqueIdentifier.fqdn.windows.net")
.interfaceEndpointName("testIe")
.resourceGroupName("rg1")
.subnet(SubnetArgs.builder()
.id("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet")
.build())
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:InterfaceEndpoint testIe /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/interfaceEndpoints/{interfaceEndpointName}
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(endpointService: Output<EndpointServiceArgs>? = null, fqdn: Output<String>? = null, id: Output<String>? = null, interfaceEndpointName: Output<String>? = null, location: Output<String>? = null, resourceGroupName: Output<String>? = null, subnet: Output<SubnetArgs>? = null, tags: Output<Map<String, String>>? = null)
Properties
Link copied to clipboard
A reference to the service being brought into the virtual network.
Link copied to clipboard
The name of the interface endpoint.
Link copied to clipboard
The name of the resource group.
Link copied to clipboard
The ID of the subnet from which the private IP will be allocated.