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

Prev Next

VPC環境で利用できます。

Cloud DB for MSSQLで提供するイメージ商品コードリストを照会します。

構文

getCloudMssqlImageProductList構文は次の通りです。

./ncloud vmssql getCloudMssqlImageProductList \
    [--productCode <image-product-code>] \
    [--exclusionProductCode <exclusion-image-product-code>] \
    [--generationCode <G2|G3>] \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

オプション

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)のオプションを参照してください。

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"
  }
}