Udostępnij za pośrednictwem


PostgreSqlFlexibleServerDatabaseCollection.GetAllAsync Method

Definition

List all the databases in a given server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/databases
  • Operation Id: Databases_ListByServer
  • Default Api Version: 2023-03-01-preview
  • Resource: PostgreSqlFlexibleServerDatabaseResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerDatabaseResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerDatabaseResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerDatabaseResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PostgreSqlFlexibleServerDatabaseResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to