ShapeMemoryOptions¶
-
class
oci.container_engine.models.
ShapeMemoryOptions
(**kwargs)¶ Bases:
object
Memory properties.
Methods
__init__
(**kwargs)Initializes a new ShapeMemoryOptions object with values from keyword arguments. Attributes
default_per_ocpu_in_gbs
Gets the default_per_ocpu_in_gbs of this ShapeMemoryOptions. max_in_gbs
Gets the max_in_gbs of this ShapeMemoryOptions. max_per_ocpu_in_gbs
Gets the max_per_ocpu_in_gbs of this ShapeMemoryOptions. min_in_gbs
Gets the min_in_gbs of this ShapeMemoryOptions. min_per_ocpu_in_gbs
Gets the min_per_ocpu_in_gbs of this ShapeMemoryOptions. -
__init__
(**kwargs)¶ Initializes a new ShapeMemoryOptions object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - min_in_gbs (float) – The value to assign to the min_in_gbs property of this ShapeMemoryOptions.
- max_in_gbs (float) – The value to assign to the max_in_gbs property of this ShapeMemoryOptions.
- default_per_ocpu_in_gbs (float) – The value to assign to the default_per_ocpu_in_gbs property of this ShapeMemoryOptions.
- min_per_ocpu_in_gbs (float) – The value to assign to the min_per_ocpu_in_gbs property of this ShapeMemoryOptions.
- max_per_ocpu_in_gbs (float) – The value to assign to the max_per_ocpu_in_gbs property of this ShapeMemoryOptions.
-
default_per_ocpu_in_gbs
¶ Gets the default_per_ocpu_in_gbs of this ShapeMemoryOptions. The default amount of memory per OCPU available for this shape, in gigabytes.
Returns: The default_per_ocpu_in_gbs of this ShapeMemoryOptions. Return type: float
-
max_in_gbs
¶ Gets the max_in_gbs of this ShapeMemoryOptions. The maximum amount of memory, in gigabytes.
Returns: The max_in_gbs of this ShapeMemoryOptions. Return type: float
-
max_per_ocpu_in_gbs
¶ Gets the max_per_ocpu_in_gbs of this ShapeMemoryOptions. The maximum amount of memory per OCPU available for this shape, in gigabytes.
Returns: The max_per_ocpu_in_gbs of this ShapeMemoryOptions. Return type: float
-
min_in_gbs
¶ Gets the min_in_gbs of this ShapeMemoryOptions. The minimum amount of memory, in gigabytes.
Returns: The min_in_gbs of this ShapeMemoryOptions. Return type: float
-
min_per_ocpu_in_gbs
¶ Gets the min_per_ocpu_in_gbs of this ShapeMemoryOptions. The minimum amount of memory per OCPU available for this shape, in gigabytes.
Returns: The min_per_ocpu_in_gbs of this ShapeMemoryOptions. Return type: float
-