summaryrefslogtreecommitdiff
path: root/api-ref/source/limits.inc
blob: 2329c67faaf3f5293dc7def416c28cfabd28b441 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
.. -*- rst -*-

=================
 Limits (limits)
=================

Shows rate and absolute limits for the project.

Show Rate And Absolute Limits
=============================

.. rest_method:: GET /limits

Shows rate and absolute limits for the project.

Normal response codes: 200

Error response codes: unauthorized(401), forbidden(403)

Request
-------

.. rest_parameters:: parameters.yaml

  - reserved: reserved_query
  - tenant_id: tenant_id_query

Response
--------

.. rest_parameters:: parameters.yaml

  - limits: limits
  - absolute: limits_absolutes
  - maxServerGroupMembers: server_group_members
  - maxServerGroups: server_groups
  - maxServerMeta: metadata_items
  - maxTotalCores: cores
  - maxTotalInstances: instances
  - maxTotalKeypairs: key_pairs
  - maxTotalRAMSize: ram
  - totalCoresUsed: total_cores_used
  - totalInstancesUsed: total_instances_used
  - totalRAMUsed: total_ram_used
  - totalServerGroupsUsed: total_server_groups_used
  - maxSecurityGroupRules: security_group_rules_quota
  - maxSecurityGroups: security_groups_quota
  - maxTotalFloatingIps: floating_ips
  - totalFloatingIpsUsed: total_floatingips_used
  - totalSecurityGroupsUsed: total_security_groups_used
  - maxImageMeta: image_metadata_items
  - maxPersonality: injected_files
  - maxPersonalitySize: injected_file_content_bytes
  - rate: limits_rates

**Example Show Rate And Absolute Limits: JSON response**

.. literalinclude:: ../../doc/api_samples/limits/limit-get-resp.json
   :language: javascript