StorageMoverAgentResource.Update Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée ou met à jour une ressource Agent.
- Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}
- IdAgents_Update d’opération
public virtual Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverAgentResource> Update (Azure.ResourceManager.StorageMover.Models.StorageMoverAgentPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.StorageMover.Models.StorageMoverAgentPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverAgentResource>
override this.Update : Azure.ResourceManager.StorageMover.Models.StorageMoverAgentPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverAgentResource>
Public Overridable Function Update (patch As StorageMoverAgentPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of StorageMoverAgentResource)
Paramètres
- patch
- StorageMoverAgentPatch
StorageMoverAgentPatch à utiliser.
- cancellationToken
- CancellationToken
Jeton d’annulation à utiliser.
Retours
Exceptions
patch
a la valeur null.