Skip to main content

artifact_version_configs

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

Overview​

Nameartifact_version_configs
TypeResource
Idnvidia.private_registry.artifact_version_configs

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
update_by_teamupdateteam_name, artifact_type, artifact_name, version_idUpdate artifact version with configs like policy badge
updateupdateartifact_type, artifact_name, version_idUpdate artifact version with configs like policy badge

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

UPDATE examples​

Update artifact version with configs like policy badge

UPDATE nvidia.private_registry.artifact_version_configs
SET
policy = '{{ policy }}'
WHERE
team_name = '{{ team_name }}' --required
AND artifact_type = '{{ artifact_type }}' --required
AND artifact_name = '{{ artifact_name }}' --required
AND version_id = '{{ version_id }}' --required
RETURNING
request_status;