Skip to main content

artifact_versions

Creates, updates, deletes, gets or lists an artifact_versions resource.

Overview​

Nameartifact_versions
TypeResource
Idnvidia.private_registry.artifact_versions

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
delete_by_teamdeleteteam_name, artifact_type, artifact_name, version_idDelete a artifact version in team
deletedeleteartifact_type, artifact_name, version_idDelete a artifact version in org

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
artifact_namestring (UTF-8)Artifact name
artifact_typestring (UTF-8)Artifact type
team_namestring (UTF-8)Team name
version_idstring (UTF-8)Version ID

DELETE examples​

Delete a artifact version in team

DELETE FROM nvidia.private_registry.artifact_versions
WHERE team_name = '{{ team_name }}' --required
AND artifact_type = '{{ artifact_type }}' --required
AND artifact_name = '{{ artifact_name }}' --required
AND version_id = '{{ version_id }}' --required
;