ImageMemoryConstraints¶
- class oci.marketplace_publisher.models.ImageMemoryConstraints(**kwargs)¶
Bases:
objectFor 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:
Gets the max_in_gbs of this ImageMemoryConstraints.
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.
- property 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
- property 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