共用方式為


PostgreSqlFlexibleServerCollection.GetAll(CancellationToken) Method

Definition

List all the servers in a given resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers
  • Operation Id: Servers_ListByResourceGroup
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlFlexibleServerResource
public virtual Azure.Pageable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerResource>
Public Overridable Function GetAll (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