ShapeMemoryOptions

class oci.container_instances.models.ShapeMemoryOptions(**kwargs)

Bases: object

For a flexible shape, the 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

default_per_ocpu_in_gbs [Required] Gets the default_per_ocpu_in_gbs of this ShapeMemoryOptions.
max_in_gbs [Required] Gets the max_in_gbs of this ShapeMemoryOptions.
max_per_ocpu_in_gbs [Required] Gets the max_per_ocpu_in_gbs of this ShapeMemoryOptions.
min_in_gbs [Required] Gets the min_in_gbs of this ShapeMemoryOptions.
min_per_ocpu_in_gbs [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:
  • 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

[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
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
max_per_ocpu_in_gbs

[Required] Gets the max_per_ocpu_in_gbs of this ShapeMemoryOptions. 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
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
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