获取实例规格列表
所有文档

          云数据库 SCS for Redis

          获取实例规格列表

          请求结构

          GET /v2/nodetypes HTTP/1.1
          HOST: redis.bj.baidubce.com
          Authorization: authorization string

          请求头域

          除公共头域外,无其它特殊头域。

          请求参数

          返回头域

          除公共头域,无其它特殊头域。

          返回参数

          参数名称 类型 描述
          defaultNodeTypeList List<NodeTypeItem> 标准版规格
          clusterNodeTypeList List<NodeTypeItem> 集群版规格
          hsdbNodeTypeList List<NodeTypeItem> 分级存储型集群版规格

          NodeTypeItem Object详情

          参数名称 参数类型 参数描述
          nodeType String 节点规格
          instanceFlavor int 节点容量
          cpuNum int cpu数量
          networkThroughputInGbps float 网络吞吐
          peakQps int 参考最大Qps
          maxConnections int 最大连接数
          allowedNodeNumList List<int> 允许的分片数量

          请求示例

          GET /v2/nodetypes HTTP/1.1
          HOST: redis.bj.baidubce.com
          Authorization: bce-auth-v1/0255cb4f78f140728045b551d6a317ec/2018-11-13T06:13:25Z/1800/host/2feac87a586a66c048be0b6ef2d02fdfca7d65cf9b6c9e6b9efe20bac95b7c7a

          返回示例

          HTTP/1.1 200 OK
          x-bce-request-id: 7869616F-7A68-6977-656E-406261696475
          Content-Type: application/json
          Content-Length: 150
          {
              "defaultNodeTypeList": [
                {
                  "nodeType": "cache.n1.micro",
                  "networkThroughputInGbps": 0.512,
                  "cpuNum": 2,
                  "peakQps": 100000,
                  "maxConnections": 10000,
                  "instanceFlavor": 1,
                  "allowedNodeNumList": [
                    1
                  ]
                },
                {
                  "nodeType": "cache.n1.small",
                  "networkThroughputInGbps": 0.5,
                  "cpuNum": 2,
                  "peakQps": 100000,
                  "maxConnections": 10000,
                  "instanceFlavor": 2,
                  "allowedNodeNumList": [
                    1
                  ]
                },
                {
                  "nodeType": "cache.n1.medium",
                  "networkThroughputInGbps": 1.5,
                  "cpuNum": 2,
                  "peakQps": 100000,
                  "maxConnections": 10000,
                  "instanceFlavor": 4,
                  "allowedNodeNumList": [
                    1
                  ]
                },
                {
                  "nodeType": "cache.n1.large",
                  "networkThroughputInGbps": 1.5,
                  "cpuNum": 2,
                  "peakQps": 100000,
                  "maxConnections": 10000,
                  "instanceFlavor": 8,
                  "allowedNodeNumList": [
                    1
                  ]
                },
                {
                  "nodeType": "cache.n1.xlarge",
                  "networkThroughputInGbps": 3,
                  "cpuNum": 2,
                  "peakQps": 100000,
                  "maxConnections": 10000,
                  "instanceFlavor": 16,
                  "allowedNodeNumList": [
                    1
                  ]
                },
                {
                  "nodeType": "cache.n1.medium",
                  "networkThroughputInGbps": 3,
                  "cpuNum": 2,
                  "peakQps": 100000,
                  "maxConnections": 10000,
                  "instanceFlavor": 32,
                  "allowedNodeNumList": [
                    1
                  ]
                },
                {
                  "nodeType": "cache.n1.medium",
                  "networkThroughputInGbps": 3,
                  "cpuNum": 2,
                  "peakQps": 100000,
                  "maxConnections": 10000,
                  "instanceFlavor": 32,
                  "allowedNodeNumList": [
                    1
                  ]
                },
                {
                  "nodeType": "cache.n1.c4.micro",
                  "networkThroughputInGbps": 1.5,
                  "cpuNum": 4,
                  "peakQps": 60000,
                  "maxConnections": 10000,
                  "instanceFlavor": 1,
                  "allowedNodeNumList": [
                    1
                  ]
                },
                {
                  "nodeType": "cache.n1.c4.small",
                  "networkThroughputInGbps": 1.5,
                  "cpuNum": 4,
                  "peakQps": 60000,
                  "maxConnections": 10000,
                  "instanceFlavor": 2,
                  "allowedNodeNumList": [
                    1
                  ]
                },
                {
                  "nodeType": "cache.n1.c4.medium",
                  "networkThroughputInGbps": 3,
                  "cpuNum": 4,
                  "peakQps": 60000,
                  "maxConnections": 10000,
                  "instanceFlavor": 4,
                  "allowedNodeNumList": [
                    1
                  ]
                },
                {
                  "nodeType": "cache.n1.c4.large",
                  "networkThroughputInGbps": 3,
                  "cpuNum": 4,
                  "peakQps": 60000,
                  "maxConnections": 10000,
                  "instanceFlavor": 8,
                  "allowedNodeNumList": [
                    1
                  ]
                },
                {
                  "nodeType": "cache.n1.c4.xlarge",
                  "networkThroughputInGbps": 6,
                  "cpuNum": 4,
                  "peakQps": 60000,
                  "maxConnections": 10000,
                  "instanceFlavor": 16,
                  "allowedNodeNumList": [
                    1
                  ]
                },
                {
                  "nodeType": "cache.n1.c4.2xlarge",
                  "networkThroughputInGbps": 6,
                  "cpuNum": 4,
                  "peakQps": 60000,
                  "maxConnections": 10000,
                  "instanceFlavor": 32,
                  "allowedNodeNumList": [
                    1
                  ]
                },
                {
                  "nodeType": "cache.n1.c4.4xlarge",
                  "networkThroughputInGbps": 6,
                  "cpuNum": 4,
                  "peakQps": 60000,
                  "maxConnections": 10000,
                  "instanceFlavor": 64,
                  "allowedNodeNumList": [
                    1
                  ]
                }
              ],
              "clusterNodeTypeList": [
                {
                  "nodeType": "cache.n1.micro",
                  "networkThroughputInGbps": 0.512,
                  "cpuNum": 2,
                  "peakQps": 100000,
                  "maxConnections": 10000,
                  "instanceFlavor": 1,
                  "allowedNodeNumList": [
                    1
                  ]
                },
                {
                  "nodeType": "cache.n1.small",
                  "networkThroughputInGbps": 0.5,
                  "cpuNum": 2,
                  "peakQps": 100000,
                  "maxConnections": 10000,
                  "instanceFlavor": 2,
                  "allowedNodeNumList": [
                    2,
                    4,
                    6,
                    8
                  ]
                },
                {
                  "nodeType": "cache.n1.medium",
                  "networkThroughputInGbps": 1.5,
                  "cpuNum": 2,
                  "peakQps": 100000,
                  "maxConnections": 10000,
                  "instanceFlavor": 4,
                  "allowedNodeNumList": [
                    2,
                    4,
                    6,
                    8
                  ]
                },
                {
                  "nodeType": "cache.n1.large",
                  "networkThroughputInGbps": 1.5,
                  "cpuNum": 2,
                  "peakQps": 100000,
                  "maxConnections": 10000,
                  "instanceFlavor": 8,
                  "allowedNodeNumList": [
                    2,
                    4,
                    6,
                    8
                  ]
                },
                {
                  "nodeType": "cache.n1.xlarge",
                  "networkThroughputInGbps": 3,
                  "cpuNum": 2,
                  "peakQps": 100000,
                  "maxConnections": 10000,
                  "instanceFlavor": 16,
                  "allowedNodeNumList": [
                    2,
                    4,
                    6,
                    8,
                    12,
                    16,
                    24,
                    32,
                    48,
                    64,
                    96,
                    128
                  ]
                },
                {
                  "nodeType": "cache.n1.c4.micro",
                  "networkThroughputInGbps": 1.5,
                  "cpuNum": 4,
                  "peakQps": 60000,
                  "maxConnections": 10000,
                  "instanceFlavor": 1,
                  "allowedNodeNumList": [
                    2,
                    4,
                    6,
                    8,
                    12,
                    16,
                    24,
                    32,
                    48,
                    64,
                    96,
                    128
                  ]
                },
                {
                  "nodeType": "cache.n1.c4.small",
                  "networkThroughputInGbps": 1.5,
                  "cpuNum": 4,
                  "peakQps": 60000,
                  "maxConnections": 10000,
                  "instanceFlavor": 2,
                  "allowedNodeNumList": [
                    2,
                    4,
                    6,
                    8,
                    12,
                    16,
                    24,
                    32,
                    48,
                    64,
                    96,
                    128
                  ]
                },
                {
                  "nodeType": "cache.n1.c4.medium",
                  "networkThroughputInGbps": 3,
                  "cpuNum": 4,
                  "peakQps": 60000,
                  "maxConnections": 10000,
                  "instanceFlavor": 4,
                  "allowedNodeNumList": [
                    2,
                    4,
                    6,
                    8,
                    12,
                    16,
                    24,
                    32,
                    48,
                    64,
                    96,
                    128
                  ]
                },
                {
                  "nodeType": "cache.n1.c4.large",
                  "networkThroughputInGbps": 3,
                  "cpuNum": 4,
                  "peakQps": 60000,
                  "maxConnections": 10000,
                  "instanceFlavor": 8,
                  "allowedNodeNumList": [
                    2,
                    4,
                    6,
                    8,
                    12,
                    16,
                    24,
                    32,
                    48,
                    64,
                    96,
                    128
                  ]
                },
                {
                  "nodeType": "cache.n1.c4.xlarge",
                  "networkThroughputInGbps": 6,
                  "cpuNum": 4,
                  "peakQps": 60000,
                  "maxConnections": 10000,
                  "instanceFlavor": 16,
                  "allowedNodeNumList": [
                    2,
                    4,
                    6,
                    8,
                    12,
                    16,
                    24,
                    32,
                    48,
                    64,
                    96,
                    128
                  ]
                },
                {
                  "nodeType": "cache.n1.c4.2xlarge",
                  "networkThroughputInGbps": 6,
                  "cpuNum": 4,
                  "peakQps": 60000,
                  "maxConnections": 10000,
                  "instanceFlavor": 32,
                  "allowedNodeNumList": [
                    2,
                    4,
                    6,
                    8,
                    12,
                    16,
                    24,
                    32,
                    48,
                    64,
                    96,
                    128
                  ]
                },
                {
                  "nodeType": "cache.n1.c4.4xlarge",
                  "networkThroughputInGbps": 6,
                  "cpuNum": 4,
                  "peakQps": 60000,
                  "maxConnections": 10000,
                  "instanceFlavor": 64,
                  "allowedNodeNumList": [
                    2,
                    4,
                    6,
                    8,
                    12,
                    16,
                    24,
                    32,
                    48,
                    64,
                    96,
                    128
                  ]
                }
              ],
              "hsdbNodeTypeList": [
                {
                  "nodeType": "cache.n1hs3.2xlarge",
                  "networkThroughputInGbps": 3,
                  "cpuNum": 4,
                  "peakQps": 60000,
                  "maxConnections": 10000,
                  "instanceFlavor": 32,
                  "allowedNodeNumList": [
                    2,
                    4,
                    6,
                    8,
                    12,
                    16,
                    24,
                    32,
                    48,
                    64,
                    96,
                    128
                  ]
                },
                {
                  "nodeType": "cache.n1hs3.4xlarge",
                  "networkThroughputInGbps": 3,
                  "cpuNum": 4,
                  "peakQps": 60000,
                  "maxConnections": 10000,
                  "instanceFlavor": 64,
                  "allowedNodeNumList": [
                    2,
                    4,
                    6,
                    8,
                    12,
                    16,
                    24,
                    32,
                    48,
                    64,
                    96,
                    128
                  ]
                }
              ]
          }
          上一篇
          清空实例
          下一篇
          获取可用区列表