getServerProductList
    • PDF

    getServerProductList

    • PDF

    記事の要約

    概要

    NAVERクラウドプラットフォームが提供するサーバスペック商品リストを照会します。

    リクエスト

    リクエストパラメータ

    パラメータ名必須の有無タイプ制限事項説明
    serverImageProductCodeConditionalString最小: 1, 最大: 20- サーバイメージ商品コード
    サーバイメージ商品で作成可能なサーバスペック商品リストを照会
    serverImageProductCodeと memberServerImageNoの2つのパラメータのうち、1つは必ず入力
    サーバイメージ商品コードは getServerImageProductListアクションを通じて取得可能
    例) serverImageProductCode=SPSW0LINUX000032
    exclusionProductCodeNoString最小: 1, 最大: 20- 除外する商品コード
    サーバイメージ商品で作成可能なサーバスペック商品リストから除外するサーバスペック商品コードを入力
    例) serverImageProductCode=SPSW0LINUX000032&exclusionProductCode=SPSVRSSD00000016
    上記の結果として、サーバイメージ商品コードが「SPSW0LINUX000032」のサーバイメージ商品(CentOS 6.3 32bit)で作成可能なサーバスペックのうち、商品コードが「SPSVRSSD00000016」の商品(vCPU 16EA、Memory 32GB、[SSD]Disk 50GB)を除いてリストを照会できる
    productCodeNoString最小: 1, 最大: 20- 照会対象の商品コード
    サーバイメージ商品で作成可能なサーバスペック商品リストのうち、特定のサーバスペック商品コードを入力
    例) serverImageProductCode=SPSW0LINUX000032&productCode=SPSVRSSD00000016
    上記の結果として、サーバイメージ商品コードが「SPSW0LINUX000032」のサーバイメージ商品(CentOS 6.3 32bit)で、商品コードが「SPSVRSSD00000016」の商品(vCPU 16EA、Memory 32GB、[SSD]Disk 50GB)を照会できる
    generationCodeNoString最小: 1, 最大: 20リストで照会する商品世代コードを入力[G1、G2のうち1つ]
    regionNoNoString- リージョン番号
    リージョン番号を取得して照会すると、対応するリージョンで絞り込みできる
    リージョン番号は getRegionListアクションを通じて取得可能
    例) regionNo=10
    zoneNoNoString- ZONE番号
    商品リストが照会される ZONEを決める
    getZoneListアクションを通じて取得可能
    - デフォルト: そのリージョンの最初の ZONEを選択
    例) zoneNo=1
    memberServerImageNoConditionalString- 会員サーバイメージ番号
    EOL OSに対する作成スペックを照会可能
    serverImageProductCodeと memberServerImageNoの2つのパラメータのうち、1つは必ず入力
    serverImageProductCodeと memberServerImageNoを両方入力すると memberServerImageNoを利用して照会
    getMemberServerImageListアクションを通じて取得可能
    responseFormatTypeNoString- レスポンス結果の形式タイプ
    オプション: xml | json
    デフォルト: xml

    レスポンス

    レスポンスボディ

    リクエスト例

    GET {SERVER_API_URL}/getServerProductList
    ?serverImageProductCode=SPSW0LINUX000032
    &productCode=SPSVRSSD00000016
    

    レスポンス例

    <getServerProductListResponse>
      <requestId>9d249902-56f7-4773-b9fd-121445074612</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <productList>
        <product>
          <productCode>SPSVRSSD00000016</productCode>
          <productName>vCPU 16EA, Memory 32GB, [SSD]Disk 50GB</productName>
          <productType>
            <code>STAND</code>
            <codeName>Standard</codeName>
          </productType>
          <productDescription>vCPU 16EA, Memory 32GB, [SSD]Disk 50GB</productDescription>
          <infraResourceType>
            <code>SVR</code>
            <codeName>Server</codeName>
          </infraResourceType>
          <cpuCount>16</cpuCount>
          <memorySize>34359738368</memorySize>
          <baseBlockStorageSize>53687091200</baseBlockStorageSize>
          <osInformation></osInformation>
          <diskType>
            <code>NET</code>
            <codeName>Network Storage</codeName>
          </diskType>
          <dbKindCode></dbKindCode>
          <addBlockStorageSize>0</addBlockStorageSize>
        </product>
      </productList>
      <totalRows>1</totalRows>
    </getServerProductListResponse>
    

    この記事は役に立ちましたか?

    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.