共用方式為


ElasticPoolCollection.GetAllAsync Method

Definition

Gets all elastic pools in a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools
  • Operation Id: ElasticPools_ListByServer
  • Default Api Version: 2022-08-01-preview
  • Resource: ElasticPoolResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.ElasticPoolResource> GetAllAsync (long? skip = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Nullable<int64> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.ElasticPoolResource>
override this.GetAllAsync : Nullable<int64> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.ElasticPoolResource>
Public Overridable Function GetAllAsync (Optional skip As Nullable(Of Long) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ElasticPoolResource)

Parameters

skip
Nullable<Int64>

The number of elements in the collection to skip.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ElasticPoolResource that may take multiple service requests to iterate over.

Applies to