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