ImageOcpuConstraints¶
- class oci.marketplace_publisher.models.ImageOcpuConstraints(**kwargs)¶
Bases:
objectOCPU options for an image and shape.
Methods:
__init__(**kwargs)Initializes a new ImageOcpuConstraints object with values from keyword arguments.
Attributes:
Gets the max of this ImageOcpuConstraints.
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.
- property 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
- property 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