usage_dashboards
Creates, updates, deletes, gets or lists a usage_dashboards
resource.
Overview
Name | usage_dashboards |
Type | Resource |
Id | databricks_account.billing.usage_dashboards |
Fields
The following fields are returned by SELECT
queries:
- get
Request completed successfully.
Name | Datatype | Description |
---|---|---|
dashboard_id | string | |
dashboard_url | string |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | Get a usage dashboard specified by workspaceId, accountId, and dashboard type. | ||
create | insert | Create a usage dashboard specified by workspaceId, accountId, and dashboard type. |
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
- get
Get a usage dashboard specified by workspaceId, accountId, and dashboard type.
SELECT
dashboard_id,
dashboard_url
FROM databricks_account.billing.usage_dashboards;
INSERT
examples
- create
- Manifest
Create a usage dashboard specified by workspaceId, accountId, and dashboard type.
INSERT INTO databricks_account.billing.usage_dashboards (
data__workspace_id,
data__dashboard_type
)
SELECT
{{ workspace_id }},
'{{ dashboard_type }}'
RETURNING
dashboard_id
;
# Description fields are for documentation purposes
- name: usage_dashboards
props:
- name: workspace_id
value: integer
- name: dashboard_type
value: string