MigrationAssetSummary¶
- class oci.cloud_migrations.models.MigrationAssetSummary(**kwargs)¶
Bases:
objectSummary of the migration asset.
Attributes:
A constant which can be used with the notifications property of a MigrationAssetSummary.
A constant which can be used with the notifications property of a MigrationAssetSummary.
Gets the compartment_id of this MigrationAssetSummary.
Gets the depended_on_by of this MigrationAssetSummary.
Gets the depends_on of this MigrationAssetSummary.
Gets the destination_disks of this MigrationAssetSummary.
Gets the display_name of this MigrationAssetSummary.
[Required] Gets the id of this MigrationAssetSummary.
Gets the lifecycle_details of this MigrationAssetSummary.
[Required] Gets the lifecycle_state of this MigrationAssetSummary.
[Required] Gets the migration_id of this MigrationAssetSummary.
Gets the notifications of this MigrationAssetSummary.
Gets the parent_snapshot of this MigrationAssetSummary.
Gets the replication_location_detail of this MigrationAssetSummary.
Gets the replication_schedule_id of this MigrationAssetSummary.
Gets the snapshot_info of this MigrationAssetSummary.
Gets the snapshots of this MigrationAssetSummary.
Gets the source_asset_data of this MigrationAssetSummary.
Gets the source_asset_id of this MigrationAssetSummary.
Gets the tenancy_id of this MigrationAssetSummary.
[Required] Gets the time_created of this MigrationAssetSummary.
Gets the time_updated of this MigrationAssetSummary.
[Required] Gets the type of this MigrationAssetSummary.
Methods:
__init__(**kwargs)Initializes a new MigrationAssetSummary object with values from keyword arguments.
- NOTIFICATIONS_OUT_OF_DATE = 'OUT_OF_DATE'¶
A constant which can be used with the notifications property of a MigrationAssetSummary. This constant has a value of “OUT_OF_DATE”
- NOTIFICATIONS_SOURCE_REMOVED = 'SOURCE_REMOVED'¶
A constant which can be used with the notifications property of a MigrationAssetSummary. This constant has a value of “SOURCE_REMOVED”
- __init__(**kwargs)¶
Initializes a new MigrationAssetSummary 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 MigrationAssetSummary.
type (str) – The value to assign to the type property of this MigrationAssetSummary.
display_name (str) – The value to assign to the display_name property of this MigrationAssetSummary.
compartment_id (str) – The value to assign to the compartment_id property of this MigrationAssetSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this MigrationAssetSummary.
lifecycle_details (str) – The value to assign to the lifecycle_details property of this MigrationAssetSummary.
time_created (datetime) – The value to assign to the time_created property of this MigrationAssetSummary.
time_updated (datetime) – The value to assign to the time_updated property of this MigrationAssetSummary.
migration_id (str) – The value to assign to the migration_id property of this MigrationAssetSummary.
snapshots (dict(str, HydratedVolume)) – The value to assign to the snapshots property of this MigrationAssetSummary.
parent_snapshot (str) – The value to assign to the parent_snapshot property of this MigrationAssetSummary.
snapshot_info (str) – The value to assign to the snapshot_info property of this MigrationAssetSummary.
source_asset_data (dict(str, object)) – The value to assign to the source_asset_data property of this MigrationAssetSummary.
notifications (list[str]) – The value to assign to the notifications property of this MigrationAssetSummary. Allowed values for items in this list are: “OUT_OF_DATE”, “SOURCE_REMOVED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
source_asset_id (str) – The value to assign to the source_asset_id property of this MigrationAssetSummary.
depended_on_by (list[str]) – The value to assign to the depended_on_by property of this MigrationAssetSummary.
depends_on (list[str]) – The value to assign to the depends_on property of this MigrationAssetSummary.
replication_schedule_id (str) – The value to assign to the replication_schedule_id property of this MigrationAssetSummary.
tenancy_id (str) – The value to assign to the tenancy_id property of this MigrationAssetSummary.
replication_location_detail (oci.cloud_migrations.models.ReplicationLocationDetail) – The value to assign to the replication_location_detail property of this MigrationAssetSummary.
destination_disks (dict(str, DestinationDisk)) – The value to assign to the destination_disks property of this MigrationAssetSummary.
- property compartment_id¶
Gets the compartment_id of this MigrationAssetSummary. Compartment identifier
- Returns
The compartment_id of this MigrationAssetSummary.
- Return type
str
- property depended_on_by¶
Gets the depended_on_by of this MigrationAssetSummary. List of migration assets that depend on this asset.
- Returns
The depended_on_by of this MigrationAssetSummary.
- Return type
list[str]
- property depends_on¶
Gets the depends_on of this MigrationAssetSummary. List of migration assets that depend on this asset.
- Returns
The depends_on of this MigrationAssetSummary.
- Return type
list[str]
- property destination_disks¶
Gets the destination_disks of this MigrationAssetSummary. Mapping of source disk id to destination disk details
- Returns
The destination_disks of this MigrationAssetSummary.
- Return type
dict(str, DestinationDisk)
- property display_name¶
Gets the display_name of this MigrationAssetSummary. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this MigrationAssetSummary.
- Return type
str
- property id¶
[Required] Gets the id of this MigrationAssetSummary. The asset ID generated by the mirgration service. It is used in the migration service pipeline.
- Returns
The id of this MigrationAssetSummary.
- Return type
str
- property lifecycle_details¶
Gets the lifecycle_details of this MigrationAssetSummary. 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 MigrationAssetSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this MigrationAssetSummary. The current state of the migration asset.
- Returns
The lifecycle_state of this MigrationAssetSummary.
- Return type
str
- property migration_id¶
[Required] Gets the migration_id of this MigrationAssetSummary. OCID of the associated migration.
- Returns
The migration_id of this MigrationAssetSummary.
- Return type
str
- property notifications¶
Gets the notifications of this MigrationAssetSummary. List of notifications.
Allowed values for items in this list are: “OUT_OF_DATE”, “SOURCE_REMOVED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The notifications of this MigrationAssetSummary.
- Return type
list[str]
- property parent_snapshot¶
Gets the parent_snapshot of this MigrationAssetSummary. The parent snapshot of the mgration asset to be used by the replication task.
- Returns
The parent_snapshot of this MigrationAssetSummary.
- Return type
str
- property replication_location_detail¶
Gets the replication_location_detail of this MigrationAssetSummary.
- Returns
The replication_location_detail of this MigrationAssetSummary.
- Return type
- property replication_schedule_id¶
Gets the replication_schedule_id of this MigrationAssetSummary. Replication schedule identifier
- Returns
The replication_schedule_id of this MigrationAssetSummary.
- Return type
str
- property snapshot_info¶
Gets the snapshot_info of this MigrationAssetSummary. The snapshot information.
- Returns
The snapshot_info of this MigrationAssetSummary.
- Return type
str
- property snapshots¶
Gets the snapshots of this MigrationAssetSummary. Key-value pair representing disk’s ID that is mapped to the OCIDs of replicated/hydration server volume snapshots. Example: {“bar-key”: “value”}
- Returns
The snapshots of this MigrationAssetSummary.
- Return type
dict(str, HydratedVolume)
- property source_asset_data¶
Gets the source_asset_data of this MigrationAssetSummary. Key-value pair representing asset metadata keys and values scoped to a namespace. Example: {“bar-key”: “value”}
- Returns
The source_asset_data of this MigrationAssetSummary.
- Return type
dict(str, object)
- property source_asset_id¶
Gets the source_asset_id of this MigrationAssetSummary. OCID that is referenced to an asset, for an inventory.
- Returns
The source_asset_id of this MigrationAssetSummary.
- Return type
str
- property tenancy_id¶
Gets the tenancy_id of this MigrationAssetSummary. Tenancy Identifier
- Returns
The tenancy_id of this MigrationAssetSummary.
- Return type
str
- property time_created¶
[Required] Gets the time_created of this MigrationAssetSummary. The time when the migration asset was created. An RFC3339 formatted datetime string.
- Returns
The time_created of this MigrationAssetSummary.
- Return type
datetime
- property time_updated¶
Gets the time_updated of this MigrationAssetSummary. The time when the migration asset was updated. An RFC3339 formatted datetime string.
- Returns
The time_updated of this MigrationAssetSummary.
- Return type
datetime
- property type¶
[Required] Gets the type of this MigrationAssetSummary. The type of asset referenced for an inventory.
- Returns
The type of this MigrationAssetSummary.
- Return type
str