API概览
CloudTable提供的符合RESTful API的设计规范的接口,如表1所示。
| 接口 | 功能 | API URI |
|---|---|---|
| 集群管理 | 创建CloudTable集群 | POST /v2/{project_id}/clusters |
| 查询CloudTable集群详情 | GET /v2/{project_id}/clusters/{cluster_id} | |
| 查询CloudTable集群列表 | GET /v2/{project_id}/clusters | |
| 删除CloudTable指定集群 | DELETE /v2/{project_id}/clusters/{cluster_id} | |
| 重启集群API入口 | POST /v2/{project_id}/clusters/{cluster_id}/restart | |
| 查询集群配置 | GET /v2/{project_id}/clusters/{cluster_id}/setting | |
| 修改集群配置 | PUT /v2/{project_id}/clusters/{cluster_id}/setting | |
| 扩容组件 | POST /v2/{project_id}/clusters/{cluster_id}/nodes | |
| 开启opentsdb | POST /v2/{project_id}/clusters/{cluster_id}/components/{component_name} 备注:此字段只适用HBase1.3.1版本。 |