python-openstackclient/doc/source/command-objects/usage.rst
Kevin_Zheng 446e6f2fa8 change os in command example to openstack(3)
In the current doc, the command examples are like
"os server create" but the acutal command should
be started with "openstack" instead of "os", it
is misleading to first time users.

Change-Id: Ie67c0152d8ff8b7c456f91dc8b9a9164437ee9d1
2016-12-20 09:26:15 +08:00

51 lines
849 B
ReStructuredText

=====
usage
=====
Compute v2
usage list
----------
List resource usage per project
.. program:: usage list
.. code:: bash
openstack usage list
[--start <start>]
[--end <end>]
.. option:: --start <start>
Usage range start date, ex 2012-01-20 (default: 4 weeks ago)
.. option:: --end <end>
Usage range end date, ex 2012-01-20 (default: tomorrow)
usage show
----------
Show resource usage for a single project
.. program:: usage show
.. code:: bash
openstack usage show
[--project <project>]
[--start <start>]
[--end <end>]
.. option:: --project <project>
Name or ID of project to show usage for
.. option:: --start <start>
Usage range start date, ex 2012-01-20 (default: 4 weeks ago)
.. option:: --end <end>
Usage range end date, ex 2012-01-20 (default: tomorrow)