otcextensions.sdk.dcs.v1.quota

The DCS Service Quota Class

The Quota class inherits from Resource and QuotaProxyMixin.

class otcextensions.sdk.dcs.v1.quota.Quota(_synchronized=False, connection=None, **attrs)

Distributed Cache Service Quota resource

The base resource

Parameters:
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

resources_key: ty.Optional[str] = 'quotas.resources'

Plural form of key for resource.

base_path: str = '/quota'

The base part of the URI for this resource.

allow_list = True

Allow list operation for this resource.

type

Properties Quota type, value is instance or ram

used

Quota amount of created instances and used memory

quota

Quota amount

unit

Resource unit, when type is set to ram GB is returned

max

Max limit of instance or memory quota

min

Min limit of instance or memory quota