Class VirtualHubId

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

public final class VirtualHubId extends Object
Virtual Hub identifier.
  • Constructor Details

    • VirtualHubId

      public VirtualHubId()
  • Method Details

    • id

      public String id()
      Get the id property: The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription.
      Returns:
      the id value.
    • withId

      public VirtualHubId withId(String id)
      Set the id property: The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription.
      Parameters:
      id - the id value to set.
      Returns:
      the VirtualHubId object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.