com.databricks.sdk.service.catalog.ResourceQuotasService Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.catalog;
import com.databricks.sdk.support.Generated;
/**
* Unity Catalog enforces resource quotas on all securable objects, which limits the number of
* resources that can be created. Quotas are expressed in terms of a resource type and a parent (for
* example, tables per metastore or schemas per catalog). The resource quota APIs enable you to
* monitor your current usage and limits. For more information on resource quotas see the [Unity
* Catalog documentation].
*
* [Unity Catalog documentation]:
* https://docs.databricks.com/en/data-governance/unity-catalog/index.html#resource-quotas
*
*
This is the high-level interface, that contains generated methods.
*
*
Evolving: this interface is under development. Method signatures may change.
*/
@Generated
public interface ResourceQuotasService {
/**
* Get information for a single resource quota.
*
*
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.
*/
GetQuotaResponse getQuota(GetQuotaRequest getQuotaRequest);
/**
* List all resource quotas under a metastore.
*
*
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.
*/
ListQuotasResponse listQuotas(ListQuotasRequest listQuotasRequest);
}