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.

getCloudCacheImageProductList

Prev Next

Available in VPC

Get the list of image product codes provided by Cloud DB for Cache.

Note

Cloud DB for Cache CLI offers two versions based on the supported DBMS range.

  • getCloudCacheImageProductList CLI: Support for Valkey and Redis DBMS
  • getCloudRedisImageProductList CLI: Support for Redis DBMS

getCloudCacheImageProductList CLI

This section describes the command syntax, options, commands, and output examples for the getCloudCacheImageProductList CLI.

Syntax

The getCloudCacheImageProductList syntax is as follows:

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

Options

This section describes the options available when running getCloudCacheImageProductList.

Optional options

These are the optional options for getCloudCacheImageProductList. Options that are not specified will use their default values.

Options Type Required Description
--productCode String Optional Cloud DB for Cache image product code to query
--exclusionProductCode String Optional Cloud DB for Cache image product code to exclude
--generationCode String Optional Generation code
  • G2 | G3

Common options

For information about the options common to all vcache subcommands, see Cloud DB for Cache (VPC) options.

Examples

If the request to retrieve the list of product codes for Cloud DB for Cache images is successful, the identification information and platform information for each product are returned.

Command

The command example is as follows:

./ncloud vcache getCloudCacheImageProductList \
    --exclusionProductCode SW.VRDS.OS.LNX64.ROCKY.08.VALKY.B050.G003 \
    --generationCode G2 \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "getCloudCacheImageProductListResponse": {
    "totalRows": 2,
    "productList": [
      {
        "productCode": "SW.VRDS.OS.LNX64.ROCKY.0810.VALKY.B050",
        "productName": "Valkey",
        "productType": {
          "code": "LINUX",
          "codeName": "Linux"
        },
        "productDescription": "Rocky with Valkey",
        "infraResourceType": {
          "code": "SW",
          "codeName": "Software"
        },
        "baseBlockStorageSize": 53687091200,
        "platformType": {
          "code": "LNX64",
          "codeName": "Linux 64 Bit"
        },
        "osInformation": "Rocky with Valkey (64-bit)",
        "generationCode": "G2",
        "engineVersionCode": "7.2.11"
      },
      {
        "productCode": "SW.VRDS.OS.LNX64.ROCKY.0810.REDIS.B050",
        "productName": "Redis",
        "productType": {
          "code": "LINUX",
          "codeName": "Linux"
        },
        "productDescription": "Rocky Linux 8.10 with Redis",
        "infraResourceType": {
          "code": "SW",
          "codeName": "Software"
        },
        "baseBlockStorageSize": 53687091200,
        "platformType": {
          "code": "LNX64",
          "codeName": "Linux 64 Bit"
        },
        "osInformation": "Rocky Linux 8.10 with Redis (64-bit)",
        "generationCode": "G2",
        "engineVersionCode": "7.2.11"
      }
    ],
    "requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "returnCode": "0",
    "returnMessage": "success"
  }
}

getCloudRedisImageProductList CLI

This section describes the command syntax, options, commands, and output examples for the getCloudRedisImageProductList CLI.

Syntax

The getCloudRedisImageProductList syntax is as follows:

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

Options

This section describes the options available when running getCloudRedisImageProductList.

Optional options

These are the optional options for getCloudRedisImageProductList. Options that are not specified will use their default values.

Options Type Required Description
--productCode String Optional Cloud DB for Cache image product code to query
--exclusionProductCode String Optional Cloud DB for Cache image product code to exclude
--generationCode String Optional Generation code
  • G2

Common options

For information about the options common to all vredis subcommands, see Cloud DB for Cache (VPC) options.

Examples

If the request to retrieve the list of product codes for Cloud DB for Cache images is successful, the identification information and platform information for each product are returned.

Command

The command example is as follows:

./ncloud vredis getCloudRedisImageProductList \
    --generationCode G2 \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "getCloudRedisImageProductListResponse": {
    "totalRows": 2,
    "productList": [
      {
        "productCode": "SW.VRDS.OS.LNX64.ROCKY.0810.REDIS.B050",
        "productName": "Redis",
        "productType": {
          "code": "LINUX",
          "codeName": "Linux"
        },
        "productDescription": "Rocky Linux 8.10 with Redis",
        "infraResourceType": {
          "code": "SW",
          "codeName": "Software"
        },
        "baseBlockStorageSize": 53687091200,
        "platformType": {
          "code": "LNX64",
          "codeName": "Linux 64 Bit"
        },
        "osInformation": "Rocky Linux 8.10 with Redis (64-bit)",
        "generationCode": "G2",
        "engineVersionCode": "7.2.11"
      },
      {
        "productCode": "SW.VRDS.OS.LNX64.ROCKY.08.REDIS.B050.G003",
        "productName": "Redis",
        "productType": {
          "code": "LINUX",
          "codeName": "Linux"
        },
        "productDescription": "Rocky 8 with Redis",
        "infraResourceType": {
          "code": "SW",
          "codeName": "Software"
        },
        "baseBlockStorageSize": 53687091200,
        "platformType": {
          "code": "LNX64",
          "codeName": "Linux 64 Bit"
        },
        "osInformation": "Rocky 8 with Redis (64-bit)",
        "generationCode": "G3",
        "engineVersionCode": "7.2.11"
      }
    ],
    "requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "returnCode": "0",
    "returnMessage": "success"
  }
}