MockablePostgreSqlSubscriptionResource.GetPostgreSqlServers 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.Pageable<Azure.ResourceManager.PostgreSql.PostgreSqlServerResource> GetPostgreSqlServers (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPostgreSqlServers : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PostgreSql.PostgreSqlServerResource>
override this.GetPostgreSqlServers : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PostgreSql.PostgreSqlServerResource>
Public Overridable Function GetPostgreSqlServers (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PostgreSqlServerResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to