Partager via


BlueprintExtensions.GetBlueprint Méthode

Définition

Obtenir une définition de blueprint.

  • Chemin de requête/{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}
  • IdBlueprints_Get d’opération
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)

Paramètres

client
ArmClient

Instance ArmClient sur laquelle la méthode s’exécute.

scope
ResourceIdentifier

Étendue sur laquelle la ressource s’appliquera.

blueprintName
String

Nom de la définition de blueprint.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

blueprintName est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

blueprintName a la valeur null.

S’applique à