nova/api-ref/source/limits.inc
Augustina Ragwitz 09875f6752 limits.inc example verification
Part of bp:api-ref-in-rst

Change-Id: I0004a2c95b01e87ebfea1ed70e35219c7a468af0
2016-05-24 16:17:02 -07:00

55 lines
1.2 KiB
ReStructuredText

.. -*- rst -*-
.. needs:body_verification
=================
Limits (limits)
=================
Shows rate and absolute limits for the tenant.
Show Rate And Absolute Limits
=============================
.. rest_method:: GET /v2.1/{tenant_id}/limits
Shows rate and absolute limits for the tenant.
Normal response codes: 200
Error response codes: unauthorized(401), forbidden(403)
Request
-------
.. rest_parameters:: parameters.yaml
- tenant_id: tenant_id
Response
--------
.. rest_parameters:: parameters.yaml
- limits: limits
- absolute: limits_absolutes
- maxImageMeta: metadata_items
- maxPersonality: injected_files
- maxPersonalitySize: injected_file_content_bytes
- maxSecurityGroupRules: security_group_rules
- maxSecurityGroups: security_groups
- maxServerGroupMembers: server_group_members
- maxServerGroups: server_groups
- maxServerMeta: metadata_items
- maxTotalCores: cores
- maxTotalFloatingIps: floating_ips
- maxTotalInstances: instances
- maxTotalKeypairs: key_pairs
- maxTotalRAMSize: ram
- rate: limits_rates
**Example Show Rate And Absolute Limits: JSON response**
.. literalinclude:: ../../doc/api_samples/limits/limit-get-resp.json
:language: javascript