2016-09-17 01:12:40 -04:00
|
|
|
.. -*- rst -*-
|
|
|
|
|
|
|
|
Limits (limits)
|
|
|
|
===============
|
|
|
|
|
2017-01-09 11:51:06 +08:00
|
|
|
Shows absolute limits for a project.
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
An absolute limit value of ``-1`` indicates that the absolute limit
|
|
|
|
for the item is infinite.
|
|
|
|
|
|
|
|
|
2017-01-09 11:51:06 +08:00
|
|
|
Show absolute limits for project
|
2017-02-02 15:56:50 -06:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2016-09-17 01:12:40 -04:00
|
|
|
|
2017-01-09 11:51:06 +08:00
|
|
|
.. rest_method:: GET /v3/{project_id}/limits
|
2016-09-17 01:12:40 -04:00
|
|
|
|
2017-01-09 11:51:06 +08:00
|
|
|
Shows absolute limits for a project.
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
An absolute limit value of ``-1`` indicates that the absolute limit
|
|
|
|
for the item is infinite.
|
|
|
|
|
|
|
|
|
|
|
|
Normal response codes: 200
|
2017-08-29 16:07:03 -05:00
|
|
|
|
2017-12-12 16:49:31 +08:00
|
|
|
Error response codes: forbidden(403)
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
Request
|
|
|
|
-------
|
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
2017-01-09 11:51:06 +08:00
|
|
|
- project_id: project_id_path
|
2016-09-17 01:12:40 -04:00
|
|
|
|
|
|
|
Response Parameters
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
2017-08-29 16:07:03 -05:00
|
|
|
- limits: limits
|
|
|
|
- rate: rate
|
|
|
|
- absolute: absolute
|
2016-09-17 01:12:40 -04:00
|
|
|
- totalSnapshotsUsed: totalSnapshotsUsed
|
|
|
|
- maxTotalBackups: maxTotalBackups
|
|
|
|
- maxTotalVolumeGigabytes: maxTotalVolumeGigabytes
|
|
|
|
- maxTotalSnapshots: maxTotalSnapshots
|
|
|
|
- maxTotalBackupGigabytes: maxTotalBackupGigabytes
|
|
|
|
- totalBackupGigabytesUsed: totalBackupGigabytesUsed
|
|
|
|
- maxTotalVolumes: maxTotalVolumes
|
|
|
|
- totalVolumesUsed: totalVolumesUsed
|
|
|
|
- totalBackupsUsed: totalBackupsUsed
|
|
|
|
- totalGigabytesUsed: totalGigabytesUsed
|
|
|
|
|
|
|
|
Response Example
|
|
|
|
----------------
|
|
|
|
|
|
|
|
.. literalinclude:: ./samples/limits-show-response.json
|
|
|
|
:language: javascript
|