Sdílet prostřednictvím


BlueprintExtensions.GetBlueprint Method

Definition

Get a blueprint definition.

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