artifacts
Creates, updates, deletes, gets or lists an artifacts resource.
Overview​
| Name | artifacts |
| Type | Resource |
| Id | nvidia.private_registry.artifacts |
Fields​
The following fields are returned by SELECT queries:
- get_by_team
- list_by_team
- get
- list
| Name | Datatype | Description |
|---|---|---|
name | string | Unique name of the helm chart |
encryption_key_id | string | ID of the customer managed encryption key associated with this artifact (wire: encryptionKeyId) |
latest_version_id | string | ID of the latest version (wire: latestVersionId) |
display_name | string | Display name (wire: displayName) |
org_name | string | Name of the org that the helm chart belongs to (wire: orgName) |
owner_name | string | Name of the user who owns this version (wire: ownerName) |
team_name | string | Name of the team that the helm chart belongs to (wire: teamName) |
access_type | string | (LISTED, EXCLUSIVE, NOT_LISTED) (wire: accessType) |
artifact_type | string | Artifact type (MODEL, MODEL_SCRIPT, HELM_CHART, REPOSITORY, COLLECTION, ENDPOINT, BLUEPRINT, PLAYBOOK, AGENT, API, SKILL) (wire: artifactType) |
attributes | array | |
bias | string | Text describing bias in the artifact |
built_by | string | Organization that built the helm chart (wire: builtBy) |
can_guest_download | boolean | Indicates if a guest user can download (wire: canGuestDownload) |
created_date | string | Creation date in ISO-8601 format (pattern: <code>\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.\d+Z</code>) (wire: createdDate) |
description | string | Description of the helm chart |
explainability | string | Text describing the explainability for this artifact |
has_signed_version | boolean | Indicates if the artifact has any signed versions (wire: hasSignedVersion) |
is_favourite | boolean | Flag indicating if helm chart is user's favorite (wire: isFavourite) |
is_public | boolean | Determines if this helm chart is publicly accessible (wire: isPublic) |
is_read_only | boolean | indicate if current user has read only permissions (deprecated) (wire: isReadOnly) |
labels | array | |
latest_version_size_in_bytes | integer (int64) | Size of the latest version in bytes (wire: latestVersionSizeInBytes) |
license_terms | array | (wire: licenseTerms) |
logo | string | URL for the logo image |
policy_labels | array | (wire: policyLabels) |
privacy | string | Text describing the privacy for this artifact |
product_names | array | (wire: productNames) |
publisher | string | Organization that published this helm chart |
safety_and_security | string | Text for describing the safety and security in the artifact (wire: safetyAndSecurity) |
short_description | string | Short description of the helm chart (wire: shortDescription) |
updated_date | string | Updated date in ISO-8601 format (pattern: <code>\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.\d+Z</code>) (wire: updatedDate) |
| Name | Datatype | Description |
|---|---|---|
name | string | Unique name of the helm chart |
encryption_key_id | string | ID of the customer managed encryption key associated with this artifact (wire: encryptionKeyId) |
latest_version_id | string | ID of the latest version (wire: latestVersionId) |
display_name | string | Display name (wire: displayName) |
org_name | string | Name of the org that the helm chart belongs to (wire: orgName) |
owner_name | string | Name of the user who owns this version (wire: ownerName) |
team_name | string | Name of the team that the helm chart belongs to (wire: teamName) |
access_type | string | (LISTED, EXCLUSIVE, NOT_LISTED) (wire: accessType) |
artifact_type | string | Artifact type (MODEL, MODEL_SCRIPT, HELM_CHART, REPOSITORY, COLLECTION, ENDPOINT, BLUEPRINT, PLAYBOOK, AGENT, API, SKILL) (wire: artifactType) |
attributes | array | |
bias | string | Text describing bias in the artifact |
built_by | string | Organization that built the helm chart (wire: builtBy) |
can_guest_download | boolean | Indicates if a guest user can download (wire: canGuestDownload) |
created_date | string | Creation date in ISO-8601 format (pattern: <code>\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.\d+Z</code>) (wire: createdDate) |
description | string | Description of the helm chart |
explainability | string | Text describing the explainability for this artifact |
has_signed_version | boolean | Indicates if the artifact has any signed versions (wire: hasSignedVersion) |
is_favourite | boolean | Flag indicating if helm chart is user's favorite (wire: isFavourite) |
is_public | boolean | Determines if this helm chart is publicly accessible (wire: isPublic) |
is_read_only | boolean | indicate if current user has read only permissions (deprecated) (wire: isReadOnly) |
labels | array | |
latest_version_size_in_bytes | integer (int64) | Size of the latest version in bytes (wire: latestVersionSizeInBytes) |
license_terms | array | (wire: licenseTerms) |
logo | string | URL for the logo image |
policy_labels | array | (wire: policyLabels) |
privacy | string | Text describing the privacy for this artifact |
product_names | array | (wire: productNames) |
publisher | string | Organization that published this helm chart |
safety_and_security | string | Text for describing the safety and security in the artifact (wire: safetyAndSecurity) |
short_description | string | Short description of the helm chart (wire: shortDescription) |
updated_date | string | Updated date in ISO-8601 format (pattern: <code>\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.\d+Z</code>) (wire: updatedDate) |
| Name | Datatype | Description |
|---|---|---|
name | string | Unique name of the helm chart |
encryption_key_id | string | ID of the customer managed encryption key associated with this artifact (wire: encryptionKeyId) |
latest_version_id | string | ID of the latest version (wire: latestVersionId) |
display_name | string | Display name (wire: displayName) |
org_name | string | Name of the org that the helm chart belongs to (wire: orgName) |
owner_name | string | Name of the user who owns this version (wire: ownerName) |
team_name | string | Name of the team that the helm chart belongs to (wire: teamName) |
access_type | string | (LISTED, EXCLUSIVE, NOT_LISTED) (wire: accessType) |
artifact_type | string | Artifact type (MODEL, MODEL_SCRIPT, HELM_CHART, REPOSITORY, COLLECTION, ENDPOINT, BLUEPRINT, PLAYBOOK, AGENT, API, SKILL) (wire: artifactType) |
attributes | array | |
bias | string | Text describing bias in the artifact |
built_by | string | Organization that built the helm chart (wire: builtBy) |
can_guest_download | boolean | Indicates if a guest user can download (wire: canGuestDownload) |
created_date | string | Creation date in ISO-8601 format (pattern: <code>\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.\d+Z</code>) (wire: createdDate) |
description | string | Description of the helm chart |
explainability | string | Text describing the explainability for this artifact |
has_signed_version | boolean | Indicates if the artifact has any signed versions (wire: hasSignedVersion) |
is_favourite | boolean | Flag indicating if helm chart is user's favorite (wire: isFavourite) |
is_public | boolean | Determines if this helm chart is publicly accessible (wire: isPublic) |
is_read_only | boolean | indicate if current user has read only permissions (deprecated) (wire: isReadOnly) |
labels | array | |
latest_version_size_in_bytes | integer (int64) | Size of the latest version in bytes (wire: latestVersionSizeInBytes) |
license_terms | array | (wire: licenseTerms) |
logo | string | URL for the logo image |
policy_labels | array | (wire: policyLabels) |
privacy | string | Text describing the privacy for this artifact |
product_names | array | (wire: productNames) |
publisher | string | Organization that published this helm chart |
safety_and_security | string | Text for describing the safety and security in the artifact (wire: safetyAndSecurity) |
short_description | string | Short description of the helm chart (wire: shortDescription) |
updated_date | string | Updated date in ISO-8601 format (pattern: <code>\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.\d+Z</code>) (wire: updatedDate) |
| Name | Datatype | Description |
|---|---|---|
name | string | Unique name of the helm chart |
encryption_key_id | string | ID of the customer managed encryption key associated with this artifact (wire: encryptionKeyId) |
latest_version_id | string | ID of the latest version (wire: latestVersionId) |
display_name | string | Display name (wire: displayName) |
org_name | string | Name of the org that the helm chart belongs to (wire: orgName) |
owner_name | string | Name of the user who owns this version (wire: ownerName) |
team_name | string | Name of the team that the helm chart belongs to (wire: teamName) |
access_type | string | (LISTED, EXCLUSIVE, NOT_LISTED) (wire: accessType) |
artifact_type | string | Artifact type (MODEL, MODEL_SCRIPT, HELM_CHART, REPOSITORY, COLLECTION, ENDPOINT, BLUEPRINT, PLAYBOOK, AGENT, API, SKILL) (wire: artifactType) |
attributes | array | |
bias | string | Text describing bias in the artifact |
built_by | string | Organization that built the helm chart (wire: builtBy) |
can_guest_download | boolean | Indicates if a guest user can download (wire: canGuestDownload) |
created_date | string | Creation date in ISO-8601 format (pattern: <code>\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.\d+Z</code>) (wire: createdDate) |
description | string | Description of the helm chart |
explainability | string | Text describing the explainability for this artifact |
has_signed_version | boolean | Indicates if the artifact has any signed versions (wire: hasSignedVersion) |
is_favourite | boolean | Flag indicating if helm chart is user's favorite (wire: isFavourite) |
is_public | boolean | Determines if this helm chart is publicly accessible (wire: isPublic) |
is_read_only | boolean | indicate if current user has read only permissions (deprecated) (wire: isReadOnly) |
labels | array | |
latest_version_size_in_bytes | integer (int64) | Size of the latest version in bytes (wire: latestVersionSizeInBytes) |
license_terms | array | (wire: licenseTerms) |
logo | string | URL for the logo image |
policy_labels | array | (wire: policyLabels) |
privacy | string | Text describing the privacy for this artifact |
product_names | array | (wire: productNames) |
publisher | string | Organization that published this helm chart |
safety_and_security | string | Text for describing the safety and security in the artifact (wire: safetyAndSecurity) |
short_description | string | Short description of the helm chart (wire: shortDescription) |
updated_date | string | Updated date in ISO-8601 format (pattern: <code>\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.\d+Z</code>) (wire: updatedDate) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_by_team | select | team_name, artifact_type, artifact_name | resolve_labels, remove_unresolved_labels | Get artifact details in team |
list_by_team | select | team_name, artifact_type | page_size, page_number, resolve_labels, remove_unresolved_labels | List artifacts the user can access in the specified org and team |
get | select | artifact_type, artifact_name | resolve_labels, remove_unresolved_labels | Get artifact details in org |
list | select | artifact_type | page_size, page_number, resolve_labels, remove_unresolved_labels | List artifacts the user can access in the specified org |
create_by_team | insert | team_name, artifact_type, name, short_description | Create artifact in team | |
create | insert | artifact_type, name, short_description | Create artifact in org | |
update_by_team | update | team_name, artifact_type, artifact_name | Update artifact details in team | |
update | update | artifact_type, artifact_name | Update artifact details in org | |
replace_by_team | replace | team_name, artifact_type, artifact_name | Replace artifact details in team | |
replace | replace | artifact_type, artifact_name | Replace artifact details in org | |
delete_by_team | delete | team_name, artifact_type, artifact_name | Delete artifact in team | |
delete | delete | artifact_type, artifact_name | Delete artifact in org | |
sync_release_type_labels_by_team | exec | team_name, artifact_type, artifact_name | Sync release type labels for all collections containing this artifact. Internal API for service-to-service communication. | |
set_release_type_by_team | exec | team_name, artifact_type, artifact_name, version | Updates the release type (for example GA, EA, beta) of an artifact version within the specified organization and optional team. | |
set_terms_of_service_by_team | exec | team_name, artifact_type, artifact_name | Update artifact terms of service | |
sync_release_type_labels | exec | artifact_type, artifact_name | Sync release type labels for all collections containing this artifact. Internal API for service-to-service communication. | |
set_release_type | exec | artifact_type, artifact_name, version | Updates the release type (for example GA, EA, beta) of an artifact version within the specified organization and optional team. | |
set_terms_of_service | exec | artifact_type, artifact_name | Update artifact terms of service | |
malware_scan_by_team | exec | team_name, artifact_type, artifact_name, version_id | contact_email, nspect_id | Initiates malwares can for the artifact |
purge_by_team | exec | team_name, artifact_type, artifact_name | Purge Search DB for deleted artifacts | |
malware_scan | exec | artifact_type, artifact_name, version_id | contact_email, nspect_id | Initiates malwares can for the artifact |
purge | exec | artifact_type, artifact_name | Purge Search DB for deleted 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.
| 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 |
contact_email | string (UTF-8) | Contact email |
nspect_id | string (UTF-8) | Nspect identifier |
page_number | string (UTF-8) | Page number - zero based index |
page_size | string (UTF-8) | Page size |
remove_unresolved_labels | boolean | Remove unresolved labels |
resolve_labels | boolean | Resolve labels |
SELECT examples​
- get_by_team
- list_by_team
- get
- list
Get artifact details in team
SELECT
name,
encryption_key_id,
latest_version_id,
display_name,
org_name,
owner_name,
team_name,
access_type,
artifact_type,
attributes,
bias,
built_by,
can_guest_download,
created_date,
description,
explainability,
has_signed_version,
is_favourite,
is_public,
is_read_only,
labels,
latest_version_size_in_bytes,
license_terms,
logo,
policy_labels,
privacy,
product_names,
publisher,
safety_and_security,
short_description,
updated_date
FROM nvidia.private_registry.artifacts
WHERE team_name = '{{ team_name }}' -- required
AND artifact_type = '{{ artifact_type }}' -- required
AND artifact_name = '{{ artifact_name }}' -- required
AND resolve_labels = '{{ resolve_labels }}'
AND remove_unresolved_labels = '{{ remove_unresolved_labels }}'
;
List artifacts the user can access in the specified org and team
SELECT
name,
encryption_key_id,
latest_version_id,
display_name,
org_name,
owner_name,
team_name,
access_type,
artifact_type,
attributes,
bias,
built_by,
can_guest_download,
created_date,
description,
explainability,
has_signed_version,
is_favourite,
is_public,
is_read_only,
labels,
latest_version_size_in_bytes,
license_terms,
logo,
policy_labels,
privacy,
product_names,
publisher,
safety_and_security,
short_description,
updated_date
FROM nvidia.private_registry.artifacts
WHERE team_name = '{{ team_name }}' -- required
AND artifact_type = '{{ artifact_type }}' -- required
AND page_size = '{{ page_size }}'
AND page_number = '{{ page_number }}'
AND resolve_labels = '{{ resolve_labels }}'
AND remove_unresolved_labels = '{{ remove_unresolved_labels }}'
;
Get artifact details in org
SELECT
name,
encryption_key_id,
latest_version_id,
display_name,
org_name,
owner_name,
team_name,
access_type,
artifact_type,
attributes,
bias,
built_by,
can_guest_download,
created_date,
description,
explainability,
has_signed_version,
is_favourite,
is_public,
is_read_only,
labels,
latest_version_size_in_bytes,
license_terms,
logo,
policy_labels,
privacy,
product_names,
publisher,
safety_and_security,
short_description,
updated_date
FROM nvidia.private_registry.artifacts
WHERE artifact_type = '{{ artifact_type }}' -- required
AND artifact_name = '{{ artifact_name }}' -- required
AND resolve_labels = '{{ resolve_labels }}'
AND remove_unresolved_labels = '{{ remove_unresolved_labels }}'
;
List artifacts the user can access in the specified org
SELECT
name,
encryption_key_id,
latest_version_id,
display_name,
org_name,
owner_name,
team_name,
access_type,
artifact_type,
attributes,
bias,
built_by,
can_guest_download,
created_date,
description,
explainability,
has_signed_version,
is_favourite,
is_public,
is_read_only,
labels,
latest_version_size_in_bytes,
license_terms,
logo,
policy_labels,
privacy,
product_names,
publisher,
safety_and_security,
short_description,
updated_date
FROM nvidia.private_registry.artifacts
WHERE artifact_type = '{{ artifact_type }}' -- required
AND page_size = '{{ page_size }}'
AND page_number = '{{ page_number }}'
AND resolve_labels = '{{ resolve_labels }}'
AND remove_unresolved_labels = '{{ remove_unresolved_labels }}'
;
INSERT examples​
- create_by_team
- create
- Manifest
Create artifact in team
INSERT INTO nvidia.private_registry.artifacts (
attributes,
bias,
built_by,
description,
display_name,
explainability,
labels,
labels_v2,
license_terms,
logo,
name,
privacy,
publisher,
safety_and_security,
short_description,
team_name,
artifact_type
)
SELECT
'{{ attributes }}',
'{{ bias }}',
'{{ built_by }}',
'{{ description }}',
'{{ display_name }}',
'{{ explainability }}',
'{{ labels }}',
'{{ labels_v2 }}',
'{{ license_terms }}',
'{{ logo }}',
'{{ name }}' /* required */,
'{{ privacy }}',
'{{ publisher }}',
'{{ safety_and_security }}',
'{{ short_description }}' /* required */,
'{{ team_name }}',
'{{ artifact_type }}'
RETURNING
artifact,
request_status
;
Create artifact in org
INSERT INTO nvidia.private_registry.artifacts (
attributes,
bias,
built_by,
description,
display_name,
explainability,
labels,
labels_v2,
license_terms,
logo,
name,
privacy,
publisher,
safety_and_security,
short_description,
artifact_type
)
SELECT
'{{ attributes }}',
'{{ bias }}',
'{{ built_by }}',
'{{ description }}',
'{{ display_name }}',
'{{ explainability }}',
'{{ labels }}',
'{{ labels_v2 }}',
'{{ license_terms }}',
'{{ logo }}',
'{{ name }}' /* required */,
'{{ privacy }}',
'{{ publisher }}',
'{{ safety_and_security }}',
'{{ short_description }}' /* required */,
'{{ artifact_type }}'
RETURNING
artifact,
request_status
;
# Description fields are for documentation purposes
- name: artifacts
props:
- name: team_name
value: "{{ team_name }}"
description: Required parameter for the artifacts resource.
- name: artifact_type
value: "{{ artifact_type }}"
description: Required parameter for the artifacts resource.
- name: attributes
value:
- key: "{{ key }}"
value: "{{ value }}"
- name: bias
value: "{{ bias }}"
description: |
Text describing bias in the model
- name: built_by
value: "{{ built_by }}"
description: |
organization that built the artifact
- name: description
value: "{{ description }}"
description: |
Description of the artifact
- name: display_name
value: "{{ display_name }}"
description: |
Display name
- name: explainability
value: "{{ explainability }}"
description: |
Text describing explainability for this model
- name: labels
value:
- "{{ labels }}"
- name: labels_v2
value:
- "{{ labels_v2 }}"
- name: license_terms
value:
- configuredLicenseTerms:
download:
artifactType: "{{ artifactType }}"
generatedHtml: "{{ generatedHtml }}"
tags:
- category: "{{ category }}"
key: "{{ key }}"
label: "{{ label }}"
tag: "{{ tag }}"
url: "{{ url }}"
hosting:
artifactType: "{{ artifactType }}"
generatedHtml: "{{ generatedHtml }}"
tags:
- category: "{{ category }}"
key: "{{ key }}"
label: "{{ label }}"
tag: "{{ tag }}"
url: "{{ url }}"
governingTerms: "{{ governingTerms }}"
licenseId: "{{ licenseId }}"
licenseVersion: "{{ licenseVersion }}"
needsAcceptance: {{ needsAcceptance }}
- name: logo
value: "{{ logo }}"
description: |
URL for the logo image
- name: name
value: "{{ name }}"
description: |
Unique name of the artifact
- name: privacy
value: "{{ privacy }}"
description: |
Text describing the privacy for this model
- name: publisher
value: "{{ publisher }}"
description: |
organization that published the artifact
- name: safety_and_security
value: "{{ safety_and_security }}"
description: |
Text for describing the safety and security in the model
- name: short_description
value: "{{ short_description }}"
description: |
Short description of the artifact
UPDATE examples​
- update_by_team
- update
Update artifact details in team
UPDATE nvidia.private_registry.artifacts
SET
attributes = '{{ attributes }}',
bias = '{{ bias }}',
built_by = '{{ built_by }}',
description = '{{ description }}',
display_name = '{{ display_name }}',
explainability = '{{ explainability }}',
labels = '{{ labels }}',
labels_v2 = '{{ labels_v2 }}',
license_terms = '{{ license_terms }}',
logo = '{{ logo }}',
privacy = '{{ privacy }}',
publisher = '{{ publisher }}',
safety_and_security = '{{ safety_and_security }}',
short_description = '{{ short_description }}'
WHERE
team_name = '{{ team_name }}' --required
AND artifact_type = '{{ artifact_type }}' --required
AND artifact_name = '{{ artifact_name }}' --required
RETURNING
artifact,
request_status;
Update artifact details in org
UPDATE nvidia.private_registry.artifacts
SET
attributes = '{{ attributes }}',
bias = '{{ bias }}',
built_by = '{{ built_by }}',
description = '{{ description }}',
display_name = '{{ display_name }}',
explainability = '{{ explainability }}',
labels = '{{ labels }}',
labels_v2 = '{{ labels_v2 }}',
license_terms = '{{ license_terms }}',
logo = '{{ logo }}',
privacy = '{{ privacy }}',
publisher = '{{ publisher }}',
safety_and_security = '{{ safety_and_security }}',
short_description = '{{ short_description }}'
WHERE
artifact_type = '{{ artifact_type }}' --required
AND artifact_name = '{{ artifact_name }}' --required
RETURNING
artifact,
request_status;
REPLACE examples​
- replace_by_team
- replace
Replace artifact details in team
REPLACE nvidia.private_registry.artifacts
SET
attributes = '{{ attributes }}',
bias = '{{ bias }}',
built_by = '{{ built_by }}',
description = '{{ description }}',
display_name = '{{ display_name }}',
explainability = '{{ explainability }}',
labels = '{{ labels }}',
labels_v2 = '{{ labels_v2 }}',
license_terms = '{{ license_terms }}',
logo = '{{ logo }}',
privacy = '{{ privacy }}',
publisher = '{{ publisher }}',
safety_and_security = '{{ safety_and_security }}',
short_description = '{{ short_description }}'
WHERE
team_name = '{{ team_name }}' --required
AND artifact_type = '{{ artifact_type }}' --required
AND artifact_name = '{{ artifact_name }}' --required
RETURNING
artifact,
request_status;
Replace artifact details in org
REPLACE nvidia.private_registry.artifacts
SET
attributes = '{{ attributes }}',
bias = '{{ bias }}',
built_by = '{{ built_by }}',
description = '{{ description }}',
display_name = '{{ display_name }}',
explainability = '{{ explainability }}',
labels = '{{ labels }}',
labels_v2 = '{{ labels_v2 }}',
license_terms = '{{ license_terms }}',
logo = '{{ logo }}',
privacy = '{{ privacy }}',
publisher = '{{ publisher }}',
safety_and_security = '{{ safety_and_security }}',
short_description = '{{ short_description }}'
WHERE
artifact_type = '{{ artifact_type }}' --required
AND artifact_name = '{{ artifact_name }}' --required
RETURNING
artifact,
request_status;
DELETE examples​
- delete_by_team
- delete
Delete artifact in team
DELETE FROM nvidia.private_registry.artifacts
WHERE team_name = '{{ team_name }}' --required
AND artifact_type = '{{ artifact_type }}' --required
AND artifact_name = '{{ artifact_name }}' --required
;
Delete artifact in org
DELETE FROM nvidia.private_registry.artifacts
WHERE artifact_type = '{{ artifact_type }}' --required
AND artifact_name = '{{ artifact_name }}' --required
;
Lifecycle Methods​
EXEC variables use wire (API) names.
- sync_release_type_labels_by_team
- set_release_type_by_team
- set_terms_of_service_by_team
- sync_release_type_labels
- set_release_type
- set_terms_of_service
- malware_scan_by_team
- purge_by_team
- malware_scan
- purge
Sync release type labels for all collections containing this artifact. Internal API for service-to-service communication.
EXEC nvidia.private_registry.artifacts.sync_release_type_labels_by_team
@team_name='{{ team_name }}' --required,
@artifact_type='{{ artifact_type }}' --required,
@artifact_name='{{ artifact_name }}' --required
;
Updates the release type (for example GA, EA, beta) of an artifact version within the specified organization and optional team.
EXEC nvidia.private_registry.artifacts.set_release_type_by_team
@team_name='{{ team_name }}' --required,
@artifact_type='{{ artifact_type }}' --required,
@artifact_name='{{ artifact_name }}' --required
@@json=
'{
"releaseType": "{{ releaseType }}",
"version": "{{ version }}"
}'
;
Update artifact terms of service
EXEC nvidia.private_registry.artifacts.set_terms_of_service_by_team
@team_name='{{ team_name }}' --required,
@artifact_type='{{ artifact_type }}' --required,
@artifact_name='{{ artifact_name }}' --required
@@json=
'{
"accessType": "{{ accessType }}",
"canGuestPull": {{ canGuestPull }},
"canPublicList": {{ canPublicList }},
"isPublic": {{ isPublic }},
"licenseTerms": "{{ licenseTerms }}",
"productNames": "{{ productNames }}"
}'
;
Sync release type labels for all collections containing this artifact. Internal API for service-to-service communication.
EXEC nvidia.private_registry.artifacts.sync_release_type_labels
@artifact_type='{{ artifact_type }}' --required,
@artifact_name='{{ artifact_name }}' --required
;
Updates the release type (for example GA, EA, beta) of an artifact version within the specified organization and optional team.
EXEC nvidia.private_registry.artifacts.set_release_type
@artifact_type='{{ artifact_type }}' --required,
@artifact_name='{{ artifact_name }}' --required
@@json=
'{
"releaseType": "{{ releaseType }}",
"version": "{{ version }}"
}'
;
Update artifact terms of service
EXEC nvidia.private_registry.artifacts.set_terms_of_service
@artifact_type='{{ artifact_type }}' --required,
@artifact_name='{{ artifact_name }}' --required
@@json=
'{
"accessType": "{{ accessType }}",
"canGuestPull": {{ canGuestPull }},
"canPublicList": {{ canPublicList }},
"isPublic": {{ isPublic }},
"licenseTerms": "{{ licenseTerms }}",
"productNames": "{{ productNames }}"
}'
;
Initiates malwares can for the artifact
EXEC nvidia.private_registry.artifacts.malware_scan_by_team
@team_name='{{ team_name }}' --required,
@artifact_type='{{ artifact_type }}' --required,
@artifact_name='{{ artifact_name }}' --required,
@version_id='{{ version_id }}' --required,
@contact-email='{{ contact_email }}',
@nspect-id='{{ nspect_id }}'
;
Purge Search DB for deleted artifacts
EXEC nvidia.private_registry.artifacts.purge_by_team
@team_name='{{ team_name }}' --required,
@artifact_type='{{ artifact_type }}' --required,
@artifact_name='{{ artifact_name }}' --required
;
Initiates malwares can for the artifact
EXEC nvidia.private_registry.artifacts.malware_scan
@artifact_type='{{ artifact_type }}' --required,
@artifact_name='{{ artifact_name }}' --required,
@version_id='{{ version_id }}' --required,
@contact-email='{{ contact_email }}',
@nspect-id='{{ nspect_id }}'
;
Purge Search DB for deleted artifacts
EXEC nvidia.private_registry.artifacts.purge
@artifact_type='{{ artifact_type }}' --required,
@artifact_name='{{ artifact_name }}' --required
;