otcextensions.sdk.auto_scaling.v1.quota

The AS Quota Class

The Quota class inherits from Resource.

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

AutoScaling 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 = '/quotas'

The base part of the URI for this resource.

allow_list = True

Allow list operation for this resource.

type

Properties Quota of type, current only alarm is valid

used

Quota amount has been used

max

Quota max amount

quota

Quota amount

The AS Scaling Quota Class

The Quota class inherits from Quota.

class otcextensions.sdk.auto_scaling.v1.quota.ScalingQuota(_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.

base_path: str = '/quotas/%(scaling_group_id)s'

The base part of the URI for this resource.