MigrationAssetSummary¶
-
class
oci.cloud_migrations.models.MigrationAssetSummary(**kwargs)¶ Bases:
objectSummary of the migration asset.
Attributes
NOTIFICATIONS_OUT_OF_DATEA constant which can be used with the notifications property of a MigrationAssetSummary. NOTIFICATIONS_SOURCE_REMOVEDA constant which can be used with the notifications property of a MigrationAssetSummary. compartment_idGets the compartment_id of this MigrationAssetSummary. depended_on_byGets the depended_on_by of this MigrationAssetSummary. depends_onGets the depends_on of this MigrationAssetSummary. display_nameGets the display_name of this MigrationAssetSummary. id[Required] Gets the id of this MigrationAssetSummary. lifecycle_detailsGets the lifecycle_details of this MigrationAssetSummary. lifecycle_state[Required] Gets the lifecycle_state of this MigrationAssetSummary. migration_id[Required] Gets the migration_id of this MigrationAssetSummary. notificationsGets the notifications of this MigrationAssetSummary. parent_snapshotGets the parent_snapshot of this MigrationAssetSummary. replication_schedule_idGets the replication_schedule_id of this MigrationAssetSummary. snapshot_infoGets the snapshot_info of this MigrationAssetSummary. snapshotsGets the snapshots of this MigrationAssetSummary. source_asset_dataGets the source_asset_data of this MigrationAssetSummary. source_asset_idGets the source_asset_id of this MigrationAssetSummary. tenancy_idGets the tenancy_id of this MigrationAssetSummary. time_created[Required] Gets the time_created of this MigrationAssetSummary. time_updatedGets the time_updated of this MigrationAssetSummary. type[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.
-
compartment_id¶ Gets the compartment_id of this MigrationAssetSummary. Compartment identifier
Returns: The compartment_id of this MigrationAssetSummary. Return type: str
-
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]
-
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]
-
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
-
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
-
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
-
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
-
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
-
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]
-
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
-
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
-
snapshot_info¶ Gets the snapshot_info of this MigrationAssetSummary. The snapshot information.
Returns: The snapshot_info of this MigrationAssetSummary. Return type: str
-
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)
-
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)
-
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
-
tenancy_id¶ Gets the tenancy_id of this MigrationAssetSummary. Tenancy Identifier
Returns: The tenancy_id of this MigrationAssetSummary. Return type: str
-
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
-
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
-
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
-