Creates an instance of a ContainerRegistryClient.
Example usage:
import { ContainerRegistryClient } from "@azure/container-registry";
import { DefaultAzureCredential} from "@azure/identity";
const client = new ContainerRegistryClient(
"<container registry API endpoint>",
new DefaultAzureCredential()
);
the URL to the Container Registry endpoint
used to authenticate requests to the service
optional configuration used to send requests to the service
Creates an instance of a ContainerRegistryClient to interact with an Azure Container Registry that has anonymous pull access enabled.
Example usage:
import { ContainerRegistryClient } from "@azure/container-registry";
const client = new ContainerRegistryClient(
"<container registry API endpoint>",
);
the URL to the Container Registry endpoint
optional configuration used to send requests to the service
The Azure Container Registry endpoint.
Deletes the repository identified by the given name.
the name of repository to delete
optional configuration for the operation
Returns an artifact for given repository name, and a tag or digest.
the name of repository
tag or digest of the artifact to retrieve
Returns a ContainerRepositoryClient instance for the given repository.
the name of repository to delete
Iterates repositories.
Example usage:
let client = new ContainerRegistryClient(url, credentials);
for await (const repository of client.listRepositoryNames()) {
console.log("repository name: ", repository);
}
-
Generated using TypeDoc
The client class used to interact with the Container Registry service.