Share via


MockableStoragePoolSubscriptionResource.GetDiskPools Method

Definition

Gets a list of Disk Pools in a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools
  • Operation Id: DiskPools_ListBySubscription
public virtual Azure.Pageable<Azure.ResourceManager.StoragePool.DiskPoolResource> GetDiskPools (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDiskPools : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.StoragePool.DiskPoolResource>
override this.GetDiskPools : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.StoragePool.DiskPoolResource>
Public Overridable Function GetDiskPools (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