Image¶
-
class
oci.container_engine.models.
Image
(**kwargs)¶ Bases:
object
Describes image metadata.
Methods
__init__
(**kwargs)Initializes a new Image object with values from keyword arguments. Attributes
compartment_id
Gets the compartment_id of this Image. display_name
Gets the display_name of this Image. id
Gets the id of this Image. -
__init__
(**kwargs)¶ Initializes a new Image object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this Image.
- compartment_id (str) – The value to assign to the compartment_id property of this Image.
- display_name (str) – The value to assign to the display_name property of this Image.
-
compartment_id
¶ Gets the compartment_id of this Image. The OCID of the compartment that the image was created in.
Returns: The compartment_id of this Image. Return type: str
-
display_name
¶ Gets the display_name of this Image. A friendly user-specified name for the image.
Returns: The display_name of this Image. Return type: str
-
id
¶ Gets the id of this Image. The Oracle Cloud ID (OCID) that uniquely identifies the image.
Returns: The id of this Image. Return type: str
-