Skip to main content

artifact_deployments

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

Overview​

Nameartifact_deployments
TypeResource
Idnvidia.private_registry.artifact_deployments

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
create_by_teaminsertteam_name, artifact_type, artifact_name, version_id, csp_nameCreate artifact version deployment url in team
createinsertartifact_type, artifact_name, version_id, csp_nameCreate artifact version deployment url 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.

NameDatatypeDescription
artifact_namestring (UTF-8)Artifact name
artifact_typestring (UTF-8)Artifact type
csp_namestring (UTF-8)Cloud service provider name
team_namestring (UTF-8)Team name
version_idstring (UTF-8)Version ID

INSERT examples​

Create artifact version deployment url in team

INSERT INTO nvidia.private_registry.artifact_deployments (
container,
cpu,
gpu,
memory,
model,
resource,
storage,
team_name,
artifact_type,
artifact_name,
version_id,
csp_name
)
SELECT
'{{ container }}',
'{{ cpu }}',
'{{ gpu }}',
'{{ memory }}',
'{{ model }}',
'{{ resource }}',
'{{ storage }}',
'{{ team_name }}',
'{{ artifact_type }}',
'{{ artifact_name }}',
'{{ version_id }}',
'{{ csp_name }}'
RETURNING
csp,
deployment_parameters,
deployment_url,
request_status
;