1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. ExpressRouteCrossConnectionPeering
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.75.0 published on Saturday, Nov 30, 2024 by Pulumi

azure-native.network.ExpressRouteCrossConnectionPeering

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.75.0 published on Saturday, Nov 30, 2024 by Pulumi

    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 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)
    
    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,
    });
    
    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:

    CrossConnectionName string
    The name of the ExpressRouteCrossConnection.
    ResourceGroupName string
    The name of the resource group.
    GatewayManagerEtag string
    The GatewayManager Etag.
    Id string
    Resource ID.
    Ipv6PeeringConfig Pulumi.AzureNative.Network.Inputs.Ipv6ExpressRouteCircuitPeeringConfig
    The IPv6 peering configuration.
    MicrosoftPeeringConfig Pulumi.AzureNative.Network.Inputs.ExpressRouteCircuitPeeringConfig
    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.AzureNative.Network.ExpressRoutePeeringType
    The peering type.
    PrimaryPeerAddressPrefix string
    The primary address prefix.
    SecondaryPeerAddressPrefix string
    The secondary address prefix.
    SharedKey string
    The shared key.
    State string | Pulumi.AzureNative.Network.ExpressRoutePeeringState
    The peering state.
    VlanId int
    The VLAN ID.
    CrossConnectionName string
    The name of the ExpressRouteCrossConnection.
    ResourceGroupName string
    The name of the resource group.
    GatewayManagerEtag string
    The GatewayManager Etag.
    Id string
    Resource ID.
    Ipv6PeeringConfig Ipv6ExpressRouteCircuitPeeringConfigArgs
    The IPv6 peering configuration.
    MicrosoftPeeringConfig ExpressRouteCircuitPeeringConfigArgs
    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 | ExpressRoutePeeringType
    The peering type.
    PrimaryPeerAddressPrefix string
    The primary address prefix.
    SecondaryPeerAddressPrefix string
    The secondary address prefix.
    SharedKey string
    The shared key.
    State string | ExpressRoutePeeringState
    The peering state.
    VlanId int
    The VLAN ID.
    crossConnectionName String
    The name of the ExpressRouteCrossConnection.
    resourceGroupName String
    The name of the resource group.
    gatewayManagerEtag String
    The GatewayManager Etag.
    id String
    Resource ID.
    ipv6PeeringConfig Ipv6ExpressRouteCircuitPeeringConfig
    The IPv6 peering configuration.
    microsoftPeeringConfig ExpressRouteCircuitPeeringConfig
    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 | ExpressRoutePeeringType
    The peering type.
    primaryPeerAddressPrefix String
    The primary address prefix.
    secondaryPeerAddressPrefix String
    The secondary address prefix.
    sharedKey String
    The shared key.
    state String | ExpressRoutePeeringState
    The peering state.
    vlanId Integer
    The VLAN ID.
    crossConnectionName string
    The name of the ExpressRouteCrossConnection.
    resourceGroupName string
    The name of the resource group.
    gatewayManagerEtag string
    The GatewayManager Etag.
    id string
    Resource ID.
    ipv6PeeringConfig Ipv6ExpressRouteCircuitPeeringConfig
    The IPv6 peering configuration.
    microsoftPeeringConfig ExpressRouteCircuitPeeringConfig
    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 | ExpressRoutePeeringType
    The peering type.
    primaryPeerAddressPrefix string
    The primary address prefix.
    secondaryPeerAddressPrefix string
    The secondary address prefix.
    sharedKey string
    The shared key.
    state string | ExpressRoutePeeringState
    The peering state.
    vlanId number
    The VLAN ID.
    cross_connection_name str
    The name of the ExpressRouteCrossConnection.
    resource_group_name str
    The name of the resource group.
    gateway_manager_etag str
    The GatewayManager Etag.
    id str
    Resource ID.
    ipv6_peering_config Ipv6ExpressRouteCircuitPeeringConfigArgs
    The IPv6 peering configuration.
    microsoft_peering_config ExpressRouteCircuitPeeringConfigArgs
    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 | ExpressRoutePeeringType
    The peering type.
    primary_peer_address_prefix str
    The primary address prefix.
    secondary_peer_address_prefix str
    The secondary address prefix.
    shared_key str
    The shared key.
    state str | ExpressRoutePeeringState
    The peering state.
    vlan_id int
    The VLAN ID.
    crossConnectionName String
    The name of the ExpressRouteCrossConnection.
    resourceGroupName String
    The name of the resource group.
    gatewayManagerEtag String
    The GatewayManager Etag.
    id String
    Resource ID.
    ipv6PeeringConfig Property Map
    The IPv6 peering configuration.
    microsoftPeeringConfig Property Map
    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 | "AzurePublicPeering" | "AzurePrivatePeering" | "MicrosoftPeering"
    The peering type.
    primaryPeerAddressPrefix String
    The primary address prefix.
    secondaryPeerAddressPrefix String
    The secondary address prefix.
    sharedKey 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.
    LastModifiedBy string
    Who was the last to modify the peering.
    PrimaryAzurePort string
    The primary port.
    ProvisioningState string
    The provisioning state of the express route cross connection peering resource.
    SecondaryAzurePort string
    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.
    LastModifiedBy string
    Who was the last to modify the peering.
    PrimaryAzurePort string
    The primary port.
    ProvisioningState string
    The provisioning state of the express route cross connection peering resource.
    SecondaryAzurePort string
    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.
    lastModifiedBy String
    Who was the last to modify the peering.
    primaryAzurePort String
    The primary port.
    provisioningState String
    The provisioning state of the express route cross connection peering resource.
    secondaryAzurePort String
    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.
    lastModifiedBy string
    Who was the last to modify the peering.
    primaryAzurePort string
    The primary port.
    provisioningState string
    The provisioning state of the express route cross connection peering resource.
    secondaryAzurePort string
    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_by str
    Who was the last to modify the peering.
    primary_azure_port str
    The primary port.
    provisioning_state str
    The provisioning state of the express route cross connection peering resource.
    secondary_azure_port str
    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.
    lastModifiedBy String
    Who was the last to modify the peering.
    primaryAzurePort String
    The primary port.
    provisioningState String
    The provisioning state of the express route cross connection peering resource.
    secondaryAzurePort String
    The secondary port.

    Supporting Types

    ExpressRouteCircuitPeeringConfig, ExpressRouteCircuitPeeringConfigArgs

    AdvertisedCommunities List<string>
    The communities of bgp peering. Specified for microsoft peering.
    AdvertisedPublicPrefixes List<string>
    The reference to AdvertisedPublicPrefixes.
    CustomerASN int
    The CustomerASN of the peering.
    LegacyMode int
    The legacy mode of the peering.
    RoutingRegistryName string
    The RoutingRegistryName of the configuration.
    AdvertisedCommunities []string
    The communities of bgp peering. Specified for microsoft peering.
    AdvertisedPublicPrefixes []string
    The reference to AdvertisedPublicPrefixes.
    CustomerASN int
    The CustomerASN of the peering.
    LegacyMode int
    The legacy mode of the peering.
    RoutingRegistryName string
    The RoutingRegistryName of the configuration.
    advertisedCommunities List<String>
    The communities of bgp peering. Specified for microsoft peering.
    advertisedPublicPrefixes List<String>
    The reference to AdvertisedPublicPrefixes.
    customerASN Integer
    The CustomerASN of the peering.
    legacyMode Integer
    The legacy mode of the peering.
    routingRegistryName String
    The RoutingRegistryName of the configuration.
    advertisedCommunities string[]
    The communities of bgp peering. Specified for microsoft peering.
    advertisedPublicPrefixes string[]
    The reference to AdvertisedPublicPrefixes.
    customerASN number
    The CustomerASN of the peering.
    legacyMode number
    The legacy mode of the peering.
    routingRegistryName string
    The RoutingRegistryName of the configuration.
    advertised_communities Sequence[str]
    The communities of bgp peering. Specified for microsoft peering.
    advertised_public_prefixes Sequence[str]
    The reference to AdvertisedPublicPrefixes.
    customer_asn int
    The CustomerASN of the peering.
    legacy_mode int
    The legacy mode of the peering.
    routing_registry_name str
    The RoutingRegistryName of the configuration.
    advertisedCommunities List<String>
    The communities of bgp peering. Specified for microsoft peering.
    advertisedPublicPrefixes List<String>
    The reference to AdvertisedPublicPrefixes.
    customerASN Number
    The CustomerASN of the peering.
    legacyMode Number
    The legacy mode of the peering.
    routingRegistryName String
    The RoutingRegistryName of the configuration.

    ExpressRouteCircuitPeeringConfigResponse, ExpressRouteCircuitPeeringConfigResponseArgs

    AdvertisedPublicPrefixesState string
    The advertised public prefix state of the Peering resource.
    AdvertisedCommunities List<string>
    The communities of bgp peering. Specified for microsoft peering.
    AdvertisedPublicPrefixes List<string>
    The reference to AdvertisedPublicPrefixes.
    CustomerASN int
    The CustomerASN of the peering.
    LegacyMode int
    The legacy mode of the peering.
    RoutingRegistryName string
    The RoutingRegistryName of the configuration.
    AdvertisedPublicPrefixesState string
    The advertised public prefix state of the Peering resource.
    AdvertisedCommunities []string
    The communities of bgp peering. Specified for microsoft peering.
    AdvertisedPublicPrefixes []string
    The reference to AdvertisedPublicPrefixes.
    CustomerASN int
    The CustomerASN of the peering.
    LegacyMode int
    The legacy mode of the peering.
    RoutingRegistryName string
    The RoutingRegistryName of the configuration.
    advertisedPublicPrefixesState String
    The advertised public prefix state of the Peering resource.
    advertisedCommunities List<String>
    The communities of bgp peering. Specified for microsoft peering.
    advertisedPublicPrefixes List<String>
    The reference to AdvertisedPublicPrefixes.
    customerASN Integer
    The CustomerASN of the peering.
    legacyMode Integer
    The legacy mode of the peering.
    routingRegistryName String
    The RoutingRegistryName of the configuration.
    advertisedPublicPrefixesState string
    The advertised public prefix state of the Peering resource.
    advertisedCommunities string[]
    The communities of bgp peering. Specified for microsoft peering.
    advertisedPublicPrefixes string[]
    The reference to AdvertisedPublicPrefixes.
    customerASN number
    The CustomerASN of the peering.
    legacyMode number
    The legacy mode of the peering.
    routingRegistryName string
    The RoutingRegistryName of the configuration.
    advertised_public_prefixes_state str
    The advertised public prefix state of the Peering resource.
    advertised_communities Sequence[str]
    The communities of bgp peering. Specified for microsoft peering.
    advertised_public_prefixes Sequence[str]
    The reference to AdvertisedPublicPrefixes.
    customer_asn int
    The CustomerASN of the peering.
    legacy_mode int
    The legacy mode of the peering.
    routing_registry_name str
    The RoutingRegistryName of the configuration.
    advertisedPublicPrefixesState String
    The advertised public prefix state of the Peering resource.
    advertisedCommunities List<String>
    The communities of bgp peering. Specified for microsoft peering.
    advertisedPublicPrefixes List<String>
    The reference to AdvertisedPublicPrefixes.
    customerASN Number
    The CustomerASN of the peering.
    legacyMode Number
    The legacy mode of the peering.
    routingRegistryName String
    The RoutingRegistryName of the configuration.

    ExpressRouteCircuitPeeringState, ExpressRouteCircuitPeeringStateArgs

    Disabled
    Disabled
    Enabled
    Enabled
    ExpressRouteCircuitPeeringStateDisabled
    Disabled
    ExpressRouteCircuitPeeringStateEnabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    DISABLED
    Disabled
    ENABLED
    Enabled
    "Disabled"
    Disabled
    "Enabled"
    Enabled

    ExpressRoutePeeringState, ExpressRoutePeeringStateArgs

    Disabled
    Disabled
    Enabled
    Enabled
    ExpressRoutePeeringStateDisabled
    Disabled
    ExpressRoutePeeringStateEnabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    DISABLED
    Disabled
    ENABLED
    Enabled
    "Disabled"
    Disabled
    "Enabled"
    Enabled

    ExpressRoutePeeringType, ExpressRoutePeeringTypeArgs

    AzurePublicPeering
    AzurePublicPeering
    AzurePrivatePeering
    AzurePrivatePeering
    MicrosoftPeering
    MicrosoftPeering
    ExpressRoutePeeringTypeAzurePublicPeering
    AzurePublicPeering
    ExpressRoutePeeringTypeAzurePrivatePeering
    AzurePrivatePeering
    ExpressRoutePeeringTypeMicrosoftPeering
    MicrosoftPeering
    AzurePublicPeering
    AzurePublicPeering
    AzurePrivatePeering
    AzurePrivatePeering
    MicrosoftPeering
    MicrosoftPeering
    AzurePublicPeering
    AzurePublicPeering
    AzurePrivatePeering
    AzurePrivatePeering
    MicrosoftPeering
    MicrosoftPeering
    AZURE_PUBLIC_PEERING
    AzurePublicPeering
    AZURE_PRIVATE_PEERING
    AzurePrivatePeering
    MICROSOFT_PEERING
    MicrosoftPeering
    "AzurePublicPeering"
    AzurePublicPeering
    "AzurePrivatePeering"
    AzurePrivatePeering
    "MicrosoftPeering"
    MicrosoftPeering

    Ipv6ExpressRouteCircuitPeeringConfig, Ipv6ExpressRouteCircuitPeeringConfigArgs

    MicrosoftPeeringConfig Pulumi.AzureNative.Network.Inputs.ExpressRouteCircuitPeeringConfig
    The Microsoft peering configuration.
    PrimaryPeerAddressPrefix string
    The primary address prefix.
    RouteFilter Pulumi.AzureNative.Network.Inputs.SubResource
    The reference to the RouteFilter resource.
    SecondaryPeerAddressPrefix string
    The secondary address prefix.
    State string | Pulumi.AzureNative.Network.ExpressRouteCircuitPeeringState
    The state of peering.
    MicrosoftPeeringConfig ExpressRouteCircuitPeeringConfig
    The Microsoft peering configuration.
    PrimaryPeerAddressPrefix string
    The primary address prefix.
    RouteFilter SubResource
    The reference to the RouteFilter resource.
    SecondaryPeerAddressPrefix string
    The secondary address prefix.
    State string | ExpressRouteCircuitPeeringStateEnum
    The state of peering.
    microsoftPeeringConfig ExpressRouteCircuitPeeringConfig
    The Microsoft peering configuration.
    primaryPeerAddressPrefix String
    The primary address prefix.
    routeFilter SubResource
    The reference to the RouteFilter resource.
    secondaryPeerAddressPrefix String
    The secondary address prefix.
    state String | ExpressRouteCircuitPeeringState
    The state of peering.
    microsoftPeeringConfig ExpressRouteCircuitPeeringConfig
    The Microsoft peering configuration.
    primaryPeerAddressPrefix string
    The primary address prefix.
    routeFilter SubResource
    The reference to the RouteFilter resource.
    secondaryPeerAddressPrefix string
    The secondary address prefix.
    state string | ExpressRouteCircuitPeeringState
    The state of peering.
    microsoft_peering_config ExpressRouteCircuitPeeringConfig
    The Microsoft peering configuration.
    primary_peer_address_prefix str
    The primary address prefix.
    route_filter SubResource
    The reference to the RouteFilter resource.
    secondary_peer_address_prefix str
    The secondary address prefix.
    state str | ExpressRouteCircuitPeeringState
    The state of peering.
    microsoftPeeringConfig Property Map
    The Microsoft peering configuration.
    primaryPeerAddressPrefix String
    The primary address prefix.
    routeFilter Property Map
    The reference to the RouteFilter resource.
    secondaryPeerAddressPrefix String
    The secondary address prefix.
    state String | "Disabled" | "Enabled"
    The state of peering.

    Ipv6ExpressRouteCircuitPeeringConfigResponse, Ipv6ExpressRouteCircuitPeeringConfigResponseArgs

    MicrosoftPeeringConfig Pulumi.AzureNative.Network.Inputs.ExpressRouteCircuitPeeringConfigResponse
    The Microsoft peering configuration.
    PrimaryPeerAddressPrefix string
    The primary address prefix.
    RouteFilter Pulumi.AzureNative.Network.Inputs.SubResourceResponse
    The reference to the RouteFilter resource.
    SecondaryPeerAddressPrefix string
    The secondary address prefix.
    State string
    The state of peering.
    MicrosoftPeeringConfig ExpressRouteCircuitPeeringConfigResponse
    The Microsoft peering configuration.
    PrimaryPeerAddressPrefix string
    The primary address prefix.
    RouteFilter SubResourceResponse
    The reference to the RouteFilter resource.
    SecondaryPeerAddressPrefix string
    The secondary address prefix.
    State string
    The state of peering.
    microsoftPeeringConfig ExpressRouteCircuitPeeringConfigResponse
    The Microsoft peering configuration.
    primaryPeerAddressPrefix String
    The primary address prefix.
    routeFilter SubResourceResponse
    The reference to the RouteFilter resource.
    secondaryPeerAddressPrefix String
    The secondary address prefix.
    state String
    The state of peering.
    microsoftPeeringConfig ExpressRouteCircuitPeeringConfigResponse
    The Microsoft peering configuration.
    primaryPeerAddressPrefix string
    The primary address prefix.
    routeFilter SubResourceResponse
    The reference to the RouteFilter resource.
    secondaryPeerAddressPrefix string
    The secondary address prefix.
    state string
    The state of peering.
    microsoft_peering_config ExpressRouteCircuitPeeringConfigResponse
    The Microsoft peering configuration.
    primary_peer_address_prefix str
    The primary address prefix.
    route_filter SubResourceResponse
    The reference to the RouteFilter resource.
    secondary_peer_address_prefix str
    The secondary address prefix.
    state str
    The state of peering.
    microsoftPeeringConfig Property Map
    The Microsoft peering configuration.
    primaryPeerAddressPrefix String
    The primary address prefix.
    routeFilter Property Map
    The reference to the RouteFilter resource.
    secondaryPeerAddressPrefix String
    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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.75.0 published on Saturday, Nov 30, 2024 by Pulumi