VmTargetAsset

class oci.cloud_migrations.models.VmTargetAsset(**kwargs)

Bases: oci.cloud_migrations.models.target_asset.TargetAsset

Description of the VM target asset.

Attributes

LIFECYCLE_STATE_ACTIVE str(object=’’) -> str
LIFECYCLE_STATE_CREATING str(object=’’) -> str
LIFECYCLE_STATE_DELETED str(object=’’) -> str
LIFECYCLE_STATE_DELETING str(object=’’) -> str
LIFECYCLE_STATE_FAILED str(object=’’) -> str
LIFECYCLE_STATE_NEEDS_ATTENTION str(object=’’) -> str
LIFECYCLE_STATE_UPDATING str(object=’’) -> str
PREFERRED_SHAPE_TYPE_VM A constant which can be used with the preferred_shape_type property of a VmTargetAsset.
PREFERRED_SHAPE_TYPE_VM_AMD A constant which can be used with the preferred_shape_type property of a VmTargetAsset.
PREFERRED_SHAPE_TYPE_VM_AMD_STANDARD A constant which can be used with the preferred_shape_type property of a VmTargetAsset.
PREFERRED_SHAPE_TYPE_VM_INTEL A constant which can be used with the preferred_shape_type property of a VmTargetAsset.
PREFERRED_SHAPE_TYPE_VM_INTEL_DENS_IO A constant which can be used with the preferred_shape_type property of a VmTargetAsset.
PREFERRED_SHAPE_TYPE_VM_INTEL_GPU A constant which can be used with the preferred_shape_type property of a VmTargetAsset.
PREFERRED_SHAPE_TYPE_VM_INTEL_OPTIMIZED A constant which can be used with the preferred_shape_type property of a VmTargetAsset.
PREFERRED_SHAPE_TYPE_VM_INTEL_STANDARD A constant which can be used with the preferred_shape_type property of a VmTargetAsset.
TYPE_INSTANCE str(object=’’) -> str
block_volumes_performance Gets the block_volumes_performance of this VmTargetAsset.
compartment_id Gets the compartment_id of this TargetAsset.
compatibility_messages Gets the compatibility_messages of this TargetAsset.
created_resource_id Gets the created_resource_id of this TargetAsset.
display_name Gets the display_name of this TargetAsset.
estimated_cost [Required] Gets the estimated_cost of this TargetAsset.
id [Required] Gets the id of this TargetAsset.
is_excluded_from_execution [Required] Gets the is_excluded_from_execution of this TargetAsset.
lifecycle_details Gets the lifecycle_details of this TargetAsset.
lifecycle_state [Required] Gets the lifecycle_state of this TargetAsset.
migration_asset Gets the migration_asset of this TargetAsset.
migration_plan_id [Required] Gets the migration_plan_id of this TargetAsset.
ms_license Gets the ms_license of this VmTargetAsset.
preferred_shape_type [Required] Gets the preferred_shape_type of this VmTargetAsset.
recommended_spec Gets the recommended_spec of this VmTargetAsset.
test_spec Gets the test_spec of this VmTargetAsset.
time_assessed [Required] Gets the time_assessed of this TargetAsset.
time_created [Required] Gets the time_created of this TargetAsset.
time_updated [Required] Gets the time_updated of this TargetAsset.
type [Required] Gets the type of this TargetAsset.
user_spec Gets the user_spec of this VmTargetAsset.

Methods

__init__(**kwargs) Initializes a new VmTargetAsset 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.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'
LIFECYCLE_STATE_CREATING = 'CREATING'
LIFECYCLE_STATE_DELETED = 'DELETED'
LIFECYCLE_STATE_DELETING = 'DELETING'
LIFECYCLE_STATE_FAILED = 'FAILED'
LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'
LIFECYCLE_STATE_UPDATING = 'UPDATING'
PREFERRED_SHAPE_TYPE_VM = 'VM'

A constant which can be used with the preferred_shape_type property of a VmTargetAsset. This constant has a value of “VM”

PREFERRED_SHAPE_TYPE_VM_AMD = 'VM_AMD'

A constant which can be used with the preferred_shape_type property of a VmTargetAsset. This constant has a value of “VM_AMD”

PREFERRED_SHAPE_TYPE_VM_AMD_STANDARD = 'VM_AMD_Standard'

A constant which can be used with the preferred_shape_type property of a VmTargetAsset. This constant has a value of “VM_AMD_Standard”

PREFERRED_SHAPE_TYPE_VM_INTEL = 'VM_INTEL'

A constant which can be used with the preferred_shape_type property of a VmTargetAsset. This constant has a value of “VM_INTEL”

PREFERRED_SHAPE_TYPE_VM_INTEL_DENS_IO = 'VM_INTEL_DensIO'

A constant which can be used with the preferred_shape_type property of a VmTargetAsset. This constant has a value of “VM_INTEL_DensIO”

PREFERRED_SHAPE_TYPE_VM_INTEL_GPU = 'VM_INTEL_GPU'

A constant which can be used with the preferred_shape_type property of a VmTargetAsset. This constant has a value of “VM_INTEL_GPU”

PREFERRED_SHAPE_TYPE_VM_INTEL_OPTIMIZED = 'VM_INTEL_Optimized'

A constant which can be used with the preferred_shape_type property of a VmTargetAsset. This constant has a value of “VM_INTEL_Optimized”

PREFERRED_SHAPE_TYPE_VM_INTEL_STANDARD = 'VM_INTEL_Standard'

A constant which can be used with the preferred_shape_type property of a VmTargetAsset. This constant has a value of “VM_INTEL_Standard”

TYPE_INSTANCE = 'INSTANCE'
__init__(**kwargs)

Initializes a new VmTargetAsset object with values from keyword arguments. The default value of the type attribute of this class is INSTANCE and 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 VmTargetAsset.
  • display_name (str) – The value to assign to the display_name property of this VmTargetAsset.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this VmTargetAsset. Allowed values for this property are: “CREATING”, “UPDATING”, “NEEDS_ATTENTION”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this VmTargetAsset.
  • migration_plan_id (str) – The value to assign to the migration_plan_id property of this VmTargetAsset.
  • compartment_id (str) – The value to assign to the compartment_id property of this VmTargetAsset.
  • created_resource_id (str) – The value to assign to the created_resource_id property of this VmTargetAsset.
  • type (str) – The value to assign to the type property of this VmTargetAsset. Allowed values for this property are: “INSTANCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • is_excluded_from_execution (bool) – The value to assign to the is_excluded_from_execution property of this VmTargetAsset.
  • compatibility_messages (list[oci.cloud_migrations.models.CompatibilityMessage]) – The value to assign to the compatibility_messages property of this VmTargetAsset.
  • estimated_cost (oci.cloud_migrations.models.CostEstimation) – The value to assign to the estimated_cost property of this VmTargetAsset.
  • time_created (datetime) – The value to assign to the time_created property of this VmTargetAsset.
  • time_updated (datetime) – The value to assign to the time_updated property of this VmTargetAsset.
  • time_assessed (datetime) – The value to assign to the time_assessed property of this VmTargetAsset.
  • migration_asset (oci.cloud_migrations.models.MigrationAsset) – The value to assign to the migration_asset property of this VmTargetAsset.
  • preferred_shape_type (str) – The value to assign to the preferred_shape_type property of this VmTargetAsset. Allowed values for this property are: “VM”, “VM_INTEL”, “VM_INTEL_Standard”, “VM_INTEL_DensIO”, “VM_INTEL_GPU”, “VM_INTEL_Optimized”, “VM_AMD”, “VM_AMD_Standard”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • test_spec (oci.cloud_migrations.models.LaunchInstanceDetails) – The value to assign to the test_spec property of this VmTargetAsset.
  • block_volumes_performance (int) – The value to assign to the block_volumes_performance property of this VmTargetAsset.
  • ms_license (str) – The value to assign to the ms_license property of this VmTargetAsset.
  • user_spec (oci.cloud_migrations.models.LaunchInstanceDetails) – The value to assign to the user_spec property of this VmTargetAsset.
  • recommended_spec (oci.cloud_migrations.models.LaunchInstanceDetails) – The value to assign to the recommended_spec property of this VmTargetAsset.
block_volumes_performance

Gets the block_volumes_performance of this VmTargetAsset. Performance of the block volumes.

Returns:The block_volumes_performance of this VmTargetAsset.
Return type:int
compartment_id

Gets the compartment_id of this TargetAsset. Compartment identifier

Returns:The compartment_id of this TargetAsset.
Return type:str
compatibility_messages

Gets the compatibility_messages of this TargetAsset. Messages about the compatibility issues.

Returns:The compatibility_messages of this TargetAsset.
Return type:list[oci.cloud_migrations.models.CompatibilityMessage]
created_resource_id

Gets the created_resource_id of this TargetAsset. Created resource identifier

Returns:The created_resource_id of this TargetAsset.
Return type:str
display_name

Gets the display_name of this TargetAsset. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Returns:The display_name of this TargetAsset.
Return type:str
estimated_cost

[Required] Gets the estimated_cost of this TargetAsset.

Returns:The estimated_cost of this TargetAsset.
Return type:oci.cloud_migrations.models.CostEstimation
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.

id

[Required] Gets the id of this TargetAsset. Unique identifier that is immutable on creation.

Returns:The id of this TargetAsset.
Return type:str
is_excluded_from_execution

[Required] Gets the is_excluded_from_execution of this TargetAsset. A boolean indicating whether the asset should be migrated.

Returns:The is_excluded_from_execution of this TargetAsset.
Return type:bool
lifecycle_details

Gets the lifecycle_details of this TargetAsset. 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 TargetAsset.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this TargetAsset. The current state of the target asset.

Allowed values for this property are: “CREATING”, “UPDATING”, “NEEDS_ATTENTION”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this TargetAsset.
Return type:str
migration_asset

Gets the migration_asset of this TargetAsset.

Returns:The migration_asset of this TargetAsset.
Return type:oci.cloud_migrations.models.MigrationAsset
migration_plan_id

[Required] Gets the migration_plan_id of this TargetAsset. OCID of the associated migration plan.

Returns:The migration_plan_id of this TargetAsset.
Return type:str
ms_license

Gets the ms_license of this VmTargetAsset. Microsoft license for VM configuration.

Returns:The ms_license of this VmTargetAsset.
Return type:str
preferred_shape_type

[Required] Gets the preferred_shape_type of this VmTargetAsset. Preferred VM shape type that you provide.

Allowed values for this property are: “VM”, “VM_INTEL”, “VM_INTEL_Standard”, “VM_INTEL_DensIO”, “VM_INTEL_GPU”, “VM_INTEL_Optimized”, “VM_AMD”, “VM_AMD_Standard”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The preferred_shape_type of this VmTargetAsset.
Return type:str
recommended_spec

Gets the recommended_spec of this VmTargetAsset.

Returns:The recommended_spec of this VmTargetAsset.
Return type:oci.cloud_migrations.models.LaunchInstanceDetails
test_spec

Gets the test_spec of this VmTargetAsset.

Returns:The test_spec of this VmTargetAsset.
Return type:oci.cloud_migrations.models.LaunchInstanceDetails
time_assessed

[Required] Gets the time_assessed of this TargetAsset. The time when the assessment was done. An RFC3339 formatted datetime string.

Returns:The time_assessed of this TargetAsset.
Return type:datetime
time_created

[Required] Gets the time_created of this TargetAsset. The time when the target asset was created. An RFC3339 formatted datetime string.

Returns:The time_created of this TargetAsset.
Return type:datetime
time_updated

[Required] Gets the time_updated of this TargetAsset. The time when the target asset was updated. An RFC3339 formatted datetime string.

Returns:The time_updated of this TargetAsset.
Return type:datetime
type

[Required] Gets the type of this TargetAsset. The type of target asset.

Allowed values for this property are: “INSTANCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this TargetAsset.
Return type:str
user_spec

Gets the user_spec of this VmTargetAsset.

Returns:The user_spec of this VmTargetAsset.
Return type:oci.cloud_migrations.models.LaunchInstanceDetails