tencent cloud

消息队列 MQTT 版

动态与公告
新功能发布记录
产品简介
TDMQ 产品系列介绍与选型
什么是消息队列 MQTT 版
应用场景
技术架构
产品系列
MQTT 协议兼容说明
开源对比
高可用
产品约束与使用配额
基本概念
开服地域
购买指南
计费概述
续费说明
查看消费明细
欠费说明
退费说明
快速入门
入门流程指引
准备工作
公网接入
VPC 网络接入
用户指南
使用流程指引
配置账号权限
新建集群
管理 Topic
连接集群
查询消息
管理客户端
管理集群
查看监控和配置告警
数据集成
集成数据到云函数 SCF
集成数据到 CKafka
集成数据到 RocketMQ
开发指南
MQTT 5 高级特性
数据面 HTTP 接口说明
配置自定义域名
配置 SQL 过滤
配置点对点订阅
MQTT over QUIC
管理客户端订阅
消息增强规则
实践教程
MQTT 客户端开发注意事项
可观测能力
Topic 与通配符订阅
API 参考
History
Introduction
API Category
Making API Requests
Cluster APIs
Topic APIs
Authorization Policy APIs
User APIs
Client APIs
Message Enhancement Rule APIs
Message APIs
Data Types
Error Codes
SDK 参考
接入点格式
Java SDK
C SDK
Javascript/Node.JS/小程序
Go SDK
iOS SDK
JavaScript SDK
Dart SDK
Python SDK
.NET
安全与合规
权限管理
常见问题
相关协议
隐私协议
数据处理和安全协议
消息队列 MQTT 版服务等级协议
联系我们

DescribeInstance

聚焦模式
字号
最后更新时间: 2026-01-13 21:49:33

1. API Description

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

This API is used to query instance information.

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: DescribeInstance.
Version Yes String Common Params. The value used for this API: 2024-05-16.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
InstanceId Yes String tencent cloud MQTT instance ID, obtained from the DescribeInstanceList api or console.

3. Output Parameters

Parameter Name Type Description
InstanceType String Instance type
BASIC: basic edition.
PRO edition.
PLATINUM edition.
InstanceId String Instance ID.
InstanceName String Instance name
TopicNum Integer Number of topics
TopicNumLimit Integer Maximum number of topics per instance
TpsLimit Integer TPS throttle value
CreatedTime Integer Creation time, in seconds
Remark String Remarks
InstanceStatus String Instance status. RUNNING: running; MAINTAINING: maintaining; ABNORMAL: abnormal; OVERDUE: in arrears; DESTROYED: deleted; CREATING: creating; MODIFYING: adjusting the configuration; CREATE_FAILURE: creation failed; MODIFY_FAILURE: configuration adjustment failed; DELETING: deleting.
SkuCode String Specifies the instance specification.
MaxSubscriptionPerClient Integer Maximum number of subscriptions for a single client.
AuthorizationPolicyLimit Integer Number of authorization rules.
ClientNumLimit Integer Maximum number of clients.
DeviceCertificateProvisionType String Specifies the registration method for the client certificate.
JITP: automatically register.
API: register manually through api.
AutomaticActivation Boolean Specifies whether to automatically activate the device certificate during automatic registration.
RenewFlag Integer Whether the instance is automatically renewed. this parameter is valid only for monthly subscription clusters. valid values: 1 (auto-renewal), 0 (non-automatic renewal).
PayMode String Billing mode. POSTPAID: pay-as-you-go billing. PREPAID: monthly subscription.
ExpiryTime Integer Expiry time. millisecond-level timestamp.
DestroyTime Integer Scheduled destruction time. millisecond-level timestamp.
X509Mode String TLS, one-way authentication. mTLS, mutual authentication. BYOC, one certificate per device.
MaxCaNum Integer Specifies the maximum Ca quota.
RegistrationCode String FPS cert registration code.
MaxSubscription Integer Maximum number of subscriptions for a cluster.
AuthorizationPolicy Boolean Authorization policy switch.
SharedSubscriptionGroupLimit Integer Maximum limit of shared subscription groups.
MaxTopicFilterPerSharedSubscriptionGroup Integer Specifies the topic filter number limit for each shared subscription group.
AutoSubscriptionPolicyLimit Integer Specifies the limit on number of auto-subscription rules.
MaxTopicFilterPerAutoSubscriptionPolicy Integer Specifies the number limit of TopicFilter in a single auto-subscription rule.
UseDefaultServerCert Boolean Specifies whether to use the default server certificate.
TrustedCaLimit Integer Maximum allowed number of server cas.
ServerCertLimit Integer Specifies the maximum allowed number of server certificates.
TopicPrefixSlashLimit Integer Specifies the max level of the topic prefix.
MessageRate Integer Specifies the speed limit for sending messages by a single client in messages per second.
TransportLayerSecurity String Specifies the protocols supported by the server tls, separated by ",". example: TLSv1.3,TLSv1.2,TLSv1.1,TLSv1.
MessageEnrichmentRuleLimit Integer Specifies the message property enrichment rule quota.
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 Example

Input Example

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

{
    "InstanceId": "mqtt-7peanr83"
}

Output Example

{
    "Response": {
        "AuthorizationPolicy": false,
        "AuthorizationPolicyLimit": 20,
        "AutoSubscriptionPolicyLimit": 10,
        "AutomaticActivation": true,
        "ClientNumLimit": 4000,
        "CreatedTime": 1756879989,
        "DestroyTime": 0,
        "DeviceCertificateProvisionType": "API",
        "ExpiryTime": 1759471988911,
        "InstanceId": "mqtt-7peanr83",
        "InstanceName": "instance-1",
        "InstanceStatus": "RUNNING",
        "InstanceType": "PRO",
        "MaxCaNum": 20,
        "MaxSubscription": 120000,
        "MaxSubscriptionPerClient": 30,
        "MaxTopicFilterPerAutoSubscriptionPolicy": 20,
        "MaxTopicFilterPerSharedSubscriptionGroup": 10,
        "MessageRate": -1,
        "PayMode": "PREPAID",
        "RegistrationCode": "client-test",
        "Remark": "",
        "RenewFlag": 1,
        "ServerCertLimit": 3,
        "SharedSubscriptionGroupLimit": 20,
        "SkuCode": "pro_2k_2",
        "TopicNum": 0,
        "TopicNumLimit": 300,
        "TopicPrefixSlashLimit": 2,
        "TpsLimit": 2000,
        "TransportLayerSecurity": "TLSv1.3,TLSv1.2,TLSv1.1,TLSv1",
        "TrustedCaLimit": 3,
        "UseDefaultServerCert": true,
        "X509Mode": "BYOC",
        "RequestId": "8a95a551-ca77-45f6-aa00-77a090cac898"
    }
}

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
ResourceNotFound.Instance ResourceNotFound.Instance

帮助和支持

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

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

文档反馈