MockableStoragePoolSubscriptionResource.GetDiskPools Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.