Share via


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to