Skip to main content

resource_quotas

Operations on a resource_quotas resource.

Overview

Nameresource_quotas
TypeResource
Iddatabricks_workspace.unitycatalog.resource_quotas

Fields

NameDatatype
last_refreshed_atinteger
parent_full_namestring
parent_securable_typestring
quota_countinteger
quota_limitinteger
quota_namestring

Methods

NameAccessible byRequired ParamsDescription
getquotaSELECTparent_full_name, parent_securable_type, quota_name, deployment_nameThe GetQuota API returns usage information for a single resource quota, defined as a child-parent pair. This API also refreshes the quota count if it is out of date. Refreshes are triggered asynchronously. The updated count might not be returned in the first call.
listquotasSELECTdeployment_nameListQuotas returns all quota values under the metastore. There are no SLAs on the freshness of the counts returned. This API does not trigger a refresh of quota counts.

SELECT examples

SELECT
last_refreshed_at,
parent_full_name,
parent_securable_type,
quota_count,
quota_limit,
quota_name
FROM databricks_workspace.unitycatalog.resource_quotas
WHERE deployment_name = '{{ deployment_name }}';