Share via


MockableLabServicesArmClient.GetLabResource(ResourceIdentifier) Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a LabResource object.

Applies to