2016-04-12 09:03:46 -04:00
|
|
|
.. -*- rst -*-
|
|
|
|
|
|
|
|
=================
|
|
|
|
Limits (limits)
|
|
|
|
=================
|
|
|
|
|
2016-05-02 01:54:38 +08:00
|
|
|
Shows rate and absolute limits for the project.
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Show Rate And Absolute Limits
|
|
|
|
=============================
|
|
|
|
|
2016-06-02 08:50:03 -04:00
|
|
|
.. rest_method:: GET /limits
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-05-02 01:54:38 +08:00
|
|
|
Shows rate and absolute limits for the project.
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
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
|
|
|
|
2017-06-20 12:30:39 +09:00
|
|
|
Request
|
|
|
|
-------
|
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
|
|
|
- reserved: reserved_query
|
|
|
|
- tenant_id: tenant_id_query
|
|
|
|
|
2016-04-12 09:03:46 -04:00
|
|
|
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
|
2016-12-01 18:37:28 +03:00
|
|
|
- maxImageMeta: image_metadata_items
|
2016-05-11 11:57:09 -07:00
|
|
|
- maxPersonality: injected_files
|
|
|
|
- maxPersonalitySize: injected_file_content_bytes
|
2017-01-05 15:45:23 +09:00
|
|
|
- maxSecurityGroupRules: security_group_rules_quota
|
|
|
|
- maxSecurityGroups: security_groups_quota
|
2016-05-11 11:57:09 -07:00
|
|
|
- maxServerGroupMembers: server_group_members
|
|
|
|
- maxServerGroups: server_groups
|
|
|
|
- maxServerMeta: metadata_items
|
|
|
|
- maxTotalCores: cores
|
|
|
|
- maxTotalFloatingIps: floating_ips
|
|
|
|
- maxTotalInstances: instances
|
|
|
|
- maxTotalKeypairs: key_pairs
|
|
|
|
- maxTotalRAMSize: ram
|
2017-06-20 12:30:39 +09:00
|
|
|
- totalCoresUsed: total_cores_used
|
|
|
|
- totalFloatingIpsUsed: total_floatingips_used
|
|
|
|
- totalInstancesUsed: total_instances_used
|
|
|
|
- totalRAMUsed: total_ram_used
|
|
|
|
- totalSecurityGroupsUsed: total_security_groups_used
|
|
|
|
- totalServerGroupsUsed: total_server_groups_used
|
2016-05-11 11:57:09 -07:00
|
|
|
- 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
|