ImageDetails¶
-
class
oci.dblm.models.ImageDetails(**kwargs)¶ Bases:
objectImage details containing the subscribed image, its status, version, owner and time of creation.
Attributes
IMAGE_STATUS_GREENA constant which can be used with the image_status property of a ImageDetails. IMAGE_STATUS_REDA constant which can be used with the image_status property of a ImageDetails. IMAGE_STATUS_YELLOWA constant which can be used with the image_status property of a ImageDetails. created_byGets the created_by of this ImageDetails. current_versionGets the current_version of this ImageDetails. image_idGets the image_id of this ImageDetails. image_ownerGets the image_owner of this ImageDetails. image_statusGets the image_status of this ImageDetails. image_versionGets the image_version of this ImageDetails. subscribed_imageGets the subscribed_image of this ImageDetails. time_image_creationGets the time_image_creation of this ImageDetails. up_to_date_image_versionGets the up_to_date_image_version of this ImageDetails. Methods
__init__(**kwargs)Initializes a new ImageDetails object with values from keyword arguments. -
IMAGE_STATUS_GREEN= 'GREEN'¶ A constant which can be used with the image_status property of a ImageDetails. This constant has a value of “GREEN”
-
IMAGE_STATUS_RED= 'RED'¶ A constant which can be used with the image_status property of a ImageDetails. This constant has a value of “RED”
-
IMAGE_STATUS_YELLOW= 'YELLOW'¶ A constant which can be used with the image_status property of a ImageDetails. This constant has a value of “YELLOW”
-
__init__(**kwargs)¶ Initializes a new ImageDetails 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 ImageDetails.
- subscribed_image (str) – The value to assign to the subscribed_image property of this ImageDetails.
- current_version (str) – The value to assign to the current_version property of this ImageDetails.
- image_status (str) – The value to assign to the image_status property of this ImageDetails. Allowed values for this property are: “GREEN”, “YELLOW”, “RED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- image_version (str) – The value to assign to the image_version property of this ImageDetails.
- image_owner (str) – The value to assign to the image_owner property of this ImageDetails.
- created_by (str) – The value to assign to the created_by property of this ImageDetails.
- time_image_creation (datetime) – The value to assign to the time_image_creation property of this ImageDetails.
- up_to_date_image_version (str) – The value to assign to the up_to_date_image_version property of this ImageDetails.
-
created_by¶ Gets the created_by of this ImageDetails. Name of the person who created the image.
Returns: The created_by of this ImageDetails. Return type: str
-
current_version¶ Gets the current_version of this ImageDetails. Name of the image version marked as current of the image.
Returns: The current_version of this ImageDetails. Return type: str
-
image_id¶ Gets the image_id of this ImageDetails. Image identifier.
Returns: The image_id of this ImageDetails. Return type: str
-
image_owner¶ Gets the image_owner of this ImageDetails. Owner of the image.
Returns: The image_owner of this ImageDetails. Return type: str
-
image_status¶ Gets the image_status of this ImageDetails. Image status.
Allowed values for this property are: “GREEN”, “YELLOW”, “RED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The image_status of this ImageDetails. Return type: str
-
image_version¶ Gets the image_version of this ImageDetails. Release version of the image.
Returns: The image_version of this ImageDetails. Return type: str
-
subscribed_image¶ Gets the subscribed_image of this ImageDetails. Subscribed image.
Returns: The subscribed_image of this ImageDetails. Return type: str
-
time_image_creation¶ Gets the time_image_creation of this ImageDetails. Date when the image was created.
Returns: The time_image_creation of this ImageDetails. Return type: datetime
-
up_to_date_image_version¶ Gets the up_to_date_image_version of this ImageDetails. An image version name, that is up to date and has no recommendations.
Returns: The up_to_date_image_version of this ImageDetails. Return type: str
-