Share via


MockableNetworkArmClient.GetVirtualHubResource(ResourceIdentifier) Method

Definition

Gets an object representing a VirtualHubResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a VirtualHubResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Network.VirtualHubResource GetVirtualHubResource (Azure.Core.ResourceIdentifier id);
abstract member GetVirtualHubResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.VirtualHubResource
override this.GetVirtualHubResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.VirtualHubResource
Public Overridable Function GetVirtualHubResource (id As ResourceIdentifier) As VirtualHubResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a VirtualHubResource object.

Applies to