otcextensions.sdk.sdrs.v1.quota.Quota

The SDRS Quota Class

The Quota class inherits from Resource.

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

SDRS Tenant 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'

Plural form of key for resource.

base_path: str = '/sdrs/quotas'

The base part of the URI for this resource.

allow_list = True

Allow list operation for this resource.

resources

Properties Tenant resource quotas

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

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.

max

Properties Maximum quota capacity

min

Minimum quota capacity

quota

Resource quota

type

Specifies the resource types Values: server_groups, replications

used

Specifies the number of used resources