1. Packages
  2. Azure Native
  3. API Docs
  4. dbforpostgresql
  5. getMigration
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi

azure-native.dbforpostgresql.getMigration

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi

    Gets information about a migration.

    Uses Azure REST API version 2024-08-01.

    Other available API versions: 2023-03-01-preview, 2023-06-01-preview, 2023-12-01-preview, 2024-03-01-preview, 2024-11-01-preview, 2025-01-01-preview, 2025-06-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native dbforpostgresql [ApiVersion]. See the version guide for details.

    Using getMigration

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getMigration(args: GetMigrationArgs, opts?: InvokeOptions): Promise<GetMigrationResult>
    function getMigrationOutput(args: GetMigrationOutputArgs, opts?: InvokeOptions): Output<GetMigrationResult>
    def get_migration(migration_name: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      subscription_id: Optional[str] = None,
                      target_db_server_name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetMigrationResult
    def get_migration_output(migration_name: Optional[pulumi.Input[str]] = None,
                      resource_group_name: Optional[pulumi.Input[str]] = None,
                      subscription_id: Optional[pulumi.Input[str]] = None,
                      target_db_server_name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetMigrationResult]
    func LookupMigration(ctx *Context, args *LookupMigrationArgs, opts ...InvokeOption) (*LookupMigrationResult, error)
    func LookupMigrationOutput(ctx *Context, args *LookupMigrationOutputArgs, opts ...InvokeOption) LookupMigrationResultOutput

    > Note: This function is named LookupMigration in the Go SDK.

    public static class GetMigration 
    {
        public static Task<GetMigrationResult> InvokeAsync(GetMigrationArgs args, InvokeOptions? opts = null)
        public static Output<GetMigrationResult> Invoke(GetMigrationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMigrationResult> getMigration(GetMigrationArgs args, InvokeOptions options)
    public static Output<GetMigrationResult> getMigration(GetMigrationArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:dbforpostgresql:getMigration
      arguments:
        # arguments dictionary

    The following arguments are supported:

    MigrationName string
    Name of migration.
    ResourceGroupName string
    Name of resource group of target database server.
    TargetDbServerName string
    Name of target database server.
    SubscriptionId string
    Identifier of subscription of target database server.
    MigrationName string
    Name of migration.
    ResourceGroupName string
    Name of resource group of target database server.
    TargetDbServerName string
    Name of target database server.
    SubscriptionId string
    Identifier of subscription of target database server.
    migrationName String
    Name of migration.
    resourceGroupName String
    Name of resource group of target database server.
    targetDbServerName String
    Name of target database server.
    subscriptionId String
    Identifier of subscription of target database server.
    migrationName string
    Name of migration.
    resourceGroupName string
    Name of resource group of target database server.
    targetDbServerName string
    Name of target database server.
    subscriptionId string
    Identifier of subscription of target database server.
    migration_name str
    Name of migration.
    resource_group_name str
    Name of resource group of target database server.
    target_db_server_name str
    Name of target database server.
    subscription_id str
    Identifier of subscription of target database server.
    migrationName String
    Name of migration.
    resourceGroupName String
    Name of resource group of target database server.
    targetDbServerName String
    Name of target database server.
    subscriptionId String
    Identifier of subscription of target database server.

    getMigration Result

    The following output properties are available:

    AzureApiVersion string
    The Azure API version of the resource.
    CurrentStatus Pulumi.AzureNative.DBforPostgreSQL.Outputs.MigrationStatusResponse
    Current status of a migration.
    Id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    Location string
    The geo-location where the resource lives
    MigrationId string
    Identifier of a migration.
    Name string
    The name of the resource
    SourceDbServerMetadata Pulumi.AzureNative.DBforPostgreSQL.Outputs.DbServerMetadataResponse
    Metadata of source database server.
    SystemData Pulumi.AzureNative.DBforPostgreSQL.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    TargetDbServerMetadata Pulumi.AzureNative.DBforPostgreSQL.Outputs.DbServerMetadataResponse
    Metadata of target database server.
    TargetDbServerResourceId string
    Identifier of the target database server resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Cancel string
    Indicates if cancel must be triggered for the entire migration.
    DbsToCancelMigrationOn List<string>
    When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
    DbsToMigrate List<string>
    Names of databases to migrate.
    DbsToTriggerCutoverOn List<string>
    When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
    MigrateRoles string
    Indicates if roles and permissions must be migrated.
    MigrationInstanceResourceId string
    Identifier of the private endpoint migration instance.
    MigrationMode string
    Mode used to perform the migration: Online or Offline.
    MigrationOption string
    Supported option for a migration.
    MigrationWindowEndTimeInUtc string
    End time (UTC) for migration window.
    MigrationWindowStartTimeInUtc string
    Start time (UTC) for migration window.
    OverwriteDbsInTarget string
    Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation.
    SetupLogicalReplicationOnSourceDbIfNeeded string
    Indicates whether to setup LogicalReplicationOnSourceDb, if needed.
    SourceDbServerFullyQualifiedDomainName string
    Fully qualified domain name (FQDN) or IP address of the source server. This property is optional. When provided, the migration service will always use it to connect to the source server.
    SourceDbServerResourceId string
    Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. For other source types this must be set to ipaddress:port@username or hostname:port@username.
    SourceType string
    Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL
    SslMode string
    SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'.
    StartDataMigration string
    Indicates if data migration must start right away.
    Tags Dictionary<string, string>
    Resource tags.
    TargetDbServerFullyQualifiedDomainName string
    Fully qualified domain name (FQDN) or IP address of the target server. This property is optional. When provided, the migration service will always use it to connect to the target server.
    TriggerCutover string
    Indicates if cutover must be triggered for the entire migration.
    AzureApiVersion string
    The Azure API version of the resource.
    CurrentStatus MigrationStatusResponse
    Current status of a migration.
    Id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    Location string
    The geo-location where the resource lives
    MigrationId string
    Identifier of a migration.
    Name string
    The name of the resource
    SourceDbServerMetadata DbServerMetadataResponse
    Metadata of source database server.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    TargetDbServerMetadata DbServerMetadataResponse
    Metadata of target database server.
    TargetDbServerResourceId string
    Identifier of the target database server resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Cancel string
    Indicates if cancel must be triggered for the entire migration.
    DbsToCancelMigrationOn []string
    When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
    DbsToMigrate []string
    Names of databases to migrate.
    DbsToTriggerCutoverOn []string
    When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
    MigrateRoles string
    Indicates if roles and permissions must be migrated.
    MigrationInstanceResourceId string
    Identifier of the private endpoint migration instance.
    MigrationMode string
    Mode used to perform the migration: Online or Offline.
    MigrationOption string
    Supported option for a migration.
    MigrationWindowEndTimeInUtc string
    End time (UTC) for migration window.
    MigrationWindowStartTimeInUtc string
    Start time (UTC) for migration window.
    OverwriteDbsInTarget string
    Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation.
    SetupLogicalReplicationOnSourceDbIfNeeded string
    Indicates whether to setup LogicalReplicationOnSourceDb, if needed.
    SourceDbServerFullyQualifiedDomainName string
    Fully qualified domain name (FQDN) or IP address of the source server. This property is optional. When provided, the migration service will always use it to connect to the source server.
    SourceDbServerResourceId string
    Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. For other source types this must be set to ipaddress:port@username or hostname:port@username.
    SourceType string
    Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL
    SslMode string
    SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'.
    StartDataMigration string
    Indicates if data migration must start right away.
    Tags map[string]string
    Resource tags.
    TargetDbServerFullyQualifiedDomainName string
    Fully qualified domain name (FQDN) or IP address of the target server. This property is optional. When provided, the migration service will always use it to connect to the target server.
    TriggerCutover string
    Indicates if cutover must be triggered for the entire migration.
    azureApiVersion String
    The Azure API version of the resource.
    currentStatus MigrationStatusResponse
    Current status of a migration.
    id String
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    location String
    The geo-location where the resource lives
    migrationId String
    Identifier of a migration.
    name String
    The name of the resource
    sourceDbServerMetadata DbServerMetadataResponse
    Metadata of source database server.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    targetDbServerMetadata DbServerMetadataResponse
    Metadata of target database server.
    targetDbServerResourceId String
    Identifier of the target database server resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    cancel String
    Indicates if cancel must be triggered for the entire migration.
    dbsToCancelMigrationOn List<String>
    When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
    dbsToMigrate List<String>
    Names of databases to migrate.
    dbsToTriggerCutoverOn List<String>
    When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
    migrateRoles String
    Indicates if roles and permissions must be migrated.
    migrationInstanceResourceId String
    Identifier of the private endpoint migration instance.
    migrationMode String
    Mode used to perform the migration: Online or Offline.
    migrationOption String
    Supported option for a migration.
    migrationWindowEndTimeInUtc String
    End time (UTC) for migration window.
    migrationWindowStartTimeInUtc String
    Start time (UTC) for migration window.
    overwriteDbsInTarget String
    Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation.
    setupLogicalReplicationOnSourceDbIfNeeded String
    Indicates whether to setup LogicalReplicationOnSourceDb, if needed.
    sourceDbServerFullyQualifiedDomainName String
    Fully qualified domain name (FQDN) or IP address of the source server. This property is optional. When provided, the migration service will always use it to connect to the source server.
    sourceDbServerResourceId String
    Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. For other source types this must be set to ipaddress:port@username or hostname:port@username.
    sourceType String
    Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL
    sslMode String
    SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'.
    startDataMigration String
    Indicates if data migration must start right away.
    tags Map<String,String>
    Resource tags.
    targetDbServerFullyQualifiedDomainName String
    Fully qualified domain name (FQDN) or IP address of the target server. This property is optional. When provided, the migration service will always use it to connect to the target server.
    triggerCutover String
    Indicates if cutover must be triggered for the entire migration.
    azureApiVersion string
    The Azure API version of the resource.
    currentStatus MigrationStatusResponse
    Current status of a migration.
    id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    location string
    The geo-location where the resource lives
    migrationId string
    Identifier of a migration.
    name string
    The name of the resource
    sourceDbServerMetadata DbServerMetadataResponse
    Metadata of source database server.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    targetDbServerMetadata DbServerMetadataResponse
    Metadata of target database server.
    targetDbServerResourceId string
    Identifier of the target database server resource.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    cancel string
    Indicates if cancel must be triggered for the entire migration.
    dbsToCancelMigrationOn string[]
    When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
    dbsToMigrate string[]
    Names of databases to migrate.
    dbsToTriggerCutoverOn string[]
    When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
    migrateRoles string
    Indicates if roles and permissions must be migrated.
    migrationInstanceResourceId string
    Identifier of the private endpoint migration instance.
    migrationMode string
    Mode used to perform the migration: Online or Offline.
    migrationOption string
    Supported option for a migration.
    migrationWindowEndTimeInUtc string
    End time (UTC) for migration window.
    migrationWindowStartTimeInUtc string
    Start time (UTC) for migration window.
    overwriteDbsInTarget string
    Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation.
    setupLogicalReplicationOnSourceDbIfNeeded string
    Indicates whether to setup LogicalReplicationOnSourceDb, if needed.
    sourceDbServerFullyQualifiedDomainName string
    Fully qualified domain name (FQDN) or IP address of the source server. This property is optional. When provided, the migration service will always use it to connect to the source server.
    sourceDbServerResourceId string
    Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. For other source types this must be set to ipaddress:port@username or hostname:port@username.
    sourceType string
    Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL
    sslMode string
    SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'.
    startDataMigration string
    Indicates if data migration must start right away.
    tags {[key: string]: string}
    Resource tags.
    targetDbServerFullyQualifiedDomainName string
    Fully qualified domain name (FQDN) or IP address of the target server. This property is optional. When provided, the migration service will always use it to connect to the target server.
    triggerCutover string
    Indicates if cutover must be triggered for the entire migration.
    azure_api_version str
    The Azure API version of the resource.
    current_status MigrationStatusResponse
    Current status of a migration.
    id str
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    location str
    The geo-location where the resource lives
    migration_id str
    Identifier of a migration.
    name str
    The name of the resource
    source_db_server_metadata DbServerMetadataResponse
    Metadata of source database server.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    target_db_server_metadata DbServerMetadataResponse
    Metadata of target database server.
    target_db_server_resource_id str
    Identifier of the target database server resource.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    cancel str
    Indicates if cancel must be triggered for the entire migration.
    dbs_to_cancel_migration_on Sequence[str]
    When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
    dbs_to_migrate Sequence[str]
    Names of databases to migrate.
    dbs_to_trigger_cutover_on Sequence[str]
    When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
    migrate_roles str
    Indicates if roles and permissions must be migrated.
    migration_instance_resource_id str
    Identifier of the private endpoint migration instance.
    migration_mode str
    Mode used to perform the migration: Online or Offline.
    migration_option str
    Supported option for a migration.
    migration_window_end_time_in_utc str
    End time (UTC) for migration window.
    migration_window_start_time_in_utc str
    Start time (UTC) for migration window.
    overwrite_dbs_in_target str
    Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation.
    setup_logical_replication_on_source_db_if_needed str
    Indicates whether to setup LogicalReplicationOnSourceDb, if needed.
    source_db_server_fully_qualified_domain_name str
    Fully qualified domain name (FQDN) or IP address of the source server. This property is optional. When provided, the migration service will always use it to connect to the source server.
    source_db_server_resource_id str
    Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. For other source types this must be set to ipaddress:port@username or hostname:port@username.
    source_type str
    Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL
    ssl_mode str
    SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'.
    start_data_migration str
    Indicates if data migration must start right away.
    tags Mapping[str, str]
    Resource tags.
    target_db_server_fully_qualified_domain_name str
    Fully qualified domain name (FQDN) or IP address of the target server. This property is optional. When provided, the migration service will always use it to connect to the target server.
    trigger_cutover str
    Indicates if cutover must be triggered for the entire migration.
    azureApiVersion String
    The Azure API version of the resource.
    currentStatus Property Map
    Current status of a migration.
    id String
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    location String
    The geo-location where the resource lives
    migrationId String
    Identifier of a migration.
    name String
    The name of the resource
    sourceDbServerMetadata Property Map
    Metadata of source database server.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    targetDbServerMetadata Property Map
    Metadata of target database server.
    targetDbServerResourceId String
    Identifier of the target database server resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    cancel String
    Indicates if cancel must be triggered for the entire migration.
    dbsToCancelMigrationOn List<String>
    When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
    dbsToMigrate List<String>
    Names of databases to migrate.
    dbsToTriggerCutoverOn List<String>
    When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array.
    migrateRoles String
    Indicates if roles and permissions must be migrated.
    migrationInstanceResourceId String
    Identifier of the private endpoint migration instance.
    migrationMode String
    Mode used to perform the migration: Online or Offline.
    migrationOption String
    Supported option for a migration.
    migrationWindowEndTimeInUtc String
    End time (UTC) for migration window.
    migrationWindowStartTimeInUtc String
    Start time (UTC) for migration window.
    overwriteDbsInTarget String
    Indicates if databases on the target server can be overwritten when already present. If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation.
    setupLogicalReplicationOnSourceDbIfNeeded String
    Indicates whether to setup LogicalReplicationOnSourceDb, if needed.
    sourceDbServerFullyQualifiedDomainName String
    Fully qualified domain name (FQDN) or IP address of the source server. This property is optional. When provided, the migration service will always use it to connect to the source server.
    sourceDbServerResourceId String
    Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. For other source types this must be set to ipaddress:port@username or hostname:port@username.
    sourceType String
    Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL
    sslMode String
    SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'.
    startDataMigration String
    Indicates if data migration must start right away.
    tags Map<String>
    Resource tags.
    targetDbServerFullyQualifiedDomainName String
    Fully qualified domain name (FQDN) or IP address of the target server. This property is optional. When provided, the migration service will always use it to connect to the target server.
    triggerCutover String
    Indicates if cutover must be triggered for the entire migration.

    Supporting Types

    DbLevelValidationStatusResponse

    DatabaseName string
    Name of database.
    EndedOn string
    End time of a database level validation.
    StartedOn string
    Start time of a database level validation.
    Summary List<Pulumi.AzureNative.DBforPostgreSQL.Inputs.ValidationSummaryItemResponse>
    Summary of database level validations.
    DatabaseName string
    Name of database.
    EndedOn string
    End time of a database level validation.
    StartedOn string
    Start time of a database level validation.
    Summary []ValidationSummaryItemResponse
    Summary of database level validations.
    databaseName String
    Name of database.
    endedOn String
    End time of a database level validation.
    startedOn String
    Start time of a database level validation.
    summary List<ValidationSummaryItemResponse>
    Summary of database level validations.
    databaseName string
    Name of database.
    endedOn string
    End time of a database level validation.
    startedOn string
    Start time of a database level validation.
    summary ValidationSummaryItemResponse[]
    Summary of database level validations.
    database_name str
    Name of database.
    ended_on str
    End time of a database level validation.
    started_on str
    Start time of a database level validation.
    summary Sequence[ValidationSummaryItemResponse]
    Summary of database level validations.
    databaseName String
    Name of database.
    endedOn String
    End time of a database level validation.
    startedOn String
    Start time of a database level validation.
    summary List<Property Map>
    Summary of database level validations.

    DbMigrationStatusResponse

    AppliedChanges int
    Change Data Capture applied changes counter.
    CdcDeleteCounter int
    Change Data Capture delete counter.
    CdcInsertCounter int
    Change Data Capture insert counter.
    CdcUpdateCounter int
    Change Data Capture update counter.
    DatabaseName string
    Name of database.
    EndedOn string
    End time of a migration state.
    FullLoadCompletedTables int
    Number of tables loaded during the migration of a database.
    FullLoadErroredTables int
    Number of tables encountering errors during the migration of a database.
    FullLoadLoadingTables int
    Number of tables loading during the migration of a database.
    FullLoadQueuedTables int
    Number of tables queued for the migration of a database.
    IncomingChanges int
    Change Data Capture incoming changes counter.
    Latency int
    Lag in seconds between source and target during online phase.
    Message string
    Error message, if any, for the migration state.
    MigrationOperation string
    Migration operation of a database.
    MigrationState string
    Migration state of a database.
    StartedOn string
    Start time of a migration state.
    AppliedChanges int
    Change Data Capture applied changes counter.
    CdcDeleteCounter int
    Change Data Capture delete counter.
    CdcInsertCounter int
    Change Data Capture insert counter.
    CdcUpdateCounter int
    Change Data Capture update counter.
    DatabaseName string
    Name of database.
    EndedOn string
    End time of a migration state.
    FullLoadCompletedTables int
    Number of tables loaded during the migration of a database.
    FullLoadErroredTables int
    Number of tables encountering errors during the migration of a database.
    FullLoadLoadingTables int
    Number of tables loading during the migration of a database.
    FullLoadQueuedTables int
    Number of tables queued for the migration of a database.
    IncomingChanges int
    Change Data Capture incoming changes counter.
    Latency int
    Lag in seconds between source and target during online phase.
    Message string
    Error message, if any, for the migration state.
    MigrationOperation string
    Migration operation of a database.
    MigrationState string
    Migration state of a database.
    StartedOn string
    Start time of a migration state.
    appliedChanges Integer
    Change Data Capture applied changes counter.
    cdcDeleteCounter Integer
    Change Data Capture delete counter.
    cdcInsertCounter Integer
    Change Data Capture insert counter.
    cdcUpdateCounter Integer
    Change Data Capture update counter.
    databaseName String
    Name of database.
    endedOn String
    End time of a migration state.
    fullLoadCompletedTables Integer
    Number of tables loaded during the migration of a database.
    fullLoadErroredTables Integer
    Number of tables encountering errors during the migration of a database.
    fullLoadLoadingTables Integer
    Number of tables loading during the migration of a database.
    fullLoadQueuedTables Integer
    Number of tables queued for the migration of a database.
    incomingChanges Integer
    Change Data Capture incoming changes counter.
    latency Integer
    Lag in seconds between source and target during online phase.
    message String
    Error message, if any, for the migration state.
    migrationOperation String
    Migration operation of a database.
    migrationState String
    Migration state of a database.
    startedOn String
    Start time of a migration state.
    appliedChanges number
    Change Data Capture applied changes counter.
    cdcDeleteCounter number
    Change Data Capture delete counter.
    cdcInsertCounter number
    Change Data Capture insert counter.
    cdcUpdateCounter number
    Change Data Capture update counter.
    databaseName string
    Name of database.
    endedOn string
    End time of a migration state.
    fullLoadCompletedTables number
    Number of tables loaded during the migration of a database.
    fullLoadErroredTables number
    Number of tables encountering errors during the migration of a database.
    fullLoadLoadingTables number
    Number of tables loading during the migration of a database.
    fullLoadQueuedTables number
    Number of tables queued for the migration of a database.
    incomingChanges number
    Change Data Capture incoming changes counter.
    latency number
    Lag in seconds between source and target during online phase.
    message string
    Error message, if any, for the migration state.
    migrationOperation string
    Migration operation of a database.
    migrationState string
    Migration state of a database.
    startedOn string
    Start time of a migration state.
    applied_changes int
    Change Data Capture applied changes counter.
    cdc_delete_counter int
    Change Data Capture delete counter.
    cdc_insert_counter int
    Change Data Capture insert counter.
    cdc_update_counter int
    Change Data Capture update counter.
    database_name str
    Name of database.
    ended_on str
    End time of a migration state.
    full_load_completed_tables int
    Number of tables loaded during the migration of a database.
    full_load_errored_tables int
    Number of tables encountering errors during the migration of a database.
    full_load_loading_tables int
    Number of tables loading during the migration of a database.
    full_load_queued_tables int
    Number of tables queued for the migration of a database.
    incoming_changes int
    Change Data Capture incoming changes counter.
    latency int
    Lag in seconds between source and target during online phase.
    message str
    Error message, if any, for the migration state.
    migration_operation str
    Migration operation of a database.
    migration_state str
    Migration state of a database.
    started_on str
    Start time of a migration state.
    appliedChanges Number
    Change Data Capture applied changes counter.
    cdcDeleteCounter Number
    Change Data Capture delete counter.
    cdcInsertCounter Number
    Change Data Capture insert counter.
    cdcUpdateCounter Number
    Change Data Capture update counter.
    databaseName String
    Name of database.
    endedOn String
    End time of a migration state.
    fullLoadCompletedTables Number
    Number of tables loaded during the migration of a database.
    fullLoadErroredTables Number
    Number of tables encountering errors during the migration of a database.
    fullLoadLoadingTables Number
    Number of tables loading during the migration of a database.
    fullLoadQueuedTables Number
    Number of tables queued for the migration of a database.
    incomingChanges Number
    Change Data Capture incoming changes counter.
    latency Number
    Lag in seconds between source and target during online phase.
    message String
    Error message, if any, for the migration state.
    migrationOperation String
    Migration operation of a database.
    migrationState String
    Migration state of a database.
    startedOn String
    Start time of a migration state.

    DbServerMetadataResponse

    Location string
    Location of database server.
    Sku Pulumi.AzureNative.DBforPostgreSQL.Inputs.ServerSkuResponse
    Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server.
    StorageMb int
    Storage size (in MB) for database server.
    Version string
    Major version of PostgreSQL database engine.
    Location string
    Location of database server.
    Sku ServerSkuResponse
    Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server.
    StorageMb int
    Storage size (in MB) for database server.
    Version string
    Major version of PostgreSQL database engine.
    location String
    Location of database server.
    sku ServerSkuResponse
    Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server.
    storageMb Integer
    Storage size (in MB) for database server.
    version String
    Major version of PostgreSQL database engine.
    location string
    Location of database server.
    sku ServerSkuResponse
    Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server.
    storageMb number
    Storage size (in MB) for database server.
    version string
    Major version of PostgreSQL database engine.
    location str
    Location of database server.
    sku ServerSkuResponse
    Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server.
    storage_mb int
    Storage size (in MB) for database server.
    version str
    Major version of PostgreSQL database engine.
    location String
    Location of database server.
    sku Property Map
    Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server.
    storageMb Number
    Storage size (in MB) for database server.
    version String
    Major version of PostgreSQL database engine.

    MigrationStatusResponse

    CurrentSubStateDetails Pulumi.AzureNative.DBforPostgreSQL.Inputs.MigrationSubStateDetailsResponse
    Current migration sub state details.
    Error string
    Error message, if any, for the migration state.
    State string
    State of migration.
    CurrentSubStateDetails MigrationSubStateDetailsResponse
    Current migration sub state details.
    Error string
    Error message, if any, for the migration state.
    State string
    State of migration.
    currentSubStateDetails MigrationSubStateDetailsResponse
    Current migration sub state details.
    error String
    Error message, if any, for the migration state.
    state String
    State of migration.
    currentSubStateDetails MigrationSubStateDetailsResponse
    Current migration sub state details.
    error string
    Error message, if any, for the migration state.
    state string
    State of migration.
    current_sub_state_details MigrationSubStateDetailsResponse
    Current migration sub state details.
    error str
    Error message, if any, for the migration state.
    state str
    State of migration.
    currentSubStateDetails Property Map
    Current migration sub state details.
    error String
    Error message, if any, for the migration state.
    state String
    State of migration.

    MigrationSubStateDetailsResponse

    CurrentSubState string
    Substate of migration.
    DbDetails Dictionary<string, Pulumi.AzureNative.DBforPostgreSQL.Inputs.DbMigrationStatusResponse>
    ValidationDetails Pulumi.AzureNative.DBforPostgreSQL.Inputs.ValidationDetailsResponse
    Details for the validation for migration.
    CurrentSubState string
    Substate of migration.
    DbDetails map[string]DbMigrationStatusResponse
    ValidationDetails ValidationDetailsResponse
    Details for the validation for migration.
    currentSubState String
    Substate of migration.
    dbDetails Map<String,DbMigrationStatusResponse>
    validationDetails ValidationDetailsResponse
    Details for the validation for migration.
    currentSubState string
    Substate of migration.
    dbDetails {[key: string]: DbMigrationStatusResponse}
    validationDetails ValidationDetailsResponse
    Details for the validation for migration.
    current_sub_state str
    Substate of migration.
    db_details Mapping[str, DbMigrationStatusResponse]
    validation_details ValidationDetailsResponse
    Details for the validation for migration.
    currentSubState String
    Substate of migration.
    dbDetails Map<Property Map>
    validationDetails Property Map
    Details for the validation for migration.

    ServerSkuResponse

    Name string
    Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server.
    Tier string
    Tier of the compute assigned to a flexible server.
    Name string
    Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server.
    Tier string
    Tier of the compute assigned to a flexible server.
    name String
    Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server.
    tier String
    Tier of the compute assigned to a flexible server.
    name string
    Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server.
    tier string
    Tier of the compute assigned to a flexible server.
    name str
    Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server.
    tier str
    Tier of the compute assigned to a flexible server.
    name String
    Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server.
    tier String
    Tier of the compute assigned to a flexible server.

    SystemDataResponse

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    ValidationDetailsResponse

    DbLevelValidationDetails List<Pulumi.AzureNative.DBforPostgreSQL.Inputs.DbLevelValidationStatusResponse>
    Details of server level validations.
    ServerLevelValidationDetails List<Pulumi.AzureNative.DBforPostgreSQL.Inputs.ValidationSummaryItemResponse>
    Details of server level validations.
    Status string
    Validation status for migration.
    ValidationEndTimeInUtc string
    End time (UTC) for validation.
    ValidationStartTimeInUtc string
    Start time (UTC) for validation.
    DbLevelValidationDetails []DbLevelValidationStatusResponse
    Details of server level validations.
    ServerLevelValidationDetails []ValidationSummaryItemResponse
    Details of server level validations.
    Status string
    Validation status for migration.
    ValidationEndTimeInUtc string
    End time (UTC) for validation.
    ValidationStartTimeInUtc string
    Start time (UTC) for validation.
    dbLevelValidationDetails List<DbLevelValidationStatusResponse>
    Details of server level validations.
    serverLevelValidationDetails List<ValidationSummaryItemResponse>
    Details of server level validations.
    status String
    Validation status for migration.
    validationEndTimeInUtc String
    End time (UTC) for validation.
    validationStartTimeInUtc String
    Start time (UTC) for validation.
    dbLevelValidationDetails DbLevelValidationStatusResponse[]
    Details of server level validations.
    serverLevelValidationDetails ValidationSummaryItemResponse[]
    Details of server level validations.
    status string
    Validation status for migration.
    validationEndTimeInUtc string
    End time (UTC) for validation.
    validationStartTimeInUtc string
    Start time (UTC) for validation.
    db_level_validation_details Sequence[DbLevelValidationStatusResponse]
    Details of server level validations.
    server_level_validation_details Sequence[ValidationSummaryItemResponse]
    Details of server level validations.
    status str
    Validation status for migration.
    validation_end_time_in_utc str
    End time (UTC) for validation.
    validation_start_time_in_utc str
    Start time (UTC) for validation.
    dbLevelValidationDetails List<Property Map>
    Details of server level validations.
    serverLevelValidationDetails List<Property Map>
    Details of server level validations.
    status String
    Validation status for migration.
    validationEndTimeInUtc String
    End time (UTC) for validation.
    validationStartTimeInUtc String
    Start time (UTC) for validation.

    ValidationMessageResponse

    Message string
    Validation message string.
    State string
    Severity of validation message.
    Message string
    Validation message string.
    State string
    Severity of validation message.
    message String
    Validation message string.
    state String
    Severity of validation message.
    message string
    Validation message string.
    state string
    Severity of validation message.
    message str
    Validation message string.
    state str
    Severity of validation message.
    message String
    Validation message string.
    state String
    Severity of validation message.

    ValidationSummaryItemResponse

    Messages List<Pulumi.AzureNative.DBforPostgreSQL.Inputs.ValidationMessageResponse>
    Validation messages.
    State string
    Validation status for migration.
    Type string
    Validation type.
    Messages []ValidationMessageResponse
    Validation messages.
    State string
    Validation status for migration.
    Type string
    Validation type.
    messages List<ValidationMessageResponse>
    Validation messages.
    state String
    Validation status for migration.
    type String
    Validation type.
    messages ValidationMessageResponse[]
    Validation messages.
    state string
    Validation status for migration.
    type string
    Validation type.
    messages Sequence[ValidationMessageResponse]
    Validation messages.
    state str
    Validation status for migration.
    type str
    Validation type.
    messages List<Property Map>
    Validation messages.
    state String
    Validation status for migration.
    type String
    Validation type.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi