tccli 3.0.1213.1__py2.py3-none-any.whl → 3.0.1214.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/batch/v20170312/api.json +2 -2
- tccli/services/captcha/v20190722/api.json +43 -43
- tccli/services/captcha/v20190722/examples.json +11 -11
- tccli/services/cfw/v20190904/api.json +28 -23
- tccli/services/cfw/v20190904/examples.json +10 -10
- tccli/services/clb/v20180317/api.json +19 -1
- tccli/services/cvm/v20170312/api.json +2 -2
- tccli/services/cwp/v20180228/api.json +334 -282
- tccli/services/cwp/v20180228/examples.json +105 -105
- tccli/services/gaap/v20180529/api.json +95 -85
- tccli/services/gaap/v20180529/examples.json +27 -33
- tccli/services/ocr/v20181119/api.json +1 -1
- tccli/services/pts/v20210728/api.json +11 -0
- tccli/services/redis/v20180412/api.json +2 -2
- tccli/services/taf/v20200210/api.json +54 -94
- tccli/services/taf/v20200210/examples.json +2 -2
- tccli/services/tdmq/tdmq_client.py +106 -0
- tccli/services/tdmq/v20200217/api.json +571 -274
- tccli/services/tdmq/v20200217/examples.json +87 -71
- tccli/services/trocket/v20230308/api.json +29 -11
- tccli/services/trocket/v20230308/examples.json +4 -4
- tccli/services/tsi/v20210325/api.json +79 -0
- tccli/services/vod/v20180717/api.json +500 -57
- tccli/services/vod/v20180717/examples.json +8 -2
- {tccli-3.0.1213.1.dist-info → tccli-3.0.1214.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1213.1.dist-info → tccli-3.0.1214.1.dist-info}/RECORD +30 -30
- {tccli-3.0.1213.1.dist-info → tccli-3.0.1214.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1213.1.dist-info → tccli-3.0.1214.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1213.1.dist-info → tccli-3.0.1214.1.dist-info}/license_files/LICENSE +0 -0
@@ -134,16 +134,16 @@
|
|
134
134
|
],
|
135
135
|
"CreateRocketMQEnvironmentRole": [
|
136
136
|
{
|
137
|
-
"document": "
|
138
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRocketMQEnvironmentRole\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"
|
139
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
137
|
+
"document": "",
|
138
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRocketMQEnvironmentRole\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"test_namespace\",\n \"RoleName\": \"test_role_name\",\n \"Permissions\": [\n \"produce\"\n ],\n \"ClusterId\": \"rocketmq-2p9vx3ax9jxg\"\n}",
|
139
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"23ca1a58-0388-4d2d-8465-653a53addda7\"\n }\n}",
|
140
140
|
"title": "创建RocketMQ环境角色授权"
|
141
141
|
}
|
142
142
|
],
|
143
143
|
"CreateRocketMQGroup": [
|
144
144
|
{
|
145
145
|
"document": "",
|
146
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRocketMQGroup\n<公共请求参数>\n\n{\n \"Remark\": \"
|
146
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRocketMQGroup\n<公共请求参数>\n\n{\n \"Remark\": \"测试创建\",\n \"BroadcastEnable\": \"false\",\n \"ClusterId\": \"rocketmq-2p9vx3ax9jxg\",\n \"RetryMaxTimes\": \"16\",\n \"Namespaces\": [\n \"test_namespace\"\n ],\n \"ReadEnable\": \"true\",\n \"GroupType\": \"TCP\",\n \"GroupId\": \"test_group\"\n}",
|
147
147
|
"output": "{\n \"Response\": {\n \"RequestId\": \"0604a303-6d5f-40e6-9dfe-6c4ddd8fe2df\"\n }\n}",
|
148
148
|
"title": "创建订阅组"
|
149
149
|
}
|
@@ -158,16 +158,16 @@
|
|
158
158
|
],
|
159
159
|
"CreateRocketMQRole": [
|
160
160
|
{
|
161
|
-
"document": "
|
162
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRocketMQRole\n<公共请求参数>\n\n{\n \"RoleName\": \"
|
163
|
-
"output": "{\n \"Response\": {\n \"RoleName\": \"
|
164
|
-
"title": "
|
161
|
+
"document": "",
|
162
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRocketMQRole\n<公共请求参数>\n\n{\n \"RoleName\": \"test_role_name\",\n \"Remark\": \"测试角色\",\n \"ClusterId\": \"rocketmq-2p9vx3ax9jxg\"\n}",
|
163
|
+
"output": "{\n \"Response\": {\n \"RoleName\": \"test_role_name\",\n \"Token\": \"eyJrZXlJZCI6InN1bmdvxxxxx0X3JvbGVfMyJ9.dbHR8m6gc4L4vZUrodhW_O9bDulZQ6lraNswNLtcUcY\",\n \"Remark\": \"测试角色\",\n \"RequestId\": \"23ca1a58-0388-4d2d-8465-653a53addda7\"\n }\n}",
|
164
|
+
"title": "创建角色"
|
165
165
|
}
|
166
166
|
],
|
167
167
|
"CreateRocketMQTopic": [
|
168
168
|
{
|
169
169
|
"document": "创建主题",
|
170
|
-
"input": "
|
170
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRocketMQTopic\n<公共请求参数>\n\n{\n \"Topic\": \"test_topic\",\n \"Namespaces\": [\n \"test_namespace\"\n ],\n \"Type\": \"Normal\",\n \"ClusterId\": \"rocketmq-xj8kr5apevj7\",\n \"Remark\": \"测试主题\",\n \"PartitionNum\": 3\n}",
|
171
171
|
"output": "{\n \"Response\": {\n \"RequestId\": \"f844f173-93ed-4d89-979e-86e4e1d63b8a\"\n }\n}",
|
172
172
|
"title": "创建主题"
|
173
173
|
}
|
@@ -260,6 +260,14 @@
|
|
260
260
|
"title": "删除专业集群"
|
261
261
|
}
|
262
262
|
],
|
263
|
+
"DeleteRabbitMQBinding": [
|
264
|
+
{
|
265
|
+
"document": "",
|
266
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRabbitMQBinding\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-44w9928j\",\n \"VirtualHost\": \"test\",\n \"BindingId\": 127441\n}",
|
267
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"cxvxcvcxfsdfds\",\n \"InstanceId\": \"amqp-44w9928j\",\n \"VirtualHost\": \"test\",\n \"BindingId\": 127441\n }\n}",
|
268
|
+
"title": "解绑RabbitMQ路由关系"
|
269
|
+
}
|
270
|
+
],
|
263
271
|
"DeleteRabbitMQUser": [
|
264
272
|
{
|
265
273
|
"document": "-",
|
@@ -294,16 +302,16 @@
|
|
294
302
|
],
|
295
303
|
"DeleteRocketMQEnvironmentRoles": [
|
296
304
|
{
|
297
|
-
"document": "
|
298
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRocketMQEnvironmentRoles\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"
|
299
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
305
|
+
"document": "",
|
306
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRocketMQEnvironmentRoles\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"test_namespace\",\n \"RoleNames\": [\n \"test_role_name\"\n ],\n \"ClusterId\": \"rocketmq-2p9vx3ax9jxg\"\n}",
|
307
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"23ca1a58-0388-4d2d-8465-653a53addda7\"\n }\n}",
|
300
308
|
"title": "删除环境角色授权"
|
301
309
|
}
|
302
310
|
],
|
303
311
|
"DeleteRocketMQGroup": [
|
304
312
|
{
|
305
|
-
"document": "",
|
306
|
-
"input": "
|
313
|
+
"document": "https://tdmq.tencentcloudapi.com/?\nAction=DeleteRocketMQGroup\n&ClusterId=\n&NamespaceId=example\n&GroupId=group-example\n&<公共请求参数>",
|
314
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRocketMQGroup\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-2p9vx3ax9jxg\",\n \"NamespaceId\": \"test_namespace\",\n \"GroupId\": \"test_group\"\n}",
|
307
315
|
"output": "{\n \"Response\": {\n \"RequestId\": \"7fb7d925-a5c7-4b8c-add5-8477917a6260\"\n }\n}",
|
308
316
|
"title": "删除订阅组"
|
309
317
|
}
|
@@ -311,23 +319,23 @@
|
|
311
319
|
"DeleteRocketMQNamespace": [
|
312
320
|
{
|
313
321
|
"document": "",
|
314
|
-
"input": "
|
322
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRocketMQNamespace\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-rd3545bkkj43\",\n \"NamespaceId\": \"test_namespace\"\n}",
|
315
323
|
"output": "{\n \"Response\": {\n \"RequestId\": \"ab274271-a599-4e1d-b044-f3d03699e32a\"\n }\n}",
|
316
324
|
"title": "删除命名空间"
|
317
325
|
}
|
318
326
|
],
|
319
327
|
"DeleteRocketMQRoles": [
|
320
328
|
{
|
321
|
-
"document": "
|
322
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRocketMQRoles\n<公共请求参数>\n\n{\n \"RoleNames\": [\n \"
|
323
|
-
"output": "{\n \"Response\": {\n \"RoleNames\": [\n \"
|
329
|
+
"document": "",
|
330
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRocketMQRoles\n<公共请求参数>\n\n{\n \"RoleNames\": [\n \"test_role_name\"\n ],\n \"ClusterId\": \"rocketmq-2p9vx3ax9jxg\"\n}",
|
331
|
+
"output": "{\n \"Response\": {\n \"RoleNames\": [\n \"test_role_name\"\n ],\n \"RequestId\": \"23ca1a58-0388-4d2d-8465-653a53addda7\"\n }\n}",
|
324
332
|
"title": "删除角色"
|
325
333
|
}
|
326
334
|
],
|
327
335
|
"DeleteRocketMQTopic": [
|
328
336
|
{
|
329
337
|
"document": "",
|
330
|
-
"input": "
|
338
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRocketMQTopic\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-2p9vx3ax9jxg\",\n \"NamespaceId\": \"test_namespace\",\n \"Topic\": \"test_topic\"\n}",
|
331
339
|
"output": "{\n \"Response\": {\n \"RequestId\": \"5d41e0f7-5668-46f9-a549-9a7540a9966c\"\n }\n}",
|
332
340
|
"title": "删除主题"
|
333
341
|
}
|
@@ -556,6 +564,14 @@
|
|
556
564
|
"title": "获取实例列表"
|
557
565
|
}
|
558
566
|
],
|
567
|
+
"DescribeRabbitMQBindings": [
|
568
|
+
{
|
569
|
+
"document": "",
|
570
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQBindings\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-44w9928j\",\n \"VirtualHost\": \"test\"\n}",
|
571
|
+
"output": "{\n \"Response\": {\n \"BindingInfoList\": [\n {\n \"BindingId\": 0,\n \"VirtualHost\": \"abc\",\n \"Source\": \"abc\",\n \"DestinationType\": \"abc\",\n \"Destination\": \"abc\",\n \"RoutingKey\": \"abc\",\n \"SourceExchangeType\": \"abc\",\n \"CreateTime\": \"abc\",\n \"ModifyTime\": \"abc\"\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"abc\"\n }\n}",
|
572
|
+
"title": "查询RabbitMQ路由关系列表"
|
573
|
+
}
|
574
|
+
],
|
559
575
|
"DescribeRabbitMQExchanges": [
|
560
576
|
{
|
561
577
|
"document": "查询RabbitMQ exchange 列表",
|
@@ -647,15 +663,15 @@
|
|
647
663
|
"DescribeRocketMQConsumeStats": [
|
648
664
|
{
|
649
665
|
"document": "",
|
650
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQConsumeStats\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-7j8m97bqpx5d\",\n \"NamespaceId\": \"
|
651
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"d97e7c2f-da5f-4f73-b4da-440e0650ed0b\",\n \"ConsumerStatsList\": [\n {\n \"TopicName\": \"
|
666
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQConsumeStats\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-7j8m97bqpx5d\",\n \"NamespaceId\": \"test_namespace\",\n \"ConsumerGroup\": \"test_group\"\n}",
|
667
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d97e7c2f-da5f-4f73-b4da-440e0650ed0b\",\n \"ConsumerStatsList\": [\n {\n \"TopicName\": \"test_topic\",\n \"BrokerName\": \"rocketmq-7j8m97bqpx5d-0\",\n \"QueueId\": 10,\n \"ConsumerClientId\": \"9.43.174.90@18834#7187709773375173\",\n \"ConsumerOffset\": 30,\n \"BrokerOffset\": 100,\n \"DiffTotal\": 70,\n \"LastTimestamp\": 1727580008838\n }\n ]\n }\n}",
|
652
668
|
"title": "获取消费进度"
|
653
669
|
}
|
654
670
|
],
|
655
671
|
"DescribeRocketMQConsumerConnectionDetail": [
|
656
672
|
{
|
657
673
|
"document": "",
|
658
|
-
"input": "
|
674
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQConsumerConnectionDetail\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-2p9vx3ax9jxg\",\n \"NamespaceId\": \"test_namespace\",\n \"GroupId\": \"test_group\",\n \"ClientId\": \"local@23645@0@30ey5aef8w\",\n \"Offset\": 0,\n \"Limit\": 20,\n \"FilterType\": []\n}",
|
659
675
|
"output": "{\n \"Response\": {\n \"RequestId\": \"2cb0df97-581a-4d70-a9e8-4a0b79998e29\",\n \"TotalCount\": 0,\n \"Details\": []\n }\n}",
|
660
676
|
"title": "获取在线消费端详情"
|
661
677
|
}
|
@@ -663,24 +679,24 @@
|
|
663
679
|
"DescribeRocketMQConsumerConnections": [
|
664
680
|
{
|
665
681
|
"document": "",
|
666
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQConsumerConnections\n<公共请求参数>\n\n{\n \"Limit\": \"
|
667
|
-
"output": "{\n \"Response\": {\n \"
|
682
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQConsumerConnections\n<公共请求参数>\n\n{\n \"Limit\": \"20\",\n \"Offset\": \"0\",\n \"ClusterId\": \"rocketmq-2p9vx3ax9jxg\",\n \"NamespaceId\": \"test_namespace\",\n \"GroupId\": \"test_group\"\n}",
|
683
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Connections\": [\n {\n \"ClientId\": \"9.43.174.90@18834#7187709773375173\",\n \"ClientAddr\": \"9.43.174.90\",\n \"Language\": \"JAVA\",\n \"Accumulative\": 300,\n \"Version\": \"V4.9.7\"\n }\n ],\n \"GroupDetail\": {\n \"Name\": \"test_group\",\n \"ConsumerNum\": 1,\n \"TotalAccumulative\": 300,\n \"ConsumptionMode\": -1,\n \"BroadcastEnabled\": false,\n \"ReadEnabled\": true,\n \"RetryPartitionNum\": 1,\n \"CreateTime\": 1727075298000,\n \"UpdateTime\": 1727075298000,\n \"ClientProtocol\": \"TCP\",\n \"Remark\": \"测试消费组\",\n \"ConsumerType\": \"PUSH\",\n \"GroupType\": \"TCP\",\n \"RetryMaxTimes\": 16,\n \"TPS\": 10\n },\n \"RequestId\": \"abc\"\n }\n}",
|
668
684
|
"title": "获取指定消费组下当前客户端的连接情况"
|
669
685
|
}
|
670
686
|
],
|
671
687
|
"DescribeRocketMQEnvironmentRoles": [
|
672
688
|
{
|
673
|
-
"document": "
|
674
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQEnvironmentRoles\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"
|
675
|
-
"output": "{\n \"Response\": {\n \"TotalCount\":
|
689
|
+
"document": "",
|
690
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQEnvironmentRoles\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"test_namespace\",\n \"Offset\": 0,\n \"Limit\": 20,\n \"ClusterId\": \"rocketmq-2p9vx3ax9jxg\",\n \"RoleName\": \"test_role_name\",\n \"Filters\": []\n}",
|
691
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"EnvironmentRoleSets\": [\n {\n \"EnvironmentId\": \"test_namespace\",\n \"RoleName\": \"test_role_name\",\n \"Permissions\": [\n \"produce\"\n ],\n \"RoleDescribe\": \"测试角色\",\n \"CreateTime\": \"2020-09-22 00:00:00\",\n \"UpdateTime\": \"2020-09-22 00:00:00\"\n }\n ],\n \"RequestId\": \"23ca1a58-0388-4d2d-8465-653a53addda7\"\n }\n}",
|
676
692
|
"title": "获取RocketMQ命名空间角色列表"
|
677
693
|
}
|
678
694
|
],
|
679
695
|
"DescribeRocketMQGroups": [
|
680
696
|
{
|
681
|
-
"document": "
|
682
|
-
"input": "{\n
|
683
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"1c127300-fcdd-4087-b1d2-fd75a1cefbe4\",\n \"TotalCount\": 1,\n \"Groups\": [\n {\n \"Name\": \"
|
697
|
+
"document": "",
|
698
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQGroups\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-4k4orqgq\",\n \"NamespaceId\": \"test_namespace\",\n \"Offset\": 0,\n \"Limit\": 20,\n \"FilterTopic\": \"test_topic\",\n \"FilterGroup\": \"test_group\",\n \"SortedBy\": \"tps\",\n \"SortOrder\": \"asc\",\n \"FilterOneGroup\": \"test_group\",\n \"Types\": [\n \"TCP\"\n ]\n}",
|
699
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1c127300-fcdd-4087-b1d2-fd75a1cefbe4\",\n \"TotalCount\": 1,\n \"Groups\": [\n {\n \"Name\": \"test_group\",\n \"ConsumerNum\": 1,\n \"TotalAccumulative\": 380,\n \"RetryMaxTimes\": 10,\n \"ConsumptionMode\": -1,\n \"BroadcastEnabled\": false,\n \"ReadEnabled\": true,\n \"RetryPartitionNum\": 1,\n \"CreateTime\": 1621307489000,\n \"UpdateTime\": 1621307706000,\n \"ClientProtocol\": \"TCP\",\n \"Remark\": \"测试消费组\",\n \"ConsumerType\": \"PUSH\",\n \"TPS\": 20,\n \"GroupType\": \"TCP\"\n }\n ]\n }\n}",
|
684
700
|
"title": "查询订阅组列表"
|
685
701
|
}
|
686
702
|
],
|
@@ -700,17 +716,17 @@
|
|
700
716
|
],
|
701
717
|
"DescribeRocketMQMsg": [
|
702
718
|
{
|
703
|
-
"document": "
|
704
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQMsg\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"
|
705
|
-
"output": "{\n \"Response\": {\n \"Body\": \"
|
706
|
-
"title": "
|
719
|
+
"document": "",
|
720
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQMsg\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"test_namespace\",\n \"ClusterId\": \"rocketmq-4k4orqgq\",\n \"TopicName\": \"test_topic\",\n \"PulsarMsgId\": \"092BAE5A1656070DEA4E276DF0760089\",\n \"MsgId\": \"092BAE5A1656070DEA4E276DF0760023\",\n \"QueryDlqMsg\": false\n}",
|
721
|
+
"output": "{\n \"Response\": {\n \"Body\": \"order-id-2ksn3b23\",\n \"MsgId\": \"092BAE5A1656070DEA4E276DF0760089\",\n \"ProduceTime\": \"2021-11-23 21:21:26\",\n \"RequestId\": \"23ca1a58-0388-4d2d-8465-653a53addda7\",\n \"Properties\": \"\",\n \"ProducerAddr\": \"9.43.174.90\",\n \"ShowTopicName\": \"test_topic\",\n \"MessageTracks\": [\n {\n \"Group\": \"test_group\",\n \"ConsumeStatus\": \"CONSUMED\",\n \"TrackType\": \"CONSUMED\",\n \"ExceptionDesc\": \"\"\n }\n ]\n }\n}",
|
722
|
+
"title": "查询消息详情"
|
707
723
|
}
|
708
724
|
],
|
709
725
|
"DescribeRocketMQMsgTrace": [
|
710
726
|
{
|
711
727
|
"document": "查询消息轨迹",
|
712
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQMsgTrace\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
713
|
-
"output": "{\n \"Response\": {\n \"Result\": [\n {\n \"Stage\": \"
|
728
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQMsgTrace\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-4k4orqgq\",\n \"EnvironmentId\": \"test_namespace\",\n \"TopicName\": \"test_topic\",\n \"MsgId\": \"01963F0B14BAF0B5360728F44800000000\",\n \"GroupName\": \"test_group\",\n \"QueryDLQMsg\": true\n}",
|
729
|
+
"output": "{\n \"Response\": {\n \"Result\": [\n {\n \"Stage\": \"produce\",\n \"Data\": \"{\\\"MsgId\\\":\\\"01963F0B14BAF0B5360728F44800000000\\\",\\\"Status\\\":0,\\\"ProduceTime\\\":\\\"2024-10-22 15:54:49,124\\\",\\\"ProducerAddr\\\":\\\"111.206.94.148:47557\\\",\\\"MsgKey\\\":\\\"yourMessageKey-1c151062f96e\\\",\\\"MsgTags\\\":\\\"yourMessageTagA\\\",\\\"Duration\\\":10}\"\n },\n {\n \"Stage\": \"persist\",\n \"Data\": \"{\\\"MsgId\\\":\\\"01963F0B14BAF0B5360728F44800000000\\\",\\\"Status\\\":0,\\\"PersistTime\\\":\\\"2024-10-22 15:54:49,132\\\"}\"\n },\n {\n \"Stage\": \"consume\",\n \"Data\": \"{\\\"TotalCount\\\":1,\\\"RocketMqConsumeLogs\\\":[{\\\"MsgId\\\":\\\"01963F0B14BAF0B5360728F44800000000\\\",\\\"Status\\\":2,\\\"PushTime\\\":\\\"2024-10-22 15:55:00,122\\\",\\\"ConsumerAddr\\\":\\\"111.206.94.148:53792\\\",\\\"ConsumerGroup\\\":\\\"test_group\\\",\\\"RetryTimes\\\":1}]}\"\n }\n ],\n \"ShowTopicName\": \"news-topic\",\n \"RequestId\": \"23ca1a58-0388-4d2d-8465-653a53addda7\"\n }\n}",
|
714
730
|
"title": "查询消息轨迹"
|
715
731
|
}
|
716
732
|
],
|
@@ -740,10 +756,10 @@
|
|
740
756
|
],
|
741
757
|
"DescribeRocketMQRoles": [
|
742
758
|
{
|
743
|
-
"document": "
|
744
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQRoles\n<公共请求参数>\n\n{\n \"RoleName\": \"
|
745
|
-
"output": "{\n \"Response\": {\n \"TotalCount\":
|
746
|
-
"title": "
|
759
|
+
"document": "",
|
760
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQRoles\n<公共请求参数>\n\n{\n \"RoleName\": \"\",\n \"Offset\": 0,\n \"Limit\": 20,\n \"ClusterId\": \"rocketmq-2p9vx3ax9jxg\",\n \"Filters\": [\n {\n \"Name\": \"RoleName\",\n \"Values\": [\n \"test_role_name\"\n ]\n }\n ]\n}",
|
761
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RoleSets\": [\n {\n \"RoleName\": \"test_role_name\",\n \"Token\": \"eyJrZXlJZCI6InN1bmdvxxxxx0X3JvbGVfMyJ9.dbHR8m6gc4L4vZUrodhW_O9bDulZQ6lraNswNLtcUcY\",\n \"Remark\": \"测试角色\",\n \"CreateTime\": \"2020-09-22 00:00:00\",\n \"UpdateTime\": \"2020-09-22 00:00:00\"\n }\n ],\n \"RequestId\": \"23ca1a58-0388-4d2d-8465-653a53addda7\"\n }\n}",
|
762
|
+
"title": "获取角色列表"
|
747
763
|
}
|
748
764
|
],
|
749
765
|
"DescribeRocketMQSmoothMigrationTask": [
|
@@ -793,40 +809,40 @@
|
|
793
809
|
"DescribeRocketMQSubscriptions": [
|
794
810
|
{
|
795
811
|
"document": "",
|
796
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQSubscriptions\n<公共请求参数>\n\n{\n \"
|
797
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"cde7c1eb-c631-453a-999b-03c9ed38b892\",\n \"TotalCount\":
|
812
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQSubscriptions\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-a5nzx52ab7jb\",\n \"Namespace\": \"test_namespace\",\n \"Group\": \"test_group\",\n \"Offset\": \"0\",\n \"Limit\": \"20\"\n}",
|
813
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"cde7c1eb-c631-453a-999b-03c9ed38b892\",\n \"TotalCount\": 1,\n \"Subscriptions\": [\n {\n \"Topic\": \"test_topic\",\n \"Type\": \"Normal\",\n \"PartitionNum\": 3,\n \"ExpressionType\": \"TAG\",\n \"SubString\": \"*\",\n \"Status\": 0,\n \"ConsumerLag\": 120\n }\n ]\n }\n}",
|
798
814
|
"title": "获取rocketmq消费组订阅关系"
|
799
815
|
}
|
800
816
|
],
|
801
817
|
"DescribeRocketMQTopicMsgs": [
|
802
818
|
{
|
803
819
|
"document": "",
|
804
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQTopicMsgs\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-zpz97455xwap\",\n \"EnvironmentId\": \"
|
805
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"e3bba45e-876a-4107-ad5d-88006c1ddba2\",\n \"TotalCount\":
|
820
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQTopicMsgs\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-zpz97455xwap\",\n \"EnvironmentId\": \"test_namespace\",\n \"TopicName\": \"test_topic\",\n \"MsgId\": \"092BAE5A1656070DEA4E276DF0760089\",\n \"MsgKey\": \"test_key\",\n \"StartTime\": \"2023-10-08 15:44:59\",\n \"EndTime\": \"2023-10-08 16:14:59\",\n \"Offset\": 0,\n \"Limit\": 20,\n \"TaskRequestId\": \"2e5ecbb3-f2d6-49d3-9c82-8648f8ed8748\",\n \"QueryDlqMsg\": true,\n \"NumOfLatestMsg\": 0,\n \"Tag\": \"test_tag\",\n \"QueryDeadLetterMessage\": true\n}",
|
821
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e3bba45e-876a-4107-ad5d-88006c1ddba2\",\n \"TotalCount\": 1,\n \"TopicMsgLogSets\": [\n {\n \"MsgId\": \"092BAE5A1656070DEA4E276DF0760089\",\n \"MsgTag\": \"test_tag\",\n \"MsgKey\": \"test_key\",\n \"ProducerAddr\": \"9.43.174.90\",\n \"ProduceTime\": \"2023-10-08 15:45:16\",\n \"PulsarMsgId\": \"092BAE5A1656070DEA4E276DF0760089\",\n \"DeadLetterResendTimes\": 10,\n \"ResendSuccessCount\": 10\n }\n ],\n \"TaskRequestId\": \"df71cc0a-3057-416b-b878-f0fe015e9913\"\n }\n}",
|
806
822
|
"title": "获取消息列表"
|
807
823
|
}
|
808
824
|
],
|
809
825
|
"DescribeRocketMQTopicStats": [
|
810
826
|
{
|
811
827
|
"document": "",
|
812
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQTopicStats\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-7j8m97bqpx5d\",\n \"NamespaceId\": \"
|
813
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"5d5e666b-48d5-4abd-b628-fd2d15d0ee57\",\n \"TopicStatsList\": [\n {\n \"BrokerName\": \"rocketmq-7j8m97bqpx5d-1\",\n \"QueueId\":
|
828
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQTopicStats\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-7j8m97bqpx5d\",\n \"NamespaceId\": \"test_namespace\",\n \"TopicName\": \"test_topic\"\n}",
|
829
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"5d5e666b-48d5-4abd-b628-fd2d15d0ee57\",\n \"TopicStatsList\": [\n {\n \"BrokerName\": \"rocketmq-7j8m97bqpx5d-1\",\n \"QueueId\": 1,\n \"MinOffset\": 0,\n \"MaxOffset\": 100,\n \"MessageCount\": 100,\n \"LastUpdateTimestamp\": 1695298841001\n }\n ]\n }\n}",
|
814
830
|
"title": "获取队列详情"
|
815
831
|
}
|
816
832
|
],
|
817
833
|
"DescribeRocketMQTopics": [
|
818
834
|
{
|
819
835
|
"document": "",
|
820
|
-
"input": "
|
821
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"c017c4d1-13cb-4f14-ab89-2c6530892f90\",\n \"TotalCount\": 1,\n \"Topics\": [\n {\n \"Name\": \"
|
836
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQTopics\n<公共请求参数>\n\n{\n \"Offset\": 1,\n \"Limit\": 1,\n \"ClusterId\": \"rocketmq-2p9vx3ax9jxg\",\n \"NamespaceId\": \"test_namespace\",\n \"FilterGroup\": \"test_group\"\n}",
|
837
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c017c4d1-13cb-4f14-ab89-2c6530892f90\",\n \"TotalCount\": 1,\n \"Topics\": [\n {\n \"Name\": \"test_topic\",\n \"Type\": \"Normal\",\n \"GroupNum\": 1,\n \"Remark\": \"测试主题\",\n \"PartitionNum\": 3,\n \"CreateTime\": 1621308465000,\n \"UpdateTime\": 1621308657000\n }\n ]\n }\n}",
|
822
838
|
"title": "获取主题列表"
|
823
839
|
}
|
824
840
|
],
|
825
841
|
"DescribeRocketMQTopicsByGroup": [
|
826
842
|
{
|
827
843
|
"document": "",
|
828
|
-
"input": "
|
829
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"4668f537-44f3-4aca-bd78-fc26fb8d86ff\",\n \"TotalCount\": 1,\n \"Topics\": [\n \"
|
844
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQTopicsByGroup\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-2p9vx3ax9jxg\",\n \"NamespaceId\": \"test_namespace\",\n \"GroupId\": \"test_group\",\n \"Offset\": 0,\n \"Limit\": 20\n}",
|
845
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"4668f537-44f3-4aca-bd78-fc26fb8d86ff\",\n \"TotalCount\": 1,\n \"Topics\": [\n \"test_topic\"\n ]\n }\n}",
|
830
846
|
"title": "获取指定消费组下订阅的主题列表"
|
831
847
|
}
|
832
848
|
],
|
@@ -880,10 +896,10 @@
|
|
880
896
|
],
|
881
897
|
"ExportRocketMQMessageDetail": [
|
882
898
|
{
|
883
|
-
"document": "
|
884
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExportRocketMQMessageDetail\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
885
|
-
"output": "{\n \"Response\": {\n \"MsgId\": \"
|
886
|
-
"title": "
|
899
|
+
"document": "",
|
900
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExportRocketMQMessageDetail\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-a5nzx52ab7jb\",\n \"EnvironmentId\": \"test_namespace\",\n \"TopicName\": \"test_topic\",\n \"MsgId\": \"7F0000013AEC18B4AAC278B640D30002\",\n \"DeadLetterMsg\": true,\n \"IncludeMsgBody\": true\n}",
|
901
|
+
"output": "{\n \"Response\": {\n \"MsgId\": \"7F0000013AEC18B4AAC278B640D30002\",\n \"BornTimestamp\": 1729478721,\n \"StoreTimestamp\": 1729478721,\n \"BornHost\": \"10.2.139.175:8080\",\n \"MsgTag\": \"test_tag\",\n \"MsgKey\": \"test_key\",\n \"Properties\": \"\",\n \"ReConsumeTimes\": 1,\n \"MsgBody\": \"This is a normal message for Apache RocketMQ\",\n \"MsgBodyCRC\": 0,\n \"MsgBodySize\": 18,\n \"RequestId\": \"23ca1a58-0388-4d2d-8465-653a53addda7\"\n }\n}",
|
902
|
+
"title": "导出消息详情"
|
887
903
|
}
|
888
904
|
],
|
889
905
|
"ImportRocketMQConsumerGroups": [
|
@@ -1006,16 +1022,16 @@
|
|
1006
1022
|
],
|
1007
1023
|
"ModifyRocketMQEnvironmentRole": [
|
1008
1024
|
{
|
1009
|
-
"document": "
|
1010
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRocketMQEnvironmentRole\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"
|
1011
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1025
|
+
"document": "",
|
1026
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRocketMQEnvironmentRole\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"test_namespace\",\n \"RoleName\": \"test_role_name\",\n \"Permissions\": [\n \"produce\"\n ],\n \"ClusterId\": \"rocketmq-2p9vx3ax9jxg\"\n}",
|
1027
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"23ca1a58-0388-4d2d-8465-653a53addda7\"\n }\n}",
|
1012
1028
|
"title": "修改RocketMQ环境角色授权"
|
1013
1029
|
}
|
1014
1030
|
],
|
1015
1031
|
"ModifyRocketMQGroup": [
|
1016
1032
|
{
|
1017
1033
|
"document": "",
|
1018
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRocketMQGroup\n<公共请求参数>\n\n{\n \"Remark\": \"
|
1034
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRocketMQGroup\n<公共请求参数>\n\n{\n \"Remark\": \"测试修改消费组\",\n \"BroadcastEnable\": \"false\",\n \"ClusterId\": \"rocketmq-2p9vx3ax9jxg\",\n \"GroupId\": \"test_group\",\n \"RetryMaxTimes\": \"16\",\n \"ReadEnable\": \"true\",\n \"NamespaceId\": \"test_namespace\"\n}",
|
1019
1035
|
"output": "{\n \"Response\": {\n \"RequestId\": \"1f9e837c-aab9-4f93-a373-48e165758529\"\n }\n}",
|
1020
1036
|
"title": "修改订阅组"
|
1021
1037
|
}
|
@@ -1039,23 +1055,23 @@
|
|
1039
1055
|
"ModifyRocketMQNamespace": [
|
1040
1056
|
{
|
1041
1057
|
"document": "修改命名空间信息",
|
1042
|
-
"input": "
|
1058
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRocketMQNamespace\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-xj8kr5apevj7\",\n \"NamespaceId\": \"test_namespace\",\n \"Ttl\": 259200000,\n \"RetentionTime\": 259200000,\n \"Remark\": \"测试修改\",\n \"PublicAccessEnabled\": true\n}",
|
1043
1059
|
"output": "{\n \"Response\": {\n \"RequestId\": \"7c995fd0-9a78-4985-8874-244a20a1d47b\"\n }\n}",
|
1044
1060
|
"title": "修改命名空间信息"
|
1045
1061
|
}
|
1046
1062
|
],
|
1047
1063
|
"ModifyRocketMQRole": [
|
1048
1064
|
{
|
1049
|
-
"document": "
|
1050
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRocketMQRole\n<公共请求参数>\n\n{\n \"RoleName\": \"
|
1051
|
-
"output": "{\n \"Response\": {\n \"RoleName\": \"
|
1052
|
-
"title": "
|
1065
|
+
"document": "",
|
1066
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRocketMQRole\n<公共请求参数>\n\n{\n \"RoleName\": \"test_role_name\",\n \"Remark\": \"修改角色\",\n \"ClusterId\": \"rocketmq-2p9vx3ax9jxg\"\n}",
|
1067
|
+
"output": "{\n \"Response\": {\n \"RoleName\": \"test_role_name\",\n \"Remark\": \"修改角色\",\n \"RequestId\": \"23ca1a58-0388-4d2d-8465-653a53addda7\"\n }\n}",
|
1068
|
+
"title": "修改角色"
|
1053
1069
|
}
|
1054
1070
|
],
|
1055
1071
|
"ModifyRocketMQTopic": [
|
1056
1072
|
{
|
1057
1073
|
"document": "",
|
1058
|
-
"input": "
|
1074
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRocketMQTopic\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-2p9vx3ax9jxg\",\n \"NamespaceId\": \"test_namespace\",\n \"Topic\": \"test_topic\",\n \"Remark\": \"测试修改\",\n \"PartitionNum\": 3\n}",
|
1059
1075
|
"output": "{\n \"Response\": {\n \"RequestId\": \"5d41e0f7-5668-46f9-a549-9a7540a9966c\"\n }\n}",
|
1060
1076
|
"title": "修改主题"
|
1061
1077
|
}
|
@@ -1103,7 +1119,7 @@
|
|
1103
1119
|
"ResetRocketMQConsumerOffSet": [
|
1104
1120
|
{
|
1105
1121
|
"document": "",
|
1106
|
-
"input": "
|
1122
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetRocketMQConsumerOffSet\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-2p9vx3ax9jxg\",\n \"NamespaceId\": \"test_namespace\",\n \"GroupId\": \"test_group\",\n \"Topic\": \"test_topic\",\n \"Type\": 1,\n \"ResetTimestamp\": 1697945990000\n}",
|
1107
1123
|
"output": "{\n \"Response\": {\n \"RequestId\": \"def4f676-27fc-4437-b4a3-cf1509726f98\"\n }\n}",
|
1108
1124
|
"title": "重置消费位点"
|
1109
1125
|
}
|
@@ -1151,9 +1167,9 @@
|
|
1151
1167
|
"SendRocketMQMessage": [
|
1152
1168
|
{
|
1153
1169
|
"document": "",
|
1154
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendRocketMQMessage\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
1155
|
-
"output": "{\n \"Response\": {\n \"Result\": true,\n \"MsgId\": \"
|
1156
|
-
"title": "
|
1170
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendRocketMQMessage\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-4k4orqgq\",\n \"NamespaceId\": \"test_namespace\",\n \"TopicName\": \"test_topic\",\n \"MsgKey\": \"test_key\",\n \"MsgTag\": \"test_tag\",\n \"MsgBody\": \"This is a normal message for Apache RocketMQ\"\n}",
|
1171
|
+
"output": "{\n \"Response\": {\n \"Result\": true,\n \"MsgId\": \"7F0000013AEC18B4AAC278B640D30002\",\n \"RequestId\": \"23ca1a58-0388-4d2d-8465-653a53addda7\"\n }\n}",
|
1172
|
+
"title": "发送消息示例"
|
1157
1173
|
}
|
1158
1174
|
],
|
1159
1175
|
"SetRocketMQPublicAccessPoint": [
|
@@ -1175,9 +1191,9 @@
|
|
1175
1191
|
"VerifyRocketMQConsume": [
|
1176
1192
|
{
|
1177
1193
|
"document": "",
|
1178
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VerifyRocketMQConsume\n<公共请求参数>\n\n{\n \"NamespaceId\": \"
|
1179
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1180
|
-
"title": "
|
1194
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VerifyRocketMQConsume\n<公共请求参数>\n\n{\n \"NamespaceId\": \"test_namespace\",\n \"MsgId\": \"092BAE5A1656070DEA4E276DF0760089\",\n \"ClusterId\": \"rocketmq-4k4orqgq\",\n \"GroupId\": \"test_group\",\n \"TopicName\": \"test_topic\",\n \"ClientId\": \"9.43.174.90@18834#7187709773375173\"\n}",
|
1195
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"23ca1a58-0388-4d2d-8465-653a53addda7\"\n }\n}",
|
1196
|
+
"title": "消费验证示例"
|
1181
1197
|
}
|
1182
1198
|
]
|
1183
1199
|
},
|
@@ -148,9 +148,9 @@
|
|
148
148
|
"status": "online"
|
149
149
|
},
|
150
150
|
"DescribeInstanceList": {
|
151
|
-
"document": "
|
151
|
+
"document": "查询集群列表,仅支持 5.x 集群。Filters参数使用说明如下:\n1. InstanceName, 名称模糊查询\n2. InstanceId,集群ID查询\n3. InstanceType, 集群类型查询,支持多选\n3. InstanceStatus,集群状态查询,支持多选\n\n当使用TagFilters查询时,Filters参数失效。",
|
152
152
|
"input": "DescribeInstanceListRequest",
|
153
|
-
"name": "
|
153
|
+
"name": "查询 5.X 集群列表",
|
154
154
|
"output": "DescribeInstanceListResponse",
|
155
155
|
"status": "online"
|
156
156
|
},
|
@@ -288,9 +288,9 @@
|
|
288
288
|
"status": "online"
|
289
289
|
},
|
290
290
|
"ModifyInstance": {
|
291
|
-
"document": "
|
291
|
+
"document": "修改 RocketMQ 5.x 集群属性。",
|
292
292
|
"input": "ModifyInstanceRequest",
|
293
|
-
"name": "
|
293
|
+
"name": "修改集群属性",
|
294
294
|
"output": "ModifyInstanceResponse",
|
295
295
|
"status": "online"
|
296
296
|
},
|
@@ -4971,8 +4971,8 @@
|
|
4971
4971
|
"members": [
|
4972
4972
|
{
|
4973
4973
|
"disabled": false,
|
4974
|
-
"document": "
|
4975
|
-
"example": "
|
4974
|
+
"document": "集群ID",
|
4975
|
+
"example": "rmq-72mo3a9o",
|
4976
4976
|
"member": "string",
|
4977
4977
|
"name": "InstanceId",
|
4978
4978
|
"required": true,
|
@@ -4981,7 +4981,7 @@
|
|
4981
4981
|
{
|
4982
4982
|
"disabled": false,
|
4983
4983
|
"document": "实例名称",
|
4984
|
-
"example": "
|
4984
|
+
"example": "instance1",
|
4985
4985
|
"member": "string",
|
4986
4986
|
"name": "Name",
|
4987
4987
|
"required": false,
|
@@ -4990,7 +4990,7 @@
|
|
4990
4990
|
{
|
4991
4991
|
"disabled": false,
|
4992
4992
|
"document": "备注信息",
|
4993
|
-
"example": "
|
4993
|
+
"example": "测试修改",
|
4994
4994
|
"member": "string",
|
4995
4995
|
"name": "Remark",
|
4996
4996
|
"required": false,
|
@@ -4999,7 +4999,7 @@
|
|
4999
4999
|
{
|
5000
5000
|
"disabled": false,
|
5001
5001
|
"document": "消息发送和接收的比例",
|
5002
|
-
"example": "
|
5002
|
+
"example": "1.0",
|
5003
5003
|
"member": "float",
|
5004
5004
|
"name": "SendReceiveRatio",
|
5005
5005
|
"required": false,
|
@@ -5008,7 +5008,7 @@
|
|
5008
5008
|
{
|
5009
5009
|
"disabled": false,
|
5010
5010
|
"document": "调整实例规格的商品代号",
|
5011
|
-
"example": "
|
5011
|
+
"example": "basic_1k",
|
5012
5012
|
"member": "string",
|
5013
5013
|
"name": "SkuCode",
|
5014
5014
|
"required": false,
|
@@ -5017,7 +5017,7 @@
|
|
5017
5017
|
{
|
5018
5018
|
"disabled": false,
|
5019
5019
|
"document": "消息保留时长,小时为单位",
|
5020
|
-
"example": "
|
5020
|
+
"example": "72",
|
5021
5021
|
"member": "int64",
|
5022
5022
|
"name": "MessageRetention",
|
5023
5023
|
"required": false,
|
@@ -5032,6 +5032,15 @@
|
|
5032
5032
|
"required": false,
|
5033
5033
|
"type": "bool"
|
5034
5034
|
},
|
5035
|
+
{
|
5036
|
+
"disabled": false,
|
5037
|
+
"document": "是否开启ACL",
|
5038
|
+
"example": "false",
|
5039
|
+
"member": "bool",
|
5040
|
+
"name": "AclEnabled",
|
5041
|
+
"required": false,
|
5042
|
+
"type": "bool"
|
5043
|
+
},
|
5035
5044
|
{
|
5036
5045
|
"disabled": false,
|
5037
5046
|
"document": "最大可创建主题数",
|
@@ -5040,6 +5049,15 @@
|
|
5040
5049
|
"name": "MaxTopicNum",
|
5041
5050
|
"required": false,
|
5042
5051
|
"type": "int"
|
5052
|
+
},
|
5053
|
+
{
|
5054
|
+
"disabled": false,
|
5055
|
+
"document": "免费额度之外的主题个数",
|
5056
|
+
"example": "50",
|
5057
|
+
"member": "string",
|
5058
|
+
"name": "ExtraTopicNum",
|
5059
|
+
"required": false,
|
5060
|
+
"type": "string"
|
5043
5061
|
}
|
5044
5062
|
],
|
5045
5063
|
"type": "object"
|
@@ -132,7 +132,7 @@
|
|
132
132
|
{
|
133
133
|
"document": "查询消费者详情",
|
134
134
|
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConsumerGroup\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"ConsumerGroup\": \"group\"\n}",
|
135
|
-
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"ConsumeEnable\": true,\n \"ConsumeMessageOrderly\":
|
135
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"ConsumeEnable\": true,\n \"ConsumeMessageOrderly\": false,\n \"ConsumeType\": \"PUSH\",\n \"ConsumerLag\": 1580,\n \"ConsumerNum\": 2,\n \"CreatedTime\": 1683613488000,\n \"MaxRetryTimes\": 16,\n \"Remark\": \"测试消费组\",\n \"RequestId\": \"bc4ffab1-65cc-4ef6-9114-0de06c333b84\",\n \"Tps\": 60\n }\n}",
|
136
136
|
"title": "查询消费组详情"
|
137
137
|
}
|
138
138
|
],
|
@@ -172,7 +172,7 @@
|
|
172
172
|
{
|
173
173
|
"document": "查询RocketMQ 5.X 集群列表",
|
174
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\":
|
175
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"ExpiryTime\": 1683601674000,\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
176
|
"title": "查询集群列表"
|
177
177
|
}
|
178
178
|
],
|
@@ -292,7 +292,7 @@
|
|
292
292
|
{
|
293
293
|
"document": "查询主题详情",
|
294
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\":
|
295
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"CreatedTime\": 1683601674000,\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"LastUpdateTime\": 1683601674000,\n \"Remark\": \"测试主题\",\n \"RequestId\": \"f7f7ba8a-4335-4adb-9186-680b91502c42\",\n \"SubscriptionCount\": 0,\n \"SubscriptionData\": [],\n \"Topic\": \"test_topic\",\n \"TopicType\": \"NORMAL\"\n }\n}",
|
296
296
|
"title": "查询主题详情"
|
297
297
|
}
|
298
298
|
],
|
@@ -331,7 +331,7 @@
|
|
331
331
|
"ModifyInstance": [
|
332
332
|
{
|
333
333
|
"document": "修改实例配置",
|
334
|
-
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Remark\": \"
|
334
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Remark\": \"测试修改消息保留时长\",\n \"MessageRetention\": 25\n}",
|
335
335
|
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"RequestId\": \"becc23c2-b5e1-4df4-9df1-22ba8e5b20c3\"\n }\n}",
|
336
336
|
"title": "修改实例配置"
|
337
337
|
}
|