setMemberServerImageSharingPermission
- Print
- PDF
setMemberServerImageSharingPermission
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Can be used in a VPC environment.
Overview
Set sharing permission for member server images.
Request
Request parameter
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | - Region code You can decide the region of the member server image instance to set sharing permission. You can obtain regionCode through the getRegionList action. Default: Selects the first region of the getRegionList search results. | |
memberServerImageInstanceNo | Yes | String | - Member server image instance number You can obtain memberServerImageInstanceNo through the getMemberServerImageInstanceList action. | |
targetLoginIdList.N | No | List | - Target login ID list Specifies the login ID list for targets with whom the member server images will be shared. All the sharing settings will be removed if targetLoginId is not entered. E.g., targetLoginIdList.1=id1@email.com&targetLoginIdList.2=id2@email.com | |
responseFormatType | No | String | - Format type of the response result Options: xml | json Default: xml |
Response
Response body
Examples
Request examples
GET {API_URL}/setMemberServerImageSharingPermission
?memberServerImageInstanceNo=***4605
&targetLoginIdList.1=test-***@naver.com
Response examples
<setMemberServerImageSharingPermissionResponse>
<requestId/>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<memberServerImageInstanceList>
<memberServerImageInstance>
<memberServerImageInstanceNo>***4605</memberServerImageInstanceNo>
<memberServerImageName>test-***</memberServerImageName>
<memberServerImageDescription/>
<originalServerInstanceNo>***4594</originalServerInstanceNo>
<originalServerImageProductCode>SW.VSVR.OS.LNX64.CNTOS.0703.B050</originalServerImageProductCode>
<memberServerImageInstanceStatus>
<code>CREAT</code>
<codeName>NSI CREATED state</codeName>
</memberServerImageInstanceStatus>
<memberServerImageInstanceOperation>
<code>NULL</code>
<codeName>NSI NULLOP</codeName>
</memberServerImageInstanceOperation>
<memberServerImageInstanceStatusName>created</memberServerImageInstanceStatusName>
<createDate>2021-01-15T08:56:24+0900</createDate>
<shareStatus>
<code>SHARE</code>
<codeName>NSI Share SHARE State</codeName>
</shareStatus>
<sharedLoginIdList>
<sharedLoginId>test-***@naver.com</sharedLoginId>
</sharedLoginIdList>
</memberServerImageInstance>
</memberServerImageInstanceList>
</setMemberServerImageSharingPermissionResponse>
Was this article helpful?