OlvmTargetAssetSummary¶
- class oci.cloud_migrations.models.OlvmTargetAssetSummary(**kwargs)¶
Bases:
TargetAssetSummarySummary of the VM target asset.
Attributes:
A constant which can be used with the type property of a TargetAssetSummary.
A constant which can be used with the type property of a TargetAssetSummary.
Gets the compartment_id of this TargetAssetSummary.
Gets the compatibility_messages of this TargetAssetSummary.
Gets the created_resource_id of this TargetAssetSummary.
Gets the display_name of this TargetAssetSummary.
[Required] Gets the estimated_cost of this TargetAssetSummary.
[Required] Gets the id of this TargetAssetSummary.
[Required] Gets the is_excluded_from_execution of this TargetAssetSummary.
Gets the lifecycle_details of this TargetAssetSummary.
[Required] Gets the lifecycle_state of this TargetAssetSummary.
Gets the migration_asset of this TargetAssetSummary.
[Required] Gets the migration_plan_id of this TargetAssetSummary.
Gets the ms_license of this OlvmTargetAssetSummary.
[Required] Gets the time_assessed of this TargetAssetSummary.
[Required] Gets the time_created of this TargetAssetSummary.
[Required] Gets the time_updated of this TargetAssetSummary.
[Required] Gets the type of this TargetAssetSummary.
Methods:
__init__(**kwargs)Initializes a new OlvmTargetAssetSummary object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- TYPE_INSTANCE = 'INSTANCE'¶
A constant which can be used with the type property of a TargetAssetSummary. This constant has a value of “INSTANCE”
- TYPE_OLVM_INSTANCE = 'OLVM_INSTANCE'¶
A constant which can be used with the type property of a TargetAssetSummary. This constant has a value of “OLVM_INSTANCE”
- __init__(**kwargs)¶
Initializes a new OlvmTargetAssetSummary object with values from keyword arguments. The default value of the
typeattribute of this class isOLVM_INSTANCEand it should not be changed. 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 OlvmTargetAssetSummary.
display_name (str) – The value to assign to the display_name property of this OlvmTargetAssetSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this OlvmTargetAssetSummary.
migration_plan_id (str) – The value to assign to the migration_plan_id property of this OlvmTargetAssetSummary.
compartment_id (str) – The value to assign to the compartment_id property of this OlvmTargetAssetSummary.
created_resource_id (str) – The value to assign to the created_resource_id property of this OlvmTargetAssetSummary.
type (str) – The value to assign to the type property of this OlvmTargetAssetSummary. Allowed values for this property are: “INSTANCE”, “OLVM_INSTANCE”
is_excluded_from_execution (bool) – The value to assign to the is_excluded_from_execution property of this OlvmTargetAssetSummary.
compatibility_messages (list[oci.cloud_migrations.models.CompatibilityMessage]) – The value to assign to the compatibility_messages property of this OlvmTargetAssetSummary.
estimated_cost (oci.cloud_migrations.models.CostEstimation) – The value to assign to the estimated_cost property of this OlvmTargetAssetSummary.
time_created (datetime) – The value to assign to the time_created property of this OlvmTargetAssetSummary.
lifecycle_details (str) – The value to assign to the lifecycle_details property of this OlvmTargetAssetSummary.
time_updated (datetime) – The value to assign to the time_updated property of this OlvmTargetAssetSummary.
time_assessed (datetime) – The value to assign to the time_assessed property of this OlvmTargetAssetSummary.
migration_asset (oci.cloud_migrations.models.MigrationAssetSummary) – The value to assign to the migration_asset property of this OlvmTargetAssetSummary.
ms_license (str) – The value to assign to the ms_license property of this OlvmTargetAssetSummary.
- property compartment_id¶
Gets the compartment_id of this TargetAssetSummary. Compartment identifier
- Returns
The compartment_id of this TargetAssetSummary.
- Return type
str
- property compatibility_messages¶
Gets the compatibility_messages of this TargetAssetSummary. Messages about compatibility issues.
- Returns
The compatibility_messages of this TargetAssetSummary.
- Return type
- property created_resource_id¶
Gets the created_resource_id of this TargetAssetSummary. Created resource identifier
- Returns
The created_resource_id of this TargetAssetSummary.
- Return type
str
- property display_name¶
Gets the display_name of this TargetAssetSummary. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this TargetAssetSummary.
- Return type
str
- property estimated_cost¶
[Required] Gets the estimated_cost of this TargetAssetSummary.
- Returns
The estimated_cost of this TargetAssetSummary.
- Return type
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property id¶
[Required] Gets the id of this TargetAssetSummary. Unique identifier that is immutable on creation.
- Returns
The id of this TargetAssetSummary.
- Return type
str
- property is_excluded_from_execution¶
[Required] Gets the is_excluded_from_execution of this TargetAssetSummary. A boolean indicating whether the asset should be migrated.
- Returns
The is_excluded_from_execution of this TargetAssetSummary.
- Return type
bool
- property lifecycle_details¶
Gets the lifecycle_details of this TargetAssetSummary. 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 TargetAssetSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this TargetAssetSummary. The current state of the target asset.
- Returns
The lifecycle_state of this TargetAssetSummary.
- Return type
str
- property migration_asset¶
Gets the migration_asset of this TargetAssetSummary.
- Returns
The migration_asset of this TargetAssetSummary.
- Return type
- property migration_plan_id¶
[Required] Gets the migration_plan_id of this TargetAssetSummary. OCID of the associated migration plan.
- Returns
The migration_plan_id of this TargetAssetSummary.
- Return type
str
- property ms_license¶
Gets the ms_license of this OlvmTargetAssetSummary. Microsoft license for VM configuration.
- Returns
The ms_license of this OlvmTargetAssetSummary.
- Return type
str
- property time_assessed¶
[Required] Gets the time_assessed of this TargetAssetSummary. The time when the assessment was done. An RFC3339 formatted datetime string.
- Returns
The time_assessed of this TargetAssetSummary.
- Return type
datetime
- property time_created¶
[Required] Gets the time_created of this TargetAssetSummary. The time when the target asset was created. An RFC3339 formatted datetime string.
- Returns
The time_created of this TargetAssetSummary.
- Return type
datetime
- property time_updated¶
[Required] Gets the time_updated of this TargetAssetSummary. The time when the target asset was updated. An RFC3339 formatted datetime string.
- Returns
The time_updated of this TargetAssetSummary.
- Return type
datetime
- property type¶
[Required] Gets the type of this TargetAssetSummary. The type of target asset.
Allowed values for this property are: “INSTANCE”, “OLVM_INSTANCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The type of this TargetAssetSummary.
- Return type
str