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.

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.