共用方式為


PostgreSqlMigrationCollection.GetAll Method

Definition

List all the migrations on a given target server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/migrations
  • Operation Id: Migrations_ListByTargetServer
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlMigrationResource
public virtual Azure.Pageable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlMigrationResource> GetAll (Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlMigrationListFilter? migrationListFilter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlMigrationListFilter> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlMigrationResource>
override this.GetAll : Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlMigrationListFilter> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlMigrationResource>
Public Overridable Function GetAll (Optional migrationListFilter As Nullable(Of PostgreSqlMigrationListFilter) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PostgreSqlMigrationResource)

Parameters

migrationListFilter
Nullable<PostgreSqlMigrationListFilter>

Migration list filter. Retrieves either active migrations or all migrations.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to