Share via


ScVmmExtensions.GetScVmmVirtualMachineInstanceResource Method

Definition

Gets an object representing a ScVmmVirtualMachineInstanceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a ScVmmVirtualMachineInstanceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetScVmmVirtualMachineInstanceResource(ResourceIdentifier) instead.

public static Azure.ResourceManager.ScVmm.ScVmmVirtualMachineInstanceResource GetScVmmVirtualMachineInstanceResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetScVmmVirtualMachineInstanceResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ScVmm.ScVmmVirtualMachineInstanceResource
<Extension()>
Public Function GetScVmmVirtualMachineInstanceResource (client As ArmClient, id As ResourceIdentifier) As ScVmmVirtualMachineInstanceResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ScVmmVirtualMachineInstanceResource object.

Exceptions

client is null.

Applies to