azure-native.network.ExpressRouteCircuitConnection
Explore with Pulumi AI
Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01.
Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01.
Example Usage
ExpressRouteCircuitConnectionCreate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var expressRouteCircuitConnection = new AzureNative.Network.ExpressRouteCircuitConnection("expressRouteCircuitConnection", new()
    {
        AddressPrefix = "10.0.0.0/29",
        AuthorizationKey = "946a1918-b7a2-4917-b43c-8c4cdaee006a",
        CircuitName = "ExpressRouteARMCircuitA",
        ConnectionName = "circuitConnectionUSAUS",
        ExpressRouteCircuitPeering = new AzureNative.Network.Inputs.SubResourceArgs
        {
            Id = "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering",
        },
        Ipv6CircuitConnectionConfig = new AzureNative.Network.Inputs.Ipv6CircuitConnectionConfigArgs
        {
            AddressPrefix = "aa:bb::/125",
        },
        PeerExpressRouteCircuitPeering = new AzureNative.Network.Inputs.SubResourceArgs
        {
            Id = "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering",
        },
        PeeringName = "AzurePrivatePeering",
        ResourceGroupName = "rg1",
    });
});
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.NewExpressRouteCircuitConnection(ctx, "expressRouteCircuitConnection", &network.ExpressRouteCircuitConnectionArgs{
			AddressPrefix:    pulumi.String("10.0.0.0/29"),
			AuthorizationKey: pulumi.String("946a1918-b7a2-4917-b43c-8c4cdaee006a"),
			CircuitName:      pulumi.String("ExpressRouteARMCircuitA"),
			ConnectionName:   pulumi.String("circuitConnectionUSAUS"),
			ExpressRouteCircuitPeering: &network.SubResourceArgs{
				Id: pulumi.String("/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering"),
			},
			Ipv6CircuitConnectionConfig: &network.Ipv6CircuitConnectionConfigArgs{
				AddressPrefix: pulumi.String("aa:bb::/125"),
			},
			PeerExpressRouteCircuitPeering: &network.SubResourceArgs{
				Id: pulumi.String("/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering"),
			},
			PeeringName:       pulumi.String("AzurePrivatePeering"),
			ResourceGroupName: pulumi.String("rg1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.ExpressRouteCircuitConnection;
import com.pulumi.azurenative.network.ExpressRouteCircuitConnectionArgs;
import com.pulumi.azurenative.network.inputs.SubResourceArgs;
import com.pulumi.azurenative.network.inputs.Ipv6CircuitConnectionConfigArgs;
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 expressRouteCircuitConnection = new ExpressRouteCircuitConnection("expressRouteCircuitConnection", ExpressRouteCircuitConnectionArgs.builder()
            .addressPrefix("10.0.0.0/29")
            .authorizationKey("946a1918-b7a2-4917-b43c-8c4cdaee006a")
            .circuitName("ExpressRouteARMCircuitA")
            .connectionName("circuitConnectionUSAUS")
            .expressRouteCircuitPeering(SubResourceArgs.builder()
                .id("/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering")
                .build())
            .ipv6CircuitConnectionConfig(Ipv6CircuitConnectionConfigArgs.builder()
                .addressPrefix("aa:bb::/125")
                .build())
            .peerExpressRouteCircuitPeering(SubResourceArgs.builder()
                .id("/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering")
                .build())
            .peeringName("AzurePrivatePeering")
            .resourceGroupName("rg1")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const expressRouteCircuitConnection = new azure_native.network.ExpressRouteCircuitConnection("expressRouteCircuitConnection", {
    addressPrefix: "10.0.0.0/29",
    authorizationKey: "946a1918-b7a2-4917-b43c-8c4cdaee006a",
    circuitName: "ExpressRouteARMCircuitA",
    connectionName: "circuitConnectionUSAUS",
    expressRouteCircuitPeering: {
        id: "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering",
    },
    ipv6CircuitConnectionConfig: {
        addressPrefix: "aa:bb::/125",
    },
    peerExpressRouteCircuitPeering: {
        id: "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering",
    },
    peeringName: "AzurePrivatePeering",
    resourceGroupName: "rg1",
});
import pulumi
import pulumi_azure_native as azure_native
express_route_circuit_connection = azure_native.network.ExpressRouteCircuitConnection("expressRouteCircuitConnection",
    address_prefix="10.0.0.0/29",
    authorization_key="946a1918-b7a2-4917-b43c-8c4cdaee006a",
    circuit_name="ExpressRouteARMCircuitA",
    connection_name="circuitConnectionUSAUS",
    express_route_circuit_peering={
        "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering",
    },
    ipv6_circuit_connection_config={
        "address_prefix": "aa:bb::/125",
    },
    peer_express_route_circuit_peering={
        "id": "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering",
    },
    peering_name="AzurePrivatePeering",
    resource_group_name="rg1")
resources:
  expressRouteCircuitConnection:
    type: azure-native:network:ExpressRouteCircuitConnection
    properties:
      addressPrefix: 10.0.0.0/29
      authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a
      circuitName: ExpressRouteARMCircuitA
      connectionName: circuitConnectionUSAUS
      expressRouteCircuitPeering:
        id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering
      ipv6CircuitConnectionConfig:
        addressPrefix: aa:bb::/125
      peerExpressRouteCircuitPeering:
        id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering
      peeringName: AzurePrivatePeering
      resourceGroupName: rg1
Create ExpressRouteCircuitConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ExpressRouteCircuitConnection(name: string, args: ExpressRouteCircuitConnectionArgs, opts?: CustomResourceOptions);@overload
def ExpressRouteCircuitConnection(resource_name: str,
                                  args: ExpressRouteCircuitConnectionInitArgs,
                                  opts: Optional[ResourceOptions] = None)
@overload
def ExpressRouteCircuitConnection(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  circuit_name: Optional[str] = None,
                                  peering_name: Optional[str] = None,
                                  resource_group_name: Optional[str] = None,
                                  address_prefix: Optional[str] = None,
                                  authorization_key: Optional[str] = None,
                                  connection_name: Optional[str] = None,
                                  express_route_circuit_peering: Optional[SubResourceArgs] = None,
                                  id: Optional[str] = None,
                                  ipv6_circuit_connection_config: Optional[Ipv6CircuitConnectionConfigArgs] = None,
                                  name: Optional[str] = None,
                                  peer_express_route_circuit_peering: Optional[SubResourceArgs] = None)func NewExpressRouteCircuitConnection(ctx *Context, name string, args ExpressRouteCircuitConnectionArgs, opts ...ResourceOption) (*ExpressRouteCircuitConnection, error)public ExpressRouteCircuitConnection(string name, ExpressRouteCircuitConnectionArgs args, CustomResourceOptions? opts = null)
public ExpressRouteCircuitConnection(String name, ExpressRouteCircuitConnectionArgs args)
public ExpressRouteCircuitConnection(String name, ExpressRouteCircuitConnectionArgs args, CustomResourceOptions options)
type: azure-native:network:ExpressRouteCircuitConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ExpressRouteCircuitConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ExpressRouteCircuitConnectionInitArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ExpressRouteCircuitConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExpressRouteCircuitConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExpressRouteCircuitConnectionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var expressRouteCircuitConnectionResource = new AzureNative.Network.ExpressRouteCircuitConnection("expressRouteCircuitConnectionResource", new()
{
    CircuitName = "string",
    PeeringName = "string",
    ResourceGroupName = "string",
    AddressPrefix = "string",
    AuthorizationKey = "string",
    ConnectionName = "string",
    ExpressRouteCircuitPeering = new AzureNative.Network.Inputs.SubResourceArgs
    {
        Id = "string",
    },
    Id = "string",
    Ipv6CircuitConnectionConfig = new AzureNative.Network.Inputs.Ipv6CircuitConnectionConfigArgs
    {
        AddressPrefix = "string",
    },
    Name = "string",
    PeerExpressRouteCircuitPeering = new AzureNative.Network.Inputs.SubResourceArgs
    {
        Id = "string",
    },
});
example, err := network.NewExpressRouteCircuitConnection(ctx, "expressRouteCircuitConnectionResource", &network.ExpressRouteCircuitConnectionArgs{
	CircuitName:       pulumi.String("string"),
	PeeringName:       pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	AddressPrefix:     pulumi.String("string"),
	AuthorizationKey:  pulumi.String("string"),
	ConnectionName:    pulumi.String("string"),
	ExpressRouteCircuitPeering: &network.SubResourceArgs{
		Id: pulumi.String("string"),
	},
	Id: pulumi.String("string"),
	Ipv6CircuitConnectionConfig: &network.Ipv6CircuitConnectionConfigArgs{
		AddressPrefix: pulumi.String("string"),
	},
	Name: pulumi.String("string"),
	PeerExpressRouteCircuitPeering: &network.SubResourceArgs{
		Id: pulumi.String("string"),
	},
})
var expressRouteCircuitConnectionResource = new ExpressRouteCircuitConnection("expressRouteCircuitConnectionResource", ExpressRouteCircuitConnectionArgs.builder()
    .circuitName("string")
    .peeringName("string")
    .resourceGroupName("string")
    .addressPrefix("string")
    .authorizationKey("string")
    .connectionName("string")
    .expressRouteCircuitPeering(SubResourceArgs.builder()
        .id("string")
        .build())
    .id("string")
    .ipv6CircuitConnectionConfig(Ipv6CircuitConnectionConfigArgs.builder()
        .addressPrefix("string")
        .build())
    .name("string")
    .peerExpressRouteCircuitPeering(SubResourceArgs.builder()
        .id("string")
        .build())
    .build());
express_route_circuit_connection_resource = azure_native.network.ExpressRouteCircuitConnection("expressRouteCircuitConnectionResource",
    circuit_name="string",
    peering_name="string",
    resource_group_name="string",
    address_prefix="string",
    authorization_key="string",
    connection_name="string",
    express_route_circuit_peering={
        "id": "string",
    },
    id="string",
    ipv6_circuit_connection_config={
        "address_prefix": "string",
    },
    name="string",
    peer_express_route_circuit_peering={
        "id": "string",
    })
const expressRouteCircuitConnectionResource = new azure_native.network.ExpressRouteCircuitConnection("expressRouteCircuitConnectionResource", {
    circuitName: "string",
    peeringName: "string",
    resourceGroupName: "string",
    addressPrefix: "string",
    authorizationKey: "string",
    connectionName: "string",
    expressRouteCircuitPeering: {
        id: "string",
    },
    id: "string",
    ipv6CircuitConnectionConfig: {
        addressPrefix: "string",
    },
    name: "string",
    peerExpressRouteCircuitPeering: {
        id: "string",
    },
});
type: azure-native:network:ExpressRouteCircuitConnection
properties:
    addressPrefix: string
    authorizationKey: string
    circuitName: string
    connectionName: string
    expressRouteCircuitPeering:
        id: string
    id: string
    ipv6CircuitConnectionConfig:
        addressPrefix: string
    name: string
    peerExpressRouteCircuitPeering:
        id: string
    peeringName: string
    resourceGroupName: string
ExpressRouteCircuitConnection Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ExpressRouteCircuitConnection resource accepts the following input properties:
- CircuitName string
- The name of the express route circuit.
- PeeringName string
- The name of the peering.
- ResourceGroup stringName 
- The name of the resource group.
- AddressPrefix string
- /29 IP address space to carve out Customer addresses for tunnels.
- string
- The authorization key.
- ConnectionName string
- The name of the express route circuit connection.
- ExpressRoute Pulumi.Circuit Peering Azure Native. Network. Inputs. Sub Resource 
- Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
- Id string
- Resource ID.
- Ipv6CircuitConnection Pulumi.Config Azure Native. Network. Inputs. Ipv6Circuit Connection Config 
- IPv6 Address PrefixProperties of the express route circuit connection.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- PeerExpress Pulumi.Route Circuit Peering Azure Native. Network. Inputs. Sub Resource 
- Reference to Express Route Circuit Private Peering Resource of the peered circuit.
- CircuitName string
- The name of the express route circuit.
- PeeringName string
- The name of the peering.
- ResourceGroup stringName 
- The name of the resource group.
- AddressPrefix string
- /29 IP address space to carve out Customer addresses for tunnels.
- string
- The authorization key.
- ConnectionName string
- The name of the express route circuit connection.
- ExpressRoute SubCircuit Peering Resource Args 
- Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
- Id string
- Resource ID.
- Ipv6CircuitConnection Ipv6CircuitConfig Connection Config Args 
- IPv6 Address PrefixProperties of the express route circuit connection.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- PeerExpress SubRoute Circuit Peering Resource Args 
- Reference to Express Route Circuit Private Peering Resource of the peered circuit.
- circuitName String
- The name of the express route circuit.
- peeringName String
- The name of the peering.
- resourceGroup StringName 
- The name of the resource group.
- addressPrefix String
- /29 IP address space to carve out Customer addresses for tunnels.
- String
- The authorization key.
- connectionName String
- The name of the express route circuit connection.
- expressRoute SubCircuit Peering Resource 
- Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
- id String
- Resource ID.
- ipv6CircuitConnection Ipv6CircuitConfig Connection Config 
- IPv6 Address PrefixProperties of the express route circuit connection.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- peerExpress SubRoute Circuit Peering Resource 
- Reference to Express Route Circuit Private Peering Resource of the peered circuit.
- circuitName string
- The name of the express route circuit.
- peeringName string
- The name of the peering.
- resourceGroup stringName 
- The name of the resource group.
- addressPrefix string
- /29 IP address space to carve out Customer addresses for tunnels.
- string
- The authorization key.
- connectionName string
- The name of the express route circuit connection.
- expressRoute SubCircuit Peering Resource 
- Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
- id string
- Resource ID.
- ipv6CircuitConnection Ipv6CircuitConfig Connection Config 
- IPv6 Address PrefixProperties of the express route circuit connection.
- name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- peerExpress SubRoute Circuit Peering Resource 
- Reference to Express Route Circuit Private Peering Resource of the peered circuit.
- circuit_name str
- The name of the express route circuit.
- peering_name str
- The name of the peering.
- resource_group_ strname 
- The name of the resource group.
- address_prefix str
- /29 IP address space to carve out Customer addresses for tunnels.
- str
- The authorization key.
- connection_name str
- The name of the express route circuit connection.
- express_route_ Subcircuit_ peering Resource Args 
- Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
- id str
- Resource ID.
- ipv6_circuit_ Ipv6Circuitconnection_ config Connection Config Args 
- IPv6 Address PrefixProperties of the express route circuit connection.
- name str
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- peer_express_ Subroute_ circuit_ peering Resource Args 
- Reference to Express Route Circuit Private Peering Resource of the peered circuit.
- circuitName String
- The name of the express route circuit.
- peeringName String
- The name of the peering.
- resourceGroup StringName 
- The name of the resource group.
- addressPrefix String
- /29 IP address space to carve out Customer addresses for tunnels.
- String
- The authorization key.
- connectionName String
- The name of the express route circuit connection.
- expressRoute Property MapCircuit Peering 
- Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
- id String
- Resource ID.
- ipv6CircuitConnection Property MapConfig 
- IPv6 Address PrefixProperties of the express route circuit connection.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- peerExpress Property MapRoute Circuit Peering 
- Reference to Express Route Circuit Private Peering Resource of the peered circuit.
Outputs
All input properties are implicitly available as output properties. Additionally, the ExpressRouteCircuitConnection resource produces the following output properties:
- CircuitConnection stringStatus 
- Express Route Circuit connection state.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- ProvisioningState string
- The provisioning state of the express route circuit connection resource.
- Type string
- Type of the resource.
- CircuitConnection stringStatus 
- Express Route Circuit connection state.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- ProvisioningState string
- The provisioning state of the express route circuit connection resource.
- Type string
- Type of the resource.
- circuitConnection StringStatus 
- Express Route Circuit connection state.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioningState String
- The provisioning state of the express route circuit connection resource.
- type String
- Type of the resource.
- circuitConnection stringStatus 
- Express Route Circuit connection state.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- The provider-assigned unique ID for this managed resource.
- provisioningState string
- The provisioning state of the express route circuit connection resource.
- type string
- Type of the resource.
- circuit_connection_ strstatus 
- Express Route Circuit connection state.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- id str
- The provider-assigned unique ID for this managed resource.
- provisioning_state str
- The provisioning state of the express route circuit connection resource.
- type str
- Type of the resource.
- circuitConnection StringStatus 
- Express Route Circuit connection state.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioningState String
- The provisioning state of the express route circuit connection resource.
- type String
- Type of the resource.
Supporting Types
Ipv6CircuitConnectionConfig, Ipv6CircuitConnectionConfigArgs      
- AddressPrefix string
- /125 IP address space to carve out customer addresses for global reach.
- AddressPrefix string
- /125 IP address space to carve out customer addresses for global reach.
- addressPrefix String
- /125 IP address space to carve out customer addresses for global reach.
- addressPrefix string
- /125 IP address space to carve out customer addresses for global reach.
- address_prefix str
- /125 IP address space to carve out customer addresses for global reach.
- addressPrefix String
- /125 IP address space to carve out customer addresses for global reach.
Ipv6CircuitConnectionConfigResponse, Ipv6CircuitConnectionConfigResponseArgs        
- CircuitConnection stringStatus 
- Express Route Circuit connection state.
- AddressPrefix string
- /125 IP address space to carve out customer addresses for global reach.
- CircuitConnection stringStatus 
- Express Route Circuit connection state.
- AddressPrefix string
- /125 IP address space to carve out customer addresses for global reach.
- circuitConnection StringStatus 
- Express Route Circuit connection state.
- addressPrefix String
- /125 IP address space to carve out customer addresses for global reach.
- circuitConnection stringStatus 
- Express Route Circuit connection state.
- addressPrefix string
- /125 IP address space to carve out customer addresses for global reach.
- circuit_connection_ strstatus 
- Express Route Circuit connection state.
- address_prefix str
- /125 IP address space to carve out customer addresses for global reach.
- circuitConnection StringStatus 
- Express Route Circuit connection state.
- addressPrefix String
- /125 IP address space to carve out customer addresses for global reach.
SubResource, SubResourceArgs    
- Id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- Id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id str
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
SubResourceResponse, SubResourceResponseArgs      
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:ExpressRouteCircuitConnection circuitConnectionUSAUS /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0