共用方式為


NetAppVolumeCollection.GetAllAsync(CancellationToken) Method

Definition

List all volumes within the capacity pool

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes
  • Operation Id: Volumes_List
  • Default Api Version: 2024-07-01
  • Resource: NetAppVolumeResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.NetApp.NetAppVolumeResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NetApp.NetAppVolumeResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.NetApp.NetAppVolumeResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NetAppVolumeResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of NetAppVolumeResource that may take multiple service requests to iterate over.

Applies to