public final class ExpressRouteCircuitPeeringConfig extends Object
| Constructor and Description |
|---|
ExpressRouteCircuitPeeringConfig() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
advertisedCommunities()
Get the advertisedCommunities property: The communities of bgp peering.
|
List<String> |
advertisedPublicPrefixes()
Get the advertisedPublicPrefixes property: The reference to AdvertisedPublicPrefixes.
|
ExpressRouteCircuitPeeringAdvertisedPublicPrefixState |
advertisedPublicPrefixesState()
Get the advertisedPublicPrefixesState property: The advertised public prefix state of the Peering resource.
|
Integer |
customerAsn()
Get the customerAsn property: The CustomerASN of the peering.
|
Integer |
legacyMode()
Get the legacyMode property: The legacy mode of the peering.
|
String |
routingRegistryName()
Get the routingRegistryName property: The RoutingRegistryName of the configuration.
|
void |
validate()
Validates the instance.
|
ExpressRouteCircuitPeeringConfig |
withAdvertisedCommunities(List<String> advertisedCommunities)
Set the advertisedCommunities property: The communities of bgp peering.
|
ExpressRouteCircuitPeeringConfig |
withAdvertisedPublicPrefixes(List<String> advertisedPublicPrefixes)
Set the advertisedPublicPrefixes property: The reference to AdvertisedPublicPrefixes.
|
ExpressRouteCircuitPeeringConfig |
withCustomerAsn(Integer customerAsn)
Set the customerAsn property: The CustomerASN of the peering.
|
ExpressRouteCircuitPeeringConfig |
withLegacyMode(Integer legacyMode)
Set the legacyMode property: The legacy mode of the peering.
|
ExpressRouteCircuitPeeringConfig |
withRoutingRegistryName(String routingRegistryName)
Set the routingRegistryName property: The RoutingRegistryName of the configuration.
|
public List<String> advertisedPublicPrefixes()
public ExpressRouteCircuitPeeringConfig withAdvertisedPublicPrefixes(List<String> advertisedPublicPrefixes)
advertisedPublicPrefixes - the advertisedPublicPrefixes value to set.public List<String> advertisedCommunities()
public ExpressRouteCircuitPeeringConfig withAdvertisedCommunities(List<String> advertisedCommunities)
advertisedCommunities - the advertisedCommunities value to set.public ExpressRouteCircuitPeeringAdvertisedPublicPrefixState advertisedPublicPrefixesState()
public Integer legacyMode()
public ExpressRouteCircuitPeeringConfig withLegacyMode(Integer legacyMode)
legacyMode - the legacyMode value to set.public Integer customerAsn()
public ExpressRouteCircuitPeeringConfig withCustomerAsn(Integer customerAsn)
customerAsn - the customerAsn value to set.public String routingRegistryName()
public ExpressRouteCircuitPeeringConfig withRoutingRegistryName(String routingRegistryName)
routingRegistryName - the routingRegistryName value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.