Class MigrationPlan
Description of the migration plan.
Inherited Members
Namespace: Oci.CloudmigrationsService.Models
Assembly: OCI.DotNetSDK.Cloudmigrations.dll
Syntax
public class MigrationPlan
Properties
CalculatedLimits
Declaration
[Required(ErrorMessage = "CalculatedLimits is required.")]
[JsonProperty(PropertyName = "calculatedLimits")]
public Dictionary<string, int> CalculatedLimits { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, int> | Limits of the resources that are needed for migration. Example: {"BlockVolume": 2, "VCN": 1} |
Remarks
Required
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment containing the migration plan. |
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"}} |
DisplayName
Declaration
[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. |
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. It exists only for cross-compatibility. Example: {"bar-key": "value"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The unique Oracle ID (OCID) that is immutable on creation. |
Remarks
Required
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MigrationPlan.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
MigrationPlan.LifecycleStateEnum? | The current state of the migration plan. |
Remarks
Required
MigrationId
Declaration
[Required(ErrorMessage = "MigrationId is required.")]
[JsonProperty(PropertyName = "migrationId")]
public string MigrationId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the associated migration. |
Remarks
Required
MigrationPlanStats
Declaration
[JsonProperty(PropertyName = "migrationPlanStats")]
public MigrationPlanStats MigrationPlanStats { get; set; }
Property Value
Type | Description |
---|---|
MigrationPlanStats |
ReferenceToRmsStack
Declaration
[JsonProperty(PropertyName = "referenceToRmsStack")]
public string ReferenceToRmsStack { get; set; }
Property Value
Type | Description |
---|---|
string | OCID of the referenced ORM job. |
SourceMigrationPlanId
Declaration
[JsonProperty(PropertyName = "sourceMigrationPlanId")]
public string SourceMigrationPlanId { get; set; }
Property Value
Type | Description |
---|---|
string | Source migraiton plan ID to be cloned. |
Strategies
Declaration
[Required(ErrorMessage = "Strategies is required.")]
[JsonProperty(PropertyName = "strategies")]
public List<ResourceAssessmentStrategy> Strategies { get; set; }
Property Value
Type | Description |
---|---|
List<ResourceAssessmentStrategy> | List of strategies for the resources to be migrated. |
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"}} |
TargetEnvironments
Declaration
[Required(ErrorMessage = "TargetEnvironments is required.")]
[JsonProperty(PropertyName = "targetEnvironments")]
public List<TargetEnvironment> TargetEnvironments { get; set; }
Property Value
Type | Description |
---|---|
List<TargetEnvironment> | List of target environments. |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time when the migration plan was created. An RFC3339 formatted datetime string. |
Remarks
Required
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time when the migration plan was updated. An RFC3339 formatted datetime string. |