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. defined_tags
[Required] Gets the defined_tags of this ContainerImageSummary. digest
[Required] Gets the digest of this ContainerImageSummary. display_name
[Required] Gets the display_name of this ContainerImageSummary. freeform_tags
[Required] Gets the freeform_tags 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. system_tags
[Required] Gets the system_tags 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.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ContainerImageSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ContainerImageSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags 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
[Required] Gets the defined_tags of this ContainerImageSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this ContainerImageSummary. Return type: dict(str, dict(str, object))
-
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
[Required] Gets the freeform_tags of this ContainerImageSummary. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
Returns: The freeform_tags of this ContainerImageSummary. Return type: dict(str, 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
[Required] Gets the system_tags of this ContainerImageSummary. The system tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this ContainerImageSummary. Return type: dict(str, dict(str, object))
-
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
-