CreateMigrationDetails¶
-
class
oci.cloud_migrations.models.
CreateMigrationDetails
(**kwargs)¶ Bases:
object
The information about new migration.
Methods
__init__
(**kwargs)Initializes a new CreateMigrationDetails object with values from keyword arguments. Attributes
compartment_id
[Required] Gets the compartment_id of this CreateMigrationDetails. defined_tags
Gets the defined_tags of this CreateMigrationDetails. display_name
[Required] Gets the display_name of this CreateMigrationDetails. freeform_tags
Gets the freeform_tags of this CreateMigrationDetails. is_completed
Gets the is_completed of this CreateMigrationDetails. replication_schedule_id
Gets the replication_schedule_id 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: - 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.
- 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.
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateMigrationDetails. Compartment identifier
Returns: The compartment_id of this CreateMigrationDetails. Return type: str
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))
-
display_name
¶ [Required] Gets the display_name of this CreateMigrationDetails. Migration identifier
Returns: The display_name of this CreateMigrationDetails. Return type: str
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)
-
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
-
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
-