summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorchengkunye <chengkun@unitedstack.com>2015-07-16 17:32:42 +0800
committerSteve Martinelli <stevemar@ca.ibm.com>2015-07-20 10:38:42 -0700
commit7bb459837bf8023cbc71cbf41007f8aa4c4725fb (patch)
treedbd44e8ff55d7889fd8988a7613a2a061f2a5d47 /doc/source/command-objects
parent1af89f757c1edf44067de964cb6ca8dffbb1969e (diff)
downloadpython-openstackclient-7bb459837bf8023cbc71cbf41007f8aa4c4725fb.tar.gz
add image member commands for image API
This commit adds the following commands: image project add image project remove Closes-Bug: 1402420 Change-Id: I07954e9fa43a3ad6078dd939ecedf9f038299e7b
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/image.rst54
1 files changed, 54 insertions, 0 deletions
diff --git a/doc/source/command-objects/image.rst b/doc/source/command-objects/image.rst
index 824d4930..c4b24233 100644
--- a/doc/source/command-objects/image.rst
+++ b/doc/source/command-objects/image.rst
@@ -322,3 +322,57 @@ Display image details
.. describe:: <image>
Image to display (name or ID)
+
+image add project
+-----------------
+
+*Only supported for Image v2*
+
+Associate project with image
+
+.. progran:: image add project
+.. code:: bash
+
+ os image add project
+ [--project-domain <project-domain>]
+ <image> <project>
+
+.. option:: --project-domain <project-domain>
+
+ Domain the project belongs to (name or ID).
+ This can be used in case collisions between project names exist.
+
+.. describe:: <image>
+
+ Image to share (name or ID).
+
+.. describe:: <project>
+
+ Project to associate with image (name or ID)
+
+image remove project
+--------------------
+
+*Only supported for Image v2*
+
+Disassociate project with image
+
+.. progran:: image remove project
+.. code:: bash
+
+ os image remove remove
+ [--project-domain <project-domain>]
+ <image> <project>
+
+.. option:: --project-domain <project-domain>
+
+ Domain the project belongs to (name or ID).
+ This can be used in case collisions between project names exist.
+
+.. describe:: <image>
+
+ Image to unshare (name or ID).
+
+.. describe:: <project>
+
+ Project to disassociate with image (name or ID)