Class Migration
Migration resource
Inherited Members
Namespace: Oci.DatabasemigrationService.Models
Assembly: OCI.DotNetSDK.Databasemigration.dll
Syntax
public class Migration
Properties
AdvisorSettings
Declaration
[JsonProperty(PropertyName = "advisorSettings")]
public AdvisorSettings AdvisorSettings { get; set; }
Property Value
Type | Description |
---|---|
AdvisorSettings |
AgentId
Declaration
[JsonProperty(PropertyName = "agentId")]
public string AgentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the registered on-premises ODMS Agent. Only valid for Offline Migrations. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | OCID of the compartment |
Remarks
Required
CredentialsSecretId
Declaration
[JsonProperty(PropertyName = "credentialsSecretId")]
public string CredentialsSecretId { get; set; }
Property Value
Type | Description |
---|---|
string | OCID of the Secret in the OCI vault containing the Migration credentials. Used to store GoldenGate administrator user credentials. |
DataTransferMediumDetails
Declaration
[JsonProperty(PropertyName = "dataTransferMediumDetails")]
public DataTransferMediumDetails DataTransferMediumDetails { get; set; }
Property Value
Type | Description |
---|---|
DataTransferMediumDetails |
DataTransferMediumDetailsV2
Declaration
[JsonProperty(PropertyName = "dataTransferMediumDetailsV2")]
public DataTransferMediumDetailsV2 DataTransferMediumDetailsV2 { get; set; }
Property Value
Type | Description |
---|---|
DataTransferMediumDetailsV2 |
DatapumpSettings
Declaration
[JsonProperty(PropertyName = "datapumpSettings")]
public DataPumpSettings DatapumpSettings { get; set; }
Property Value
Type | Description |
---|---|
DataPumpSettings |
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"}} |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | Migration Display Name |
Remarks
Required
DumpTransferDetails
Declaration
[JsonProperty(PropertyName = "dumpTransferDetails")]
public DumpTransferDetails DumpTransferDetails { get; set; }
Property Value
Type | Description |
---|---|
DumpTransferDetails |
ExcludeObjects
Declaration
[JsonProperty(PropertyName = "excludeObjects")]
public List<DatabaseObject> ExcludeObjects { get; set; }
Property Value
Type | Description |
---|---|
List<DatabaseObject> | Database objects to exclude from migration. If 'includeObjects' are specified, only exclude object types can be specified with general wildcards (.*) for owner and objectName. |
ExecutingJobId
Declaration
[JsonProperty(PropertyName = "executingJobId")]
public string ExecutingJobId { get; set; }
Property Value
Type | Description |
---|---|
string | OCID of the current ODMS Job in execution for the Migration, if any. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
GoldenGateDetails
Declaration
[JsonProperty(PropertyName = "goldenGateDetails")]
public GoldenGateDetails GoldenGateDetails { get; set; }
Property Value
Type | Description |
---|---|
GoldenGateDetails |
GoldenGateServiceDetails
Declaration
[JsonProperty(PropertyName = "goldenGateServiceDetails")]
public GoldenGateServiceDetails GoldenGateServiceDetails { get; set; }
Property Value
Type | Description |
---|---|
GoldenGateServiceDetails |
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 |
Remarks
Required
IncludeObjects
Declaration
[JsonProperty(PropertyName = "includeObjects")]
public List<DatabaseObject> IncludeObjects { get; set; }
Property Value
Type | Description |
---|---|
List<DatabaseObject> | Database objects to include from migration. |
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
SourceContainerDatabaseConnectionId
Declaration
[JsonProperty(PropertyName = "sourceContainerDatabaseConnectionId")]
public string SourceContainerDatabaseConnectionId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Source Container Database Connection. |
SourceDatabaseConnectionId
Declaration
[Required(ErrorMessage = "SourceDatabaseConnectionId is required.")]
[JsonProperty(PropertyName = "sourceDatabaseConnectionId")]
public string SourceDatabaseConnectionId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Source Database Connection. |
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 Target Database Connection. |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the Migration was created. An RFC3339 formatted datetime string. |
Remarks
Required
TimeLastMigration
Declaration
[JsonProperty(PropertyName = "timeLastMigration")]
public DateTime? TimeLastMigration { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time of last Migration. An RFC3339 formatted datetime string. |
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time of the last Migration details update. An RFC3339 formatted datetime string. |
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MigrationTypes? Type { get; set; }
Property Value
Type | Description |
---|---|
MigrationTypes? | Migration type. |
Remarks
Required
VaultDetails
Declaration
[JsonProperty(PropertyName = "vaultDetails")]
public VaultDetails VaultDetails { get; set; }
Property Value
Type | Description |
---|---|
VaultDetails |
WaitAfter
Declaration
[JsonProperty(PropertyName = "waitAfter")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OdmsJobPhases? WaitAfter { get; set; }
Property Value
Type | Description |
---|---|
OdmsJobPhases? | Name of a migration phase. The Job will wait after executing this phase until the Resume Job endpoint is called. |