Huanxuan Ao 60639d76a7 Support bulk deletion for delete commands in identityv3
Support bulk deletion for delete commands in the list below
identity/v3/consumer
identity/v3/credential
identity/v3/domain
identity/v3/ec2creds
identity/v3/endpoint
identity/v3/federation_protocol
identity/v3/identity_provider
identity/v3/mapping
identity/v3/policy
identity/v3/region
identity/v3/service_provider
identity/v3/service

The unit test in identityv3 need to be refactored, so I add
some functional tests instead. I will add all unit tests at
one time after the refactor completed.

Change-Id: I82367570f59817b47c87b6c7bfeae95ccfe5c50e
Closes-Bug: #1592906
2016-07-19 09:49:36 +08:00

105 lines
1.5 KiB
ReStructuredText

======
region
======
Identity v3
region create
-------------
Create new region
.. program:: region create
.. code:: bash
os region create
[--parent-region <region-id>]
[--description <description>]
<region-id>
.. option:: --parent-region <region-id>
Parent region ID
.. option:: --description <description>
New region description
.. _region_create-region-id:
.. describe:: <region-id>
New region ID
region delete
-------------
Delete region(s)
.. program:: region delete
.. code:: bash
os region delete
<region-id> [<region-id> ...]
.. _region_delete-region-id:
.. describe:: <region-id>
Region ID(s) to delete
region list
-----------
List regions
.. program:: region list
.. code:: bash
os region list
[--parent-region <region-id>]
.. option:: --parent-region <region-id>
Filter by parent region ID
region set
----------
Set region properties
.. program:: region set
.. code:: bash
os region set
[--parent-region <region-id>]
[--description <description>]
<region-id>
.. option:: --parent-region <region-id>
New parent region ID
.. option:: --description <description>
New region description
.. _region_set-region-id:
.. describe:: <region-id>
Region to modify
region show
-----------
Display region details
.. program:: region show
.. code:: bash
os region show
<region-id>
.. _region_show-region-id:
.. describe:: <region-id>
Region to display