CreateMigrationDetails¶
- class oci.cloud_migrations.models.CreateMigrationDetails(**kwargs)¶
Bases:
objectThe information about new migration.
Methods:
__init__(**kwargs)Initializes a new CreateMigrationDetails object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this CreateMigrationDetails.
Gets the defined_tags of this CreateMigrationDetails.
[Required] Gets the display_name of this CreateMigrationDetails.
Gets the freeform_tags of this CreateMigrationDetails.
Gets the is_completed of this CreateMigrationDetails.
Gets the migration_config of this CreateMigrationDetails.
Gets the migration_type of this CreateMigrationDetails.
Gets the replication_schedule_id of this CreateMigrationDetails.
Gets the security_attributes of this CreateMigrationDetails.
- __init__(**kwargs)¶
Initializes a new CreateMigrationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
migration_type (str) – The value to assign to the migration_type property of this CreateMigrationDetails.
display_name (str) – The value to assign to the display_name property of this CreateMigrationDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateMigrationDetails.
replication_schedule_id (str) – The value to assign to the replication_schedule_id property of this CreateMigrationDetails.
is_completed (bool) – The value to assign to the is_completed property of this CreateMigrationDetails.
migration_config (oci.cloud_migrations.models.MigrationConfig) – The value to assign to the migration_config property of this CreateMigrationDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateMigrationDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateMigrationDetails.
security_attributes (dict(str, dict(str, object))) – The value to assign to the security_attributes property of this CreateMigrationDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateMigrationDetails. Compartment identifier
- Returns
The compartment_id of this CreateMigrationDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateMigrationDetails. 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 CreateMigrationDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this CreateMigrationDetails. Migration identifier
- Returns
The display_name of this CreateMigrationDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateMigrationDetails. 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 CreateMigrationDetails.
- Return type
dict(str, str)
- property is_completed¶
Gets the is_completed of this CreateMigrationDetails. Indicates whether migration is marked as complete.
- Returns
The is_completed of this CreateMigrationDetails.
- Return type
bool
- property migration_config¶
Gets the migration_config of this CreateMigrationDetails.
- Returns
The migration_config of this CreateMigrationDetails.
- Return type
- property migration_type¶
Gets the migration_type of this CreateMigrationDetails. Type of migration project (OCI/OLVM). This determines the target environment for the migration.
- Returns
The migration_type of this CreateMigrationDetails.
- Return type
str
- property replication_schedule_id¶
Gets the replication_schedule_id of this CreateMigrationDetails. Replication schedule identifier
- Returns
The replication_schedule_id of this CreateMigrationDetails.
- Return type
str
- property security_attributes¶
Gets the security_attributes of this CreateMigrationDetails. Security attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Oracle-ZPR”: {“MaxEgressCount”: {“value”: “42”, “mode”: “enforce”}}}
- Returns
The security_attributes of this CreateMigrationDetails.
- Return type
dict(str, dict(str, object))