Language

IMigration Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.MigrationTypeConverter))]
public interface IMigration : Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.ITrackedResource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.MigrationTypeConverter))>]
type IMigration = interface
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
Public Interface IMigration
Implements ITrackedResource
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.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from IResource)
InstanceResourceId

Identifier of the private endpoint migration instance.

Location

The geo-location where the resource lives

(Inherited from ITrackedResource)
MigrateRole

Indicates if roles and permissions must be migrated.

MigrationId

Identifier of a migration.

Mode

Mode used to perform the migration: Online or Offline.

Name

The name of the resource

(Inherited from IResource)
Option

Supported option for a migration.

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.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

(Inherited from IResource)
SystemDataCreatedBy

The identity that created the resource.

(Inherited from IResource)
SystemDataCreatedByType

The type of identity that created the resource.

(Inherited from IResource)
SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

(Inherited from IResource)
SystemDataLastModifiedBy

The identity that last modified the resource.

(Inherited from IResource)
SystemDataLastModifiedByType

The type of identity that last modified the resource.

(Inherited from IResource)
Tag

Resource tags.

(Inherited from ITrackedResource)
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.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

(Inherited from IResource)
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.

WindowEndTimeInUtc

End time (UTC) for migration window.

WindowStartTimeInUtc

Start time (UTC) for migration window.

Methods

Name Description
ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to