Image¶
- class oci.container_engine.models.Image(**kwargs)¶
Bases:
objectDescribes image metadata.
Methods:
__init__(**kwargs)Initializes a new Image object with values from keyword arguments.
Attributes:
Gets the compartment_id of this Image.
Gets the display_name of this Image.
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.
- property 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
- property 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
- property 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