tccli 3.0.1297.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/cbs/v20170312/api.json +1 -1
- 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/cvm/v20170312/api.json +2 -2
- 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/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +5 -5
- tccli/services/gs/v20191118/api.json +19 -0
- tccli/services/gs/v20191118/examples.json +1 -1
- tccli/services/hai/v20230812/api.json +16 -16
- tccli/services/iotcloud/v20210408/api.json +2 -2
- 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/live/v20180801/api.json +2 -2
- 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/tdmq/v20200217/api.json +30 -0
- tccli/services/teo/v20220901/api.json +48 -7
- tccli/services/teo/v20220901/examples.json +51 -15
- 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/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 +9 -0
- 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.1297.1.dist-info → tccli-3.0.1298.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1297.1.dist-info → tccli-3.0.1298.1.dist-info}/RECORD +50 -50
- {tccli-3.0.1297.1.dist-info → tccli-3.0.1298.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1297.1.dist-info → tccli-3.0.1298.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1297.1.dist-info → tccli-3.0.1298.1.dist-info}/license_files/LICENSE +0 -0
@@ -238,6 +238,13 @@
|
|
238
238
|
"output": "CreateSparkSessionBatchSQLResponse",
|
239
239
|
"status": "online"
|
240
240
|
},
|
241
|
+
"CreateSparkSubmitTask": {
|
242
|
+
"document": "本接口(CreateSparkSubmitTask)用于提交SparkSbumit批流任务。",
|
243
|
+
"input": "CreateSparkSubmitTaskRequest",
|
244
|
+
"name": "提交SparkSbumit批流任务",
|
245
|
+
"output": "CreateSparkSubmitTaskResponse",
|
246
|
+
"status": "online"
|
247
|
+
},
|
241
248
|
"CreateStoreLocation": {
|
242
249
|
"document": "该接口(CreateStoreLocation)新增或覆盖计算结果存储位置。",
|
243
250
|
"input": "CreateStoreLocationRequest",
|
@@ -4661,6 +4668,161 @@
|
|
4661
4668
|
],
|
4662
4669
|
"type": "object"
|
4663
4670
|
},
|
4671
|
+
"CreateSparkSubmitTaskRequest": {
|
4672
|
+
"document": "CreateSparkSubmitTask请求参数结构体",
|
4673
|
+
"members": [
|
4674
|
+
{
|
4675
|
+
"disabled": false,
|
4676
|
+
"document": "任务名称",
|
4677
|
+
"example": "test",
|
4678
|
+
"member": "string",
|
4679
|
+
"name": "TaskName",
|
4680
|
+
"required": true,
|
4681
|
+
"type": "string"
|
4682
|
+
},
|
4683
|
+
{
|
4684
|
+
"disabled": false,
|
4685
|
+
"document": "任务类型:当前支持1: BatchType, 2: StreamingType, 4: SQLType",
|
4686
|
+
"example": "1",
|
4687
|
+
"member": "uint64",
|
4688
|
+
"name": "TaskType",
|
4689
|
+
"required": true,
|
4690
|
+
"type": "int"
|
4691
|
+
},
|
4692
|
+
{
|
4693
|
+
"disabled": false,
|
4694
|
+
"document": "引擎名称,当前仅支持Spark批作业集群",
|
4695
|
+
"example": "testEngine",
|
4696
|
+
"member": "string",
|
4697
|
+
"name": "DataEngineName",
|
4698
|
+
"required": true,
|
4699
|
+
"type": "string"
|
4700
|
+
},
|
4701
|
+
{
|
4702
|
+
"disabled": false,
|
4703
|
+
"document": "指定运行的程序脚本路径,当前仅支持jar和py,对于SQLType该值设为空字符串",
|
4704
|
+
"example": "cosn://xxx.jar",
|
4705
|
+
"member": "string",
|
4706
|
+
"name": "PackagePath",
|
4707
|
+
"required": true,
|
4708
|
+
"type": "string"
|
4709
|
+
},
|
4710
|
+
{
|
4711
|
+
"disabled": false,
|
4712
|
+
"document": "指定的鉴权信息",
|
4713
|
+
"example": "1",
|
4714
|
+
"member": "int64",
|
4715
|
+
"name": "RoleArn",
|
4716
|
+
"required": true,
|
4717
|
+
"type": "int"
|
4718
|
+
},
|
4719
|
+
{
|
4720
|
+
"disabled": false,
|
4721
|
+
"document": "运行任务所需资源是否继承自集群上配置资源信息,0(默认,不继承)、1(继承,当设置为该值,则任务级资源配置可不额外指定)",
|
4722
|
+
"example": "0",
|
4723
|
+
"member": "uint64",
|
4724
|
+
"name": "IsInherit",
|
4725
|
+
"required": true,
|
4726
|
+
"type": "int"
|
4727
|
+
},
|
4728
|
+
{
|
4729
|
+
"disabled": false,
|
4730
|
+
"document": "jar任务时需要指定主程序",
|
4731
|
+
"example": "Main",
|
4732
|
+
"member": "string",
|
4733
|
+
"name": "MainClass",
|
4734
|
+
"required": false,
|
4735
|
+
"type": "string"
|
4736
|
+
},
|
4737
|
+
{
|
4738
|
+
"disabled": false,
|
4739
|
+
"document": "当前DriverSize规格仅支持(内存型集群则使用m前缀的枚举值): small/medium/large/xlarge/m.small/m.medium/m.large/m.xlarge",
|
4740
|
+
"example": "small",
|
4741
|
+
"member": "string",
|
4742
|
+
"name": "DriverSize",
|
4743
|
+
"required": false,
|
4744
|
+
"type": "string"
|
4745
|
+
},
|
4746
|
+
{
|
4747
|
+
"disabled": false,
|
4748
|
+
"document": "当前ExecutorSize规格仅支持(内存型集群则使用m前缀的枚举值): small/medium/large/xlarge/m.small/m.medium/m.large/m.xlarge",
|
4749
|
+
"example": "small",
|
4750
|
+
"member": "string",
|
4751
|
+
"name": "ExecutorSize",
|
4752
|
+
"required": false,
|
4753
|
+
"type": "string"
|
4754
|
+
},
|
4755
|
+
{
|
4756
|
+
"disabled": false,
|
4757
|
+
"document": "指定使用的executor数量,最小为1",
|
4758
|
+
"example": "1",
|
4759
|
+
"member": "uint64",
|
4760
|
+
"name": "ExecutorNumbers",
|
4761
|
+
"required": false,
|
4762
|
+
"type": "int"
|
4763
|
+
},
|
4764
|
+
{
|
4765
|
+
"disabled": false,
|
4766
|
+
"document": "指定使用的executor最大数量, 当该值大于ExecutorNums则自动开启动态",
|
4767
|
+
"example": "5",
|
4768
|
+
"member": "uint64",
|
4769
|
+
"name": "ExecutorMaxNumbers",
|
4770
|
+
"required": false,
|
4771
|
+
"type": "int"
|
4772
|
+
},
|
4773
|
+
{
|
4774
|
+
"disabled": false,
|
4775
|
+
"document": "提交任务的附加配置集合,当前支持Key包含:MAINARGS:程序入口参数,空格分割(SqlType任务通过该值指定base64加密后的sql)、SPARKCONFIG:Spark配置,以换行符分隔、ENI:Eni连接信息、DEPENDENCYPACKAGEPATH:依赖的程序包(--jars、--py-files:支持py/zip/egg等归档格式),多文件以逗号分隔、DEPENDENCYFILEPATH:依赖文件资源(--files: 非jar、zip),多文件以逗号分隔、DEPENDENCYARCHIVESPATH:依赖archives资源(--archives: 支持tar.gz/tgz/tar等归档格式),多文件以逗号分隔、MAXRETRIES:任务重试次数,非流任务默认为1、SPARKIMAGE:Spark镜像版本号,支持使用dlc镜像/用户自定的tcr镜像运行任务、SPARKIMAGEVERSION:Spark镜像版本名称,与SPARKIMAGE一一对应",
|
4776
|
+
"example": "无",
|
4777
|
+
"member": "KVPair",
|
4778
|
+
"name": "CmdArgs",
|
4779
|
+
"required": false,
|
4780
|
+
"type": "list"
|
4781
|
+
},
|
4782
|
+
{
|
4783
|
+
"disabled": false,
|
4784
|
+
"document": "任务来源信息",
|
4785
|
+
"example": "无",
|
4786
|
+
"member": "KVPair",
|
4787
|
+
"name": "SourceInfo",
|
4788
|
+
"required": false,
|
4789
|
+
"type": "list"
|
4790
|
+
}
|
4791
|
+
],
|
4792
|
+
"type": "object"
|
4793
|
+
},
|
4794
|
+
"CreateSparkSubmitTaskResponse": {
|
4795
|
+
"document": "CreateSparkSubmitTask返回参数结构体",
|
4796
|
+
"members": [
|
4797
|
+
{
|
4798
|
+
"disabled": false,
|
4799
|
+
"document": "批作业ID",
|
4800
|
+
"example": "04529f7b-2e3a-70d7-72b4-a0dd3a300c",
|
4801
|
+
"member": "string",
|
4802
|
+
"name": "BatchId",
|
4803
|
+
"output_required": false,
|
4804
|
+
"type": "string",
|
4805
|
+
"value_allowed_null": false
|
4806
|
+
},
|
4807
|
+
{
|
4808
|
+
"disabled": false,
|
4809
|
+
"document": "批任务ID,用改ID进行任务的查询与删除等",
|
4810
|
+
"example": "045sjeb-2e3a-70d7-72b4-a0dd3a300c",
|
4811
|
+
"member": "string",
|
4812
|
+
"name": "TaskId",
|
4813
|
+
"output_required": false,
|
4814
|
+
"type": "string",
|
4815
|
+
"value_allowed_null": false
|
4816
|
+
},
|
4817
|
+
{
|
4818
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4819
|
+
"member": "string",
|
4820
|
+
"name": "RequestId",
|
4821
|
+
"type": "string"
|
4822
|
+
}
|
4823
|
+
],
|
4824
|
+
"type": "object"
|
4825
|
+
},
|
4664
4826
|
"CreateStoreLocationRequest": {
|
4665
4827
|
"document": "CreateStoreLocation请求参数结构体",
|
4666
4828
|
"members": [
|
@@ -272,6 +272,14 @@
|
|
272
272
|
"title": "创建并执行Spark SQL批任务"
|
273
273
|
}
|
274
274
|
],
|
275
|
+
"CreateSparkSubmitTask": [
|
276
|
+
{
|
277
|
+
"document": "本接口用于提交SparkSubmit任务",
|
278
|
+
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSparkSubmitTask\n<公共请求参数>\n\n{\n \"TaskName\": \"test\",\n \"TaskType\": 1,\n \"DataEngineName\": \"testEngine\",\n \"PackagePath\": \"cosn://xxx.jar\",\n \"MainClass\": \"Main\",\n \"RoleArn\": 0,\n \"IsInherit\": 1,\n \"DriverSize\": \"small\",\n \"ExecutorSize\": \"small\",\n \"ExecutorNumbers\": 1,\n \"ExecutorMaxNumbers\": 1,\n \"CmdArgs\": [\n {\n \"Key\": \"MAINARGS\",\n \"Value\": \"xejalljhhlJFJLd1gl\"\n }\n ]\n}",
|
279
|
+
"output": "{\n \"Response\": {\n \"BatchId\": \"2ade477a-9f72-44aa-9fd4-65cb739d6301\",\n \"TaskId\": \"2ae0ds7a-9f72-44aa-9fd4-65cb739d6301\",\n \"RequestId\": \"2ae4707a-9f72-44aa-9fd4-65cb739d6301\"\n }\n}",
|
280
|
+
"title": "提交SparkSubmit任务"
|
281
|
+
}
|
282
|
+
],
|
275
283
|
"CreateStoreLocation": [
|
276
284
|
{
|
277
285
|
"document": "",
|
@@ -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,
|
@@ -361,6 +361,16 @@
|
|
361
361
|
"output_required": true,
|
362
362
|
"type": "string",
|
363
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
|
364
374
|
}
|
365
375
|
],
|
366
376
|
"usage": "out"
|
@@ -1528,6 +1538,15 @@
|
|
1528
1538
|
"name": "AndroidAppIds",
|
1529
1539
|
"required": false,
|
1530
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"
|
1531
1550
|
}
|
1532
1551
|
],
|
1533
1552
|
"type": "object"
|
@@ -92,7 +92,7 @@
|
|
92
92
|
{
|
93
93
|
"document": "查询安卓应用信息",
|
94
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}",
|
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 \"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}",
|
96
96
|
"title": "查询安卓应用信息"
|
97
97
|
}
|
98
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",
|
@@ -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,
|
@@ -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
|
}
|