PostgreSqlMigrationCollection.GetAll 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.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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET