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.

getCloudCacheProductList

Prev Next

Available in VPC

Get the list of server spec codes provided by Cloud DB for Cache.

Note

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

  • getCloudCacheProductList CLI: Support for Valkey and Redis DBMS
  • getCloudRedisProductList CLI: Support for Redis DBMS

getCloudCacheProductList CLI

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

Syntax

The getCloudCacheProductList syntax is as follows:

./ncloud vcache getCloudCacheProductList \
    --cloudCacheImageProductCode <image-product-code> \
    [--zoneCode <zone-code>] \    
    [--productCode <product-code>] \
    [--exclusionProductCode <exclusion-product-code>] \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

Options

This section describes the options available when running getCloudCacheProductList.

Required options

The following options are required for getCloudCacheProductList.

Options Type Required Description
--cloudCacheImageProductCode String Required Cloud DB for Cache image product code

Optional options

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

Options Type Required Description
--zoneCode String Optional Zone code
--productCode String Optional Cloud DB for Cache server spec code to view
--exclusionProductCode String Optional Cloud DB for Cache server spec code to exclude

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 Cloud DB for Cache server products is successful, the identification information and specifications for each product are returned.

Command

The command example is as follows:

./ncloud vcache getCloudCacheProductList \
    --cloudCacheImageProductCode SW.VRDS.OS.LNX64.ROCKY.0810.VALKY.B050 \
    --exclusionProductCode SVR.VRDS.HIMEM.C004.M204.NET.SSD.B050.G002 \
    --zoneCode KR-1 \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "getCloudCacheProductListResponse": {
    "totalRows": 8,
    "productList": [
      {
        "productCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G002",
        "productName": "Memory 1.5GB",
        "productType": {
          "code": "STAND",
          "codeName": "Standard"
        },
        "productDescription": "1.5 GB memory",
        "infraResourceType": {
          "code": "VRDS",
          "codeName": "Cloud DB for Cache (VPC)"
        },
        "infraResourceDetailType": {
          "code": "DBSVR",
          "codeName": "DB Server"
        },
        "cpuCount": 4,
        "memorySize": 1610612736,
        "osMemorySize": 2147483648,
        "diskType": {
          "code": "NET",
          "codeName": "Network storage"
        }
      },
      {
        "productCode": "SVR.VRDS.STAND.C004.M003.NET.SSD.B050.G002",
        "productName": "Memory 3GB",
        "productType": {
          "code": "STAND",
          "codeName": "Standard"
        },
        "productDescription": "3 GB memory",
        "infraResourceType": {
          "code": "VRDS",
          "codeName": "Cloud DB for Cache (VPC)"
        },
        "infraResourceDetailType": {
          "code": "DBSVR",
          "codeName": "DB Server"
        },
        "cpuCount": 4,
        "memorySize": 3221225472,
        "osMemorySize": 4294967296,
        "diskType": {
          "code": "NET",
          "codeName": "Network storage"
        }
      },
      {
        "productCode": "SVR.VRDS.STAND.C004.M006.NET.SSD.B050.G002",
        "productName": "Memory 6.4GB",
        "productType": {
          "code": "STAND",
          "codeName": "Standard"
        },
        "productDescription": "6.4 GB memory",
        "infraResourceType": {
          "code": "VRDS",
          "codeName": "Cloud DB for Cache (VPC)"
        },
        "infraResourceDetailType": {
          "code": "DBSVR",
          "codeName": "DB Server"
        },
        "cpuCount": 4,
        "memorySize": 6871947674,
        "osMemorySize": 8589934592,
        "diskType": {
          "code": "NET",
          "codeName": "Network storage"
        }
      },
      {
        "productCode": "SVR.VRDS.STAND.C004.M012.NET.SSD.B050.G002",
        "productName": "Memory 12.8GB",
        "productType": {
          "code": "STAND",
          "codeName": "Standard"
        },
        "productDescription": "12.8 GB memory",
        "infraResourceType": {
          "code": "VRDS",
          "codeName": "Cloud DB for Cache (VPC)"
        },
        "infraResourceDetailType": {
          "code": "DBSVR",
          "codeName": "DB Server"
        },
        "cpuCount": 4,
        "memorySize": 13743895347,
        "osMemorySize": 17179869184,
        "diskType": {
          "code": "NET",
          "codeName": "Network storage"
        }
      },
      {
        "productCode": "SVR.VRDS.STAND.C004.M025.NET.SSD.B050.G002",
        "productName": "Memory 25.6GB",
        "productType": {
          "code": "STAND",
          "codeName": "Standard"
        },
        "productDescription": "25.6 GB memory",
        "infraResourceType": {
          "code": "VRDS",
          "codeName": "Cloud DB for Cache (VPC)"
        },
        "infraResourceDetailType": {
          "code": "DBSVR",
          "codeName": "DB Server"
        },
        "cpuCount": 4,
        "memorySize": 27487790694,
        "osMemorySize": 34359738368,
        "diskType": {
          "code": "NET",
          "codeName": "Network storage"
        }
      },
      {
        "productCode": "SVR.VRDS.HIMEM.C004.M051.NET.SSD.B050.G002",
        "productName": "Memory 51.2GB",
        "productType": {
          "code": "HIMEM",
          "codeName": "High Memory"
        },
        "productDescription": "51.2 GB memory",
        "infraResourceType": {
          "code": "VRDS",
          "codeName": "Cloud DB for Cache (VPC)"
        },
        "infraResourceDetailType": {
          "code": "DBSVR",
          "codeName": "DB Server"
        },
        "cpuCount": 4,
        "memorySize": 54975581389,
        "osMemorySize": 68719476736,
        "diskType": {
          "code": "NET",
          "codeName": "Network storage"
        }
      },
      {
        "productCode": "SVR.VRDS.HIMEM.C004.M102.NET.SSD.B050.G002",
        "productName": "Memory 102.4GB",
        "productType": {
          "code": "HIMEM",
          "codeName": "High Memory"
        },
        "productDescription": "102.4 GB memory",
        "infraResourceType": {
          "code": "VRDS",
          "codeName": "Cloud DB for Cache (VPC)"
        },
        "infraResourceDetailType": {
          "code": "DBSVR",
          "codeName": "DB Server"
        },
        "cpuCount": 4,
        "memorySize": 109951162778,
        "osMemorySize": 137438953472,
        "diskType": {
          "code": "NET",
          "codeName": "Network storage"
        }
      },
      {
        "productCode": "SVR.VRDS.HIMEM.C004.M153.NET.SSD.B050.G002",
        "productName": "Memory 153.6GB",
        "productType": {
          "code": "HIMEM",
          "codeName": "High Memory"
        },
        "productDescription": "153.6 GB memory",
        "infraResourceType": {
          "code": "VRDS",
          "codeName": "Cloud DB for Cache (VPC)"
        },
        "infraResourceDetailType": {
          "code": "DBSVR",
          "codeName": "DB Server"
        },
        "cpuCount": 4,
        "memorySize": 164926744166,
        "osMemorySize": 206158430208,
        "diskType": {
          "code": "NET",
          "codeName": "Network storage"
        }
      }
    ],
    "requestId": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
    "returnCode": "0",
    "returnMessage": "success"
  }
}

getCloudRedisProductList CLI

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

Syntax

The getCloudRedisProductList syntax is as follows:

./ncloud vredis getCloudRedisProductList \
    --cloudRedisImageProductCode <image-product-code> \
    [--zoneCode <zone-code>] \
    [--productCode <product-code>] \
    [--exclusionProductCode <exclusion-product-code>] \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

Options

This section describes the options available when running getCloudRedisProductList.

Required options

The following options are required for getCloudRedisProductList.

Options Type Required Description
--cloudRedisImageProductCode String Required Cloud DB for Cache image product code

Optional options

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

Options Type Required Description
--zoneCode String Optional Zone code
--productCode String Optional Cloud DB for Cache server spec code to view
--exclusionProductCode String Optional Cloud DB for Cache server spec code to exclude

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 Cloud DB for Cache server products is successful, the identification information and specifications for each product are returned.

Command

The command example is as follows:

./ncloud vredis getCloudRedisProductList \
    --cloudRedisImageProductCode SW.VRDS.OS.LNX64.ROCKY.0810.VALKY.B050 \
    --exclusionProductCode SVR.VRDS.HIMEM.C004.M102.NET.SSD.B050.G001 \
    --zoneCode KR-1 \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "getCloudRedisProductListResponse": {
    "totalRows": 9,
    "productList": [
      {
        "productCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G002",
        "productName": "Memory 1.5GB",
        "productType": {
          "code": "STAND",
          "codeName": "Standard"
        },
        "productDescription": "1.5 GB memory",
        "infraResourceType": {
          "code": "VRDS",
          "codeName": "Cloud DB for Cache (VPC)"
        },
        "infraResourceDetailType": {
          "code": "DBSVR",
          "codeName": "DB Server"
        },
        "cpuCount": 4,
        "memorySize": 1610612736,
        "osMemorySize": 2147483648,
        "diskType": {
          "code": "NET",
          "codeName": "Network storage"
        }
      },
      {
        "productCode": "SVR.VRDS.STAND.C004.M003.NET.SSD.B050.G002",
        "productName": "Memory 3GB",
        "productType": {
          "code": "STAND",
          "codeName": "Standard"
        },
        "productDescription": "3 GB memory",
        "infraResourceType": {
          "code": "VRDS",
          "codeName": "Cloud DB for Cache (VPC)"
        },
        "infraResourceDetailType": {
          "code": "DBSVR",
          "codeName": "DB Server"
        },
        "cpuCount": 4,
        "memorySize": 3221225472,
        "osMemorySize": 4294967296,
        "diskType": {
          "code": "NET",
          "codeName": "Network storage"
        }
      },
      {
        "productCode": "SVR.VRDS.STAND.C004.M006.NET.SSD.B050.G002",
        "productName": "Memory 6.4GB",
        "productType": {
          "code": "STAND",
          "codeName": "Standard"
        },
        "productDescription": "6.4 GB memory",
        "infraResourceType": {
          "code": "VRDS",
          "codeName": "Cloud DB for Cache (VPC)"
        },
        "infraResourceDetailType": {
          "code": "DBSVR",
          "codeName": "DB Server"
        },
        "cpuCount": 4,
        "memorySize": 6871947674,
        "osMemorySize": 8589934592,
        "diskType": {
          "code": "NET",
          "codeName": "Network storage"
        }
      },
      {
        "productCode": "SVR.VRDS.STAND.C004.M012.NET.SSD.B050.G002",
        "productName": "Memory 12.8GB",
        "productType": {
          "code": "STAND",
          "codeName": "Standard"
        },
        "productDescription": "12.8 GB memory",
        "infraResourceType": {
          "code": "VRDS",
          "codeName": "Cloud DB for Cache (VPC)"
        },
        "infraResourceDetailType": {
          "code": "DBSVR",
          "codeName": "DB Server"
        },
        "cpuCount": 4,
        "memorySize": 13743895347,
        "osMemorySize": 17179869184,
        "diskType": {
          "code": "NET",
          "codeName": "Network storage"
        }
      },
      {
        "productCode": "SVR.VRDS.STAND.C004.M025.NET.SSD.B050.G002",
        "productName": "Memory 25.6GB",
        "productType": {
          "code": "STAND",
          "codeName": "Standard"
        },
        "productDescription": "25.6 GB memory",
        "infraResourceType": {
          "code": "VRDS",
          "codeName": "Cloud DB for Cache (VPC)"
        },
        "infraResourceDetailType": {
          "code": "DBSVR",
          "codeName": "DB Server"
        },
        "cpuCount": 4,
        "memorySize": 27487790694,
        "osMemorySize": 34359738368,
        "diskType": {
          "code": "NET",
          "codeName": "Network storage"
        }
      },
      {
        "productCode": "SVR.VRDS.HIMEM.C004.M051.NET.SSD.B050.G002",
        "productName": "Memory 51.2GB",
        "productType": {
          "code": "HIMEM",
          "codeName": "High Memory"
        },
        "productDescription": "51.2 GB memory",
        "infraResourceType": {
          "code": "VRDS",
          "codeName": "Cloud DB for Cache (VPC)"
        },
        "infraResourceDetailType": {
          "code": "DBSVR",
          "codeName": "DB Server"
        },
        "cpuCount": 4,
        "memorySize": 54975581389,
        "osMemorySize": 68719476736,
        "diskType": {
          "code": "NET",
          "codeName": "Network storage"
        }
      },
      {
        "productCode": "SVR.VRDS.HIMEM.C004.M102.NET.SSD.B050.G002",
        "productName": "Memory 102.4GB",
        "productType": {
          "code": "HIMEM",
          "codeName": "High Memory"
        },
        "productDescription": "102.4 GB memory",
        "infraResourceType": {
          "code": "VRDS",
          "codeName": "Cloud DB for Cache (VPC)"
        },
        "infraResourceDetailType": {
          "code": "DBSVR",
          "codeName": "DB Server"
        },
        "cpuCount": 4,
        "memorySize": 109951162778,
        "osMemorySize": 137438953472,
        "diskType": {
          "code": "NET",
          "codeName": "Network storage"
        }
      },
      {
        "productCode": "SVR.VRDS.HIMEM.C004.M153.NET.SSD.B050.G002",
        "productName": "Memory 153.6GB",
        "productType": {
          "code": "HIMEM",
          "codeName": "High Memory"
        },
        "productDescription": "153.6 GB memory",
        "infraResourceType": {
          "code": "VRDS",
          "codeName": "Cloud DB for Cache (VPC)"
        },
        "infraResourceDetailType": {
          "code": "DBSVR",
          "codeName": "DB Server"
        },
        "cpuCount": 4,
        "memorySize": 164926744166,
        "osMemorySize": 206158430208,
        "diskType": {
          "code": "NET",
          "codeName": "Network storage"
        }
      },
      {
        "productCode": "SVR.VRDS.HIMEM.C004.M204.NET.SSD.B050.G002",
        "productName": "Memory 204.8GB",
        "productType": {
          "code": "HIMEM",
          "codeName": "High Memory"
        },
        "productDescription": "204.8GB memory",
        "infraResourceType": {
          "code": "VRDS",
          "codeName": "Cloud DB for Cache (VPC)"
        },
        "infraResourceDetailType": {
          "code": "DBSVR",
          "codeName": "DB Server"
        },
        "cpuCount": 4,
        "memorySize": 219902325555,
        "osMemorySize": 274877906944,
        "diskType": {
          "code": "NET",
          "codeName": "Network storage"
        }
      }
    ],
    "requestId": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
    "returnCode": "0",
    "returnMessage": "success"
  }
}