tccli 3.0.1146.1__py2.py3-none-any.whl → 3.0.1148.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/aiart/aiart_client.py +53 -0
- tccli/services/aiart/v20221229/api.json +82 -2
- tccli/services/aiart/v20221229/examples.json +12 -4
- tccli/services/asr/v20190614/api.json +6 -6
- tccli/services/cdb/v20170320/api.json +14 -10
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/clb/v20180317/api.json +1 -1
- tccli/services/dcdb/v20180411/api.json +2 -0
- tccli/services/dnspod/v20210323/api.json +9 -0
- tccli/services/goosefs/v20220519/api.json +92 -12
- tccli/services/iotexplorer/v20190423/api.json +1 -1
- tccli/services/ivld/ivld_client.py +163 -4
- tccli/services/ivld/v20210903/api.json +443 -0
- tccli/services/ivld/v20210903/examples.json +24 -0
- tccli/services/lighthouse/v20200324/api.json +33 -31
- tccli/services/lighthouse/v20200324/examples.json +3 -3
- tccli/services/live/v20180801/api.json +7 -5
- tccli/services/lke/lke_client.py +53 -0
- tccli/services/lke/v20231130/api.json +160 -1
- tccli/services/lke/v20231130/examples.json +10 -2
- tccli/services/mna/mna_client.py +485 -8
- tccli/services/mna/v20210119/api.json +743 -21
- tccli/services/mna/v20210119/examples.json +72 -0
- tccli/services/mps/v20190612/api.json +31 -10
- tccli/services/postgres/v20170312/api.json +7 -7
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/tdcpg/v20211118/api.json +4 -4
- tccli/services/tdcpg/v20211118/examples.json +2 -2
- tccli/services/tdmq/v20200217/api.json +8 -8
- tccli/services/tdmq/v20200217/examples.json +1 -1
- tccli/services/tke/v20180525/api.json +3 -3
- tccli/services/trtc/trtc_client.py +163 -4
- tccli/services/trtc/v20190722/api.json +311 -0
- tccli/services/trtc/v20190722/examples.json +24 -0
- tccli/services/tse/v20201207/api.json +19 -0
- tccli/services/tsf/tsf_client.py +110 -4
- tccli/services/tsf/v20180326/api.json +142 -0
- tccli/services/tsf/v20180326/examples.json +16 -0
- tccli/services/vpc/v20170312/api.json +144 -26
- tccli/services/vpc/v20170312/examples.json +10 -2
- tccli/services/vpc/vpc_client.py +69 -16
- tccli/services/waf/v20180125/api.json +2 -2
- {tccli-3.0.1146.1.dist-info → tccli-3.0.1148.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1146.1.dist-info → tccli-3.0.1148.1.dist-info}/RECORD +48 -48
- {tccli-3.0.1146.1.dist-info → tccli-3.0.1148.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1146.1.dist-info → tccli-3.0.1148.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1146.1.dist-info → tccli-3.0.1148.1.dist-info}/license_files/LICENSE +0 -0
@@ -16,6 +16,14 @@
|
|
16
16
|
"title": "新建设备"
|
17
17
|
}
|
18
18
|
],
|
19
|
+
"AddGroup": [
|
20
|
+
{
|
21
|
+
"document": "",
|
22
|
+
"input": "POST / HTTP/1.1\nHost: mna.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddGroup\n<公共请求参数>\n\n{\n \"GroupName\": \"xxx\",\n \"Description\": \"xxx\"\n}",
|
23
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"xxx\",\n \"GroupId\": \"1a2b3c4d5e\"\n }\n}",
|
24
|
+
"title": "示例1"
|
25
|
+
}
|
26
|
+
],
|
19
27
|
"AddHardware": [
|
20
28
|
{
|
21
29
|
"document": "批量新建硬件设备",
|
@@ -48,6 +56,14 @@
|
|
48
56
|
"title": "删除设备接口"
|
49
57
|
}
|
50
58
|
],
|
59
|
+
"DeleteGroup": [
|
60
|
+
{
|
61
|
+
"document": "",
|
62
|
+
"input": "POST / HTTP/1.1\nHost: mna.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteGroup\n<公共请求参数>\n\n{\n \"GroupId\": \"xxx\"\n}",
|
63
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"xxx\"\n }\n}",
|
64
|
+
"title": "示例1"
|
65
|
+
}
|
66
|
+
],
|
51
67
|
"DeleteQos": [
|
52
68
|
{
|
53
69
|
"document": "",
|
@@ -126,6 +142,30 @@
|
|
126
142
|
"title": "根据分组获取用量统计信息"
|
127
143
|
}
|
128
144
|
],
|
145
|
+
"GetFlowStatisticByRegion": [
|
146
|
+
{
|
147
|
+
"document": "",
|
148
|
+
"input": "POST / HTTP/1.1\nHost: mna.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetFlowStatisticByRegion\n<公共请求参数>\n\n{\n \"BeginTime\": 0,\n \"EndTime\": 0,\n \"Type\": 0,\n \"TimeGranularity\": 0,\n \"AccessRegion\": \"MC\",\n \"GatewayType\": 0\n}",
|
149
|
+
"output": "{\n \"Response\": {\n \"NetDetails\": [\n {\n \"Current\": 0,\n \"Time\": \"abc\"\n }\n ],\n \"MaxValue\": 0,\n \"AvgValue\": 0,\n \"TotalValue\": 0,\n \"RequestId\": \"abc\"\n }\n}",
|
150
|
+
"title": "正常场景"
|
151
|
+
}
|
152
|
+
],
|
153
|
+
"GetGroupDetail": [
|
154
|
+
{
|
155
|
+
"document": "",
|
156
|
+
"input": "POST / HTTP/1.1\nHost: mna.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetGroupDetail\n<公共请求参数>\n\n{\n \"GroupId\": \"xxx\",\n \"PageSize\": \"10\",\n \"PageNumber\": \"1\"\n}",
|
157
|
+
"output": "{\n \"Response\": {\n \"GroupInfo\": {\n \"GroupId\": \"abc\",\n \"GroupName\": \"abc\",\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"Description\": \"abc\",\n \"DeviceNum\": 0\n },\n \"DeviceInfos\": [\n {\n \"DeviceId\": \"abc\",\n \"DeviceName\": \"abc\",\n \"CreateTime\": \"abc\",\n \"LastTime\": \"abc\",\n \"Remark\": \"abc\",\n \"AccessScope\": 0,\n \"LicensePayMode\": 0,\n \"Payer\": 0,\n \"GroupId\": \"abc\",\n \"GroupName\": \"abc\"\n }\n ],\n \"Length\": 0,\n \"TotalPage\": 0,\n \"RequestId\": \"abc\"\n }\n}",
|
158
|
+
"title": "示例1"
|
159
|
+
}
|
160
|
+
],
|
161
|
+
"GetGroupList": [
|
162
|
+
{
|
163
|
+
"document": "",
|
164
|
+
"input": "POST / HTTP/1.1\nHost: mna.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetGroupList\n<公共请求参数>\n\n{\n \"PageSize\": \"10\",\n \"PageNumber\": \"1\",\n \"Keyword\": \"test\"\n}",
|
165
|
+
"output": "{\n \"Response\": {\n \"GroupInfos\": [\n {\n \"GroupId\": \"abc\",\n \"GroupName\": \"abc\",\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"Description\": \"abc\",\n \"DeviceNum\": 5\n }\n ],\n \"Length\": 0,\n \"TotalPage\": 0,\n \"RequestId\": \"abc\"\n }\n}",
|
166
|
+
"title": "示例1"
|
167
|
+
}
|
168
|
+
],
|
129
169
|
"GetHardwareList": [
|
130
170
|
{
|
131
171
|
"document": "硬件信息列表",
|
@@ -186,6 +226,22 @@
|
|
186
226
|
"title": "获取厂商设备列表"
|
187
227
|
}
|
188
228
|
],
|
229
|
+
"GroupAddDevice": [
|
230
|
+
{
|
231
|
+
"document": "",
|
232
|
+
"input": "POST / HTTP/1.1\nHost: mna.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GroupAddDevice\n<公共请求参数>\n\n{\n \"DeviceList\": [\n \"mna-test1\",\n \"mna-test2\"\n ],\n \"GroupId\": \"xxx\"\n}",
|
233
|
+
"output": "{\n \"Response\": {\n \"DeviceNum\": 5,\n \"RequestId\": \"abc\"\n }\n}",
|
234
|
+
"title": "示例1"
|
235
|
+
}
|
236
|
+
],
|
237
|
+
"GroupDeleteDevice": [
|
238
|
+
{
|
239
|
+
"document": "",
|
240
|
+
"input": "POST / HTTP/1.1\nHost: mna.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GroupDeleteDevice\n<公共请求参数>\n\n{\n \"DeviceList\": [\n \"mna-test1\",\n \"mna-test2\"\n ],\n \"GroupId\": \"xxx\"\n}",
|
241
|
+
"output": "{\n \"Response\": {\n \"DeviceNum\": 5,\n \"RequestId\": \"abc\"\n }\n}",
|
242
|
+
"title": "示例1"
|
243
|
+
}
|
244
|
+
],
|
189
245
|
"ModifyPackageRenewFlag": [
|
190
246
|
{
|
191
247
|
"document": "",
|
@@ -202,6 +258,14 @@
|
|
202
258
|
"title": "示例1"
|
203
259
|
}
|
204
260
|
],
|
261
|
+
"SetNotifyUrl": [
|
262
|
+
{
|
263
|
+
"document": "",
|
264
|
+
"input": "POST / HTTP/1.1\nHost: mna.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetNotifyUrl\n<公共请求参数>\n\n{\n \"AlarmValue\": 20,\n \"NotifyUrl\": \"http://ip:port/callurl\",\n \"CallbackKey\": \"xd23y5cb89bx23432\"\n}",
|
265
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1206563f-f13f-4647-aaa8-37fa86954cc4-1\"\n }\n}",
|
266
|
+
"title": "示例1"
|
267
|
+
}
|
268
|
+
],
|
205
269
|
"UpdateDevice": [
|
206
270
|
{
|
207
271
|
"document": "更新设备",
|
@@ -210,6 +274,14 @@
|
|
210
274
|
"title": "更新设备"
|
211
275
|
}
|
212
276
|
],
|
277
|
+
"UpdateGroup": [
|
278
|
+
{
|
279
|
+
"document": "",
|
280
|
+
"input": "POST / HTTP/1.1\nHost: mna.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateGroup\n<公共请求参数>\n\n{\n \"GroupId\": \"xxx\",\n \"Description\": \"xxx\"\n}",
|
281
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"xxx\"\n }\n}",
|
282
|
+
"title": "示例1"
|
283
|
+
}
|
284
|
+
],
|
213
285
|
"UpdateHardware": [
|
214
286
|
{
|
215
287
|
"document": "更新硬件信息",
|
@@ -17044,52 +17044,62 @@
|
|
17044
17044
|
{
|
17045
17045
|
"disabled": false,
|
17046
17046
|
"document": "识别的物体名称。",
|
17047
|
-
"example": "",
|
17047
|
+
"example": "无",
|
17048
17048
|
"member": "string",
|
17049
17049
|
"name": "Name",
|
17050
|
-
"
|
17050
|
+
"output_required": true,
|
17051
17051
|
"type": "string",
|
17052
17052
|
"value_allowed_null": false
|
17053
17053
|
},
|
17054
17054
|
{
|
17055
17055
|
"disabled": false,
|
17056
17056
|
"document": "识别片段起始的 PTS 时间,单位:秒。",
|
17057
|
-
"example": "",
|
17057
|
+
"example": "无",
|
17058
17058
|
"member": "float",
|
17059
17059
|
"name": "StartPtsOffset",
|
17060
|
-
"
|
17060
|
+
"output_required": true,
|
17061
17061
|
"type": "float",
|
17062
17062
|
"value_allowed_null": false
|
17063
17063
|
},
|
17064
17064
|
{
|
17065
17065
|
"disabled": false,
|
17066
17066
|
"document": "识别片段终止的 PTS 时间,单位:秒。",
|
17067
|
-
"example": "",
|
17067
|
+
"example": "无",
|
17068
17068
|
"member": "float",
|
17069
17069
|
"name": "EndPtsOffset",
|
17070
|
-
"
|
17070
|
+
"output_required": true,
|
17071
17071
|
"type": "float",
|
17072
17072
|
"value_allowed_null": false
|
17073
17073
|
},
|
17074
17074
|
{
|
17075
17075
|
"disabled": false,
|
17076
17076
|
"document": "识别片段置信度。取值:0~100。",
|
17077
|
-
"example": "",
|
17077
|
+
"example": "无",
|
17078
17078
|
"member": "float",
|
17079
17079
|
"name": "Confidence",
|
17080
|
-
"
|
17080
|
+
"output_required": true,
|
17081
17081
|
"type": "float",
|
17082
17082
|
"value_allowed_null": false
|
17083
17083
|
},
|
17084
17084
|
{
|
17085
17085
|
"disabled": false,
|
17086
17086
|
"document": "识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。",
|
17087
|
-
"example": "",
|
17087
|
+
"example": "无",
|
17088
17088
|
"member": "int64",
|
17089
17089
|
"name": "AreaCoordSet",
|
17090
|
-
"
|
17090
|
+
"output_required": true,
|
17091
17091
|
"type": "list",
|
17092
17092
|
"value_allowed_null": false
|
17093
|
+
},
|
17094
|
+
{
|
17095
|
+
"disabled": false,
|
17096
|
+
"document": "截图链接。\n注意:此字段可能返回 null,表示取不到有效值。",
|
17097
|
+
"example": "无",
|
17098
|
+
"member": "string",
|
17099
|
+
"name": "Url",
|
17100
|
+
"output_required": false,
|
17101
|
+
"type": "string",
|
17102
|
+
"value_allowed_null": true
|
17093
17103
|
}
|
17094
17104
|
],
|
17095
17105
|
"usage": "out"
|
@@ -17428,6 +17438,17 @@
|
|
17428
17438
|
"required": false,
|
17429
17439
|
"type": "string",
|
17430
17440
|
"value_allowed_null": false
|
17441
|
+
},
|
17442
|
+
{
|
17443
|
+
"disabled": false,
|
17444
|
+
"document": "用于生成回调签名的 Key。\n注意:此字段可能返回 null,表示取不到有效值。",
|
17445
|
+
"example": "无",
|
17446
|
+
"member": "string",
|
17447
|
+
"name": "NotifyKey",
|
17448
|
+
"output_required": false,
|
17449
|
+
"required": false,
|
17450
|
+
"type": "string",
|
17451
|
+
"value_allowed_null": true
|
17431
17452
|
}
|
17432
17453
|
],
|
17433
17454
|
"usage": "both"
|
@@ -651,7 +651,7 @@
|
|
651
651
|
{
|
652
652
|
"disabled": false,
|
653
653
|
"document": "实例ID,形如postgres-lnp6j617",
|
654
|
-
"example": "
|
654
|
+
"example": "postgres-lnp6j617",
|
655
655
|
"member": "string",
|
656
656
|
"name": "DBInstanceId",
|
657
657
|
"output_required": true,
|
@@ -661,7 +661,7 @@
|
|
661
661
|
{
|
662
662
|
"disabled": false,
|
663
663
|
"document": "账号",
|
664
|
-
"example": "
|
664
|
+
"example": "test_user",
|
665
665
|
"member": "string",
|
666
666
|
"name": "UserName",
|
667
667
|
"output_required": true,
|
@@ -671,7 +671,7 @@
|
|
671
671
|
{
|
672
672
|
"disabled": false,
|
673
673
|
"document": "账号备注",
|
674
|
-
"example": "
|
674
|
+
"example": "remark",
|
675
675
|
"member": "string",
|
676
676
|
"name": "Remark",
|
677
677
|
"output_required": true,
|
@@ -681,7 +681,7 @@
|
|
681
681
|
{
|
682
682
|
"disabled": false,
|
683
683
|
"document": "账号状态。 1-创建中,2-正常,3-修改中,4-密码重置中,5-锁定中,-1-删除中",
|
684
|
-
"example": "
|
684
|
+
"example": "2",
|
685
685
|
"member": "int64",
|
686
686
|
"name": "Status",
|
687
687
|
"output_required": true,
|
@@ -691,7 +691,7 @@
|
|
691
691
|
{
|
692
692
|
"disabled": false,
|
693
693
|
"document": "账号创建时间",
|
694
|
-
"example": "
|
694
|
+
"example": "2024-06-06 21:00:12",
|
695
695
|
"member": "datetime",
|
696
696
|
"name": "CreateTime",
|
697
697
|
"output_required": true,
|
@@ -701,7 +701,7 @@
|
|
701
701
|
{
|
702
702
|
"disabled": false,
|
703
703
|
"document": "账号最后一次更新时间",
|
704
|
-
"example": "
|
704
|
+
"example": "2024-06-06 22:00:12",
|
705
705
|
"member": "datetime",
|
706
706
|
"name": "UpdateTime",
|
707
707
|
"output_required": true,
|
@@ -711,7 +711,7 @@
|
|
711
711
|
{
|
712
712
|
"disabled": false,
|
713
713
|
"document": "账号类型",
|
714
|
-
"example": "
|
714
|
+
"example": "normal",
|
715
715
|
"member": "string",
|
716
716
|
"name": "UserType",
|
717
717
|
"output_required": false,
|
@@ -5171,6 +5171,15 @@
|
|
5171
5171
|
"name": "FileType",
|
5172
5172
|
"required": false,
|
5173
5173
|
"type": "int"
|
5174
|
+
},
|
5175
|
+
{
|
5176
|
+
"disabled": false,
|
5177
|
+
"document": "获取临时签名的bucket是国内站还是国际站(1表示国际站,其它表示国内站)",
|
5178
|
+
"example": "0",
|
5179
|
+
"member": "int64",
|
5180
|
+
"name": "Site",
|
5181
|
+
"required": false,
|
5182
|
+
"type": "int"
|
5174
5183
|
}
|
5175
5184
|
],
|
5176
5185
|
"type": "object"
|
@@ -1292,7 +1292,7 @@
|
|
1292
1292
|
"example": "100",
|
1293
1293
|
"member": "uint64",
|
1294
1294
|
"name": "TotalCount",
|
1295
|
-
"
|
1295
|
+
"output_required": true,
|
1296
1296
|
"type": "int",
|
1297
1297
|
"value_allowed_null": false
|
1298
1298
|
},
|
@@ -1302,7 +1302,7 @@
|
|
1302
1302
|
"example": "[]",
|
1303
1303
|
"member": "Instance",
|
1304
1304
|
"name": "InstanceSet",
|
1305
|
-
"
|
1305
|
+
"output_required": true,
|
1306
1306
|
"type": "list",
|
1307
1307
|
"value_allowed_null": false
|
1308
1308
|
},
|
@@ -1421,7 +1421,7 @@
|
|
1421
1421
|
"example": "100",
|
1422
1422
|
"member": "int64",
|
1423
1423
|
"name": "TotalCount",
|
1424
|
-
"
|
1424
|
+
"output_required": true,
|
1425
1425
|
"type": "int",
|
1426
1426
|
"value_allowed_null": false
|
1427
1427
|
},
|
@@ -1431,7 +1431,7 @@
|
|
1431
1431
|
"example": "[]",
|
1432
1432
|
"member": "Cluster",
|
1433
1433
|
"name": "ClusterSet",
|
1434
|
-
"
|
1434
|
+
"output_required": true,
|
1435
1435
|
"type": "list",
|
1436
1436
|
"value_allowed_null": false
|
1437
1437
|
},
|
@@ -68,7 +68,7 @@
|
|
68
68
|
{
|
69
69
|
"document": "",
|
70
70
|
"input": "POST / HTTP/1.1\nHost: tdcpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterInstances\n<公共请求参数>\n\n{\n \"ClusterId\": \"tdcpg-77iesdqa\",\n \"OrderBy\": \"CreateTime\",\n \"OrderByType\": \"DESC\",\n \"PageNumber\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"tdcpg-ins-6c6xs52r\"\n ],\n \"Name\": \"InstanceId\",\n \"ExactMatch\": true\n }\n ],\n \"PageSize\": 10\n}",
|
71
|
-
"output": "{\n \"Response\": {\n \"InstanceSet\": [\n {\n \"CPU\": 1,\n \"ClusterId\": \"tdcpg-77iesdqa\",\n \"CreateTime\": \"2021-12-08T19:50:56+08:00\",\n \"DBVersion\": \"10.17\",\n \"EndpointId\": \"tdcpg-ep-6c6xs52r\",\n \"InstanceId\": \"tdcpg-ins-pzu77n6e\",\n \"InstanceName\": \"tdcpg-ins-pzu77n6e\",\n \"InstanceType\": \"RW\",\n \"Memory\": 1,\n \"PayMode\": \"PREPAID\",\n \"PayPeriodEndTime\": \"2022-01-08T19:50:54+08:00\",\n \"Region\": \"ap-guangzhou\",\n \"Status\": \"running\",\n \"StatusDesc\": \"运行中\",\n \"Zone\": \"ap-guangzhou-2\"\n }\n ],\n \"RequestId\": \"e0ef1b06-405f-48cc-863f-185dbb6eb037\",\n \"TotalCount\": 1\n }\n}",
|
71
|
+
"output": "{\n \"Response\": {\n \"InstanceSet\": [\n {\n \"CPU\": 1,\n \"ClusterId\": \"tdcpg-77iesdqa\",\n \"CreateTime\": \"2021-12-08T19:50:56+08:00\",\n \"DBVersion\": \"10.17\",\n \"DBKernelVersion\": \"v10.17_r1.1\",\n \"DBMajorVersion\": \"10\",\n \"EndpointId\": \"tdcpg-ep-6c6xs52r\",\n \"InstanceId\": \"tdcpg-ins-pzu77n6e\",\n \"InstanceName\": \"tdcpg-ins-pzu77n6e\",\n \"InstanceType\": \"RW\",\n \"Memory\": 1,\n \"PayMode\": \"PREPAID\",\n \"PayPeriodEndTime\": \"2022-01-08T19:50:54+08:00\",\n \"Region\": \"ap-guangzhou\",\n \"Status\": \"running\",\n \"StatusDesc\": \"运行中\",\n \"Zone\": \"ap-guangzhou-2\"\n }\n ],\n \"RequestId\": \"e0ef1b06-405f-48cc-863f-185dbb6eb037\",\n \"TotalCount\": 1\n }\n}",
|
72
72
|
"title": "查询实例"
|
73
73
|
}
|
74
74
|
],
|
@@ -84,7 +84,7 @@
|
|
84
84
|
{
|
85
85
|
"document": "",
|
86
86
|
"input": "POST / HTTP/1.1\nHost: tdcpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusters\n<公共请求参数>\n\n{\n \"OrderBy\": \"CreateTime\",\n \"OrderByType\": \"DESC\",\n \"PageNumber\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"tdcpg-77iesdqa\"\n ],\n \"Name\": \"ClusterId\",\n \"ExactMatch\": true\n }\n ],\n \"PageSize\": 10\n}",
|
87
|
-
"output": "{\n \"Response\": {\n \"ClusterSet\": [\n {\n \"AutoRenewFlag\": 0,\n \"ClusterId\": \"tdcpg-77iesdqa\",\n \"ClusterName\": \"tdcpg-77iesdqa\",\n \"CreateTime\": \"2021-12-08T19:50:55+08:00\",\n \"DBCharset\": \"UTF8\",\n \"DBMajorVersion\": \"10\",\n \"DBVersion\": \"10.17\",\n \"DBKernelVersion\": \"v10.17_r1.4\",\n \"EndpointSet\": [\n {\n \"ClusterId\": \"tdcpg-77iesdqa\",\n \"EndpointId\": \"tdcpg-ep-6c6xs52r\",\n \"EndpointName\": \"tdcpg-ep-6c6xs52r\",\n \"EndpointType\": \"RW\",\n \"PrivateIp\": \"10.0.64.20\",\n \"PrivatePort\": 5432,\n \"SubnetId\": \"subnet-5wnhtsmw\",\n \"VpcId\": \"vpc-l0ee2prd\",\n \"WanDomain\": \"\",\n \"WanIp\": \"\",\n \"WanPort\": 0\n },\n {\n \"ClusterId\": \"tdcpg-77iesdqa\",\n \"EndpointId\": \"tdcpg-ep-ffscxj6f\",\n \"EndpointName\": \"tdcpg-ep-ffscxj6f\",\n \"EndpointType\": \"RO\",\n \"PrivateIp\": \"10.0.64.24\",\n \"PrivatePort\": 5432,\n \"SubnetId\": \"subnet-5wnhtsmw\",\n \"VpcId\": \"vpc-l0ee2prd\",\n \"WanDomain\": \"\",\n \"WanIp\": \"\",\n \"WanPort\": 0\n }\n ],\n \"InstanceCount\": 2,\n \"PayMode\": \"PREPAID\",\n \"PayPeriodEndTime\": \"2022-01-08T19:50:54+08:00\",\n \"ProjectId\": 0,\n \"Region\": \"ap-guangzhou\",\n \"Status\": \"running\",\n \"StatusDesc\": \"运行中\",\n \"StorageLimit\": 2048,\n \"StorageUsed\": 0.14,\n \"Zone\": \"ap-guangzhou-3\"\n }\n ],\n \"RequestId\": \"c644d6ec-0743-4ba3-916a-e30c5a00ada1\",\n \"TotalCount\": 1\n }\n}",
|
87
|
+
"output": "{\n \"Response\": {\n \"ClusterSet\": [\n {\n \"AutoRenewFlag\": 0,\n \"ClusterId\": \"tdcpg-77iesdqa\",\n \"ClusterName\": \"tdcpg-77iesdqa\",\n \"CreateTime\": \"2021-12-08T19:50:55+08:00\",\n \"DBCharset\": \"UTF8\",\n \"DBMajorVersion\": \"10\",\n \"DBVersion\": \"10.17\",\n \"DBKernelVersion\": \"v10.17_r1.4\",\n \"EndpointSet\": [\n {\n \"ClusterId\": \"tdcpg-77iesdqa\",\n \"EndpointId\": \"tdcpg-ep-6c6xs52r\",\n \"EndpointName\": \"tdcpg-ep-6c6xs52r\",\n \"EndpointType\": \"RW\",\n \"PrivateIp\": \"10.0.64.20\",\n \"PrivatePort\": 5432,\n \"SubnetId\": \"subnet-5wnhtsmw\",\n \"VpcId\": \"vpc-l0ee2prd\",\n \"WanDomain\": \"\",\n \"WanIp\": \"\",\n \"WanPort\": 0\n },\n {\n \"ClusterId\": \"tdcpg-77iesdqa\",\n \"EndpointId\": \"tdcpg-ep-ffscxj6f\",\n \"EndpointName\": \"tdcpg-ep-ffscxj6f\",\n \"EndpointType\": \"RO\",\n \"PrivateIp\": \"10.0.64.24\",\n \"PrivatePort\": 5432,\n \"SubnetId\": \"subnet-5wnhtsmw\",\n \"VpcId\": \"vpc-l0ee2prd\",\n \"WanDomain\": \"\",\n \"WanIp\": \"\",\n \"WanPort\": 0\n }\n ],\n \"InstanceCount\": 2,\n \"PayMode\": \"PREPAID\",\n \"PayPeriodEndTime\": \"2022-01-08T19:50:54+08:00\",\n \"ProjectId\": 0,\n \"Region\": \"ap-guangzhou\",\n \"Status\": \"running\",\n \"StatusDesc\": \"运行中\",\n \"StorageLimit\": 2048,\n \"StoragePayMode\": \"POSTPAID_BY_HOUR\",\n \"StorageUsed\": 0.14,\n \"Zone\": \"ap-guangzhou-3\"\n }\n ],\n \"RequestId\": \"c644d6ec-0743-4ba3-916a-e30c5a00ada1\",\n \"TotalCount\": 1\n }\n}",
|
88
88
|
"title": "查询集群"
|
89
89
|
}
|
90
90
|
],
|
@@ -890,7 +890,7 @@
|
|
890
890
|
"status": "online"
|
891
891
|
},
|
892
892
|
"ReceiveMessage": {
|
893
|
-
"document": "当前 ReceiveMessage 接口只支持 Partitioned 类型的 Topic。该接口用于接收发送到指定 Partitioned Topic 中的消息,当 Partitioned Topic 中没有消息但还去尝试调用该接口时,会抛出 ReceiveTimeout 的异常。\n\n如何使用 BatchReceivePolicy:\n\nBatchReceive 接口提供了如下三个参数:\n\n● MaxNumMessages: 即每次使用 BatchReceive 的时候,最多一次Receive接口返回多少条消息。\n● MaxNumBytes:即每次使用 BatchReceive 的时候,最多一次Receive接口返回多大内容的消息,单位是:bytes。\n● Timeout:即每次使用 BatchReceive 的时候,最多一次 Receive 接口的超时时间是多久,单位是:MS。\n\n默认如果上述三个参数都不指定,即关闭 BatchReceive 的特性。如果三个参数中的任意一个参数指定的数值大于 0,即开启 BatchReceive。BatchReceive 的结束条件为到达上述三个参数中任意一个指定的阈值。\n\n注意:MaxNumMessages 和 MaxNumBytes 每一次接收的最大消息同时受限于 ReceiveQueueSize 的大小,如果 ReceiveQueueSize 的大小设置为 5,MaxNumMessages 设置为10,那么一次 BatchReceive 接收的最多的消息是 5条,而不是10条。\n\n\n\nBatchReceivePolicy 的接口会一次性返回多条消息:\n\n1. 多条消息的内容之间使用特殊字符 '###' 来进行分割,业务侧接收到消息之后,可以利用不同语言提供的 Split 工具分割不同的消息。\n2. 多条消息的 MessageID 之间使用特殊字符 '###' 来进行分割,业务侧接收到消息之后,可以利用不同语言提供的 Split 工具分割不同的消息。(用于在调用 AcknowledgeMessage 接口中填入所需要的 MessageID
|
893
|
+
"document": "当前 ReceiveMessage 接口只支持 Partitioned 类型的 Topic。该接口用于接收发送到指定 Partitioned Topic 中的消息,当 Partitioned Topic 中没有消息但还去尝试调用该接口时,会抛出 ReceiveTimeout 的异常。\n\n如何使用 BatchReceivePolicy:\n\nBatchReceive 接口提供了如下三个参数:\n\n● MaxNumMessages: 即每次使用 BatchReceive 的时候,最多一次Receive接口返回多少条消息。\n● MaxNumBytes:即每次使用 BatchReceive 的时候,最多一次Receive接口返回多大内容的消息,单位是:bytes。\n● Timeout:即每次使用 BatchReceive 的时候,最多一次 Receive 接口的超时时间是多久,单位是:MS。\n\n默认如果上述三个参数都不指定,即关闭 BatchReceive 的特性。如果三个参数中的任意一个参数指定的数值大于 0,即开启 BatchReceive。BatchReceive 的结束条件为到达上述三个参数中任意一个指定的阈值。\n\n注意:MaxNumMessages 和 MaxNumBytes 每一次接收的最大消息同时受限于 ReceiveQueueSize 的大小,如果 ReceiveQueueSize 的大小设置为 5,MaxNumMessages 设置为10,那么一次 BatchReceive 接收的最多的消息是 5条,而不是10条。\n\n\n\nBatchReceivePolicy 的接口会一次性返回多条消息:\n\n1. 多条消息的内容之间使用特殊字符 '###' 来进行分割,业务侧接收到消息之后,可以利用不同语言提供的 Split 工具分割不同的消息。\n2. 多条消息的 MessageID 之间使用特殊字符 '###' 来进行分割,业务侧接收到消息之后,可以利用不同语言提供的 Split 工具分割不同的消息。(用于在调用 AcknowledgeMessage 接口中填入所需要的 MessageID 字段信息)",
|
894
894
|
"input": "ReceiveMessageRequest",
|
895
895
|
"name": "接收消息",
|
896
896
|
"output": "ReceiveMessageResponse",
|
@@ -15937,7 +15937,7 @@
|
|
15937
15937
|
"example": "{\"Response\":{\"MessageId\":\"26365:1475:0\"}}",
|
15938
15938
|
"member": "string",
|
15939
15939
|
"name": "MessageID",
|
15940
|
-
"
|
15940
|
+
"output_required": true,
|
15941
15941
|
"type": "string",
|
15942
15942
|
"value_allowed_null": false
|
15943
15943
|
},
|
@@ -15947,7 +15947,7 @@
|
|
15947
15947
|
"example": "my-payload",
|
15948
15948
|
"member": "string",
|
15949
15949
|
"name": "MessagePayload",
|
15950
|
-
"
|
15950
|
+
"output_required": true,
|
15951
15951
|
"type": "string",
|
15952
15952
|
"value_allowed_null": false
|
15953
15953
|
},
|
@@ -15957,7 +15957,7 @@
|
|
15957
15957
|
"example": "my-topic",
|
15958
15958
|
"member": "string",
|
15959
15959
|
"name": "AckTopic",
|
15960
|
-
"
|
15960
|
+
"output_required": true,
|
15961
15961
|
"type": "string",
|
15962
15962
|
"value_allowed_null": false
|
15963
15963
|
},
|
@@ -15967,7 +15967,7 @@
|
|
15967
15967
|
"example": "sssss",
|
15968
15968
|
"member": "string",
|
15969
15969
|
"name": "ErrorMsg",
|
15970
|
-
"
|
15970
|
+
"output_required": true,
|
15971
15971
|
"type": "string",
|
15972
15972
|
"value_allowed_null": true
|
15973
15973
|
},
|
@@ -15977,7 +15977,7 @@
|
|
15977
15977
|
"example": "my-sub",
|
15978
15978
|
"member": "string",
|
15979
15979
|
"name": "SubName",
|
15980
|
-
"
|
15980
|
+
"output_required": true,
|
15981
15981
|
"type": "string",
|
15982
15982
|
"value_allowed_null": true
|
15983
15983
|
},
|
@@ -15987,7 +15987,7 @@
|
|
15987
15987
|
"example": " \"71:12:0:0###71:13:0:0###71:16:0:0\"",
|
15988
15988
|
"member": "string",
|
15989
15989
|
"name": "MessageIDList",
|
15990
|
-
"
|
15990
|
+
"output_required": true,
|
15991
15991
|
"type": "string",
|
15992
15992
|
"value_allowed_null": true
|
15993
15993
|
},
|
@@ -15997,7 +15997,7 @@
|
|
15997
15997
|
"example": "\"hello-1###hello-2###hello-3\"",
|
15998
15998
|
"member": "string",
|
15999
15999
|
"name": "MessagesPayload",
|
16000
|
-
"
|
16000
|
+
"output_required": true,
|
16001
16001
|
"type": "string",
|
16002
16002
|
"value_allowed_null": true
|
16003
16003
|
},
|
@@ -1056,7 +1056,7 @@
|
|
1056
1056
|
{
|
1057
1057
|
"document": "",
|
1058
1058
|
"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}",
|
1059
|
-
"output": "{\n \"Response\": {\n \"
|
1059
|
+
"output": "{\n \"Response\": {\n \"MessageID\": \"abc\",\n \"MessagePayload\": \"abc\",\n \"AckTopic\": \"abc\",\n \"ErrorMsg\": \"abc\",\n \"SubName\": \"abc\",\n \"MessageIDList\": \"abc\",\n \"MessagesPayload\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
|
1060
1060
|
"title": "接收消息"
|
1061
1061
|
}
|
1062
1062
|
],
|
@@ -8317,7 +8317,7 @@
|
|
8317
8317
|
"example": "[\"1.14.1\",\"1.16.1\"]",
|
8318
8318
|
"member": "string",
|
8319
8319
|
"name": "Versions",
|
8320
|
-
"
|
8320
|
+
"output_required": true,
|
8321
8321
|
"type": "list",
|
8322
8322
|
"value_allowed_null": false
|
8323
8323
|
},
|
@@ -8327,7 +8327,7 @@
|
|
8327
8327
|
"example": "1.0.1",
|
8328
8328
|
"member": "string",
|
8329
8329
|
"name": "EdgeVersionLatest",
|
8330
|
-
"
|
8330
|
+
"output_required": true,
|
8331
8331
|
"type": "string",
|
8332
8332
|
"value_allowed_null": true
|
8333
8333
|
},
|
@@ -8337,7 +8337,7 @@
|
|
8337
8337
|
"example": "1.0.1",
|
8338
8338
|
"member": "string",
|
8339
8339
|
"name": "EdgeVersionCurrent",
|
8340
|
-
"
|
8340
|
+
"output_required": true,
|
8341
8341
|
"type": "string",
|
8342
8342
|
"value_allowed_null": true
|
8343
8343
|
},
|