Delen via


BlueprintExtensions.GetBlueprintAsync Method

Definition

Get a blueprint definition.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}
  • Operation Id: Blueprints_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Blueprint.BlueprintResource>> GetBlueprintAsync (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string blueprintName, System.Threading.CancellationToken cancellationToken = default);
static member GetBlueprintAsync : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Blueprint.BlueprintResource>>
<Extension()>
Public Function GetBlueprintAsync (client As ArmClient, scope As ResourceIdentifier, blueprintName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BlueprintResource))

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

scope
ResourceIdentifier

The scope that the resource will apply against.

blueprintName
String

Name of the blueprint definition.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

client or blueprintName is null.

blueprintName is an empty string, and was expected to be non-empty.

Applies to