Freigeben über


StorageMoverAgentResource.UpdateAsync Methode

Definition

Erstellt oder aktualisiert eine Agent-Ressource.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}
  • Vorgang 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))

Parameter

patch
StorageMoverAgentPatch

Der zu verwendende StorageMoverAgentPatch.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: