openstack.compute.v2.limits¶
The Limits Class¶
The Limits
class inherits from Resource
.
- class openstack.compute.v2.limits.Limits(_synchronized=False, connection=None, **attrs)¶
The base resource
- Parameters
_synchronized (bool) – This is not intended to be used directly. See
new()
andexisting()
.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.
The AbsoluteLimits Class¶
The AbsoluteLimits
class inherits from
Resource
.
- class openstack.compute.v2.limits.AbsoluteLimits(_synchronized=False, connection=None, **attrs)¶
The base resource
- Parameters
_synchronized (bool) – This is not intended to be used directly. See
new()
andexisting()
.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.
- image_meta¶
The number of key-value pairs that can be set as image metadata.
- personality¶
The maximum number of personality contents that can be supplied.
- personality_size¶
The maximum size, in bytes, of a personality.
- security_group_rules¶
The maximum amount of security group rules allowed.
- security_groups¶
The maximum amount of security groups allowed.
- security_groups_used¶
The amount of security groups currently in use.
- server_meta¶
The number of key-value pairs that can be set as server metadata.
- total_cores¶
The maximum amount of cores.
- total_cores_used¶
The amount of cores currently in use.
- floating_ips¶
The maximum amount of floating IPs.
- floating_ips_used¶
The amount of floating IPs currently in use.
- instances¶
The maximum amount of instances.
- instances_used¶
The amount of instances currently in use.
- keypairs¶
The maximum amount of keypairs.
- total_ram¶
The maximum RAM size in megabytes.
- total_ram_used¶
The RAM size in megabytes currently in use.
- server_groups¶
The maximum amount of server groups.
- server_groups_used¶
The amount of server groups currently in use.
- server_group_members¶
The maximum number of members in a server group.
The RateLimit Class¶
The RateLimit
class inherits from Resource
.
- class openstack.compute.v2.limits.RateLimit(_synchronized=False, connection=None, **attrs)¶
The base resource
- Parameters
_synchronized (bool) – This is not intended to be used directly. See
new()
andexisting()
.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.
- limits¶
A list of the specific limits that apply to the
regex
anduri
.
- regex¶
A regex representing which routes this rate limit applies to.
- uri¶
A URI representing which routes this rate limit applies to.