--- title: "getCloudMssqlImageProductList" slug: "cli-vmssql-getcloudmssqlimageproductlist" tags: ["Cloud DB for MSSQL", "VPC"] updated: 2026-09-17T10:11:08Z published: 2026-09-17T10:11:08Z canonical: "cli.ncloud-docs.com/cli-vmssql-getcloudmssqlimageproductlist" --- > ## 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. # getCloudMssqlImageProductList VPC環境で利用できます。 Cloud DB for MSSQLで提供するイメージ商品コードリストを照会します。 ## 構文 `getCloudMssqlImageProductList`構文は次の通りです。 ``` ./ncloud vmssql getCloudMssqlImageProductList \ [--productCode ] \ [--exclusionProductCode ] \ [--generationCode ] \ [--regionCode ] \ [--output ] ``` ## オプション `getCloudMssqlImageProductList`の実行時に指定できるオプションについて説明します。 ### 任意オプション `getCloudMssqlImageProductList`の任意オプションです。指定しない場合、オプションにはデフォルト値が適用されます。 | オプション | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `--productCode` | String | Optional | 照会するCloud DB for MSSQL画像の商品コード | | `--exclusionProductCode` | String | Optional | 除外するCloud DB for MSSQL画像の商品コード | | `--generationCode` | String | Optional | 世代コード - `G2` \| `G3` | ### 共通オプション `vmssql`コマンドで共通して使用するオプションについては、[Cloud DB for MSSQL (VPC)のオプション](/docs/ja/cli-vmssql#%EC%98%B5%EC%85%98)を参照してください。 ## 例 Cloud DB for MSSQLイメージ商品コードリストの照会リクエストが成功すると、各商品の識別情報とプラットフォーム情報が返されます。 ### コマンド コマンドの例は次の通りです。 ``` ./ncloud vmssql getCloudMssqlImageProductList \ --exclusionProductCode SW.VMSSL.OS.WND64.WINNT.SVR2019.MSSQL.EE.B100.G003 \ --generationCode G3 \ --regionCode KR \ --output json ``` ### 出力 出力の例は次の通りです。 ``` { "getCloudMssqlImageProductListResponse": { "totalRows": 2, "productList": [ { "productCode": "SW.VMSSL.OS.WND64.WINNT.SVR2019.MSSQL.SE.B100.G003", "productName": "MSSQL Standard Edition", "productType": { "code": "WINNT", "codeName": "Windows NT" }, "productDescription": "Windows Server 2019 with MSSQL 2019 RTM Standard English Edition", "infraResourceType": { "code": "SW", "codeName": "Software" }, "infraResourceDetailType": { "code": "SE", "codeName": "Standard Edition" }, "baseBlockStorageSize": 107374182400, "platformType": { "code": "WND64", "codeName": "Windows 64 Bit" }, "osInformation": "Windows Server 2019 with MSSQL Standard Edition", "generationCode": "G3", "engineVersionCode": "15.0.4440.1" }, { "productCode": "SW.VMSSL.OS.WND64.WINNT.SVR2019.MSSQL.SE.B100.G003", "productName": "MSSQL Standard Edition", "productType": { "code": "WINNT", "codeName": "Windows NT" }, "productDescription": "Windows Server 2019 with MSSQL 2019 RTM Standard English Edition", "infraResourceType": { "code": "SW", "codeName": "Software" }, "infraResourceDetailType": { "code": "SE", "codeName": "Standard Edition" }, "baseBlockStorageSize": 107374182400, "platformType": { "code": "WND64", "codeName": "Windows 64 Bit" }, "osInformation": "Windows Server 2019 with MSSQL Standard Edition", "generationCode": "G3", "engineVersionCode": "15.0.4410.1" } ], "requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "returnCode": "0", "returnMessage": "success" } } ```