BatchAccountResource.UpdateAsync(BatchAccountPatch, CancellationToken) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Mises à jour les propriétés d’un compte Batch existant.
- Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}
- IdBatchAccount_Update d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.BatchAccountResource>> UpdateAsync (Azure.ResourceManager.Batch.Models.BatchAccountPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Batch.Models.BatchAccountPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.BatchAccountResource>>
override this.UpdateAsync : Azure.ResourceManager.Batch.Models.BatchAccountPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.BatchAccountResource>>
Public Overridable Function UpdateAsync (patch As BatchAccountPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BatchAccountResource))
Paramètres
- patch
- BatchAccountPatch
Paramètres supplémentaires pour la mise à jour du compte.
- cancellationToken
- CancellationToken
Jeton d’annulation à utiliser.
Retours
Exceptions
patch a la valeur null.