2016-04-12 09:03:46 -04:00
|
|
|
.. -*- rst -*-
|
2016-04-20 16:10:51 -04:00
|
|
|
.. needs:body_verification
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
=================
|
|
|
|
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
|
|
|
|
|
2016-04-22 08:06:28 +08:00
|
|
|
Error response codes: unauthorized(401), forbidden(403)
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Request
|
2016-04-14 13:10:59 -04:00
|
|
|
-------
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
|
|
|
- tenant_id: tenant_id
|
|
|
|
|
|
|
|
Response
|
2016-04-14 13:10:59 -04:00
|
|
|
--------
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-05-11 11:57:09 -07:00
|
|
|
.. 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
|
|
|
|
|
2016-04-19 17:52:18 +09:00
|
|
|
**Example Show Rate And Absolute Limits: JSON response**
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-04-19 19:32:48 +09:00
|
|
|
.. literalinclude:: ../../doc/api_samples/limits/limit-get-resp.json
|
2016-04-12 09:03:46 -04:00
|
|
|
:language: javascript
|
|
|
|
|