Class ExpressRouteCircuitPeering
Manages an ExpressRoute Circuit Peering.
Inherited Members
Namespace: Pulumi.Azure.Network
Assembly: Pulumi.Azure.dll
Syntax
public class ExpressRouteCircuitPeering : CustomResource
Constructors
View SourceExpressRouteCircuitPeering(String, ExpressRouteCircuitPeeringArgs, CustomResourceOptions)
Create a ExpressRouteCircuitPeering resource with the given unique name, arguments, and options.
Declaration
public ExpressRouteCircuitPeering(string name, ExpressRouteCircuitPeeringArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ExpressRouteCircuitPeeringArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAzureAsn
The ASN used by Azure.
Declaration
public Output<int> AzureAsn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
ExpressRouteCircuitName
The name of the ExpressRoute Circuit in which to create the Peering.
Declaration
public Output<string> ExpressRouteCircuitName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
MicrosoftPeeringConfig
A microsoft_peering_config block as defined below. Required when peering_type is set to MicrosoftPeering.
Declaration
public Output<ExpressRouteCircuitPeeringMicrosoftPeeringConfig> MicrosoftPeeringConfig { get; }
Property Value
| Type | Description |
|---|---|
| Output<ExpressRouteCircuitPeeringMicrosoftPeeringConfig> |
PeerAsn
The Either a 16-bit or a 32-bit ASN. Can either be public or private..
Declaration
public Output<int> PeerAsn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
PeeringType
The type of the ExpressRoute Circuit Peering. Acceptable values include AzurePrivatePeering, AzurePublicPeering and MicrosoftPeering. Changing this forces a new resource to be created.
Declaration
public Output<string> PeeringType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PrimaryAzurePort
The Primary Port used by Azure for this Peering.
Declaration
public Output<string> PrimaryAzurePort { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PrimaryPeerAddressPrefix
A /30 subnet for the primary link.
Declaration
public Output<string> PrimaryPeerAddressPrefix { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupName
The name of the resource group in which to create the Express Route Circuit Peering. Changing this forces a new resource to be created.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SecondaryAzurePort
The Secondary Port used by Azure for this Peering.
Declaration
public Output<string> SecondaryAzurePort { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SecondaryPeerAddressPrefix
A /30 subnet for the secondary link.
Declaration
public Output<string> SecondaryPeerAddressPrefix { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SharedKey
The shared key. Can be a maximum of 25 characters.
Declaration
public Output<string> SharedKey { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
VlanId
A valid VLAN ID to establish this peering on.
Declaration
public Output<int> VlanId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Methods
View SourceGet(String, Input<String>, ExpressRouteCircuitPeeringState, CustomResourceOptions)
Get an existing ExpressRouteCircuitPeering resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ExpressRouteCircuitPeering Get(string name, Input<string> id, ExpressRouteCircuitPeeringState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ExpressRouteCircuitPeeringState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ExpressRouteCircuitPeering |