ExpressRouteCircuitPeeringConfig Class

  • java.lang.Object
    • com.microsoft.azure.management.network.ExpressRouteCircuitPeeringConfig

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 AdvertisedPublicPrefixes.

ExpressRouteCircuitPeeringAdvertisedPublicPrefixState 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 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.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ExpressRouteCircuitPeeringConfig

public ExpressRouteCircuitPeeringConfig()

Method Details

advertisedCommunities

public List advertisedCommunities()

Get the communities of bgp peering. Specified for microsoft peering.

Returns:

the advertisedCommunities value

advertisedPublicPrefixes

public List advertisedPublicPrefixes()

Get the reference to AdvertisedPublicPrefixes.

Returns:

the advertisedPublicPrefixes value

advertisedPublicPrefixesState

public ExpressRouteCircuitPeeringAdvertisedPublicPrefixState advertisedPublicPrefixesState()

Get the advertised public prefix state of the Peering resource. Possible values include: 'NotConfigured', 'Configuring', 'Configured', 'ValidationNeeded'.

Returns:

the advertisedPublicPrefixesState value

customerASN

public Integer customerASN()

Get the CustomerASN of the peering.

Returns:

the customerASN value

legacyMode

public Integer legacyMode()

Get the legacy mode of the peering.

Returns:

the legacyMode value

routingRegistryName

public String routingRegistryName()

Get the RoutingRegistryName of the configuration.

Returns:

the routingRegistryName value

withAdvertisedCommunities

public ExpressRouteCircuitPeeringConfig withAdvertisedCommunities(List advertisedCommunities)

Set the communities of bgp peering. Specified for microsoft peering.

Parameters:

advertisedCommunities - the advertisedCommunities value to set

Returns:

the ExpressRouteCircuitPeeringConfig object itself.

withAdvertisedPublicPrefixes

public ExpressRouteCircuitPeeringConfig withAdvertisedPublicPrefixes(List advertisedPublicPrefixes)

Set the reference to AdvertisedPublicPrefixes.

Parameters:

advertisedPublicPrefixes - the advertisedPublicPrefixes value to set

Returns:

the ExpressRouteCircuitPeeringConfig object itself.

withCustomerASN

public ExpressRouteCircuitPeeringConfig withCustomerASN(Integer customerASN)

Set the CustomerASN of the peering.

Parameters:

customerASN - the customerASN value to set

Returns:

the ExpressRouteCircuitPeeringConfig object itself.

withLegacyMode

public ExpressRouteCircuitPeeringConfig withLegacyMode(Integer legacyMode)

Set the legacy mode of the peering.

Parameters:

legacyMode - the legacyMode value to set

Returns:

the ExpressRouteCircuitPeeringConfig object itself.

withRoutingRegistryName

public ExpressRouteCircuitPeeringConfig withRoutingRegistryName(String routingRegistryName)

Set the RoutingRegistryName of the configuration.

Parameters:

routingRegistryName - the routingRegistryName value to set

Returns:

the ExpressRouteCircuitPeeringConfig object itself.

Applies to