tccli 3.0.1193.1__py2.py3-none-any.whl → 3.0.1195.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/__init__.py +3 -0
- tccli/services/cdb/v20170320/api.json +45 -0
- tccli/services/cfw/v20190904/api.json +4 -4
- tccli/services/csip/v20221121/api.json +1 -1
- tccli/services/mqtt/__init__.py +4 -0
- tccli/services/mqtt/mqtt_client.py +248 -0
- tccli/services/mqtt/v20240516/api.json +612 -0
- tccli/services/mqtt/v20240516/examples.json +27 -0
- tccli/services/tke/tke_client.py +118 -12
- tccli/services/tke/v20180525/api.json +336 -15
- tccli/services/tke/v20180525/examples.json +16 -0
- tccli/services/vpc/v20170312/api.json +10 -0
- {tccli-3.0.1193.1.dist-info → tccli-3.0.1195.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1193.1.dist-info → tccli-3.0.1195.1.dist-info}/RECORD +18 -14
- {tccli-3.0.1193.1.dist-info → tccli-3.0.1195.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1193.1.dist-info → tccli-3.0.1195.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1193.1.dist-info → tccli-3.0.1195.1.dist-info}/license_files/LICENSE +0 -0
@@ -0,0 +1,612 @@
|
|
1
|
+
{
|
2
|
+
"actions": {
|
3
|
+
"DescribeInstance": {
|
4
|
+
"document": "查询实例信息",
|
5
|
+
"input": "DescribeInstanceRequest",
|
6
|
+
"name": "查询MQTT实例详情信息",
|
7
|
+
"output": "DescribeInstanceResponse",
|
8
|
+
"status": "online"
|
9
|
+
},
|
10
|
+
"DescribeInstanceList": {
|
11
|
+
"document": "获取实例列表,Filters参数使用说明如下:\n1. InstanceName, 名称模糊查询\n2. InstanceId,实例ID查询\n3. InstanceType, 实例类型查询,支持多选\n3. InstanceStatus,实例状态查询,支持多选\n\n当使用TagFilters查询时,Filters参数失效。",
|
12
|
+
"input": "DescribeInstanceListRequest",
|
13
|
+
"name": "获取MQTT实例列表",
|
14
|
+
"output": "DescribeInstanceListResponse",
|
15
|
+
"status": "online"
|
16
|
+
}
|
17
|
+
},
|
18
|
+
"metadata": {
|
19
|
+
"apiVersion": "2024-05-16",
|
20
|
+
"api_brief": "提供 TDMQ MQTT 版控制台的功能,如元数据的增删改查等",
|
21
|
+
"serviceNameCN": "消息队列 MQTT 版",
|
22
|
+
"serviceShortName": "mqtt"
|
23
|
+
},
|
24
|
+
"objects": {
|
25
|
+
"DescribeInstanceListRequest": {
|
26
|
+
"document": "DescribeInstanceList请求参数结构体",
|
27
|
+
"members": [
|
28
|
+
{
|
29
|
+
"disabled": false,
|
30
|
+
"document": "查询条件列表",
|
31
|
+
"example": "无",
|
32
|
+
"member": "Filter",
|
33
|
+
"name": "Filters",
|
34
|
+
"required": false,
|
35
|
+
"type": "list"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"disabled": false,
|
39
|
+
"document": "查询起始位置",
|
40
|
+
"example": "0",
|
41
|
+
"member": "int64",
|
42
|
+
"name": "Offset",
|
43
|
+
"required": false,
|
44
|
+
"type": "int"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"disabled": false,
|
48
|
+
"document": "查询结果限制数量",
|
49
|
+
"example": "10",
|
50
|
+
"member": "int64",
|
51
|
+
"name": "Limit",
|
52
|
+
"required": false,
|
53
|
+
"type": "int"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"disabled": false,
|
57
|
+
"document": "标签过滤器",
|
58
|
+
"example": "无",
|
59
|
+
"member": "TagFilter",
|
60
|
+
"name": "TagFilters",
|
61
|
+
"required": false,
|
62
|
+
"type": "list"
|
63
|
+
}
|
64
|
+
],
|
65
|
+
"type": "object"
|
66
|
+
},
|
67
|
+
"DescribeInstanceListResponse": {
|
68
|
+
"document": "DescribeInstanceList返回参数结构体",
|
69
|
+
"members": [
|
70
|
+
{
|
71
|
+
"disabled": false,
|
72
|
+
"document": "查询总数\n注意:此字段可能返回 null,表示取不到有效值。",
|
73
|
+
"example": "10",
|
74
|
+
"member": "int64",
|
75
|
+
"name": "TotalCount",
|
76
|
+
"output_required": false,
|
77
|
+
"type": "int",
|
78
|
+
"value_allowed_null": true
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"disabled": false,
|
82
|
+
"document": "实例列表",
|
83
|
+
"example": "[ \t\t\t{ \t\t\t\t\"ClientNumLimit\": 1, \t\t\t\t\"CreateTime\": 1705565760, \t\t\t\t\"InstanceId\": \"mqtt-wjgxr8jg\", \t\t\t\t\"InstanceName\": \"su-0118-no-pub\", \t\t\t\t\"InstanceStatus\": \"CREATE_FAILURE\", \t\t\t\t\"InstanceType\": \"BASIC\", \t\t\t\t\"Remark\": \"\", \t\t\t\t\"SkuCode\": \"mqtt_1k\", \t\t\t\t\"SubscriptionNumLimit\": 1, \t\t\t\t\"TopicNum\": 0, \t\t\t\t\"TopicNumLimit\": 1, \t\t\t\t\"TpsLimit\": 1, \t\t\t\t\"Version\": \"1\" \t\t\t}, \t\t\t{ \t\t\t\t\"ClientNumLimit\": 1000, \t\t\t\t\"CreateTime\": 1705391046, \t\t\t\t\"InstanceId\": \"mqtt-47ka4rdr\", \t\t\t\t\"InstanceName\": \"sun-0116\", \t\t\t\t\"InstanceStatus\": \"RUNNING\", \t\t\t\t\"InstanceType\": \"BASIC\", \t\t\t\t\"Remark\": \"\", \t\t\t\t\"SkuCode\": \"basic_1k\", \t\t\t\t\"SubscriptionNumLimit\": 1000, \t\t\t\t\"TopicNum\": 25, \t\t\t\t\"TopicNumLimit\": 25, \t\t\t\t\"TpsLimit\": 1000, \t\t\t\t\"Version\": \"1\" \t\t\t} \t\t]",
|
84
|
+
"member": "MQTTInstanceItem",
|
85
|
+
"name": "Data",
|
86
|
+
"output_required": true,
|
87
|
+
"type": "list",
|
88
|
+
"value_allowed_null": false
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
92
|
+
"member": "string",
|
93
|
+
"name": "RequestId",
|
94
|
+
"type": "string"
|
95
|
+
}
|
96
|
+
],
|
97
|
+
"type": "object"
|
98
|
+
},
|
99
|
+
"DescribeInstanceRequest": {
|
100
|
+
"document": "DescribeInstance请求参数结构体",
|
101
|
+
"members": [
|
102
|
+
{
|
103
|
+
"disabled": false,
|
104
|
+
"document": "实例ID",
|
105
|
+
"example": "rocketmq-xxxx",
|
106
|
+
"member": "string",
|
107
|
+
"name": "InstanceId",
|
108
|
+
"required": true,
|
109
|
+
"type": "string"
|
110
|
+
}
|
111
|
+
],
|
112
|
+
"type": "object"
|
113
|
+
},
|
114
|
+
"DescribeInstanceResponse": {
|
115
|
+
"document": "DescribeInstance返回参数结构体",
|
116
|
+
"members": [
|
117
|
+
{
|
118
|
+
"disabled": false,
|
119
|
+
"document": "实例类型,\nEXPERIMENT 体验版\nBASIC 基础版\nPRO 专业版\nPLATINUM 铂金版",
|
120
|
+
"example": "BASIC",
|
121
|
+
"member": "string",
|
122
|
+
"name": "InstanceType",
|
123
|
+
"output_required": true,
|
124
|
+
"type": "string",
|
125
|
+
"value_allowed_null": false
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"disabled": false,
|
129
|
+
"document": "实例ID",
|
130
|
+
"example": "mqtt-mwmdg9dm",
|
131
|
+
"member": "string",
|
132
|
+
"name": "InstanceId",
|
133
|
+
"output_required": true,
|
134
|
+
"type": "string",
|
135
|
+
"value_allowed_null": false
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"disabled": false,
|
139
|
+
"document": "实例名称",
|
140
|
+
"example": "name",
|
141
|
+
"member": "string",
|
142
|
+
"name": "InstanceName",
|
143
|
+
"output_required": true,
|
144
|
+
"type": "string",
|
145
|
+
"value_allowed_null": false
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"disabled": false,
|
149
|
+
"document": "主题数量",
|
150
|
+
"example": "2",
|
151
|
+
"member": "int64",
|
152
|
+
"name": "TopicNum",
|
153
|
+
"output_required": true,
|
154
|
+
"type": "int",
|
155
|
+
"value_allowed_null": false
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"disabled": false,
|
159
|
+
"document": "实例最大主题数量",
|
160
|
+
"example": "1000",
|
161
|
+
"member": "int64",
|
162
|
+
"name": "TopicNumLimit",
|
163
|
+
"output_required": true,
|
164
|
+
"type": "int",
|
165
|
+
"value_allowed_null": false
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"disabled": false,
|
169
|
+
"document": "TPS限流值",
|
170
|
+
"example": "1000",
|
171
|
+
"member": "int64",
|
172
|
+
"name": "TpsLimit",
|
173
|
+
"output_required": true,
|
174
|
+
"type": "int",
|
175
|
+
"value_allowed_null": false
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"disabled": false,
|
179
|
+
"document": "创建时间,秒为单位",
|
180
|
+
"example": "1711955420",
|
181
|
+
"member": "int64",
|
182
|
+
"name": "CreatedTime",
|
183
|
+
"output_required": true,
|
184
|
+
"type": "int",
|
185
|
+
"value_allowed_null": false
|
186
|
+
},
|
187
|
+
{
|
188
|
+
"disabled": false,
|
189
|
+
"document": "备注信息",
|
190
|
+
"example": "remark",
|
191
|
+
"member": "string",
|
192
|
+
"name": "Remark",
|
193
|
+
"output_required": true,
|
194
|
+
"type": "string",
|
195
|
+
"value_allowed_null": false
|
196
|
+
},
|
197
|
+
{
|
198
|
+
"disabled": false,
|
199
|
+
"document": "实例状态",
|
200
|
+
"example": "RUNNING",
|
201
|
+
"member": "string",
|
202
|
+
"name": "InstanceStatus",
|
203
|
+
"output_required": true,
|
204
|
+
"type": "string",
|
205
|
+
"value_allowed_null": false
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"disabled": false,
|
209
|
+
"document": "实例规格",
|
210
|
+
"example": "basic_1k",
|
211
|
+
"member": "string",
|
212
|
+
"name": "SkuCode",
|
213
|
+
"output_required": true,
|
214
|
+
"type": "string",
|
215
|
+
"value_allowed_null": false
|
216
|
+
},
|
217
|
+
{
|
218
|
+
"disabled": false,
|
219
|
+
"document": "单客户端最大订阅数",
|
220
|
+
"example": "30",
|
221
|
+
"member": "int64",
|
222
|
+
"name": "MaxSubscriptionPerClient",
|
223
|
+
"output_required": true,
|
224
|
+
"type": "int",
|
225
|
+
"value_allowed_null": false
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"disabled": false,
|
229
|
+
"document": "授权规则条数",
|
230
|
+
"example": "10",
|
231
|
+
"member": "int64",
|
232
|
+
"name": "AuthorizationPolicyLimit",
|
233
|
+
"output_required": true,
|
234
|
+
"type": "int",
|
235
|
+
"value_allowed_null": false
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"disabled": false,
|
239
|
+
"document": "客户端数量上限",
|
240
|
+
"example": "1000",
|
241
|
+
"member": "int64",
|
242
|
+
"name": "ClientNumLimit",
|
243
|
+
"output_required": true,
|
244
|
+
"type": "int",
|
245
|
+
"value_allowed_null": false
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"disabled": false,
|
249
|
+
"document": "客户端证书注册方式:JITP,API",
|
250
|
+
"example": "API",
|
251
|
+
"member": "string",
|
252
|
+
"name": "DeviceCertificateProvisionType",
|
253
|
+
"output_required": true,
|
254
|
+
"type": "string",
|
255
|
+
"value_allowed_null": false
|
256
|
+
},
|
257
|
+
{
|
258
|
+
"disabled": false,
|
259
|
+
"document": "自动注册设备证书时是否自动激活",
|
260
|
+
"example": "false",
|
261
|
+
"member": "bool",
|
262
|
+
"name": "AutomaticActivation",
|
263
|
+
"output_required": false,
|
264
|
+
"type": "bool",
|
265
|
+
"value_allowed_null": false
|
266
|
+
},
|
267
|
+
{
|
268
|
+
"disabled": false,
|
269
|
+
"document": "是否自动续费",
|
270
|
+
"example": "1",
|
271
|
+
"member": "int64",
|
272
|
+
"name": "RenewFlag",
|
273
|
+
"output_required": true,
|
274
|
+
"type": "int",
|
275
|
+
"value_allowed_null": false
|
276
|
+
},
|
277
|
+
{
|
278
|
+
"disabled": false,
|
279
|
+
"document": "计费模式, POSTPAID,按量计费 PREPAID,包年包月",
|
280
|
+
"example": "POSTPAID",
|
281
|
+
"member": "string",
|
282
|
+
"name": "PayMode",
|
283
|
+
"output_required": true,
|
284
|
+
"type": "string",
|
285
|
+
"value_allowed_null": false
|
286
|
+
},
|
287
|
+
{
|
288
|
+
"disabled": false,
|
289
|
+
"document": "到期时间,秒为单位",
|
290
|
+
"example": "1713164969433",
|
291
|
+
"member": "int64",
|
292
|
+
"name": "ExpiryTime",
|
293
|
+
"output_required": true,
|
294
|
+
"type": "int",
|
295
|
+
"value_allowed_null": false
|
296
|
+
},
|
297
|
+
{
|
298
|
+
"disabled": false,
|
299
|
+
"document": "预销毁时间",
|
300
|
+
"example": "1713164969433",
|
301
|
+
"member": "int64",
|
302
|
+
"name": "DestroyTime",
|
303
|
+
"output_required": true,
|
304
|
+
"type": "int",
|
305
|
+
"value_allowed_null": false
|
306
|
+
},
|
307
|
+
{
|
308
|
+
"disabled": false,
|
309
|
+
"document": " TLS,单向认证\n mTLS,双向认证\n BYOC;一机一证",
|
310
|
+
"example": "TLS",
|
311
|
+
"member": "string",
|
312
|
+
"name": "X509Mode",
|
313
|
+
"output_required": true,
|
314
|
+
"type": "string",
|
315
|
+
"value_allowed_null": false
|
316
|
+
},
|
317
|
+
{
|
318
|
+
"disabled": false,
|
319
|
+
"document": "最大Ca配额",
|
320
|
+
"example": "1",
|
321
|
+
"member": "int64",
|
322
|
+
"name": "MaxCaNum",
|
323
|
+
"output_required": false,
|
324
|
+
"type": "int",
|
325
|
+
"value_allowed_null": false
|
326
|
+
},
|
327
|
+
{
|
328
|
+
"disabled": false,
|
329
|
+
"document": "证书注册码",
|
330
|
+
"example": "123-456",
|
331
|
+
"member": "string",
|
332
|
+
"name": "RegistrationCode",
|
333
|
+
"output_required": false,
|
334
|
+
"type": "string",
|
335
|
+
"value_allowed_null": false
|
336
|
+
},
|
337
|
+
{
|
338
|
+
"disabled": false,
|
339
|
+
"document": "集群最大订阅数",
|
340
|
+
"example": "120000",
|
341
|
+
"member": "int64",
|
342
|
+
"name": "MaxSubscription",
|
343
|
+
"output_required": false,
|
344
|
+
"type": "int",
|
345
|
+
"value_allowed_null": false
|
346
|
+
},
|
347
|
+
{
|
348
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
349
|
+
"member": "string",
|
350
|
+
"name": "RequestId",
|
351
|
+
"type": "string"
|
352
|
+
}
|
353
|
+
],
|
354
|
+
"type": "object"
|
355
|
+
},
|
356
|
+
"Filter": {
|
357
|
+
"document": "查询过滤器",
|
358
|
+
"members": [
|
359
|
+
{
|
360
|
+
"disabled": false,
|
361
|
+
"document": "过滤条件名",
|
362
|
+
"example": "key",
|
363
|
+
"member": "string",
|
364
|
+
"name": "Name",
|
365
|
+
"required": true,
|
366
|
+
"type": "string"
|
367
|
+
},
|
368
|
+
{
|
369
|
+
"disabled": false,
|
370
|
+
"document": "过滤条件的值",
|
371
|
+
"example": "无",
|
372
|
+
"member": "string",
|
373
|
+
"name": "Values",
|
374
|
+
"required": true,
|
375
|
+
"type": "list"
|
376
|
+
}
|
377
|
+
],
|
378
|
+
"usage": "in"
|
379
|
+
},
|
380
|
+
"MQTTInstanceItem": {
|
381
|
+
"document": "MQTT 实例信息",
|
382
|
+
"members": [
|
383
|
+
{
|
384
|
+
"disabled": false,
|
385
|
+
"document": "实例ID",
|
386
|
+
"example": "rmq-xxxx",
|
387
|
+
"member": "string",
|
388
|
+
"name": "InstanceId",
|
389
|
+
"output_required": true,
|
390
|
+
"type": "string",
|
391
|
+
"value_allowed_null": false
|
392
|
+
},
|
393
|
+
{
|
394
|
+
"disabled": false,
|
395
|
+
"document": "实例名称",
|
396
|
+
"example": "test",
|
397
|
+
"member": "string",
|
398
|
+
"name": "InstanceName",
|
399
|
+
"output_required": true,
|
400
|
+
"type": "string",
|
401
|
+
"value_allowed_null": false
|
402
|
+
},
|
403
|
+
{
|
404
|
+
"disabled": false,
|
405
|
+
"document": "实例版本",
|
406
|
+
"example": "5.0",
|
407
|
+
"member": "string",
|
408
|
+
"name": "Version",
|
409
|
+
"output_required": true,
|
410
|
+
"type": "string",
|
411
|
+
"value_allowed_null": false
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"disabled": false,
|
415
|
+
"document": "实例类型,\nEXPERIMENT,体验版\nBASIC,基础版\nPRO,专业版\nPLATINUM,铂金版",
|
416
|
+
"example": "EXPERIMENT",
|
417
|
+
"member": "string",
|
418
|
+
"name": "InstanceType",
|
419
|
+
"output_required": true,
|
420
|
+
"type": "string",
|
421
|
+
"value_allowed_null": false
|
422
|
+
},
|
423
|
+
{
|
424
|
+
"disabled": false,
|
425
|
+
"document": "实例状态,\nRUNNING, 运行中\nMAINTAINING,维护中\nABNORMAL,异常\nOVERDUE,欠费\nDESTROYED,已删除\nCREATING,创建中\nMODIFYING,变配中\nCREATE_FAILURE,创建失败\nMODIFY_FAILURE,变配失败\nDELETING,删除中",
|
426
|
+
"example": "RUNNING",
|
427
|
+
"member": "string",
|
428
|
+
"name": "InstanceStatus",
|
429
|
+
"output_required": true,
|
430
|
+
"type": "string",
|
431
|
+
"value_allowed_null": false
|
432
|
+
},
|
433
|
+
{
|
434
|
+
"disabled": false,
|
435
|
+
"document": "实例主题数上限",
|
436
|
+
"example": "100",
|
437
|
+
"member": "int64",
|
438
|
+
"name": "TopicNumLimit",
|
439
|
+
"output_required": true,
|
440
|
+
"type": "int",
|
441
|
+
"value_allowed_null": false
|
442
|
+
},
|
443
|
+
{
|
444
|
+
"disabled": false,
|
445
|
+
"document": "备注信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
446
|
+
"example": "test",
|
447
|
+
"member": "string",
|
448
|
+
"name": "Remark",
|
449
|
+
"output_required": true,
|
450
|
+
"type": "string",
|
451
|
+
"value_allowed_null": true
|
452
|
+
},
|
453
|
+
{
|
454
|
+
"disabled": false,
|
455
|
+
"document": "主题数量",
|
456
|
+
"example": "2",
|
457
|
+
"member": "int64",
|
458
|
+
"name": "TopicNum",
|
459
|
+
"output_required": true,
|
460
|
+
"type": "int",
|
461
|
+
"value_allowed_null": false
|
462
|
+
},
|
463
|
+
{
|
464
|
+
"disabled": false,
|
465
|
+
"document": "商品规格",
|
466
|
+
"example": "basic_1k",
|
467
|
+
"member": "string",
|
468
|
+
"name": "SkuCode",
|
469
|
+
"output_required": true,
|
470
|
+
"type": "string",
|
471
|
+
"value_allowed_null": false
|
472
|
+
},
|
473
|
+
{
|
474
|
+
"disabled": false,
|
475
|
+
"document": "弹性TPS限流值\n注意:此字段可能返回 null,表示取不到有效值。",
|
476
|
+
"example": "100",
|
477
|
+
"member": "int64",
|
478
|
+
"name": "TpsLimit",
|
479
|
+
"output_required": false,
|
480
|
+
"type": "int",
|
481
|
+
"value_allowed_null": true
|
482
|
+
},
|
483
|
+
{
|
484
|
+
"disabled": false,
|
485
|
+
"document": "创建时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
486
|
+
"example": "1713164969433",
|
487
|
+
"member": "int64",
|
488
|
+
"name": "CreateTime",
|
489
|
+
"output_required": false,
|
490
|
+
"type": "int",
|
491
|
+
"value_allowed_null": true
|
492
|
+
},
|
493
|
+
{
|
494
|
+
"disabled": false,
|
495
|
+
"document": "单客户端最大订阅数量\n注意:此字段可能返回 null,表示取不到有效值。",
|
496
|
+
"example": "30",
|
497
|
+
"member": "int64",
|
498
|
+
"name": "MaxSubscriptionPerClient",
|
499
|
+
"output_required": false,
|
500
|
+
"type": "int",
|
501
|
+
"value_allowed_null": true
|
502
|
+
},
|
503
|
+
{
|
504
|
+
"disabled": false,
|
505
|
+
"document": "客户端连接数上线\n注意:此字段可能返回 null,表示取不到有效值。",
|
506
|
+
"example": "1000",
|
507
|
+
"member": "int64",
|
508
|
+
"name": "ClientNumLimit",
|
509
|
+
"output_required": false,
|
510
|
+
"type": "int",
|
511
|
+
"value_allowed_null": true
|
512
|
+
},
|
513
|
+
{
|
514
|
+
"disabled": false,
|
515
|
+
"document": "是否自动续费\n注意:此字段可能返回 null,表示取不到有效值。",
|
516
|
+
"example": "1",
|
517
|
+
"member": "int64",
|
518
|
+
"name": "RenewFlag",
|
519
|
+
"output_required": false,
|
520
|
+
"type": "int",
|
521
|
+
"value_allowed_null": true
|
522
|
+
},
|
523
|
+
{
|
524
|
+
"disabled": false,
|
525
|
+
"document": "计费模式, POSTPAID,按量计费 PREPAID,包年包月\n注意:此字段可能返回 null,表示取不到有效值。",
|
526
|
+
"example": "POSTPAID",
|
527
|
+
"member": "string",
|
528
|
+
"name": "PayMode",
|
529
|
+
"output_required": false,
|
530
|
+
"type": "string",
|
531
|
+
"value_allowed_null": true
|
532
|
+
},
|
533
|
+
{
|
534
|
+
"disabled": false,
|
535
|
+
"document": "到期时间,秒为单位\n注意:此字段可能返回 null,表示取不到有效值。",
|
536
|
+
"example": "100000",
|
537
|
+
"member": "int64",
|
538
|
+
"name": "ExpiryTime",
|
539
|
+
"output_required": false,
|
540
|
+
"type": "int",
|
541
|
+
"value_allowed_null": true
|
542
|
+
},
|
543
|
+
{
|
544
|
+
"disabled": false,
|
545
|
+
"document": "预销毁时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
546
|
+
"example": "1713164969433",
|
547
|
+
"member": "int64",
|
548
|
+
"name": "DestroyTime",
|
549
|
+
"output_required": false,
|
550
|
+
"type": "int",
|
551
|
+
"value_allowed_null": true
|
552
|
+
},
|
553
|
+
{
|
554
|
+
"disabled": false,
|
555
|
+
"document": "授权规则条数限制\n注意:此字段可能返回 null,表示取不到有效值。",
|
556
|
+
"example": "10",
|
557
|
+
"member": "int64",
|
558
|
+
"name": "AuthorizationPolicyLimit",
|
559
|
+
"output_required": false,
|
560
|
+
"type": "int",
|
561
|
+
"value_allowed_null": true
|
562
|
+
},
|
563
|
+
{
|
564
|
+
"disabled": false,
|
565
|
+
"document": "最大ca配额\n注意:此字段可能返回 null,表示取不到有效值。",
|
566
|
+
"example": "1",
|
567
|
+
"member": "int64",
|
568
|
+
"name": "MaxCaNum",
|
569
|
+
"output_required": false,
|
570
|
+
"type": "int",
|
571
|
+
"value_allowed_null": true
|
572
|
+
},
|
573
|
+
{
|
574
|
+
"disabled": false,
|
575
|
+
"document": "最大订阅数\n注意:此字段可能返回 null,表示取不到有效值。",
|
576
|
+
"example": "12000",
|
577
|
+
"member": "int64",
|
578
|
+
"name": "MaxSubscription",
|
579
|
+
"output_required": false,
|
580
|
+
"type": "int",
|
581
|
+
"value_allowed_null": true
|
582
|
+
}
|
583
|
+
],
|
584
|
+
"usage": "out"
|
585
|
+
},
|
586
|
+
"TagFilter": {
|
587
|
+
"document": "标签过滤器",
|
588
|
+
"members": [
|
589
|
+
{
|
590
|
+
"disabled": false,
|
591
|
+
"document": "标签键名称",
|
592
|
+
"example": "test",
|
593
|
+
"member": "string",
|
594
|
+
"name": "TagKey",
|
595
|
+
"required": false,
|
596
|
+
"type": "string"
|
597
|
+
},
|
598
|
+
{
|
599
|
+
"disabled": false,
|
600
|
+
"document": "标签键名称",
|
601
|
+
"example": "value1",
|
602
|
+
"member": "string",
|
603
|
+
"name": "TagValues",
|
604
|
+
"required": false,
|
605
|
+
"type": "list"
|
606
|
+
}
|
607
|
+
],
|
608
|
+
"usage": "in"
|
609
|
+
}
|
610
|
+
},
|
611
|
+
"version": "1.0"
|
612
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
{
|
2
|
+
"actions": {
|
3
|
+
"DescribeInstance": [
|
4
|
+
{
|
5
|
+
"document": "示例",
|
6
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"mqtt-bg8k8v8o\"\n}",
|
7
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"AuthorizationPolicyLimit\": 10,\n \"AutomaticActivation\": false,\n \"ClientNumLimit\": 1000,\n \"CreatedTime\": 1722572792,\n \"DestroyTime\": 0,\n \"DeviceCertificateProvisionType\": \"MANUAL\",\n \"ExpiryTime\": 0,\n \"InstanceId\": \"mqtt-bg8k8v8o\",\n \"InstanceName\": \"jehansun-0802\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"MaxSubscriptionPerClient\": 30,\n \"PayMode\": \"POSTPAID\",\n \"Remark\": \"\",\n \"RenewFlag\": 1,\n \"RequestId\": \"3e180cf0-ddb8-4a0b-8855-c69c5dc02f35\",\n \"SkuCode\": \"basic_1k\",\n \"TopicNum\": 0,\n \"TopicNumLimit\": 100,\n \"TpsLimit\": 1000,\n \"X509Mode\": \"TLS\"\n }\n}",
|
8
|
+
"title": "示例"
|
9
|
+
}
|
10
|
+
],
|
11
|
+
"DescribeInstanceList": [
|
12
|
+
{
|
13
|
+
"document": "示例",
|
14
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMQTTInstanceList\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
15
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"ClientNumLimit\": 1,\n \"CreateTime\": 1705565760,\n \"InstanceId\": \"mqtt-wjgxr8jg\",\n \"InstanceName\": \"su-0118-no-pub\",\n \"InstanceStatus\": \"CREATE_FAILURE\",\n \"InstanceType\": \"BASIC\",\n \"Remark\": \"\",\n \"SkuCode\": \"mqtt_1k\",\n \"TopicNum\": 0,\n \"TopicNumLimit\": 1,\n \"TpsLimit\": 1,\n \"Version\": \"1\"\n },\n {\n \"ClientNumLimit\": 1000,\n \"CreateTime\": 1705391046,\n \"InstanceId\": \"mqtt-47ka4rdr\",\n \"InstanceName\": \"sun-0116\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"Remark\": \"\",\n \"SkuCode\": \"basic_1k\",\n \"TopicNum\": 25,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000,\n \"Version\": \"1\"\n }\n ],\n \"RequestId\": \"9424369d-904f-4fa2-b407-0bd5e536e989\",\n \"TotalCount\": 10\n }\n}",
|
16
|
+
"title": "示例"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"document": "样例",
|
20
|
+
"input": "POST / HTTP/1.1\nHost: mqtt.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceList\n<公共请求参数>\n\n{}",
|
21
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"AuthorizationPolicyLimit\": 10,\n \"ClientNumLimit\": 100,\n \"CreateTime\": 1721121835,\n \"DestroyTime\": 0,\n \"ExpiryTime\": 0,\n \"InstanceId\": \"mqtt-12345678\",\n \"InstanceName\": \"mock-instance\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"MaxSubscriptionPerClient\": 30,\n \"PayMode\": \"POSTPAID\",\n \"Remark\": \"测试无计费order,计费上报\",\n \"RenewFlag\": 0,\n \"SkuCode\": \"basic_1k\",\n \"TopicNum\": 0,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000,\n \"Version\": \"1\"\n },\n {\n \"AuthorizationPolicyLimit\": 10,\n \"ClientNumLimit\": 100,\n \"CreateTime\": 1718885863,\n \"DestroyTime\": 0,\n \"ExpiryTime\": 1721477863002,\n \"InstanceId\": \"mqtt-g4r4x85z\",\n \"InstanceName\": \"sunjianxiong\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"PRO\",\n \"MaxSubscriptionPerClient\": 30,\n \"PayMode\": \"PREPAID\",\n \"Remark\": \"测试收发用,已配置内网\",\n \"RenewFlag\": 0,\n \"SkuCode\": \"pro_4k_5\",\n \"TopicNum\": 6,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000,\n \"Version\": \"1\"\n },\n {\n \"AuthorizationPolicyLimit\": 10,\n \"ClientNumLimit\": 100,\n \"CreateTime\": 1718883088,\n \"DestroyTime\": 0,\n \"ExpiryTime\": 0,\n \"InstanceId\": \"mqtt-vv9pnwq4\",\n \"InstanceName\": \"jehansun-06201930\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"PRO\",\n \"MaxSubscriptionPerClient\": 30,\n \"PayMode\": \"POSTPAID\",\n \"Remark\": \"\",\n \"RenewFlag\": 0,\n \"SkuCode\": \"pro_4k_5\",\n \"TopicNum\": 0,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000,\n \"Version\": \"1\"\n },\n {\n \"AuthorizationPolicyLimit\": 10,\n \"ClientNumLimit\": 100,\n \"CreateTime\": 1717663198,\n \"DestroyTime\": 0,\n \"ExpiryTime\": 0,\n \"InstanceId\": \"mqtt-mmgej724\",\n \"InstanceName\": \"jehansun-0606\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"MaxSubscriptionPerClient\": 30,\n \"PayMode\": \"POSTPAID\",\n \"Remark\": \"111\",\n \"RenewFlag\": 0,\n \"SkuCode\": \"basic_1k\",\n \"TopicNum\": 1,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000,\n \"Version\": \"1\"\n },\n {\n \"AuthorizationPolicyLimit\": 10,\n \"ClientNumLimit\": 100,\n \"CreateTime\": 1717663172,\n \"DestroyTime\": 0,\n \"ExpiryTime\": 0,\n \"InstanceId\": \"mqtt-79opob7m\",\n \"InstanceName\": \"jehansun-0628-modify\",\n \"InstanceStatus\": \"RUNNING\",\n \"InstanceType\": \"BASIC\",\n \"MaxSubscriptionPerClient\": 30,\n \"PayMode\": \"POSTPAID\",\n \"Remark\": \"111\",\n \"RenewFlag\": 0,\n \"SkuCode\": \"basic_1k\",\n \"TopicNum\": 1,\n \"TopicNumLimit\": 25,\n \"TpsLimit\": 1000,\n \"Version\": \"1\"\n }\n ],\n \"RequestId\": \"bf1e881a-f1bc-45bf-b276-4a05b920fbeb\",\n \"TotalCount\": 5\n }\n}",
|
22
|
+
"title": "样例"
|
23
|
+
}
|
24
|
+
]
|
25
|
+
},
|
26
|
+
"version": "1.0"
|
27
|
+
}
|