Share via


BlueprintCollection.GetAsync(String, CancellationToken) Method

Definition

Get a blueprint definition.

  • Request Path: /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}
  • Operation Id: Blueprints_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Blueprint.BlueprintResource>> GetAsync (string blueprintName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Blueprint.BlueprintResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Blueprint.BlueprintResource>>
Public Overridable Function GetAsync (blueprintName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BlueprintResource))

Parameters

blueprintName
String

Name of the blueprint definition.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

blueprintName is null.

Applies to