tencent cloud

本地专用集群

产品简介
产品概述
产品优势
应用场景
访问管理
产品计费
计费概述
购买方式
快速入门
创建本地机房
创建专用集群
创建和支付订单
用户指南
云服务类目
云服务器
云硬盘
对象存储
私有网络
NAT 网关
本地网关
弹性 IP
负载均衡
TKE 容器服务
消息队列 CKafka
云数据库 Redis
分布式数据库 TDSQL
Web 应用防火墙
创建虚拟连接
创建 IDC 通道
API 文档
History
Introduction
API Category
Making API Requests
Cloud Dedicated Cluster (CDC) APIs
Data Types
Error Codes
常见问题
联系我们
数据处理和安全协议
词汇表

DescribeDedicatedClusterHosts

聚焦模式
字号
最后更新时间: 2025-10-30 21:31:36

1. API Description

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

This API is used to query host information of the CDC

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: DescribeDedicatedClusterHosts.
Version Yes String Common Params. The value used for this API: 2020-12-14.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
DedicatedClusterId Yes String Cluster id
Offset No Integer Offset, 0 by default
Limit No Integer Number of returned pieces, 20 by default

3. Output Parameters

Parameter Name Type Description
HostInfoSet Array of HostInfo Host information
Note: The returned value of this field may be null, indicating that no valid value is obtained.
TotalCount Integer Total number of hosts
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 host information of the CDC

This example shows you how to query host information of the CDC

Input Example

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

{
    "DedicatedClusterId": "cluster-nk6e8j6c"
}

Output Example

{
    "Response": {
        "HostInfoSet": [
            {
                "HostIp": "50.4.2.2",
                "ServiceType": "CVM Host",
                "HostStatus": "PENDING",
                "HostType": "Standard S5.21XLARGE320",
                "RunTime": "2022-03-29 16:37:01",
                "ExpireTime": "2025-03-29 16:37:01",
                "CpuAvailable": 24,
                "CpuTotal": 24,
                "MemAvailable": 96,
                "MemTotal": 96
            },
            {
                "HostIp": "50.4.2.3",
                "ServiceType": "CVM Host",
                "HostStatus": "PENDING",
                "HostType": "Standard S5.21XLARGE320",
                "RunTime": "2022-03-30 16:37:01",
                "ExpireTime": "2025-03-30 16:37:01",
                "CpuAvailable": 24,
                "CpuTotal": 24,
                "MemAvailable": 96,
                "MemTotal": 96
            }
        ],
        "TotalCount": 2,
        "RequestId": "7ffc723c-49d2-45ae-82cc-270aa35d3c59"
    }
}

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

There is no error code related to the API business logic. For other error codes, please see Common Error Codes.

帮助和支持

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

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

文档反馈