ShapeOcpuOptions¶
-
class
oci.container_instances.models.
ShapeOcpuOptions
(**kwargs)¶ Bases:
object
For a flexible shape, the number of OCPUs available for container instances that use this shape.
Methods
__init__
(**kwargs)Initializes a new ShapeOcpuOptions object with values from keyword arguments. Attributes
max
[Required] Gets the max of this ShapeOcpuOptions. min
[Required] Gets 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
¶ [Required] Gets the max of this ShapeOcpuOptions. The maximum number of OCPUs.
Returns: The max of this ShapeOcpuOptions. Return type: float
-
min
¶ [Required] Gets the min of this ShapeOcpuOptions. The minimum number of OCPUs.
Returns: The min of this ShapeOcpuOptions. Return type: float
-