Show / Hide Table of Contents

Class ExpressRouteCircuitPeering

Manages an ExpressRoute Circuit Peering.

Inheritance
System.Object
Resource
CustomResource
ExpressRouteCircuitPeering
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Network
Assembly: Pulumi.Azure.dll
Syntax
public class ExpressRouteCircuitPeering : CustomResource

Constructors

View Source

ExpressRouteCircuitPeering(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 Source

AzureAsn

The ASN used by Azure.

Declaration
public Output<int> AzureAsn { get; }
Property Value
Type Description
Output<System.Int32>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

PrimaryAzurePort

The Primary Port used by Azure for this Peering.

Declaration
public Output<string> PrimaryAzurePort { get; }
Property Value
Type Description
Output<System.String>
View Source

PrimaryPeerAddressPrefix

A /30 subnet for the primary link.

Declaration
public Output<string> PrimaryPeerAddressPrefix { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

SecondaryAzurePort

The Secondary Port used by Azure for this Peering.

Declaration
public Output<string> SecondaryAzurePort { get; }
Property Value
Type Description
Output<System.String>
View Source

SecondaryPeerAddressPrefix

A /30 subnet for the secondary link.

Declaration
public Output<string> SecondaryPeerAddressPrefix { get; }
Property Value
Type Description
Output<System.String>
View Source

SharedKey

The shared key. Can be a maximum of 25 characters.

Declaration
public Output<string> SharedKey { get; }
Property Value
Type Description
Output<System.String>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.