CreateOlvmTargetAssetDetails¶
- class oci.cloud_migrations.models.CreateOlvmTargetAssetDetails(**kwargs)¶
Bases:
CreateTargetAssetDetailsDescription of the OLVM target asset.
Attributes:
A constant which can be used with the type property of a CreateTargetAssetDetails.
A constant which can be used with the type property of a CreateTargetAssetDetails.
[Required] Gets the is_excluded_from_execution of this CreateTargetAssetDetails.
[Required] Gets the migration_plan_id of this CreateTargetAssetDetails.
Gets the ms_license of this CreateOlvmTargetAssetDetails.
[Required] Gets the type of this CreateTargetAssetDetails.
Methods:
__init__(**kwargs)Initializes a new CreateOlvmTargetAssetDetails 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 CreateTargetAssetDetails. This constant has a value of “INSTANCE”
- TYPE_OLVM_INSTANCE = 'OLVM_INSTANCE'¶
A constant which can be used with the type property of a CreateTargetAssetDetails. This constant has a value of “OLVM_INSTANCE”
- __init__(**kwargs)¶
Initializes a new CreateOlvmTargetAssetDetails 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
migration_plan_id (str) – The value to assign to the migration_plan_id property of this CreateOlvmTargetAssetDetails.
type (str) – The value to assign to the type property of this CreateOlvmTargetAssetDetails. 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 CreateOlvmTargetAssetDetails.
ms_license (str) – The value to assign to the ms_license property of this CreateOlvmTargetAssetDetails.
- 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 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
- property 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
- property ms_license¶
Gets the ms_license of this CreateOlvmTargetAssetDetails. Microsoft license for the VM configuration.
- Returns
The ms_license of this CreateOlvmTargetAssetDetails.
- Return type
str
- property type¶
[Required] Gets the type of this CreateTargetAssetDetails. The type of target asset.
Allowed values for this property are: “INSTANCE”, “OLVM_INSTANCE”
- Returns
The type of this CreateTargetAssetDetails.
- Return type
str