Share via


MockableHciArmClient.GetVirtualMachineInstanceResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a VirtualMachineInstanceResource object.

Applies to