python-openstackclient/doc/source/command-objects/domain.rst
Kevin_Zheng 9663424c74 change os in command example to openstack
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: Ic7686257725e1aa8e4e0d65a712eff1c079927a8
2016-12-20 09:03:29 +08:00

1.6 KiB

domain

Identity v3

domain create

Create new domain

domain create

openstack domain create
    [--description <description>]
    [--enable | --disable]
    [--or-show]
    <domain-name>

--description <description>

New domain description

--enable

Enable domain (default)

--disable

Disable domain

--or-show

Return existing domain

If the domain already exists, return the existing domain data and do not fail.

<domain-name>

New domain name

domain delete

Delete domain(s)

domain delete

openstack domain delete
    <domain> [<domain> ...]

<domain>

Domain(s) to delete (name or ID)

domain list

List domains

domain list

openstack domain list

domain set

Set domain properties

domain set

openstack domain set
    [--name <name>]
    [--description <description>]
    [--enable | --disable]
    <domain>

--name <name>

New domain name

--description <description>

New domain description

--enable

Enable domain

--disable

Disable domain

<domain>

Domain to modify (name or ID)

domain show

Display domain details

domain show

openstack domain show
    <domain>

<domain>

Domain to display (name or ID)