VirtualNetworkBgpCommunities Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. VirtualNetworkBgpCommunities
- com.
Implements
public final class VirtualNetworkBgpCommunities
implements JsonSerializable<VirtualNetworkBgpCommunities>
Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
Constructor Summary
Constructor | Description |
---|---|
VirtualNetworkBgpCommunities() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
String |
regionalCommunity()
Get the regional |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
virtualNetworkCommunity()
Get the virtual |
Virtual |
withVirtualNetworkCommunity(String virtualNetworkCommunity)
Set the virtual |
Methods inherited from java.lang.Object
Constructor Details
VirtualNetworkBgpCommunities
public VirtualNetworkBgpCommunities()
Creates an instance of VirtualNetworkBgpCommunities class.
Method Details
fromJson
public static VirtualNetworkBgpCommunities fromJson(JsonReader jsonReader)
Reads an instance of VirtualNetworkBgpCommunities from the JsonReader.
Parameters:
Returns:
Throws:
regionalCommunity
public String regionalCommunity()
Get the regionalCommunity property: The BGP community associated with the region of the virtual network.
Returns:
toJson
validate
public void validate()
Validates the instance.
virtualNetworkCommunity
public String virtualNetworkCommunity()
Get the virtualNetworkCommunity property: The BGP community associated with the virtual network.
Returns:
withVirtualNetworkCommunity
public VirtualNetworkBgpCommunities withVirtualNetworkCommunity(String virtualNetworkCommunity)
Set the virtualNetworkCommunity property: The BGP community associated with the virtual network.
Parameters:
Returns:
Applies to
Azure SDK for Java