Megosztás a következőn keresztül:


MockablePostgreSqlFlexibleServersSubscriptionResource.GetPostgreSqlFlexibleServers 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: 2023-03-01-preview
  • Resource: PostgreSqlFlexibleServerResource
public virtual Azure.Pageable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerResource> GetPostgreSqlFlexibleServers (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPostgreSqlFlexibleServers : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerResource>
override this.GetPostgreSqlFlexibleServers : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerResource>
Public Overridable Function GetPostgreSqlFlexibleServers (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PostgreSqlFlexibleServerResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to