Files
nova/api-ref/source/limits.inc
Augustina Ragwitz 8e0d8b7f9f api-ref: limits.inc validate parameters
Part of blueprint api-ref-in-rst

Change-Id: I1b39ef719aa9dfcaec83b0d444baf41bb27ee813
2016-05-23 13:05:11 +00:00

56 lines
1.2 KiB
ReStructuredText

.. -*- rst -*-
.. needs:example_verification
.. 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