ElasticPoolCollection.GetAllAsync 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 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
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of ElasticPoolResource that may take multiple service requests to iterate over.