表格存储服务 CLOUDTABLE-创建CloudTable集群:请求示例

时间:2023-12-04 10:28:57

请求示例

创建超高IO集群请求样例(enable_openTSDB字段只适用HBase1.3.1版本,enable_lemon字段废弃)。

POST	/v2/{project_id}/clusters/

{
  "cluster" : {
    "name" : "cloudtable-interfacetest1",
    "datastore" : {
      "version" : "1.0.6",
      "type" : "hbase"
    },
    "vpc_id" : "23af42c2-f57f-499f-8a2f-a934bd05b8b3",
    "storage_type" : "ULTRAHIGH",
    "enable_openTSDB" : false,
    "auth_mode" : false,
    "enable_lemon" : false,
    "instance" : {
      "nics" : [ {
        "net_id" : "8e8b7b75-5e55-4948-907e-79d06e18c516",
        "security_group_id" : "57c6e2a1-857c-4504-92b2-24e95bd587cc"
      } ],
      "availability_zone" : "cn-north-1a",
      "cu_num" : 2,
      "tsd_num" : 0,
      "lemon_num" : 0
    }
  }
}
support.huaweicloud.com/api-cloudtable/CreateCluster.html