MockablePostgreSqlSubscriptionResource.GetPostgreSqlServersAsync Method

Definition

List all the servers in a given subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to