OlvmVmType

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

Bases: object

Determines whether the virtual machine is optimized for desktop or server.

Attributes

VM_TYPE_DESKTOP A constant which can be used with the vm_type property of a OlvmVmType.
VM_TYPE_HIGH_PERFORMANCE A constant which can be used with the vm_type property of a OlvmVmType.
VM_TYPE_SERVER A constant which can be used with the vm_type property of a OlvmVmType.
vm_type Gets the vm_type of this OlvmVmType.

Methods

__init__(**kwargs) Initializes a new OlvmVmType object with values from keyword arguments.
VM_TYPE_DESKTOP = 'DESKTOP'

A constant which can be used with the vm_type property of a OlvmVmType. This constant has a value of “DESKTOP”

VM_TYPE_HIGH_PERFORMANCE = 'HIGH_PERFORMANCE'

A constant which can be used with the vm_type property of a OlvmVmType. This constant has a value of “HIGH_PERFORMANCE”

VM_TYPE_SERVER = 'SERVER'

A constant which can be used with the vm_type property of a OlvmVmType. This constant has a value of “SERVER”

__init__(**kwargs)

Initializes a new OlvmVmType object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:vm_type (str) – The value to assign to the vm_type property of this OlvmVmType. Allowed values for this property are: “DESKTOP”, “HIGH_PERFORMANCE”, “SERVER”
vm_type

Gets the vm_type of this OlvmVmType. Type representing what the virtual machine is optimized for.

Allowed values for this property are: “DESKTOP”, “HIGH_PERFORMANCE”, “SERVER”

Returns:The vm_type of this OlvmVmType.
Return type:str