--- title: "getServerImageProductList" slug: "cli-server-getserverimageproductlist" tags: ["Server"] updated: 2026-09-17T10:11:03Z published: 2026-09-17T10:11:03Z canonical: "cli.ncloud-docs.com/cli-server-getserverimageproductlist" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # getServerImageProductList ## 概要 サーバイメージ商品リストを照会 ## 説明 サーバインスタンス(VM)を作成するには、サーバイメージ商品を選択して作成する必要があります。 そのため、サーバイメージ商品を照会できる APIを提供します。 ## リクエストパラメータ | パラメータ名 | 必須の有無 | タイプ | 制限事項 | 説明 | | --- | --- | --- | --- | --- | | exclusionProductCode | No | String | 最小: 1, 最大:20 | リストから外す商品コードを入力 | | productCode | No | String | 最小:1, 最大:20 | リストで照会する商品コードを入力 個別照会時に使用 | | platformTypeCodeList | No | List | 最小:1, 最大:5 | プラットフォーム区分に必要な値をリスト形式で渡す 以下の値が入力可能: Linux 32Bit(LNX32) \| Linux 64Bit(LNX64) \| Windows 32Bit(WND32) \| Windows 64Bit(WND64) \| Ubuntuデスクトップ 64Bit(UBD64) \| Ubuntuサーバ 64Bit(UBS64) | | blockStorageSize | No | Integer | | 50 \| 100 | | regionNo | No | String | | 入力可能な状態は、getRegionListアクションを通じて取得可能 | | infraResourceDetailTypeCode | No | String | | リストで特定のタイプのイメージを照会(現在は BareMetalのみ照会可能) BareMetal(BM) \| デフォルト: 基本サーバイメージ | ## レスポンスデータタイプ - ProductListタイプ | ProcessList extends CommonResponse | | --- | | private Integer totalRows; | | private List processList = 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; | ## 例 ### 呼び出し ``` ncloud server getServerImageProductList --platformTypeCodeList LNX64 --infraResourceDetailTypeCode BM --exclusionProductCode SPSWBMLINUX00001 ``` ### レスポンス ``` { "getServerImageProductListResponse": { "requestId": "74bfddb6-c1b9-4b22-9be6-ddfa3f851a1a", "returnCode": "0", "returnMessage": "success", "productList": [ { "productCode": "SPSWBMLINUX00002", "productName": "CentOS 7.4(64bit)", "productType": { "code": "LINUX", "codeName": "Linux" }, "productDescription": "CentOS 7.4(64bit)", "infraResourceType": { "code": "SW", "codeName": "Software" }, "infraResourceDetailType": { "code": "BM", "codeName": "BareMetal" }, "cpuCount": 0, "memorySize": 0, "baseBlockStorageSize": 0, "platformType": { "code": "LNX64", "codeName": "Linux 64 Bit" }, "osInformation": "CentOS 7.4(64bit)", "dbKindCode": "", "addBlockStorageSize": 0 }, { "productCode": "SPSWBMLINUX00003", "productName": "Oracle Linux 6.9(64bit)", "productType": { "code": "LINUX", "codeName": "Linux" }, "productDescription": "Oracle Linux 6.9(64bit)", "infraResourceType": { "code": "SW", "codeName": "Software" }, "infraResourceDetailType": { "code": "BM", "codeName": "BareMetal" }, "cpuCount": 0, "memorySize": 0, "baseBlockStorageSize": 0, "platformType": { "code": "LNX64", "codeName": "Linux 64 Bit" }, "osInformation": "Oracle Linux 6.9(64bit)", "dbKindCode": "", "addBlockStorageSize": 0 }, { "productCode": "SPSWBMLINUX00004", "productName": "Oracle Linux 7.4(64bit)", "productType": { "code": "LINUX", "codeName": "Linux" }, "productDescription": "Oracle Linux 7.4(64bit)", "infraResourceType": { "code": "SW", "codeName": "Software" }, "infraResourceDetailType": { "code": "BM", "codeName": "BareMetal" }, "cpuCount": 0, "memorySize": 0, "baseBlockStorageSize": 0, "platformType": { "code": "LNX64", "codeName": "Linux 64 Bit" }, "osInformation": "Oracle Linux 7.4(64bit)", "dbKindCode": "", "addBlockStorageSize": 0 } ], "totalRows": 3 } } ``` ``` 74bfddb6-c1b9-4b22-9be6-ddfa3f851a1a 0 success SPSWBMLINUX00002 CentOS 7.4(64bit) LINUX Linux CentOS 7.4(64bit) SW Software BM BareMetal 0 0 0 LNX64 Linux 64 Bit CentOS 7.4(64bit) 0 SPSWBMLINUX00003 Oracle Linux 6.9(64bit) LINUX Linux Oracle Linux 6.9(64bit) SW Software BM BareMetal 0 0 0 LNX64 Linux 64 Bit Oracle Linux 6.9(64bit) 0 SPSWBMLINUX00004 Oracle Linux 7.4(64bit) LINUX Linux Oracle Linux 7.4(64bit) SW Software BM BareMetal 0 0 0 LNX64 Linux 64 Bit Oracle Linux 7.4(64bit) 0 3 ```