roles
Creates, updates, deletes, gets or lists a roles resource.
Overview​
| Name | roles |
| Type | Resource |
| Id | nvidia.orgs.roles |
Fields​
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
name | string | Name of the role |
display_name | string | Display Name of the role (wire: displayName) |
short_display_name | string | Short Display Name of the role (wire: shortDisplayName) |
allowed_actions | array | List of actions that this role allows (wire: allowedActions) |
product | object | Product information of the role |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | show_hidden | List of roles in NGC and their scopes |
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 |
|---|
SELECT examples​
- list
List of roles in NGC and their scopes
SELECT
name,
display_name,
short_display_name,
allowed_actions,
product
FROM nvidia.orgs.roles
WHERE show_hidden = '{{ show_hidden }}'
;