Class VirtualHubId
java.lang.Object
com.azure.resourcemanager.network.models.VirtualHubId
Virtual Hub identifier.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionid()Get the id property: The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed.voidvalidate()Validates the instance.Set the id property: The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed.
-
Constructor Details
-
VirtualHubId
public VirtualHubId()Creates an instance of VirtualHubId class.
-
-
Method Details
-
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
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.
-