VirtualHubId Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. VirtualHubId
- com.
Implements
public final class VirtualHubId
implements JsonSerializable<VirtualHubId>
Virtual Hub identifier.
Constructor Summary
Constructor | Description |
---|---|
VirtualHubId() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
String |
id()
Get the id property: The resource URI for the Virtual Hub where the Express |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Virtual |
withId(String id)
Set the id property: The resource URI for the Virtual Hub where the Express |
Methods inherited from java.lang.Object
Constructor Details
VirtualHubId
public VirtualHubId()
Creates an instance of VirtualHubId class.
Method Details
fromJson
public static VirtualHubId fromJson(JsonReader jsonReader)
Reads an instance of VirtualHubId from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
validate
public void validate()
Validates the instance.
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:
Returns:
Applies to
Azure SDK for Java