tccli 3.0.1216.1__py2.py3-none-any.whl → 3.0.1217.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/argparser.py +1 -1
- tccli/command.py +2 -2
- tccli/credentials.py +25 -0
- tccli/main.py +6 -2
- tccli/plugins/sso/__init__.py +61 -0
- tccli/plugins/sso/configs.py +4 -0
- tccli/plugins/sso/configure.py +45 -0
- tccli/plugins/sso/login.py +144 -0
- tccli/plugins/sso/logout.py +21 -0
- tccli/plugins/sso/terminal.py +161 -0
- tccli/plugins/sso/texts.py +40 -0
- tccli/services/__init__.py +6 -0
- tccli/services/acp/v20220105/api.json +7 -7
- tccli/services/acp/v20220105/examples.json +2 -2
- tccli/services/aiart/v20221229/api.json +29 -29
- tccli/services/aiart/v20221229/examples.json +8 -8
- tccli/services/apigateway/v20180808/api.json +18 -17
- tccli/services/apigateway/v20180808/examples.json +12 -12
- tccli/services/apm/v20210622/api.json +98 -4
- tccli/services/asr/v20190614/api.json +18 -17
- tccli/services/asr/v20190614/examples.json +13 -13
- tccli/services/autoscaling/v20180419/api.json +371 -309
- tccli/services/autoscaling/v20180419/examples.json +17 -17
- tccli/services/batch/v20170312/api.json +7 -7
- tccli/services/bda/v20200324/api.json +39 -31
- tccli/services/bda/v20200324/examples.json +9 -9
- tccli/services/bh/__init__.py +4 -0
- tccli/services/bh/bh_client.py +3428 -0
- tccli/services/bh/v20230418/api.json +8180 -0
- tccli/services/bh/v20230418/examples.json +519 -0
- tccli/services/bi/v20220105/api.json +48 -0
- tccli/services/billing/v20180709/api.json +26 -24
- tccli/services/bsca/v20210811/api.json +1 -1
- tccli/services/btoe/v20210514/api.json +4 -4
- tccli/services/btoe/v20210514/examples.json +2 -2
- tccli/services/ca/v20230228/api.json +60 -0
- tccli/services/cam/v20190116/api.json +11 -11
- tccli/services/cat/v20180409/api.json +9 -0
- tccli/services/cbs/v20170312/api.json +200 -188
- tccli/services/cbs/v20170312/examples.json +4 -4
- tccli/services/ccc/v20200210/api.json +390 -323
- tccli/services/ccc/v20200210/examples.json +15 -15
- tccli/services/cdb/cdb_client.py +13 -13
- tccli/services/cdb/v20170320/api.json +295 -270
- tccli/services/cdb/v20170320/examples.json +38 -38
- tccli/services/cdc/v20201214/api.json +283 -270
- tccli/services/cdc/v20201214/examples.json +26 -26
- tccli/services/cds/v20180420/api.json +82 -76
- tccli/services/cds/v20180420/examples.json +1 -1
- tccli/services/cdwch/v20200915/api.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +42 -2
- tccli/services/cdz/v20221123/api.json +41 -5
- tccli/services/cfg/v20210820/api.json +31 -0
- tccli/services/cfs/v20190719/api.json +89 -1
- tccli/services/cfs/v20190719/examples.json +1 -1
- tccli/services/cfw/cfw_client.py +0 -53
- tccli/services/cfw/v20190904/api.json +1849 -1999
- tccli/services/cfw/v20190904/examples.json +157 -159
- tccli/services/ckafka/v20190819/api.json +104 -75
- tccli/services/clb/v20180317/api.json +48 -26
- tccli/services/clb/v20180317/examples.json +1 -1
- tccli/services/cloudapp/v20220530/api.json +5 -1
- tccli/services/cloudaudit/v20190319/api.json +58 -44
- tccli/services/cloudaudit/v20190319/examples.json +6 -6
- tccli/services/cloudstudio/v20230508/api.json +38 -37
- tccli/services/cloudstudio/v20230508/examples.json +4 -4
- tccli/services/cls/cls_client.py +216 -4
- tccli/services/cls/v20201016/api.json +536 -47
- tccli/services/cls/v20201016/examples.json +34 -2
- tccli/services/csip/v20221121/api.json +2562 -2382
- tccli/services/csip/v20221121/examples.json +108 -108
- tccli/services/cvm/v20170312/api.json +149 -112
- tccli/services/cvm/v20170312/examples.json +2 -2
- tccli/services/cwp/cwp_client.py +4 -110
- tccli/services/cwp/v20180228/api.json +6338 -6146
- tccli/services/cwp/v20180228/examples.json +342 -370
- tccli/services/cynosdb/v20190107/api.json +93 -81
- tccli/services/cynosdb/v20190107/examples.json +70 -70
- tccli/services/dasb/v20191018/api.json +796 -651
- tccli/services/dasb/v20191018/examples.json +101 -101
- tccli/services/dcdb/dcdb_client.py +114 -61
- tccli/services/dcdb/v20180411/api.json +141 -7
- tccli/services/dcdb/v20180411/examples.json +32 -0
- tccli/services/dlc/v20210125/api.json +21 -11
- tccli/services/dnspod/dnspod_client.py +417 -46
- tccli/services/dnspod/v20210323/api.json +751 -30
- tccli/services/dnspod/v20210323/examples.json +62 -0
- tccli/services/dts/v20211206/api.json +4 -4
- tccli/services/ecm/v20190719/api.json +2 -2
- tccli/services/emr/v20190103/api.json +339 -114
- tccli/services/emr/v20190103/examples.json +64 -82
- tccli/services/es/v20180416/api.json +29 -0
- tccli/services/es/v20180416/examples.json +1 -1
- tccli/services/ess/v20201111/api.json +49 -31
- tccli/services/ess/v20201111/examples.json +20 -8
- tccli/services/essbasic/v20210526/api.json +54 -49
- tccli/services/essbasic/v20210526/examples.json +36 -18
- tccli/services/facefusion/v20181201/api.json +47 -45
- tccli/services/facefusion/v20181201/examples.json +2 -2
- tccli/services/facefusion/v20220927/api.json +54 -48
- tccli/services/facefusion/v20220927/examples.json +5 -5
- tccli/services/faceid/v20180301/api.json +497 -496
- tccli/services/faceid/v20180301/examples.json +219 -101
- tccli/services/fmu/v20191213/api.json +59 -67
- tccli/services/fmu/v20191213/examples.json +22 -22
- tccli/services/ft/v20200304/api.json +53 -57
- tccli/services/ft/v20200304/examples.json +14 -14
- tccli/services/gme/v20180711/api.json +21 -11
- tccli/services/gme/v20180711/examples.json +1 -1
- tccli/services/hai/v20230812/api.json +116 -9
- tccli/services/hai/v20230812/examples.json +4 -4
- tccli/services/hunyuan/hunyuan_client.py +436 -12
- tccli/services/hunyuan/v20230901/api.json +1482 -118
- tccli/services/hunyuan/v20230901/examples.json +82 -18
- tccli/services/iai/v20180301/api.json +23 -19
- tccli/services/iai/v20180301/examples.json +2 -2
- tccli/services/iai/v20200303/api.json +530 -511
- tccli/services/iai/v20200303/examples.json +116 -86
- tccli/services/ig/__init__.py +4 -0
- tccli/services/ig/ig_client.py +195 -0
- tccli/services/ig/v20210518/api.json +83 -0
- tccli/services/ig/v20210518/examples.json +13 -0
- tccli/services/ioa/ioa_client.py +53 -0
- tccli/services/ioa/v20220601/api.json +662 -413
- tccli/services/ioa/v20220601/examples.json +24 -10
- tccli/services/iotexplorer/v20190423/api.json +33 -13
- tccli/services/iotexplorer/v20190423/examples.json +3 -3
- tccli/services/iotvideo/iotvideo_client.py +106 -0
- tccli/services/iotvideo/v20191126/api.json +256 -24
- tccli/services/iotvideo/v20191126/examples.json +19 -3
- tccli/services/iotvideo/v20201215/api.json +1 -1
- tccli/services/iotvideo/v20201215/examples.json +1 -1
- tccli/services/iotvideo/v20211125/api.json +1 -1
- tccli/services/iotvideo/v20211125/examples.json +2 -2
- tccli/services/iss/iss_client.py +69 -122
- tccli/services/iss/v20230517/api.json +10 -54
- tccli/services/iss/v20230517/examples.json +0 -14
- tccli/services/kms/v20190118/api.json +301 -268
- tccli/services/kms/v20190118/examples.json +45 -51
- tccli/services/lcic/lcic_client.py +159 -0
- tccli/services/lcic/v20220817/api.json +273 -1
- tccli/services/lcic/v20220817/examples.json +24 -0
- tccli/services/lighthouse/v20200324/api.json +56 -0
- tccli/services/live/live_client.py +159 -0
- tccli/services/live/v20180801/api.json +244 -0
- tccli/services/live/v20180801/examples.json +24 -0
- tccli/services/lke/v20231130/api.json +17 -17
- tccli/services/lke/v20231130/examples.json +19 -25
- tccli/services/mariadb/v20170312/api.json +7 -7
- tccli/services/market/v20191010/api.json +3 -3
- tccli/services/market/v20191010/examples.json +2 -2
- tccli/services/mmps/v20200710/api.json +47 -47
- tccli/services/mmps/v20200710/examples.json +3 -3
- tccli/services/mongodb/v20190725/api.json +4 -4
- tccli/services/monitor/v20180724/api.json +46 -19
- tccli/services/mps/v20190612/api.json +282 -5
- tccli/services/mps/v20190612/examples.json +25 -1
- tccli/services/mqtt/v20240516/api.json +2 -2
- tccli/services/mrs/v20200910/api.json +72 -34
- tccli/services/mrs/v20200910/examples.json +2 -2
- tccli/services/ms/v20180408/api.json +535 -506
- tccli/services/ms/v20180408/examples.json +25 -25
- tccli/services/oceanus/v20190422/api.json +130 -0
- tccli/services/ocr/ocr_client.py +232 -20
- tccli/services/ocr/v20181119/api.json +2265 -760
- tccli/services/ocr/v20181119/examples.json +200 -180
- tccli/services/omics/v20221128/api.json +614 -553
- tccli/services/omics/v20221128/examples.json +9 -9
- tccli/services/organization/v20210331/api.json +13 -4
- tccli/services/organization/v20210331/examples.json +2 -2
- tccli/services/partners/v20180321/api.json +244 -234
- tccli/services/partners/v20180321/examples.json +19 -19
- tccli/services/privatedns/privatedns_client.py +428 -4
- tccli/services/privatedns/v20201028/api.json +815 -11
- tccli/services/privatedns/v20201028/examples.json +64 -0
- tccli/services/pts/v20210728/api.json +18 -0
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/rce/rce_client.py +53 -0
- tccli/services/rce/v20201103/api.json +146 -0
- tccli/services/rce/v20201103/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +42 -42
- tccli/services/redis/v20180412/examples.json +19 -19
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/scf/v20180416/api.json +15 -15
- tccli/services/scf/v20180416/examples.json +1 -1
- tccli/services/smop/v20201203/api.json +46 -42
- tccli/services/smop/v20201203/examples.json +2 -2
- tccli/services/soe/v20180724/api.json +10 -10
- tccli/services/sqlserver/v20180328/api.json +21 -8
- tccli/services/sqlserver/v20180328/examples.json +5 -5
- tccli/services/ssl/v20191205/api.json +97 -4
- tccli/services/ssm/v20190923/api.json +292 -231
- tccli/services/ssm/v20190923/examples.json +42 -42
- tccli/services/tat/v20201028/api.json +97 -97
- tccli/services/tat/v20201028/examples.json +20 -26
- tccli/services/tchd/v20230306/api.json +5 -5
- tccli/services/tchd/v20230306/examples.json +3 -3
- tccli/services/tcr/v20190924/api.json +1 -1
- tccli/services/tcr/v20190924/examples.json +1 -1
- tccli/services/tcss/v20201101/api.json +1973 -1426
- tccli/services/tcss/v20201101/examples.json +346 -364
- tccli/services/tdmq/v20200217/api.json +539 -401
- tccli/services/tdmq/v20200217/examples.json +104 -104
- tccli/services/tds/v20220801/api.json +4 -4
- tccli/services/tem/v20210701/api.json +287 -271
- tccli/services/tem/v20210701/examples.json +59 -59
- tccli/services/teo/v20220901/api.json +37 -9
- tccli/services/teo/v20220901/examples.json +13 -7
- tccli/services/thpc/v20230321/api.json +5 -5
- tccli/services/tke/tke_client.py +217 -58
- tccli/services/tke/v20180525/api.json +36 -27
- tccli/services/tke/v20180525/examples.json +1 -1
- tccli/services/tke/v20220501/api.json +176 -0
- tccli/services/tke/v20220501/examples.json +24 -0
- tccli/services/tmt/v20180321/api.json +38 -8
- tccli/services/trp/v20210515/api.json +86 -74
- tccli/services/trp/v20210515/examples.json +65 -65
- tccli/services/trro/v20220325/api.json +72 -71
- tccli/services/trro/v20220325/examples.json +8 -8
- tccli/services/trtc/trtc_client.py +8 -61
- tccli/services/trtc/v20190722/api.json +72 -30
- tccli/services/trtc/v20190722/examples.json +3 -11
- tccli/services/tse/tse_client.py +110 -4
- tccli/services/tse/v20201207/api.json +122 -7
- tccli/services/tse/v20201207/examples.json +25 -9
- tccli/services/vclm/v20240523/api.json +225 -82
- tccli/services/vclm/v20240523/examples.json +13 -19
- tccli/services/vod/v20180717/api.json +431 -4
- tccli/services/vod/v20180717/examples.json +25 -5
- tccli/services/vod/v20240718/api.json +11 -11
- tccli/services/vod/v20240718/examples.json +4 -4
- tccli/services/vod/vod_client.py +53 -0
- tccli/services/vpc/v20170312/api.json +1090 -862
- tccli/services/vpc/v20170312/examples.json +74 -66
- tccli/services/vpc/vpc_client.py +61 -8
- tccli/services/waf/v20180125/api.json +2540 -2177
- tccli/services/waf/v20180125/examples.json +216 -284
- tccli/services/waf/waf_client.py +172 -119
- tccli/services/wav/v20210129/api.json +48 -48
- tccli/services/wav/v20210129/examples.json +4 -4
- tccli/services/wedata/v20210820/api.json +909 -25
- tccli/services/wedata/v20210820/examples.json +28 -4
- tccli/services/wedata/wedata_client.py +159 -0
- tccli/services/weilingwith/v20230427/api.json +6 -6
- tccli/services/weilingwith/v20230427/examples.json +3 -3
- tccli/sso.py +229 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +252 -235
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -4,7 +4,7 @@
|
|
4
4
|
{
|
5
5
|
"document": "",
|
6
6
|
"input": "https://tdmq.tencentcloudapi.com/?Action=AcknowledgeMessage\n&AckTopic=tenant/namespace/topic\n&MessageId=\"71:12:0\"\n&SubName=“test-sub”\n&<公共请求参数>",
|
7
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"36713f94-d07d-4b96-babf-42d139276f23\",\n \"ErrorMsg\": \"
|
7
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"36713f94-d07d-4b96-babf-42d139276f23\",\n \"ErrorMsg\": \"ack error\"\n }\n}",
|
8
8
|
"title": "确认消息"
|
9
9
|
}
|
10
10
|
],
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"CreateCluster": [
|
28
28
|
{
|
29
29
|
"document": "",
|
30
|
-
"input": "https://tdmq.tencentcloudapi.com/?Action=CreateCluster\n&ClusterName=
|
30
|
+
"input": "https://tdmq.tencentcloudapi.com/?Action=CreateCluster\n&ClusterName=devName\n&<公共请求参数>",
|
31
31
|
"output": "{\n \"Response\": {\n \"ClusterId\": \"pulsar-5r59xd4vnx\",\n \"RequestId\": \"c1e66353-c87b-4a30-804d-94c6c2c8bac5\"\n }\n}",
|
32
32
|
"title": "创建集群"
|
33
33
|
}
|
@@ -71,56 +71,56 @@
|
|
71
71
|
"CreateEnvironment": [
|
72
72
|
{
|
73
73
|
"document": "是否开启自动创建订阅",
|
74
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateEnvironment\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"
|
75
|
-
"output": "{\n \"Response\": {\n \"EnvironmentId\": \"
|
74
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateEnvironment\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"devNamespace\",\n \"MsgTTL\": \"100\",\n \"AutoSubscriptionCreation\": true,\n \"ClusterId\": \"pulsar-b843bz38z5mz\"\n}",
|
75
|
+
"output": "{\n \"Response\": {\n \"EnvironmentId\": \"devNamespace\",\n \"NamespaceId\": \"namespace-8893gp3428\",\n \"MsgTTL\": 100,\n \"Remark\": \"devRemark\",\n \"RequestId\": \"0843ea4f-d6ba-463b-952c-75708a7e8901\"\n }\n}",
|
76
76
|
"title": "创建命名空间"
|
77
77
|
}
|
78
78
|
],
|
79
79
|
"CreateEnvironmentRole": [
|
80
80
|
{
|
81
81
|
"document": "",
|
82
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateEnvironmentRole\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"
|
83
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
82
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateEnvironmentRole\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"devDemo\",\n \"RoleName\": \"role1\",\n \"Permissions\": [\n \"produce\"\n ],\n \"ClusterId\": \"pulsar-xk3ne8k2qkp8\"\n}",
|
83
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1004f1de-6fb8-41d5-965e-3aae8c87183a\"\n }\n}",
|
84
84
|
"title": "创建环境角色关系映射"
|
85
85
|
}
|
86
86
|
],
|
87
87
|
"CreateProCluster": [
|
88
88
|
{
|
89
89
|
"document": "创建专业集群 -- 仅通过api调用",
|
90
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateProCluster\n<公共请求参数>\n\n{\n \"ZoneIds\": [\n 200002,\n 200003,\n 200004\n ],\n \"ProductName\": \"
|
91
|
-
"output": "{\n \"Response\": {\n \"DealName\": \"
|
90
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateProCluster\n<公共请求参数>\n\n{\n \"ZoneIds\": [\n 200002,\n 200003,\n 200004\n ],\n \"ProductName\": \"devTest\",\n \"StorageSize\": 0,\n \"AutoRenewFlag\": 0,\n \"TimeSpan\": 0,\n \"Vpc\": {\n \"VpcId\": \"vpc-8jiausye\",\n \"SubnetId\": \"subnet-1iuyhzke\"\n },\n \"Tags\": [\n {\n \"TagKey\": \"devTag\",\n \"TagValue\": \"dev\"\n }\n ],\n \"ClusterName\": \"devTest\",\n \"AutoVoucher\": 0\n}",
|
91
|
+
"output": "{\n \"Response\": {\n \"DealName\": \"202403206137826783502561 \",\n \"BigDealId\": \"202403206137826783502561 \",\n \"ClusterId\": \"pulsar-x4r939zkwmm2\",\n \"ClusterName\": \"devTest\",\n \"RequestId\": \"0799dd77-707b-40d7-a4b5-4140b11f6c97\"\n }\n}",
|
92
92
|
"title": "创建专业集群"
|
93
93
|
}
|
94
94
|
],
|
95
95
|
"CreateRabbitMQBinding": [
|
96
96
|
{
|
97
97
|
"document": "",
|
98
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRabbitMQBinding\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-
|
99
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
98
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRabbitMQBinding\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-jero744g\",\n \"VirtualHost\": \"tdmq_data\",\n \"Source\": \"amq.direct\",\n \"DestinationType\": \"queue\",\n \"Destination\": \"prod.queue\",\n \"RoutingKey\": \"permission.created\"\n}",
|
99
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a8f28d5e-a7e2-4b0b-afa0-2fba09c077a0\",\n \"InstanceId\": \"amqp-jero744g\",\n \"VirtualHost\": \"tdmq_data\",\n \"BindingId\": 127441\n }\n}",
|
100
100
|
"title": "创建RabbitMQ路由关系"
|
101
101
|
}
|
102
102
|
],
|
103
103
|
"CreateRabbitMQUser": [
|
104
104
|
{
|
105
105
|
"document": "-",
|
106
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-
|
107
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
106
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-test\",\n \"User\": \"test_user\",\n \"Password\": \"abc123\"\n}",
|
107
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a8f28d5e-a7e2-4b0b-afa0-2fba09c077a0\",\n \"User\": \"test_user\"\n }\n}",
|
108
108
|
"title": "创建RabbitMQ用户"
|
109
109
|
}
|
110
110
|
],
|
111
111
|
"CreateRabbitMQVipInstance": [
|
112
112
|
{
|
113
113
|
"document": "创建RabbitMQ专享版实例",
|
114
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRabbitMQVipInstance\n<公共请求参数>\n\n{\n \"ZoneIds\": [\n 190001\n ],\n \"NodeSpec\": \"rabbit-vip-basic-2\",\n \"NodeNum\": 1,\n \"StorageSize\": 100,\n \"VpcId\": \"vpc-
|
115
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
114
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRabbitMQVipInstance\n<公共请求参数>\n\n{\n \"ZoneIds\": [\n 190001\n ],\n \"NodeSpec\": \"rabbit-vip-basic-2\",\n \"NodeNum\": 1,\n \"StorageSize\": 100,\n \"VpcId\": \"vpc-5ghsr4p9\",\n \"SubnetId\": \"subnet-67y9wil4\",\n \"ClusterName\": \"ApiCreate\",\n \"EnableCreateDefaultHaMirrorQueue\": false\n}",
|
115
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a8f28d5e-a7e2-4b0b-afa0-2fba09c077a0\",\n \"TranId\": \"20230110002025620411234\",\n \"InstanceId\": \"amqp-jero744g\"\n }\n}",
|
116
116
|
"title": "创建RabbitMQ专享版实例"
|
117
117
|
}
|
118
118
|
],
|
119
119
|
"CreateRabbitMQVirtualHost": [
|
120
120
|
{
|
121
121
|
"document": "-",
|
122
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRabbitMQVirtualHost\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-
|
123
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
122
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRabbitMQVirtualHost\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-test\",\n \"VirtualHost\": \"testVhost\",\n \"Description\": \"hello\"\n}",
|
123
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a8f28d5e-a7e2-4b0b-afa0-2fba09c077a0\",\n \"VirtualHost\": \"testVhost\"\n }\n}",
|
124
124
|
"title": "创建RabbitMQ的vhost"
|
125
125
|
}
|
126
126
|
],
|
@@ -183,15 +183,15 @@
|
|
183
183
|
"CreateRole": [
|
184
184
|
{
|
185
185
|
"document": "创建角色",
|
186
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRole\n<公共请求参数>\n\n{\n \"RoleName\": \"
|
187
|
-
"output": "{\n \"Response\": {\n \"RoleName\": \"
|
186
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRole\n<公共请求参数>\n\n{\n \"RoleName\": \"devName\",\n \"Remark\": \"devRemark\",\n \"ClusterId\": \"pulsar-xk3ne8k2qkp8\"\n}",
|
187
|
+
"output": "{\n \"Response\": {\n \"RoleName\": \"devName\",\n \"Token\": \"ajdsaiuasdnmasllamm\",\n \"Remark\": \"devRemark\",\n \"EnvironmentRoleSets\": [\n {\n \"EnvironmentId\": \"devNs\",\n \"Permissions\": [\n \"produce\"\n ]\n }\n ],\n \"RequestId\": \"1004f1de-6fb8-41d5-965e-3aae8c87183a\"\n }\n}",
|
188
188
|
"title": "创建角色"
|
189
189
|
}
|
190
190
|
],
|
191
191
|
"CreateSubscription": [
|
192
192
|
{
|
193
193
|
"document": "",
|
194
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSubscription\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"
|
194
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSubscription\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"devNs\",\n \"TopicName\": \"devTopic\",\n \"SubscriptionName\": \"devSub\",\n \"Remark\": \"devTest\",\n \"IsIdempotent\": true,\n \"ClusterId\": \"pulsar-5r59xd4vnx\",\n \"AutoCreatePolicyTopic\": true,\n \"PostFixPattern\": \"LEGACY\"\n}",
|
195
195
|
"output": "{\n \"Response\": {\n \"Result\": true,\n \"RequestId\": \"15288803-dadb-4499-9b5b-ff2f631ca68e\"\n }\n}",
|
196
196
|
"title": "创建订阅关系"
|
197
197
|
}
|
@@ -199,7 +199,7 @@
|
|
199
199
|
"CreateTopic": [
|
200
200
|
{
|
201
201
|
"document": "创建主题",
|
202
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTopic\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"
|
202
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTopic\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"devNs\",\n \"TopicName\": \"devTopic\",\n \"Partitions\": 1,\n \"Remark\": \"devTest\",\n \"TopicType\": 1,\n \"ClusterId\": \"pulsar-5r59xd4vnx\",\n \"PulsarTopicType\": 0,\n \"MsgTTL\": 1\n}",
|
203
203
|
"output": "{\n \"Response\": {\n \"EnvironmentId\": \"default\",\n \"TopicName\": \"test_topic\",\n \"Partitions\": 2,\n \"TopicType\": 0,\n \"Remark\": \"2个分区的普通消息队列\",\n \"RequestId\": \"d9686bf9-8d7d-4e78-bb44-5140d70a1ffa\"\n }\n}",
|
204
204
|
"title": "创建主题"
|
205
205
|
}
|
@@ -207,7 +207,7 @@
|
|
207
207
|
"DeleteCluster": [
|
208
208
|
{
|
209
209
|
"document": "",
|
210
|
-
"input": "https://tdmq.tencentcloudapi.com/?Action=DeleteCluster\n&ClusterId=pulsar-
|
210
|
+
"input": "https://tdmq.tencentcloudapi.com/?Action=DeleteCluster\n&ClusterId=pulsar-5r59xd4vnx\n&<公共请求参数>",
|
211
211
|
"output": "{\n \"Response\": {\n \"ClusterId\": \"pulsar-5r59xd4vnx\",\n \"RequestId\": \"0f368d07-3648-4546-9c51-65dad19a3234\"\n }\n}",
|
212
212
|
"title": "删除集群"
|
213
213
|
}
|
@@ -239,15 +239,15 @@
|
|
239
239
|
"DeleteEnvironmentRoles": [
|
240
240
|
{
|
241
241
|
"document": "",
|
242
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteEnvironmentRoles\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"
|
243
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
242
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteEnvironmentRoles\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"devNs\",\n \"RoleNames\": [\n \"role1\"\n ],\n \"ClusterId\": \"pulsar-xk3ne8k2qkp8\"\n}",
|
243
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1004f1de-6fb8-41d5-965e-3aae8c87183a\"\n }\n}",
|
244
244
|
"title": "删除环境角色授权"
|
245
245
|
}
|
246
246
|
],
|
247
247
|
"DeleteEnvironments": [
|
248
248
|
{
|
249
249
|
"document": "",
|
250
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteEnvironments\n<公共请求参数>\n\n{\n \"EnvironmentIds\": [\n \"
|
250
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteEnvironments\n<公共请求参数>\n\n{\n \"EnvironmentIds\": [\n \"devNs\"\n ],\n \"ClusterId\": \"pulsar-5r59xd4vnx\"\n}",
|
251
251
|
"output": "{\n \"Response\": {\n \"EnvironmentIds\": [\n \"test1\"\n ],\n \"RequestId\": \"db8bd520-496e-4e7c-a4a1-e7414d3c315c\"\n }\n}",
|
252
252
|
"title": "删除命名空间"
|
253
253
|
}
|
@@ -255,40 +255,40 @@
|
|
255
255
|
"DeleteProCluster": [
|
256
256
|
{
|
257
257
|
"document": "删除专业集群",
|
258
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteProCluster\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
259
|
-
"output": "{\n \"Response\": {\n \"DealName\": \"
|
258
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteProCluster\n<公共请求参数>\n\n{\n \"ClusterId\": \"pulsar-pnvjp9mbd947\"\n}",
|
259
|
+
"output": "{\n \"Response\": {\n \"DealName\": \"20231020394041338776131\",\n \"RequestId\": \"722558eb-36dc-4643-854f-aa7436b83125\"\n }\n}",
|
260
260
|
"title": "删除专业集群"
|
261
261
|
}
|
262
262
|
],
|
263
263
|
"DeleteRabbitMQBinding": [
|
264
264
|
{
|
265
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-
|
267
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
266
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRabbitMQBinding\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-jero744g\",\n \"VirtualHost\": \"tdmq_data\",\n \"BindingId\": 127441\n}",
|
267
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a8f28d5e-a7e2-4b0b-afa0-2fba09c077a0\",\n \"InstanceId\": \"amqp-jero744g\",\n \"VirtualHost\": \"tdmq_data\",\n \"BindingId\": 127441\n }\n}",
|
268
268
|
"title": "解绑RabbitMQ路由关系"
|
269
269
|
}
|
270
270
|
],
|
271
271
|
"DeleteRabbitMQUser": [
|
272
272
|
{
|
273
273
|
"document": "-",
|
274
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRabbitMQUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-
|
275
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
274
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRabbitMQUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-test\",\n \"User\": \"test-user\"\n}",
|
275
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a8f28d5e-a7e2-4b0b-afa0-2fba09c077a0\"\n }\n}",
|
276
276
|
"title": "删除RabbitMQ用户"
|
277
277
|
}
|
278
278
|
],
|
279
279
|
"DeleteRabbitMQVipInstance": [
|
280
280
|
{
|
281
281
|
"document": "删除RabbitMQ实例",
|
282
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRabbitMQVipInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-
|
283
|
-
"output": "{\n \"Response\": {\n \"TranId\": \"
|
282
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRabbitMQVipInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-test\"\n}",
|
283
|
+
"output": "{\n \"Response\": {\n \"TranId\": \"20230110002025620411234\",\n \"InstanceId\": \"amqp-test\",\n \"RequestId\": \"a8f28d5e-a7e2-4b0b-afa0-2fba09c077a0\"\n }\n}",
|
284
284
|
"title": "删除RabbitMQ实例"
|
285
285
|
}
|
286
286
|
],
|
287
287
|
"DeleteRabbitMQVirtualHost": [
|
288
288
|
{
|
289
289
|
"document": "-",
|
290
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRabbitMQVirtualHost\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-
|
291
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
290
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRabbitMQVirtualHost\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-test\",\n \"VirtualHost\": \"testVhost\"\n}",
|
291
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a8f28d5e-a7e2-4b0b-afa0-2fba09c077a0\"\n }\n}",
|
292
292
|
"title": "删除RabbitMQ的vhost"
|
293
293
|
}
|
294
294
|
],
|
@@ -351,8 +351,8 @@
|
|
351
351
|
"DeleteRoles": [
|
352
352
|
{
|
353
353
|
"document": "",
|
354
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRoles\n<公共请求参数>\n\n{\n \"RoleNames\": [\n \"
|
355
|
-
"output": "{\n \"Response\": {\n \"RoleNames\": [\n \"test_role_1\"
|
354
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRoles\n<公共请求参数>\n\n{\n \"RoleNames\": [\n \"test_role_1\"\n ],\n \"ClusterId\": \"pulsar-xk3ne8k2qkp8\"\n}",
|
355
|
+
"output": "{\n \"Response\": {\n \"RoleNames\": [\n \"test_role_1\"\n ],\n \"RequestId\": \"1004f1de-6fb8-41d5-965e-3aae8c87183a\"\n }\n}",
|
356
356
|
"title": "删除角色"
|
357
357
|
}
|
358
358
|
],
|
@@ -367,7 +367,7 @@
|
|
367
367
|
"DeleteTopics": [
|
368
368
|
{
|
369
369
|
"document": "",
|
370
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteTopics\n<公共请求参数>\n\n{\n \"TopicSets\": [\n {\n \"EnvironmentId\": \"
|
370
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteTopics\n<公共请求参数>\n\n{\n \"TopicSets\": [\n {\n \"EnvironmentId\": \"devNs\",\n \"TopicName\": \"devTopic\"\n }\n ],\n \"ClusterId\": \"pulsar-xk3ne8k2qkp8\",\n \"EnvironmentId\": \"devNs\",\n \"Force\": true\n}",
|
371
371
|
"output": "{\n \"Response\": {\n \"TopicSets\": [\n {\n \"EnvironmentId\": \"default\",\n \"TopicName\": \"cloud_test_1\"\n }\n ],\n \"RequestId\": \"5f4eabe4-94f2-4f91-8285-86f24ef8bcfa\"\n }\n}",
|
372
372
|
"title": "删除主题列表"
|
373
373
|
}
|
@@ -383,8 +383,8 @@
|
|
383
383
|
"DescribeAllTenants": [
|
384
384
|
{
|
385
385
|
"document": "",
|
386
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAllTenants\n<公共请求参数>\n\n{\n \"ClusterName\": \"
|
387
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Tenants\": [\n {\n \"MaxRetention\": 1,\n \"MaxDispatchTps\": 1,\n \"UpdateTime\": 1,\n \"MaxTopics\": 0,\n \"MaxRetentionSizeInMB\": 1,\n \"ClusterName\": \"
|
386
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAllTenants\n<公共请求参数>\n\n{\n \"ClusterName\": \"gz_cluster_1\",\n \"TenantName\": \"devName\",\n \"Limit\": 0,\n \"SortBy\": \"createTime\",\n \"Offset\": 0,\n \"TenantId\": \"pulsar-xk3ne8k2qkp8\",\n \"Types\": [\n \"http\"\n ],\n \"SortOrder\": \"desc\"\n}",
|
387
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Tenants\": [\n {\n \"MaxRetention\": 1,\n \"MaxDispatchTps\": 1,\n \"UpdateTime\": 1,\n \"MaxTopics\": 0,\n \"MaxRetentionSizeInMB\": 1,\n \"ClusterName\": \"cluster001\",\n \"MaxMsgBacklogSize\": 1,\n \"UsedTopics\": 0,\n \"CustomerUin\": \"712340148907\",\n \"UsedNamespaces\": 0,\n \"MaxPublishRateInBytes\": 1,\n \"CreateTime\": 1,\n \"MaxNamespaces\": 0,\n \"UsedPartitions\": 0,\n \"CustomerAppId\": \"25122936212a\",\n \"TenantName\": \"devTest\",\n \"MaxPartitions\": 0,\n \"TenantId\": \"pulsar-xk3ne8k2qkp8\",\n \"Type\": \"TDMQ\",\n \"MaxDispatchRateInBytes\": 1,\n \"MaxPublishTps\": 1,\n \"PublicAccessEnabled\": true\n }\n ],\n \"RequestId\": \"d4a162ca-0c45-4244-bc14-4463b72d5e13\"\n }\n}",
|
388
388
|
"title": "运营端获取虚拟集群列表"
|
389
389
|
}
|
390
390
|
],
|
@@ -392,23 +392,23 @@
|
|
392
392
|
{
|
393
393
|
"document": "",
|
394
394
|
"input": "https://tdmq.tencentcloudapi.com/?Action=DescribeBindClusters\n&<公共请求参数>",
|
395
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ClusterSet\": [\n {\n \"ClusterName\": \"
|
395
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ClusterSet\": [\n {\n \"ClusterName\": \"devCluster\"\n }\n ],\n \"RequestId\": \"32a34a4c-58a8-445f-80ff-7152399b18f7\"\n }\n}",
|
396
396
|
"title": "获取用户绑定的专享集群列表"
|
397
397
|
}
|
398
398
|
],
|
399
399
|
"DescribeBindVpcs": [
|
400
400
|
{
|
401
401
|
"document": "",
|
402
|
-
"input": "https://tdmq.tencentcloudapi.com/?Action=DescribeBindVpcs\n&ClusterId=pulsar-
|
403
|
-
"output": "{\n \"Response\": {\n \"VpcSets\": [\n {\n \"UniqueVpcId\": \"vpc-c96rbu5r\",\n \"UniqueSubnetId\": \"subnet-hiqrqjp6\",\n \"RouterId\": \"pulsar-
|
402
|
+
"input": "https://tdmq.tencentcloudapi.com/?Action=DescribeBindVpcs\n&ClusterId=pulsar-xk3ne8k2qkp8\n&<公共请求参数>",
|
403
|
+
"output": "{\n \"Response\": {\n \"VpcSets\": [\n {\n \"UniqueVpcId\": \"vpc-c96rbu5r\",\n \"UniqueSubnetId\": \"subnet-hiqrqjp6\",\n \"RouterId\": \"pulsar-xk3ne8k2qkp8/vpc-c96rbu5r/subnet-hiqrqjp6\",\n \"Ip\": \"192.168.0.1\",\n \"Port\": 6000,\n \"Remark\": \"devRemark\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"b9765efb-62dd-4946-b2bd-61e958c0f7a7\"\n }\n}",
|
404
404
|
"title": "获取租户VPC绑定关系"
|
405
405
|
}
|
406
406
|
],
|
407
407
|
"DescribeClusterDetail": [
|
408
408
|
{
|
409
409
|
"document": "",
|
410
|
-
"input": "https://tdmq.tencentcloudapi.com/?Action=DescribeClusterDetail\n&ClusterId=pulsar-
|
411
|
-
"output": "{\n \"Response\": {\n \"ClusterSet\": {\n \"ClusterId\": \"
|
410
|
+
"input": "https://tdmq.tencentcloudapi.com/?Action=DescribeClusterDetail\n&ClusterId=pulsar-47emajuekabz\n&<公共请求参数>",
|
411
|
+
"output": "{\n \"Response\": {\n \"ClusterSet\": {\n \"ClusterId\": \"pulsar-47emajuekabz\",\n \"ClusterName\": \"devName\",\n \"Remark\": \"devRemark\",\n \"EndPointNum\": 0,\n \"HealthyInfo\": \"healthy\",\n \"CreateTime\": \"2023-07-20 10:35:17\",\n \"Healthy\": 1,\n \"Status\": 0,\n \"MaxNamespaceNum\": 0,\n \"MaxTopicNum\": 0,\n \"MaxQps\": 0,\n \"MessageRetentionTime\": 0,\n \"MaxStorageCapacity\": 0,\n \"Version\": \"2.9.2\",\n \"PublicEndPoint\": null,\n \"VpcEndPoint\": null,\n \"NamespaceNum\": 0,\n \"UsedStorageBudget\": 0,\n \"MaxPublishRateInMessages\": 0,\n \"MaxDispatchRateInMessages\": 0,\n \"MaxPublishRateInBytes\": 0,\n \"MaxDispatchRateInBytes\": 0,\n \"TopicNum\": 0,\n \"MaxMessageDelayInSeconds\": 0,\n \"PublicAccessEnabled\": true,\n \"Tags\": [\n {\n \"TagKey\": \"pulsarTag\",\n \"TagValue\": \"dev\"\n }\n ],\n \"PayMode\": 0,\n \"ProjectId\": 0,\n \"ProjectName\": \"dev\"\n },\n \"RequestId\": \"5d6c7091-e82c-4a9c-a18f-34d5fc460iuu\"\n }\n}",
|
412
412
|
"title": "获取集群的详细信息"
|
413
413
|
}
|
414
414
|
],
|
@@ -416,7 +416,7 @@
|
|
416
416
|
{
|
417
417
|
"document": "",
|
418
418
|
"input": "https://tdmq.tencentcloudapi.com/?Action=DescribeClusters\n&<公共请求参数>",
|
419
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ClusterSet\": [\n {\n \"MaxQps\": 10000,\n \"HealthyInfo\": \"
|
419
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ClusterSet\": [\n {\n \"MaxQps\": 10000,\n \"HealthyInfo\": \"ok\",\n \"MaxTopicNum\": 1000,\n \"MaxStorageCapacity\": 100,\n \"MaxMessageDelayInSeconds\": 0,\n \"Version\": \"v1\",\n \"Status\": 1,\n \"Tags\": [\n {\n \"TagKey\": \"tag1\",\n \"TagValue\": \"value1\"\n }\n ],\n \"ClusterId\": \"pulsar-xk3ne8k2qkp8\",\n \"PayMode\": 0,\n \"EndPointNum\": 0,\n \"Healthy\": 1,\n \"TopicNum\": 0,\n \"Remark\": \"beizhu\",\n \"NamespaceNum\": 0,\n \"PublicEndPoint\": \"http://mq.public.endpoint\",\n \"MaxPublishRateInBytes\": 0,\n \"VpcEndPoint\": \"http://mq.tencent.vpc.end.point\",\n \"MaxDispatchRateInBytes\": 0,\n \"PublicAccessEnabled\": true,\n \"ClusterName\": \"mq-cluster\",\n \"MaxPublishRateInMessages\": 0,\n \"UsedStorageBudget\": 0,\n \"MessageRetentionTime\": 86400,\n \"MaxNamespaceNum\": 10,\n \"CreateTime\": \"2024-10-08 11:38:48,068\",\n \"MaxDispatchRateInMessages\": 0\n }\n ],\n \"RequestId\": \"4446732a-8d0a-4549-9fb3-79949a788fc0\"\n }\n}",
|
420
420
|
"title": "获取集群列表"
|
421
421
|
}
|
422
422
|
],
|
@@ -471,7 +471,7 @@
|
|
471
471
|
"DescribeEnvironmentAttributes": [
|
472
472
|
{
|
473
473
|
"document": "",
|
474
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEnvironmentAttributes\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"
|
474
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEnvironmentAttributes\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"devNs\",\n \"ClusterId\": \"pulsar-5r59xd4vnx\"\n}",
|
475
475
|
"output": "{\n \"Response\": {\n \"MsgTTL\": 2000,\n \"RateInByte\": 0,\n \"RateInSize\": 0,\n \"Replicas\": 2,\n \"RetentionHours\": 0,\n \"RetentionSize\": 0,\n \"EnvironmentId\": \"test1\",\n \"Remark\": \"备注\",\n \"RequestId\": \"dec113a8-599a-4e70-b143-14425d48ffc4\"\n }\n}",
|
476
476
|
"title": "列出指定命名空间属性"
|
477
477
|
}
|
@@ -480,23 +480,23 @@
|
|
480
480
|
{
|
481
481
|
"document": "",
|
482
482
|
"input": "https://tdmq.tencentcloudapi.com/?Action=DescribeEnvironmentRoles\n&EnvironmentId=default\n&<公共请求参数>",
|
483
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"EnvironmentRoleSets\": [\n {\n \"EnvironmentId\": \"default\",\n \"RoleName\": \"test_role\",\n \"Permissions\": [\n \"produce\",\n \"consume\"\n ],\n \"RoleDescribe\": \"Remark1\",\n \"CreateTime\": \"2020-08-03 19:46:37\",\n \"UpdateTime\": \"2020-08-04 15:59:29\"\n }\n ],\n \"RequestId\": \"
|
483
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"EnvironmentRoleSets\": [\n {\n \"EnvironmentId\": \"default\",\n \"RoleName\": \"test_role\",\n \"Permissions\": [\n \"produce\",\n \"consume\"\n ],\n \"RoleDescribe\": \"Remark1\",\n \"CreateTime\": \"2020-08-03 19:46:37\",\n \"UpdateTime\": \"2020-08-04 15:59:29\"\n }\n ],\n \"RequestId\": \"1004f1de-6fb8-41d5-965e-3aae8c87183a\"\n }\n}",
|
484
484
|
"title": "获取命名空间角色列表"
|
485
485
|
}
|
486
486
|
],
|
487
487
|
"DescribeEnvironments": [
|
488
488
|
{
|
489
489
|
"document": "",
|
490
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEnvironments\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"
|
491
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"EnvironmentSet\": [\n {\n \"EnvironmentId\": \"
|
490
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEnvironments\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"devNs\",\n \"Offset\": 1,\n \"Limit\": 1,\n \"ClusterId\": \"pulsar-xk3ne8k2qkp8\"\n}",
|
491
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"EnvironmentSet\": [\n {\n \"EnvironmentId\": \"devNs\",\n \"Remark\": \"devDemo\",\n \"MsgTTL\": 100,\n \"CreateTime\": \"2020-09-22 00:00:00\",\n \"UpdateTime\": \"2020-09-22 00:00:00\",\n \"NamespaceName\": \"devNs\",\n \"NamespaceId\": \"nsId\",\n \"TopicNum\": 0,\n \"RetentionPolicy\": {\n \"TimeInMinutes\": 0,\n \"SizeInMB\": 0\n },\n \"AutoSubscriptionCreation\": true\n }\n ],\n \"RequestId\": \"1004f1de-6fb8-41d5-965e-3aae8c87183a\"\n }\n}",
|
492
492
|
"title": "获取命名空间列表"
|
493
493
|
}
|
494
494
|
],
|
495
495
|
"DescribeMqMsgTrace": [
|
496
496
|
{
|
497
497
|
"document": "demo",
|
498
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMqMsgTrace\n<公共请求参数>\n\n{\n \"
|
499
|
-
"output": "{\n \"Response\": {\n \"Result\": [\n {\n \"Stage\": \"
|
498
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMqMsgTrace\n<公共请求参数>\n\n{\n \"Protocol\": \"pulsar\",\n \"ClusterId\": \"pulsar-pnvjp9mbd947\",\n \"EnvironmentId\": \"devNs\",\n \"TopicName\": \"devTopic\",\n \"QueueName\": \"devCmq\",\n \"MsgId\": \"29292216:15:3\",\n \"GroupName\": \"devName\",\n \"QueryDlqMsg\": true\n}",
|
499
|
+
"output": "{\n \"Response\": {\n \"Result\": [\n {\n \"Stage\": \"devInfo\",\n \"Data\": \"2023-07-20 10:35:17\"\n }\n ],\n \"ShowTopicName\": \"devTopic\",\n \"RequestId\": \"722558eb-36dc-4643-854f-aa7436b83125\"\n }\n}",
|
500
500
|
"title": "示例"
|
501
501
|
}
|
502
502
|
],
|
@@ -511,7 +511,7 @@
|
|
511
511
|
"DescribeMsgTrace": [
|
512
512
|
{
|
513
513
|
"document": "",
|
514
|
-
"input": "https://tdmq.tencentcloudapi.com/?Action=DescribeMsgTrace\n&EnvironmentId=
|
514
|
+
"input": "https://tdmq.tencentcloudapi.com/?Action=DescribeMsgTrace\n&EnvironmentId=devNs\n&MsgId=16839:8:-1\n&ProduceTime=2020-08-1908:06:19\n&<公共请求参数>",
|
515
515
|
"output": "{\n \"Response\": {\n \"ProducerLog\": {\n \"MsgId\": \"16839:8:-1\",\n \"ProducerName\": \"fisrtProducer\",\n \"ProduceTime\": \"2020-08-19 08:06:19,211\",\n \"ProducerAddr\": \"9.139.220.17:57234\",\n \"ProduceUseTime\": 5309,\n \"Status\": \"success\"\n },\n \"ServerLog\": {\n \"SaveTime\": \"2020-08-19 08:06:19,211\",\n \"Status\": \"success\"\n },\n \"ConsumerLogs\": {\n \"TotalCount\": 1,\n \"ConsumerLogSets\": [\n {\n \"MsgId\": \"16839:8:-1\",\n \"ConsumerGroup\": \"sun_consumer\",\n \"ConsumerName\": \"7ef60\",\n \"ConsumeTime\": \"2020-08-19 08:06:22,563\",\n \"ConsumerAddr\": \"9.139.220.17:57241\",\n \"ConsumeUseTime\": 875,\n \"Status\": \"success\"\n }\n ]\n },\n \"RequestId\": \"msgs\"\n }\n}",
|
516
516
|
"title": "获取消息轨迹"
|
517
517
|
}
|
@@ -535,24 +535,24 @@
|
|
535
535
|
"DescribePublisherSummary": [
|
536
536
|
{
|
537
537
|
"document": "",
|
538
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePublisherSummary\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
539
|
-
"output": "{\n \"Response\": {\n \"MsgRateIn\": 0,\n \"MsgThroughputIn\": 0,\n \"PublisherCount\": 0,\n \"StorageSize\": 0,\n \"RequestId\": \"
|
538
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePublisherSummary\n<公共请求参数>\n\n{\n \"ClusterId\": \"pulsar-xk3ne8k2qkp8\",\n \"Namespace\": \"devNs\",\n \"Topic\": \"devTopic\"\n}",
|
539
|
+
"output": "{\n \"Response\": {\n \"MsgRateIn\": 0,\n \"MsgThroughputIn\": 0,\n \"PublisherCount\": 0,\n \"StorageSize\": 0,\n \"RequestId\": \"1004f1de-6fb8-41d5-965e-3aae8c87183a\"\n }\n}",
|
540
540
|
"title": "获取生产者概览"
|
541
541
|
}
|
542
542
|
],
|
543
543
|
"DescribePublishers": [
|
544
544
|
{
|
545
545
|
"document": "",
|
546
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePublishers\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
547
|
-
"output": "{\n \"Response\": {\n \"TotalCount\":
|
546
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePublishers\n<公共请求参数>\n\n{\n \"ClusterId\": \"pulsar-xk3ne8k2qkp8\",\n \"Namespace\": \"devNs\",\n \"Topic\": \"devTopic\",\n \"Offset\": 0,\n \"Limit\": 0\n}",
|
547
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Publishers\": [\n {\n \"ProducerId\": 0,\n \"ProducerName\": \"p1\",\n \"Address\": \"127.0.0.1\",\n \"ClientVersion\": \"2.9\",\n \"MsgRateIn\": 0,\n \"MsgThroughputIn\": 0,\n \"AverageMsgSize\": 0,\n \"ConnectedSince\": \"dev\",\n \"Partition\": 0\n }\n ],\n \"RequestId\": \"1004f1de-6fb8-41d5-965e-3aae8c87183a\"\n }\n}",
|
548
548
|
"title": "获取生产者列表"
|
549
549
|
}
|
550
550
|
],
|
551
551
|
"DescribePulsarProInstanceDetail": [
|
552
552
|
{
|
553
553
|
"document": "",
|
554
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePulsarProInstanceDetail\n<公共请求参数>\n\n{\n \"ClusterId\": \"pulsar-
|
555
|
-
"output": "{\n \"Response\": {\n \"ClusterInfo\": {\n \"ClusterId\": \"
|
554
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePulsarProInstanceDetail\n<公共请求参数>\n\n{\n \"ClusterId\": \"pulsar-x4r939zkwmm2\"\n}",
|
555
|
+
"output": "{\n \"Response\": {\n \"ClusterInfo\": {\n \"ClusterId\": \"pulsar-x4r939zkwmm2\",\n \"ClusterName\": \"devTest\",\n \"Remark\": \"devTest\",\n \"CreateTime\": \"2023-07-20 10:35:17\",\n \"Status\": 0,\n \"Version\": \"2.9.2\",\n \"NodeDistribution\": [\n {\n \"ZoneName\": \"ap-beijing-4\",\n \"ZoneId\": \"800004\",\n \"NodeCount\": 1\n }\n ],\n \"MaxStorage\": 1,\n \"CanEditRoute\": true,\n \"BillingLabelVersion\": \"PULSAR.P1\"\n },\n \"NetworkAccessPointInfos\": [\n {\n \"VpcId\": \"vpc-8jjua83u\",\n \"SubnetId\": \"subnet-1iia83y2\",\n \"Endpoint\": \"http://pulsar-x4r939zkwmm2.tdmq.ap-bj.qcloud.tencenttdmq.com:8080\",\n \"InstanceId\": \"pulsar-x4r939zkwmm2\",\n \"RouteType\": 1,\n \"OperationType\": 1,\n \"AccessPointsType\": null\n }\n ],\n \"ClusterSpecInfo\": {\n \"SpecName\": \"PULSAR.P1.MINI2\",\n \"MaxTps\": 1,\n \"MaxBandWidth\": 1,\n \"MaxNamespaces\": 1,\n \"MaxTopics\": 1,\n \"ScalableTps\": 1\n },\n \"RequestId\": \"0799dd77-707b-40d7-a4b5-4140b11f6c97\"\n }\n}",
|
556
556
|
"title": "获取Pulsar专业版集群实例详情"
|
557
557
|
}
|
558
558
|
],
|
@@ -560,22 +560,22 @@
|
|
560
560
|
{
|
561
561
|
"document": "",
|
562
562
|
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePulsarProInstances\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"instancelds\",\n \"Values\": [\n \"pulsar-aer8pde2z2we\"\n ]\n }\n ],\n \"Limit\": 1,\n \"Offset\": 1\n}",
|
563
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Instances\": [\n {\n \"InstanceId\": \"pulsar-aer8pde2z2we\",\n \"InstanceName\": \"
|
563
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Instances\": [\n {\n \"InstanceId\": \"pulsar-aer8pde2z2we\",\n \"InstanceName\": \"DevName\",\n \"InstanceVersion\": \"2.9.1\",\n \"Status\": 1,\n \"ConfigDisplay\": \"基础型\",\n \"MaxTps\": 1,\n \"MaxStorage\": 1,\n \"ExpireTime\": 1,\n \"AutoRenewFlag\": 1,\n \"PayMode\": 1,\n \"Remark\": \"devRemark\",\n \"SpecName\": \"vip-basic-1\",\n \"ScalableTps\": 1,\n \"VpcId\": \"vpc-xxxx\",\n \"SubnetId\": \"subnet-xxxx\",\n \"MaxBandWidth\": 1,\n \"Tags\": [\n {\n \"TagKey\": \"devKey\",\n \"TagValue\": \"devValue\"\n }\n ],\n \"CreateTime\": \"2023-12-08 10:25:51\",\n \"BillingLabelVersion\": \"PULSAR.P1\"\n }\n ],\n \"RequestId\": \"e83dfdba-ed1a-4460-b175-81430ddf61fa\"\n }\n}",
|
564
564
|
"title": "获取实例列表"
|
565
565
|
}
|
566
566
|
],
|
567
567
|
"DescribeRabbitMQBindings": [
|
568
568
|
{
|
569
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\": \"
|
571
|
-
"output": "{\n \"Response\": {\n \"BindingInfoList\": [\n {\n \"BindingId\":
|
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\": \"tdmq_data\"\n}",
|
571
|
+
"output": "{\n \"Response\": {\n \"BindingInfoList\": [\n {\n \"BindingId\": 127469,\n \"VirtualHost\": \"tdmq_data\",\n \"Source\": \"test-exchange\",\n \"DestinationType\": \"queue\",\n \"Destination\": \"test-queue\",\n \"RoutingKey\": \"test-rk\",\n \"SourceExchangeType\": \"direct\",\n \"CreateTime\": \"2022-12-16 11:19:56\",\n \"ModifyTime\": \"2022-12-16 11:19:56\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"a8f28d5e-a7e2-4b0b-afa0-2fba09c077a0\"\n }\n}",
|
572
572
|
"title": "查询RabbitMQ路由关系列表"
|
573
573
|
}
|
574
574
|
],
|
575
575
|
"DescribeRabbitMQExchanges": [
|
576
576
|
{
|
577
577
|
"document": "查询RabbitMQ exchange 列表",
|
578
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQExchanges\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-
|
578
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQExchanges\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-test\",\n \"VirtualHost\": \"vhost1\"\n}",
|
579
579
|
"output": "{\n \"Response\": {\n \"RequestId\": \"request1\",\n \"ExchangeInfoList\": [\n {\n \"ExchangeName\": \"test1\",\n \"ExchangeType\": \"fanout\",\n \"Remark\": \"test1\",\n \"VirtualHost\": \"vhost1\",\n \"ExchangeCreator\": \"user\",\n \"CreateTimeStamp\": \"2022-12-04 01:08:43\",\n \"ModTimeStamp\": \"2022-12-04 01:08:43\"\n },\n {\n \"ExchangeName\": \"test2\",\n \"ExchangeType\": \"direct\",\n \"Remark\": \"test2\",\n \"VirtualHost\": \"vhost1\",\n \"ExchangeCreator\": \"user\",\n \"CreateTimeStamp\": \"2022-12-04 01:08:43\",\n \"ModTimeStamp\": \"2022-12-04 01:08:43\"\n }\n ],\n \"TotalCount\": 2\n }\n}",
|
580
580
|
"title": "查询RabbitMQ exchange 列表"
|
581
581
|
}
|
@@ -583,56 +583,56 @@
|
|
583
583
|
"DescribeRabbitMQNodeList": [
|
584
584
|
{
|
585
585
|
"document": "RabbitMQ专享版查询节点列表 在查询节点的时候使用。",
|
586
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQNodeList\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-
|
587
|
-
"output": "{\n \"Response\": {\n \"
|
586
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQNodeList\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-test\",\n \"Offset\": 0,\n \"Limit\": 3,\n \"NodeName\": \"rabbit@rabbitmq-broker-1.rabbitmq-broker-internal.amqp-test.svc.cluster.local\",\n \"Filters\": [\n {\n \"Name\": \"nodeStatus\",\n \"Values\": [\n \"running\"\n ]\n }\n ],\n \"SortElement\": \"cpuUsage\",\n \"SortOrder\": \"descend\"\n}",
|
587
|
+
"output": "{\n \"Response\": {\n \"NodeList\": [\n {\n \"CPUUsage\": \"0.000%\",\n \"DiskUsage\": \"3.000%\",\n \"Memory\": 171,\n \"NodeName\": \"rabbit@rabbitmq-broker-1.rabbitmq-broker-internal.amqp-test.svc.cluster.local\",\n \"NodeStatus\": \"running\",\n \"ProcessNumber\": 459\n }\n ],\n \"RequestId\": \"a95bfcfd-8388-4f86-8511-ca3be8ed000c\",\n \"TotalCount\": 1\n }\n}",
|
588
588
|
"title": "RabbitMQ专享版查询节点列表"
|
589
589
|
}
|
590
590
|
],
|
591
591
|
"DescribeRabbitMQQueueDetail": [
|
592
592
|
{
|
593
593
|
"document": "",
|
594
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQQueueDetail\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
595
|
-
"output": "{\n \"Response\": {\n \"
|
594
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQQueueDetail\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-jero744g\",\n \"VirtualHost\": \"tdmq_data\",\n \"QueueName\": \"prod.queue\"\n}",
|
595
|
+
"output": "{\n \"Response\": {\n \"Arguments\": \"{\\\"x-ordered\\\": false}\",\n \"AutoDelete\": false,\n \"AutoExpire\": 1000,\n \"Consumers\": 1,\n \"CreateTime\": 1728982735,\n \"DeadLetterExchange\": \"dl-exchange\",\n \"DeadLetterRoutingKey\": \"test-dl\",\n \"DeadLetterStrategy\": \"at-most-once\",\n \"DeliveryLimit\": null,\n \"Durable\": true,\n \"Exclusive\": false,\n \"InstanceId\": \"amqp-jero744g\",\n \"LazyMode\": false,\n \"MasterLocator\": \"client-local\",\n \"MaxInMemoryBytes\": null,\n \"MaxInMemoryLength\": null,\n \"MaxLength\": 10000,\n \"MaxLengthBytes\": 1000,\n \"MaximumPriority\": 0,\n \"MessageTTL\": 1000,\n \"Node\": \"rabbit@rabbitmq-broker-0.rabbitmq-broker-internal.amqp-test.svc.cluster.local\",\n \"OverflowBehaviour\": \"drop-head\",\n \"Policy\": \"test-policy\",\n \"QueueLeaderLocator\": null,\n \"QueueName\": \"prod.queue\",\n \"QueueType\": \"classic\",\n \"QuorumInitialGroupSize\": null,\n \"Remark\": \"[系统自动批量同步]\",\n \"RequestId\": \"bf6ea82d-213b-4d44-be1f-74cd31f9a22b\",\n \"SingleActiveConsumer\": false,\n \"VirtualHost\": \"tdmq_data\"\n }\n}",
|
596
596
|
"title": "查询RabbitMQ队列详情"
|
597
597
|
}
|
598
598
|
],
|
599
599
|
"DescribeRabbitMQQueues": [
|
600
600
|
{
|
601
601
|
"document": "查询当前 vhost 下所有 queue",
|
602
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQQueues\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-
|
603
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
602
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQQueues\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-jero744g\",\n \"VirtualHost\": \"tdmq_data\"\n}",
|
603
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a8f28d5e-a7e2-4b0b-afa0-2fba09c077a0\",\n \"QueueInfoList\": [\n {\n \"QueueName\": \"prod.queue\",\n \"Remark\": null,\n \"QueueType\": \"classic\",\n \"ConsumerDetail\": {\n \"ConsumersNumber\": 1\n },\n \"MessageHeapCount\": 0,\n \"MessageRateIn\": 0,\n \"MessageRateOut\": 0\n }\n ],\n \"TotalCount\": 1\n }\n}",
|
604
604
|
"title": "查询RabbitMQ队列列表"
|
605
605
|
}
|
606
606
|
],
|
607
607
|
"DescribeRabbitMQUser": [
|
608
608
|
{
|
609
609
|
"document": "-",
|
610
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-
|
611
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
610
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-test\"\n}",
|
611
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a8f28d5e-a7e2-4b0b-afa0-2fba09c077a0\",\n \"RabbitMQUserList\": [\n {\n \"ModifyTime\": \"1\",\n \"CreateTime\": \"1\",\n \"MaxChannels\": 1,\n \"MaxConnections\": 1,\n \"Type\": \"1\",\n \"InstanceId\": \"amqp-test\",\n \"User\": \"testVhost\",\n \"Password\": \"123\",\n \"Description\": \"hello\",\n \"Tags\": [\n \"shop\"\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}",
|
612
612
|
"title": "查询RabbitMQ 用户列表"
|
613
613
|
}
|
614
614
|
],
|
615
615
|
"DescribeRabbitMQVipInstance": [
|
616
616
|
{
|
617
617
|
"document": "-",
|
618
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQVipInstance\n<公共请求参数>\n\n{\n \"ClusterId\": \"amqp-
|
619
|
-
"output": "{\n \"Response\": {\n \"ClusterInfo\": {\n \"
|
618
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQVipInstance\n<公共请求参数>\n\n{\n \"ClusterId\": \"amqp-test\"\n}",
|
619
|
+
"output": "{\n \"Response\": {\n \"ClusterInfo\": {\n \"AutoRenewFlag\": 1,\n \"ChannelNumber\": 1,\n \"ClusterId\": \"amqp-test\",\n \"ClusterName\": \"test\",\n \"ClusterStatus\": 1,\n \"ClusterVersion\": \"3.8.30\",\n \"ConnectionNumber\": 1,\n \"ConsumerNumber\": 1,\n \"CreateTime\": 1728982428000,\n \"ExceptionInformation\": null,\n \"ExchangeNumber\": 10,\n \"ExpireTime\": 1731660828257,\n \"MessageConsumeRate\": 0,\n \"MessagePublishRate\": 0,\n \"MessageStackNumber\": 3021165,\n \"MirrorQueuePolicyFlag\": 1,\n \"PayMode\": 1,\n \"QueueNumber\": 1112,\n \"Region\": \"ap-qingyuan\",\n \"Remark\": \"\",\n \"VirtualHostNumber\": 1,\n \"Vpcs\": [\n {\n \"SubnetId\": \"subnet-test1\",\n \"VpcDataStreamEndpointStatus\": \"ON\",\n \"VpcEndpoint\": \"amqp://10.0.0.4:5672\",\n \"VpcId\": \"vpc-test1\"\n },\n {\n \"SubnetId\": \"subnet-test2\",\n \"VpcDataStreamEndpointStatus\": \"ON\",\n \"VpcEndpoint\": \"amqp://10.0.0.10:5672\",\n \"VpcId\": \"vpc-test2\"\n }\n ],\n \"ZoneIds\": [\n 540001\n ]\n },\n \"ClusterNetInfo\": {\n \"PrometheusEndpointInfo\": {\n \"NodePrometheusAddress\": [],\n \"PrometheusEndpointStatus\": \"OFF\",\n \"VpcEndpointInfo\": null,\n \"VpcPrometheusEndpoint\": []\n },\n \"PublicAccessEndpoint\": \"amqp://106.55.176.111:5672\",\n \"PublicAccessEndpointStatus\": true,\n \"PublicControlConsoleSwitchStatus\": true,\n \"PublicDataStreamStatus\": \"ON\",\n \"PublicWebConsoleSwitchStatus\": \"ON\",\n \"VpcControlConsoleSwitchStatus\": false,\n \"VpcWebConsoleEndpoint\": \"http://127.0.0.1:15672\",\n \"VpcWebConsoleSwitchStatus\": \"OFF\",\n \"WebConsoleDomainEndpoint\": \"http://amqp-test.dashboard.rabbitmq.xx.public.tencenttdmq.com:15672\",\n \"WebConsoleEndpoint\": \"http://106.55.176.11:15672\",\n \"WebConsolePassword\": \"Fs98DBo9C1IuN4L0\",\n \"WebConsoleUsername\": \"admin\"\n },\n \"ClusterSpecInfo\": {\n \"MaxBandWidth\": 15,\n \"MaxStorage\": 200,\n \"MaxTps\": 800,\n \"NodeCount\": 1,\n \"PublicNetworkTps\": 5,\n \"SpecName\": \"体验型\"\n },\n \"ClusterWhiteListInfo\": {\n \"PublicControlConsoleWhiteList\": \"127.0.0.1,171.216.138.56\",\n \"PublicControlConsoleWhiteListStatus\": \"ON\",\n \"PublicDataStreamWhiteList\": \"127.0.0.1,125.69.38.199\",\n \"PublicDataStreamWhiteListStatus\": \"ON\",\n \"WhiteList\": \"127.0.0.1,171.216.138.56\"\n },\n \"ExchangeQuota\": {\n \"MaxExchange\": 1000,\n \"UsedExchange\": 10\n },\n \"QueueQuota\": {\n \"MaxQueue\": 1000,\n \"UsedQueue\": 1112\n },\n \"RequestId\": \"2a48bbf4-4675-4984-93d9-8ed0f4dfa598\",\n \"VirtualHostQuota\": {\n \"MaxVirtualHost\": 20,\n \"UsedVirtualHost\": 1\n }\n }\n}",
|
620
620
|
"title": "获取单个Amqp集群信息"
|
621
621
|
}
|
622
622
|
],
|
623
623
|
"DescribeRabbitMQVipInstances": [
|
624
624
|
{
|
625
625
|
"document": "",
|
626
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQVipInstances\n<公共请求参数>\n\n{\n \"
|
627
|
-
"output": "{\n \"Response\": {\n \"
|
626
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQVipInstances\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"instanceIds\",\n \"Values\": [\n \"amqp-jero744g\"\n ]\n }\n ],\n \"Limit\": 1,\n \"Offset\": 0\n}",
|
627
|
+
"output": "{\n \"Response\": {\n \"Instances\": [\n {\n \"AutoRenewFlag\": 1,\n \"ClusterStatus\": 1,\n \"ConfigDisplay\": \"体验型\",\n \"CreateTime\": 1730294244007,\n \"ExceptionInformation\": null,\n \"ExpireTime\": 1732972644007,\n \"InstanceId\": \"amqp-jero744g\",\n \"InstanceName\": \"test1030\",\n \"InstanceVersion\": \"3.11.8\",\n \"MaxBandWidth\": 45,\n \"MaxStorage\": 600,\n \"MaxTps\": 2400,\n \"NodeCount\": 3,\n \"PayMode\": 1,\n \"PublicAccessEndpoint\": \"amqp://106.55.176.111:5672\",\n \"Remark\": \"生产使用集群\",\n \"SpecName\": \"rabbit-vip-basic-5\",\n \"Status\": 1,\n \"Vpcs\": [\n {\n \"SubnetId\": \"subnet-67y9wil4\",\n \"VpcDataStreamEndpointStatus\": \"ON\",\n \"VpcEndpoint\": \"amqp://10.0.4.10:5672\",\n \"VpcId\": \"vpc-5ghsr4p9\"\n }\n ]\n }\n ],\n \"RequestId\": \"db5e4d5f-e2c5-4a17-9fbd-484ec2d98324\",\n \"TotalCount\": 16\n }\n}",
|
628
628
|
"title": "获取实例列表"
|
629
629
|
}
|
630
630
|
],
|
631
631
|
"DescribeRabbitMQVirtualHost": [
|
632
632
|
{
|
633
633
|
"document": "-",
|
634
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQVhost\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-
|
635
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
634
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQVhost\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-test\"\n}",
|
635
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a8f28d5e-a7e2-4b0b-afa0-2fba09c077a0\",\n \"VirtualHostList\": [\n {\n \"InstanceId\": \"amqp-test\",\n \"VirtualHost\": \"vhost\",\n \"Description\": \"\",\n \"Tags\": [],\n \"CreateTime\": \"2023-07-18 12:55:00.778\",\n \"ModifyTime\": \"2023-07-18 12:55:00.778\",\n \"VirtualHostStatistics\": {\n \"CurrentQueues\": 1,\n \"CurrentExchanges\": 6,\n \"CurrentConnections\": 1,\n \"CurrentChannels\": 1,\n \"CurrentUsers\": 1\n },\n \"TraceFlag\": true,\n \"MessageHeapCount\": 0,\n \"MessageRateIn\": 0,\n \"MessageRateOut\": 0\n },\n {\n \"InstanceId\": \"amqp-test\",\n \"VirtualHost\": \"test2\",\n \"Description\": \"\",\n \"Tags\": [],\n \"CreateTime\": \"2023-07-18 12:55:16.230\",\n \"ModifyTime\": \"2023-07-18 12:55:19.856\",\n \"VirtualHostStatistics\": {\n \"CurrentQueues\": 0,\n \"CurrentExchanges\": 0,\n \"CurrentConnections\": 0,\n \"CurrentChannels\": 0,\n \"CurrentUsers\": 0\n },\n \"TraceFlag\": true,\n \"MessageHeapCount\": 0,\n \"MessageRateIn\": 0,\n \"MessageRateOut\": 0\n }\n ],\n \"TotalCount\": 2\n }\n}",
|
636
636
|
"title": "查询RabbitMQ vhost列表"
|
637
637
|
}
|
638
638
|
],
|
@@ -640,7 +640,7 @@
|
|
640
640
|
{
|
641
641
|
"document": "",
|
642
642
|
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQVirtualHostList\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-testtesttest\",\n \"Limit\": 1,\n \"Offset\": 1\n}",
|
643
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"abc\",\n \"VirtualHostList\": [\n {\n \"VirtualHostName\": \"
|
643
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"abc\",\n \"VirtualHostList\": [\n {\n \"VirtualHostName\": \"test-vhost\",\n \"Description\": \"The virtual host is for test\"\n }\n ]\n }\n}",
|
644
644
|
"title": "获取云服务器列表"
|
645
645
|
}
|
646
646
|
],
|
@@ -865,16 +865,16 @@
|
|
865
865
|
"DescribeRoles": [
|
866
866
|
{
|
867
867
|
"document": "",
|
868
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRoles\n<公共请求参数>\n\n{\n \"RoleName\": \"
|
869
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 4,\n \"RoleSets\": [\n {\n \"RoleName\": \"test_role_3\",\n \"Token\": \"
|
868
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRoles\n<公共请求参数>\n\n{\n \"RoleName\": \"devRole\",\n \"Offset\": 0,\n \"Limit\": 10,\n \"ClusterId\": \"pulsar-xk3ne8k2qkp8\"\n}",
|
869
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 4,\n \"RoleSets\": [\n {\n \"RoleName\": \"test_role_3\",\n \"Token\": \"eyJzdddaWIiOiJ0ZXN0X3JvbGVfMyJ9.dbHR8m6gc4L4vZUrodhW_O9bDulZQ6lraNswNLtcUcY\",\n \"Remark\": \"devRemark\",\n \"CreateTime\": \"2020-08-04 11:59:06\",\n \"UpdateTime\": \"2020-08-04 11:59:06\"\n },\n {\n \"RoleName\": \"test_role_2\",\n \"Token\": \"eyJzdWIiOiJ0asZsXN0X3JasdvbGVfMiJ9.KTbLPg1ax2HDa51vfWmoDK5AQRmEs-_3da8yU0O61D0\",\n \"Remark\": \"devRemark\",\n \"CreateTime\": \"2020-08-03 20:23:52\",\n \"UpdateTime\": \"2020-08-03 20:23:52\"\n },\n {\n \"RoleName\": \"test_role_1\",\n \"Token\": \"eyJzddassWIiOiJ0ZXN0X3JvbGVfMSJ9.aatGv_WEZK5jqmXNX3dxQA7vWB0igKr_7eQitbweBoo\",\n \"Remark\": \"devRemark\",\n \"CreateTime\": \"2020-08-03 19:48:36\",\n \"UpdateTime\": \"2020-08-03 20:22:21\"\n },\n {\n \"RoleName\": \"test_role\",\n \"Token\": \"eyJzdWIiOiJ0ZXsasdN0X3JvbGUifQ.xeU_xkiB5wSJ8u6sUJWW\",\n \"Remark\": \"Remark1\",\n \"CreateTime\": \"2020-08-03 17:22:09\",\n \"UpdateTime\": \"2020-08-04 15:59:29\"\n }\n ],\n \"RequestId\": \"1004f1de-6fb8-41d5-965e-3aae8c87183a\"\n }\n}",
|
870
870
|
"title": "获取角色列表"
|
871
871
|
}
|
872
872
|
],
|
873
873
|
"DescribeSubscriptions": [
|
874
874
|
{
|
875
875
|
"document": "",
|
876
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSubscriptions\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"
|
877
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"SubscriptionSets\": [\n {\n \"EnvironmentId\": \"
|
876
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSubscriptions\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"devNamespace\",\n \"TopicName\": \"devTopic\",\n \"Offset\": 0,\n \"Limit\": 1,\n \"SubscriptionName\": \"devSub\",\n \"Filters\": [\n {\n \"ConsumerHasCount\": true,\n \"ConsumerHasBacklog\": true,\n \"ConsumerHasExpired\": true,\n \"SubscriptionNames\": [\n \"devSub\"\n ]\n }\n ],\n \"ClusterId\": \"pulsar-b843bz38z5mz\"\n}",
|
877
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"SubscriptionSets\": [\n {\n \"EnvironmentId\": \"devNamespace\",\n \"TopicName\": \"devTopic\",\n \"ConnectedSince\": \"2024-10-08 11:38:48\",\n \"ConsumerAddr\": \"127.0.0.1\",\n \"ConsumerCount\": \"6\",\n \"ConsumerName\": \"devName\",\n \"MsgBacklog\": \"1087\",\n \"MsgRateExpired\": \"0.0\",\n \"MsgRateOut\": \"0.0\",\n \"SubType\": null,\n \"MsgThroughputOut\": \"0.0\",\n \"SubscriptionName\": \"devSub\",\n \"BlockedSubscriptionOnUnackedMsgs\": true,\n \"MaxUnackedMsgNum\": 0,\n \"Remark\": \"devRemark\",\n \"CreateTime\": \"2020-09-18 14:32:41\",\n \"UpdateTime\": \"2021-01-13 15:23:35\",\n \"IsOnline\": true,\n \"ConsumerSets\": [\n {\n \"ConnectedSince\": \"2021-01-13T15:19:21.03+08:00\",\n \"ConsumerAddr\": \"/9.219.234.200:9056\",\n \"ConsumerName\": \"axjoy\",\n \"Partition\": 4,\n \"ClientVersion\": \"2.7.2\"\n },\n {\n \"ConnectedSince\": \"2021-01-13T15:22:20.197+08:00\",\n \"ConsumerAddr\": \"/9.219.234.202:6374\",\n \"ConsumerName\": \"dkhtb\",\n \"Partition\": 4,\n \"ClientVersion\": \"2.7.2\"\n },\n {\n \"ConnectedSince\": \"2021-01-13T15:22:50.282+08:00\",\n \"ConsumerAddr\": \"/9.219.237.139:57322\",\n \"ConsumerName\": \"ejbij\",\n \"Partition\": 4,\n \"ClientVersion\": \"2.7.2\"\n },\n {\n \"ConnectedSince\": \"2021-01-13T15:18:50.927+08:00\",\n \"ConsumerAddr\": \"/9.219.233.137:62564\",\n \"ConsumerName\": \"hijsf\",\n \"Partition\": 4,\n \"ClientVersion\": \"2.7.2\"\n },\n {\n \"ConnectedSince\": \"2021-01-13T15:21:50.227+08:00\",\n \"ConsumerAddr\": \"/9.219.234.202:11554\",\n \"ConsumerName\": \"nbcra\",\n \"Partition\": 4,\n \"ClientVersion\": \"2.7.2\"\n },\n {\n \"ConnectedSince\": \"2021-01-13T15:19:51.032+08:00\",\n \"ConsumerAddr\": \"/9.219.232.202:19345\",\n \"ConsumerName\": \"vjmts\",\n \"Partition\": 4,\n \"ClientVersion\": \"2.7.2\"\n }\n ],\n \"ConsumersScheduleSets\": [\n {\n \"NumberOfEntries\": 4642,\n \"Partitions\": 0,\n \"MsgBacklog\": 1087,\n \"MsgRateOut\": \"0.0\",\n \"MsgThroughputOut\": \"0.0\",\n \"MsgRateExpired\": \"0.0\"\n }\n ]\n }\n ],\n \"RequestId\": \"39ab02af-30c8-41d4-9ac4-46cb519ceac0\"\n }\n}",
|
878
878
|
"title": "消费订阅列表"
|
879
879
|
}
|
880
880
|
],
|
@@ -889,8 +889,8 @@
|
|
889
889
|
"DescribeTopics": [
|
890
890
|
{
|
891
891
|
"document": "获取环境下主题列表",
|
892
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopics\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"
|
893
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"
|
892
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopics\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"devNs\",\n \"TopicName\": \"devTopic\",\n \"Offset\": 1,\n \"Limit\": 1,\n \"TopicType\": 1,\n \"ClusterId\": \"pulsar-uahenidn\",\n \"TopicCreator\": 1\n}",
|
893
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"bee03397-31dd-4688-8fe0-81c691c3c1ae\",\n \"TopicSets\": [\n {\n \"PulsarTopicType\": 0,\n \"TopicType\": 1,\n \"ProducerCount\": \"1\",\n \"ConsumerLimit\": \"1000\",\n \"ConsumerCount\": \"200\",\n \"LastLedgerCreatedTimestamp\": \"14578964532\",\n \"MsgThroughputIn\": \"24\",\n \"UpdateTime\": \"2020-09-22 00:00:00\",\n \"AverageMsgSize\": \"20\",\n \"Partitions\": 1,\n \"Remark\": \"devRemark\",\n \"LastConfirmedEntry\": \"23\",\n \"TotalSize\": \"1\",\n \"NumberOfEntries\": \"12\",\n \"MsgRateOut\": \"10\",\n \"ProducerLimit\": \"10\",\n \"EnvironmentId\": \"devNs\",\n \"TopicName\": \"devTopic\",\n \"MsgRateIn\": \"12\",\n \"MsgThroughputOut\": \"100\",\n \"SubTopicSets\": [\n {\n \"TopicType\": 1,\n \"ProducerCount\": \"1\",\n \"LastConfirmedEntry\": \"100\",\n \"TotalSize\": \"1\",\n \"NumberOfEntries\": \"100\",\n \"ConsumerCount\": \"1\",\n \"MsgRateOut\": \"100\",\n \"AverageMsgSize\": \"1\",\n \"MsgThroughputIn\": \"100\",\n \"MsgRateIn\": \"100\",\n \"Partitions\": 0,\n \"LastLedgerCreatedTimestamp\": \"124567885324\",\n \"MsgThroughputOut\": \"100\"\n }\n ],\n \"CreateTime\": \"2020-09-22 00:00:00\"\n }\n ]\n }\n}",
|
894
894
|
"title": "获取环境下主题列表"
|
895
895
|
}
|
896
896
|
],
|
@@ -934,8 +934,8 @@
|
|
934
934
|
],
|
935
935
|
"ModifyCluster": [
|
936
936
|
{
|
937
|
-
"document": "",
|
938
|
-
"input": "https://tdmq.tencentcloudapi.com/?Action=ModifyCluster\n&ClusterId=pulsar-
|
937
|
+
"document": "更新集群信息",
|
938
|
+
"input": "https://tdmq.tencentcloudapi.com/?Action=ModifyCluster\n&ClusterId=pulsar-5r59xd4vnx\n&Remark=devRemark\n&<公共请求参数>",
|
939
939
|
"output": "{\n \"Response\": {\n \"ClusterId\": \"pulsar-5r59xd4vnx\",\n \"RequestId\": \"b84bf1d8-2794-4c20-a50f-02b7a4698814\"\n }\n}",
|
940
940
|
"title": "更新集群信息"
|
941
941
|
}
|
@@ -967,15 +967,15 @@
|
|
967
967
|
"ModifyEnvironmentAttributes": [
|
968
968
|
{
|
969
969
|
"document": "修改指定命名空间的属性值",
|
970
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyEnvironmentAttributes\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"
|
971
|
-
"output": "{\n \"Response\": {\n \"EnvironmentId\": \"
|
970
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyEnvironmentAttributes\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"devNs\",\n \"MsgTTL\": \"100\",\n \"ClusterId\": \"pulsar-5r59xd4vnx\"\n}",
|
971
|
+
"output": "{\n \"Response\": {\n \"EnvironmentId\": \"devNs\",\n \"NamespaceId\": \"namespace-5r59xen74x\",\n \"MsgTTL\": 100,\n \"Remark\": \"devRemark\",\n \"RequestId\": \"7db00a30-933c-4f6f-bba9-79cdf6be7d8c\"\n }\n}",
|
972
972
|
"title": "修改指定命名空间的属性值"
|
973
973
|
}
|
974
974
|
],
|
975
975
|
"ModifyEnvironmentRole": [
|
976
976
|
{
|
977
977
|
"document": "",
|
978
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyEnvironmentRole\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"default\",\n \"RoleName\": \"test_role\",\n \"Permissions\": [\n \"
|
978
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyEnvironmentRole\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"default\",\n \"RoleName\": \"test_role\",\n \"Permissions\": [\n \"produce\"\n ],\n \"ClusterId\": \"pulsar-xk3ne8k2qkp8\"\n}",
|
979
979
|
"output": "{\n \"Response\": {\n \"RequestId\": \"20846f8d-6438-4cd9-a2a4-09d5f4e8f0db\"\n }\n}",
|
980
980
|
"title": "修改环境角色授权"
|
981
981
|
}
|
@@ -983,24 +983,24 @@
|
|
983
983
|
"ModifyPublicNetworkAccessPoint": [
|
984
984
|
{
|
985
985
|
"document": "",
|
986
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyPublicNetworkAccessPoint\n<公共请求参数>\n\n{\n \"ClusterId\": \"amqp-
|
987
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
986
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyPublicNetworkAccessPoint\n<公共请求参数>\n\n{\n \"ClusterId\": \"amqp-jero744g\",\n \"PublicNetworkAccessPointStatus\": true,\n \"SwitchOwner\": \"Public\",\n \"VpcId\": \"vpc-d\",\n \"SubnetId\": \"subnet-67y9wil4\",\n \"SelectIp\": \"10.1.0.1\"\n}",
|
987
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a8f28d5e-a7e2-4b0b-afa0-2fba09c077a0\",\n \"ModifyResult\": \"修改成功\"\n }\n}",
|
988
988
|
"title": "RabbitMQ专享版修改公网管控台,数据流开关"
|
989
989
|
}
|
990
990
|
],
|
991
991
|
"ModifyRabbitMQUser": [
|
992
992
|
{
|
993
993
|
"document": "-",
|
994
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRabbitMQUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-
|
995
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
994
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRabbitMQUser\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-test\",\n \"User\": \"test_user\",\n \"Password\": \"123Tencent\"\n}",
|
995
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a8f28d5e-a7e2-4b0b-afa0-2fba09c077a0\"\n }\n}",
|
996
996
|
"title": "修改RabbitMQ用户"
|
997
997
|
}
|
998
998
|
],
|
999
999
|
"ModifyRabbitMQVipInstance": [
|
1000
1000
|
{
|
1001
1001
|
"document": "修改RabbitMQ专享版实例",
|
1002
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRabbitMQVipInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-
|
1003
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1002
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRabbitMQVipInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-jero744g\",\n \"Remark\": \"生产使用集群\"\n}",
|
1003
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a8f28d5e-a7e2-4b0b-afa0-2fba09c077a0\",\n \"InstanceId\": \"amqp-jero744g\"\n }\n}",
|
1004
1004
|
"title": "修改RabbitMQ专享版实例"
|
1005
1005
|
}
|
1006
1006
|
],
|
@@ -1008,7 +1008,7 @@
|
|
1008
1008
|
{
|
1009
1009
|
"document": "-",
|
1010
1010
|
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRabbitMQVirtualHost\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-44w9928j\",\n \"VirtualHost\": \"testVhost\",\n \"Description\": \"hello\"\n}",
|
1011
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1011
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a8f28d5e-a7e2-4b0b-afa0-2fba09c077a0\"\n }\n}",
|
1012
1012
|
"title": "修改RabbitMQ的vhost"
|
1013
1013
|
}
|
1014
1014
|
],
|
@@ -1079,15 +1079,15 @@
|
|
1079
1079
|
"ModifyRole": [
|
1080
1080
|
{
|
1081
1081
|
"document": "更新角色",
|
1082
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRole\n<公共请求参数>\n\n{\n \"RoleName\": \"
|
1083
|
-
"output": "{\n \"Response\": {\n \"RoleName\": \"
|
1082
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRole\n<公共请求参数>\n\n{\n \"RoleName\": \"role1\",\n \"Remark\": \"remarkDemo\",\n \"ClusterId\": \"pulsar-xk3ne8k2qkp8\",\n \"EnvironmentRoleSets\": [\n {\n \"EnvironmentId\": \"devNs\",\n \"Permissions\": [\n \"produce\"\n ]\n }\n ],\n \"UnbindAllEnvironment\": true\n}",
|
1083
|
+
"output": "{\n \"Response\": {\n \"RoleName\": \"role1\",\n \"Remark\": \"remarkDemo\",\n \"RequestId\": \"1004f1de-6fb8-41d5-965e-3aae8c87183a\"\n }\n}",
|
1084
1084
|
"title": "更新角色"
|
1085
1085
|
}
|
1086
1086
|
],
|
1087
1087
|
"ModifyTopic": [
|
1088
1088
|
{
|
1089
1089
|
"document": "",
|
1090
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyTopic\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"
|
1090
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyTopic\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"devNs\",\n \"TopicName\": \"devTopic\",\n \"Partitions\": 1,\n \"Remark\": \"devTest\",\n \"ClusterId\": \"pulsar-5r59xd4vnx\",\n \"MsgTTL\": 1\n}",
|
1091
1091
|
"output": "{\n \"Response\": {\n \"Partitions\": 3,\n \"Remark\": \"修改分区为3\",\n \"RequestId\": \"c276a96f-1612-47ad-9562-da06d4fdf1ed\"\n }\n}",
|
1092
1092
|
"title": "修改主题属性"
|
1093
1093
|
}
|
@@ -1104,14 +1104,14 @@
|
|
1104
1104
|
{
|
1105
1105
|
"document": "",
|
1106
1106
|
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ReceiveMessage\n<公共请求参数>\n\n{\n \"Topic\": \"tenant/namespace/topic\",\n \"SubscriptionName\": \"\\\"test-sub\\\"\"\n}",
|
1107
|
-
"output": "{\n \"Response\": {\n \"MessageID\": \"
|
1107
|
+
"output": "{\n \"Response\": {\n \"MessageID\": \"931087:81:0\",\n \"MessagePayload\": \"msg send\",\n \"AckTopic\": \"tenant/namespace/topic\",\n \"ErrorMsg\": \"success\",\n \"SubName\": \"test-sub\",\n \"MessageIDList\": \"931087:81:0\",\n \"MessagesPayload\": \"msg send\",\n \"RequestId\": \"bee03397-31dd-4688-8fe0-81c691c3c1ae\"\n }\n}",
|
1108
1108
|
"title": "接收消息"
|
1109
1109
|
}
|
1110
1110
|
],
|
1111
1111
|
"ResetMsgSubOffsetByTimestamp": [
|
1112
1112
|
{
|
1113
|
-
"document": "
|
1114
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetMsgSubOffsetByTimestamp\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"
|
1113
|
+
"document": "",
|
1114
|
+
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetMsgSubOffsetByTimestamp\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"devNs\",\n \"TopicName\": \"devTopic\",\n \"Subscription\": \"devSub\",\n \"ToTimestamp\": 1730690396152,\n \"ClusterId\": \"pulsar-pnvjp9mbd947\"\n}",
|
1115
1115
|
"output": "{\n \"Response\": {\n \"Result\": true,\n \"RequestId\": \"3593f784-fcfb-4f23-b3dd-4751cba3aec7\"\n }\n}",
|
1116
1116
|
"title": "回溯消息"
|
1117
1117
|
}
|
@@ -1136,7 +1136,7 @@
|
|
1136
1136
|
{
|
1137
1137
|
"document": "",
|
1138
1138
|
"input": "https://tdmq.tencentcloudapi.com/?Action=SendBatchMessages\n&Topic=tenant/namespace/topic\n&Payload=\"hello TDMQ\"\n&<公共请求参数>",
|
1139
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"36713f94-d07d-4b96-babf-42d139276f23\",\n \"
|
1139
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"36713f94-d07d-4b96-babf-42d139276f23\",\n \"ErrorMsg\": \"success\",\n \"MessageId\": \"71:12:0:0\"\n }\n}",
|
1140
1140
|
"title": "成功发送多条消息"
|
1141
1141
|
}
|
1142
1142
|
],
|
@@ -1152,14 +1152,14 @@
|
|
1152
1152
|
{
|
1153
1153
|
"document": "成功发送单条消息\n不支持非持久化topic",
|
1154
1154
|
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SendMessages\n<公共请求参数>\n\n{\n \"Topic\": \"tenant/namespace/topic\",\n \"Payload\": \"\\\"hello TDMQ\\\"\"\n}",
|
1155
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"36713f94-d07d-4b96-babf-42d139276f23\",\n \"MessageId\": \"71:11:0:0\",\n \"ErrorMsg\": \"\"\n }\n}",
|
1155
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"36713f94-d07d-4b96-babf-42d139276f23\",\n \"MessageId\": \"71:11:0:0\",\n \"ErrorMsg\": \"success\"\n }\n}",
|
1156
1156
|
"title": "成功发送单条消息"
|
1157
1157
|
}
|
1158
1158
|
],
|
1159
1159
|
"SendMsg": [
|
1160
1160
|
{
|
1161
1161
|
"document": "",
|
1162
|
-
"input": "https://tdmq.tencentcloudapi.com/?Action=SendMsg\n&EnvironmentId=
|
1162
|
+
"input": "https://tdmq.tencentcloudapi.com/?Action=SendMsg\n&EnvironmentId=userNamespace\n&TopicName=cloud_test\n&MsgContent=one_msg\n&<公共请求参数>",
|
1163
1163
|
"output": "{\n \"Response\": {\n \"RequestId\": \"3593f784-fcfb-4f23-b3dd-4751cba3aec7\"\n }\n}",
|
1164
1164
|
"title": "发送一个消息"
|
1165
1165
|
}
|