IMigrationProperties Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.MigrationPropertiesTypeConverter))]
public interface IMigrationProperties : Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.MigrationPropertiesTypeConverter))>]
type IMigrationProperties = interface
interface IJsonSerializable
Public Interface IMigrationProperties
Implements IJsonSerializable
- Derived
- Attributes
- Implements
Properties
| Name | Description |
|---|---|
| AdminCredentialsSourceServerPassword |
Password for the user of the source server. |
| AdminCredentialsTargetServerPassword |
Password for the user of the target server. |
| Cancel |
Indicates if cancel must be triggered for the entire migration. |
| CurrentStatusError |
Error message, if any, for the migration state. |
| CurrentStatusState |
State of migration. |
| CurrentSubStateDetailCurrentSubState |
Substate of migration. |
| CurrentSubStateDetailDbDetail | |
| DbsToCancelMigrationOn |
When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array. |
| DbsToMigrate |
Names of databases to migrate. |
| DbsToTriggerCutoverOn |
When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array. |
| MigrateRole |
Indicates if roles and permissions must be migrated. |
| MigrationId |
Identifier of a migration. |
| MigrationInstanceResourceId |
Identifier of the private endpoint migration instance. |
| MigrationMode |
Mode used to perform the migration: Online or Offline. |
| MigrationOption |
Supported option for a migration. |
| MigrationWindowEndTimeInUtc |
End time (UTC) for migration window. |
| MigrationWindowStartTimeInUtc |
Start time (UTC) for migration window. |
| OverwriteDbsInTarget |
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. |
| SecretParameterSourceServerUsername |
Gets or sets the name of the user for the source server. This user doesn't need to be an administrator. |
| SecretParameterTargetServerUsername |
Gets or sets the name of the user for the target server. This user doesn't need to be an administrator. |
| SetupLogicalReplicationOnSourceDbIfNeeded |
Indicates whether to setup logical replication on source server, if needed. |
| SourceDbServerFullyQualifiedDomainName |
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. |
| SourceDbServerMetadataLocation |
Location of database server. |
| SourceDbServerMetadataSkuName |
Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server. |
| SourceDbServerMetadataSkuTier |
Tier of the compute assigned to a server. |
| SourceDbServerMetadataStorageMb |
Storage size (in MB) for database server. |
| SourceDbServerMetadataVersion |
Major version of PostgreSQL database engine. |
| SourceDbServerResourceId |
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 |
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 |
SSL mode used by a migration. Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. Default SSL mode for other source types is 'Prefer'. |
| StartDataMigration |
Indicates if data migration must start right away. |
| TargetDbServerFullyQualifiedDomainName |
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. |
| TargetDbServerMetadataLocation |
Location of database server. |
| TargetDbServerMetadataSkuName |
Compute tier and size of the database server. This object is empty for an Azure Database for PostgreSQL single server. |
| TargetDbServerMetadataSkuTier |
Tier of the compute assigned to a server. |
| TargetDbServerMetadataStorageMb |
Storage size (in MB) for database server. |
| TargetDbServerMetadataVersion |
Major version of PostgreSQL database engine. |
| TargetDbServerResourceId |
Identifier of the target database server resource. |
| TriggerCutover |
Indicates if cutover must be triggered for the entire migration. |
| ValidationDetailDbLevelValidationDetail |
Details of server level validations. |
| ValidationDetailServerLevelValidationDetail |
Details of server level validations. |
| ValidationDetailStatus |
Validation status for migration. |
| ValidationDetailValidationEndTimeInUtc |
End time (UTC) for validation. |
| ValidationDetailValidationStartTimeInUtc |
Start time (UTC) for validation. |
Methods
| Name | Description |
|---|---|
| ToJson(JsonObject, SerializationMode) | (Inherited from IJsonSerializable) |