ImageMemoryConstraints

class oci.core.models.ImageMemoryConstraints(**kwargs)

Bases: object

For a flexible image and shape, the amount of memory supported for instances that use this image.

Methods

__init__(**kwargs) Initializes a new ImageMemoryConstraints object with values from keyword arguments.

Attributes

max_in_gbs Gets the max_in_gbs of this ImageMemoryConstraints.
min_in_gbs Gets the min_in_gbs of this ImageMemoryConstraints.
__init__(**kwargs)

Initializes a new ImageMemoryConstraints object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • min_in_gbs (int) – The value to assign to the min_in_gbs property of this ImageMemoryConstraints.
  • max_in_gbs (int) – The value to assign to the max_in_gbs property of this ImageMemoryConstraints.
max_in_gbs

Gets the max_in_gbs of this ImageMemoryConstraints. The maximum amount of memory, in gigabytes.

Returns:The max_in_gbs of this ImageMemoryConstraints.
Return type:int
min_in_gbs

Gets the min_in_gbs of this ImageMemoryConstraints. The minimum amount of memory, in gigabytes.

Returns:The min_in_gbs of this ImageMemoryConstraints.
Return type:int