DevTestLabsExtensions.GetDevTestLabCustomImageResource Method

Definition

Gets an object representing a DevTestLabCustomImageResource 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 DevTestLabCustomImageResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevTestLabCustomImageResource(ResourceIdentifier) instead.

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a DevTestLabCustomImageResource object.

Exceptions

client is null.

Applies to