summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-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)