ImageShapeCompatibilityEntry

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

Bases: object

An image and shape that are compatible.

Methods

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

Attributes

image_id [Required] Gets the image_id of this ImageShapeCompatibilityEntry.
memory_constraints Gets the memory_constraints of this ImageShapeCompatibilityEntry.
ocpu_constraints Gets the ocpu_constraints of this ImageShapeCompatibilityEntry.
shape [Required] Gets the shape of this ImageShapeCompatibilityEntry.
__init__(**kwargs)

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

Parameters:
  • image_id (str) – The value to assign to the image_id property of this ImageShapeCompatibilityEntry.
  • shape (str) – The value to assign to the shape property of this ImageShapeCompatibilityEntry.
  • memory_constraints (ImageMemoryConstraints) – The value to assign to the memory_constraints property of this ImageShapeCompatibilityEntry.
  • ocpu_constraints (ImageOcpuConstraints) – The value to assign to the ocpu_constraints property of this ImageShapeCompatibilityEntry.
image_id

[Required] Gets the image_id of this ImageShapeCompatibilityEntry. The image OCID.

Returns:The image_id of this ImageShapeCompatibilityEntry.
Return type:str
memory_constraints

Gets the memory_constraints of this ImageShapeCompatibilityEntry.

Returns:The memory_constraints of this ImageShapeCompatibilityEntry.
Return type:ImageMemoryConstraints
ocpu_constraints

Gets the ocpu_constraints of this ImageShapeCompatibilityEntry.

Returns:The ocpu_constraints of this ImageShapeCompatibilityEntry.
Return type:ImageOcpuConstraints
shape

[Required] Gets the shape of this ImageShapeCompatibilityEntry. The shape name.

Returns:The shape of this ImageShapeCompatibilityEntry.
Return type:str