Partager via


NetworkCloudVolumeResource.UpdateAsync Méthode

Définition

Mettre à jour les étiquettes associées au volume fourni.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/volumes/{volumeName}
  • IdVolumes_Update d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudVolumeResource>> UpdateAsync (Azure.ResourceManager.NetworkCloud.Models.NetworkCloudVolumePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.NetworkCloud.Models.NetworkCloudVolumePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudVolumeResource>>
override this.UpdateAsync : Azure.ResourceManager.NetworkCloud.Models.NetworkCloudVolumePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudVolumeResource>>
Public Overridable Function UpdateAsync (patch As NetworkCloudVolumePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkCloudVolumeResource))

Paramètres

patch
NetworkCloudVolumePatch

Corps de la demande.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

patch a la valeur null.

S’applique à