Language

MigrationPropertiesForPatch Class

Definition

Migration properties.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.MigrationPropertiesForPatchTypeConverter))]
public class MigrationPropertiesForPatch : Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.IMigrationPropertiesForPatch
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.MigrationPropertiesForPatchTypeConverter))>]
type MigrationPropertiesForPatch = class
    interface IMigrationPropertiesForPatch
    interface IJsonSerializable
Public Class MigrationPropertiesForPatch
Implements IMigrationPropertiesForPatch
Inheritance
MigrationPropertiesForPatch
Attributes
Implements

Constructors

Name Description
MigrationPropertiesForPatch()

Creates an new MigrationPropertiesForPatch instance.

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.

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
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MigrationPropertiesForPatch.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MigrationPropertiesForPatch.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.IMigrationPropertiesForPatch.

FromJsonString(String)

Creates a new instance of MigrationPropertiesForPatch, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of MigrationPropertiesForPatch into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to