Class VirtualNetworkBgpCommunities
java.lang.Object
com.azure.resourcemanager.network.models.VirtualNetworkBgpCommunities
Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VirtualNetworkBgpCommunities class. -
Method Summary
Modifier and TypeMethodDescriptionGet the regionalCommunity property: The BGP community associated with the region of the virtual network.voidvalidate()Validates the instance.Get the virtualNetworkCommunity property: The BGP community associated with the virtual network.withVirtualNetworkCommunity(String virtualNetworkCommunity) Set the virtualNetworkCommunity property: The BGP community associated with the virtual network.
-
Constructor Details
-
VirtualNetworkBgpCommunities
public VirtualNetworkBgpCommunities()Creates an instance of VirtualNetworkBgpCommunities class.
-
-
Method Details
-
virtualNetworkCommunity
Get the virtualNetworkCommunity property: The BGP community associated with the virtual network.- Returns:
- the virtualNetworkCommunity value.
-
withVirtualNetworkCommunity
Set the virtualNetworkCommunity property: The BGP community associated with the virtual network.- Parameters:
virtualNetworkCommunity- the virtualNetworkCommunity value to set.- Returns:
- the VirtualNetworkBgpCommunities object itself.
-
regionalCommunity
Get the regionalCommunity property: The BGP community associated with the region of the virtual network.- Returns:
- the regionalCommunity value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-