Partager via


StorageMoverResource.UpdateAsync(StorageMoverPatch, CancellationToken) Méthode

Définition

Mises à jour propriétés d’une ressource Storage Mover. Les propriétés non spécifiées dans le corps de la demande resteront inchangées.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}
  • IdStorageMovers_Update d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverResource>> UpdateAsync (Azure.ResourceManager.StorageMover.Models.StorageMoverPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.StorageMover.Models.StorageMoverPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverResource>>
override this.UpdateAsync : Azure.ResourceManager.StorageMover.Models.StorageMoverPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageMover.StorageMoverResource>>
Public Overridable Function UpdateAsync (patch As StorageMoverPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StorageMoverResource))

Paramètres

patch
StorageMoverPatch

StorageMoverPatch à utiliser.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

patch a la valeur null.

S’applique à