createMemberServerImage
- Print
- PDF
createMemberServerImage
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
Creates member server images.
Request
Request parameters
Parameter | Required | Type | Limitations | Description |
---|---|---|---|---|
memberServerImageName | N | String | Min: 3, Max: 30 | Name of a member server image to create Default: Assigned by Ncloud. |
memberServerImageDescription | N | String | Min: 10, Max: 1000 | Description of a member server image to create. |
serverInstanceNo | Y | String | Server instance number that you want to create an image for. A server that is stopped or running cannot be changed. Get available values by using the getServerInstanceList action. |
Response
Response body
Examples
Request example
GET {SERVER_API_URL}/createMemberServerImage
?serverInstanceNo=1021003
Response example
<createMemberServerImageResponse>
<requestId>8fad00cb-acf9-447f-af28-aa68b4982511</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<memberServerImageList>
<memberServerImage>
<memberServerImageNo>11479</memberServerImageNo>
<memberServerImageName>img16757f2dd96</memberServerImageName>
<memberServerImageDescription></memberServerImageDescription>
<originalServerInstanceNo>1021003</originalServerInstanceNo>
<originalServerProductCode>SPSVRSSD00000003</originalServerProductCode>
<originalServerName>s1669aa4e78c</originalServerName>
<originalBaseBlockStorageDiskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</originalBaseBlockStorageDiskType>
<originalServerImageProductCode>SPSW0LINUX000066</originalServerImageProductCode>
<originalOsInformation>CentOS 7.3 with Tensorflow (64-bit)</originalOsInformation>
<originalServerImageName>tensorflow-centos-7.3-64</originalServerImageName>
<memberServerImageStatusName>creating</memberServerImageStatusName>
<memberServerImageStatus>
<code>INIT</code>
<codeName>NSI INIT state</codeName>
</memberServerImageStatus>
<memberServerImageOperation>
<code>CREAT</code>
<codeName>NSI CREAT OP</codeName>
</memberServerImageOperation>
<memberServerImagePlatformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</memberServerImagePlatformType>
<createDate>2018-11-28T10:33:13+0900</createDate>
<region>
<regionNo>1</regionNo>
<regionCode>KR</regionCode>
<regionName>Korea</regionName>
</region>
<memberServerImageBlockStorageTotalRows>0</memberServerImageBlockStorageTotalRows>
<memberServerImageBlockStorageTotalSize>0</memberServerImageBlockStorageTotalSize>
<shareStatus>
<code>NULL</code>
<codeName>NSI Share NULL State</codeName>
</shareStatus>
<sharedLoginIdList/>
</memberServerImage>
</memberServerImageList>
</createMemberServerImageResponse>
Error codes
Errors that may occur while using this action are listed below. For information on common errors, refer to NAVER Cloud Platform API.
HTTP response code | Return code | Return message |
---|---|---|
400 | 10300 | Instance name is already in use. please use other name. |
400 | 10703 | Unable to create my server image. Local disk server does not allow creating my server image when there is additional storage. Please submit additional storage to proceed. |
400 | 10704 | You may not create local disk server with persistent disk server image. |
400 | 10705 | You can only create server with identical spec with local disk server image. |
400 | 24103 | Input parameter value is invalid. The minimum length of the name is 3 bytes and the maximum, 30 bytes. |
400 | 24105 | Input parameter value is invalid. The name must contain only lower case letters, digits, and hyphen('-'); it must start with a letter and end with a letter or digit. |
400 | 24109 | The input parameter instance number is invalid |
400 | 24300 | The length constraints of the parameter description (memo) were violated. The minimum length is 0 byte, the maximum, 1,000 bytes. |
400 | 25008 | Unable to create server image since server is either not in suspended status or in operation. |
400 | 25036 | The server is currently being operated. So a server image is unable to be created from the server. |
400 | 25097 | My Server image is being copied. Please retry it after copying the image has been finished. |
Was this article helpful?