tencent cloud

时序数据库 CTSDB

动态与公告
产品动态
公告
产品简介
产品概述
系统架构
应用场景
关键概念
实例类型与规格
购买指南
产品定价
购买实例
续费说明
欠费说明
退费说明
快速入门
连接并写入数据
操作指南
访问管理
管理实例
自动备份
系统监控
库管理
账号管理
管理安全组
外网访问
InfluxQL 兼容性
数据库管理
Schema 查询
数据类型
数据查询
InfluxQL 函数
客户端
SDK 参考
influx CLI 客户端
API 文档
History
Introduction
API Category
Making API Requests
Instance APIs
Database APIs
Data Types
Error Codes
实践教程
数据表定义推荐
接入 Grafana 服务
接入 Telegraf 服务
性能白皮书
测试环境
测试工具
写入性能测试
查询性能测试
常见问题
词汇表
CTSDB 政策
隐私政策
数据处理和安全协议
联系我们

DescribeClusters

聚焦模式
字号
最后更新时间: 2025-10-28 22:20:19

1. API Description

Domain name for API request: ctsdb.intl.tencentcloudapi.com.

This API is used to query the instance list and details.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeClusters.
Version Yes String Common Params. The value used for this API: 2023-02-02.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
PageNumber Yes Integer Current page number.
PageSize Yes Integer Page size.
Filters.N No Array of Filter Query parameter: Filtering and querying by instance ID (cluster_id) and instance name (name) are supported.
Orders.N No Array of Order Sorting parameter: Sorting by the creation time field (created_at) is supported. The value of Type can be set to DESC (descending order) or ASC (ascending order).

3. Output Parameters

Parameter Name Type Description
TotalCount Integer Total number of records under current conditions.
Note: This field may return null, indicating that no valid values can be obtained.
Clusters Array of Cluster List of instances meeting the conditions.
Note: This field may return null, indicating that no valid values can be obtained.
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Querying the Instance List

This example shows you how to query the instance list.

Input Example

POST / HTTP/1.1
Host: ctsdb.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeClusters
<Common request parameters>

{
    "PageNumber": 1,
    "PageSize": 10,
    "Filters": [
        {
            "Name": "cluster_id",
            "Op": "=",
            "Values": [
                "ctsdbi-xxxxxxx"
            ]
        }
    ],
    "Orders": [
        {
            "Name": "created_at",
            "Type": "DESC"
        }
    ]
}

Output Example

{
    "Response": {
        "TotalCount": 1,
        "Clusters": [
            {
                "AppID": 123456789,
                "ClusterID": "ctsdbi-xxxxxxx",
                "AccountID": "xxxxxx==",
                "Name": "Test instance",
                "Region": "guangzhou",
                "Zones": "guangzhou-3",
                "Networks": [
                    {
                        "VIP": "10.0.0.x",
                        "Port": 8086,
                        "VpcId": "332211",
                        "SubnetId": "55321"
                    }
                ],
                "Spec": {
                    "RequestUnit": 1,
                    "PayMode": 1,
                    "CpuLimit": 1,
                    "MemoryLimit": 4,
                    "DiskLimit": 100,
                    "Shards": 3,
                    "Replicas": 1
                },
                "Status": 1,
                "Period": {
                    "StartTime": "2020-09-22T00:00:00+00:00",
                    "EndTime": "2020-09-22T00:00:00+00:00"
                },
                "CreatedAt": "2020-09-22T00:00:00+00:00",
                "UpdatedAt": "2020-09-22T00:00:00+00:00",
                "Tenant": {},
                "Tags": [
                    {
                        "Key": "test",
                        "Value": "Example"
                    }
                ],
                "Security": [
                    "test"
                ]
            }
        ],
        "RequestId": "requestxxxxxxxxxx"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
AuthFailure CAM signature/authentication error.
FailedOperation Operation failed.

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈