python-openstackclient/doc/source/command-objects/domain.rst
Steve Martinelli 019c155e9b Fine tune some of the helps commands
try and add some consistency with the show and delete commands.

replace 'show x' with 'display x'
change 'delete a y' with just 'delete y'

Change-Id: I47dfa8ee23ac5c41b355796415eb515155832f65
2015-01-13 00:58:57 -05:00

116 lines
1.5 KiB
ReStructuredText

======
domain
======
Identity v3
domain create
-------------
Create new domain
.. program:: domain create
.. code:: bash
os domain create
[--description <description>]
[--enable | --disable]
[--or-show]
<domain-name>
.. option:: --description <description>
New domain description
.. option:: --enable
Enable domain (default)
.. option:: --disable
Disable domain
.. option:: --or-show
Return existing domain
If the domain already exists, return the existing domain data and do not fail.
.. describe:: <domain-name>
New domain name
domain delete
-------------
Delete domain
.. program:: domain delete
.. code:: bash
os domain delete
<domain>
.. describe:: <domain>
Domain to delete (name or ID)
domain list
-----------
List domains
.. program:: domain list
.. code:: bash
os domain list
domain set
----------
Set domain properties
.. program:: domain set
.. code:: bash
os domain set
[--name <name>]
[--description <description>]
[--enable | --disable]
<domain>
.. option:: --name <name>
New domain name
.. option:: --description <description>
New domain description
.. option:: --enable
Enable domain
.. option:: --disable
Disable domain
.. describe:: <domain>
Domain to modify (name or ID)
domain show
-----------
Display domain details
.. program:: domain show
.. code:: bash
os domain show
<domain>
.. describe:: <domain>
Domain to display (name or ID)