removeMemberServerImageSharingPermission
- Print
- PDF
removeMemberServerImageSharingPermission
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Overview
Removes sharing permission for member server images.
Caution
Images within the KVM server are not supported.
Requests
Request parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | - Region code Decides the Region for the member server image instance to remove sharing permission regionCode can be obtained through the getRegionList action Default: select the first Region shown in the getRegionList search results | |
memberServerImageInstanceNo | Yes | String | - Member server image instance number memberServerImageInstanceNo can be obtained through the getMemberServerImageInstanceList action | |
targetLoginIdList.N | Yes | List<String> | - Target login ID list Specifies the login ID list of targets to remove ex) --targetLoginIdList "id1@email.com" "id2@email.com" |
Responses
Response data type
- MemberServerImageInstanceList type
MemberServerImageInstanceList extends CommonResponse |
---|
private Integer totalRows; |
private List<MemberServerImageInstance> memberServerImageInstanceList = new ArrayList<>(); |
MemberServerImageInstance |
---|
private String memberServerImageInstanceNo; |
private String memberServerImageName; |
private String memberServerImageDescription; |
private String originalServerInstanceNo; |
private String originalServerImageProductCode; |
private CommonCode memberServerImageInstanceStatus; |
private CommonCode memberServerImageInstanceOperation; |
private String memberServerImageInstanceStatusName; |
private Date createDate; |
private Integer memberServerImageBlockStorageTotalRows; |
private Long memberServerImageBlockStorageTotalSize; |
private CommonCode shareStatus; |
private SharedLoginIdList sharedLoginIdList; |
Examples
Request examples
ncloud vserver removeMemberServerImageSharingPermission --memberServerImageInstanceNo ***4605 --targetLoginIdList "test-***@naver.com"
Response examples
<removeMemberServerImageSharingPermissionResponse>
<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>NULL</code>
<codeName>NSI Share NULL State</codeName>
</shareStatus>
<sharedLoginIdList/>
</memberServerImageInstance>
</memberServerImageInstanceList>
</removeMemberServerImageSharingPermissionResponse>
Was this article helpful?