HciVmExtensions.GetHciVmInstance(ArmClient, ResourceIdentifier) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- scope
- ResourceIdentifier
The scope that the resource will apply against.
Returns
Returns a HciVmInstanceResource object.
Exceptions
client is null.