MockableStoragePoolSubscriptionResource.GetDiskPoolsAsync 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.AsyncPageable<Azure.ResourceManager.StoragePool.DiskPoolResource> GetDiskPoolsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDiskPoolsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StoragePool.DiskPoolResource>
override this.GetDiskPoolsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StoragePool.DiskPoolResource>
Public Overridable Function GetDiskPoolsAsync (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