CreateMigrationPlanDetails

class oci.cloud_migrations.models.CreateMigrationPlanDetails(**kwargs)

Bases: object

The information about the new migration plan.

Methods:

__init__(**kwargs)

Initializes a new CreateMigrationPlanDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this CreateMigrationPlanDetails.

defined_tags

Gets the defined_tags of this CreateMigrationPlanDetails.

display_name

[Required] Gets the display_name of this CreateMigrationPlanDetails.

freeform_tags

Gets the freeform_tags of this CreateMigrationPlanDetails.

migration_id

[Required] Gets the migration_id of this CreateMigrationPlanDetails.

source_migration_plan_id

Gets the source_migration_plan_id of this CreateMigrationPlanDetails.

strategies

Gets the strategies of this CreateMigrationPlanDetails.

target_environments

Gets the target_environments of this CreateMigrationPlanDetails.

__init__(**kwargs)

Initializes a new CreateMigrationPlanDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • display_name (str) – The value to assign to the display_name property of this CreateMigrationPlanDetails.

  • compartment_id (str) – The value to assign to the compartment_id property of this CreateMigrationPlanDetails.

  • migration_id (str) – The value to assign to the migration_id property of this CreateMigrationPlanDetails.

  • source_migration_plan_id (str) – The value to assign to the source_migration_plan_id property of this CreateMigrationPlanDetails.

  • strategies (list[oci.cloud_migrations.models.ResourceAssessmentStrategy]) – The value to assign to the strategies property of this CreateMigrationPlanDetails.

  • target_environments (list[oci.cloud_migrations.models.TargetEnvironment]) – The value to assign to the target_environments property of this CreateMigrationPlanDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateMigrationPlanDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateMigrationPlanDetails.

property compartment_id

[Required] Gets the compartment_id of this CreateMigrationPlanDetails. Compartment identifier

Returns

The compartment_id of this CreateMigrationPlanDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreateMigrationPlanDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this CreateMigrationPlanDetails.

Return type

dict(str, dict(str, object))

property display_name

[Required] Gets the display_name of this CreateMigrationPlanDetails. Migration plan identifier

Returns

The display_name of this CreateMigrationPlanDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreateMigrationPlanDetails. Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this CreateMigrationPlanDetails.

Return type

dict(str, str)

property migration_id

[Required] Gets the migration_id of this CreateMigrationPlanDetails. The OCID of the associated migration.

Returns

The migration_id of this CreateMigrationPlanDetails.

Return type

str

property source_migration_plan_id

Gets the source_migration_plan_id of this CreateMigrationPlanDetails. Source migraiton plan ID to be cloned.

Returns

The source_migration_plan_id of this CreateMigrationPlanDetails.

Return type

str

property strategies

Gets the strategies of this CreateMigrationPlanDetails. List of strategies for the resources to be migrated.

Returns

The strategies of this CreateMigrationPlanDetails.

Return type

list[oci.cloud_migrations.models.ResourceAssessmentStrategy]

property target_environments

Gets the target_environments of this CreateMigrationPlanDetails. List of target environments.

Returns

The target_environments of this CreateMigrationPlanDetails.

Return type

list[oci.cloud_migrations.models.TargetEnvironment]