次の方法で共有


BatchAccountResource.UpdateAsync(BatchAccountPatch, CancellationToken) メソッド

定義

既存の Batch アカウントのプロパティを更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}
  • 操作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))

パラメーター

patch
BatchAccountPatch

アカウント更新の追加パラメーター。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

patch が null です。

適用対象