ExpressRouteCircuitPeeringConfig Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ExpressRouteCircuitPeeringConfig
- com.
Implements
public final class ExpressRouteCircuitPeeringConfig
implements JsonSerializable<ExpressRouteCircuitPeeringConfig>
Specifies the peering configuration.
Constructor Summary
Constructor | Description |
---|---|
ExpressRouteCircuitPeeringConfig() |
Creates an instance of Express |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
advertisedCommunities()
Get the advertised |
List<String> |
advertisedPublicPrefixes()
Get the advertised |
Express |
advertisedPublicPrefixesState()
Get the advertised |
Integer |
customerAsn()
Get the customer |
static
Express |
fromJson(JsonReader jsonReader)
Reads an instance of Express |
Integer |
legacyMode()
Get the legacy |
String |
routingRegistryName()
Get the routing |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Express |
withAdvertisedCommunities(List<String> advertisedCommunities)
Set the advertised |
Express |
withAdvertisedPublicPrefixes(List<String> advertisedPublicPrefixes)
Set the advertised |
Express |
withCustomerAsn(Integer customerAsn)
Set the customer |
Express |
withLegacyMode(Integer legacyMode)
Set the legacy |
Express |
withRoutingRegistryName(String routingRegistryName)
Set the routing |
Methods inherited from java.lang.Object
Constructor Details
ExpressRouteCircuitPeeringConfig
public ExpressRouteCircuitPeeringConfig()
Creates an instance of ExpressRouteCircuitPeeringConfig class.
Method Details
advertisedCommunities
public List
Get the advertisedCommunities property: The communities of bgp peering. Specified for microsoft peering.
Returns:
advertisedPublicPrefixes
public List
Get the advertisedPublicPrefixes property: The reference to AdvertisedPublicPrefixes.
Returns:
advertisedPublicPrefixesState
public ExpressRouteCircuitPeeringAdvertisedPublicPrefixState advertisedPublicPrefixesState()
Get the advertisedPublicPrefixesState property: The advertised public prefix state of the Peering resource.
Returns:
customerAsn
public Integer customerAsn()
Get the customerAsn property: The CustomerASN of the peering.
Returns:
fromJson
public static ExpressRouteCircuitPeeringConfig fromJson(JsonReader jsonReader)
Reads an instance of ExpressRouteCircuitPeeringConfig from the JsonReader.
Parameters:
Returns:
Throws:
legacyMode
public Integer legacyMode()
Get the legacyMode property: The legacy mode of the peering.
Returns:
routingRegistryName
public String routingRegistryName()
Get the routingRegistryName property: The RoutingRegistryName of the configuration.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdvertisedCommunities
public ExpressRouteCircuitPeeringConfig withAdvertisedCommunities(List
Set the advertisedCommunities property: The communities of bgp peering. Specified for microsoft peering.
Parameters:
Returns:
withAdvertisedPublicPrefixes
public ExpressRouteCircuitPeeringConfig withAdvertisedPublicPrefixes(List
Set the advertisedPublicPrefixes property: The reference to AdvertisedPublicPrefixes.
Parameters:
Returns:
withCustomerAsn
public ExpressRouteCircuitPeeringConfig withCustomerAsn(Integer customerAsn)
Set the customerAsn property: The CustomerASN of the peering.
Parameters:
Returns:
withLegacyMode
public ExpressRouteCircuitPeeringConfig withLegacyMode(Integer legacyMode)
Set the legacyMode property: The legacy mode of the peering.
Parameters:
Returns:
withRoutingRegistryName
public ExpressRouteCircuitPeeringConfig withRoutingRegistryName(String routingRegistryName)
Set the routingRegistryName property: The RoutingRegistryName of the configuration.
Parameters:
Returns:
Applies to
Azure SDK for Java