Share via


DiskPoolCollection.GetAllAsync(CancellationToken) Method

Definition

Gets a list of DiskPools in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools
  • Operation Id: DiskPools_ListByResourceGroup
public virtual Azure.AsyncPageable<Azure.ResourceManager.StoragePool.DiskPoolResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StoragePool.DiskPoolResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StoragePool.DiskPoolResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DiskPoolResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to