ShapeOcpuOptions¶
-
class
oci.core.models.ShapeOcpuOptions(**kwargs)¶ Bases:
objectFor a flexible shape, the number of OCPUs available for instances that use this shape.
If this field is null, then this shape has a fixed number of OCPUs equal to ocpus.
Methods
__init__(**kwargs)Initializes a new ShapeOcpuOptions object with values from keyword arguments. Attributes
maxGets the max of this ShapeOcpuOptions. max_per_numa_nodeGets the max_per_numa_node of this ShapeOcpuOptions. minGets the min of this ShapeOcpuOptions. -
__init__(**kwargs)¶ Initializes a new ShapeOcpuOptions object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - min (float) – The value to assign to the min property of this ShapeOcpuOptions.
- max (float) – The value to assign to the max property of this ShapeOcpuOptions.
- max_per_numa_node (float) – The value to assign to the max_per_numa_node property of this ShapeOcpuOptions.
-
max¶ Gets the max of this ShapeOcpuOptions. The maximum number of OCPUs.
Returns: The max of this ShapeOcpuOptions. Return type: float
-
max_per_numa_node¶ Gets the max_per_numa_node of this ShapeOcpuOptions. The maximum number of cores available per NUMA node.
Returns: The max_per_numa_node of this ShapeOcpuOptions. Return type: float
-
min¶ Gets the min of this ShapeOcpuOptions. The minimum number of OCPUs.
Returns: The min of this ShapeOcpuOptions. Return type: float
-