# Quota

## Quota Base

class designate.quota.base.Quota

  Bases: `DriverPlugin`

  Base class for quota plugins

  get_default_quotas(context)
  abstractmethod get_quota(context, tenant_id, resource)

    Get Quota

  get_quotas(context, tenant_id)
  limit_check(context, tenant_id, **values)
  abstractmethod reset_quotas(context, tenant_id)

    Reset Quotas

  abstractmethod set_quota(context, tenant_id, resource, hard_limit)

    Set Quota

## Quota Storage

class designate.quota.impl_storage.StorageQuota

  Bases: `Quota`

  get_quota(context, tenant_id, resource)

    Get Quota

  reset_quotas(context, tenant_id)

    Reset Quotas

  set_quota(context, tenant_id, resource, hard_limit)

    Set Quota

this page last updated: 2026-04-13 15:37:16

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug