getServerImageProductList
    • PDF

    getServerImageProductList

    • PDF

    Article Summary

    VPC環境で利用できます。

    概要

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

    リクエスト

    リクエストパラメータ

    パラメータ名要否タイプ制約事項説明
    regionCodeNoString- リージョンコード
    サーバイメージ商品リストが照会されるリージョン(Region)を決定可能
    regionCodeは getRegionListアクションを通じて取得可能
    Default : getRegionList照会結果の最初のリージョンを選択
    blockStorageSizeNoInteger- ブロックストレージサイズ
    サーバイメージの基本ブロックストレージサイズでフィルタリングして検索可能
    Options : 50 | 100GB
    exclusionProductCodeNoString- 除外する商品コード
    exclusionProductCodeは getServerImageProductListアクションを通じて取得可能
    productCodeNoString- 照会する商品コード
    productCodeは getServerImageProductListアクションを通じて取得可能
    platformTypeCodeList.NNoList<String>- プラットフォームのタイプコードリスト
    プラットフォームのタイプでフィルタリングして検索可能
    Options : LNX32 | LNX64 | WND32 | WND64 | UBD64 | UBS64
    ex) --platformTypeCodeList LNX32 LNX64
    infraResourceDetailTypeCodeNoStringインフラリソースの詳細タイプコード
    特定タイプのイメージを照会
    現在は BareMetalのみ照会可能
    Options : BM (BareMetal)
    Default : BMを除くタイプ
    ex) --infraResourceDetailTypeCode BM

    レスポンス

    レスポンスデータのタイプ

    • ProductListのタイプ
    ProductList extends CommonResponse
    private Integer totalRows;
    private List productList = new ArrayList<>();
    Product
    private String productCode;
    private String productName;
    private CommonCode productType;
    private String productDescription;
    private CommonCode infraResourceType;
    private CommonCode infraResourceDetailType;
    private Integer cpuCount;
    private Long memorySize;
    private Long baseBlockStorageSize;
    private CommonCode platformType;
    private String osInformation;
    private CommonCode diskType;
    private String dbKindCode;
    private Long addBlockStorageSize;
    private String generationCode;

    リクエスト例

    ncloud vserver getServerImageProductList --regionCode KR --blockStorageSize 50 --exclusionProductCode SW.VSVR.DBMS.LNX64.CNTOS.0606.PSTGR.0904.B050 --productCode SW.VSVR.OS.LNX64.CNTOS.0703.B050 --platformTypeCodeList LNX64 WND64
    

    レスポンス例

    <getServerImageProductListResponse>
      <requestId>c389ef63-aa90-4d3f-a875-f9166ae9c249</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <productList>
        <product>
          <productCode>SW.VSVR.OS.LNX64.CNTOS.0703.B050</productCode>
          <productName>centos-7.3-64</productName>
          <productType>
            <code>LINUX</code>
            <codeName>Linux</codeName>
          </productType>
          <productDescription>CentOS 7.3 (64-bit)</productDescription>
          <infraResourceType>
            <code>SW</code>
            <codeName>Software</codeName>
          </infraResourceType>
          <cpuCount>0</cpuCount>
          <memorySize>0</memorySize>
          <baseBlockStorageSize>53687091200</baseBlockStorageSize>
          <platformType>
            <code>LNX64</code>
            <codeName>Linux 64 Bit</codeName>
          </platformType>
          <osInformation>CentOS 7.3 (64-bit)</osInformation>
          <dbKindCode></dbKindCode>
          <addBlockStorageSize>0</addBlockStorageSize>
          <generationCode></generationCode>
        </product>
      </productList>
    </getServerImageProductListResponse>
    

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

    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.