Class VirtualNetworkBgpCommunities

java.lang.Object
com.azure.resourcemanager.network.models.VirtualNetworkBgpCommunities

public final class VirtualNetworkBgpCommunities extends Object
Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
  • Constructor Details

    • VirtualNetworkBgpCommunities

      public VirtualNetworkBgpCommunities()
      Creates an instance of VirtualNetworkBgpCommunities class.
  • Method Details

    • virtualNetworkCommunity

      public String virtualNetworkCommunity()
      Get the virtualNetworkCommunity property: The BGP community associated with the virtual network.
      Returns:
      the virtualNetworkCommunity value.
    • withVirtualNetworkCommunity

      public VirtualNetworkBgpCommunities withVirtualNetworkCommunity(String virtualNetworkCommunity)
      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

      public String 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.