addServerImageSharingPermission
- Print
- PDF
addServerImageSharingPermission
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Overview
Adds sharing permission for server images.
Requests
Request parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | - Region code Decides the Region of the member server image instance to add the sharing permission for regionCode can be obtained through the getRegionList action Default: select the first Region shown in the getRegionList search results | |
serverImageNo | Yes | String | - Server image number serverImageNo can be obtained through the getServerImageList action | |
targetLoginIdList.N | Yes | List<String> | - Target login ID list Specifies the login ID list for targets with whom the member server images will be shared ex) targetLoginIdList.1=id1@email.com&targetLoginIdList.2=id2@email.com | |
responseFormatType | No | String | - Format type of responses Options : xml | json Default : xml |
Responses
Response bodies
Examples
Request examples
GET {API_URL}/addServerImageSharingPermission
?serverImageNo=***4605
&targetLoginIdList.1=test-***@naver.com
Response examples
<getServerImageListResponse>
<requestId></requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<serverImageList>
<serverImage>
<serverImageNo>***5847</serverImageNo>
<serverImageName>test-***</serverImageName>
<serverImageDescription></serverImageDescription>
<serverImageType>
<code>NCP</code>
<codeName>NCP Server Image</codeName>
</serverImageType>
<hypervisorType>
<code>XEN</code>
<codeName>XEN</codeName>
</hypervisorType>
<cpuArchitectureType>
<code>X86_64</code>
<codeName>x86 64bit</codeName>
</cpuArchitectureType>
<osCategoryType>
<code>LINUX</code>
<codeName>LINUX</codeName>
</osCategoryType>
<osType>
<code>CENTOS</code>
<codeName>CENTOS</codeName>
</osType>
<productCode>SW.VSVR.OS.LNX64.CNTOS.0703.B050</productCode>
<serverImageStatus>
<code>CREAT</code>
<codeName>Server created state</codeName>
</serverImageStatus>
<serverImageOperation>
<code>NULL</code>
<codeName>NULL OP</codeName>
</serverImageOperation>
<serverImageStatusName>created</serverImageStatusName>
<createDate>2020-08-24T10:34:27+0900</createDate>
<blockStorageMappingList>
<blockStorageMapping>
<order>0</order>
<blockStorageSize>53687091200</blockStorageSize>
<blockStorageVolumeType>
<code>HDD</code>
<codeName>HDD</codeName>
</blockStorageVolumeType>
<isEncryptedVolume>false</isEncryptedVolume>
</blockStorageMapping>
</blockStorageMappingList>
<shareStatus>
<code>SHARE</code>
<codeName>NSI Share SHARE State</codeName>
</shareStatus>
<sharedLoginIdList>
<sharedLoginId>test-***@naver.com</sharedLoginId>
</sharedLoginIdList>
</serverImage>
</serverImageList>
</getServerImageListResponse>
Was this article helpful?