removeMemberServerImageSharingPermission
- Print
- PDF
removeMemberServerImageSharingPermission
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Can be used in a Classic environment.
Overview
Removes sharing permission for member server images.
Request
Request parameter
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
memberServerImageNo | Yes | String | - Member server image number You can obtain memberServerImageNo through the getMemberServerImageList action. | |
targetLoginIdList.N | Yes | List<String> | - Target login ID list Specifies the login ID list of targets to remove E.g., --targetLoginIdList "id1@email.com" "id2@email.com" |
Response
Response data type
- MemberServerImageList type
MemberServerImageList extends CommonResponse |
---|
private Integer totalRows; |
private List<MemberServerImage> memberServerImageList = new ArrayList |
MemberServerImage |
---|
private String memberServerImageNo; |
private String memberServerImageName; |
private String memberServerImageDescription; |
private String originalServerInstanceNo; |
private String originalServerProductCode; |
private String originalServerName; |
private CommonCode originalBaseBlockStorageDiskType; |
private String originalServerImageProductCode; |
private String originalOsInformation; |
private String originalServerImageName; |
private String memberServerImageStatusName; |
private CommonCode memberServerImageStatus; |
private CommonCode memberServerImageOperation; |
private CommonCode memberServerImagePlatformType; |
private Region region; |
private Zone zone; |
private Date createDate; |
private Integer memberServerImageBlockStorageTotalRows; |
private Long memberServerImageBlockStorageTotalSize; |
private CommonCode shareStatus; |
private SharedLoginIdList sharedLoginIdList; |
Examples
Call
ncloud server removeMemberServerImageSharingPermission --memberServerImageNo ***112 --targetLoginIdList "test-***@naver.com"
Response
{
"removeMemberServerImageSharingPermissionResponse": {
"requestId": "1800b9df-e185-48c5-963a-3336d05b7d51",
"returnCode": "0",
"returnMessage": "success",
"totalRows": 1,
"memberServerImageList": [
{
"memberServerImageNo": "***112",
"memberServerImageName": "test-***",
"memberServerImageDescription": "",
"originalServerInstanceNo": "***5058",
"originalServerProductCode": "SPSVRSSD00000003",
"originalServerName": "test-***",
"originalBaseBlockStorageDiskType": {
"code": "NET",
"codeName": "Network Storage"
},
"originalServerImageProductCode": "SPSW0LINUX000046",
"originalOsInformation": "CentOS 7.3 (64-bit)",
"originalServerImageName": "centos-7.3-64",
"memberServerImageStatusName": "created",
"memberServerImageStatus": {
"code": "CREAT",
"codeName": "NSI CREATED state"
},
"memberServerImageOperation": {
"code": "NULL",
"codeName": "NSI NULLOP"
},
"memberServerImagePlatformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"createDate": "2021-06-30T18:58:51+0900",
"region": {
"regionNo": "1",
"regionCode": "KR",
"regionName": "Korea"
},
"memberServerImageBlockStorageTotalRows": 1,
"memberServerImageBlockStorageTotalSize": 53687091200,
"shareStatus": {
"code": "NULL",
"codeName": "NSI Share NULL State"
},
"sharedLoginIdList": []
}
]
}
}
<removeMemberServerImageSharingPermissionResponse>
<requestId>1800b9df-e185-48c5-963a-3336d05b7d51</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<memberServerImageList>
<memberServerImage>
<memberServerImageNo>***112</memberServerImageNo>
<memberServerImageName>test-***</memberServerImageName>
<memberServerImageDescription/>
<originalServerInstanceNo>***5058</originalServerInstanceNo>
<originalServerProductCode>SPSVRSSD00000003</originalServerProductCode>
<originalServerName>test-***</originalServerName>
<originalBaseBlockStorageDiskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</originalBaseBlockStorageDiskType>
<originalServerImageProductCode>SPSW0LINUX000046</originalServerImageProductCode>
<originalOsInformation>CentOS 7.3 (64-bit)</originalOsInformation>
<originalServerImageName>centos-7.3-64</originalServerImageName>
<memberServerImageStatusName>created</memberServerImageStatusName>
<memberServerImageStatus>
<code>CREAT</code>
<codeName>NSI CREATED state</codeName>
</memberServerImageStatus>
<memberServerImageOperation>
<code>NULL</code>
<codeName>NSI NULLOP</codeName>
</memberServerImageOperation>
<memberServerImagePlatformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</memberServerImagePlatformType>
<createDate>2021-06-30T18:58:51+0900</createDate>
<region>
<regionNo>1</regionNo>
<regionCode>KR</regionCode>
<regionName>Korea</regionName>
</region>
<memberServerImageBlockStorageTotalRows>1</memberServerImageBlockStorageTotalRows>
<memberServerImageBlockStorageTotalSize>53687091200</memberServerImageBlockStorageTotalSize>
<shareStatus>
<code>NULL</code>
<codeName>NSI Share NULL State</codeName>
</shareStatus>
<sharedLoginIdList/>
</memberServerImage>
</memberServerImageList>
</removeMemberServerImageSharingPermissionResponse>
Was this article helpful?