CreateVmTargetAssetDetails¶
- 
class oci.cloud_migrations.models.CreateVmTargetAssetDetails(**kwargs)¶
- Bases: - oci.cloud_migrations.models.create_target_asset_details.CreateTargetAssetDetails- Description of the VM target asset. - Attributes - TYPE_INSTANCE- str(object=’’) -> str - block_volumes_performance- Gets the block_volumes_performance of this CreateVmTargetAssetDetails. - is_excluded_from_execution- [Required] Gets the is_excluded_from_execution of this CreateTargetAssetDetails. - migration_plan_id- [Required] Gets the migration_plan_id of this CreateTargetAssetDetails. - ms_license- Gets the ms_license of this CreateVmTargetAssetDetails. - preferred_shape_type- [Required] Gets the preferred_shape_type of this CreateVmTargetAssetDetails. - type- [Required] Gets the type of this CreateTargetAssetDetails. - user_spec- [Required] Gets the user_spec of this CreateVmTargetAssetDetails. - Methods - __init__(**kwargs)- Initializes a new CreateVmTargetAssetDetails 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'¶
 - 
__init__(**kwargs)¶
- Initializes a new CreateVmTargetAssetDetails object with values from keyword arguments. The default value of the - typeattribute of this class is- INSTANCEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters: - migration_plan_id (str) – The value to assign to the migration_plan_id property of this CreateVmTargetAssetDetails.
- type (str) – The value to assign to the type property of this CreateVmTargetAssetDetails. Allowed values for this property are: “INSTANCE”
- is_excluded_from_execution (bool) – The value to assign to the is_excluded_from_execution property of this CreateVmTargetAssetDetails.
- preferred_shape_type (str) – The value to assign to the preferred_shape_type property of this CreateVmTargetAssetDetails.
- block_volumes_performance (int) – The value to assign to the block_volumes_performance property of this CreateVmTargetAssetDetails.
- ms_license (str) – The value to assign to the ms_license property of this CreateVmTargetAssetDetails.
- user_spec (oci.cloud_migrations.models.LaunchInstanceDetails) – The value to assign to the user_spec property of this CreateVmTargetAssetDetails.
 
 - 
block_volumes_performance¶
- Gets the block_volumes_performance of this CreateVmTargetAssetDetails. Performance of the block volumes. - Returns: - The block_volumes_performance of this CreateVmTargetAssetDetails. - Return type: - int 
 - 
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. 
 - 
is_excluded_from_execution¶
- [Required] Gets the is_excluded_from_execution of this CreateTargetAssetDetails. A boolean indicating whether the asset should be migrated. - Returns: - The is_excluded_from_execution of this CreateTargetAssetDetails. - Return type: - bool 
 - 
migration_plan_id¶
- [Required] Gets the migration_plan_id of this CreateTargetAssetDetails. OCID of the associated migration plan. - Returns: - The migration_plan_id of this CreateTargetAssetDetails. - Return type: - str 
 - 
ms_license¶
- Gets the ms_license of this CreateVmTargetAssetDetails. Microsoft license for the VM configuration. - Returns: - The ms_license of this CreateVmTargetAssetDetails. - Return type: - str 
 - 
preferred_shape_type¶
- [Required] Gets the preferred_shape_type of this CreateVmTargetAssetDetails. Preferred VM shape type that you provide. - Returns: - The preferred_shape_type of this CreateVmTargetAssetDetails. - Return type: - str 
 - 
type¶
- [Required] Gets the type of this CreateTargetAssetDetails. The type of target asset. - Allowed values for this property are: “INSTANCE” - Returns: - The type of this CreateTargetAssetDetails. - Return type: - str 
 - 
user_spec¶
- [Required] Gets the user_spec of this CreateVmTargetAssetDetails. - Returns: - The user_spec of this CreateVmTargetAssetDetails. - Return type: - oci.cloud_migrations.models.LaunchInstanceDetails 
 
-