ContainerImageSummary

class oci.artifacts.models.ContainerImageSummary(**kwargs)

Bases: object

Container image summary.

Methods

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

Attributes

compartment_id [Required] Gets the compartment_id of this ContainerImageSummary.
digest [Required] Gets the digest of this ContainerImageSummary.
display_name [Required] Gets the display_name of this ContainerImageSummary.
id [Required] Gets the id of this ContainerImageSummary.
lifecycle_state [Required] Gets the lifecycle_state of this ContainerImageSummary.
repository_id [Required] Gets the repository_id of this ContainerImageSummary.
repository_name [Required] Gets the repository_name of this ContainerImageSummary.
time_created [Required] Gets the time_created of this ContainerImageSummary.
version Gets the version of this ContainerImageSummary.
__init__(**kwargs)

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

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this ContainerImageSummary.
  • digest (str) – The value to assign to the digest property of this ContainerImageSummary.
  • display_name (str) – The value to assign to the display_name property of this ContainerImageSummary.
  • id (str) – The value to assign to the id property of this ContainerImageSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ContainerImageSummary.
  • repository_id (str) – The value to assign to the repository_id property of this ContainerImageSummary.
  • repository_name (str) – The value to assign to the repository_name property of this ContainerImageSummary.
  • time_created (datetime) – The value to assign to the time_created property of this ContainerImageSummary.
  • version (str) – The value to assign to the version property of this ContainerImageSummary.
compartment_id

[Required] Gets the compartment_id of this ContainerImageSummary. The compartment OCID to which the container image belongs. Inferred from the container repository.

Returns:The compartment_id of this ContainerImageSummary.
Return type:str
digest

[Required] Gets the digest of this ContainerImageSummary. The container image digest.

Returns:The digest of this ContainerImageSummary.
Return type:str
display_name

[Required] Gets the display_name of this ContainerImageSummary. The repository name and the most recent version associated with the image. If there are no versions associated with the image, then last known version and digest are used instead. If the last known version is unavailable, then ‘unknown’ is used instead of the version.

Example: ubuntu:latest or ubuntu:latest@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2

Returns:The display_name of this ContainerImageSummary.
Return type:str
id

[Required] Gets the id of this ContainerImageSummary. The OCID of the container image.

Example: ocid1.containerimage.oc1..exampleuniqueID

Returns:The id of this ContainerImageSummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this ContainerImageSummary. The current state of the container image.

Returns:The lifecycle_state of this ContainerImageSummary.
Return type:str
repository_id

[Required] Gets the repository_id of this ContainerImageSummary. The OCID of the container repository.

Returns:The repository_id of this ContainerImageSummary.
Return type:str
repository_name

[Required] Gets the repository_name of this ContainerImageSummary. The container repository name.

Returns:The repository_name of this ContainerImageSummary.
Return type:str
time_created

[Required] Gets the time_created of this ContainerImageSummary. An RFC 3339 timestamp indicating when the image was created.

Returns:The time_created of this ContainerImageSummary.
Return type:datetime
version

Gets the version of this ContainerImageSummary. The most recent version associated with this image.

Returns:The version of this ContainerImageSummary.
Return type:str