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.