ArmNetworkModelFactory.ExpressRouteCircuitPeeringConfig Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- routingRegistryName
- String
The RoutingRegistryName of the configuration.
Returns
A new ExpressRouteCircuitPeeringConfig instance for mocking.
Applies to
Azure SDK for .NET