Share via


NetworkCloudVolumeResource.UpdateAsync Method

Definition

Update tags associated with the provided volume.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/volumes/{volumeName}
  • Operation Id: Volumes_Update
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))

Parameters

patch
NetworkCloudVolumePatch

The request body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to