VmTargetEnvironment

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

Bases: oci.cloud_migrations.models.target_environment.TargetEnvironment

Description of the VM target environment.

Attributes

TARGET_ENVIRONMENT_TYPE_VM_TARGET_ENV str(object=’’) -> str
availability_domain Gets the availability_domain of this VmTargetEnvironment.
dedicated_vm_host Gets the dedicated_vm_host of this VmTargetEnvironment.
fault_domain Gets the fault_domain of this VmTargetEnvironment.
ms_license Gets the ms_license of this VmTargetEnvironment.
preferred_shape_type Gets the preferred_shape_type of this VmTargetEnvironment.
subnet [Required] Gets the subnet of this VmTargetEnvironment.
target_compartment_id Gets the target_compartment_id of this TargetEnvironment.
target_environment_type [Required] Gets the target_environment_type of this TargetEnvironment.
vcn [Required] Gets the vcn of this VmTargetEnvironment.

Methods

__init__(**kwargs) Initializes a new VmTargetEnvironment 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.
TARGET_ENVIRONMENT_TYPE_VM_TARGET_ENV = 'VM_TARGET_ENV'
__init__(**kwargs)

Initializes a new VmTargetEnvironment object with values from keyword arguments. The default value of the target_environment_type attribute of this class is VM_TARGET_ENV and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • target_compartment_id (str) – The value to assign to the target_compartment_id property of this VmTargetEnvironment.
  • target_environment_type (str) – The value to assign to the target_environment_type property of this VmTargetEnvironment. Allowed values for this property are: “VM_TARGET_ENV”
  • availability_domain (str) – The value to assign to the availability_domain property of this VmTargetEnvironment.
  • fault_domain (str) – The value to assign to the fault_domain property of this VmTargetEnvironment.
  • vcn (str) – The value to assign to the vcn property of this VmTargetEnvironment.
  • subnet (str) – The value to assign to the subnet property of this VmTargetEnvironment.
  • dedicated_vm_host (str) – The value to assign to the dedicated_vm_host property of this VmTargetEnvironment.
  • ms_license (str) – The value to assign to the ms_license property of this VmTargetEnvironment.
  • preferred_shape_type (str) – The value to assign to the preferred_shape_type property of this VmTargetEnvironment.
availability_domain

Gets the availability_domain of this VmTargetEnvironment. Availability Domain of the VM configuration.

Returns:The availability_domain of this VmTargetEnvironment.
Return type:str
dedicated_vm_host

Gets the dedicated_vm_host of this VmTargetEnvironment. OCID of the dedicated VM configuration host.

Returns:The dedicated_vm_host of this VmTargetEnvironment.
Return type:str
fault_domain

Gets the fault_domain of this VmTargetEnvironment. Fault domain of the VM configuration.

Returns:The fault_domain of this VmTargetEnvironment.
Return type:str
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.

ms_license

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

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

Gets the preferred_shape_type of this VmTargetEnvironment. Preferred VM shape type provided by the customer.

Returns:The preferred_shape_type of this VmTargetEnvironment.
Return type:str
subnet

[Required] Gets the subnet of this VmTargetEnvironment. OCID of the VM configuration subnet.

Returns:The subnet of this VmTargetEnvironment.
Return type:str
target_compartment_id

Gets the target_compartment_id of this TargetEnvironment. Target compartment identifier

Returns:The target_compartment_id of this TargetEnvironment.
Return type:str
target_environment_type

[Required] Gets the target_environment_type of this TargetEnvironment. The type of target environment.

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

Returns:The target_environment_type of this TargetEnvironment.
Return type:str
vcn

[Required] Gets the vcn of this VmTargetEnvironment. OCID of the VM configuration VCN.

Returns:The vcn of this VmTargetEnvironment.
Return type:str