@Generated public class ResourceQuotasAPI extends Object
[Unity Catalog documentation]: https://docs.databricks.com/en/data-governance/unity-catalog/index.html#resource-quotas
| Constructor and Description |
|---|
ResourceQuotasAPI(ApiClient apiClient)
Regular-use constructor
|
ResourceQuotasAPI(ResourceQuotasService mock)
Constructor for mocks
|
| Modifier and Type | Method and Description |
|---|---|
GetQuotaResponse |
getQuota(GetQuotaRequest request)
Get information for a single resource quota.
|
GetQuotaResponse |
getQuota(String parentSecurableType,
String parentFullName,
String quotaName) |
ResourceQuotasService |
impl() |
Iterable<QuotaInfo> |
listQuotas(ListQuotasRequest request)
List all resource quotas under a metastore.
|
public ResourceQuotasAPI(ApiClient apiClient)
public ResourceQuotasAPI(ResourceQuotasService mock)
public GetQuotaResponse getQuota(String parentSecurableType, String parentFullName, String quotaName)
public GetQuotaResponse getQuota(GetQuotaRequest request)
The 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.
public Iterable<QuotaInfo> listQuotas(ListQuotasRequest request)
ListQuotas 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.
public ResourceQuotasService impl()
Copyright © 2025. All rights reserved.