Language

IMigrationResourceForPatch Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.MigrationResourceForPatchTypeConverter))]
public interface IMigrationResourceForPatch : Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.MigrationResourceForPatchTypeConverter))>]
type IMigrationResourceForPatch = interface
    interface IJsonSerializable
Public Interface IMigrationResourceForPatch
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.

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.

MigrationMode

Mode used to perform the migration: Online or Offline.

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.

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.

StartDataMigration

Indicates if data migration must start right away.

Tag

Application-specific metadata in the form of key-value pairs.

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.

TriggerCutover

Indicates if cutover must be triggered for the entire migration.

Methods

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

Applies to