ShapeMemoryOptions¶
- class oci.batch.models.ShapeMemoryOptions(**kwargs)¶
Bases:
objectThe amount of memory available for container instances that use this shape.
Methods:
__init__(**kwargs)Initializes a new ShapeMemoryOptions object with values from keyword arguments.
Attributes:
[Required] Gets the default_per_ocpu_in_gbs of this ShapeMemoryOptions.
[Required] Gets the max_in_gbs of this ShapeMemoryOptions.
[Required] Gets the max_per_ocpu_in_gbs of this ShapeMemoryOptions.
[Required] Gets the min_in_gbs of this ShapeMemoryOptions.
[Required] 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
default_per_ocpu_in_gbs (float) – The value to assign to the default_per_ocpu_in_gbs property of this ShapeMemoryOptions.
max_in_gbs (float) – The value to assign to the max_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.
min_in_gbs (float) – The value to assign to the min_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.
- property default_per_ocpu_in_gbs¶
[Required] Gets the default_per_ocpu_in_gbs of this ShapeMemoryOptions. The default amount of memory per OCPU available for this shape (GB).
- Returns
The default_per_ocpu_in_gbs of this ShapeMemoryOptions.
- Return type
float
- property max_in_gbs¶
[Required] Gets the max_in_gbs of this ShapeMemoryOptions. The maximum amount of memory (GB).
- Returns
The max_in_gbs of this ShapeMemoryOptions.
- Return type
float
- property max_per_ocpu_in_gbs¶
[Required] Gets the max_per_ocpu_in_gbs of this ShapeMemoryOptions. For a flexible shape, the maximum amount of memory per OCPU available for this shape (GB).
- Returns
The max_per_ocpu_in_gbs of this ShapeMemoryOptions.
- Return type
float
- property min_in_gbs¶
[Required] Gets the min_in_gbs of this ShapeMemoryOptions. The minimum amount of memory (GB).
- Returns
The min_in_gbs of this ShapeMemoryOptions.
- Return type
float
- property min_per_ocpu_in_gbs¶
[Required] Gets the min_per_ocpu_in_gbs of this ShapeMemoryOptions. The minimum amount of memory per OCPU available for this shape (GB).
- Returns
The min_per_ocpu_in_gbs of this ShapeMemoryOptions.
- Return type
float