ExpressRouteCircuitPeering
Manages an ExpressRoute Circuit Peering.
Create a ExpressRouteCircuitPeering Resource
new ExpressRouteCircuitPeering(name: string, args: ExpressRouteCircuitPeeringArgs, opts?: CustomResourceOptions);def ExpressRouteCircuitPeering(resource_name, opts=None, express_route_circuit_name=None, microsoft_peering_config=None, peer_asn=None, peering_type=None, primary_peer_address_prefix=None, resource_group_name=None, secondary_peer_address_prefix=None, shared_key=None, vlan_id=None, __props__=None);func NewExpressRouteCircuitPeering(ctx *Context, name string, args ExpressRouteCircuitPeeringArgs, opts ...ResourceOption) (*ExpressRouteCircuitPeering, error)public ExpressRouteCircuitPeering(string name, ExpressRouteCircuitPeeringArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args ExpressRouteCircuitPeeringArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ExpressRouteCircuitPeeringArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExpressRouteCircuitPeeringArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
ExpressRouteCircuitPeering Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The ExpressRouteCircuitPeering resource accepts the following input properties:
- Express
Route stringCircuit Name The name of the ExpressRoute Circuit in which to create the Peering.
- Peering
Type string The type of the ExpressRoute Circuit Peering. Acceptable values include
AzurePrivatePeering,AzurePublicPeeringandMicrosoftPeering. Changing this forces a new resource to be created.- Primary
Peer stringAddress Prefix A
/30subnet for the primary link.- Resource
Group stringName The name of the resource group in which to create the Express Route Circuit Peering. Changing this forces a new resource to be created.
- Secondary
Peer stringAddress Prefix A
/30subnet for the secondary link.- Vlan
Id int A valid VLAN ID to establish this peering on.
- Microsoft
Peering ExpressConfig Route Circuit Peering Microsoft Peering Config Args A
microsoft_peering_configblock as defined below. Required whenpeering_typeis set toMicrosoftPeering.- Peer
Asn int The Either a 16-bit or a 32-bit ASN. Can either be public or private..
- string
The shared key. Can be a maximum of 25 characters.
- Express
Route stringCircuit Name The name of the ExpressRoute Circuit in which to create the Peering.
- Peering
Type string The type of the ExpressRoute Circuit Peering. Acceptable values include
AzurePrivatePeering,AzurePublicPeeringandMicrosoftPeering. Changing this forces a new resource to be created.- Primary
Peer stringAddress Prefix A
/30subnet for the primary link.- Resource
Group stringName The name of the resource group in which to create the Express Route Circuit Peering. Changing this forces a new resource to be created.
- Secondary
Peer stringAddress Prefix A
/30subnet for the secondary link.- Vlan
Id int A valid VLAN ID to establish this peering on.
- Microsoft
Peering ExpressConfig Route Circuit Peering Microsoft Peering Config A
microsoft_peering_configblock as defined below. Required whenpeering_typeis set toMicrosoftPeering.- Peer
Asn int The Either a 16-bit or a 32-bit ASN. Can either be public or private..
- string
The shared key. Can be a maximum of 25 characters.
- express
Route stringCircuit Name The name of the ExpressRoute Circuit in which to create the Peering.
- peering
Type string The type of the ExpressRoute Circuit Peering. Acceptable values include
AzurePrivatePeering,AzurePublicPeeringandMicrosoftPeering. Changing this forces a new resource to be created.- primary
Peer stringAddress Prefix A
/30subnet for the primary link.- resource
Group stringName The name of the resource group in which to create the Express Route Circuit Peering. Changing this forces a new resource to be created.
- secondary
Peer stringAddress Prefix A
/30subnet for the secondary link.- vlan
Id number A valid VLAN ID to establish this peering on.
- microsoft
Peering ExpressConfig Route Circuit Peering Microsoft Peering Config A
microsoft_peering_configblock as defined below. Required whenpeering_typeis set toMicrosoftPeering.- peer
Asn number The Either a 16-bit or a 32-bit ASN. Can either be public or private..
- string
The shared key. Can be a maximum of 25 characters.
- express_
route_ strcircuit_ name The name of the ExpressRoute Circuit in which to create the Peering.
- peering_
type str The type of the ExpressRoute Circuit Peering. Acceptable values include
AzurePrivatePeering,AzurePublicPeeringandMicrosoftPeering. Changing this forces a new resource to be created.- primary_
peer_ straddress_ prefix A
/30subnet for the primary link.- resource_
group_ strname The name of the resource group in which to create the Express Route Circuit Peering. Changing this forces a new resource to be created.
- secondary_
peer_ straddress_ prefix A
/30subnet for the secondary link.- vlan_
id float A valid VLAN ID to establish this peering on.
- microsoft_
peering_ Dict[Expressconfig Route Circuit Peering Microsoft Peering Config] A
microsoft_peering_configblock as defined below. Required whenpeering_typeis set toMicrosoftPeering.- peer_
asn float The Either a 16-bit or a 32-bit ASN. Can either be public or private..
- str
The shared key. Can be a maximum of 25 characters.
Outputs
All input properties are implicitly available as output properties. Additionally, the ExpressRouteCircuitPeering resource produces the following output properties:
- Azure
Asn int The ASN used by Azure.
- Id string
- The provider-assigned unique ID for this managed resource.
- Primary
Azure stringPort The Primary Port used by Azure for this Peering.
- Secondary
Azure stringPort The Secondary Port used by Azure for this Peering.
- Azure
Asn int The ASN used by Azure.
- Id string
- The provider-assigned unique ID for this managed resource.
- Primary
Azure stringPort The Primary Port used by Azure for this Peering.
- Secondary
Azure stringPort The Secondary Port used by Azure for this Peering.
- azure
Asn number The ASN used by Azure.
- id string
- The provider-assigned unique ID for this managed resource.
- primary
Azure stringPort The Primary Port used by Azure for this Peering.
- secondary
Azure stringPort The Secondary Port used by Azure for this Peering.
- azure_
asn float The ASN used by Azure.
- id str
- The provider-assigned unique ID for this managed resource.
- primary_
azure_ strport The Primary Port used by Azure for this Peering.
- secondary_
azure_ strport The Secondary Port used by Azure for this Peering.
Look up an Existing ExpressRouteCircuitPeering Resource
Get an existing ExpressRouteCircuitPeering resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ExpressRouteCircuitPeeringState, opts?: CustomResourceOptions): ExpressRouteCircuitPeeringstatic get(resource_name, id, opts=None, azure_asn=None, express_route_circuit_name=None, microsoft_peering_config=None, peer_asn=None, peering_type=None, primary_azure_port=None, primary_peer_address_prefix=None, resource_group_name=None, secondary_azure_port=None, secondary_peer_address_prefix=None, shared_key=None, vlan_id=None, __props__=None);func GetExpressRouteCircuitPeering(ctx *Context, name string, id IDInput, state *ExpressRouteCircuitPeeringState, opts ...ResourceOption) (*ExpressRouteCircuitPeering, error)public static ExpressRouteCircuitPeering Get(string name, Input<string> id, ExpressRouteCircuitPeeringState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Azure
Asn int The ASN used by Azure.
- Express
Route stringCircuit Name The name of the ExpressRoute Circuit in which to create the Peering.
- Microsoft
Peering ExpressConfig Route Circuit Peering Microsoft Peering Config Args A
microsoft_peering_configblock as defined below. Required whenpeering_typeis set toMicrosoftPeering.- Peer
Asn int The Either a 16-bit or a 32-bit ASN. Can either be public or private..
- Peering
Type string The type of the ExpressRoute Circuit Peering. Acceptable values include
AzurePrivatePeering,AzurePublicPeeringandMicrosoftPeering. Changing this forces a new resource to be created.- Primary
Azure stringPort The Primary Port used by Azure for this Peering.
- Primary
Peer stringAddress Prefix A
/30subnet for the primary link.- Resource
Group stringName The name of the resource group in which to create the Express Route Circuit Peering. Changing this forces a new resource to be created.
- Secondary
Azure stringPort The Secondary Port used by Azure for this Peering.
- Secondary
Peer stringAddress Prefix A
/30subnet for the secondary link.- string
The shared key. Can be a maximum of 25 characters.
- Vlan
Id int A valid VLAN ID to establish this peering on.
- Azure
Asn int The ASN used by Azure.
- Express
Route stringCircuit Name The name of the ExpressRoute Circuit in which to create the Peering.
- Microsoft
Peering ExpressConfig Route Circuit Peering Microsoft Peering Config A
microsoft_peering_configblock as defined below. Required whenpeering_typeis set toMicrosoftPeering.- Peer
Asn int The Either a 16-bit or a 32-bit ASN. Can either be public or private..
- Peering
Type string The type of the ExpressRoute Circuit Peering. Acceptable values include
AzurePrivatePeering,AzurePublicPeeringandMicrosoftPeering. Changing this forces a new resource to be created.- Primary
Azure stringPort The Primary Port used by Azure for this Peering.
- Primary
Peer stringAddress Prefix A
/30subnet for the primary link.- Resource
Group stringName The name of the resource group in which to create the Express Route Circuit Peering. Changing this forces a new resource to be created.
- Secondary
Azure stringPort The Secondary Port used by Azure for this Peering.
- Secondary
Peer stringAddress Prefix A
/30subnet for the secondary link.- string
The shared key. Can be a maximum of 25 characters.
- Vlan
Id int A valid VLAN ID to establish this peering on.
- azure
Asn number The ASN used by Azure.
- express
Route stringCircuit Name The name of the ExpressRoute Circuit in which to create the Peering.
- microsoft
Peering ExpressConfig Route Circuit Peering Microsoft Peering Config A
microsoft_peering_configblock as defined below. Required whenpeering_typeis set toMicrosoftPeering.- peer
Asn number The Either a 16-bit or a 32-bit ASN. Can either be public or private..
- peering
Type string The type of the ExpressRoute Circuit Peering. Acceptable values include
AzurePrivatePeering,AzurePublicPeeringandMicrosoftPeering. Changing this forces a new resource to be created.- primary
Azure stringPort The Primary Port used by Azure for this Peering.
- primary
Peer stringAddress Prefix A
/30subnet for the primary link.- resource
Group stringName The name of the resource group in which to create the Express Route Circuit Peering. Changing this forces a new resource to be created.
- secondary
Azure stringPort The Secondary Port used by Azure for this Peering.
- secondary
Peer stringAddress Prefix A
/30subnet for the secondary link.- string
The shared key. Can be a maximum of 25 characters.
- vlan
Id number A valid VLAN ID to establish this peering on.
- azure_
asn float The ASN used by Azure.
- express_
route_ strcircuit_ name The name of the ExpressRoute Circuit in which to create the Peering.
- microsoft_
peering_ Dict[Expressconfig Route Circuit Peering Microsoft Peering Config] A
microsoft_peering_configblock as defined below. Required whenpeering_typeis set toMicrosoftPeering.- peer_
asn float The Either a 16-bit or a 32-bit ASN. Can either be public or private..
- peering_
type str The type of the ExpressRoute Circuit Peering. Acceptable values include
AzurePrivatePeering,AzurePublicPeeringandMicrosoftPeering. Changing this forces a new resource to be created.- primary_
azure_ strport The Primary Port used by Azure for this Peering.
- primary_
peer_ straddress_ prefix A
/30subnet for the primary link.- resource_
group_ strname The name of the resource group in which to create the Express Route Circuit Peering. Changing this forces a new resource to be created.
- secondary_
azure_ strport The Secondary Port used by Azure for this Peering.
- secondary_
peer_ straddress_ prefix A
/30subnet for the secondary link.- str
The shared key. Can be a maximum of 25 characters.
- vlan_
id float A valid VLAN ID to establish this peering on.
Supporting Types
ExpressRouteCircuitPeeringMicrosoftPeeringConfig
- Advertised
Public List<string>Prefixes A list of Advertised Public Prefixes
- Customer
Asn int The CustomerASN of the peering
- Routing
Registry stringName The RoutingRegistryName of the configuration
- Advertised
Public []stringPrefixes A list of Advertised Public Prefixes
- Customer
Asn int The CustomerASN of the peering
- Routing
Registry stringName The RoutingRegistryName of the configuration
- advertised
Public string[]Prefixes A list of Advertised Public Prefixes
- customer
Asn number The CustomerASN of the peering
- routing
Registry stringName The RoutingRegistryName of the configuration
- advertised
Public List[str]Prefixes A list of Advertised Public Prefixes
- customer
Asn float The CustomerASN of the peering
- routing
Registry strName The RoutingRegistryName of the configuration
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.