Creates an instance of a ContainerRegistryBlobClient for managing container images and artifacts.
Example usage:
import { ContainerRegistryBlobClient } from "@azure/container-registry";
import { DefaultAzureCredential} from "@azure/identity";
const client = new ContainerRegistryBlobClient(
"<container registry API endpoint>",
"<repository name>",
new DefaultAzureCredential()
);
the URL endpoint of the container registry
the name of the repository that logically groups the artifact parts
used to authenticate requests to the service
optional configuration used to send requests to the service
The Azure Container Registry endpoint.
The name of the repository that logically groups the artifact parts.
Delete a blob.
the digest of the blob to delete
optional configuration used to send requests to the service
Delete a manifest. Doing so effectively deletes an artifact from the registry.
the digest of the manifest to delete
optional configuration used to send requests to the service
Download a blob that is part of an artifact.
the digest of the blob to download
optional configuration used to send requests to the service
Downloads the manifest for an OCI artifact
a tag or digest that identifies the artifact
Upload an artifact blob.
a factory which produces a stream containing the blob data. This function may be called multiple times; each time the function is called a fresh stream should be returned.
Upload an artifact blob.
the stream containing the blob data.
Upload a manifest for an OCI artifact.
the manifest to upload. If a resettable stream (a factory function that returns a stream) is provided, it may be called multiple times. Each time the function is called, a fresh stream should be returned.
Generated using TypeDoc
The Azure Container Registry blob client, responsible for uploading and downloading blobs and manifests, the building blocks of artifacts.