diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-07-20 19:56:32 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-07-20 19:56:32 +0000 |
| commit | 061e0a36700d0ed1d9711d54d3cd0a0486ca701a (patch) | |
| tree | 29e4a750eacefd45c60953415300ec391b2dc2ac /doc/source/command-objects | |
| parent | 07248b3642926b0329fd0c060822f3c6e3ced62a (diff) | |
| parent | 7bb459837bf8023cbc71cbf41007f8aa4c4725fb (diff) | |
| download | python-openstackclient-061e0a36700d0ed1d9711d54d3cd0a0486ca701a.tar.gz | |
Merge "add image member commands for image API"
Diffstat (limited to 'doc/source/command-objects')
| -rw-r--r-- | doc/source/command-objects/image.rst | 54 |
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) |
