Partager via


BlueprintResource.UpdateAsync Méthode

Définition

Créer ou mettre à jour une définition de blueprint.

  • Chemin de la requête/{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}
  • IdBlueprints_CreateOrUpdate d’opération
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Blueprint.BlueprintResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Blueprint.BlueprintData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Blueprint.BlueprintData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Blueprint.BlueprintResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Blueprint.BlueprintData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Blueprint.BlueprintResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As BlueprintData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of BlueprintResource))

Paramètres

waitUntil
WaitUntil

Completed si la méthode doit attendre pour retourner jusqu’à ce que l’opération de longue durée soit terminée sur le service ; Started si elle doit être retournée après le démarrage de l’opération. Pour plus d’informations sur les opérations de longue durée, consultez Exemples d’opérations de Long-Running Azure.Core.

data
BlueprintData

Définition de blueprint.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

data a la valeur null.

S’applique à