registry_repositories_v2
Creates, updates, deletes, gets or lists a registry_repositories_v2
resource.
Overview
Name | registry_repositories_v2 |
Type | Resource |
Id | digitalocean.container_registry.registry_repositories_v2 |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The name of the repository. |
latest_manifest | object | |
manifest_count | integer | The number of manifests in the repository. |
registry_name | string | The name of the container registry. |
tag_count | integer | The number of tags in the repository. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
registry_list_repositories_v2 | SELECT | registry_name | To list all repositories in your container registry, send a GET request to /v2/registry/$REGISTRY_NAME/repositoriesV2 . |
SELECT
examples
To list all repositories in your container registry, send a GET request to /v2/registry/$REGISTRY_NAME/repositoriesV2
.
SELECT
name,
latest_manifest,
manifest_count,
registry_name,
tag_count
FROM digitalocean.container_registry.registry_repositories_v2
WHERE registry_name = '{{ registry_name }}';