Freigeben über


BatchAccountResource.UpdateAsync(BatchAccountPatch, CancellationToken) Methode

Definition

Updates die Eigenschaften eines vorhandenen Batch-Kontos.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}
  • Vorgang IdBatchAccount_Update
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))

Parameter

patch
BatchAccountPatch

Zusätzliche Parameter für die Kontoaktualisierung.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: