Compartir a través de


BatchAccountResource.UpdateAsync(BatchAccountPatch, CancellationToken) Método

Definición

Novedades las propiedades de una cuenta de Batch existente.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}
  • IdBatchAccount_Update de operación
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))

Parámetros

patch
BatchAccountPatch

Parámetros adicionales para la actualización de la cuenta.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

patch es null.

Se aplica a