Partilhar via


MockablePostgreSqlFlexibleServersSubscriptionResource.GetPostgreSqlFlexibleServersAsync Method

Definition

List all the servers in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/flexibleServers
  • Operation Id: Servers_List
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlFlexibleServerResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerResource> GetPostgreSqlFlexibleServersAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPostgreSqlFlexibleServersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerResource>
override this.GetPostgreSqlFlexibleServersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerResource>
Public Overridable Function GetPostgreSqlFlexibleServersAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PostgreSqlFlexibleServerResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to