createMemberServerImage
- 인쇄
- PDF
createMemberServerImage
- 인쇄
- PDF
기사 요약
이 요약이 도움이 되었나요?
의견을 보내 주셔서 감사합니다.
개요
회원의 서버이미지를 생성합니다.
요청
요청 파라미터
파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
---|---|---|---|---|
memberServerImageName | No | String | Min : 3, Max : 30 | - 생성할 회원 서버 이미지명 default : Ncloud가 기본값으로 배정 |
memberServerImageDescription | No | String | Min : 10, Max : 1000 | 생성할 회원 서버 이미지에 대한 설명 |
serverInstanceNo | Yes | String | - 이미지를 생성할 대상이 되는 서버 인스턴스 번호 중지/운영중 상태의 서버만 가능 serverInstanceNo는 getServerInstanceList 액션을 통해 획득 가능 |
응답
응답 바디
예시
요청 예시
GET {SERVER_API_URL}/createMemberServerImage
?serverInstanceNo=1021003
응답 예시
<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>
오류 코드
아래 오류 코드는 이 액션(Action)에서 특징적으로 발생하는 오류입니다. 공통적으로 발생하는 오류에 대한 상세한 설명은 NAVER Cloud Platform API를 참고해주세요
HTTP Response Code | 리턴 코드 | 리턴 메시지 |
---|---|---|
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. |
이 문서가 도움이 되었습니까?