Share via


NetAppVolumeResource.PoolChangeAsync Method

Definition

Moves volume to another pool

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/poolChange
  • Operation Id: Volumes_PoolChange
  • Default Api Version: 2024-07-01
  • Resource: NetAppVolumeResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> PoolChangeAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.NetApp.Models.NetAppVolumePoolChangeContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member PoolChangeAsync : Azure.WaitUntil * Azure.ResourceManager.NetApp.Models.NetAppVolumePoolChangeContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.PoolChangeAsync : Azure.WaitUntil * Azure.ResourceManager.NetApp.Models.NetAppVolumePoolChangeContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function PoolChangeAsync (waitUntil As WaitUntil, content As NetAppVolumePoolChangeContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
NetAppVolumePoolChangeContent

Move volume to the pool supplied in the body of the operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to