BgpCommunity Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. BgpCommunity
- com.
Implements
public final class BgpCommunity
implements JsonSerializable<BgpCommunity>
Contains bgp community information offered in Service Community resources.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
communityName()
Get the community |
| List<String> |
communityPrefixes()
Get the community |
| String |
communityValue()
Get the community |
|
static
Bgp |
fromJson(JsonReader jsonReader)
Reads an instance of Bgp |
| Boolean |
isAuthorizedToUse()
Get the is |
| String |
serviceGroup()
Get the service |
| String |
serviceSupportedRegion()
Get the service |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
communityName
public String communityName()
Get the communityName property: The name of the bgp community. e.g. Skype.
Returns:
communityPrefixes
public List<String> communityPrefixes()
Get the communityPrefixes property: The prefixes that the bgp community contains.
Returns:
communityValue
public String communityValue()
Get the communityValue property: The value of the bgp community. For more information: https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing.
Returns:
fromJson
public static BgpCommunity fromJson(JsonReader jsonReader)
Reads an instance of BgpCommunity from the JsonReader.
Parameters:
Returns:
Throws:
isAuthorizedToUse
public Boolean isAuthorizedToUse()
Get the isAuthorizedToUse property: Customer is authorized to use bgp community or not.
Returns:
serviceGroup
public String serviceGroup()
Get the serviceGroup property: The service group of the bgp community contains.
Returns:
serviceSupportedRegion
public String serviceSupportedRegion()
Get the serviceSupportedRegion property: The region which the service support. e.g. For O365, region is Global.
Returns:
toJson
validate
public void validate()
Validates the instance.