azure-native.network.ExpressRouteCrossConnectionPeering
Explore with Pulumi AI
Peering in an ExpressRoute Cross Connection resource. Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01.
Other available API versions: 2019-08-01, 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
ExpressRouteCrossConnectionBgpPeeringCreate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var expressRouteCrossConnectionPeering = new AzureNative.Network.ExpressRouteCrossConnectionPeering("expressRouteCrossConnectionPeering", new()
    {
        CrossConnectionName = "<circuitServiceKey>",
        Ipv6PeeringConfig = new AzureNative.Network.Inputs.Ipv6ExpressRouteCircuitPeeringConfigArgs
        {
            PrimaryPeerAddressPrefix = "3FFE:FFFF:0:CD30::/126",
            SecondaryPeerAddressPrefix = "3FFE:FFFF:0:CD30::4/126",
        },
        PeerASN = 200,
        PeeringName = "AzurePrivatePeering",
        PrimaryPeerAddressPrefix = "192.168.16.252/30",
        ResourceGroupName = "CrossConnection-SiliconValley",
        SecondaryPeerAddressPrefix = "192.168.18.252/30",
        VlanId = 200,
    });
});
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.NewExpressRouteCrossConnectionPeering(ctx, "expressRouteCrossConnectionPeering", &network.ExpressRouteCrossConnectionPeeringArgs{
			CrossConnectionName: pulumi.String("<circuitServiceKey>"),
			Ipv6PeeringConfig: &network.Ipv6ExpressRouteCircuitPeeringConfigArgs{
				PrimaryPeerAddressPrefix:   pulumi.String("3FFE:FFFF:0:CD30::/126"),
				SecondaryPeerAddressPrefix: pulumi.String("3FFE:FFFF:0:CD30::4/126"),
			},
			PeerASN:                    pulumi.Float64(200),
			PeeringName:                pulumi.String("AzurePrivatePeering"),
			PrimaryPeerAddressPrefix:   pulumi.String("192.168.16.252/30"),
			ResourceGroupName:          pulumi.String("CrossConnection-SiliconValley"),
			SecondaryPeerAddressPrefix: pulumi.String("192.168.18.252/30"),
			VlanId:                     pulumi.Int(200),
		})
		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.ExpressRouteCrossConnectionPeering;
import com.pulumi.azurenative.network.ExpressRouteCrossConnectionPeeringArgs;
import com.pulumi.azurenative.network.inputs.Ipv6ExpressRouteCircuitPeeringConfigArgs;
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 expressRouteCrossConnectionPeering = new ExpressRouteCrossConnectionPeering("expressRouteCrossConnectionPeering", ExpressRouteCrossConnectionPeeringArgs.builder()
            .crossConnectionName("<circuitServiceKey>")
            .ipv6PeeringConfig(Ipv6ExpressRouteCircuitPeeringConfigArgs.builder()
                .primaryPeerAddressPrefix("3FFE:FFFF:0:CD30::/126")
                .secondaryPeerAddressPrefix("3FFE:FFFF:0:CD30::4/126")
                .build())
            .peerASN(200)
            .peeringName("AzurePrivatePeering")
            .primaryPeerAddressPrefix("192.168.16.252/30")
            .resourceGroupName("CrossConnection-SiliconValley")
            .secondaryPeerAddressPrefix("192.168.18.252/30")
            .vlanId(200)
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const expressRouteCrossConnectionPeering = new azure_native.network.ExpressRouteCrossConnectionPeering("expressRouteCrossConnectionPeering", {
    crossConnectionName: "<circuitServiceKey>",
    ipv6PeeringConfig: {
        primaryPeerAddressPrefix: "3FFE:FFFF:0:CD30::/126",
        secondaryPeerAddressPrefix: "3FFE:FFFF:0:CD30::4/126",
    },
    peerASN: 200,
    peeringName: "AzurePrivatePeering",
    primaryPeerAddressPrefix: "192.168.16.252/30",
    resourceGroupName: "CrossConnection-SiliconValley",
    secondaryPeerAddressPrefix: "192.168.18.252/30",
    vlanId: 200,
});
import pulumi
import pulumi_azure_native as azure_native
express_route_cross_connection_peering = azure_native.network.ExpressRouteCrossConnectionPeering("expressRouteCrossConnectionPeering",
    cross_connection_name="<circuitServiceKey>",
    ipv6_peering_config={
        "primary_peer_address_prefix": "3FFE:FFFF:0:CD30::/126",
        "secondary_peer_address_prefix": "3FFE:FFFF:0:CD30::4/126",
    },
    peer_asn=200,
    peering_name="AzurePrivatePeering",
    primary_peer_address_prefix="192.168.16.252/30",
    resource_group_name="CrossConnection-SiliconValley",
    secondary_peer_address_prefix="192.168.18.252/30",
    vlan_id=200)
resources:
  expressRouteCrossConnectionPeering:
    type: azure-native:network:ExpressRouteCrossConnectionPeering
    properties:
      crossConnectionName: <circuitServiceKey>
      ipv6PeeringConfig:
        primaryPeerAddressPrefix: 3FFE:FFFF:0:CD30::/126
        secondaryPeerAddressPrefix: 3FFE:FFFF:0:CD30::4/126
      peerASN: 200
      peeringName: AzurePrivatePeering
      primaryPeerAddressPrefix: 192.168.16.252/30
      resourceGroupName: CrossConnection-SiliconValley
      secondaryPeerAddressPrefix: 192.168.18.252/30
      vlanId: 200
Create ExpressRouteCrossConnectionPeering Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ExpressRouteCrossConnectionPeering(name: string, args: ExpressRouteCrossConnectionPeeringArgs, opts?: CustomResourceOptions);@overload
def ExpressRouteCrossConnectionPeering(resource_name: str,
                                       args: ExpressRouteCrossConnectionPeeringArgs,
                                       opts: Optional[ResourceOptions] = None)
@overload
def ExpressRouteCrossConnectionPeering(resource_name: str,
                                       opts: Optional[ResourceOptions] = None,
                                       cross_connection_name: Optional[str] = None,
                                       resource_group_name: Optional[str] = None,
                                       peer_asn: Optional[float] = None,
                                       ipv6_peering_config: Optional[Ipv6ExpressRouteCircuitPeeringConfigArgs] = None,
                                       microsoft_peering_config: Optional[ExpressRouteCircuitPeeringConfigArgs] = None,
                                       name: Optional[str] = None,
                                       id: Optional[str] = None,
                                       peering_name: Optional[str] = None,
                                       peering_type: Optional[Union[str, ExpressRoutePeeringType]] = None,
                                       primary_peer_address_prefix: Optional[str] = None,
                                       gateway_manager_etag: Optional[str] = None,
                                       secondary_peer_address_prefix: Optional[str] = None,
                                       shared_key: Optional[str] = None,
                                       state: Optional[Union[str, ExpressRoutePeeringState]] = None,
                                       vlan_id: Optional[int] = None)func NewExpressRouteCrossConnectionPeering(ctx *Context, name string, args ExpressRouteCrossConnectionPeeringArgs, opts ...ResourceOption) (*ExpressRouteCrossConnectionPeering, error)public ExpressRouteCrossConnectionPeering(string name, ExpressRouteCrossConnectionPeeringArgs args, CustomResourceOptions? opts = null)
public ExpressRouteCrossConnectionPeering(String name, ExpressRouteCrossConnectionPeeringArgs args)
public ExpressRouteCrossConnectionPeering(String name, ExpressRouteCrossConnectionPeeringArgs args, CustomResourceOptions options)
type: azure-native:network:ExpressRouteCrossConnectionPeering
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 ExpressRouteCrossConnectionPeeringArgs
- 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 ExpressRouteCrossConnectionPeeringArgs
- 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 ExpressRouteCrossConnectionPeeringArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExpressRouteCrossConnectionPeeringArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExpressRouteCrossConnectionPeeringArgs
- 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 expressRouteCrossConnectionPeeringResource = new AzureNative.Network.ExpressRouteCrossConnectionPeering("expressRouteCrossConnectionPeeringResource", new()
{
    CrossConnectionName = "string",
    ResourceGroupName = "string",
    PeerASN = 0,
    Ipv6PeeringConfig = new AzureNative.Network.Inputs.Ipv6ExpressRouteCircuitPeeringConfigArgs
    {
        MicrosoftPeeringConfig = new AzureNative.Network.Inputs.ExpressRouteCircuitPeeringConfigArgs
        {
            AdvertisedCommunities = new[]
            {
                "string",
            },
            AdvertisedPublicPrefixes = new[]
            {
                "string",
            },
            CustomerASN = 0,
            LegacyMode = 0,
            RoutingRegistryName = "string",
        },
        PrimaryPeerAddressPrefix = "string",
        RouteFilter = new AzureNative.Network.Inputs.SubResourceArgs
        {
            Id = "string",
        },
        SecondaryPeerAddressPrefix = "string",
        State = "string",
    },
    MicrosoftPeeringConfig = new AzureNative.Network.Inputs.ExpressRouteCircuitPeeringConfigArgs
    {
        AdvertisedCommunities = new[]
        {
            "string",
        },
        AdvertisedPublicPrefixes = new[]
        {
            "string",
        },
        CustomerASN = 0,
        LegacyMode = 0,
        RoutingRegistryName = "string",
    },
    Name = "string",
    Id = "string",
    PeeringName = "string",
    PeeringType = "string",
    PrimaryPeerAddressPrefix = "string",
    GatewayManagerEtag = "string",
    SecondaryPeerAddressPrefix = "string",
    SharedKey = "string",
    State = "string",
    VlanId = 0,
});
example, err := network.NewExpressRouteCrossConnectionPeering(ctx, "expressRouteCrossConnectionPeeringResource", &network.ExpressRouteCrossConnectionPeeringArgs{
	CrossConnectionName: pulumi.String("string"),
	ResourceGroupName:   pulumi.String("string"),
	PeerASN:             pulumi.Float64(0),
	Ipv6PeeringConfig: &network.Ipv6ExpressRouteCircuitPeeringConfigArgs{
		MicrosoftPeeringConfig: &network.ExpressRouteCircuitPeeringConfigArgs{
			AdvertisedCommunities: pulumi.StringArray{
				pulumi.String("string"),
			},
			AdvertisedPublicPrefixes: pulumi.StringArray{
				pulumi.String("string"),
			},
			CustomerASN:         pulumi.Int(0),
			LegacyMode:          pulumi.Int(0),
			RoutingRegistryName: pulumi.String("string"),
		},
		PrimaryPeerAddressPrefix: pulumi.String("string"),
		RouteFilter: &network.SubResourceArgs{
			Id: pulumi.String("string"),
		},
		SecondaryPeerAddressPrefix: pulumi.String("string"),
		State:                      pulumi.String("string"),
	},
	MicrosoftPeeringConfig: &network.ExpressRouteCircuitPeeringConfigArgs{
		AdvertisedCommunities: pulumi.StringArray{
			pulumi.String("string"),
		},
		AdvertisedPublicPrefixes: pulumi.StringArray{
			pulumi.String("string"),
		},
		CustomerASN:         pulumi.Int(0),
		LegacyMode:          pulumi.Int(0),
		RoutingRegistryName: pulumi.String("string"),
	},
	Name:                       pulumi.String("string"),
	Id:                         pulumi.String("string"),
	PeeringName:                pulumi.String("string"),
	PeeringType:                pulumi.String("string"),
	PrimaryPeerAddressPrefix:   pulumi.String("string"),
	GatewayManagerEtag:         pulumi.String("string"),
	SecondaryPeerAddressPrefix: pulumi.String("string"),
	SharedKey:                  pulumi.String("string"),
	State:                      pulumi.String("string"),
	VlanId:                     pulumi.Int(0),
})
var expressRouteCrossConnectionPeeringResource = new ExpressRouteCrossConnectionPeering("expressRouteCrossConnectionPeeringResource", ExpressRouteCrossConnectionPeeringArgs.builder()
    .crossConnectionName("string")
    .resourceGroupName("string")
    .peerASN(0)
    .ipv6PeeringConfig(Ipv6ExpressRouteCircuitPeeringConfigArgs.builder()
        .microsoftPeeringConfig(ExpressRouteCircuitPeeringConfigArgs.builder()
            .advertisedCommunities("string")
            .advertisedPublicPrefixes("string")
            .customerASN(0)
            .legacyMode(0)
            .routingRegistryName("string")
            .build())
        .primaryPeerAddressPrefix("string")
        .routeFilter(SubResourceArgs.builder()
            .id("string")
            .build())
        .secondaryPeerAddressPrefix("string")
        .state("string")
        .build())
    .microsoftPeeringConfig(ExpressRouteCircuitPeeringConfigArgs.builder()
        .advertisedCommunities("string")
        .advertisedPublicPrefixes("string")
        .customerASN(0)
        .legacyMode(0)
        .routingRegistryName("string")
        .build())
    .name("string")
    .id("string")
    .peeringName("string")
    .peeringType("string")
    .primaryPeerAddressPrefix("string")
    .gatewayManagerEtag("string")
    .secondaryPeerAddressPrefix("string")
    .sharedKey("string")
    .state("string")
    .vlanId(0)
    .build());
express_route_cross_connection_peering_resource = azure_native.network.ExpressRouteCrossConnectionPeering("expressRouteCrossConnectionPeeringResource",
    cross_connection_name="string",
    resource_group_name="string",
    peer_asn=0,
    ipv6_peering_config={
        "microsoft_peering_config": {
            "advertised_communities": ["string"],
            "advertised_public_prefixes": ["string"],
            "customer_asn": 0,
            "legacy_mode": 0,
            "routing_registry_name": "string",
        },
        "primary_peer_address_prefix": "string",
        "route_filter": {
            "id": "string",
        },
        "secondary_peer_address_prefix": "string",
        "state": "string",
    },
    microsoft_peering_config={
        "advertised_communities": ["string"],
        "advertised_public_prefixes": ["string"],
        "customer_asn": 0,
        "legacy_mode": 0,
        "routing_registry_name": "string",
    },
    name="string",
    id="string",
    peering_name="string",
    peering_type="string",
    primary_peer_address_prefix="string",
    gateway_manager_etag="string",
    secondary_peer_address_prefix="string",
    shared_key="string",
    state="string",
    vlan_id=0)
const expressRouteCrossConnectionPeeringResource = new azure_native.network.ExpressRouteCrossConnectionPeering("expressRouteCrossConnectionPeeringResource", {
    crossConnectionName: "string",
    resourceGroupName: "string",
    peerASN: 0,
    ipv6PeeringConfig: {
        microsoftPeeringConfig: {
            advertisedCommunities: ["string"],
            advertisedPublicPrefixes: ["string"],
            customerASN: 0,
            legacyMode: 0,
            routingRegistryName: "string",
        },
        primaryPeerAddressPrefix: "string",
        routeFilter: {
            id: "string",
        },
        secondaryPeerAddressPrefix: "string",
        state: "string",
    },
    microsoftPeeringConfig: {
        advertisedCommunities: ["string"],
        advertisedPublicPrefixes: ["string"],
        customerASN: 0,
        legacyMode: 0,
        routingRegistryName: "string",
    },
    name: "string",
    id: "string",
    peeringName: "string",
    peeringType: "string",
    primaryPeerAddressPrefix: "string",
    gatewayManagerEtag: "string",
    secondaryPeerAddressPrefix: "string",
    sharedKey: "string",
    state: "string",
    vlanId: 0,
});
type: azure-native:network:ExpressRouteCrossConnectionPeering
properties:
    crossConnectionName: string
    gatewayManagerEtag: string
    id: string
    ipv6PeeringConfig:
        microsoftPeeringConfig:
            advertisedCommunities:
                - string
            advertisedPublicPrefixes:
                - string
            customerASN: 0
            legacyMode: 0
            routingRegistryName: string
        primaryPeerAddressPrefix: string
        routeFilter:
            id: string
        secondaryPeerAddressPrefix: string
        state: string
    microsoftPeeringConfig:
        advertisedCommunities:
            - string
        advertisedPublicPrefixes:
            - string
        customerASN: 0
        legacyMode: 0
        routingRegistryName: string
    name: string
    peerASN: 0
    peeringName: string
    peeringType: string
    primaryPeerAddressPrefix: string
    resourceGroupName: string
    secondaryPeerAddressPrefix: string
    sharedKey: string
    state: string
    vlanId: 0
ExpressRouteCrossConnectionPeering 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 ExpressRouteCrossConnectionPeering resource accepts the following input properties:
- CrossConnection stringName 
- The name of the ExpressRouteCrossConnection.
- ResourceGroup stringName 
- The name of the resource group.
- GatewayManager stringEtag 
- The GatewayManager Etag.
- Id string
- Resource ID.
- Ipv6PeeringConfig Pulumi.Azure Native. Network. Inputs. Ipv6Express Route Circuit Peering Config 
- The IPv6 peering configuration.
- MicrosoftPeering Pulumi.Config Azure Native. Network. Inputs. Express Route Circuit Peering Config 
- The Microsoft peering configuration.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- PeerASN double
- The peer ASN.
- PeeringName string
- The name of the peering.
- PeeringType string | Pulumi.Azure Native. Network. Express Route Peering Type 
- The peering type.
- PrimaryPeer stringAddress Prefix 
- The primary address prefix.
- SecondaryPeer stringAddress Prefix 
- The secondary address prefix.
- string
- The shared key.
- State
string | Pulumi.Azure Native. Network. Express Route Peering State 
- The peering state.
- VlanId int
- The VLAN ID.
- CrossConnection stringName 
- The name of the ExpressRouteCrossConnection.
- ResourceGroup stringName 
- The name of the resource group.
- GatewayManager stringEtag 
- The GatewayManager Etag.
- Id string
- Resource ID.
- Ipv6PeeringConfig Ipv6ExpressRoute Circuit Peering Config Args 
- The IPv6 peering configuration.
- MicrosoftPeering ExpressConfig Route Circuit Peering Config Args 
- The Microsoft peering configuration.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- PeerASN float64
- The peer ASN.
- PeeringName string
- The name of the peering.
- PeeringType string | ExpressRoute Peering Type 
- The peering type.
- PrimaryPeer stringAddress Prefix 
- The primary address prefix.
- SecondaryPeer stringAddress Prefix 
- The secondary address prefix.
- string
- The shared key.
- State
string | ExpressRoute Peering State 
- The peering state.
- VlanId int
- The VLAN ID.
- crossConnection StringName 
- The name of the ExpressRouteCrossConnection.
- resourceGroup StringName 
- The name of the resource group.
- gatewayManager StringEtag 
- The GatewayManager Etag.
- id String
- Resource ID.
- ipv6PeeringConfig Ipv6ExpressRoute Circuit Peering Config 
- The IPv6 peering configuration.
- microsoftPeering ExpressConfig Route Circuit Peering Config 
- The Microsoft peering configuration.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- peerASN Double
- The peer ASN.
- peeringName String
- The name of the peering.
- peeringType String | ExpressRoute Peering Type 
- The peering type.
- primaryPeer StringAddress Prefix 
- The primary address prefix.
- secondaryPeer StringAddress Prefix 
- The secondary address prefix.
- String
- The shared key.
- state
String | ExpressRoute Peering State 
- The peering state.
- vlanId Integer
- The VLAN ID.
- crossConnection stringName 
- The name of the ExpressRouteCrossConnection.
- resourceGroup stringName 
- The name of the resource group.
- gatewayManager stringEtag 
- The GatewayManager Etag.
- id string
- Resource ID.
- ipv6PeeringConfig Ipv6ExpressRoute Circuit Peering Config 
- The IPv6 peering configuration.
- microsoftPeering ExpressConfig Route Circuit Peering Config 
- The Microsoft peering configuration.
- name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- peerASN number
- The peer ASN.
- peeringName string
- The name of the peering.
- peeringType string | ExpressRoute Peering Type 
- The peering type.
- primaryPeer stringAddress Prefix 
- The primary address prefix.
- secondaryPeer stringAddress Prefix 
- The secondary address prefix.
- string
- The shared key.
- state
string | ExpressRoute Peering State 
- The peering state.
- vlanId number
- The VLAN ID.
- cross_connection_ strname 
- The name of the ExpressRouteCrossConnection.
- resource_group_ strname 
- The name of the resource group.
- gateway_manager_ stretag 
- The GatewayManager Etag.
- id str
- Resource ID.
- ipv6_peering_ Ipv6Expressconfig Route Circuit Peering Config Args 
- The IPv6 peering configuration.
- microsoft_peering_ Expressconfig Route Circuit Peering Config Args 
- The Microsoft peering configuration.
- name str
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- peer_asn float
- The peer ASN.
- peering_name str
- The name of the peering.
- peering_type str | ExpressRoute Peering Type 
- The peering type.
- primary_peer_ straddress_ prefix 
- The primary address prefix.
- secondary_peer_ straddress_ prefix 
- The secondary address prefix.
- str
- The shared key.
- state
str | ExpressRoute Peering State 
- The peering state.
- vlan_id int
- The VLAN ID.
- crossConnection StringName 
- The name of the ExpressRouteCrossConnection.
- resourceGroup StringName 
- The name of the resource group.
- gatewayManager StringEtag 
- The GatewayManager Etag.
- id String
- Resource ID.
- ipv6PeeringConfig Property Map
- The IPv6 peering configuration.
- microsoftPeering Property MapConfig 
- The Microsoft peering configuration.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- peerASN Number
- The peer ASN.
- peeringName String
- The name of the peering.
- peeringType String | "AzurePublic Peering" | "Azure Private Peering" | "Microsoft Peering" 
- The peering type.
- primaryPeer StringAddress Prefix 
- The primary address prefix.
- secondaryPeer StringAddress Prefix 
- The secondary address prefix.
- String
- The shared key.
- state String | "Disabled" | "Enabled"
- The peering state.
- vlanId Number
- The VLAN ID.
Outputs
All input properties are implicitly available as output properties. Additionally, the ExpressRouteCrossConnectionPeering resource produces the following output properties:
- AzureASN int
- The Azure ASN.
- 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.
- LastModified stringBy 
- Who was the last to modify the peering.
- PrimaryAzure stringPort 
- The primary port.
- ProvisioningState string
- The provisioning state of the express route cross connection peering resource.
- SecondaryAzure stringPort 
- The secondary port.
- AzureASN int
- The Azure ASN.
- 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.
- LastModified stringBy 
- Who was the last to modify the peering.
- PrimaryAzure stringPort 
- The primary port.
- ProvisioningState string
- The provisioning state of the express route cross connection peering resource.
- SecondaryAzure stringPort 
- The secondary port.
- azureASN Integer
- The Azure ASN.
- 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.
- lastModified StringBy 
- Who was the last to modify the peering.
- primaryAzure StringPort 
- The primary port.
- provisioningState String
- The provisioning state of the express route cross connection peering resource.
- secondaryAzure StringPort 
- The secondary port.
- azureASN number
- The Azure ASN.
- 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.
- lastModified stringBy 
- Who was the last to modify the peering.
- primaryAzure stringPort 
- The primary port.
- provisioningState string
- The provisioning state of the express route cross connection peering resource.
- secondaryAzure stringPort 
- The secondary port.
- azure_asn int
- The Azure ASN.
- 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.
- last_modified_ strby 
- Who was the last to modify the peering.
- primary_azure_ strport 
- The primary port.
- provisioning_state str
- The provisioning state of the express route cross connection peering resource.
- secondary_azure_ strport 
- The secondary port.
- azureASN Number
- The Azure ASN.
- 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.
- lastModified StringBy 
- Who was the last to modify the peering.
- primaryAzure StringPort 
- The primary port.
- provisioningState String
- The provisioning state of the express route cross connection peering resource.
- secondaryAzure StringPort 
- The secondary port.
Supporting Types
ExpressRouteCircuitPeeringConfig, ExpressRouteCircuitPeeringConfigArgs          
- AdvertisedCommunities List<string>
- The communities of bgp peering. Specified for microsoft peering.
- AdvertisedPublic List<string>Prefixes 
- The reference to AdvertisedPublicPrefixes.
- CustomerASN int
- The CustomerASN of the peering.
- LegacyMode int
- The legacy mode of the peering.
- RoutingRegistry stringName 
- The RoutingRegistryName of the configuration.
- AdvertisedCommunities []string
- The communities of bgp peering. Specified for microsoft peering.
- AdvertisedPublic []stringPrefixes 
- The reference to AdvertisedPublicPrefixes.
- CustomerASN int
- The CustomerASN of the peering.
- LegacyMode int
- The legacy mode of the peering.
- RoutingRegistry stringName 
- The RoutingRegistryName of the configuration.
- advertisedCommunities List<String>
- The communities of bgp peering. Specified for microsoft peering.
- advertisedPublic List<String>Prefixes 
- The reference to AdvertisedPublicPrefixes.
- customerASN Integer
- The CustomerASN of the peering.
- legacyMode Integer
- The legacy mode of the peering.
- routingRegistry StringName 
- The RoutingRegistryName of the configuration.
- advertisedCommunities string[]
- The communities of bgp peering. Specified for microsoft peering.
- advertisedPublic string[]Prefixes 
- The reference to AdvertisedPublicPrefixes.
- customerASN number
- The CustomerASN of the peering.
- legacyMode number
- The legacy mode of the peering.
- routingRegistry stringName 
- The RoutingRegistryName of the configuration.
- advertised_communities Sequence[str]
- The communities of bgp peering. Specified for microsoft peering.
- advertised_public_ Sequence[str]prefixes 
- The reference to AdvertisedPublicPrefixes.
- customer_asn int
- The CustomerASN of the peering.
- legacy_mode int
- The legacy mode of the peering.
- routing_registry_ strname 
- The RoutingRegistryName of the configuration.
- advertisedCommunities List<String>
- The communities of bgp peering. Specified for microsoft peering.
- advertisedPublic List<String>Prefixes 
- The reference to AdvertisedPublicPrefixes.
- customerASN Number
- The CustomerASN of the peering.
- legacyMode Number
- The legacy mode of the peering.
- routingRegistry StringName 
- The RoutingRegistryName of the configuration.
ExpressRouteCircuitPeeringConfigResponse, ExpressRouteCircuitPeeringConfigResponseArgs            
- AdvertisedPublic stringPrefixes State 
- The advertised public prefix state of the Peering resource.
- AdvertisedCommunities List<string>
- The communities of bgp peering. Specified for microsoft peering.
- AdvertisedPublic List<string>Prefixes 
- The reference to AdvertisedPublicPrefixes.
- CustomerASN int
- The CustomerASN of the peering.
- LegacyMode int
- The legacy mode of the peering.
- RoutingRegistry stringName 
- The RoutingRegistryName of the configuration.
- AdvertisedPublic stringPrefixes State 
- The advertised public prefix state of the Peering resource.
- AdvertisedCommunities []string
- The communities of bgp peering. Specified for microsoft peering.
- AdvertisedPublic []stringPrefixes 
- The reference to AdvertisedPublicPrefixes.
- CustomerASN int
- The CustomerASN of the peering.
- LegacyMode int
- The legacy mode of the peering.
- RoutingRegistry stringName 
- The RoutingRegistryName of the configuration.
- advertisedPublic StringPrefixes State 
- The advertised public prefix state of the Peering resource.
- advertisedCommunities List<String>
- The communities of bgp peering. Specified for microsoft peering.
- advertisedPublic List<String>Prefixes 
- The reference to AdvertisedPublicPrefixes.
- customerASN Integer
- The CustomerASN of the peering.
- legacyMode Integer
- The legacy mode of the peering.
- routingRegistry StringName 
- The RoutingRegistryName of the configuration.
- advertisedPublic stringPrefixes State 
- The advertised public prefix state of the Peering resource.
- advertisedCommunities string[]
- The communities of bgp peering. Specified for microsoft peering.
- advertisedPublic string[]Prefixes 
- The reference to AdvertisedPublicPrefixes.
- customerASN number
- The CustomerASN of the peering.
- legacyMode number
- The legacy mode of the peering.
- routingRegistry stringName 
- The RoutingRegistryName of the configuration.
- advertised_public_ strprefixes_ state 
- The advertised public prefix state of the Peering resource.
- advertised_communities Sequence[str]
- The communities of bgp peering. Specified for microsoft peering.
- advertised_public_ Sequence[str]prefixes 
- The reference to AdvertisedPublicPrefixes.
- customer_asn int
- The CustomerASN of the peering.
- legacy_mode int
- The legacy mode of the peering.
- routing_registry_ strname 
- The RoutingRegistryName of the configuration.
- advertisedPublic StringPrefixes State 
- The advertised public prefix state of the Peering resource.
- advertisedCommunities List<String>
- The communities of bgp peering. Specified for microsoft peering.
- advertisedPublic List<String>Prefixes 
- The reference to AdvertisedPublicPrefixes.
- customerASN Number
- The CustomerASN of the peering.
- legacyMode Number
- The legacy mode of the peering.
- routingRegistry StringName 
- The RoutingRegistryName of the configuration.
ExpressRouteCircuitPeeringState, ExpressRouteCircuitPeeringStateArgs          
- Disabled
- Disabled
- Enabled
- Enabled
- ExpressRoute Circuit Peering State Disabled 
- Disabled
- ExpressRoute Circuit Peering State Enabled 
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- DISABLED
- Disabled
- ENABLED
- Enabled
- "Disabled"
- Disabled
- "Enabled"
- Enabled
ExpressRoutePeeringState, ExpressRoutePeeringStateArgs        
- Disabled
- Disabled
- Enabled
- Enabled
- ExpressRoute Peering State Disabled 
- Disabled
- ExpressRoute Peering State Enabled 
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- DISABLED
- Disabled
- ENABLED
- Enabled
- "Disabled"
- Disabled
- "Enabled"
- Enabled
ExpressRoutePeeringType, ExpressRoutePeeringTypeArgs        
- AzurePublic Peering 
- AzurePublicPeering
- AzurePrivate Peering 
- AzurePrivatePeering
- MicrosoftPeering 
- MicrosoftPeering
- ExpressRoute Peering Type Azure Public Peering 
- AzurePublicPeering
- ExpressRoute Peering Type Azure Private Peering 
- AzurePrivatePeering
- ExpressRoute Peering Type Microsoft Peering 
- MicrosoftPeering
- AzurePublic Peering 
- AzurePublicPeering
- AzurePrivate Peering 
- AzurePrivatePeering
- MicrosoftPeering 
- MicrosoftPeering
- AzurePublic Peering 
- AzurePublicPeering
- AzurePrivate Peering 
- AzurePrivatePeering
- MicrosoftPeering 
- MicrosoftPeering
- AZURE_PUBLIC_PEERING
- AzurePublicPeering
- AZURE_PRIVATE_PEERING
- AzurePrivatePeering
- MICROSOFT_PEERING
- MicrosoftPeering
- "AzurePublic Peering" 
- AzurePublicPeering
- "AzurePrivate Peering" 
- AzurePrivatePeering
- "MicrosoftPeering" 
- MicrosoftPeering
Ipv6ExpressRouteCircuitPeeringConfig, Ipv6ExpressRouteCircuitPeeringConfigArgs          
- MicrosoftPeering Pulumi.Config Azure Native. Network. Inputs. Express Route Circuit Peering Config 
- The Microsoft peering configuration.
- PrimaryPeer stringAddress Prefix 
- The primary address prefix.
- RouteFilter Pulumi.Azure Native. Network. Inputs. Sub Resource 
- The reference to the RouteFilter resource.
- SecondaryPeer stringAddress Prefix 
- The secondary address prefix.
- State
string | Pulumi.Azure Native. Network. Express Route Circuit Peering State 
- The state of peering.
- MicrosoftPeering ExpressConfig Route Circuit Peering Config 
- The Microsoft peering configuration.
- PrimaryPeer stringAddress Prefix 
- The primary address prefix.
- RouteFilter SubResource 
- The reference to the RouteFilter resource.
- SecondaryPeer stringAddress Prefix 
- The secondary address prefix.
- State
string | ExpressRoute Circuit Peering State Enum 
- The state of peering.
- microsoftPeering ExpressConfig Route Circuit Peering Config 
- The Microsoft peering configuration.
- primaryPeer StringAddress Prefix 
- The primary address prefix.
- routeFilter SubResource 
- The reference to the RouteFilter resource.
- secondaryPeer StringAddress Prefix 
- The secondary address prefix.
- state
String | ExpressRoute Circuit Peering State 
- The state of peering.
- microsoftPeering ExpressConfig Route Circuit Peering Config 
- The Microsoft peering configuration.
- primaryPeer stringAddress Prefix 
- The primary address prefix.
- routeFilter SubResource 
- The reference to the RouteFilter resource.
- secondaryPeer stringAddress Prefix 
- The secondary address prefix.
- state
string | ExpressRoute Circuit Peering State 
- The state of peering.
- microsoft_peering_ Expressconfig Route Circuit Peering Config 
- The Microsoft peering configuration.
- primary_peer_ straddress_ prefix 
- The primary address prefix.
- route_filter SubResource 
- The reference to the RouteFilter resource.
- secondary_peer_ straddress_ prefix 
- The secondary address prefix.
- state
str | ExpressRoute Circuit Peering State 
- The state of peering.
- microsoftPeering Property MapConfig 
- The Microsoft peering configuration.
- primaryPeer StringAddress Prefix 
- The primary address prefix.
- routeFilter Property Map
- The reference to the RouteFilter resource.
- secondaryPeer StringAddress Prefix 
- The secondary address prefix.
- state String | "Disabled" | "Enabled"
- The state of peering.
Ipv6ExpressRouteCircuitPeeringConfigResponse, Ipv6ExpressRouteCircuitPeeringConfigResponseArgs            
- MicrosoftPeering Pulumi.Config Azure Native. Network. Inputs. Express Route Circuit Peering Config Response 
- The Microsoft peering configuration.
- PrimaryPeer stringAddress Prefix 
- The primary address prefix.
- RouteFilter Pulumi.Azure Native. Network. Inputs. Sub Resource Response 
- The reference to the RouteFilter resource.
- SecondaryPeer stringAddress Prefix 
- The secondary address prefix.
- State string
- The state of peering.
- MicrosoftPeering ExpressConfig Route Circuit Peering Config Response 
- The Microsoft peering configuration.
- PrimaryPeer stringAddress Prefix 
- The primary address prefix.
- RouteFilter SubResource Response 
- The reference to the RouteFilter resource.
- SecondaryPeer stringAddress Prefix 
- The secondary address prefix.
- State string
- The state of peering.
- microsoftPeering ExpressConfig Route Circuit Peering Config Response 
- The Microsoft peering configuration.
- primaryPeer StringAddress Prefix 
- The primary address prefix.
- routeFilter SubResource Response 
- The reference to the RouteFilter resource.
- secondaryPeer StringAddress Prefix 
- The secondary address prefix.
- state String
- The state of peering.
- microsoftPeering ExpressConfig Route Circuit Peering Config Response 
- The Microsoft peering configuration.
- primaryPeer stringAddress Prefix 
- The primary address prefix.
- routeFilter SubResource Response 
- The reference to the RouteFilter resource.
- secondaryPeer stringAddress Prefix 
- The secondary address prefix.
- state string
- The state of peering.
- microsoft_peering_ Expressconfig Route Circuit Peering Config Response 
- The Microsoft peering configuration.
- primary_peer_ straddress_ prefix 
- The primary address prefix.
- route_filter SubResource Response 
- The reference to the RouteFilter resource.
- secondary_peer_ straddress_ prefix 
- The secondary address prefix.
- state str
- The state of peering.
- microsoftPeering Property MapConfig 
- The Microsoft peering configuration.
- primaryPeer StringAddress Prefix 
- The primary address prefix.
- routeFilter Property Map
- The reference to the RouteFilter resource.
- secondaryPeer StringAddress Prefix 
- The secondary address prefix.
- state String
- The state of peering.
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:ExpressRouteCrossConnectionPeering AzurePrivatePeering /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0