Share via


MockableDevTestLabsArmClient.GetDevTestLabResource(ResourceIdentifier) Method

Definition

Gets an object representing a DevTestLabResource 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 DevTestLabResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.DevTestLabs.DevTestLabResource GetDevTestLabResource (Azure.Core.ResourceIdentifier id);
abstract member GetDevTestLabResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.DevTestLabs.DevTestLabResource
override this.GetDevTestLabResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.DevTestLabs.DevTestLabResource
Public Overridable Function GetDevTestLabResource (id As ResourceIdentifier) As DevTestLabResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a DevTestLabResource object.

Applies to