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 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:
- Cross
Connection stringName - The name of the ExpressRouteCrossConnection.
- Resource
Group stringName - The name of the resource group.
- Gateway
Manager stringEtag - The GatewayManager Etag.
- Id string
- Resource ID.
- Ipv6Peering
Config Pulumi.Azure Native. Network. Inputs. Ipv6Express Route Circuit Peering Config - The IPv6 peering configuration.
- Microsoft
Peering 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.
- Peer
ASN double - The peer ASN.
- Peering
Name string - The name of the peering.
- Peering
Type string | Pulumi.Azure Native. Network. Express Route Peering Type - The peering type.
- Primary
Peer stringAddress Prefix - The primary address prefix.
- Secondary
Peer stringAddress Prefix - The secondary address prefix.
- string
- The shared key.
- State
string | Pulumi.
Azure Native. Network. Express Route Peering State - The peering state.
- Vlan
Id int - The VLAN ID.
- Cross
Connection stringName - The name of the ExpressRouteCrossConnection.
- Resource
Group stringName - The name of the resource group.
- Gateway
Manager stringEtag - The GatewayManager Etag.
- Id string
- Resource ID.
- Ipv6Peering
Config Ipv6ExpressRoute Circuit Peering Config Args - The IPv6 peering configuration.
- Microsoft
Peering 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.
- Peer
ASN float64 - The peer ASN.
- Peering
Name string - The name of the peering.
- Peering
Type string | ExpressRoute Peering Type - The peering type.
- Primary
Peer stringAddress Prefix - The primary address prefix.
- Secondary
Peer stringAddress Prefix - The secondary address prefix.
- string
- The shared key.
- State
string | Express
Route Peering State - The peering state.
- Vlan
Id int - The VLAN ID.
- cross
Connection StringName - The name of the ExpressRouteCrossConnection.
- resource
Group StringName - The name of the resource group.
- gateway
Manager StringEtag - The GatewayManager Etag.
- id String
- Resource ID.
- ipv6Peering
Config Ipv6ExpressRoute Circuit Peering Config - The IPv6 peering configuration.
- microsoft
Peering 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.
- peer
ASN Double - The peer ASN.
- peering
Name String - The name of the peering.
- peering
Type String | ExpressRoute Peering Type - The peering type.
- primary
Peer StringAddress Prefix - The primary address prefix.
- secondary
Peer StringAddress Prefix - The secondary address prefix.
- String
- The shared key.
- state
String | Express
Route Peering State - The peering state.
- vlan
Id Integer - The VLAN ID.
- cross
Connection stringName - The name of the ExpressRouteCrossConnection.
- resource
Group stringName - The name of the resource group.
- gateway
Manager stringEtag - The GatewayManager Etag.
- id string
- Resource ID.
- ipv6Peering
Config Ipv6ExpressRoute Circuit Peering Config - The IPv6 peering configuration.
- microsoft
Peering 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.
- peer
ASN number - The peer ASN.
- peering
Name string - The name of the peering.
- peering
Type string | ExpressRoute Peering Type - The peering type.
- primary
Peer stringAddress Prefix - The primary address prefix.
- secondary
Peer stringAddress Prefix - The secondary address prefix.
- string
- The shared key.
- state
string | Express
Route Peering State - The peering state.
- vlan
Id 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 | Express
Route Peering State - The peering state.
- vlan_
id int - The VLAN ID.
- cross
Connection StringName - The name of the ExpressRouteCrossConnection.
- resource
Group StringName - The name of the resource group.
- gateway
Manager StringEtag - The GatewayManager Etag.
- id String
- Resource ID.
- ipv6Peering
Config Property Map - The IPv6 peering configuration.
- microsoft
Peering 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.
- peer
ASN Number - The peer ASN.
- peering
Name String - The name of the peering.
- peering
Type String | "AzurePublic Peering" | "Azure Private Peering" | "Microsoft Peering" - The peering type.
- primary
Peer StringAddress Prefix - The primary address prefix.
- secondary
Peer StringAddress Prefix - The secondary address prefix.
- String
- The shared key.
- state String | "Disabled" | "Enabled"
- The peering state.
- vlan
Id Number - The VLAN ID.
Outputs
All input properties are implicitly available as output properties. Additionally, the ExpressRouteCrossConnectionPeering resource produces the following output properties:
- Azure
ASN 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.
- Last
Modified stringBy - Who was the last to modify the peering.
- Primary
Azure stringPort - The primary port.
- Provisioning
State string - The provisioning state of the express route cross connection peering resource.
- Secondary
Azure stringPort - The secondary port.
- Azure
ASN 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.
- Last
Modified stringBy - Who was the last to modify the peering.
- Primary
Azure stringPort - The primary port.
- Provisioning
State string - The provisioning state of the express route cross connection peering resource.
- Secondary
Azure stringPort - The secondary port.
- azure
ASN 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.
- last
Modified StringBy - Who was the last to modify the peering.
- primary
Azure StringPort - The primary port.
- provisioning
State String - The provisioning state of the express route cross connection peering resource.
- secondary
Azure StringPort - The secondary port.
- azure
ASN 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.
- last
Modified stringBy - Who was the last to modify the peering.
- primary
Azure stringPort - The primary port.
- provisioning
State string - The provisioning state of the express route cross connection peering resource.
- secondary
Azure 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.
- azure
ASN 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.
- last
Modified StringBy - Who was the last to modify the peering.
- primary
Azure StringPort - The primary port.
- provisioning
State String - The provisioning state of the express route cross connection peering resource.
- secondary
Azure StringPort - The secondary port.
Supporting Types
ExpressRouteCircuitPeeringConfig, ExpressRouteCircuitPeeringConfigArgs
- Advertised
Communities List<string> - The communities of bgp peering. Specified for microsoft peering.
- Advertised
Public List<string>Prefixes - The reference to AdvertisedPublicPrefixes.
- Customer
ASN int - The CustomerASN of the peering.
- Legacy
Mode int - The legacy mode of the peering.
- Routing
Registry stringName - The RoutingRegistryName of the configuration.
- Advertised
Communities []string - The communities of bgp peering. Specified for microsoft peering.
- Advertised
Public []stringPrefixes - The reference to AdvertisedPublicPrefixes.
- Customer
ASN int - The CustomerASN of the peering.
- Legacy
Mode int - The legacy mode of the peering.
- Routing
Registry stringName - The RoutingRegistryName of the configuration.
- advertised
Communities List<String> - The communities of bgp peering. Specified for microsoft peering.
- advertised
Public List<String>Prefixes - The reference to AdvertisedPublicPrefixes.
- customer
ASN Integer - The CustomerASN of the peering.
- legacy
Mode Integer - The legacy mode of the peering.
- routing
Registry StringName - The RoutingRegistryName of the configuration.
- advertised
Communities string[] - The communities of bgp peering. Specified for microsoft peering.
- advertised
Public string[]Prefixes - The reference to AdvertisedPublicPrefixes.
- customer
ASN number - The CustomerASN of the peering.
- legacy
Mode number - The legacy mode of the peering.
- routing
Registry 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.
- advertised
Communities List<String> - The communities of bgp peering. Specified for microsoft peering.
- advertised
Public List<String>Prefixes - The reference to AdvertisedPublicPrefixes.
- customer
ASN Number - The CustomerASN of the peering.
- legacy
Mode Number - The legacy mode of the peering.
- routing
Registry StringName - The RoutingRegistryName of the configuration.
ExpressRouteCircuitPeeringConfigResponse, ExpressRouteCircuitPeeringConfigResponseArgs
- Advertised
Public stringPrefixes State - The advertised public prefix state of the Peering resource.
- Advertised
Communities List<string> - The communities of bgp peering. Specified for microsoft peering.
- Advertised
Public List<string>Prefixes - The reference to AdvertisedPublicPrefixes.
- Customer
ASN int - The CustomerASN of the peering.
- Legacy
Mode int - The legacy mode of the peering.
- Routing
Registry stringName - The RoutingRegistryName of the configuration.
- Advertised
Public stringPrefixes State - The advertised public prefix state of the Peering resource.
- Advertised
Communities []string - The communities of bgp peering. Specified for microsoft peering.
- Advertised
Public []stringPrefixes - The reference to AdvertisedPublicPrefixes.
- Customer
ASN int - The CustomerASN of the peering.
- Legacy
Mode int - The legacy mode of the peering.
- Routing
Registry stringName - The RoutingRegistryName of the configuration.
- advertised
Public StringPrefixes State - The advertised public prefix state of the Peering resource.
- advertised
Communities List<String> - The communities of bgp peering. Specified for microsoft peering.
- advertised
Public List<String>Prefixes - The reference to AdvertisedPublicPrefixes.
- customer
ASN Integer - The CustomerASN of the peering.
- legacy
Mode Integer - The legacy mode of the peering.
- routing
Registry StringName - The RoutingRegistryName of the configuration.
- advertised
Public stringPrefixes State - The advertised public prefix state of the Peering resource.
- advertised
Communities string[] - The communities of bgp peering. Specified for microsoft peering.
- advertised
Public string[]Prefixes - The reference to AdvertisedPublicPrefixes.
- customer
ASN number - The CustomerASN of the peering.
- legacy
Mode number - The legacy mode of the peering.
- routing
Registry 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.
- advertised
Public StringPrefixes State - The advertised public prefix state of the Peering resource.
- advertised
Communities List<String> - The communities of bgp peering. Specified for microsoft peering.
- advertised
Public List<String>Prefixes - The reference to AdvertisedPublicPrefixes.
- customer
ASN Number - The CustomerASN of the peering.
- legacy
Mode Number - The legacy mode of the peering.
- routing
Registry StringName - The RoutingRegistryName of the configuration.
ExpressRouteCircuitPeeringState, ExpressRouteCircuitPeeringStateArgs
- Disabled
- Disabled
- Enabled
- Enabled
- Express
Route Circuit Peering State Disabled - Disabled
- Express
Route 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
- Express
Route Peering State Disabled - Disabled
- Express
Route Peering State Enabled - Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- DISABLED
- Disabled
- ENABLED
- Enabled
- "Disabled"
- Disabled
- "Enabled"
- Enabled
ExpressRoutePeeringType, ExpressRoutePeeringTypeArgs
- Azure
Public Peering - AzurePublicPeering
- Azure
Private Peering - AzurePrivatePeering
- Microsoft
Peering - MicrosoftPeering
- Express
Route Peering Type Azure Public Peering - AzurePublicPeering
- Express
Route Peering Type Azure Private Peering - AzurePrivatePeering
- Express
Route Peering Type Microsoft Peering - MicrosoftPeering
- Azure
Public Peering - AzurePublicPeering
- Azure
Private Peering - AzurePrivatePeering
- Microsoft
Peering - MicrosoftPeering
- Azure
Public Peering - AzurePublicPeering
- Azure
Private Peering - AzurePrivatePeering
- Microsoft
Peering - MicrosoftPeering
- AZURE_PUBLIC_PEERING
- AzurePublicPeering
- AZURE_PRIVATE_PEERING
- AzurePrivatePeering
- MICROSOFT_PEERING
- MicrosoftPeering
- "Azure
Public Peering" - AzurePublicPeering
- "Azure
Private Peering" - AzurePrivatePeering
- "Microsoft
Peering" - MicrosoftPeering
Ipv6ExpressRouteCircuitPeeringConfig, Ipv6ExpressRouteCircuitPeeringConfigArgs
- Microsoft
Peering Pulumi.Config Azure Native. Network. Inputs. Express Route Circuit Peering Config - The Microsoft peering configuration.
- Primary
Peer stringAddress Prefix - The primary address prefix.
- Route
Filter Pulumi.Azure Native. Network. Inputs. Sub Resource - The reference to the RouteFilter resource.
- Secondary
Peer stringAddress Prefix - The secondary address prefix.
- State
string | Pulumi.
Azure Native. Network. Express Route Circuit Peering State - The state of peering.
- Microsoft
Peering ExpressConfig Route Circuit Peering Config - The Microsoft peering configuration.
- Primary
Peer stringAddress Prefix - The primary address prefix.
- Route
Filter SubResource - The reference to the RouteFilter resource.
- Secondary
Peer stringAddress Prefix - The secondary address prefix.
- State
string | Express
Route Circuit Peering State Enum - The state of peering.
- microsoft
Peering ExpressConfig Route Circuit Peering Config - The Microsoft peering configuration.
- primary
Peer StringAddress Prefix - The primary address prefix.
- route
Filter SubResource - The reference to the RouteFilter resource.
- secondary
Peer StringAddress Prefix - The secondary address prefix.
- state
String | Express
Route Circuit Peering State - The state of peering.
- microsoft
Peering ExpressConfig Route Circuit Peering Config - The Microsoft peering configuration.
- primary
Peer stringAddress Prefix - The primary address prefix.
- route
Filter SubResource - The reference to the RouteFilter resource.
- secondary
Peer stringAddress Prefix - The secondary address prefix.
- state
string | Express
Route 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 | Express
Route Circuit Peering State - The state of peering.
- microsoft
Peering Property MapConfig - The Microsoft peering configuration.
- primary
Peer StringAddress Prefix - The primary address prefix.
- route
Filter Property Map - The reference to the RouteFilter resource.
- secondary
Peer StringAddress Prefix - The secondary address prefix.
- state String | "Disabled" | "Enabled"
- The state of peering.
Ipv6ExpressRouteCircuitPeeringConfigResponse, Ipv6ExpressRouteCircuitPeeringConfigResponseArgs
- Microsoft
Peering Pulumi.Config Azure Native. Network. Inputs. Express Route Circuit Peering Config Response - The Microsoft peering configuration.
- Primary
Peer stringAddress Prefix - The primary address prefix.
- Route
Filter Pulumi.Azure Native. Network. Inputs. Sub Resource Response - The reference to the RouteFilter resource.
- Secondary
Peer 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 stringAddress Prefix - The primary address prefix.
- Route
Filter SubResource Response - The reference to the RouteFilter resource.
- Secondary
Peer 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 StringAddress Prefix - The primary address prefix.
- route
Filter SubResource Response - The reference to the RouteFilter resource.
- secondary
Peer 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 stringAddress Prefix - The primary address prefix.
- route
Filter SubResource Response - The reference to the RouteFilter resource.
- secondary
Peer 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.
- microsoft
Peering Property MapConfig - The Microsoft peering configuration.
- primary
Peer StringAddress Prefix - The primary address prefix.
- route
Filter Property Map - The reference to the RouteFilter resource.
- secondary
Peer 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