### YamlMime:JavaType uid: "com.microsoft.azure.management.network.VirtualHubId" fullName: "com.microsoft.azure.management.network.VirtualHubId" name: "VirtualHubId" nameWithType: "VirtualHubId" summary: "Virtual Hub identifier." inheritances: - "" inheritedClassMethods: - classRef: "" methodsRef: - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" syntax: "public class **VirtualHubId**" constructors: - uid: "com.microsoft.azure.management.network.VirtualHubId.VirtualHubId()" fullName: "com.microsoft.azure.management.network.VirtualHubId.VirtualHubId()" name: "VirtualHubId()" nameWithType: "VirtualHubId.VirtualHubId()" syntax: "public VirtualHubId()" methods: - uid: "com.microsoft.azure.management.network.VirtualHubId.id()" fullName: "com.microsoft.azure.management.network.VirtualHubId.id()" name: "id()" nameWithType: "VirtualHubId.id()" summary: "Get the resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed." syntax: "public String id()" desc: "Get 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: description: "the id value" type: "" - uid: "com.microsoft.azure.management.network.VirtualHubId.withId(java.lang.String)" fullName: "com.microsoft.azure.management.network.VirtualHubId.withId(String id)" name: "withId(String id)" nameWithType: "VirtualHubId.withId(String id)" summary: "Set the resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed." parameters: - description: "the id value to set" name: "id" type: "" syntax: "public VirtualHubId withId(String id)" desc: "Set 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: description: "the VirtualHubId object itself." type: "" type: "class" desc: "Virtual Hub identifier." metadata: {} package: "com.microsoft.azure.management.network" artifact: com.microsoft.azure:azure-mgmt-network:1.41.4