Share via


HciVmExtensions.GetHciVmInstance(ArmClient, ResourceIdentifier) Method

Definition

Gets an object representing a HciVmInstanceResource along with the instance operations that can be performed on it in the ArmClient. <item>MockingTo mock this method, please mock GetHciVmInstance(ResourceIdentifier) instead.</item>

public static Azure.ResourceManager.Hci.Vm.HciVmInstanceResource GetHciVmInstance(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope);
static member GetHciVmInstance : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Hci.Vm.HciVmInstanceResource
<Extension()>
Public Function GetHciVmInstance (client As ArmClient, scope As ResourceIdentifier) As HciVmInstanceResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

scope
ResourceIdentifier

The scope that the resource will apply against.

Returns

Returns a HciVmInstanceResource object.

Exceptions

client is null.

Applies to