共用方式為


PostgreSqlServerKeyCollection.GetAllAsync(CancellationToken) Method

Definition

Gets a list of Server keys.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/keys
  • Operation Id: ServerKeys_List
  • Default Api Version: 2020-01-01
  • Resource: PostgreSqlServerKeyResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.PostgreSql.PostgreSqlServerKeyResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.PostgreSql.PostgreSqlServerKeyResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.PostgreSql.PostgreSqlServerKeyResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PostgreSqlServerKeyResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to