次の方法で共有


AvsPrivateCloudClusterResource.UpdateAsync メソッド

定義

プライベート クラウドでクラスターを更新する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}
  • 操作IdClusters_Update
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Avs.AvsPrivateCloudClusterResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Avs.Models.AvsPrivateCloudClusterPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Avs.Models.AvsPrivateCloudClusterPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Avs.AvsPrivateCloudClusterResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Avs.Models.AvsPrivateCloudClusterPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Avs.AvsPrivateCloudClusterResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, patch As AvsPrivateCloudClusterPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of AvsPrivateCloudClusterResource))

パラメーター

waitUntil
WaitUntil

Completed メソッドが、サービスで実行時間の長い操作が完了するまで戻るまで待機する必要がある場合。 Started 操作を開始した後に が返される場合は 。 実行時間の長い操作の詳細については、「 Azure.Core Long-Running 操作のサンプル」を参照してください。

patch
AvsPrivateCloudClusterPatch

更新するクラスター のプロパティ。

cancellationToken
CancellationToken

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

戻り値

例外

patch が null です。

適用対象