openstack.compute.v2.limits

openstack.compute.v2.limits

The Limits Class

The Limits class inherits from Resource.

class openstack.compute.v2.limits.Limits(_synchronized=False, **attrs)

The base resource

Parameters:_synchronized (bool) – This is not intended to be used directly. See new() and existing().
get(session, requires_id=False, error_message=None)

Get the Limits resource.

Parameters:session (Adapter) – The session to use for making this request.
Returns:A Limits instance
Return type:Limits

The AbsoluteLimits Class

The AbsoluteLimits class inherits from Resource.

class openstack.compute.v2.limits.AbsoluteLimits(_synchronized=False, **attrs)

The base resource

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

The number of key-value pairs that can be set as image metadata.

personality = None

The maximum number of personality contents that can be supplied.

personality_size = None

The maximum size, in bytes, of a personality.

security_group_rules = None

The maximum amount of security group rules allowed.

security_groups = None

The maximum amount of security groups allowed.

security_groups_used = None

The amount of security groups currently in use.

server_meta = None

The number of key-value pairs that can be set as server metadata.

total_cores = None

The maximum amount of cores.

total_cores_used = None

The amount of cores currently in use.

floating_ips = None

The maximum amount of floating IPs.

floating_ips_used = None

The amount of floating IPs currently in use.

instances = None

The maximum amount of instances.

instances_used = None

The amount of instances currently in use.

keypairs = None

The maximum amount of keypairs.

total_ram = None

The maximum RAM size in megabytes.

total_ram_used = None

The RAM size in megabytes currently in use.

server_groups = None

The maximum amount of server groups.

server_groups_used = None

The amount of server groups currently in use.

server_group_members = None

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, **attrs)

The base resource

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

A list of the specific limits that apply to the regex and uri.

regex = None

A regex representing which routes this rate limit applies to.

uri = None

A URI representing which routes this rate limit applies to.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.