GetMigrationResult

data class GetMigrationResult(val azureApiVersion: String, val cancel: String? = null, val currentStatus: MigrationStatusResponse, val dbsToCancelMigrationOn: List<String>? = null, val dbsToMigrate: List<String>? = null, val dbsToTriggerCutoverOn: List<String>? = null, val id: String, val location: String, val migrateRoles: String? = null, val migrationId: String, val migrationInstanceResourceId: String? = null, val migrationMode: String? = null, val migrationOption: String? = null, val migrationWindowEndTimeInUtc: String? = null, val migrationWindowStartTimeInUtc: String? = null, val name: String, val overwriteDbsInTarget: String? = null, val setupLogicalReplicationOnSourceDbIfNeeded: String? = null, val sourceDbServerFullyQualifiedDomainName: String? = null, val sourceDbServerMetadata: DbServerMetadataResponse, val sourceDbServerResourceId: String? = null, val sourceType: String? = null, val sslMode: String? = null, val startDataMigration: String? = null, val systemData: SystemDataResponse, val tags: Map<String, String>? = null, val targetDbServerFullyQualifiedDomainName: String? = null, val targetDbServerMetadata: DbServerMetadataResponse, val targetDbServerResourceId: String, val triggerCutover: String? = null, val type: String)

Represents a migration resource.

Constructors

Link copied to clipboard
constructor(azureApiVersion: String, cancel: String? = null, currentStatus: MigrationStatusResponse, dbsToCancelMigrationOn: List<String>? = null, dbsToMigrate: List<String>? = null, dbsToTriggerCutoverOn: List<String>? = null, id: String, location: String, migrateRoles: String? = null, migrationId: String, migrationInstanceResourceId: String? = null, migrationMode: String? = null, migrationOption: String? = null, migrationWindowEndTimeInUtc: String? = null, migrationWindowStartTimeInUtc: String? = null, name: String, overwriteDbsInTarget: String? = null, setupLogicalReplicationOnSourceDbIfNeeded: String? = null, sourceDbServerFullyQualifiedDomainName: String? = null, sourceDbServerMetadata: DbServerMetadataResponse, sourceDbServerResourceId: String? = null, sourceType: String? = null, sslMode: String? = null, startDataMigration: String? = null, systemData: SystemDataResponse, tags: Map<String, String>? = null, targetDbServerFullyQualifiedDomainName: String? = null, targetDbServerMetadata: DbServerMetadataResponse, targetDbServerResourceId: String, triggerCutover: String? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard
val cancel: String? = null

To trigger cancel for entire migration we need to send this flag as True

Link copied to clipboard

Current status of migration

Link copied to clipboard

When you want to trigger cancel for specific databases send cancel flag as True and database names in this array

Link copied to clipboard
val dbsToMigrate: List<String>? = null

Number of databases to migrate

Link copied to clipboard

When you want to trigger cutover for specific databases send triggerCutover flag as True and database names in this array

Link copied to clipboard
val id: String

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

Link copied to clipboard

The geo-location where the resource lives

Link copied to clipboard
val migrateRoles: String? = null

To migrate roles and permissions we need to send this flag as True

Link copied to clipboard

ID for migration, a GUID.

Link copied to clipboard

ResourceId of the private endpoint migration instance

Link copied to clipboard
val migrationMode: String? = null

There are two types of migration modes Online and Offline

Link copied to clipboard
val migrationOption: String? = null

This indicates the supported Migration option for the migration

Link copied to clipboard

End time in UTC for migration window

Link copied to clipboard

Start time in UTC for migration window

Link copied to clipboard

The name of the resource

Link copied to clipboard

Indicates whether the databases on the target server can be overwritten, if already present. If set to False, the migration workflow will wait for a confirmation, if it detects that the database already exists.

Indicates whether to setup LogicalReplicationOnSourceDb, if needed

Link copied to clipboard

Source server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection

Link copied to clipboard

Metadata of the source database server

Link copied to clipboard

ResourceId of the source database server in case the sourceType is PostgreSQLSingleServer. For other source types this should be ipaddress:port@username or hostname:port@username

Link copied to clipboard
val sourceType: String? = null

migration source server type : OnPremises, AWS, GCP, AzureVM, PostgreSQLSingleServer, AWS_RDS, AWS_AURORA, AWS_EC2, GCP_CloudSQL, GCP_AlloyDB, GCP_Compute, or EDB

Link copied to clipboard
val sslMode: String? = null

SSL modes for migration. Default SSL mode for PostgreSQLSingleServer is VerifyFull and Prefer for other source types

Link copied to clipboard

Indicates whether the data migration should start right away

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val tags: Map<String, String>? = null

Resource tags.

Link copied to clipboard

Target server fully qualified domain name (FQDN) or IP address. It is a optional value, if customer provide it, migration service will always use it for connection

Link copied to clipboard

Metadata of the target database server

Link copied to clipboard

ResourceId of the source database server

Link copied to clipboard
val triggerCutover: String? = null

To trigger cutover for entire migration we need to send this flag as True

Link copied to clipboard

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