summaryrefslogtreecommitdiff
path: root/doc/source/cli/command-objects
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-07-25 00:52:42 +0000
committerGerrit Code Review <review@openstack.org>2018-07-25 00:52:42 +0000
commit6469d86522f16a12e3437b70dc5f68a67314c691 (patch)
treee0299f3e87342fb1634ed07bab627793fafc4ea2 /doc/source/cli/command-objects
parentd177727a6e51500170338b4fd5a7e98179ff968f (diff)
parent735896eb1ad4543823008693c9d337691512f8bf (diff)
downloadpython-openstackclient-6469d86522f16a12e3437b70dc5f68a67314c691.tar.gz
Merge "Implement support for project limits"
Diffstat (limited to 'doc/source/cli/command-objects')
-rw-r--r--doc/source/cli/command-objects/limit.rst128
1 files changed, 128 insertions, 0 deletions
diff --git a/doc/source/cli/command-objects/limit.rst b/doc/source/cli/command-objects/limit.rst
new file mode 100644
index 00000000..71cf2a42
--- /dev/null
+++ b/doc/source/cli/command-objects/limit.rst
@@ -0,0 +1,128 @@
+=====
+limit
+=====
+
+Identity v3
+
+Limits are used to specify project-specific limits thresholds of resources.
+
+limit create
+------------
+
+Create a new limit
+
+.. program:: limit create
+.. code:: bash
+
+ openstack limit create
+ [--description <description>]
+ [--region <region>]
+ --project <project>
+ --service <service>
+ --resource-limit <resource-limit>
+ <resource-name>
+
+.. option:: --description <description>
+
+ Useful description of the limit or its purpose
+
+.. option:: --region <region>
+
+ Region that the limit should be applied to
+
+.. describe:: --project <project>
+
+ The project that the limit applies to (required)
+
+.. describe:: --service <service>
+
+ The service that is responsible for the resource being limited (required)
+
+.. describe:: --resource-limit <resource-limit>
+
+ The limit to apply to the project (required)
+
+.. describe:: <resource-name>
+
+ The name of the resource to limit (e.g. cores or volumes)
+
+limit delete
+------------
+
+Delete project-specific limit(s)
+
+.. program:: limit delete
+.. code:: bash
+
+ openstack limit delete
+ <limit-id> [<limit-id> ...]
+
+.. describe:: <limit-id>
+
+ Limit(s) to delete (ID)
+
+limit list
+----------
+
+List project-specific limits
+
+.. program:: limit list
+.. code:: bash
+
+ openstack limit list
+ [--service <service>]
+ [--resource-name <resource-name>]
+ [--region <region>]
+
+.. option:: --service <service>
+
+ The service to filter the response by (name or ID)
+
+.. option:: --resource-name <resource-name>
+
+ The name of the resource to filter the response by
+
+.. option:: --region <region>
+
+ The region name to filter the response by
+
+limit show
+----------
+
+Display details about a limit
+
+.. program:: limit show
+.. code:: bash
+
+ openstack limit show
+ <limit-id>
+
+.. describe:: <limit-id>
+
+ Limit to display (ID)
+
+limit set
+---------
+
+Update a limit
+
+.. program:: limit show
+.. code:: bash
+
+ openstack limit set
+ [--description <description>]
+ [--resource-limit <resource-limit>]
+ <limit-id>
+
+
+.. option:: --description <description>
+
+ Useful description of the limit or its purpose
+
+.. option:: --resource-limit <resource-limit>
+
+ The limit to apply to the project
+
+.. describe:: <limit-id>
+
+ Limit to update (ID)