azure-native.dbforpostgresql.getMigration
Explore with Pulumi AI
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:
- Migration
Name string - Name of migration.
- Resource
Group stringName - Name of resource group of target database server.
- Target
Db stringServer Name - Name of target database server.
- Subscription
Id string - Identifier of subscription of target database server.
- Migration
Name string - Name of migration.
- Resource
Group stringName - Name of resource group of target database server.
- Target
Db stringServer Name - Name of target database server.
- Subscription
Id string - Identifier of subscription of target database server.
- migration
Name String - Name of migration.
- resource
Group StringName - Name of resource group of target database server.
- target
Db StringServer Name - Name of target database server.
- subscription
Id String - Identifier of subscription of target database server.
- migration
Name string - Name of migration.
- resource
Group stringName - Name of resource group of target database server.
- target
Db stringServer Name - Name of target database server.
- subscription
Id string - Identifier of subscription of target database server.
- migration_
name str - Name of migration.
- resource_
group_ strname - Name of resource group of target database server.
- target_
db_ strserver_ name - Name of target database server.
- subscription_
id str - Identifier of subscription of target database server.
- migration
Name String - Name of migration.
- resource
Group StringName - Name of resource group of target database server.
- target
Db StringServer Name - Name of target database server.
- subscription
Id String - Identifier of subscription of target database server.
getMigration Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Current
Status Pulumi.Azure Native. DBfor Postgre SQL. Outputs. Migration Status Response - 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
- Migration
Id string - Identifier of a migration.
- Name string
- The name of the resource
- Source
Db Pulumi.Server Metadata Azure Native. DBfor Postgre SQL. Outputs. Db Server Metadata Response - Metadata of source database server.
- System
Data Pulumi.Azure Native. DBfor Postgre SQL. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Target
Db Pulumi.Server Metadata Azure Native. DBfor Postgre SQL. Outputs. Db Server Metadata Response - Metadata of target database server.
- Target
Db stringServer Resource Id - 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.
- Dbs
To List<string>Cancel Migration On - 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 List<string>Migrate - Names of databases to migrate.
- Dbs
To List<string>Trigger Cutover On - 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 string - Indicates if roles and permissions must be migrated.
- Migration
Instance stringResource Id - Identifier of the private endpoint migration instance.
- Migration
Mode string - Mode used to perform the migration: Online or Offline.
- Migration
Option string - Supported option for a migration.
- Migration
Window stringEnd Time In Utc - End time (UTC) for migration window.
- Migration
Window stringStart Time In Utc - Start time (UTC) for migration window.
- Overwrite
Dbs stringIn Target - 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 stringReplication On Source Db If Needed - Indicates whether to setup LogicalReplicationOnSourceDb, if needed.
- Source
Db stringServer Fully Qualified Domain Name - 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 stringServer Resource Id - 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 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
- Ssl
Mode string - SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'.
- Start
Data stringMigration - Indicates if data migration must start right away.
- Dictionary<string, string>
- Resource tags.
- Target
Db stringServer Fully Qualified Domain Name - 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 string - Indicates if cutover must be triggered for the entire migration.
- Azure
Api stringVersion - The Azure API version of the resource.
- Current
Status MigrationStatus Response - 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
- Migration
Id string - Identifier of a migration.
- Name string
- The name of the resource
- Source
Db DbServer Metadata Server Metadata Response - Metadata of source database server.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Target
Db DbServer Metadata Server Metadata Response - Metadata of target database server.
- Target
Db stringServer Resource Id - 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.
- Dbs
To []stringCancel Migration On - 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 []stringMigrate - Names of databases to migrate.
- Dbs
To []stringTrigger Cutover On - 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 string - Indicates if roles and permissions must be migrated.
- Migration
Instance stringResource Id - Identifier of the private endpoint migration instance.
- Migration
Mode string - Mode used to perform the migration: Online or Offline.
- Migration
Option string - Supported option for a migration.
- Migration
Window stringEnd Time In Utc - End time (UTC) for migration window.
- Migration
Window stringStart Time In Utc - Start time (UTC) for migration window.
- Overwrite
Dbs stringIn Target - 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 stringReplication On Source Db If Needed - Indicates whether to setup LogicalReplicationOnSourceDb, if needed.
- Source
Db stringServer Fully Qualified Domain Name - 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 stringServer Resource Id - 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 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
- Ssl
Mode string - SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'.
- Start
Data stringMigration - Indicates if data migration must start right away.
- map[string]string
- Resource tags.
- Target
Db stringServer Fully Qualified Domain Name - 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 string - Indicates if cutover must be triggered for the entire migration.
- azure
Api StringVersion - The Azure API version of the resource.
- current
Status MigrationStatus Response - 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
- migration
Id String - Identifier of a migration.
- name String
- The name of the resource
- source
Db DbServer Metadata Server Metadata Response - Metadata of source database server.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- target
Db DbServer Metadata Server Metadata Response - Metadata of target database server.
- target
Db StringServer Resource Id - 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.
- dbs
To List<String>Cancel Migration On - 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 List<String>Migrate - Names of databases to migrate.
- dbs
To List<String>Trigger Cutover On - 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 String - Indicates if roles and permissions must be migrated.
- migration
Instance StringResource Id - Identifier of the private endpoint migration instance.
- migration
Mode String - Mode used to perform the migration: Online or Offline.
- migration
Option String - Supported option for a migration.
- migration
Window StringEnd Time In Utc - End time (UTC) for migration window.
- migration
Window StringStart Time In Utc - Start time (UTC) for migration window.
- overwrite
Dbs StringIn Target - 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 StringReplication On Source Db If Needed - Indicates whether to setup LogicalReplicationOnSourceDb, if needed.
- source
Db StringServer Fully Qualified Domain Name - 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 StringServer Resource Id - 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 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
- ssl
Mode String - SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'.
- start
Data StringMigration - Indicates if data migration must start right away.
- Map<String,String>
- Resource tags.
- target
Db StringServer Fully Qualified Domain Name - 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 String - Indicates if cutover must be triggered for the entire migration.
- azure
Api stringVersion - The Azure API version of the resource.
- current
Status MigrationStatus Response - 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
- migration
Id string - Identifier of a migration.
- name string
- The name of the resource
- source
Db DbServer Metadata Server Metadata Response - Metadata of source database server.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- target
Db DbServer Metadata Server Metadata Response - Metadata of target database server.
- target
Db stringServer Resource Id - 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.
- dbs
To string[]Cancel Migration On - 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 string[]Migrate - Names of databases to migrate.
- dbs
To string[]Trigger Cutover On - 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 string - Indicates if roles and permissions must be migrated.
- migration
Instance stringResource Id - Identifier of the private endpoint migration instance.
- migration
Mode string - Mode used to perform the migration: Online or Offline.
- migration
Option string - Supported option for a migration.
- migration
Window stringEnd Time In Utc - End time (UTC) for migration window.
- migration
Window stringStart Time In Utc - Start time (UTC) for migration window.
- overwrite
Dbs stringIn Target - 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 stringReplication On Source Db If Needed - Indicates whether to setup LogicalReplicationOnSourceDb, if needed.
- source
Db stringServer Fully Qualified Domain Name - 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 stringServer Resource Id - 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 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
- ssl
Mode string - SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'.
- start
Data stringMigration - Indicates if data migration must start right away.
- {[key: string]: string}
- Resource tags.
- target
Db stringServer Fully Qualified Domain Name - 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 string - Indicates if cutover must be triggered for the entire migration.
- azure_
api_ strversion - The Azure API version of the resource.
- current_
status MigrationStatus Response - 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_ Dbserver_ metadata Server Metadata Response - Metadata of source database server.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- target_
db_ Dbserver_ metadata Server Metadata Response - Metadata of target database server.
- target_
db_ strserver_ resource_ id - 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_ Sequence[str]cancel_ migration_ on - 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_ Sequence[str]migrate - Names of databases to migrate.
- dbs_
to_ Sequence[str]trigger_ cutover_ on - 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_ strresource_ id - 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_ strend_ time_ in_ utc - End time (UTC) for migration window.
- migration_
window_ strstart_ time_ in_ utc - Start time (UTC) for migration window.
- overwrite_
dbs_ strin_ target - 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_ strreplication_ on_ source_ db_ if_ needed - Indicates whether to setup LogicalReplicationOnSourceDb, if needed.
- source_
db_ strserver_ fully_ qualified_ domain_ name - 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_ strserver_ resource_ id - 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_ strmigration - Indicates if data migration must start right away.
- Mapping[str, str]
- Resource tags.
- target_
db_ strserver_ fully_ qualified_ domain_ name - 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.
- azure
Api StringVersion - The Azure API version of the resource.
- current
Status 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
- migration
Id String - Identifier of a migration.
- name String
- The name of the resource
- source
Db Property MapServer Metadata - Metadata of source database server.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- target
Db Property MapServer Metadata - Metadata of target database server.
- target
Db StringServer Resource Id - 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.
- dbs
To List<String>Cancel Migration On - 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 List<String>Migrate - Names of databases to migrate.
- dbs
To List<String>Trigger Cutover On - 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 String - Indicates if roles and permissions must be migrated.
- migration
Instance StringResource Id - Identifier of the private endpoint migration instance.
- migration
Mode String - Mode used to perform the migration: Online or Offline.
- migration
Option String - Supported option for a migration.
- migration
Window StringEnd Time In Utc - End time (UTC) for migration window.
- migration
Window StringStart Time In Utc - Start time (UTC) for migration window.
- overwrite
Dbs StringIn Target - 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 StringReplication On Source Db If Needed - Indicates whether to setup LogicalReplicationOnSourceDb, if needed.
- source
Db StringServer Fully Qualified Domain Name - 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 StringServer Resource Id - 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 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
- ssl
Mode String - SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'.
- start
Data StringMigration - Indicates if data migration must start right away.
- Map<String>
- Resource tags.
- target
Db StringServer Fully Qualified Domain Name - 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 String - Indicates if cutover must be triggered for the entire migration.
Supporting Types
DbLevelValidationStatusResponse
- Database
Name string - Name of database.
- Ended
On string - End time of a database level validation.
- Started
On string - Start time of a database level validation.
- Summary
List<Pulumi.
Azure Native. DBfor Postgre SQL. Inputs. Validation Summary Item Response> - Summary of database level validations.
- Database
Name string - Name of database.
- Ended
On string - End time of a database level validation.
- Started
On string - Start time of a database level validation.
- Summary
[]Validation
Summary Item Response - Summary of database level validations.
- database
Name String - Name of database.
- ended
On String - End time of a database level validation.
- started
On String - Start time of a database level validation.
- summary
List<Validation
Summary Item Response> - Summary of database level validations.
- database
Name string - Name of database.
- ended
On string - End time of a database level validation.
- started
On string - Start time of a database level validation.
- summary
Validation
Summary Item Response[] - 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[Validation
Summary Item Response] - Summary of database level validations.
- database
Name String - Name of database.
- ended
On String - End time of a database level validation.
- started
On String - Start time of a database level validation.
- summary List<Property Map>
- Summary of database level validations.
DbMigrationStatusResponse
- Applied
Changes int - Change Data Capture applied changes counter.
- Cdc
Delete intCounter - Change Data Capture delete counter.
- Cdc
Insert intCounter - Change Data Capture insert counter.
- Cdc
Update intCounter - Change Data Capture update counter.
- Database
Name string - Name of database.
- Ended
On string - End time of a migration state.
- Full
Load intCompleted Tables - Number of tables loaded during the migration of a database.
- Full
Load intErrored Tables - Number of tables encountering errors during the migration of a database.
- Full
Load intLoading Tables - Number of tables loading during the migration of a database.
- Full
Load intQueued Tables - 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 string
- Error message, if any, for the migration state.
- Migration
Operation string - Migration operation of a database.
- Migration
State string - Migration state of a database.
- Started
On string - Start time of a migration state.
- Applied
Changes int - Change Data Capture applied changes counter.
- Cdc
Delete intCounter - Change Data Capture delete counter.
- Cdc
Insert intCounter - Change Data Capture insert counter.
- Cdc
Update intCounter - Change Data Capture update counter.
- Database
Name string - Name of database.
- Ended
On string - End time of a migration state.
- Full
Load intCompleted Tables - Number of tables loaded during the migration of a database.
- Full
Load intErrored Tables - Number of tables encountering errors during the migration of a database.
- Full
Load intLoading Tables - Number of tables loading during the migration of a database.
- Full
Load intQueued Tables - 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 string
- Error message, if any, for the migration state.
- Migration
Operation string - Migration operation of a database.
- Migration
State string - Migration state of a database.
- Started
On string - Start time of a migration state.
- applied
Changes Integer - Change Data Capture applied changes counter.
- cdc
Delete IntegerCounter - Change Data Capture delete counter.
- cdc
Insert IntegerCounter - Change Data Capture insert counter.
- cdc
Update IntegerCounter - Change Data Capture update counter.
- database
Name String - Name of database.
- ended
On String - End time of a migration state.
- full
Load IntegerCompleted Tables - Number of tables loaded during the migration of a database.
- full
Load IntegerErrored Tables - Number of tables encountering errors during the migration of a database.
- full
Load IntegerLoading Tables - Number of tables loading during the migration of a database.
- full
Load IntegerQueued Tables - Number of tables queued for the migration of a database.
- incoming
Changes 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.
- migration
Operation String - Migration operation of a database.
- migration
State String - Migration state of a database.
- started
On String - Start time of a migration state.
- applied
Changes number - Change Data Capture applied changes counter.
- cdc
Delete numberCounter - Change Data Capture delete counter.
- cdc
Insert numberCounter - Change Data Capture insert counter.
- cdc
Update numberCounter - Change Data Capture update counter.
- database
Name string - Name of database.
- ended
On string - End time of a migration state.
- full
Load numberCompleted Tables - Number of tables loaded during the migration of a database.
- full
Load numberErrored Tables - Number of tables encountering errors during the migration of a database.
- full
Load numberLoading Tables - Number of tables loading during the migration of a database.
- full
Load numberQueued Tables - Number of tables queued for the migration of a database.
- incoming
Changes 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.
- migration
Operation string - Migration operation of a database.
- migration
State string - Migration state of a database.
- started
On string - Start time of a migration state.
- applied_
changes int - Change Data Capture applied changes counter.
- cdc_
delete_ intcounter - Change Data Capture delete counter.
- cdc_
insert_ intcounter - Change Data Capture insert counter.
- cdc_
update_ intcounter - Change Data Capture update counter.
- database_
name str - Name of database.
- ended_
on str - End time of a migration state.
- full_
load_ intcompleted_ tables - Number of tables loaded during the migration of a database.
- full_
load_ interrored_ tables - Number of tables encountering errors during the migration of a database.
- full_
load_ intloading_ tables - Number of tables loading during the migration of a database.
- full_
load_ intqueued_ tables - 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.
- applied
Changes Number - Change Data Capture applied changes counter.
- cdc
Delete NumberCounter - Change Data Capture delete counter.
- cdc
Insert NumberCounter - Change Data Capture insert counter.
- cdc
Update NumberCounter - Change Data Capture update counter.
- database
Name String - Name of database.
- ended
On String - End time of a migration state.
- full
Load NumberCompleted Tables - Number of tables loaded during the migration of a database.
- full
Load NumberErrored Tables - Number of tables encountering errors during the migration of a database.
- full
Load NumberLoading Tables - Number of tables loading during the migration of a database.
- full
Load NumberQueued Tables - Number of tables queued for the migration of a database.
- incoming
Changes 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.
- migration
Operation String - Migration operation of a database.
- migration
State String - Migration state of a database.
- started
On String - Start time of a migration state.
DbServerMetadataResponse
- Location string
- Location of database server.
- Sku
Pulumi.
Azure Native. DBfor Postgre SQL. Inputs. Server Sku Response - 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 string
- Major version of PostgreSQL database engine.
- Location string
- Location of database server.
- Sku
Server
Sku Response - 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 string
- Major version of PostgreSQL database engine.
- location String
- Location of database server.
- sku
Server
Sku Response - Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server.
- storage
Mb Integer - Storage size (in MB) for database server.
- version String
- Major version of PostgreSQL database engine.
- location string
- Location of database server.
- sku
Server
Sku Response - Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server.
- storage
Mb number - Storage size (in MB) for database server.
- version string
- Major version of PostgreSQL database engine.
- location str
- Location of database server.
- sku
Server
Sku Response - 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.
- storage
Mb Number - Storage size (in MB) for database server.
- version String
- Major version of PostgreSQL database engine.
MigrationStatusResponse
- Current
Sub Pulumi.State Details Azure Native. DBfor Postgre SQL. Inputs. Migration Sub State Details Response - Current migration sub state details.
- Error string
- Error message, if any, for the migration state.
- State string
- State of migration.
- Current
Sub MigrationState Details Sub State Details Response - Current migration sub state details.
- Error string
- Error message, if any, for the migration state.
- State string
- State of migration.
- current
Sub MigrationState Details Sub State Details Response - Current migration sub state details.
- error String
- Error message, if any, for the migration state.
- state String
- State of migration.
- current
Sub MigrationState Details Sub State Details Response - Current migration sub state details.
- error string
- Error message, if any, for the migration state.
- state string
- State of migration.
- current_
sub_ Migrationstate_ details Sub State Details Response - Current migration sub state details.
- error str
- Error message, if any, for the migration state.
- state str
- State of migration.
- current
Sub Property MapState Details - Current migration sub state details.
- error String
- Error message, if any, for the migration state.
- state String
- State of migration.
MigrationSubStateDetailsResponse
- Current
Sub stringState - Substate of migration.
- Db
Details Dictionary<string, Pulumi.Azure Native. DBfor Postgre SQL. Inputs. Db Migration Status Response> - Validation
Details Pulumi.Azure Native. DBfor Postgre SQL. Inputs. Validation Details Response - Details for the validation for migration.
- Current
Sub stringState - Substate of migration.
- Db
Details map[string]DbMigration Status Response - Validation
Details ValidationDetails Response - Details for the validation for migration.
- current
Sub StringState - Substate of migration.
- db
Details Map<String,DbMigration Status Response> - validation
Details ValidationDetails Response - Details for the validation for migration.
- current
Sub stringState - Substate of migration.
- db
Details {[key: string]: DbMigration Status Response} - validation
Details ValidationDetails Response - Details for the validation for migration.
- current_
sub_ strstate - Substate of migration.
- db_
details Mapping[str, DbMigration Status Response] - validation_
details ValidationDetails Response - Details for the validation for migration.
- current
Sub StringState - Substate of migration.
- db
Details Map<Property Map> - validation
Details Property Map - Details for the validation for migration.
ServerSkuResponse
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
ValidationDetailsResponse
- Db
Level List<Pulumi.Validation Details Azure Native. DBfor Postgre SQL. Inputs. Db Level Validation Status Response> - Details of server level validations.
- Server
Level List<Pulumi.Validation Details Azure Native. DBfor Postgre SQL. Inputs. Validation Summary Item Response> - Details of server level validations.
- Status string
- Validation status for migration.
- Validation
End stringTime In Utc - End time (UTC) for validation.
- Validation
Start stringTime In Utc - Start time (UTC) for validation.
- Db
Level []DbValidation Details Level Validation Status Response - Details of server level validations.
- Server
Level []ValidationValidation Details Summary Item Response - Details of server level validations.
- Status string
- Validation status for migration.
- Validation
End stringTime In Utc - End time (UTC) for validation.
- Validation
Start stringTime In Utc - Start time (UTC) for validation.
- db
Level List<DbValidation Details Level Validation Status Response> - Details of server level validations.
- server
Level List<ValidationValidation Details Summary Item Response> - Details of server level validations.
- status String
- Validation status for migration.
- validation
End StringTime In Utc - End time (UTC) for validation.
- validation
Start StringTime In Utc - Start time (UTC) for validation.
- db
Level DbValidation Details Level Validation Status Response[] - Details of server level validations.
- server
Level ValidationValidation Details Summary Item Response[] - Details of server level validations.
- status string
- Validation status for migration.
- validation
End stringTime In Utc - End time (UTC) for validation.
- validation
Start stringTime In Utc - Start time (UTC) for validation.
- db_
level_ Sequence[Dbvalidation_ details Level Validation Status Response] - Details of server level validations.
- server_
level_ Sequence[Validationvalidation_ details Summary Item Response] - Details of server level validations.
- status str
- Validation status for migration.
- validation_
end_ strtime_ in_ utc - End time (UTC) for validation.
- validation_
start_ strtime_ in_ utc - Start time (UTC) for validation.
- db
Level List<Property Map>Validation Details - Details of server level validations.
- server
Level List<Property Map>Validation Details - Details of server level validations.
- status String
- Validation status for migration.
- validation
End StringTime In Utc - End time (UTC) for validation.
- validation
Start StringTime In Utc - Start time (UTC) for validation.
ValidationMessageResponse
ValidationSummaryItemResponse
- Messages
List<Pulumi.
Azure Native. DBfor Postgre SQL. Inputs. Validation Message Response> - Validation messages.
- State string
- Validation status for migration.
- Type string
- Validation type.
- Messages
[]Validation
Message Response - Validation messages.
- State string
- Validation status for migration.
- Type string
- Validation type.
- messages
List<Validation
Message Response> - Validation messages.
- state String
- Validation status for migration.
- type String
- Validation type.
- messages
Validation
Message Response[] - Validation messages.
- state string
- Validation status for migration.
- type string
- Validation type.
- messages
Sequence[Validation
Message Response] - 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