tccli 3.0.1296.1__py2.py3-none-any.whl → 3.0.1298.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/antiddos/v20200309/api.json +2 -2
- tccli/services/batch/v20170312/api.json +9 -8
- tccli/services/cbs/v20170312/api.json +1 -1
- tccli/services/ccc/ccc_client.py +230 -18
- tccli/services/ccc/v20200210/api.json +363 -0
- tccli/services/ccc/v20200210/examples.json +32 -0
- tccli/services/cls/cls_client.py +235 -23
- tccli/services/cls/v20201016/api.json +457 -3
- tccli/services/cls/v20201016/examples.json +32 -0
- tccli/services/cme/v20191029/examples.json +2 -2
- tccli/services/cvm/v20170312/api.json +2 -2
- tccli/services/cynosdb/v20190107/api.json +97 -77
- tccli/services/dbbrain/v20191016/api.json +146 -6
- tccli/services/dbbrain/v20210527/api.json +156 -20
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +162 -0
- tccli/services/dlc/v20210125/examples.json +8 -0
- tccli/services/dnspod/v20210323/api.json +105 -88
- tccli/services/dnspod/v20210323/examples.json +1 -1
- tccli/services/dts/v20211206/api.json +2 -2
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +5 -5
- tccli/services/gs/gs_client.py +53 -0
- tccli/services/gs/v20191118/api.json +63 -0
- tccli/services/gs/v20191118/examples.json +9 -1
- tccli/services/hai/v20230812/api.json +16 -16
- tccli/services/iotcloud/v20210408/api.json +13 -17
- tccli/services/iotcloud/v20210408/examples.json +3 -3
- tccli/services/iotexplorer/v20190423/api.json +398 -341
- tccli/services/iotexplorer/v20190423/examples.json +50 -50
- tccli/services/iss/iss_client.py +411 -305
- tccli/services/iss/v20230517/api.json +236 -0
- tccli/services/iss/v20230517/examples.json +16 -0
- tccli/services/lighthouse/v20200324/api.json +3 -3
- tccli/services/live/v20180801/api.json +2 -2
- tccli/services/lke/v20231130/api.json +34 -1
- tccli/services/mps/v20190612/api.json +55 -53
- tccli/services/mps/v20190612/examples.json +40 -40
- tccli/services/mqtt/v20240516/api.json +56 -6
- tccli/services/mqtt/v20240516/examples.json +6 -6
- tccli/services/ocr/v20181119/api.json +73 -3
- tccli/services/partners/v20180321/api.json +10 -0
- tccli/services/rce/v20201103/api.json +0 -9
- tccli/services/rce/v20201103/examples.json +1 -1
- tccli/services/tdmq/v20200217/api.json +36 -6
- tccli/services/teo/v20220901/api.json +48 -7
- tccli/services/teo/v20220901/examples.json +51 -15
- tccli/services/tione/tione_client.py +220 -8
- tccli/services/tione/v20211111/api.json +359 -0
- tccli/services/tione/v20211111/examples.json +32 -0
- tccli/services/tke/v20180525/api.json +2 -2
- tccli/services/trro/trro_client.py +269 -4
- tccli/services/trro/v20220325/api.json +504 -0
- tccli/services/trro/v20220325/examples.json +40 -0
- tccli/services/trtc/v20190722/api.json +10 -1
- tccli/services/vdb/v20230616/api.json +738 -15
- tccli/services/vdb/v20230616/examples.json +64 -0
- tccli/services/vdb/vdb_client.py +428 -4
- tccli/services/vod/v20180717/api.json +13 -4
- tccli/services/vod/v20180717/examples.json +4 -4
- tccli/services/vod/v20240718/api.json +985 -0
- tccli/services/vod/v20240718/examples.json +66 -0
- tccli/services/vod/vod_client.py +330 -12
- tccli/services/wedata/v20210820/api.json +453 -0
- tccli/services/wedata/v20210820/examples.json +22 -0
- tccli/services/wedata/wedata_client.py +114 -8
- tccli/services/weilingwith/v20230427/api.json +10 -10
- {tccli-3.0.1296.1.dist-info → tccli-3.0.1298.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1296.1.dist-info → tccli-3.0.1298.1.dist-info}/RECORD +73 -73
- {tccli-3.0.1296.1.dist-info → tccli-3.0.1298.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1296.1.dist-info → tccli-3.0.1298.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1296.1.dist-info → tccli-3.0.1298.1.dist-info}/license_files/LICENSE +0 -0
@@ -432,7 +432,7 @@
|
|
432
432
|
{
|
433
433
|
"document": " ",
|
434
434
|
"input": "POST / HTTP/1.1\nHost: dnspod.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRecordSnapshotRollbackResult\n<公共请求参数>\n\n{\n \"Domain\": \"domain.com\",\n \"JobId\": 1111\n}",
|
435
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"c8a5c989-0d6d-4335-928c-266fe831adc8\",\n \"FailedRecordList\": [\n {\n \"RecordId\": \"0\",\n \"SubDomain\": \"no_line\",\n \"RecordType\": \"A\",\n \"RecordLine\": \"测试啊\",\n \"Value\": \"0.0.0.1\",\n \"TTL\": \"600\",\n \"MX\": null\n }\n ],\n \"JobId\": 1111,\n \"Status\": \"ok\",\n \"Domain\": \"domain.com\",\n \"Progress\": 100,\n \"LeftMinutes\": 0,\n \"Total\": 1,\n \"Failed\": 1,\n \"Success\": 0,\n \"CosUrl\": \"https://newdnspod-1252120672.cos.ap-shanghai.myqcloud.com/snapshot_rollback_91724229_xx.csv\"\n }\n}",
|
435
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c8a5c989-0d6d-4335-928c-266fe831adc8\",\n \"FailedRecordList\": [\n {\n \"RecordId\": \"0\",\n \"SubDomain\": \"no_line\",\n \"RecordType\": \"A\",\n \"RecordLine\": \"测试啊\",\n \"Value\": \"0.0.0.1\",\n \"TTL\": \"600\",\n \"MX\": null,\n \"Weight\": \"20\",\n \"Reason\": \"记录重复\"\n }\n ],\n \"JobId\": 1111,\n \"Status\": \"ok\",\n \"Domain\": \"domain.com\",\n \"Progress\": 100,\n \"LeftMinutes\": 0,\n \"Total\": 1,\n \"Failed\": 1,\n \"Success\": 0,\n \"CosUrl\": \"https://newdnspod-1252120672.cos.ap-shanghai.myqcloud.com/snapshot_rollback_91724229_xx.csv\"\n }\n}",
|
436
436
|
"title": "查询解析记录重新回滚的结果"
|
437
437
|
}
|
438
438
|
],
|
@@ -10063,13 +10063,13 @@
|
|
10063
10063
|
},
|
10064
10064
|
{
|
10065
10065
|
"disabled": false,
|
10066
|
-
"document": "
|
10066
|
+
"document": "当前状态能进行的操作\n注意:此字段可能返回 null,表示取不到有效值。",
|
10067
10067
|
"example": "[\"pause\",\"stop\",\"limitRate\",\"view\",\"resize\",\"isolate\",\"postPay2prePay\",\"configureOptObj\"]",
|
10068
10068
|
"member": "string",
|
10069
10069
|
"name": "Actions",
|
10070
10070
|
"output_required": true,
|
10071
10071
|
"type": "list",
|
10072
|
-
"value_allowed_null":
|
10072
|
+
"value_allowed_null": true
|
10073
10073
|
},
|
10074
10074
|
{
|
10075
10075
|
"disabled": false,
|
@@ -3886,7 +3886,7 @@
|
|
3886
3886
|
},
|
3887
3887
|
{
|
3888
3888
|
"disabled": false,
|
3889
|
-
"document": "
|
3889
|
+
"document": "发起的时候合成到PDF上的填写控件(需要提供填写控件的内容)\n<ul><li> 单行文本控件 </li>\n<li> 多行文本控件 </li>\n<li> 勾选框控件 </li>\n<li> 数字控件 </li>\n<li> 图片控件 </li>\n<li> 水印控件等 </li>\n</ul>",
|
3890
3890
|
"example": "无",
|
3891
3891
|
"member": "Component",
|
3892
3892
|
"name": "Components",
|
@@ -2611,7 +2611,7 @@
|
|
2611
2611
|
},
|
2612
2612
|
{
|
2613
2613
|
"disabled": false,
|
2614
|
-
"document": "在短信通知、填写、签署流程中,若标题、按钮、合同详情等地方存在“合同”字样时,可根据此配置指定文案,可选文案如下: <ul><li> <b>0</b> :合同(默认值)</li> <li> <b>1</b> :文件</li> <li> <b>2</b> :协议</li></ul>效果如下:",
|
2614
|
+
"document": "在短信通知、填写、签署流程中,若标题、按钮、合同详情等地方存在“合同”字样时,可根据此配置指定文案,可选文案如下: <ul><li> <b>0</b> :合同(默认值)</li> <li> <b>1</b> :文件</li> <li> <b>2</b> :协议</li><li> <b>3</b> :文书</li></ul>效果如下:",
|
2615
2615
|
"example": "1",
|
2616
2616
|
"member": "int64",
|
2617
2617
|
"name": "FlowDisplayType",
|
@@ -9196,7 +9196,7 @@
|
|
9196
9196
|
{
|
9197
9197
|
"disabled": false,
|
9198
9198
|
"document": "用户合同类型id",
|
9199
|
-
"example": "
|
9199
|
+
"example": "yDwXXUUckp19hvn8URxp4X6wVwCLodx",
|
9200
9200
|
"member": "string",
|
9201
9201
|
"name": "UserFlowTypeId",
|
9202
9202
|
"required": false,
|
@@ -14009,7 +14009,7 @@
|
|
14009
14009
|
{
|
14010
14010
|
"disabled": false,
|
14011
14011
|
"document": "用户合同类型id",
|
14012
|
-
"example": "
|
14012
|
+
"example": "yDwXXUUckp19hvn8URxp4X6wVwCLodxJ",
|
14013
14013
|
"member": "string",
|
14014
14014
|
"name": "UserFlowTypeId",
|
14015
14015
|
"output_required": false,
|
@@ -14019,7 +14019,7 @@
|
|
14019
14019
|
{
|
14020
14020
|
"disabled": false,
|
14021
14021
|
"document": "用户合同类型名称",
|
14022
|
-
"example": "
|
14022
|
+
"example": "人事合同",
|
14023
14023
|
"member": "string",
|
14024
14024
|
"name": "Name",
|
14025
14025
|
"output_required": false,
|
@@ -14029,7 +14029,7 @@
|
|
14029
14029
|
{
|
14030
14030
|
"disabled": false,
|
14031
14031
|
"document": "用户合同类型的描述信息",
|
14032
|
-
"example": "
|
14032
|
+
"example": "人事合同",
|
14033
14033
|
"member": "string",
|
14034
14034
|
"name": "Description",
|
14035
14035
|
"output_required": false,
|
tccli/services/gs/gs_client.py
CHANGED
@@ -225,6 +225,58 @@ def doCreateAndroidInstanceSSH(args, parsed_globals):
|
|
225
225
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
226
226
|
|
227
227
|
|
228
|
+
def doCreateAndroidInstancesScreenshot(args, parsed_globals):
|
229
|
+
g_param = parse_global_arg(parsed_globals)
|
230
|
+
|
231
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
232
|
+
cred = credential.CVMRoleCredential()
|
233
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
234
|
+
cred = credential.STSAssumeRoleCredential(
|
235
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
236
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
237
|
+
)
|
238
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
239
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
240
|
+
else:
|
241
|
+
cred = credential.Credential(
|
242
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
243
|
+
)
|
244
|
+
http_profile = HttpProfile(
|
245
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
246
|
+
reqMethod="POST",
|
247
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
248
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
249
|
+
)
|
250
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
251
|
+
if g_param[OptionsDefine.Language]:
|
252
|
+
profile.language = g_param[OptionsDefine.Language]
|
253
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
254
|
+
client = mod.GsClient(cred, g_param[OptionsDefine.Region], profile)
|
255
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
256
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
257
|
+
model = models.CreateAndroidInstancesScreenshotRequest()
|
258
|
+
model.from_json_string(json.dumps(args))
|
259
|
+
start_time = time.time()
|
260
|
+
while True:
|
261
|
+
rsp = client.CreateAndroidInstancesScreenshot(model)
|
262
|
+
result = rsp.to_json_string()
|
263
|
+
try:
|
264
|
+
json_obj = json.loads(result)
|
265
|
+
except TypeError as e:
|
266
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
267
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
268
|
+
break
|
269
|
+
cur_time = time.time()
|
270
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
271
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
272
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
273
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
274
|
+
else:
|
275
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
276
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
277
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
278
|
+
|
279
|
+
|
228
280
|
def doUninstallAndroidInstancesApp(args, parsed_globals):
|
229
281
|
g_param = parse_global_arg(parsed_globals)
|
230
282
|
|
@@ -2216,6 +2268,7 @@ ACTION_MAP = {
|
|
2216
2268
|
"SyncExecuteCommandOnAndroidInstances": doSyncExecuteCommandOnAndroidInstances,
|
2217
2269
|
"StartPublishStreamToCSS": doStartPublishStreamToCSS,
|
2218
2270
|
"CreateAndroidInstanceSSH": doCreateAndroidInstanceSSH,
|
2271
|
+
"CreateAndroidInstancesScreenshot": doCreateAndroidInstancesScreenshot,
|
2219
2272
|
"UninstallAndroidInstancesApp": doUninstallAndroidInstancesApp,
|
2220
2273
|
"CreateAndroidInstanceImage": doCreateAndroidInstanceImage,
|
2221
2274
|
"DescribeInstancesCount": doDescribeInstancesCount,
|
@@ -49,6 +49,13 @@
|
|
49
49
|
"output": "CreateAndroidInstancesResponse",
|
50
50
|
"status": "online"
|
51
51
|
},
|
52
|
+
"CreateAndroidInstancesScreenshot": {
|
53
|
+
"document": "安卓实例截图",
|
54
|
+
"input": "CreateAndroidInstancesScreenshotRequest",
|
55
|
+
"name": "安卓实例截图",
|
56
|
+
"output": "CreateAndroidInstancesScreenshotResponse",
|
57
|
+
"status": "online"
|
58
|
+
},
|
52
59
|
"CreateSession": {
|
53
60
|
"document": "创建会话",
|
54
61
|
"input": "CreateSessionRequest",
|
@@ -354,6 +361,16 @@
|
|
354
361
|
"output_required": true,
|
355
362
|
"type": "string",
|
356
363
|
"value_allowed_null": false
|
364
|
+
},
|
365
|
+
{
|
366
|
+
"disabled": false,
|
367
|
+
"document": "用户 Id",
|
368
|
+
"example": "userId",
|
369
|
+
"member": "string",
|
370
|
+
"name": "UserId",
|
371
|
+
"output_required": false,
|
372
|
+
"type": "string",
|
373
|
+
"value_allowed_null": false
|
357
374
|
}
|
358
375
|
],
|
359
376
|
"usage": "out"
|
@@ -1182,6 +1199,43 @@
|
|
1182
1199
|
],
|
1183
1200
|
"type": "object"
|
1184
1201
|
},
|
1202
|
+
"CreateAndroidInstancesScreenshotRequest": {
|
1203
|
+
"document": "CreateAndroidInstancesScreenshot请求参数结构体",
|
1204
|
+
"members": [
|
1205
|
+
{
|
1206
|
+
"disabled": false,
|
1207
|
+
"document": "实例 ID 列表",
|
1208
|
+
"example": "[ \"cai-abcd1234\" ]",
|
1209
|
+
"member": "string",
|
1210
|
+
"name": "AndroidInstanceIds",
|
1211
|
+
"required": true,
|
1212
|
+
"type": "list"
|
1213
|
+
}
|
1214
|
+
],
|
1215
|
+
"type": "object"
|
1216
|
+
},
|
1217
|
+
"CreateAndroidInstancesScreenshotResponse": {
|
1218
|
+
"document": "CreateAndroidInstancesScreenshot返回参数结构体",
|
1219
|
+
"members": [
|
1220
|
+
{
|
1221
|
+
"disabled": false,
|
1222
|
+
"document": "任务列表",
|
1223
|
+
"example": "无",
|
1224
|
+
"member": "AndroidInstanceTask",
|
1225
|
+
"name": "TaskSet",
|
1226
|
+
"output_required": true,
|
1227
|
+
"type": "list",
|
1228
|
+
"value_allowed_null": false
|
1229
|
+
},
|
1230
|
+
{
|
1231
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1232
|
+
"member": "string",
|
1233
|
+
"name": "RequestId",
|
1234
|
+
"type": "string"
|
1235
|
+
}
|
1236
|
+
],
|
1237
|
+
"type": "object"
|
1238
|
+
},
|
1185
1239
|
"CreateSessionRequest": {
|
1186
1240
|
"document": "CreateSession请求参数结构体",
|
1187
1241
|
"members": [
|
@@ -1484,6 +1538,15 @@
|
|
1484
1538
|
"name": "AndroidAppIds",
|
1485
1539
|
"required": false,
|
1486
1540
|
"type": "list"
|
1541
|
+
},
|
1542
|
+
{
|
1543
|
+
"disabled": false,
|
1544
|
+
"document": "过滤条件",
|
1545
|
+
"example": "[{\"Name\":\"UserId\",\"Values\":[\"user1\"]}]\t",
|
1546
|
+
"member": "Filter",
|
1547
|
+
"name": "Filters",
|
1548
|
+
"required": false,
|
1549
|
+
"type": "list"
|
1487
1550
|
}
|
1488
1551
|
],
|
1489
1552
|
"type": "object"
|
@@ -56,6 +56,14 @@
|
|
56
56
|
"title": "CreateAndroidInstances"
|
57
57
|
}
|
58
58
|
],
|
59
|
+
"CreateAndroidInstancesScreenshot": [
|
60
|
+
{
|
61
|
+
"document": "安卓实例截图",
|
62
|
+
"input": "POST / HTTP/1.1\nHost: gs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAndroidInstancesScreenshot\n<公共请求参数>\n\n{\n \"AndroidInstanceIds\": [\n \"cai-abcd1234\"\n ]\n}",
|
63
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"9d287fa8-d66f-4dd8-b3c6-5bca07f6a162\",\n \"TaskSet\": [\n {\n \"AndroidInstanceId\": \"cai-abcd1234\",\n \"TaskId\": \"78bb4db4-fd51-454d-9ddb-2047db5b3ef6\"\n }\n ]\n }\n}",
|
64
|
+
"title": "安卓实例截图"
|
65
|
+
}
|
66
|
+
],
|
59
67
|
"CreateSession": [
|
60
68
|
{
|
61
69
|
"document": "锁定实例后,创建会话,以连接实例",
|
@@ -84,7 +92,7 @@
|
|
84
92
|
{
|
85
93
|
"document": "查询安卓应用信息",
|
86
94
|
"input": "POST / HTTP/1.1\nHost: gs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAndroidApps\n<公共请求参数>\n\n{\n \"Offset\": 2,\n \"Limit\": 2\n}",
|
87
|
-
"output": "{\n \"Response\": {\n \"Apps\": [\n {\n \"AndroidAppId\": \"apk-ne70ubtu\",\n \"AndroidAppVersionInfo\": [\n {\n \"AndroidAppVersion\": \"1705404913631168348\",\n \"CreateTime\": \"2024-01-16T11:36:20Z\",\n \"State\": \"CREATE_SUCCESS\"\n },\n {\n \"AndroidAppVersion\": \"1705406075397560877\",\n \"CreateTime\": \"2024-01-16T11:54:35Z\",\n \"State\": \"CREATE_FAIL\"\n }\n ],\n \"Name\": \"控制台测试1\",\n \"State\": \"ONLINE\",\n \"CreateTime\": \"2024-01-16T11:54:35Z\"\n },\n {\n \"AndroidAppId\": \"apk-d6fyydrc\",\n \"AndroidAppVersionInfo\": null,\n \"Name\": \"控制台测试1\",\n \"State\": \"ONLINE\",\n \"CreateTime\": \"2024-01-16T11:54:35Z\"\n }\n ],\n \"RequestId\": \"5eae7edb-7e12-451e-a4c1-7cf0b777c6e7\",\n \"TotalCount\": 2\n }\n}",
|
95
|
+
"output": "{\n \"Response\": {\n \"Apps\": [\n {\n \"AndroidAppId\": \"apk-ne70ubtu\",\n \"AndroidAppVersionInfo\": [\n {\n \"AndroidAppVersion\": \"1705404913631168348\",\n \"CreateTime\": \"2024-01-16T11:36:20Z\",\n \"State\": \"CREATE_SUCCESS\"\n },\n {\n \"AndroidAppVersion\": \"1705406075397560877\",\n \"CreateTime\": \"2024-01-16T11:54:35Z\",\n \"State\": \"CREATE_FAIL\"\n }\n ],\n \"Name\": \"控制台测试1\",\n \"State\": \"ONLINE\",\n \"UserId\": \"user1\",\n \"CreateTime\": \"2024-01-16T11:54:35Z\"\n },\n {\n \"AndroidAppId\": \"apk-d6fyydrc\",\n \"AndroidAppVersionInfo\": null,\n \"Name\": \"控制台测试1\",\n \"State\": \"ONLINE\",\n \"UserId\": \"user2\",\n \"CreateTime\": \"2024-01-16T11:54:35Z\"\n }\n ],\n \"RequestId\": \"5eae7edb-7e12-451e-a4c1-7cf0b777c6e7\",\n \"TotalCount\": 2\n }\n}",
|
88
96
|
"title": "查询安卓应用信息"
|
89
97
|
}
|
90
98
|
],
|
@@ -315,23 +315,23 @@
|
|
315
315
|
"members": [
|
316
316
|
{
|
317
317
|
"disabled": false,
|
318
|
-
"document": "
|
318
|
+
"document": "应用总数",
|
319
319
|
"example": "1",
|
320
320
|
"member": "int64",
|
321
321
|
"name": "TotalCount",
|
322
322
|
"output_required": true,
|
323
323
|
"type": "int",
|
324
|
-
"value_allowed_null":
|
324
|
+
"value_allowed_null": false
|
325
325
|
},
|
326
326
|
{
|
327
327
|
"disabled": false,
|
328
|
-
"document": "
|
328
|
+
"document": "分页返回的应用列表",
|
329
329
|
"example": "[{\"ApplicationId\":\"app-12345678\",\"ApplicationName\":\"Llama2 13B\",\"ConfigEnvironment\":\"Ubuntu20.04, Python 3.8, Llama-2-13b-chat, CUDA 11.7, cuDNN 8, pytorch 2, JupyteLab\",\"Description\":\"xxx\",\"MinSystemDiskSize\":80}]",
|
330
330
|
"member": "ApplicationInfo",
|
331
331
|
"name": "ApplicationSet",
|
332
332
|
"output_required": true,
|
333
333
|
"type": "list",
|
334
|
-
"value_allowed_null":
|
334
|
+
"value_allowed_null": false
|
335
335
|
},
|
336
336
|
{
|
337
337
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
@@ -372,13 +372,13 @@
|
|
372
372
|
},
|
373
373
|
{
|
374
374
|
"disabled": false,
|
375
|
-
"document": "
|
375
|
+
"document": "查询结果集",
|
376
376
|
"example": "[{\"InstanceId\":\"hai-12345678\",\"AddressIp\":\"1.1.1.1\",\"Bandwidth\":5,\"TotalTrafficAmount\":500.0,\"RemainingTrafficAmount\":499.5}]",
|
377
377
|
"member": "NetworkStatus",
|
378
378
|
"name": "NetworkStatusSet",
|
379
379
|
"output_required": true,
|
380
380
|
"type": "list",
|
381
|
-
"value_allowed_null":
|
381
|
+
"value_allowed_null": false
|
382
382
|
},
|
383
383
|
{
|
384
384
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
@@ -1171,23 +1171,23 @@
|
|
1171
1171
|
"members": [
|
1172
1172
|
{
|
1173
1173
|
"disabled": false,
|
1174
|
-
"document": "
|
1174
|
+
"document": "服务名称",
|
1175
1175
|
"example": "JupyterLab",
|
1176
1176
|
"member": "string",
|
1177
1177
|
"name": "ServiceName",
|
1178
1178
|
"output_required": true,
|
1179
1179
|
"type": "string",
|
1180
|
-
"value_allowed_null":
|
1180
|
+
"value_allowed_null": false
|
1181
1181
|
},
|
1182
1182
|
{
|
1183
1183
|
"disabled": false,
|
1184
|
-
"document": "服务登录url
|
1184
|
+
"document": "服务登录url",
|
1185
1185
|
"example": "http://1.1.1.1:80/lab?token=ed68d8b88aaa15c1b8309c921ae1e76e9cf0ff48d3fb6407b7beb41b716f464e",
|
1186
1186
|
"member": "string",
|
1187
1187
|
"name": "Url",
|
1188
1188
|
"output_required": false,
|
1189
1189
|
"type": "string",
|
1190
|
-
"value_allowed_null":
|
1190
|
+
"value_allowed_null": false
|
1191
1191
|
}
|
1192
1192
|
],
|
1193
1193
|
"usage": "out"
|
@@ -1660,36 +1660,36 @@
|
|
1660
1660
|
"members": [
|
1661
1661
|
{
|
1662
1662
|
"disabled": false,
|
1663
|
-
"document": "
|
1663
|
+
"document": "系统盘类型。取值范围:<li>CLOUD_PREMIUM:高性能云硬盘</li><li>CLOUD_HSSD:增强型SSD云盘</li>默认取值:当前有库存的硬盘类型。",
|
1664
1664
|
"example": "CLOUD_PREMIUM",
|
1665
1665
|
"member": "string",
|
1666
1666
|
"name": "DiskType",
|
1667
1667
|
"output_required": false,
|
1668
1668
|
"required": false,
|
1669
1669
|
"type": "string",
|
1670
|
-
"value_allowed_null":
|
1670
|
+
"value_allowed_null": false
|
1671
1671
|
},
|
1672
1672
|
{
|
1673
1673
|
"disabled": false,
|
1674
|
-
"document": "系统盘大小,单位:GB。默认值为 80
|
1674
|
+
"document": "系统盘大小,单位:GB。默认值为 80",
|
1675
1675
|
"example": "250",
|
1676
1676
|
"member": "int64",
|
1677
1677
|
"name": "DiskSize",
|
1678
1678
|
"output_required": false,
|
1679
1679
|
"required": false,
|
1680
1680
|
"type": "int",
|
1681
|
-
"value_allowed_null":
|
1681
|
+
"value_allowed_null": false
|
1682
1682
|
},
|
1683
1683
|
{
|
1684
1684
|
"disabled": false,
|
1685
|
-
"document": "
|
1685
|
+
"document": "系统盘分区盘符",
|
1686
1686
|
"example": "vda2",
|
1687
1687
|
"member": "string",
|
1688
1688
|
"name": "DiskName",
|
1689
1689
|
"output_required": false,
|
1690
1690
|
"required": false,
|
1691
1691
|
"type": "string",
|
1692
|
-
"value_allowed_null":
|
1692
|
+
"value_allowed_null": false
|
1693
1693
|
}
|
1694
1694
|
],
|
1695
1695
|
"usage": "both"
|
@@ -400,7 +400,7 @@
|
|
400
400
|
"status": "online"
|
401
401
|
},
|
402
402
|
"ReplaceTopicRule": {
|
403
|
-
"document": "本接口(ReplaceTopicRule)用于修改替换规则
|
403
|
+
"document": "本接口(ReplaceTopicRule)用于修改替换规则",
|
404
404
|
"input": "ReplaceTopicRuleRequest",
|
405
405
|
"name": "替换规则",
|
406
406
|
"output": "ReplaceTopicRuleResponse",
|
@@ -4562,10 +4562,10 @@
|
|
4562
4562
|
{
|
4563
4563
|
"disabled": false,
|
4564
4564
|
"document": "任务ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
4565
|
-
"example": "
|
4565
|
+
"example": "1134523",
|
4566
4566
|
"member": "uint64",
|
4567
4567
|
"name": "TaskId",
|
4568
|
-
"
|
4568
|
+
"output_required": true,
|
4569
4569
|
"type": "int",
|
4570
4570
|
"value_allowed_null": true
|
4571
4571
|
},
|
@@ -4575,7 +4575,7 @@
|
|
4575
4575
|
"example": "1",
|
4576
4576
|
"member": "int64",
|
4577
4577
|
"name": "Status",
|
4578
|
-
"
|
4578
|
+
"output_required": true,
|
4579
4579
|
"type": "int",
|
4580
4580
|
"value_allowed_null": true
|
4581
4581
|
},
|
@@ -4585,7 +4585,7 @@
|
|
4585
4585
|
"example": "2",
|
4586
4586
|
"member": "int64",
|
4587
4587
|
"name": "Type",
|
4588
|
-
"
|
4588
|
+
"output_required": true,
|
4589
4589
|
"type": "int",
|
4590
4590
|
"value_allowed_null": true
|
4591
4591
|
},
|
@@ -4595,7 +4595,7 @@
|
|
4595
4595
|
"example": "1617801604",
|
4596
4596
|
"member": "int64",
|
4597
4597
|
"name": "CreateTime",
|
4598
|
-
"
|
4598
|
+
"output_required": true,
|
4599
4599
|
"type": "int",
|
4600
4600
|
"value_allowed_null": true
|
4601
4601
|
}
|
@@ -5971,7 +5971,7 @@
|
|
5971
5971
|
{
|
5972
5972
|
"disabled": false,
|
5973
5973
|
"document": "替换的规则包体",
|
5974
|
-
"example": "
|
5974
|
+
"example": "topic1",
|
5975
5975
|
"member": "TopicRulePayload",
|
5976
5976
|
"name": "TopicRulePayload",
|
5977
5977
|
"required": true,
|
@@ -6348,28 +6348,25 @@
|
|
6348
6348
|
"member": "string",
|
6349
6349
|
"name": "Sql",
|
6350
6350
|
"required": true,
|
6351
|
-
"type": "string"
|
6352
|
-
"value_allowed_null": false
|
6351
|
+
"type": "string"
|
6353
6352
|
},
|
6354
6353
|
{
|
6355
6354
|
"disabled": false,
|
6356
6355
|
"document": "行为的JSON字符串,大部分种类举例如下:\n[\n {\n \"republish\": {\n \"topic\": \"TEST/test\"\n }\n },\n {\n \"forward\": {\n \"api\": \"http://127.0.0.1:8080\",\n \"token\":\"xxx\"\n }\n },\n {\n \"ckafka\": {\n \"instance\": {\n \"id\": \"ckafka-test\",\n \"name\": \"\"\n },\n \"topic\": {\n \"id\": \"topic-test\",\n \"name\": \"test\"\n },\n \"region\": \"gz\"\n }\n },\n {\n \"cmqqueue\": {\n \"queuename\": \"queue-test-TEST\",\n \"region\": \"gz\"\n }\n },\n {\n \"mysql\": {\n \"instanceid\": \"cdb-test\",\n \"region\": \"gz\",\n \"username\": \"test\",\n \"userpwd\": \"*****\",\n \"dbname\": \"d_mqtt\",\n \"tablename\": \"t_test\",\n \"fieldpairs\": [\n {\n \"field\": \"test\",\n \"value\": \"test\"\n }\n ],\n \"devicetype\": \"CUSTOM\"\n }\n }\n]",
|
6357
|
-
"example": "
|
6356
|
+
"example": "{\"name\",}",
|
6358
6357
|
"member": "string",
|
6359
6358
|
"name": "Actions",
|
6360
6359
|
"required": false,
|
6361
|
-
"type": "string"
|
6362
|
-
"value_allowed_null": false
|
6360
|
+
"type": "string"
|
6363
6361
|
},
|
6364
6362
|
{
|
6365
6363
|
"disabled": false,
|
6366
6364
|
"document": "规则描述",
|
6367
|
-
"example": "
|
6365
|
+
"example": "description1",
|
6368
6366
|
"member": "string",
|
6369
6367
|
"name": "Description",
|
6370
6368
|
"required": false,
|
6371
|
-
"type": "string"
|
6372
|
-
"value_allowed_null": false
|
6369
|
+
"type": "string"
|
6373
6370
|
},
|
6374
6371
|
{
|
6375
6372
|
"disabled": false,
|
@@ -6378,8 +6375,7 @@
|
|
6378
6375
|
"member": "bool",
|
6379
6376
|
"name": "RuleDisabled",
|
6380
6377
|
"required": false,
|
6381
|
-
"type": "bool"
|
6382
|
-
"value_allowed_null": false
|
6378
|
+
"type": "bool"
|
6383
6379
|
}
|
6384
6380
|
],
|
6385
6381
|
"usage": "in"
|
@@ -3,7 +3,7 @@
|
|
3
3
|
"BatchUpdateFirmware": [
|
4
4
|
{
|
5
5
|
"document": "",
|
6
|
-
"input": "https://iotcloud.tencentcloudapi.com/?Action=BatchUpdateFirmware\n&ProductId=
|
6
|
+
"input": "https://iotcloud.tencentcloudapi.com/?Action=BatchUpdateFirmware\n&ProductId=EQPOKD5123\n&FirmwareVersion=2.0.0\n&FirmwareOriVersion=1.0.0\n&Type=7\n&<公共请求参数>",
|
7
7
|
"output": "{\n \"Response\": {\n \"TaskId\": 11236,\n \"RequestId\": \"0b77fcf9-d157-4b60-9a3d-541916b48c24\"\n }\n}",
|
8
8
|
"title": "批量更新固件示例"
|
9
9
|
}
|
@@ -418,7 +418,7 @@
|
|
418
418
|
{
|
419
419
|
"document": "查询设备内容日志",
|
420
420
|
"input": "https://iotcloud.tencentcloudapi.com/?Action=ListLogPayload\n&Keywords=productid:EQPOKD5111\n&MaxTime=1606208039999\n&MinTime=1606207080000\n&<公共请求参数>",
|
421
|
-
"output": "{\n \"Response\": {\n \"Context\": \"ic0cxTVFidWRTTUZmcERXMVZR\",\n \"Listover\": false,\n \"RequestId\": \"afdc8492-1437-4237-bf53-8f96e5b3a828\",\n \"Results\": [\n {\n \"DateTime\": \"1606207990000\",\n \"DeviceName\": \"dev-001\",\n \"Payload\": \"MTIz\",\n \"PayloadFormatType\": \"json\",\n \"ProductId\": \"EQPOKD5111\",\n \"RequestId\": \"5540094755381968945\",\n \"SrcName\": \"dev-001/001\",\n \"SrcType\": \"device:DEFAULT_DEVICE\",\n \"Topic\": \"EQPOKD5111/dev-001/event\",\n \"Uin\": \"10000123456\"\n },\n {\n \"DateTime\": \"1606207844000\",\n \"DeviceName\": \"
|
421
|
+
"output": "{\n \"Response\": {\n \"Context\": \"ic0cxTVFidWRTTUZmcERXMVZR\",\n \"Listover\": false,\n \"RequestId\": \"afdc8492-1437-4237-bf53-8f96e5b3a828\",\n \"Results\": [\n {\n \"DateTime\": \"1606207990000\",\n \"DeviceName\": \"dev-001\",\n \"Payload\": \"MTIz\",\n \"PayloadFormatType\": \"json\",\n \"ProductId\": \"EQPOKD5111\",\n \"RequestId\": \"5540094755381968945\",\n \"SrcName\": \"dev-001/001\",\n \"SrcType\": \"device:DEFAULT_DEVICE\",\n \"Topic\": \"EQPOKD5111/dev-001/event\",\n \"Uin\": \"10000123456\"\n },\n {\n \"DateTime\": \"1606207844000\",\n \"DeviceName\": \"name1\",\n \"Payload\": \"MTIz\",\n \"PayloadFormatType\": \"json\",\n \"ProductId\": \"EQPOKD5111\",\n \"RequestId\": \"687643990923883336\",\n \"SrcName\": \"EQPOKD5111/dev-001\",\n \"SrcType\": \"api:DEFAULT_DEVICE\",\n \"Topic\": \"EQPOKD5111/down/control\",\n \"Uin\": \"10000123456\"\n }\n ]\n }\n}",
|
422
422
|
"title": "查询设备内容日志"
|
423
423
|
}
|
424
424
|
],
|
@@ -465,7 +465,7 @@
|
|
465
465
|
"ReplaceTopicRule": [
|
466
466
|
{
|
467
467
|
"document": "",
|
468
|
-
"input": "POST / HTTP/1.1\nHost: iotcloud.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ReplaceTopicRule\n<公共请求参数>\n\n{\n \"TopicRulePayload\": {\n \"Sql\": \"
|
468
|
+
"input": "POST / HTTP/1.1\nHost: iotcloud.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ReplaceTopicRule\n<公共请求参数>\n\n{\n \"RuleName\": \"test\",\n \"TopicRulePayload\": {\n \"Sql\": \"SELECT * FROM '#'\",\n \"Actions\": \"[1]\",\n \"Description\": \"mydescription\",\n \"RuleDisabled\": true\n }\n}",
|
469
469
|
"output": "{\n \"Response\": {\n \"RequestId\": \"be69a7a3-7315-40a7-9532-3316e4a3e97e\"\n }\n}",
|
470
470
|
"title": "替换规则示例"
|
471
471
|
}
|