artifact_versions
Creates, updates, deletes, gets or lists an artifact_versions resource.
Overview​
| Name | artifact_versions |
| Type | Resource |
| Id | nvidia.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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
delete_by_team | delete | team_name, artifact_type, artifact_name, version_id | Delete a artifact version in team | |
delete | delete | artifact_type, artifact_name, version_id | Delete 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.
| Name | Datatype | Description |
|---|---|---|
artifact_name | string (UTF-8) | Artifact name |
artifact_type | string (UTF-8) | Artifact type |
team_name | string (UTF-8) | Team name |
version_id | string (UTF-8) | Version ID |
DELETE examples​
- delete_by_team
- delete
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
;
Delete a artifact version in org
DELETE FROM nvidia.private_registry.artifact_versions
WHERE artifact_type = '{{ artifact_type }}' --required
AND artifact_name = '{{ artifact_name }}' --required
AND version_id = '{{ version_id }}' --required
;