ImageOcpuConstraints

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

Bases: object

OCPU options for an image and shape.

Methods

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

Attributes

max Gets the max of this ImageOcpuConstraints.
min Gets the min of this ImageOcpuConstraints.
__init__(**kwargs)

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

Parameters:
  • min (int) – The value to assign to the min property of this ImageOcpuConstraints.
  • max (int) – The value to assign to the max property of this ImageOcpuConstraints.
max

Gets the max of this ImageOcpuConstraints. The maximum number of OCPUs supported for this image and shape.

Returns:The max of this ImageOcpuConstraints.
Return type:int
min

Gets the min of this ImageOcpuConstraints. The minimum number of OCPUs supported for this image and shape.

Returns:The min of this ImageOcpuConstraints.
Return type:int