Data Source: oci_artifacts_container_repository
This data source provides details about a specific Container Repository resource in Oracle Cloud Infrastructure Artifacts service.
Get container repository.
Example Usage
data "oci_artifacts_container_repository" "test_container_repository" {
#Required
repository_id = oci_artifacts_repository.test_repository.id
}
Argument Reference
The following arguments are supported:
repository_id
- (Required) The OCID of the container repository. Example:ocid1.containerrepo.oc1..exampleuniqueID
Attributes Reference
The following attributes are exported:
billable_size_in_gbs
- Total storage size in GBs that will be charged.compartment_id
- The OCID of the compartment in which the container repository exists.created_by
- The id of the user or principal that created the resource.defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:{"Operations.CostCenter": "42"}
display_name
- The container repository name.freeform_tags
- 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"}
id
- The OCID of the container repository. Example:ocid1.containerrepo.oc1..exampleuniqueID
image_count
- Total number of images.is_immutable
- Whether the repository is immutable. Images cannot be overwritten in an immutable repository.is_public
- Whether the repository is public. A public repository allows unauthenticated access.layer_count
- Total number of layers.layers_size_in_bytes
- Total storage in bytes consumed by layers.namespace
- The tenancy namespace used in the container repository path.readme
- Container repository readme.content
- Readme content. Avoid entering confidential information.format
- Readme format. Supported formats are text/plain and text/markdown.
state
- The current state of the container repository.system_tags
- The system tags for this resource. Each key is predefined and scoped to a namespace. Example:{"orcl-cloud.free-tier-retained": "true"}
time_created
- An RFC 3339 timestamp indicating when the repository was created.time_last_pushed
- An RFC 3339 timestamp indicating when an image was last pushed to the repository.