ImageShapeCompatibilitySummary¶
-
class
oci.core.models.
ImageShapeCompatibilitySummary
(**kwargs)¶ Bases:
object
Summary information for a compatible image and shape.
Methods
__init__
(**kwargs)Initializes a new ImageShapeCompatibilitySummary object with values from keyword arguments. Attributes
image_id
[Required] Gets the image_id of this ImageShapeCompatibilitySummary. memory_constraints
Gets the memory_constraints of this ImageShapeCompatibilitySummary. ocpu_constraints
Gets the ocpu_constraints of this ImageShapeCompatibilitySummary. shape
[Required] Gets the shape of this ImageShapeCompatibilitySummary. -
__init__
(**kwargs)¶ Initializes a new ImageShapeCompatibilitySummary 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 ImageShapeCompatibilitySummary.
- shape (str) – The value to assign to the shape property of this ImageShapeCompatibilitySummary.
- memory_constraints (oci.core.models.ImageMemoryConstraints) – The value to assign to the memory_constraints property of this ImageShapeCompatibilitySummary.
- ocpu_constraints (oci.core.models.ImageOcpuConstraints) – The value to assign to the ocpu_constraints property of this ImageShapeCompatibilitySummary.
-
image_id
¶ [Required] Gets the image_id of this ImageShapeCompatibilitySummary. The image OCID.
Returns: The image_id of this ImageShapeCompatibilitySummary. Return type: str
-
memory_constraints
¶ Gets the memory_constraints of this ImageShapeCompatibilitySummary.
Returns: The memory_constraints of this ImageShapeCompatibilitySummary. Return type: oci.core.models.ImageMemoryConstraints
-
ocpu_constraints
¶ Gets the ocpu_constraints of this ImageShapeCompatibilitySummary.
Returns: The ocpu_constraints of this ImageShapeCompatibilitySummary. Return type: oci.core.models.ImageOcpuConstraints
-
shape
¶ [Required] Gets the shape of this ImageShapeCompatibilitySummary. The shape name.
Returns: The shape of this ImageShapeCompatibilitySummary. Return type: str
-