OlvmCpuTopology¶
- class oci.cloud_migrations.models.OlvmCpuTopology(**kwargs)¶
Bases:
objectCPU Topology in OLVM
Methods:
__init__(**kwargs)Initializes a new OlvmCpuTopology object with values from keyword arguments.
Attributes:
Gets the cores of this OlvmCpuTopology.
Gets the sockets of this OlvmCpuTopology.
Gets the threads of this OlvmCpuTopology.
- __init__(**kwargs)¶
Initializes a new OlvmCpuTopology object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
cores (int) – The value to assign to the cores property of this OlvmCpuTopology.
sockets (int) – The value to assign to the sockets property of this OlvmCpuTopology.
threads (int) – The value to assign to the threads property of this OlvmCpuTopology.
- property cores¶
Gets the cores of this OlvmCpuTopology. Number of cores
- Returns
The cores of this OlvmCpuTopology.
- Return type
int
- property sockets¶
Gets the sockets of this OlvmCpuTopology. Number of sockets
- Returns
The sockets of this OlvmCpuTopology.
- Return type
int
- property threads¶
Gets the threads of this OlvmCpuTopology. Number of threads
- Returns
The threads of this OlvmCpuTopology.
- Return type
int