Share via


ElasticPoolResource.GetDatabasesAsync(CancellationToken) Method

Definition

Gets a list of databases in an elastic pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/databases
  • Operation Id: Databases_ListByElasticPool
  • Default Api Version: 2023-02-01-preview
  • Resource: SqlDatabaseResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlDatabaseResource> GetDatabasesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDatabasesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlDatabaseResource>
override this.GetDatabasesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlDatabaseResource>
Public Overridable Function GetDatabasesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SqlDatabaseResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to