Change disclosure scope of clone image

Description

Changes the disclosure scope of a clone image.

The types of images for which the disclosure scope can be changed are as follows:

- Private images of own project that are disclosed inside the domain.

- Private images that are only disclosed inside the project.

Request

Header

Content-Type: application/x-www-form-urlencoded

Accept: application/xml

X-Auth-Token: Keystone token (*1)

X-VA-Project-Id: ID of the project that owns the resource (*2)

X-VA-Domain-Id: ID of the domain that owns the resource (*2)

*1: The scope specified for the token is ignored when this API is executed by the system administrator.

*2: Mandatory when this API is executed by the system administrator. ignored when executed by other users.

Method

PUT

Path

/server_images/cloneImageName/move

Query

n/a

Body

Argument name Description
scope
  • To change the disclosure scope of a clone image to inside the domain

    Specify "domain".

  • To change the disclosure scope of a clone image to inside the project

    Specify "private".

Response

Status code

202 Accepted

Body

Returns information on tasks executed by each availability zone.

However, <resource id="resourceId"/> is not displayed.


       <tasks>
       <task>
       <id>taskId</id>
       <status>waiting</status>
       <progress>0</progress>
       <starttime>startTime</starttime>
       <AvailabilityZone>availabilityZoneName</AvailabilityZone>
       </task>
       <task>
       <id>taskId</id>
             ...
             </task>
             </tasks>