Skip to main content

usage_dashboards

Creates, updates, deletes, gets or lists a usage_dashboards resource.

Overview

Nameusage_dashboards
TypeResource
Iddatabricks_account.billing.usage_dashboards

Fields

The following fields are returned by SELECT queries:

Request completed successfully.

NameDatatypeDescription
dashboard_idstring
dashboard_urlstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectGet a usage dashboard specified by workspaceId, accountId, and dashboard type.
createinsertCreate 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.

NameDatatypeDescription

SELECT examples

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 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
;