createMemberServerImage
    • PDF

    createMemberServerImage

    • PDF

    기사 요약

    개요

    회원의 서버이미지를 생성합니다.

    요청

    요청 파라미터

    파라미터 명필수 여부타입제약사항설명
    memberServerImageNameNoStringMin : 3, Max : 30- 생성할 회원 서버 이미지명
    default : Ncloud가 기본값으로 배정
    memberServerImageDescriptionNoStringMin : 10,
    Max : 1000
    생성할 회원 서버 이미지에 대한 설명
    serverInstanceNoYesString- 이미지를 생성할 대상이 되는 서버 인스턴스 번호
    중지/운영중 상태의 서버만 가능
    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리턴 코드리턴 메시지
    40010300Instance name is already in use. please use other name.
    40010703Unable 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.
    40010704You may not create local disk server with persistent disk server image.
    40010705You can only create server with identical spec with local disk server image.
    40024103Input parameter value is invalid. The minimum length of the name is 3 bytes and the maximum, 30 bytes.
    40024105Input 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.
    40024109The input parameter instance number is invalid
    40024300The length constraints of the parameter description (memo) were violated. The minimum length is 0 byte, the maximum, 1,000 bytes.
    40025008Unable to create server image since server is either not in suspended status or in operation.
    40025036The server is currently being operated. So a server image is unable to be created from the server.
    40025097My Server image is being copied. Please retry it after copying the image has been finished.

    이 문서가 도움이 되었습니까?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.