ExpressRouteCircuitPeeringConfig Class
- java.
lang. Object - com.
microsoft. azure. management. network. ExpressRouteCircuitPeeringConfig
- com.
public class ExpressRouteCircuitPeeringConfig
Specifies the peering configuration.
Constructor Summary
Constructor | Description | |
---|---|---|
ExpressRouteCircuitPeeringConfig() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
advertisedCommunities()
Get the communities of bgp peering. |
java.util.List<java.lang.String> |
advertisedPublicPrefixes()
Get the reference to Advertised |
Express |
advertisedPublicPrefixesState()
Get the advertised public prefix state of the Peering resource. |
java.lang.Integer |
customerASN()
Get the CustomerASN of the peering. |
java.lang.Integer |
legacyMode()
Get the legacy mode of the peering. |
java.lang.String |
routingRegistryName()
Get the Routing |
Express |
withAdvertisedCommunities(List<String> advertisedCommunities)
Set the communities of bgp peering. |
Express |
withAdvertisedPublicPrefixes(List<String> advertisedPublicPrefixes)
Set the reference to Advertised |
Express |
withCustomerASN(Integer customerASN)
Set the CustomerASN of the peering. |
Express |
withLegacyMode(Integer legacyMode)
Set the legacy mode of the peering. |
Express |
withRoutingRegistryName(String routingRegistryName)
Set the Routing |
Methods inherited from java.lang.Object
Constructor Details
ExpressRouteCircuitPeeringConfig
public ExpressRouteCircuitPeeringConfig()
Method Details
advertisedCommunities
public List
Get the communities of bgp peering. Specified for microsoft peering.
Returns:
advertisedPublicPrefixes
public List
Get the reference to AdvertisedPublicPrefixes.
Returns:
advertisedPublicPrefixesState
public ExpressRouteCircuitPeeringAdvertisedPublicPrefixState advertisedPublicPrefixesState()
Get the advertised public prefix state of the Peering resource. Possible values include: 'NotConfigured', 'Configuring', 'Configured', 'ValidationNeeded'.
Returns:
customerASN
public Integer customerASN()
Get the CustomerASN of the peering.
Returns:
legacyMode
public Integer legacyMode()
Get the legacy mode of the peering.
Returns:
routingRegistryName
public String routingRegistryName()
Get the RoutingRegistryName of the configuration.
Returns:
withAdvertisedCommunities
public ExpressRouteCircuitPeeringConfig withAdvertisedCommunities(List
Set the communities of bgp peering. Specified for microsoft peering.
Parameters:
Returns:
withAdvertisedPublicPrefixes
public ExpressRouteCircuitPeeringConfig withAdvertisedPublicPrefixes(List
Set the reference to AdvertisedPublicPrefixes.
Parameters:
Returns:
withCustomerASN
public ExpressRouteCircuitPeeringConfig withCustomerASN(Integer customerASN)
Set the CustomerASN of the peering.
Parameters:
Returns:
withLegacyMode
public ExpressRouteCircuitPeeringConfig withLegacyMode(Integer legacyMode)
Set the legacy mode of the peering.
Parameters:
Returns:
withRoutingRegistryName
public ExpressRouteCircuitPeeringConfig withRoutingRegistryName(String routingRegistryName)
Set the RoutingRegistryName of the configuration.
Parameters:
Returns: