ShapeOcpuOptions

class oci.container_engine.models.ShapeOcpuOptions(**kwargs)

Bases: object

Properties of OCPUs.

Methods:

__init__(**kwargs)

Initializes a new ShapeOcpuOptions object with values from keyword arguments.

Attributes:

max

Gets the max of this ShapeOcpuOptions.

min

Gets the min of this ShapeOcpuOptions.

__init__(**kwargs)

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

Parameters
  • min (float) – The value to assign to the min property of this ShapeOcpuOptions.

  • max (float) – The value to assign to the max property of this ShapeOcpuOptions.

property max

Gets the max of this ShapeOcpuOptions. The maximum number of OCPUs.

Returns

The max of this ShapeOcpuOptions.

Return type

float

property min

Gets the min of this ShapeOcpuOptions. The minimum number of OCPUs.

Returns

The min of this ShapeOcpuOptions.

Return type

float