artifact_catalog_flags
Creates, updates, deletes, gets or lists an artifact_catalog_flags resource.
Overview​
| Name | artifact_catalog_flags |
| Type | Resource |
| Id | nvidia.private_registry.artifact_catalog_flags |
Fields​
The following fields are returned by SELECT queries:
- get_by_team
- get
| Name | Datatype | Description |
|---|---|---|
can_guest_download | boolean | Indicates if a guest user can download (wire: canGuestDownload) |
is_listed_to_public | boolean | Flag indicating if artifact is listed and searchable (wire: isListedToPublic) |
is_public | boolean | Determines if this artifact is publicly accessible (wire: isPublic) |
| Name | Datatype | Description |
|---|---|---|
can_guest_download | boolean | Indicates if a guest user can download (wire: canGuestDownload) |
is_listed_to_public | boolean | Flag indicating if artifact is listed and searchable (wire: isListedToPublic) |
is_public | boolean | Determines if this artifact is publicly accessible (wire: isPublic) |
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 | Get the Catalog Public flags for artifact in team | |
get | select | artifact_type, artifact_name | Get the Catalog Public flags for artifact 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 |
SELECT examples​
- get_by_team
- get
Get the Catalog Public flags for artifact in team
SELECT
can_guest_download,
is_listed_to_public,
is_public
FROM nvidia.private_registry.artifact_catalog_flags
WHERE team_name = '{{ team_name }}' -- required
AND artifact_type = '{{ artifact_type }}' -- required
AND artifact_name = '{{ artifact_name }}' -- required
;
Get the Catalog Public flags for artifact in org
SELECT
can_guest_download,
is_listed_to_public,
is_public
FROM nvidia.private_registry.artifact_catalog_flags
WHERE artifact_type = '{{ artifact_type }}' -- required
AND artifact_name = '{{ artifact_name }}' -- required
;