Partager via


StorageMoverAgentResource.UpdateAsync Méthode

Définition

Crée ou met à jour une ressource Agent.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}
  • IdAgents_Update d’opération
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))

Paramètres

patch
StorageMoverAgentPatch

StorageMoverAgentPatch à utiliser.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

patch a la valeur null.

S’applique à