次の方法で共有


StorageMoverAgentResource.UpdateAsync メソッド

定義

エージェント リソースを作成または更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}
  • 操作IdAgents_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverAgentResource>> UpdateAsync (Azure.ResourceManager.StorageMover.Models.StorageMoverAgentPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.StorageMover.Models.StorageMoverAgentPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverAgentResource>>
override this.UpdateAsync : Azure.ResourceManager.StorageMover.Models.StorageMoverAgentPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverAgentResource>>
Public Overridable Function UpdateAsync (patch As StorageMoverAgentPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StorageMoverAgentResource))

パラメーター

patch
StorageMoverAgentPatch

使用する StorageMoverAgentPatch。

cancellationToken
CancellationToken

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

戻り値

例外

patch が null です。

適用対象