setMemberServerImageSharingPermission
- Print
- PDF
setMemberServerImageSharingPermission
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Can be used in a Classic environment.
Overview
Sets sharing permission for member server images.
Description
Sets sharing permission for member server images.
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 | No | List<String> | - 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 "id1@email.com" targetLoginIdList "id2@email.com" |
Response data type
- MemberServerImageList type
MemberServerImageList extends CommonResponse |
---|
private Integer totalRows; |
private List |
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 setMemberServerImageSharingPermission --memberServerImageNo ***112 --targetLoginIdList "test-***@naver.com"
Response
{
"setMemberServerImageSharingPermissionResponse": {
"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": "SHARE",
"codeName": "NSI Share SHARE State"
},
"sharedLoginIdList": [
"test-***@naver.com"
]
}
]
}
}
<setMemberServerImageSharingPermissionResponse>
<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>SHARE</code>
<codeName>NSI Share SHARE State</codeName>
</shareStatus>
<sharedLoginIdList>
<sharedLoginId>test-***@naver.com</sharedLoginId>
</sharedLoginIdList>
</memberServerImage>
</memberServerImageList>
</setMemberServerImageSharingPermissionResponse>
Was this article helpful?