Share via


MockableSqlSubscriptionResource.GetInstancePools(CancellationToken) Method

Definition

Gets a list of all instance pools in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Sql/instancePools
  • Operation Id: InstancePools_List
  • Default Api Version: 2023-05-01-preview
  • Resource: InstancePoolResource
public virtual Azure.Pageable<Azure.ResourceManager.Sql.InstancePoolResource> GetInstancePools (System.Threading.CancellationToken cancellationToken = default);
abstract member GetInstancePools : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.InstancePoolResource>
override this.GetInstancePools : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.InstancePoolResource>
Public Overridable Function GetInstancePools (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of InstancePoolResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to