MENU
      getServerProductList
        • PDF

        getServerProductList

        • PDF

        記事の要約

        VPC環境で利用できます。

        概要

        サーバイメージ商品コードを利用して NAVERクラウドプラットフォームで提供するサーバスペックの商品リストを照会します。

        リクエスト

        リクエストパラメータ

        パラメータ名要否タイプ制約事項説明
        regionCodeNoString- リージョンコード
        サーバ商品リストを照会するリージョン(Region)を決定できる
        regionCodeは、getRegionListアクションを通じて取得できる
        Default: getRegionList照会結果の最初のリージョンを選択する
        zoneCodeNoString- ZONEコード
        サーバ商品のリストを照会するゾーン(zone)を決定できる
        zoneCodeは、getZoneListアクションを通じて取得できる
        serverImageProductCodeConditionalString- サーバイメージ商品コード
        サーバイメージ商品で作成できるサーバスペックの商品リストを照会する
        serverImageProductCode or memberServerImageInstanceNoの2つのパラメータのうち1つのパラメータは必須項目
        serverImageProductCodeは、getServerImageProductListアクションを通じて取得できる
        exclusionProductCodeNoString- 除外する商品コード
        exclusionProductCodeは、getServerProductListアクションを通じて取得できる
        productCodeNoString- 照会する商品コード
        productCodeは、getServerProductListアクションを通じて取得できる
        generationCodeNoString- 世代コード
        世代コードでフィルタリングして検索できる
        Options : G1 | G2
        memberServerImageInstanceNoConditionalString- 会員サーバイメージのインスタンス番号
        EOL OSに対する作成スペック照会できる
        serverImageProductCode or memberServerImageInstanceNoの2つのパラメータのうち1つのパラメータは必須項目
        serverImageProductCodeと memberServerImageInstanceNoを全て入力時 memberServerImageInstanceNoを利用して照会する
        getMemberServerImageInstanceListアクションを通じて取得できる
        responseFormatTypeNoString- レスポンス結果のフォーマットタイプ
        Options : xml | json
        Default : xml

        レスポンス

        レスポンスボディ

        リクエスト例

        GET {API_URL}/vserver/v2/getServerProductList
        ?regionCode=KR
        &zoneCode=KR-1
        &serverImageProductCode=SW.VSVR.OS.LNX64.CNTOS.0703.B050
        &exclusionProductCode=SVR.VSVR.HIMEM.C016.M064.NET.HDD.B050.G001
        &productCode=SVR.VSVR.STAND.C002.M004.NET.HDD.B050.G001
        &generationCode=G1
        HTTP

        レスポンス例

        <getServerProductListResponse>
          <requestId>23fce239-4517-4e95-84c8-60fdd43a2e7e</requestId>
          <returnCode>0</returnCode>
          <returnMessage>success</returnMessage>
          <totalRows>1</totalRows>
          <productList>
            <product>
              <productCode>SVR.VSVR.STAND.C002.M004.NET.HDD.B050.G001</productCode>
              <productName>vCPU 2EA, Memory 4GB, Disk 50GB</productName>
              <productType>
                <code>STAND</code>
                <codeName>Standard</codeName>
              </productType>
              <productDescription> vCPU 2個、メモリ 4GB、ディスク 50GB</productDescription>
              <infraResourceType>
                <code>VSVR</code>
                <codeName>Server (VPC)</codeName>
              </infraResourceType>
              <cpuCount>2</cpuCount>
              <memorySize>4294967296</memorySize>
              <baseBlockStorageSize>53687091200</baseBlockStorageSize>
              <osInformation></osInformation>
              <diskType>
                <code>NET</code>
                <codeName>Network Storage</codeName>
              </diskType>
              <dbKindCode></dbKindCode>
              <addBlockStorageSize>0</addBlockStorageSize>
              <generationCode>G1</generationCode>
            </product>
          </productList>
        </getServerProductListResponse>
        XML

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

        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.