OlvmCpu¶
-
class
oci.cloud_migrations.models.OlvmCpu(**kwargs)¶ Bases:
objectCPU attributes in OLVM
Attributes
ARCHITECTURE_AARCH64A constant which can be used with the architecture property of a OlvmCpu. ARCHITECTURE_PPC64A constant which can be used with the architecture property of a OlvmCpu. ARCHITECTURE_S390_XA constant which can be used with the architecture property of a OlvmCpu. ARCHITECTURE_UNDEFINEDA constant which can be used with the architecture property of a OlvmCpu. ARCHITECTURE_X86_64A constant which can be used with the architecture property of a OlvmCpu. MODE_CUSTOMA constant which can be used with the mode property of a OlvmCpu. MODE_HOST_MODELA constant which can be used with the mode property of a OlvmCpu. MODE_HOST_PASSTHROUGHA constant which can be used with the mode property of a OlvmCpu. architectureGets the architecture of this OlvmCpu. coreGets the core of this OlvmCpu. cpu_topologyGets the cpu_topology of this OlvmCpu. cpu_tuneGets the cpu_tune of this OlvmCpu. levelGets the level of this OlvmCpu. modeGets the mode of this OlvmCpu. nameGets the name of this OlvmCpu. speedGets the speed of this OlvmCpu. typeGets the type of this OlvmCpu. Methods
__init__(**kwargs)Initializes a new OlvmCpu object with values from keyword arguments. -
ARCHITECTURE_AARCH64= 'AARCH64'¶ A constant which can be used with the architecture property of a OlvmCpu. This constant has a value of “AARCH64”
-
ARCHITECTURE_PPC64= 'PPC64'¶ A constant which can be used with the architecture property of a OlvmCpu. This constant has a value of “PPC64”
-
ARCHITECTURE_S390_X= 'S390X'¶ A constant which can be used with the architecture property of a OlvmCpu. This constant has a value of “S390X”
-
ARCHITECTURE_UNDEFINED= 'UNDEFINED'¶ A constant which can be used with the architecture property of a OlvmCpu. This constant has a value of “UNDEFINED”
-
ARCHITECTURE_X86_64= 'X86_64'¶ A constant which can be used with the architecture property of a OlvmCpu. This constant has a value of “X86_64”
-
MODE_CUSTOM= 'CUSTOM'¶ A constant which can be used with the mode property of a OlvmCpu. This constant has a value of “CUSTOM”
-
MODE_HOST_MODEL= 'HOST_MODEL'¶ A constant which can be used with the mode property of a OlvmCpu. This constant has a value of “HOST_MODEL”
-
MODE_HOST_PASSTHROUGH= 'HOST_PASSTHROUGH'¶ A constant which can be used with the mode property of a OlvmCpu. This constant has a value of “HOST_PASSTHROUGH”
-
__init__(**kwargs)¶ Initializes a new OlvmCpu object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - architecture (str) – The value to assign to the architecture property of this OlvmCpu. Allowed values for this property are: “AARCH64”, “PPC64”, “S390X”, “UNDEFINED”, “X86_64”
- core (list[oci.cloud_migrations.models.OlvmCore]) – The value to assign to the core property of this OlvmCpu.
- cpu_tune (oci.cloud_migrations.models.OlvmCpuTune) – The value to assign to the cpu_tune property of this OlvmCpu.
- level (int) – The value to assign to the level property of this OlvmCpu.
- mode (str) – The value to assign to the mode property of this OlvmCpu. Allowed values for this property are: “CUSTOM”, “HOST_MODEL”, “HOST_PASSTHROUGH”
- name (str) – The value to assign to the name property of this OlvmCpu.
- speed (float) – The value to assign to the speed property of this OlvmCpu.
- cpu_topology (oci.cloud_migrations.models.OlvmCpuTopology) – The value to assign to the cpu_topology property of this OlvmCpu.
- type (str) – The value to assign to the type property of this OlvmCpu.
-
architecture¶ Gets the architecture of this OlvmCpu. CPU architecture
Allowed values for this property are: “AARCH64”, “PPC64”, “S390X”, “UNDEFINED”, “X86_64”
Returns: The architecture of this OlvmCpu. Return type: str
-
core¶ Gets the core of this OlvmCpu. List of cores of this CPU
Returns: The core of this OlvmCpu. Return type: list[oci.cloud_migrations.models.OlvmCore]
-
cpu_topology¶ Gets the cpu_topology of this OlvmCpu.
Returns: The cpu_topology of this OlvmCpu. Return type: oci.cloud_migrations.models.OlvmCpuTopology
-
cpu_tune¶ Gets the cpu_tune of this OlvmCpu.
Returns: The cpu_tune of this OlvmCpu. Return type: oci.cloud_migrations.models.OlvmCpuTune
-
level¶ Gets the level of this OlvmCpu. Level of this CPU
Returns: The level of this OlvmCpu. Return type: int
-
mode¶ Gets the mode of this OlvmCpu. CPU mode
Allowed values for this property are: “CUSTOM”, “HOST_MODEL”, “HOST_PASSTHROUGH”
Returns: The mode of this OlvmCpu. Return type: str
-
name¶ Gets the name of this OlvmCpu. A human-readable name in plain text.
Returns: The name of this OlvmCpu. Return type: str
-
speed¶ Gets the speed of this OlvmCpu. Speed of this CPU
Returns: The speed of this OlvmCpu. Return type: float
-
type¶ Gets the type of this OlvmCpu. CPU type
Returns: The type of this OlvmCpu. Return type: str
-