Show / Hide Table of Contents

Class Migration

Migration resource

Inheritance
object
Migration
MySqlMigration
OracleMigration
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatabasemigrationService.Models
Assembly: OCI.DotNetSDK.Databasemigration.dll
Syntax
[JsonConverter(typeof(MigrationModelConverter))]
public class Migration

Properties

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the resource being referenced.

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}}

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.

DisplayName

Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

Remarks

Required

ExecutingJobId

Declaration
[JsonProperty(PropertyName = "executingJobId")]
public string ExecutingJobId { get; set; }
Property Value
Type Description
string

The OCID of the resource being referenced.

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the resource being referenced.

Remarks

Required

LifecycleDetails

Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MigrationStatus? LifecycleDetails { get; set; }
Property Value
Type Description
MigrationStatus?

Additional status related to the execution and current state of the Migration.

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MigrationLifecycleStates? LifecycleState { get; set; }
Property Value
Type Description
MigrationLifecycleStates?

The current state of the Migration resource.

Remarks

Required

SourceDatabaseConnectionId

Declaration
[Required(ErrorMessage = "SourceDatabaseConnectionId is required.")]
[JsonProperty(PropertyName = "sourceDatabaseConnectionId")]
public string SourceDatabaseConnectionId { get; set; }
Property Value
Type Description
string

The OCID of the resource being referenced.

Remarks

Required

SystemTags

Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}

TargetDatabaseConnectionId

Declaration
[Required(ErrorMessage = "TargetDatabaseConnectionId is required.")]
[JsonProperty(PropertyName = "targetDatabaseConnectionId")]
public string TargetDatabaseConnectionId { get; set; }
Property Value
Type Description
string

The OCID of the resource being referenced.

Remarks

Required

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

An RFC3339 formatted datetime string such as 2016-08-25T21:10:29.600Z.

Remarks

Required

TimeLastMigration

Declaration
[JsonProperty(PropertyName = "timeLastMigration")]
public DateTime? TimeLastMigration { get; set; }
Property Value
Type Description
DateTime?

An RFC3339 formatted datetime string such as 2016-08-25T21:10:29.600Z.

TimeUpdated

Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

An RFC3339 formatted datetime string such as 2016-08-25T21:10:29.600Z.

Type

Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MigrationTypes? Type { get; set; }
Property Value
Type Description
MigrationTypes?

The type of the migration to be performed. Example: ONLINE if no downtime is preferred for a migration. This method uses Oracle GoldenGate for replication.

Remarks

Required

WaitAfter

Declaration
[JsonProperty(PropertyName = "waitAfter")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OdmsJobPhases? WaitAfter { get; set; }
Property Value
Type Description
OdmsJobPhases?

You can optionally pause a migration after a job phase. This property allows you to optionally specify the phase after which you can pause the migration.

In this article
Back to top