tccli 3.0.1211.1__py2.py3-none-any.whl → 3.0.1213.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/asr/v20190614/api.json +1 -1
- tccli/services/captcha/v20190722/api.json +13 -3
- tccli/services/ccc/v20200210/api.json +2 -2
- tccli/services/cdb/v20170320/api.json +18 -0
- tccli/services/cfw/v20190904/api.json +68 -64
- tccli/services/cfw/v20190904/examples.json +22 -22
- tccli/services/ckafka/v20190819/api.json +12 -23
- tccli/services/cvm/v20170312/api.json +1 -1
- tccli/services/cwp/v20180228/api.json +144 -112
- tccli/services/cwp/v20180228/examples.json +55 -55
- tccli/services/cynosdb/v20190107/api.json +52 -41
- tccli/services/cynosdb/v20190107/examples.json +2 -2
- tccli/services/dbbrain/v20210527/api.json +2 -2
- tccli/services/dbbrain/v20210527/examples.json +1 -1
- tccli/services/ecdn/v20191012/api.json +2 -2
- tccli/services/ecdn/v20191012/examples.json +1 -1
- tccli/services/emr/v20190103/api.json +2 -2
- tccli/services/emr/v20190103/examples.json +1 -1
- tccli/services/ess/v20201111/api.json +19 -1
- tccli/services/ess/v20201111/examples.json +6 -0
- tccli/services/essbasic/v20210526/api.json +19 -1
- tccli/services/essbasic/v20210526/examples.json +6 -0
- tccli/services/faceid/v20180301/api.json +13 -9
- tccli/services/hunyuan/v20230901/api.json +1 -1
- tccli/services/lcic/v20220817/api.json +5 -5
- tccli/services/lcic/v20220817/examples.json +2 -2
- tccli/services/lighthouse/v20200324/api.json +6 -6
- tccli/services/lighthouse/v20200324/examples.json +1 -1
- tccli/services/monitor/v20180724/api.json +19 -0
- tccli/services/mqtt/v20240516/api.json +3 -3
- tccli/services/ocr/v20181119/api.json +1 -1
- tccli/services/rce/v20201103/api.json +10 -10
- tccli/services/rce/v20201103/examples.json +1 -1
- tccli/services/ses/v20201002/api.json +21 -21
- tccli/services/sms/v20190711/api.json +74 -74
- tccli/services/sms/v20190711/examples.json +12 -12
- tccli/services/sms/v20210111/api.json +73 -73
- tccli/services/sms/v20210111/examples.json +15 -15
- tccli/services/taf/v20200210/api.json +38 -1
- tccli/services/taf/v20200210/examples.json +1 -1
- tccli/services/tdmq/tdmq_client.py +53 -0
- tccli/services/tdmq/v20200217/api.json +180 -66
- tccli/services/tdmq/v20200217/examples.json +20 -12
- tccli/services/tke/v20180525/api.json +11 -1
- tccli/services/tke/v20180525/examples.json +1 -1
- tccli/services/trocket/v20230308/api.json +353 -274
- tccli/services/trocket/v20230308/examples.json +58 -64
- tccli/services/trtc/v20190722/api.json +20 -20
- tccli/services/vpc/v20170312/api.json +9 -9
- tccli/services/waf/v20180125/api.json +83 -1
- tccli/services/waf/v20180125/examples.json +9 -1
- tccli/services/waf/waf_client.py +57 -4
- tccli/services/wedata/v20210820/api.json +390 -0
- tccli/services/wedata/v20210820/examples.json +14 -0
- tccli/services/wedata/wedata_client.py +57 -4
- {tccli-3.0.1211.1.dist-info → tccli-3.0.1213.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1211.1.dist-info → tccli-3.0.1213.1.dist-info}/RECORD +61 -61
- {tccli-3.0.1211.1.dist-info → tccli-3.0.1213.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1211.1.dist-info → tccli-3.0.1213.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1211.1.dist-info → tccli-3.0.1213.1.dist-info}/license_files/LICENSE +0 -0
@@ -2,23 +2,17 @@
|
|
2
2
|
"actions": {
|
3
3
|
"CreateConsumerGroup": [
|
4
4
|
{
|
5
|
-
"document": "
|
6
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConsumerGroup\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"ConsumerGroup\": \"
|
7
|
-
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"ConsumerGroup\": \"
|
5
|
+
"document": "创建消费组成功",
|
6
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConsumerGroup\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"ConsumerGroup\": \"test_group\",\n \"MaxRetryTimes\": 16,\n \"ConsumeEnable\": true,\n \"ConsumeMessageOrderly\": true,\n \"Remark\": \"test\"\n}",
|
7
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"ConsumerGroup\": \"test_group\",\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"RequestId\": \"58f60891-002f-4b8a-b71f-3767a645c28e\"\n }\n}",
|
8
8
|
"title": "创建消费组"
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"document": "创建消费者组",
|
12
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConsumerGroup\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-g83xq2jn\",\n \"ConsumerGroup\": \"group\",\n \"ConsumeMessageOrderly\": false,\n \"MaxRetryTimes\": 16,\n \"ConsumeEnable\": true\n}",
|
13
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"60a1347e-e418-42f1-9f9e-00226a3a3c18\",\n \"InstanceId\": \"rmq-g83xq2jn\",\n \"ConsumerGroup\": \"group\"\n }\n}",
|
14
|
-
"title": "创建消费者组"
|
15
9
|
}
|
16
10
|
],
|
17
11
|
"CreateInstance": [
|
18
12
|
{
|
19
13
|
"document": "成功创建一个 TPS 2000 的 RocketMQ 5.x 集群。",
|
20
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstance\n<公共请求参数>\n\n{\n \"InstanceType\": \"BASIC\",\n \"Name\": \"
|
21
|
-
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"InstanceId\": \"rmq-
|
14
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstance\n<公共请求参数>\n\n{\n \"InstanceType\": \"BASIC\",\n \"Name\": \"test_instance\",\n \"SkuCode\": \"basic_2k\"\n}",
|
15
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"InstanceId\": \"rmq-72mo3a9or\",\n \"RequestId\": \"32759095-0372-4ec0-ae3a-e5a2759fd0ff\"\n }\n}",
|
22
16
|
"title": "正常响应"
|
23
17
|
}
|
24
18
|
],
|
@@ -33,7 +27,7 @@
|
|
33
27
|
"CreateMQTTInstance": [
|
34
28
|
{
|
35
29
|
"document": "示例",
|
36
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMQTTInstance\n<公共请求参数>\n\n{\n \"InstanceType\": \"BASIC\",\n \"Name\": \"
|
30
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMQTTInstance\n<公共请求参数>\n\n{\n \"InstanceType\": \"BASIC\",\n \"Name\": \"instance-1\",\n \"SkuCode\": \"basic_1k\",\n \"Remark\": \"this is remark\",\n \"VpcList\": [\n {\n \"VpcId\": \"vpc-9a5wnirv\",\n \"SubnetId\": \"subnet-0tw6tlfi\"\n }\n ],\n \"IpRules\": [\n {\n \"Ip\": \"1.1.1.1\",\n \"Allow\": true,\n \"Remark\": \"11111111\"\n }\n ]\n}",
|
37
31
|
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"RequestId\": \"02107c9d-cbea-418c-bafc-740300fdefad\"\n }\n}",
|
38
32
|
"title": "示例"
|
39
33
|
}
|
@@ -49,7 +43,7 @@
|
|
49
43
|
"CreateMQTTUser": [
|
50
44
|
{
|
51
45
|
"document": "示例",
|
52
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMQTTUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"Remark\": \"
|
46
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMQTTUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"Remark\": \"remark\",\n \"PermWrite\": true,\n \"PermRead\": true,\n \"Username\": \"username\",\n \"Password\": \"pwd\"\n}",
|
53
47
|
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"25cb77a7-2add-4086-8fd2-a05b5bd34776\"\n }\n}",
|
54
48
|
"title": "示例"
|
55
49
|
}
|
@@ -57,33 +51,33 @@
|
|
57
51
|
"CreateRole": [
|
58
52
|
{
|
59
53
|
"document": "添加角色",
|
60
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRole\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Role\": \"
|
61
|
-
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"0bb79e96-2531-4088-8d90-e1372c15518a\",\n \"Role\": \"
|
54
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRole\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Role\": \"test_role_name\",\n \"Remark\": \"测试角色\",\n \"PermWrite\": true,\n \"PermRead\": true\n}",
|
55
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"0bb79e96-2531-4088-8d90-e1372c15518a\",\n \"Role\": \"test_role_name\"\n }\n}",
|
62
56
|
"title": "添加角色"
|
63
57
|
}
|
64
58
|
],
|
65
59
|
"CreateTopic": [
|
66
60
|
{
|
67
61
|
"document": "创建主题",
|
68
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Topic\": \"
|
69
|
-
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"RequestId\": \"97f45511-b653-4e2a-ade6-58c8d3ae523b\",\n \"Topic\": \"
|
70
|
-
"title": "
|
62
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Topic\": \"test_topic\",\n \"TopicType\": \"NORMAL\",\n \"QueueNum\": 16,\n \"Remark\": \"测试主题\"\n}",
|
63
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"RequestId\": \"97f45511-b653-4e2a-ade6-58c8d3ae523b\",\n \"Topic\": \"test_topic\"\n }\n}",
|
64
|
+
"title": "创建主题示例"
|
71
65
|
}
|
72
66
|
],
|
73
67
|
"DeleteConsumerGroup": [
|
74
68
|
{
|
75
69
|
"document": "删除消费组",
|
76
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteConsumerGroup\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"ConsumerGroup\": \"
|
70
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteConsumerGroup\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"ConsumerGroup\": \"test_group\"\n}",
|
77
71
|
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"8221cd04-dafc-438d-bc1f-816fd87df24e\"\n }\n}",
|
78
72
|
"title": "删除消费组"
|
79
73
|
}
|
80
74
|
],
|
81
75
|
"DeleteInstance": [
|
82
76
|
{
|
83
|
-
"document": "
|
84
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-
|
85
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
86
|
-
"title": "
|
77
|
+
"document": "删除 RocketMQ 5.x 集群",
|
78
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\"\n}",
|
79
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"97f45511-b653-4e2a-ade6-58c8d3ae523b\"\n }\n}",
|
80
|
+
"title": "删除集群"
|
87
81
|
}
|
88
82
|
],
|
89
83
|
"DeleteMQTTInsPublicEndpoint": [
|
@@ -113,7 +107,7 @@
|
|
113
107
|
"DeleteMQTTUser": [
|
114
108
|
{
|
115
109
|
"document": "示例",
|
116
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMQTTUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"Username\": \"
|
110
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMQTTUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"Username\": \"user1\"\n}",
|
117
111
|
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"74625f9b-ce92-43d5-ba0b-9a85ddb99041\"\n }\n}",
|
118
112
|
"title": "示例"
|
119
113
|
}
|
@@ -121,7 +115,7 @@
|
|
121
115
|
"DeleteRole": [
|
122
116
|
{
|
123
117
|
"document": "删除角色",
|
124
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRole\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Role\": \"
|
118
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRole\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Role\": \"test_role_name\"\n}",
|
125
119
|
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"c6e5472a-231d-4bd0-84cf-447f76a8216e\"\n }\n}",
|
126
120
|
"title": "删除角色"
|
127
121
|
}
|
@@ -129,7 +123,7 @@
|
|
129
123
|
"DeleteTopic": [
|
130
124
|
{
|
131
125
|
"document": "删除主题",
|
132
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Topic\": \"
|
126
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Topic\": \"test_topic\"\n}",
|
133
127
|
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"4687272f-f35c-4aef-9941-ced81c164d4b\"\n }\n}",
|
134
128
|
"title": "删除主题"
|
135
129
|
}
|
@@ -146,40 +140,40 @@
|
|
146
140
|
{
|
147
141
|
"document": "获取消费组列表",
|
148
142
|
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConsumerGroupList\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Offset\": 0,\n \"Limit\": 1\n}",
|
149
|
-
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"ConsumeEnable\": true,\n \"ConsumeMessageOrderly\": true,\n \"ConsumerGroup\": \"
|
143
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"ConsumeEnable\": true,\n \"ConsumeMessageOrderly\": true,\n \"ConsumerGroup\": \"test_group\",\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"MaxRetryTimes\": 16,\n \"Remark\": \"测试消费组\"\n }\n ],\n \"RequestId\": \"318142bf-0dd1-4b81-9444-a40f988619a1\",\n \"TotalCount\": 1\n }\n}",
|
150
144
|
"title": "获取消费组列表"
|
151
145
|
}
|
152
146
|
],
|
153
147
|
"DescribeConsumerLag": [
|
154
148
|
{
|
155
149
|
"document": "查询指定客户端堆积成功",
|
156
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConsumerLag\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-24kzek2b\",\n \"ConsumerGroup\": \"
|
157
|
-
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"ConsumerLag\":
|
150
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConsumerLag\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-24kzek2b\",\n \"ConsumerGroup\": \"test_group\"\n}",
|
151
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"ConsumerLag\": 260,\n \"RequestId\": \"2b9eef15-a8bc-47a3-9445-9edcafccb459\"\n }\n}",
|
158
152
|
"title": "正常响应"
|
159
153
|
}
|
160
154
|
],
|
161
155
|
"DescribeFusionInstanceList": [
|
162
156
|
{
|
163
157
|
"document": "",
|
164
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFusionInstanceList\n<公共请求参数>\n\n{\n \"
|
165
|
-
"output": "{\n \"Response\": {\n \"TotalCount\":
|
166
|
-
"title": "
|
158
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFusionInstanceList\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 20\n}",
|
159
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"Data\": [\n {\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"InstanceName\": \"test_instance5x\",\n \"Version\": \"5.0\",\n \"InstanceType\": \"EXPERIMENT\",\n \"InstanceStatus\": \"RUNNING\",\n \"TopicNumLimit\": 52,\n \"GroupNumLimit\": 520,\n \"PayMode\": \"PREPAID\",\n \"ExpiryTime\": 1731830193435,\n \"Remark\": \"5.X 版本测试集群\",\n \"TopicNum\": 3,\n \"GroupNum\": 10,\n \"TagList\": [\n {\n \"TagKey\": \"test_tag\",\n \"TagValue\": \"test_tag_key\"\n }\n ],\n \"SkuCode\": \"experiment_500\",\n \"TpsLimit\": 500,\n \"ScaledTpsLimit\": 0,\n \"MessageRetention\": 72,\n \"MaxMessageDelay\": 168,\n \"RenewFlag\": 1,\n \"InstanceItemExtraInfo\": {\n \"IsVip\": true,\n \"VipInstanceStatus\": 0,\n \"MaxBandWidth\": 0,\n \"SpecName\": \"abc\",\n \"NodeCount\": 0,\n \"MaxStorage\": 0,\n \"MaxRetention\": 0,\n \"MinRetention\": 0,\n \"InstanceStatus\": 0\n },\n \"DestroyTime\": 0\n },\n {\n \"InstanceId\": \"rocketmq-5kze4gr222mx\",\n \"InstanceName\": \"test_instance4x\",\n \"Version\": \"4\",\n \"InstanceType\": \"BASIC\",\n \"InstanceStatus\": \"RUNNING\",\n \"TopicNumLimit\": 400,\n \"GroupNumLimit\": 4000,\n \"PayMode\": \"PREPAID\",\n \"ExpiryTime\": 1730710586538,\n \"Remark\": \"4.X 版本测试集群\",\n \"TopicNum\": 1,\n \"GroupNum\": 1,\n \"TagList\": [\n {\n \"TagKey\": \"test_tag\",\n \"TagValue\": \"test_tag_key\"\n }\n ],\n \"SkuCode\": \"\",\n \"TpsLimit\": 8000,\n \"ScaledTpsLimit\": 0,\n \"MessageRetention\": 72,\n \"MaxMessageDelay\": 0,\n \"RenewFlag\": 1,\n \"DestroyTime\": 0,\n \"InstanceItemExtraInfo\": {\n \"IsVip\": true,\n \"InstanceStatus\": 1,\n \"VipInstanceStatus\": 1,\n \"MaxBandWidth\": 80,\n \"NodeCount\": 2,\n \"MaxStorage\": 200,\n \"SpecName\": \"rocket-vip-basic-0\",\n \"MaxRetention\": 168,\n \"MinRetention\": 24\n }\n }\n ],\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
160
|
+
"title": "获取全量集群列表"
|
167
161
|
}
|
168
162
|
],
|
169
163
|
"DescribeInstance": [
|
170
164
|
{
|
171
|
-
"document": "
|
172
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
173
|
-
"output": "{\n \"Response\": {\n \"ScaledTpsEnabled\": false,\n \"InstanceType\": \"
|
174
|
-
"title": "
|
165
|
+
"document": "查询集群信息成功",
|
166
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\"\n}",
|
167
|
+
"output": "{\n \"Response\": {\n \"ScaledTpsEnabled\": false,\n \"InstanceType\": \"EXPERIMENT\",\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"InstanceName\": \"test_instance\",\n \"TopicNum\": 2,\n \"TopicNumLimit\": 50,\n \"GroupNum\": 10,\n \"GroupNumLimit\": 500,\n \"MessageRetention\": 72,\n \"RetentionUpperLimit\": 168,\n \"RetentionLowerLimit\": 1,\n \"TpsLimit\": 500,\n \"ScaledTpsLimit\": 0,\n \"MaxMessageDelay\": 168,\n \"CreatedTime\": 1731920303801,\n \"SendReceiveRatio\": 0.5,\n \"TagList\": [\n {\n \"TagKey\": \"test_tag_key\",\n \"TagValue\": \"test_tag_value\"\n }\n ],\n \"EndpointList\": [\n {\n \"Type\": \"VPC\",\n \"Status\": \"OPEN\",\n \"PayMode\": \"PREPAID\",\n \"EndpointUrl\": \"rmq-72mo3a9o.rocketmq.xx.qcloud.tencenttdmq.com:8080\",\n \"VpcId\": \"vpc-be1tvrab\",\n \"SubnetId\": \"subnet-i6fjswac\",\n \"Bandwidth\": 0,\n \"IpRules\": []\n }\n ],\n \"TopicQueueNumUpperLimit\": 32,\n \"TopicQueueNumLowerLimit\": 1,\n \"Remark\": \"测试集群\",\n \"InstanceStatus\": \"RUNNING\",\n \"SkuCode\": \"experiment_500\",\n \"PayMode\": \"PREPAID\",\n \"RequestId\": \"32759095-0372-4ec0-ae3a-e5a2759fd0ff\"\n }\n}",
|
168
|
+
"title": "查询集群信息成功"
|
175
169
|
}
|
176
170
|
],
|
177
171
|
"DescribeInstanceList": [
|
178
172
|
{
|
179
|
-
"document": "
|
180
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceList\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\":
|
181
|
-
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"ExpiryTime\": 0,\n \"GroupNum\":
|
182
|
-
"title": "
|
173
|
+
"document": "查询RocketMQ 5.X 集群列表",
|
174
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceList\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 20\n}",
|
175
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"ExpiryTime\": 0,\n \"GroupNum\": 10,\n \"GroupNumLimit\": 500,\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"InstanceName\": \"test_instance5x\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"EXPERIMENT\",\n \"MaxMessageDelay\": 48,\n \"MessageRetention\": 72,\n \"PayMode\": \"POSTPAID\",\n \"Remark\": \"5.X版本测试集群\",\n \"ScaledTpsLimit\": 0,\n \"SkuCode\": \"experiment_500\",\n \"TagList\": [\n {\n \"TagKey\": \"test_tag_key\",\n \"TagValue\": \"test_tag_value\"\n }\n ],\n \"TopicNum\": 10,\n \"TopicNumLimit\": 50,\n \"TpsLimit\": 500,\n \"Version\": \"5.0\"\n }\n ],\n \"RequestId\": \"561a34ff-965b-4a2d-852e-973c0b2a6f01\",\n \"TotalCount\": 1\n }\n}",
|
176
|
+
"title": "查询集群列表"
|
183
177
|
}
|
184
178
|
],
|
185
179
|
"DescribeMQTTClient": [
|
@@ -194,7 +188,7 @@
|
|
194
188
|
{
|
195
189
|
"document": "示例",
|
196
190
|
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTInsPublicEndpoints\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-gn8qoq3z\"\n}",
|
197
|
-
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Bandwidth\": 2,\n \"Endpoints\": [\n {\n \"Host\": \"
|
191
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Bandwidth\": 2,\n \"Endpoints\": [\n {\n \"Host\": \"mqttproxy-gn8qoq3z-gz-public.mqtt.tencenttdmq.com\",\n \"Port\": 8888,\n \"SubnetId\": null,\n \"Type\": \"mqtt-ws\",\n \"Url\": \"mqttproxy-gn8qoq3z-gz-public.mqtt.tencenttdmq.com:8888\",\n \"VpcId\": null\n },\n {\n \"Host\": \"mqttproxy-gn8qoq3z-gz-public.mqtt.tencenttdmq.com\",\n \"Port\": 1883,\n \"SubnetId\": null,\n \"Type\": \"mqtt-tcp\",\n \"Url\": \"mqttproxy-gn8qoq3z-gz-public.mqtt.tencenttdmq.com:1883\",\n \"VpcId\": null\n },\n {\n \"Host\": \"mqttproxy-gn8qoq3z-gz-public.mqtt.tencenttdmq.com\",\n \"Port\": 8883,\n \"SubnetId\": null,\n \"Type\": \"mqtt-tls\",\n \"Url\": \"mqttproxy-gn8qoq3z-gz-public.mqtt.tencenttdmq.com:8883\",\n \"VpcId\": null\n }\n ],\n \"InstanceId\": \"mqtt-gn8qoq3z\",\n \"RequestId\": \"3891d712-94f7-4d03-9420-fae4fa3a61ea\",\n \"Rules\": [\n {\n \"Allow\": true,\n \"IpRule\": \"0.0.0.0/0\",\n \"Remark\": \"\"\n }\n ],\n \"Status\": \"NORMAL\"\n }\n}",
|
198
192
|
"title": "示例"
|
199
193
|
}
|
200
194
|
],
|
@@ -210,7 +204,7 @@
|
|
210
204
|
{
|
211
205
|
"document": "示例",
|
212
206
|
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\"\n}",
|
213
|
-
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"ClientNumLimit\": 1000,\n \"CreatedTime\": 1705562417,\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"InstanceName\": \"
|
207
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"ClientNumLimit\": 1000,\n \"CreatedTime\": 1705562417,\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"InstanceName\": \"instance-1\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"Remark\": \"this is remark\",\n \"RequestId\": \"2251b9cf-aedd-4457-ac8d-bc705f48ccb8\",\n \"SkuCode\": \"basic_1k\",\n \"SubscriptionNumLimit\": 1000,\n \"TopicNum\": 1,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000\n }\n}",
|
214
208
|
"title": "示例"
|
215
209
|
}
|
216
210
|
],
|
@@ -218,7 +212,7 @@
|
|
218
212
|
{
|
219
213
|
"document": "示例",
|
220
214
|
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTInstanceCert\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\"\n}",
|
221
|
-
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"InstanceId\":
|
215
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"InstanceId\": \"instance-1\",\n \"RequestId\": \"a07a950a-43ea-4c13-a812-7ba4337d186a\",\n \"SSLCaCertId\": \"ca-id\",\n \"SSLServerCertId\": \"server-cert-id\"\n }\n}",
|
222
216
|
"title": "示例"
|
223
217
|
}
|
224
218
|
],
|
@@ -234,7 +228,7 @@
|
|
234
228
|
{
|
235
229
|
"document": "示例",
|
236
230
|
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTMessage\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Topic\": \"topic24\",\n \"MsgId\": \"0B8D67F0002D6ACBCFC0557BCEBA0001\"\n}",
|
237
|
-
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Body\": \"Hello
|
231
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Body\": \"Hello MQTT\",\n \"MessageId\": \"0B8D67F0002D6ACBCFC0557BCEBA0001\",\n \"ProduceTime\": \"2024-01-17 14:22:57\",\n \"ProducerAddr\": \"11.176.16.153:51134\",\n \"Properties\": [\n {\n \"Key\": \"TRACE_ON\",\n \"Value\": \"true\"\n },\n {\n \"Key\": \"originMqttTopic\",\n \"Value\": \"mqtt-47ka4rdr%topic24/1\"\n },\n {\n \"Key\": \"INNER_MULTI_DISPATCH\",\n \"Value\": \"%LMQ%mqtt-47ka4rdr%topic24%1%\"\n },\n {\n \"Key\": \"IS_EMPTY_MSG\",\n \"Value\": \"false\"\n },\n {\n \"Key\": \"INNER_MULTI_QUEUE_OFFSET\",\n \"Value\": \"0\"\n },\n {\n \"Key\": \"retryTimes\",\n \"Value\": \"0\"\n },\n {\n \"Key\": \"extData\",\n \"Value\": \"{\\\"qosLevel\\\":\\\"1\\\"}\"\n },\n {\n \"Key\": \"MSG_REGION\",\n \"Value\": \"cd\"\n },\n {\n \"Key\": \"qosLevel\",\n \"Value\": \"1\"\n },\n {\n \"Key\": \"UNIQ_KEY\",\n \"Value\": \"0B8D67F0002D6ACBCFC0557BCEBA0001\"\n },\n {\n \"Key\": \"CLUSTER\",\n \"Value\": \"rmqbk-mqtt\"\n },\n {\n \"Key\": \"TAGS\",\n \"Value\": \"MQTT_COMMON\"\n },\n {\n \"Key\": \"__CLIENT_HOST\",\n \"Value\": \"11.176.16.153:51134\"\n }\n ],\n \"RequestId\": \"e658afc8-e2c0-463e-bf90-3103d881d59f\",\n \"ShowTopicName\": \"topic-home\"\n }\n}",
|
238
232
|
"title": "示例"
|
239
233
|
}
|
240
234
|
],
|
@@ -250,7 +244,7 @@
|
|
250
244
|
{
|
251
245
|
"document": "示例",
|
252
246
|
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTProductSKUList\n<公共请求参数>\n\n{}",
|
253
|
-
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"MQTTProductSkuList\": [\n {\n \"ClientNumLimit\":
|
247
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"MQTTProductSkuList\": [\n {\n \"ClientNumLimit\": 1000,\n \"InstanceType\": \"BASIC\",\n \"OnSale\": true,\n \"ProxySpecCore\": 1,\n \"ProxySpecCount\": 2,\n \"ProxySpecMemory\": 2,\n \"SkuCode\": \"basic_1k\",\n \"SubscriptionNumLimit\": 1000,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000\n }\n ],\n \"RequestId\": \"2be05982-b125-4259-b965-c487949cd896\",\n \"TotalCount\": 2\n }\n}",
|
254
248
|
"title": "示例"
|
255
249
|
}
|
256
250
|
],
|
@@ -288,48 +282,48 @@
|
|
288
282
|
],
|
289
283
|
"DescribeRoleList": [
|
290
284
|
{
|
291
|
-
"document": "
|
292
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRoleList\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Offset\": 0,\n \"Limit\":
|
293
|
-
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"
|
285
|
+
"document": "查询角色列表成功",
|
286
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRoleList\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Offset\": 0,\n \"Limit\": 20\n}",
|
287
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"c5d126b6-aeeb-40ad-81c0-a94abd43f157\",\n \"TotalCount\": 1,\n \"Data\": [\n {\n \"RoleName\": \"test_role_name\",\n \"AccessKey\": \"ak4ae3zkj2zea6741a2a709\",\n \"SecretKey\": \"skd68607c7dc2be6a4\",\n \"PermRead\": true,\n \"PermWrite\": true,\n \"Remark\": \"\",\n \"CreatedTime\": 1729153015000,\n \"ModifiedTime\": 1729153015000\n }\n ]\n }\n}",
|
294
288
|
"title": "查询角色列表"
|
295
289
|
}
|
296
290
|
],
|
297
291
|
"DescribeTopic": [
|
298
292
|
{
|
299
293
|
"document": "查询主题详情",
|
300
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Topic\": \"
|
301
|
-
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"CreatedTime\": 1683601674000,\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"LastUpdateTime\": 0,\n \"Remark\": \"
|
294
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Topic\": \"test_topic\",\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
295
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"CreatedTime\": 1683601674000,\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"LastUpdateTime\": 0,\n \"Remark\": \"测试主题\",\n \"RequestId\": \"f7f7ba8a-4335-4adb-9186-680b91502c42\",\n \"SubscriptionCount\": 0,\n \"SubscriptionData\": [],\n \"Topic\": \"test_topic\",\n \"TopicType\": \"NORMAL\"\n }\n}",
|
302
296
|
"title": "查询主题详情"
|
303
297
|
}
|
304
298
|
],
|
305
299
|
"DescribeTopicList": [
|
306
300
|
{
|
307
301
|
"document": "查询主题列表",
|
308
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopicList\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Offset\": 0,\n \"Limit\":
|
309
|
-
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"QueueNum\": 16,\n \"Remark\": \"
|
302
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopicList\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Offset\": 0,\n \"Limit\": 20\n}",
|
303
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"QueueNum\": 16,\n \"Remark\": \"测试主题\",\n \"Topic\": \"test_topic\",\n \"TopicType\": \"NORMAL\"\n }\n ],\n \"RequestId\": \"927cbd2c-be83-410e-a83f-24dcea1d88d9\",\n \"TotalCount\": 1\n }\n}",
|
310
304
|
"title": "查询主题列表"
|
311
305
|
}
|
312
306
|
],
|
313
307
|
"ImportSourceClusterConsumerGroups": [
|
314
308
|
{
|
315
309
|
"document": "",
|
316
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImportSourceClusterConsumerGroups\n<公共请求参数>\n\n{\n \"TaskId\": \"
|
317
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
310
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImportSourceClusterConsumerGroups\n<公共请求参数>\n\n{\n \"TaskId\": \"n4zk7nv4-d596886f\",\n \"GroupList\": [\n {\n \"GroupName\": \"test_group\",\n \"Remark\": \"测试\",\n \"Namespace\": \"test_namespace\"\n }\n ]\n}",
|
311
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c5d126b6-aeeb-40ad-81c0-a94abd43f157\"\n }\n}",
|
318
312
|
"title": "导入源集群消费组"
|
319
313
|
}
|
320
314
|
],
|
321
315
|
"ImportSourceClusterTopics": [
|
322
316
|
{
|
323
317
|
"document": "",
|
324
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImportSourceClusterTopics\n<公共请求参数>\n\n{\n \"TaskId\": \"
|
325
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
318
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImportSourceClusterTopics\n<公共请求参数>\n\n{\n \"TaskId\": \"215d3ec6-70c9\",\n \"TopicList\": [\n {\n \"TopicName\": \"test_topic\",\n \"TopicType\": \"Normal\",\n \"QueueNum\": 3,\n \"Remark\": \"测试导入\",\n \"Namespace\": \"test_namespace\"\n }\n ]\n}",
|
319
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c5d126b6-aeeb-40ad-81c0-a94abd43f157\"\n }\n}",
|
326
320
|
"title": "导入源集群主题列表"
|
327
321
|
}
|
328
322
|
],
|
329
323
|
"ModifyConsumerGroup": [
|
330
324
|
{
|
331
|
-
"document": "
|
332
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyConsumerGroup\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"ConsumerGroup\": \"
|
325
|
+
"document": "修改消费组属性成功",
|
326
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyConsumerGroup\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"ConsumerGroup\": \"test_group\",\n \"ConsumeEnable\": true,\n \"ConsumeMessageOrderly\": true,\n \"MaxRetryTimes\": 16,\n \"Remark\": \"测试修改\"\n}",
|
333
327
|
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"239a3769-8dc6-41e9-bc01-67be452db5a3\"\n }\n}",
|
334
328
|
"title": "修改消费组属性"
|
335
329
|
}
|
@@ -345,7 +339,7 @@
|
|
345
339
|
"ModifyMQTTInsPublicEndpoint": [
|
346
340
|
{
|
347
341
|
"document": "示例",
|
348
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTInsPublicEndpoint\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Bandwidth\": 2,\n \"Rules\": [\n {\n \"IpRule\": \"2.2.2.2\",\n \"Allow\": true,\n \"Remark\": \"
|
342
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTInsPublicEndpoint\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Bandwidth\": 2,\n \"Rules\": [\n {\n \"IpRule\": \"2.2.2.2\",\n \"Allow\": true,\n \"Remark\": \"remark1\"\n }\n ]\n}",
|
349
343
|
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"02eb3529-3440-44e9-b2c8-1e65c7017c09\"\n }\n}",
|
350
344
|
"title": "示例"
|
351
345
|
}
|
@@ -353,7 +347,7 @@
|
|
353
347
|
"ModifyMQTTInstance": [
|
354
348
|
{
|
355
349
|
"document": "示例",
|
356
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Name\": \"
|
350
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"Name\": \"instance-2\",\n \"Remark\": \"ramark\"\n}",
|
357
351
|
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"9955522b-ac27-46c1-8a16-3ed6f98f9c5c\"\n }\n}",
|
358
352
|
"title": "示例"
|
359
353
|
}
|
@@ -369,7 +363,7 @@
|
|
369
363
|
"ModifyMQTTTopic": [
|
370
364
|
{
|
371
365
|
"document": "示例",
|
372
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-rvb5xxrn\",\n \"Topic\": \"
|
366
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTTopic\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-rvb5xxrn\",\n \"Topic\": \"topic1\",\n \"Remark\": \"ramark1\"\n}",
|
373
367
|
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"29a02c3b-66ee-4442-acb7-3545b8e044b7\"\n }\n}",
|
374
368
|
"title": "示例"
|
375
369
|
}
|
@@ -377,15 +371,15 @@
|
|
377
371
|
"ModifyMQTTUser": [
|
378
372
|
{
|
379
373
|
"document": "示例",
|
380
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"Username\": \"
|
374
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMQTTUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-7pnqmkrx\",\n \"Username\": \"user2\",\n \"Remark\": \"remark2\",\n \"PermRead\": true,\n \"PermWrite\": true\n}",
|
381
375
|
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"85d3aeee-ba25-47cc-8c17-7ad837b877ba\"\n }\n}",
|
382
376
|
"title": "示例"
|
383
377
|
}
|
384
378
|
],
|
385
379
|
"ModifyRole": [
|
386
380
|
{
|
387
|
-
"document": "
|
388
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRole\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Role\": \"
|
381
|
+
"document": "修改角色成功",
|
382
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRole\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Role\": \"test_role_name\",\n \"Remark\": \"测试修改\",\n \"PermRead\": false,\n \"PermWrite\": false\n}",
|
389
383
|
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"0608515b-cde2-41d6-933c-169d0d1849c5\"\n }\n}",
|
390
384
|
"title": "修改角色"
|
391
385
|
}
|
@@ -487,80 +487,80 @@
|
|
487
487
|
"members": [
|
488
488
|
{
|
489
489
|
"disabled": false,
|
490
|
-
"document": "机器人的UserId,用于进房发起任务。【注意】这个UserId不能与当前房间内的主播观众[UserId](https://cloud.tencent.com/document/product/647/46351#userid)重复。如果一个房间发起多个任务时,机器人的UserId也不能相互重复,否则会中断前一个任务。需要保证机器人UserId
|
490
|
+
"document": "机器人的UserId,用于进房发起任务。【注意】这个UserId不能与当前房间内的主播观众[UserId](https://cloud.tencent.com/document/product/647/46351#userid)重复。如果一个房间发起多个任务时,机器人的UserId也不能相互重复,否则会中断前一个任务。需要保证机器人UserId在房间内唯一。",
|
491
491
|
"example": "无",
|
492
492
|
"member": "string",
|
493
493
|
"name": "UserId",
|
494
494
|
"output_required": false,
|
495
495
|
"required": true,
|
496
496
|
"type": "string",
|
497
|
-
"value_allowed_null":
|
497
|
+
"value_allowed_null": false
|
498
498
|
},
|
499
499
|
{
|
500
500
|
"disabled": false,
|
501
|
-
"document": "机器人UserId对应的校验签名,即UserId和UserSig相当于机器人进房的登录密码,具体计算方法请参考TRTC计算[UserSig](https://cloud.tencent.com/document/product/647/45910#UserSig)
|
501
|
+
"document": "机器人UserId对应的校验签名,即UserId和UserSig相当于机器人进房的登录密码,具体计算方法请参考TRTC计算[UserSig](https://cloud.tencent.com/document/product/647/45910#UserSig)的方案。",
|
502
502
|
"example": "无",
|
503
503
|
"member": "string",
|
504
504
|
"name": "UserSig",
|
505
505
|
"output_required": false,
|
506
506
|
"required": true,
|
507
507
|
"type": "string",
|
508
|
-
"value_allowed_null":
|
508
|
+
"value_allowed_null": false
|
509
509
|
},
|
510
510
|
{
|
511
511
|
"disabled": false,
|
512
|
-
"document": "机器人拉流的UserId, 填写后,机器人会拉取该UserId
|
512
|
+
"document": "机器人拉流的UserId, 填写后,机器人会拉取该UserId的流进行实时处理",
|
513
513
|
"example": "无",
|
514
514
|
"member": "string",
|
515
515
|
"name": "TargetUserId",
|
516
516
|
"output_required": false,
|
517
517
|
"required": true,
|
518
518
|
"type": "string",
|
519
|
-
"value_allowed_null":
|
519
|
+
"value_allowed_null": false
|
520
520
|
},
|
521
521
|
{
|
522
522
|
"disabled": false,
|
523
|
-
"document": "房间内超过MaxIdleTime 没有推流,后台自动关闭任务,默认值是60s
|
523
|
+
"document": "房间内超过MaxIdleTime 没有推流,后台自动关闭任务,默认值是60s。",
|
524
524
|
"example": "无",
|
525
525
|
"member": "uint64",
|
526
526
|
"name": "MaxIdleTime",
|
527
527
|
"output_required": false,
|
528
528
|
"required": false,
|
529
529
|
"type": "int",
|
530
|
-
"value_allowed_null":
|
530
|
+
"value_allowed_null": false
|
531
531
|
},
|
532
532
|
{
|
533
533
|
"disabled": false,
|
534
|
-
"document": "
|
534
|
+
"document": "机器人的欢迎语",
|
535
535
|
"example": "无",
|
536
536
|
"member": "string",
|
537
537
|
"name": "WelcomeMessage",
|
538
538
|
"output_required": false,
|
539
539
|
"required": false,
|
540
540
|
"type": "string",
|
541
|
-
"value_allowed_null":
|
541
|
+
"value_allowed_null": false
|
542
542
|
},
|
543
543
|
{
|
544
544
|
"disabled": false,
|
545
|
-
"document": "智能打断模式,默认为0,0表示服务端自动打断,1
|
545
|
+
"document": "智能打断模式,默认为0,0表示服务端自动打断,1表示服务端不打断,由端上发送打断信令进行打断",
|
546
546
|
"example": "无",
|
547
547
|
"member": "uint64",
|
548
548
|
"name": "InterruptMode",
|
549
549
|
"output_required": false,
|
550
550
|
"required": false,
|
551
551
|
"type": "int",
|
552
|
-
"value_allowed_null":
|
552
|
+
"value_allowed_null": false
|
553
553
|
},
|
554
554
|
{
|
555
555
|
"disabled": false,
|
556
|
-
"document": "InterruptMode为0时使用,单位为毫秒,默认为500ms。表示服务端检测到持续InterruptSpeechDuration
|
556
|
+
"document": "InterruptMode为0时使用,单位为毫秒,默认为500ms。表示服务端检测到持续InterruptSpeechDuration毫秒的人声则进行打断。",
|
557
557
|
"example": "无",
|
558
558
|
"member": "uint64",
|
559
559
|
"name": "InterruptSpeechDuration",
|
560
560
|
"output_required": false,
|
561
561
|
"required": false,
|
562
562
|
"type": "int",
|
563
|
-
"value_allowed_null":
|
563
|
+
"value_allowed_null": false
|
564
564
|
}
|
565
565
|
],
|
566
566
|
"usage": "both"
|
@@ -5331,36 +5331,36 @@
|
|
5331
5331
|
"members": [
|
5332
5332
|
{
|
5333
5333
|
"disabled": false,
|
5334
|
-
"document": "语音识别支持的语言,默认是\"zh\" 中文\n目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):\n1. Chinese = \"zh\" # 中文\n2. Chinese_TW = \"zh-TW\" # 中国台湾\n3. Chinese_DIALECT = \"zh-dialect\" # 中国方言\n4. English = \"en\" # 英语\n5. Vietnamese = \"vi\" # 越南语\n6. Japanese = \"ja\" # 日语\n7. Korean = \"ko\" # 韩语\n8. Indonesia = \"id\" # 印度尼西亚语\n9. Thai = \"th\" # 泰语\n10. Portuguese = \"pt\" # 葡萄牙语\n11. Turkish = \"tr\" # 土耳其语\n12. Arabic = \"ar\" # 阿拉伯语\n13. Spanish = \"es\" # 西班牙语\n14. Hindi = \"hi\" # 印地语\n15. French = \"fr\" # 法语\n16. Malay = \"ms\" # 马来语\n17. Filipino = \"fil\" # 菲律宾语\n18. German = \"de\" # 德语\n19. Italian = \"it\" # 意大利语\n20. Russian = \"ru\" # 俄语\n\n注意:\n
|
5334
|
+
"document": "语音识别支持的语言,默认是\"zh\" 中文\n目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):\n1. Chinese = \"zh\" # 中文\n2. Chinese_TW = \"zh-TW\" # 中国台湾\n3. Chinese_DIALECT = \"zh-dialect\" # 中国方言\n4. English = \"en\" # 英语\n5. Vietnamese = \"vi\" # 越南语\n6. Japanese = \"ja\" # 日语\n7. Korean = \"ko\" # 韩语\n8. Indonesia = \"id\" # 印度尼西亚语\n9. Thai = \"th\" # 泰语\n10. Portuguese = \"pt\" # 葡萄牙语\n11. Turkish = \"tr\" # 土耳其语\n12. Arabic = \"ar\" # 阿拉伯语\n13. Spanish = \"es\" # 西班牙语\n14. Hindi = \"hi\" # 印地语\n15. French = \"fr\" # 法语\n16. Malay = \"ms\" # 马来语\n17. Filipino = \"fil\" # 菲律宾语\n18. German = \"de\" # 德语\n19. Italian = \"it\" # 意大利语\n20. Russian = \"ru\" # 俄语\n21. Swedish = \"sv\" # 瑞典语\n22. Danish = \"da\" # 丹麦语\n23. Norwegian = \"no\" # 挪威语\n\n注意:\n如果缺少满足您需求的语言,请联系我们技术人员。",
|
5335
5335
|
"example": "zh",
|
5336
5336
|
"member": "string",
|
5337
5337
|
"name": "Language",
|
5338
5338
|
"output_required": false,
|
5339
5339
|
"required": false,
|
5340
5340
|
"type": "string",
|
5341
|
-
"value_allowed_null":
|
5341
|
+
"value_allowed_null": false
|
5342
5342
|
},
|
5343
5343
|
{
|
5344
5344
|
"disabled": false,
|
5345
|
-
"document": "发起模糊识别额外可能替代语言类型,最多填写3种语言类型, \n注:Language指定为\"zh-dialect\" # 中国方言 时,不支持模糊识别,该字段无效\n
|
5345
|
+
"document": "发起模糊识别额外可能替代语言类型,最多填写3种语言类型, \n注:Language指定为\"zh-dialect\" # 中国方言 时,不支持模糊识别,该字段无效\n",
|
5346
5346
|
"example": "无",
|
5347
5347
|
"member": "string",
|
5348
5348
|
"name": "AlternativeLanguage",
|
5349
5349
|
"output_required": false,
|
5350
5350
|
"required": false,
|
5351
5351
|
"type": "list",
|
5352
|
-
"value_allowed_null":
|
5352
|
+
"value_allowed_null": false
|
5353
5353
|
},
|
5354
5354
|
{
|
5355
5355
|
"disabled": false,
|
5356
|
-
"document": "语音识别vad的时间,范围为240-2000,默认为1000,单位为ms
|
5356
|
+
"document": "语音识别vad的时间,范围为240-2000,默认为1000,单位为ms。更小的值会让语音识别分句更快。",
|
5357
5357
|
"example": "无",
|
5358
5358
|
"member": "uint64",
|
5359
5359
|
"name": "VadSilenceTime",
|
5360
5360
|
"output_required": false,
|
5361
5361
|
"required": false,
|
5362
5362
|
"type": "int",
|
5363
|
-
"value_allowed_null":
|
5363
|
+
"value_allowed_null": false
|
5364
5364
|
}
|
5365
5365
|
],
|
5366
5366
|
"usage": "both"
|
@@ -10343,15 +10343,6 @@
|
|
10343
10343
|
"required": true,
|
10344
10344
|
"type": "string"
|
10345
10345
|
},
|
10346
|
-
{
|
10347
|
-
"disabled": false,
|
10348
|
-
"document": "云端地址(CIDR)列表。",
|
10349
|
-
"example": "['10.0.0.0/16']",
|
10350
|
-
"member": "string",
|
10351
|
-
"name": "LocalAddress",
|
10352
|
-
"required": true,
|
10353
|
-
"type": "list"
|
10354
|
-
},
|
10355
10346
|
{
|
10356
10347
|
"disabled": false,
|
10357
10348
|
"document": "客户端地址网段。",
|
@@ -10361,6 +10352,15 @@
|
|
10361
10352
|
"required": true,
|
10362
10353
|
"type": "string"
|
10363
10354
|
},
|
10355
|
+
{
|
10356
|
+
"disabled": false,
|
10357
|
+
"document": "云端地址(CIDR)列表。",
|
10358
|
+
"example": "['10.0.0.0/16']",
|
10359
|
+
"member": "string",
|
10360
|
+
"name": "LocalAddress",
|
10361
|
+
"required": false,
|
10362
|
+
"type": "list"
|
10363
|
+
},
|
10364
10364
|
{
|
10365
10365
|
"disabled": false,
|
10366
10366
|
"document": "SSL VPN服务端监听协议。当前仅支持 UDP,默认UDP。",
|