MigrationSummary¶
- class oci.cloud_migrations.models.MigrationSummary(**kwargs)¶
Bases:
objectSummary of the migration project.
Methods:
__init__(**kwargs)Initializes a new MigrationSummary object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this MigrationSummary.
Gets the defined_tags of this MigrationSummary.
Gets the display_name of this MigrationSummary.
Gets the freeform_tags of this MigrationSummary.
[Required] Gets the id of this MigrationSummary.
Gets the is_completed of this MigrationSummary.
Gets the lifecycle_details of this MigrationSummary.
[Required] Gets the lifecycle_state of this MigrationSummary.
Gets the migration_config of this MigrationSummary.
Gets the migration_type of this MigrationSummary.
Gets the replication_schedule_id of this MigrationSummary.
Gets the security_attributes of this MigrationSummary.
Gets the system_tags of this MigrationSummary.
[Required] Gets the time_created of this MigrationSummary.
Gets the time_updated of this MigrationSummary.
- __init__(**kwargs)¶
Initializes a new MigrationSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this MigrationSummary.
display_name (str) – The value to assign to the display_name property of this MigrationSummary.
compartment_id (str) – The value to assign to the compartment_id property of this MigrationSummary.
time_created (datetime) – The value to assign to the time_created property of this MigrationSummary.
time_updated (datetime) – The value to assign to the time_updated property of this MigrationSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this MigrationSummary.
lifecycle_details (str) – The value to assign to the lifecycle_details property of this MigrationSummary.
is_completed (bool) – The value to assign to the is_completed property of this MigrationSummary.
replication_schedule_id (str) – The value to assign to the replication_schedule_id property of this MigrationSummary.
migration_type (str) – The value to assign to the migration_type property of this MigrationSummary.
migration_config (oci.cloud_migrations.models.MigrationConfig) – The value to assign to the migration_config property of this MigrationSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this MigrationSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this MigrationSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this MigrationSummary.
security_attributes (dict(str, dict(str, object))) – The value to assign to the security_attributes property of this MigrationSummary.
- property compartment_id¶
[Required] Gets the compartment_id of this MigrationSummary. Compartment identifier
- Returns
The compartment_id of this MigrationSummary.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this MigrationSummary. 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 MigrationSummary.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this MigrationSummary. Migration identifier that can be renamed
- Returns
The display_name of this MigrationSummary.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this MigrationSummary. 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 MigrationSummary.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this MigrationSummary. Unique identifier that is immutable on creation.
- Returns
The id of this MigrationSummary.
- Return type
str
- property is_completed¶
Gets the is_completed of this MigrationSummary. Indicates whether migration is marked as complete.
- Returns
The is_completed of this MigrationSummary.
- Return type
bool
- property lifecycle_details¶
Gets the lifecycle_details of this MigrationSummary. 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.
- Returns
The lifecycle_details of this MigrationSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this MigrationSummary. The current state of migration.
- Returns
The lifecycle_state of this MigrationSummary.
- Return type
str
- property migration_config¶
Gets the migration_config of this MigrationSummary.
- Returns
The migration_config of this MigrationSummary.
- Return type
- property migration_type¶
Gets the migration_type of this MigrationSummary. Type of migration project (OCI/OLVM). This determines the target environment for the migration.
- Returns
The migration_type of this MigrationSummary.
- Return type
str
- property replication_schedule_id¶
Gets the replication_schedule_id of this MigrationSummary. Replication schedule identifier
- Returns
The replication_schedule_id of this MigrationSummary.
- Return type
str
- property security_attributes¶
Gets the security_attributes of this MigrationSummary. 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 MigrationSummary.
- Return type
dict(str, dict(str, object))
- property system_tags¶
Gets the system_tags of this MigrationSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Returns
The system_tags of this MigrationSummary.
- Return type
dict(str, dict(str, object))
- property time_created¶
[Required] Gets the time_created of this MigrationSummary. The time when the migration project was created. An RFC3339 formatted datetime string.
- Returns
The time_created of this MigrationSummary.
- Return type
datetime
- property time_updated¶
Gets the time_updated of this MigrationSummary. The time when the migration project was updated. An RFC3339 formatted datetime string.
- Returns
The time_updated of this MigrationSummary.
- Return type
datetime