a.usage_dashboards: Usage Dashboards¶
- class databricks.sdk.service.billing.UsageDashboardsAPI¶
These APIs manage usage dashboards for this account. Usage dashboards enable you to gain insights into your usage with pre-built dashboards: visualize breakdowns, analyze tag attributions, and identify cost drivers.
- create([, dashboard_type: Optional[UsageDashboardType], major_version: Optional[UsageDashboardMajorVersion], workspace_id: Optional[int]]) CreateBillingUsageDashboardResponse¶
Create a usage dashboard specified by workspaceId, accountId, and dashboard type.
- Parameters:
dashboard_type –
UsageDashboardType(optional) Workspace level usage dashboard shows usage data for the specified workspace ID. Global level usage dashboard shows usage data for all workspaces in the account.major_version –
UsageDashboardMajorVersion(optional) The major version of the usage dashboard template to use. Defaults to VERSION_1.workspace_id – int (optional) The workspace ID of the workspace in which the usage dashboard is created.
- Returns:
- get([, dashboard_type: Optional[UsageDashboardType], workspace_id: Optional[int]]) GetBillingUsageDashboardResponse¶
Get a usage dashboard specified by workspaceId, accountId, and dashboard type.
- Parameters:
dashboard_type –
UsageDashboardType(optional) Workspace level usage dashboard shows usage data for the specified workspace ID. Global level usage dashboard shows usage data for all workspaces in the account.workspace_id – int (optional) The workspace ID of the workspace in which the usage dashboard is created.
- Returns: