summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/usage.rst
blob: 0c866086dd99b1416ed5e97ddcce09e1bdbe2a1b (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
=====
usage
=====

Compute v2

usage list
----------

List resource usage per project

.. program:: usage list
.. code:: bash

    os 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

    os 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)