NetworkCloudVolumeResource.Update Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Update(NetworkCloudVolumePatch, CancellationToken) |
Update tags associated with the provided volume.
|
Update(NetworkCloudVolumePatch, String, String, CancellationToken) |
Update tags associated with the provided volume.
|
Update(NetworkCloudVolumePatch, CancellationToken)
Update tags associated with the provided volume.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/volumes/{volumeName}
- Operation Id: Volumes_Update
- Resource: NetworkCloudVolumeResource
public virtual Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudVolumeResource> Update(Azure.ResourceManager.NetworkCloud.Models.NetworkCloudVolumePatch patch, System.Threading.CancellationToken cancellationToken);
public virtual Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudVolumeResource> Update(Azure.ResourceManager.NetworkCloud.Models.NetworkCloudVolumePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.NetworkCloud.Models.NetworkCloudVolumePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudVolumeResource>
override this.Update : Azure.ResourceManager.NetworkCloud.Models.NetworkCloudVolumePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudVolumeResource>
Public Overridable Function Update (patch As NetworkCloudVolumePatch, cancellationToken As CancellationToken) As Response(Of NetworkCloudVolumeResource)
Public Overridable Function Update (patch As NetworkCloudVolumePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NetworkCloudVolumeResource)
Parameters
- patch
- NetworkCloudVolumePatch
The request body.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.
Applies to
Update(NetworkCloudVolumePatch, String, String, CancellationToken)
Update tags associated with the provided volume.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/volumes/{volumeName}
- Operation Id: Volumes_Update
- Default Api Version: 2025-02-01
- Resource: NetworkCloudVolumeResource
public virtual Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudVolumeResource> Update(Azure.ResourceManager.NetworkCloud.Models.NetworkCloudVolumePatch patch, string ifMatch = default, string ifNoneMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.NetworkCloud.Models.NetworkCloudVolumePatch * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudVolumeResource>
override this.Update : Azure.ResourceManager.NetworkCloud.Models.NetworkCloudVolumePatch * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudVolumeResource>
Public Overridable Function Update (patch As NetworkCloudVolumePatch, Optional ifMatch As String = Nothing, Optional ifNoneMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NetworkCloudVolumeResource)
Parameters
- patch
- NetworkCloudVolumePatch
The request body.
- ifMatch
- String
The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
- ifNoneMatch
- String
Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.