共用方式為


NetAppVolumeCollection.GetAll(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.Pageable<Azure.ResourceManager.NetApp.NetAppVolumeResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NetApp.NetAppVolumeResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NetApp.NetAppVolumeResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetAppVolumeResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to