Share via


MockableHciArmClient.GetVirtualHardDiskResource(ResourceIdentifier) Method

Definition

Gets an object representing a VirtualHardDiskResource 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 VirtualHardDiskResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Hci.VirtualHardDiskResource GetVirtualHardDiskResource (Azure.Core.ResourceIdentifier id);
abstract member GetVirtualHardDiskResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Hci.VirtualHardDiskResource
override this.GetVirtualHardDiskResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Hci.VirtualHardDiskResource
Public Overridable Function GetVirtualHardDiskResource (id As ResourceIdentifier) As VirtualHardDiskResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a VirtualHardDiskResource object.

Applies to