Skip to main content

artifact_product_shares

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

Overview​

Nameartifact_product_shares
TypeResource
Idnvidia.private_registry.artifact_product_shares

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
add_by_teaminsertteam_name, artifact_type, artifact_namePublish artifact to product
addinsertartifact_type, artifact_namePublish artifact to product
remove_by_teamdeleteteam_name, artifact_type, artifact_nameUndo publishing of product artifacts
removedeleteartifact_type, artifact_nameUndo publishing of product artifacts

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

INSERT examples​

Publish artifact to product

INSERT INTO nvidia.private_registry.artifact_product_shares (
access_type,
can_guest_pull,
can_public_list,
is_public,
license_terms,
product_names,
team_name,
artifact_type,
artifact_name
)
SELECT
'{{ access_type }}',
{{ can_guest_pull }},
{{ can_public_list }},
{{ is_public }},
'{{ license_terms }}',
'{{ product_names }}',
'{{ team_name }}',
'{{ artifact_type }}',
'{{ artifact_name }}'
RETURNING
request_status
;

DELETE examples​

Undo publishing of product artifacts

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