MockableLabServicesArmClient.GetLabVirtualMachineResource Method

Definition

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

public virtual Azure.ResourceManager.LabServices.LabVirtualMachineResource GetLabVirtualMachineResource (Azure.Core.ResourceIdentifier id);
abstract member GetLabVirtualMachineResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.LabServices.LabVirtualMachineResource
override this.GetLabVirtualMachineResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.LabServices.LabVirtualMachineResource
Public Overridable Function GetLabVirtualMachineResource (id As ResourceIdentifier) As LabVirtualMachineResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a LabVirtualMachineResource object.

Applies to