Skip to main content

container_registry_blob

Creates, updates, deletes, gets or lists a container_registry_blob resource.

Overview

Namecontainer_registry_blob
TypeResource
Idazure.container_registry_dataplane.container_registry_blob

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
cancel_uploaddeletenext_blob_uuid_link, endpointCancel outstanding upload processes, releasing associated resources. If this is not called, the unfinished uploads will eventually timeout.
get_blobexecname, digest, endpointRetrieve the blob from the registry identified by digest.
check_blob_existsexecname, digest, endpointSame as GET, except only the headers are returned.
delete_blobexecname, digest, endpointRemoves an already uploaded blob.
get_upload_statusexecnext_blob_uuid_link, endpointRetrieve status of upload identified by uuid. The primary purpose of this endpoint is to resolve the current status of a resumable upload.
upload_chunkexecnext_blob_uuid_link, endpointUpload a stream of data without completing the upload.
complete_uploadexecnext_blob_uuid_link, digest, endpointComplete the upload, providing all the data in the body, if necessary. A request without a body will just complete the upload with previously uploaded content.
mount_blobexecname, from, mount, endpointMount a blob identified by the mount parameter from another repository.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
digeststringDigest of a BLOB. Required.
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )
fromstringName of the source repository. Required.
mountstringDigest of blob to mount from the source repository. Required.
namestringName of the image (including the namespace). Required.

DELETE examples

Cancel outstanding upload processes, releasing associated resources. If this is not called, the unfinished uploads will eventually timeout.

DELETE FROM azure.container_registry_dataplane.container_registry_blob
WHERE next_blob_uuid_link = '{{ next_blob_uuid_link }}' --required
AND endpoint = '{{ endpoint }}' --required
;

Lifecycle Methods

Retrieve the blob from the registry identified by digest.

EXEC azure.container_registry_dataplane.container_registry_blob.get_blob 
@name='{{ name }}' --required,
@digest='{{ digest }}' --required,
@endpoint='{{ endpoint }}' --required
;