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], workspace_id: Optional[int]]) CreateBillingUsageDashboardResponse

Create new usage dashboard.

Create a usage dashboard specified by workspaceId, accountId, and dashboard type.

Parameters:
  • dashboard_typeUsageDashboardType (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:

CreateBillingUsageDashboardResponse

get([, dashboard_type: Optional[UsageDashboardType], workspace_id: Optional[int]]) GetBillingUsageDashboardResponse

Get usage dashboard.

Get a usage dashboard specified by workspaceId, accountId, and dashboard type.

Parameters:
  • dashboard_typeUsageDashboardType (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:

GetBillingUsageDashboardResponse