Creates an instance of a ContainerRepositoryClient.
Example usage:
import { ContainerRepositoryClient } from "@azure/container-registry";
import { DefaultAzureCredential} from "@azure/identity";
const client = new ContainerRepositoryClient(
"<container registry API endpoint>",
"<repository name>"
new DefaultAzureCredential()
);
the URL to the Container Registry endpoint
the URL to the Container Registry endpoint
used to authenticate requests to the service
optional configuration used to send requests to the service
The Azure Container Registry endpoint.
Registry name.
Repository name.
Deletes this repository.
optional configuration for the operation
Deletes a registry artifact in this repository.
the digest of the artifact to be deleted.
-
Deletes a tag.
the name of the tag to be deleted.
-
Retrieves properties of this repository.
-
Retrieves properties of a registry artifact.
the tag or digest of the registry artifact.
-
Retrieves properties of a tag.
-
Iterates artifacts.
Example usage:
let client = new ContainerRepositoryClient(url, repository, credentials);
for await (const repository of client.listRegistryArtifacts()) {
console.log("artifact: ", artifact);
}
-
Iterates tags.
Example usage:
let client = new ContainerRepositoryClient(url, repository, credentials);
for await (const repository of client.listTags()) {
console.log("tag: ", tag);
}
-
Updates manifest artifact attributes.
the digest of the manifest.
-
Updates repository attributes.
-
Updates tag attributes.
name of the tag
-
Generated using TypeDoc
The client class used to interact with the Container Registry service.