license_acceptances
Creates, updates, deletes, gets or lists a license_acceptances resource.
Overview​
| Name | license_acceptances |
| Type | Resource |
| Id | nvidia.private_registry.license_acceptances |
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 |
|---|---|---|---|---|
create_by_team | insert | team_name, artifact_type, artifact_name, license_id, license_version | Record license acceptance for an org artifact. | |
create | insert | artifact_type, artifact_name, license_id, license_version | Record license acceptance for an org artifact. |
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 |
INSERT examples​
- create_by_team
- create
- Manifest
Record license acceptance for an org artifact.
INSERT INTO nvidia.private_registry.license_acceptances (
license_id,
license_version,
team_name,
artifact_type,
artifact_name
)
SELECT
'{{ license_id }}' /* required */,
'{{ license_version }}' /* required */,
'{{ team_name }}',
'{{ artifact_type }}',
'{{ artifact_name }}'
RETURNING
request_status
;
Record license acceptance for an org artifact.
INSERT INTO nvidia.private_registry.license_acceptances (
license_id,
license_version,
artifact_type,
artifact_name
)
SELECT
'{{ license_id }}' /* required */,
'{{ license_version }}' /* required */,
'{{ artifact_type }}',
'{{ artifact_name }}'
RETURNING
request_status
;
# Description fields are for documentation purposes
- name: license_acceptances
props:
- name: team_name
value: "{{ team_name }}"
description: Required parameter for the license_acceptances resource.
- name: artifact_type
value: "{{ artifact_type }}"
description: Required parameter for the license_acceptances resource.
- name: artifact_name
value: "{{ artifact_name }}"
description: Required parameter for the license_acceptances resource.
- name: license_id
value: "{{ license_id }}"
description: |
License identifier to accept (must match a licenseId from the artifact's published licenseTerms).
- name: license_version
value: "{{ license_version }}"
description: |
License version to accept (must match licenseVersion for that license on the artifact).