public class ExpressRouteCircuitPeeringConfig extends Object
| Constructor and Description |
|---|
ExpressRouteCircuitPeeringConfig() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
advertisedCommunities()
Get the communities of bgp peering.
|
List<String> |
advertisedPublicPrefixes()
Get the reference to AdvertisedPublicPrefixes.
|
ExpressRouteCircuitPeeringAdvertisedPublicPrefixState |
advertisedPublicPrefixesState()
Get the advertised public prefix state of the Peering resource.
|
Integer |
customerASN()
Get the CustomerASN of the peering.
|
Integer |
legacyMode()
Get the legacy mode of the peering.
|
String |
routingRegistryName()
Get the RoutingRegistryName of the configuration.
|
ExpressRouteCircuitPeeringConfig |
withAdvertisedCommunities(List<String> advertisedCommunities)
Set the communities of bgp peering.
|
ExpressRouteCircuitPeeringConfig |
withAdvertisedPublicPrefixes(List<String> advertisedPublicPrefixes)
Set the reference to AdvertisedPublicPrefixes.
|
ExpressRouteCircuitPeeringConfig |
withCustomerASN(Integer customerASN)
Set the CustomerASN of the peering.
|
ExpressRouteCircuitPeeringConfig |
withLegacyMode(Integer legacyMode)
Set the legacy mode of the peering.
|
ExpressRouteCircuitPeeringConfig |
withRoutingRegistryName(String routingRegistryName)
Set the RoutingRegistryName of the configuration.
|
public List<String> advertisedPublicPrefixes()
public ExpressRouteCircuitPeeringConfig withAdvertisedPublicPrefixes(List<String> advertisedPublicPrefixes)
advertisedPublicPrefixes - the advertisedPublicPrefixes value to setpublic List<String> advertisedCommunities()
public ExpressRouteCircuitPeeringConfig withAdvertisedCommunities(List<String> advertisedCommunities)
advertisedCommunities - the advertisedCommunities value to setpublic ExpressRouteCircuitPeeringAdvertisedPublicPrefixState advertisedPublicPrefixesState()
public Integer legacyMode()
public ExpressRouteCircuitPeeringConfig withLegacyMode(Integer legacyMode)
legacyMode - the legacyMode value to setpublic Integer customerASN()
public ExpressRouteCircuitPeeringConfig withCustomerASN(Integer customerASN)
customerASN - the customerASN value to setpublic String routingRegistryName()
public ExpressRouteCircuitPeeringConfig withRoutingRegistryName(String routingRegistryName)
routingRegistryName - the routingRegistryName value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/