PostgreSqlMigrationCollection.GetAllAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.AsyncPageable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlMigrationResource> GetAllAsync (Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlMigrationListFilter? migrationListFilter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlMigrationListFilter> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlMigrationResource>
override this.GetAllAsync : Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlMigrationListFilter> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlMigrationResource>
Public Overridable Function GetAllAsync (Optional migrationListFilter As Nullable(Of PostgreSqlMigrationListFilter) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PostgreSqlMigrationResource)
Parameters
- migrationListFilter
- Nullable<PostgreSqlMigrationListFilter>
Migration list filter. Retrieves either active migrations or all migrations.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of PostgreSqlMigrationResource that may take multiple service requests to iterate over.