Share via


BlueprintExtensions.GetBlueprintResource Method

Definition

Gets an object representing a BlueprintResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a BlueprintResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetBlueprintResource(ResourceIdentifier) instead.

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a BlueprintResource object.

Exceptions

client is null.

Applies to