ArmNetworkModelFactory.ExpressRouteCircuitPeeringConfig Method

Definition

Initializes a new instance of ExpressRouteCircuitPeeringConfig.

public static Azure.ResourceManager.Network.Models.ExpressRouteCircuitPeeringConfig ExpressRouteCircuitPeeringConfig (System.Collections.Generic.IEnumerable<string> advertisedPublicPrefixes = default, System.Collections.Generic.IEnumerable<string> advertisedCommunities = default, Azure.ResourceManager.Network.Models.ExpressRouteCircuitPeeringAdvertisedPublicPrefixState? advertisedPublicPrefixesState = default, int? legacyMode = default, int? customerASN = default, string routingRegistryName = default);
static member ExpressRouteCircuitPeeringConfig : seq<string> * seq<string> * Nullable<Azure.ResourceManager.Network.Models.ExpressRouteCircuitPeeringAdvertisedPublicPrefixState> * Nullable<int> * Nullable<int> * string -> Azure.ResourceManager.Network.Models.ExpressRouteCircuitPeeringConfig
Public Shared Function ExpressRouteCircuitPeeringConfig (Optional advertisedPublicPrefixes As IEnumerable(Of String) = Nothing, Optional advertisedCommunities As IEnumerable(Of String) = Nothing, Optional advertisedPublicPrefixesState As Nullable(Of ExpressRouteCircuitPeeringAdvertisedPublicPrefixState) = Nothing, Optional legacyMode As Nullable(Of Integer) = Nothing, Optional customerASN As Nullable(Of Integer) = Nothing, Optional routingRegistryName As String = Nothing) As ExpressRouteCircuitPeeringConfig

Parameters

advertisedPublicPrefixes
IEnumerable<String>

The reference to AdvertisedPublicPrefixes.

advertisedCommunities
IEnumerable<String>

The communities of bgp peering. Specified for microsoft peering.

advertisedPublicPrefixesState
Nullable<ExpressRouteCircuitPeeringAdvertisedPublicPrefixState>

The advertised public prefix state of the Peering resource.

legacyMode
Nullable<Int32>

The legacy mode of the peering.

customerASN
Nullable<Int32>

The CustomerASN of the peering.

routingRegistryName
String

The RoutingRegistryName of the configuration.

Returns

A new ExpressRouteCircuitPeeringConfig instance for mocking.

Applies to