tccli 3.0.1394.1__py2.py3-none-any.whl → 3.0.1396.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/ai3d/v20250513/api.json +3 -3
- tccli/services/billing/v20180709/api.json +36 -24
- tccli/services/cam/v20190116/api.json +1 -1
- tccli/services/ccc/ccc_client.py +125 -72
- tccli/services/ccc/v20200210/api.json +97 -0
- tccli/services/ccc/v20200210/examples.json +8 -0
- tccli/services/cdn/cdn_client.py +4 -163
- tccli/services/cdn/v20180606/api.json +0 -297
- tccli/services/cdn/v20180606/examples.json +0 -24
- tccli/services/cfw/v20190904/api.json +121 -9
- tccli/services/ckafka/v20190819/api.json +21 -1
- tccli/services/ckafka/v20190819/examples.json +1 -1
- tccli/services/ctem/v20231128/api.json +290 -0
- tccli/services/ctem/v20231128/examples.json +3 -3
- tccli/services/emr/v20190103/api.json +36 -7
- tccli/services/ess/v20201111/api.json +7 -7
- tccli/services/ess/v20201111/examples.json +6 -6
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/essbasic/v20210526/examples.json +2 -2
- tccli/services/iai/v20180301/api.json +131 -118
- tccli/services/iai/v20180301/examples.json +22 -22
- tccli/services/iai/v20200303/api.json +3 -3
- tccli/services/iai/v20200303/examples.json +1 -1
- tccli/services/iotexplorer/iotexplorer_client.py +57 -4
- tccli/services/iotexplorer/v20190423/api.json +87 -0
- tccli/services/iotexplorer/v20190423/examples.json +8 -0
- tccli/services/lcic/v20220817/api.json +6 -6
- tccli/services/lighthouse/v20200324/api.json +113 -9
- tccli/services/lighthouse/v20200324/examples.json +2 -2
- tccli/services/lke/lke_client.py +0 -106
- tccli/services/lke/v20231130/api.json +0 -106
- tccli/services/lke/v20231130/examples.json +0 -16
- tccli/services/lkeap/v20240522/api.json +1 -1
- tccli/services/mongodb/v20190725/api.json +38 -36
- tccli/services/mongodb/v20190725/examples.json +3 -3
- tccli/services/mps/mps_client.py +220 -8
- tccli/services/mps/v20190612/api.json +420 -3
- tccli/services/mps/v20190612/examples.json +50 -0
- tccli/services/organization/v20210331/api.json +6 -6
- tccli/services/redis/v20180412/api.json +12 -12
- tccli/services/tcss/v20201101/api.json +21 -1
- tccli/services/teo/v20220901/api.json +10 -0
- tccli/services/trtc/v20190722/api.json +10 -10
- tccli/services/tse/v20201207/api.json +39 -1
- tccli/services/tse/v20201207/examples.json +3 -3
- tccli/services/vpc/v20170312/api.json +3 -3
- tccli/services/waf/v20180125/api.json +792 -142
- tccli/services/waf/v20180125/examples.json +1 -1
- tccli/services/wedata/v20250806/api.json +5 -5
- {tccli-3.0.1394.1.dist-info → tccli-3.0.1396.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1394.1.dist-info → tccli-3.0.1396.1.dist-info}/RECORD +55 -55
- {tccli-3.0.1394.1.dist-info → tccli-3.0.1396.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1394.1.dist-info → tccli-3.0.1396.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1394.1.dist-info → tccli-3.0.1396.1.dist-info}/license_files/LICENSE +0 -0
@@ -1318,7 +1318,7 @@
|
|
1318
1318
|
{
|
1319
1319
|
"disabled": false,
|
1320
1320
|
"document": "镜像关联使用场景Id列表。",
|
1321
|
-
"example": "[\"lhsc-
|
1321
|
+
"example": "[\"lhsc-3bzsddow\",\"lhsc-h0ug8jtq\"]",
|
1322
1322
|
"member": "string",
|
1323
1323
|
"name": "SceneIdSet",
|
1324
1324
|
"output_required": true,
|
@@ -1344,6 +1344,16 @@
|
|
1344
1344
|
"output_required": true,
|
1345
1345
|
"type": "bool",
|
1346
1346
|
"value_allowed_null": false
|
1347
|
+
},
|
1348
|
+
{
|
1349
|
+
"disabled": false,
|
1350
|
+
"document": "镜像绑定的标签列表。",
|
1351
|
+
"example": "无",
|
1352
|
+
"member": "Tag",
|
1353
|
+
"name": "Tags",
|
1354
|
+
"output_required": false,
|
1355
|
+
"type": "list",
|
1356
|
+
"value_allowed_null": false
|
1347
1357
|
}
|
1348
1358
|
],
|
1349
1359
|
"usage": "out"
|
@@ -1791,11 +1801,20 @@
|
|
1791
1801
|
{
|
1792
1802
|
"disabled": false,
|
1793
1803
|
"document": "是否执行强制关机以制作镜像。\n取值范围:\nTrue:表示关机之后制作镜像\nFalse:表示开机状态制作镜像\n默认取值:True\n开机状态制作镜像,可能导致部分数据未备份,影响数据安全。",
|
1794
|
-
"example": "
|
1804
|
+
"example": "true",
|
1795
1805
|
"member": "bool",
|
1796
1806
|
"name": "ForcePowerOff",
|
1797
1807
|
"required": false,
|
1798
1808
|
"type": "bool"
|
1809
|
+
},
|
1810
|
+
{
|
1811
|
+
"disabled": false,
|
1812
|
+
"document": "标签键和标签值。 如果指定多个标签,则会为指定资源同时创建并绑定该多个标签。 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。 如果标签不存在会为您自动创建标签。 数组最多支持10个元素。",
|
1813
|
+
"example": "无",
|
1814
|
+
"member": "Tag",
|
1815
|
+
"name": "Tags",
|
1816
|
+
"required": false,
|
1817
|
+
"type": "list"
|
1799
1818
|
}
|
1800
1819
|
],
|
1801
1820
|
"type": "object"
|
@@ -1842,6 +1861,15 @@
|
|
1842
1861
|
"name": "DiskBackupName",
|
1843
1862
|
"required": false,
|
1844
1863
|
"type": "string"
|
1864
|
+
},
|
1865
|
+
{
|
1866
|
+
"disabled": false,
|
1867
|
+
"document": "标签键和标签值。 如果指定多个标签,则会为指定资源同时创建并绑定该多个标签。 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。 如果标签不存在会为您自动创建标签。 数组最多支持10个元素。",
|
1868
|
+
"example": "无",
|
1869
|
+
"member": "Tag",
|
1870
|
+
"name": "Tags",
|
1871
|
+
"required": false,
|
1872
|
+
"type": "list"
|
1845
1873
|
}
|
1846
1874
|
],
|
1847
1875
|
"type": "object"
|
@@ -1951,6 +1979,15 @@
|
|
1951
1979
|
"name": "AutoMountConfiguration",
|
1952
1980
|
"required": false,
|
1953
1981
|
"type": "object"
|
1982
|
+
},
|
1983
|
+
{
|
1984
|
+
"disabled": false,
|
1985
|
+
"document": "标签键和标签值。 如果指定多个标签,则会为指定资源同时创建并绑定该多个标签。 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。 如果标签不存在会为您自动创建标签。 数组最多支持10个元素。",
|
1986
|
+
"example": "无",
|
1987
|
+
"member": "Tag",
|
1988
|
+
"name": "Tags",
|
1989
|
+
"required": false,
|
1990
|
+
"type": "list"
|
1954
1991
|
}
|
1955
1992
|
],
|
1956
1993
|
"type": "object"
|
@@ -2134,6 +2171,15 @@
|
|
2134
2171
|
"name": "SnapshotName",
|
2135
2172
|
"required": false,
|
2136
2173
|
"type": "string"
|
2174
|
+
},
|
2175
|
+
{
|
2176
|
+
"disabled": false,
|
2177
|
+
"document": "标签键和标签值。 如果指定多个标签,则会为指定资源同时创建并绑定该多个标签。 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。 如果标签不存在会为您自动创建标签。 数组最多支持10个元素。",
|
2178
|
+
"example": "无",
|
2179
|
+
"member": "Tag",
|
2180
|
+
"name": "Tags",
|
2181
|
+
"required": false,
|
2182
|
+
"type": "list"
|
2137
2183
|
}
|
2138
2184
|
],
|
2139
2185
|
"type": "object"
|
@@ -2343,6 +2389,15 @@
|
|
2343
2389
|
"name": "KeyName",
|
2344
2390
|
"required": true,
|
2345
2391
|
"type": "string"
|
2392
|
+
},
|
2393
|
+
{
|
2394
|
+
"disabled": false,
|
2395
|
+
"document": "标签键和标签值。 如果指定多个标签,则会为指定资源同时创建并绑定该多个标签。 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。 如果标签不存在会为您自动创建标签。 数组最多支持10个元素。",
|
2396
|
+
"example": "无",
|
2397
|
+
"member": "Tag",
|
2398
|
+
"name": "Tags",
|
2399
|
+
"required": false,
|
2400
|
+
"type": "list"
|
2346
2401
|
}
|
2347
2402
|
],
|
2348
2403
|
"type": "object"
|
@@ -2904,7 +2959,7 @@
|
|
2904
2959
|
},
|
2905
2960
|
{
|
2906
2961
|
"disabled": false,
|
2907
|
-
"document": "过滤器列表。\n<li>blueprint-id</li>按照【镜像 ID】进行过滤。\n类型:String\n必选:否\n镜像 ID ,可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值字段BlueprintSet获取。\n<li>blueprint-type</li>按照【镜像类型】进行过滤。\n取值:APP_OS(应用镜像 );PURE_OS(系统镜像);DOCKER(Docker容器镜像);PRIVATE(自定义镜像);SHARED(共享镜像)。\n类型:String\n必选:否\n<li>platform-type</li>按照【镜像平台类型】进行过滤。\n取值: LINUX_UNIX(Linux/Unix系统);WINDOWS(Windows 系统)。\n类型:String\n必选:否\n<li>blueprint-name</li>按照【镜像名称】进行过滤。\n类型:String\n必选:否\n<li>blueprint-state</li>按照【镜像状态】进行过滤。\n类型:String\n必选:否\n镜像状态,可通过[数据结构Blueprint](https://cloud.tencent.com/document/api/1207/47576#Blueprint)中的BlueprintState来获取。\n<li>scene-id</li>按照【使用场景Id】进行过滤。\n类型:String\n必选:否\n场景Id,可通过[查看使用场景列表](https://cloud.tencent.com/document/product/1207/83512)接口获取。\n
|
2962
|
+
"document": "过滤器列表。\n<li>blueprint-id</li>按照【镜像 ID】进行过滤。\n类型:String\n必选:否\n镜像 ID ,可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值字段BlueprintSet获取。\n<li>blueprint-type</li>按照【镜像类型】进行过滤。\n取值:APP_OS(应用镜像 );PURE_OS(系统镜像);DOCKER(Docker容器镜像);PRIVATE(自定义镜像);SHARED(共享镜像)。\n类型:String\n必选:否\n<li>platform-type</li>按照【镜像平台类型】进行过滤。\n取值: LINUX_UNIX(Linux/Unix系统);WINDOWS(Windows 系统)。\n类型:String\n必选:否\n<li>blueprint-name</li>按照【镜像名称】进行过滤。\n类型:String\n必选:否\n<li>blueprint-state</li>按照【镜像状态】进行过滤。\n类型:String\n必选:否\n镜像状态,可通过[数据结构Blueprint](https://cloud.tencent.com/document/api/1207/47576#Blueprint)中的BlueprintState来获取。\n<li>scene-id</li>按照【使用场景Id】进行过滤。\n类型:String\n必选:否\n场景Id,可通过[查看使用场景列表](https://cloud.tencent.com/document/product/1207/83512)接口获取。\n<li>tag-key</li>\n按照【标签键】进行过滤。 类型:String 必选:否\n<li>tag-value</li>\n按照【标签值】进行过滤。 类型:String 必选:否\n<li>tag:tag-key</li>\n按照【标签键值对】进行过滤。 tag-key使用具体的标签键进行替换。\n每次请求的 Filters 的上限为 10,Filter.Values 的上限为 100。参数不支持同时指定 BlueprintIds (可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值字段BlueprintSet获取BlueprintId)和 Filters 。",
|
2908
2963
|
"example": "无",
|
2909
2964
|
"member": "Filter",
|
2910
2965
|
"name": "Filters",
|
@@ -3154,7 +3209,7 @@
|
|
3154
3209
|
},
|
3155
3210
|
{
|
3156
3211
|
"disabled": false,
|
3157
|
-
"document": "过滤器列表。\n<li>disk-backup-id</li>按照【云硬盘备份点 ID】进行过滤。\n类型:String\n必选:否\n<li>disk-id</li>按照【云硬盘 ID】进行过滤。\n类型:String\n必选:否\n<li>disk-backup-state</li>按照【云硬盘备份点状态】进行过滤。\n类型:String\n必选:否\n取值:参考数据结构 [DiskBackup](https://cloud.tencent.com/document/product/1207/47576#DiskBackup) 下的DiskBackupState取值。\n<li>disk-usage</li>按照【云硬盘类型】进行过滤。\n类型:String\n必选:否\n取值:\n- SYSTEM_DISK - 系统盘\n- DATA_DISK - 数据盘\n
|
3212
|
+
"document": "过滤器列表。\n<li>disk-backup-id</li>按照【云硬盘备份点 ID】进行过滤。\n类型:String\n必选:否\n<li>disk-id</li>按照【云硬盘 ID】进行过滤。\n类型:String\n必选:否\n<li>disk-backup-state</li>按照【云硬盘备份点状态】进行过滤。\n类型:String\n必选:否\n取值:参考数据结构 [DiskBackup](https://cloud.tencent.com/document/product/1207/47576#DiskBackup) 下的DiskBackupState取值。\n<li>disk-usage</li>按照【云硬盘类型】进行过滤。\n类型:String\n必选:否\n取值:\n- SYSTEM_DISK - 系统盘\n- DATA_DISK - 数据盘\n<li>tag-key</li>\n按照【标签键】进行过滤。 类型:String 必选:否\n<li>tag-value</li>\n按照【标签值】进行过滤。 类型:String 必选:否\n<li>tag:tag-key</li>\n按照【标签键值对】进行过滤。 tag-key使用具体的标签键进行替换。\n每次请求的 Filters 的上限为 10,Filter.Values 的上限为5。参数不支持同时指定DiskBackupIds 和 Filters。",
|
3158
3213
|
"example": "无",
|
3159
3214
|
"member": "Filter",
|
3160
3215
|
"name": "Filters",
|
@@ -3367,7 +3422,7 @@
|
|
3367
3422
|
},
|
3368
3423
|
{
|
3369
3424
|
"disabled": false,
|
3370
|
-
"document": "过滤器列表。\ndisk-id\n按照【云硬盘 ID】进行过滤。\n类型:String\n必选:否\ninstance-id\n按照【实例ID】进行过滤。\n类型:String\n必选:否\ndisk-name\n按照【云硬盘名称】进行过滤。\n类型:String\n必选:否\nzone\n按照【可用区】进行过滤。\n类型:String\n必选:否\ndisk-usage\n按照【云硬盘类型】进行过滤。\n类型:String\n必选:否\n取值:SYSTEM_DISK(系统盘)或 DATA_DISK(数据盘)\ndisk-state\n按照【云硬盘状态】进行过滤。\n类型:String\n必选:否\n取值:参考数据结构[Disk](https://cloud.tencent.com/document/api/1207/47576#Disk)中DiskState取值。\n每次请求的 Filters 的上限为 10,Filter.Values 的上限为 100。参数不支持同时指定 DiskIds 和 Filters。",
|
3425
|
+
"document": "过滤器列表。\ndisk-id\n按照【云硬盘 ID】进行过滤。\n类型:String\n必选:否\ninstance-id\n按照【实例ID】进行过滤。\n类型:String\n必选:否\ndisk-name\n按照【云硬盘名称】进行过滤。\n类型:String\n必选:否\nzone\n按照【可用区】进行过滤。\n类型:String\n必选:否\ndisk-usage\n按照【云硬盘类型】进行过滤。\n类型:String\n必选:否\n取值:SYSTEM_DISK(系统盘)或 DATA_DISK(数据盘)\ndisk-state\n按照【云硬盘状态】进行过滤。\n类型:String\n必选:否\n取值:参考数据结构[Disk](https://cloud.tencent.com/document/api/1207/47576#Disk)中DiskState取值。\ntag-key\n按照【标签键】进行过滤。 类型:String 必选:否\ntag-value\n按照【标签值】进行过滤。 类型:String 必选:否\ntag:tag-key\n按照【标签键值对】进行过滤。 tag-key使用具体的标签键进行替换。\n每次请求的 Filters 的上限为 10,Filter.Values 的上限为 100。参数不支持同时指定 DiskIds 和 Filters。",
|
3371
3426
|
"example": "无",
|
3372
3427
|
"member": "Filter",
|
3373
3428
|
"name": "Filters",
|
@@ -4653,8 +4708,8 @@
|
|
4653
4708
|
},
|
4654
4709
|
{
|
4655
4710
|
"disabled": false,
|
4656
|
-
"document": "过滤器列表。\n<li>key-id</li>按照【密钥对ID】进行过滤。\n类型:String\n必选:否\n<li>key-name</li>按照【密钥对名称】进行过滤(支持模糊匹配)。\n类型:String\n必选:否\n每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 KeyIds 和 Filters。",
|
4657
|
-
"example": "
|
4711
|
+
"document": "过滤器列表。\n<li>key-id</li>按照【密钥对ID】进行过滤。\n类型:String\n必选:否\n<li>key-name</li>按照【密钥对名称】进行过滤(支持模糊匹配)。\n类型:String\n必选:否\n<li>tag-key</li>\n按照【标签键】进行过滤。 类型:String 必选:否\n<li>tag-value</li>\n按照【标签值】进行过滤。 类型:String 必选:否\n<li>tag:tag-key</li>\n按照【标签键值对】进行过滤。 tag-key使用具体的标签键进行替换。\n每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 KeyIds 和 Filters。",
|
4712
|
+
"example": "无",
|
4658
4713
|
"member": "Filter",
|
4659
4714
|
"name": "Filters",
|
4660
4715
|
"required": false,
|
@@ -5155,7 +5210,7 @@
|
|
5155
5210
|
},
|
5156
5211
|
{
|
5157
5212
|
"disabled": false,
|
5158
|
-
"document": "过滤器列表。\n<li>snapshot-id</li>按照【快照 ID】进行过滤。\n类型:String\n必选:否\n可通过 <a href=\"https://cloud.tencent.com/document/product/1207/54388\">DescribeSnapshots</a> 接口返回值中的 SnapshotId 获取。\n
|
5213
|
+
"document": "过滤器列表。\n<li>snapshot-id</li>按照【快照 ID】进行过滤。\n类型:String\n必选:否\n可通过 <a href=\"https://cloud.tencent.com/document/product/1207/54388\">DescribeSnapshots</a> 接口返回值中的 SnapshotId 获取。\n<li>disk-id</li>按照【磁盘 ID】进行过滤。\n类型:String\n必选:否\n可通过 <a href=\"https://cloud.tencent.com/document/product/1207/66093\">DescribeDisks</a> 接口返回值中的 DiskId 获取。\n<li>snapshot-name</li>按照【快照名称】进行过滤。\n类型:String\n必选:否\n可通过 <a href=\"https://cloud.tencent.com/document/product/1207/54388\">DescribeSnapshots</a> 接口返回值中的 SnapshotName 获取。\n<li>instance-id</li>按照【实例 ID 】进行过滤。\n类型:String\n必选:否\n可通过 <a href=\"https://cloud.tencent.com/document/product/1207/47573\">DescribeInstances</a> 接口返回值中的 InstanceId 获取。\n<li>tag-key</li>\n按照【标签键】进行过滤。 类型:String 必选:否\n<li>tag-value</li>\n按照【标签值】进行过滤。 类型:String 必选:否\n<li>tag:tag-key</li>\n按照【标签键值对】进行过滤。 tag-key使用具体的标签键进行替换。\n每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 SnapshotIds 和 Filters。",
|
5159
5214
|
"example": "无",
|
5160
5215
|
"member": "Filter",
|
5161
5216
|
"name": "Filters",
|
@@ -5685,6 +5740,16 @@
|
|
5685
5740
|
"output_required": true,
|
5686
5741
|
"type": "int",
|
5687
5742
|
"value_allowed_null": false
|
5743
|
+
},
|
5744
|
+
{
|
5745
|
+
"disabled": false,
|
5746
|
+
"document": "云硬盘绑定的标签列表。",
|
5747
|
+
"example": "无",
|
5748
|
+
"member": "Tag",
|
5749
|
+
"name": "Tags",
|
5750
|
+
"output_required": false,
|
5751
|
+
"type": "list",
|
5752
|
+
"value_allowed_null": false
|
5688
5753
|
}
|
5689
5754
|
],
|
5690
5755
|
"usage": "out"
|
@@ -5801,6 +5866,16 @@
|
|
5801
5866
|
"output_required": true,
|
5802
5867
|
"type": "string",
|
5803
5868
|
"value_allowed_null": false
|
5869
|
+
},
|
5870
|
+
{
|
5871
|
+
"disabled": false,
|
5872
|
+
"document": "云硬盘备份点绑定的标签列表。",
|
5873
|
+
"example": "无",
|
5874
|
+
"member": "Tag",
|
5875
|
+
"name": "Tags",
|
5876
|
+
"output_required": false,
|
5877
|
+
"type": "list",
|
5878
|
+
"value_allowed_null": false
|
5804
5879
|
}
|
5805
5880
|
],
|
5806
5881
|
"usage": "out"
|
@@ -6995,6 +7070,15 @@
|
|
6995
7070
|
"name": "PublicKey",
|
6996
7071
|
"required": true,
|
6997
7072
|
"type": "string"
|
7073
|
+
},
|
7074
|
+
{
|
7075
|
+
"disabled": false,
|
7076
|
+
"document": "标签键和标签值。 如果指定多个标签,则会为指定资源同时创建并绑定该多个标签。 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。 如果标签不存在会为您自动创建标签。 数组最多支持10个元素。",
|
7077
|
+
"example": "无",
|
7078
|
+
"member": "Tag",
|
7079
|
+
"name": "Tags",
|
7080
|
+
"required": false,
|
7081
|
+
"type": "list"
|
6998
7082
|
}
|
6999
7083
|
],
|
7000
7084
|
"type": "object"
|
@@ -7008,7 +7092,7 @@
|
|
7008
7092
|
"example": "lhkp-2xsmy15f",
|
7009
7093
|
"member": "string",
|
7010
7094
|
"name": "KeyId",
|
7011
|
-
"
|
7095
|
+
"output_required": true,
|
7012
7096
|
"type": "string",
|
7013
7097
|
"value_allowed_null": false
|
7014
7098
|
},
|
@@ -8120,6 +8204,16 @@
|
|
8120
8204
|
"output_required": true,
|
8121
8205
|
"type": "string",
|
8122
8206
|
"value_allowed_null": true
|
8207
|
+
},
|
8208
|
+
{
|
8209
|
+
"disabled": false,
|
8210
|
+
"document": "密钥对绑定的标签列表。",
|
8211
|
+
"example": "无",
|
8212
|
+
"member": "Tag",
|
8213
|
+
"name": "Tags",
|
8214
|
+
"output_required": false,
|
8215
|
+
"type": "list",
|
8216
|
+
"value_allowed_null": false
|
8123
8217
|
}
|
8124
8218
|
],
|
8125
8219
|
"usage": "out"
|
@@ -10297,6 +10391,16 @@
|
|
10297
10391
|
"output_required": true,
|
10298
10392
|
"type": "string",
|
10299
10393
|
"value_allowed_null": false
|
10394
|
+
},
|
10395
|
+
{
|
10396
|
+
"disabled": false,
|
10397
|
+
"document": "快照绑定的标签列表。",
|
10398
|
+
"example": "无",
|
10399
|
+
"member": "Tag",
|
10400
|
+
"name": "Tags",
|
10401
|
+
"output_required": false,
|
10402
|
+
"type": "list",
|
10403
|
+
"value_allowed_null": false
|
10300
10404
|
}
|
10301
10405
|
],
|
10302
10406
|
"usage": "out"
|
@@ -212,7 +212,7 @@
|
|
212
212
|
{
|
213
213
|
"document": "查询镜像信息",
|
214
214
|
"input": "POST / HTTP/1.1\nHost: lighthouse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBlueprints\n<公共请求参数>\n\n{\n \"BlueprintIds\": [\n \"lhbp-lf6jlx98\"\n ]\n}",
|
215
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"BlueprintSet\": [\n {\n \"BlueprintId\": \"lhbp-lf6jlx98\",\n \"DisplayTitle\": \"宝塔Linux面板\",\n \"DisplayVersion\": \"8.1.0 腾讯云专享版\",\n \"BlueprintName\": \"btpanel_exclusive\",\n \"Description\": \"宝塔Linux面板(BT-Panel)是一款简单好用的服务器运维管理面板,支持一键LAMP/LNMP/集群/监控/网站/FTP/数据库/JAVA等100多项服务器管理功能,能够极大提升运维管理效率。宝塔面板腾讯云专享版由腾讯云与堡塔公司联合开发,与普通版相比,专享版默认集成腾讯云COSFS、CDN和DNS解析插件,让用户更便捷的使用宝塔面板对腾讯云产品进行管理和操作。该镜像基于OpenCloudOS 9操作系统。\",\n \"OsName\": \"OpenCloudOS 9\",\n \"Platform\": \"OPENCLOUDOS\",\n \"PlatformType\": \"LINUX_UNIX\",\n \"BlueprintType\": \"APP_OS\",\n \"ImageUrl\": \"https://cloudcache.tencent-cloud.com/open_proj/proj_qcloud_v2/tc-console/tea-static-lighthouse/src/styles/slice/bt-panel.svg\",\n \"RequiredSystemDiskSize\": 20,\n \"RequiredMemorySize\": 1,\n \"BlueprintState\": \"NORMAL\",\n \"SupportAutomationTools\": true,\n \"ImageId\": \"\",\n \"CommunityUrl\": \"https://www.bt.cn\",\n \"GuideUrl\": \"https://cloud.tencent.com/document/product/1207/47425\",\n \"SceneIdSet\": [\n \"lhsc-3bzsddow\"\n ],\n \"DockerVersion\": null,\n \"BlueprintShared\": false,\n \"CreatedTime\": \"2024-05-08T03:43:06Z\"\n }\n ],\n \"RequestId\": \"817c4e56-36fc-47ff-bfb6-c4462816972b\"\n }\n}",
|
215
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"BlueprintSet\": [\n {\n \"BlueprintId\": \"lhbp-lf6jlx98\",\n \"DisplayTitle\": \"宝塔Linux面板\",\n \"DisplayVersion\": \"8.1.0 腾讯云专享版\",\n \"BlueprintName\": \"btpanel_exclusive\",\n \"Description\": \"宝塔Linux面板(BT-Panel)是一款简单好用的服务器运维管理面板,支持一键LAMP/LNMP/集群/监控/网站/FTP/数据库/JAVA等100多项服务器管理功能,能够极大提升运维管理效率。宝塔面板腾讯云专享版由腾讯云与堡塔公司联合开发,与普通版相比,专享版默认集成腾讯云COSFS、CDN和DNS解析插件,让用户更便捷的使用宝塔面板对腾讯云产品进行管理和操作。该镜像基于OpenCloudOS 9操作系统。\",\n \"OsName\": \"OpenCloudOS 9\",\n \"Platform\": \"OPENCLOUDOS\",\n \"PlatformType\": \"LINUX_UNIX\",\n \"BlueprintType\": \"APP_OS\",\n \"ImageUrl\": \"https://cloudcache.tencent-cloud.com/open_proj/proj_qcloud_v2/tc-console/tea-static-lighthouse/src/styles/slice/bt-panel.svg\",\n \"RequiredSystemDiskSize\": 20,\n \"RequiredMemorySize\": 1,\n \"BlueprintState\": \"NORMAL\",\n \"SupportAutomationTools\": true,\n \"ImageId\": \"\",\n \"CommunityUrl\": \"https://www.bt.cn\",\n \"GuideUrl\": \"https://cloud.tencent.com/document/product/1207/47425\",\n \"SceneIdSet\": [\n \"lhsc-3bzsddow\"\n ],\n \"DockerVersion\": null,\n \"BlueprintShared\": false,\n \"Tags\": [],\n \"CreatedTime\": \"2024-05-08T03:43:06Z\"\n }\n ],\n \"RequestId\": \"817c4e56-36fc-47ff-bfb6-c4462816972b\"\n }\n}",
|
216
216
|
"title": "查询镜像信息"
|
217
217
|
}
|
218
218
|
],
|
@@ -276,7 +276,7 @@
|
|
276
276
|
{
|
277
277
|
"document": "查询磁盘",
|
278
278
|
"input": "POST / HTTP/1.1\nHost: lighthouse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDisks\n<公共请求参数>\n\n{\n \"DiskIds\": [\n \"lhdisk-p1zflrif\"\n ]\n}",
|
279
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DiskSet\": [\n {\n \"DiskId\": \"lhdisk-p1zflrif\",\n \"InstanceId\": \"lhins-anxwfvxh\",\n \"Zone\": \"ap-guangzhou-3\",\n \"DiskName\": \"lhdisk-p1zflrif-system-disk\",\n \"DiskUsage\": \"DATA_DISK\",\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskChargeType\": \"PREPAID\",\n \"DiskSize\": 30,\n \"RenewFlag\": \"NOTIFY_AND_AUTO_RENEW\",\n \"DiskState\": \"ATTACHED\",\n \"Attached\": true,\n \"DeleteWithInstance\": false,\n \"DiskBackupCount\": 1,\n \"DiskBackupQuota\": 1,\n \"LatestOperation\": \"DetachDisks\",\n \"LatestOperationState\": \"FAILED\",\n \"LatestOperationRequestId\": \"54118bb6-7206-43f7-bf53-b77a394ad51e\",\n \"CreatedTime\": \"2021-08-25T08:50:57Z\",\n \"ExpiredTime\": \"2021-10-28T09:11:37Z\",\n \"IsolatedTime\": null\n }\n ],\n \"RequestId\": \"b362f486-571c-4094-afd5-22a38bd63046\"\n }\n}",
|
279
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"DiskSet\": [\n {\n \"DiskId\": \"lhdisk-p1zflrif\",\n \"InstanceId\": \"lhins-anxwfvxh\",\n \"Zone\": \"ap-guangzhou-3\",\n \"DiskName\": \"lhdisk-p1zflrif-system-disk\",\n \"DiskUsage\": \"DATA_DISK\",\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskChargeType\": \"PREPAID\",\n \"DiskSize\": 30,\n \"RenewFlag\": \"NOTIFY_AND_AUTO_RENEW\",\n \"DiskState\": \"ATTACHED\",\n \"Attached\": true,\n \"DeleteWithInstance\": false,\n \"DiskBackupCount\": 1,\n \"DiskBackupQuota\": 1,\n \"LatestOperation\": \"DetachDisks\",\n \"LatestOperationState\": \"FAILED\",\n \"LatestOperationRequestId\": \"54118bb6-7206-43f7-bf53-b77a394ad51e\",\n \"CreatedTime\": \"2021-08-25T08:50:57Z\",\n \"ExpiredTime\": \"2021-10-28T09:11:37Z\",\n \"Tags\": [],\n \"IsolatedTime\": null\n }\n ],\n \"RequestId\": \"b362f486-571c-4094-afd5-22a38bd63046\"\n }\n}",
|
280
280
|
"title": "查询磁盘"
|
281
281
|
}
|
282
282
|
],
|
tccli/services/lke/lke_client.py
CHANGED
@@ -537,58 +537,6 @@ def doStopWorkflowRun(args, parsed_globals):
|
|
537
537
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
538
538
|
|
539
539
|
|
540
|
-
def doModifyAgent(args, parsed_globals):
|
541
|
-
g_param = parse_global_arg(parsed_globals)
|
542
|
-
|
543
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
544
|
-
cred = credential.CVMRoleCredential()
|
545
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
546
|
-
cred = credential.STSAssumeRoleCredential(
|
547
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
548
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
549
|
-
)
|
550
|
-
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):
|
551
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
552
|
-
else:
|
553
|
-
cred = credential.Credential(
|
554
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
555
|
-
)
|
556
|
-
http_profile = HttpProfile(
|
557
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
558
|
-
reqMethod="POST",
|
559
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
560
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
561
|
-
)
|
562
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
563
|
-
if g_param[OptionsDefine.Language]:
|
564
|
-
profile.language = g_param[OptionsDefine.Language]
|
565
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
566
|
-
client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
|
567
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
568
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
569
|
-
model = models.ModifyAgentRequest()
|
570
|
-
model.from_json_string(json.dumps(args))
|
571
|
-
start_time = time.time()
|
572
|
-
while True:
|
573
|
-
rsp = client.ModifyAgent(model)
|
574
|
-
result = rsp.to_json_string()
|
575
|
-
try:
|
576
|
-
json_obj = json.loads(result)
|
577
|
-
except TypeError as e:
|
578
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
579
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
580
|
-
break
|
581
|
-
cur_time = time.time()
|
582
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
583
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
584
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
585
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
586
|
-
else:
|
587
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
588
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
589
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
590
|
-
|
591
|
-
|
592
540
|
def doCreateAttributeLabel(args, parsed_globals):
|
593
541
|
g_param = parse_global_arg(parsed_globals)
|
594
542
|
|
@@ -3501,58 +3449,6 @@ def doExportQAList(args, parsed_globals):
|
|
3501
3449
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3502
3450
|
|
3503
3451
|
|
3504
|
-
def doCreateAgent(args, parsed_globals):
|
3505
|
-
g_param = parse_global_arg(parsed_globals)
|
3506
|
-
|
3507
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3508
|
-
cred = credential.CVMRoleCredential()
|
3509
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3510
|
-
cred = credential.STSAssumeRoleCredential(
|
3511
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3512
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3513
|
-
)
|
3514
|
-
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):
|
3515
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3516
|
-
else:
|
3517
|
-
cred = credential.Credential(
|
3518
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3519
|
-
)
|
3520
|
-
http_profile = HttpProfile(
|
3521
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3522
|
-
reqMethod="POST",
|
3523
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
3524
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3525
|
-
)
|
3526
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3527
|
-
if g_param[OptionsDefine.Language]:
|
3528
|
-
profile.language = g_param[OptionsDefine.Language]
|
3529
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3530
|
-
client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
|
3531
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
3532
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3533
|
-
model = models.CreateAgentRequest()
|
3534
|
-
model.from_json_string(json.dumps(args))
|
3535
|
-
start_time = time.time()
|
3536
|
-
while True:
|
3537
|
-
rsp = client.CreateAgent(model)
|
3538
|
-
result = rsp.to_json_string()
|
3539
|
-
try:
|
3540
|
-
json_obj = json.loads(result)
|
3541
|
-
except TypeError as e:
|
3542
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3543
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3544
|
-
break
|
3545
|
-
cur_time = time.time()
|
3546
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3547
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3548
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3549
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3550
|
-
else:
|
3551
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3552
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3553
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3554
|
-
|
3555
|
-
|
3556
3452
|
def doUploadAttributeLabel(args, parsed_globals):
|
3557
3453
|
g_param = parse_global_arg(parsed_globals)
|
3558
3454
|
|
@@ -5602,7 +5498,6 @@ ACTION_MAP = {
|
|
5602
5498
|
"CreateRelease": doCreateRelease,
|
5603
5499
|
"DeleteQA": doDeleteQA,
|
5604
5500
|
"StopWorkflowRun": doStopWorkflowRun,
|
5605
|
-
"ModifyAgent": doModifyAgent,
|
5606
5501
|
"CreateAttributeLabel": doCreateAttributeLabel,
|
5607
5502
|
"ListDocCate": doListDocCate,
|
5608
5503
|
"ListSharedKnowledge": doListSharedKnowledge,
|
@@ -5659,7 +5554,6 @@ ACTION_MAP = {
|
|
5659
5554
|
"GetLikeDataCount": doGetLikeDataCount,
|
5660
5555
|
"ModifyDocCate": doModifyDocCate,
|
5661
5556
|
"ExportQAList": doExportQAList,
|
5662
|
-
"CreateAgent": doCreateAgent,
|
5663
5557
|
"UploadAttributeLabel": doUploadAttributeLabel,
|
5664
5558
|
"DescribeReleaseInfo": doDescribeReleaseInfo,
|
5665
5559
|
"GetDocPreview": doGetDocPreview,
|
@@ -14,13 +14,6 @@
|
|
14
14
|
"output": "CheckAttributeLabelReferResponse",
|
15
15
|
"status": "online"
|
16
16
|
},
|
17
|
-
"CreateAgent": {
|
18
|
-
"document": "创建一个Agent",
|
19
|
-
"input": "CreateAgentRequest",
|
20
|
-
"name": "创建Agent",
|
21
|
-
"output": "CreateAgentResponse",
|
22
|
-
"status": "online"
|
23
|
-
},
|
24
17
|
"CreateApp": {
|
25
18
|
"document": "创建知识引擎应用。",
|
26
19
|
"input": "CreateAppRequest",
|
@@ -588,13 +581,6 @@
|
|
588
581
|
"output": "ListWorkflowRunsResponse",
|
589
582
|
"status": "online"
|
590
583
|
},
|
591
|
-
"ModifyAgent": {
|
592
|
-
"document": "修改Agent信息",
|
593
|
-
"input": "ModifyAgentRequest",
|
594
|
-
"name": "修改Agent",
|
595
|
-
"output": "ModifyAgentResponse",
|
596
|
-
"status": "online"
|
597
|
-
},
|
598
584
|
"ModifyApp": {
|
599
585
|
"document": "修改应用请求结构体",
|
600
586
|
"input": "ModifyAppRequest",
|
@@ -4136,52 +4122,6 @@
|
|
4136
4122
|
],
|
4137
4123
|
"usage": "out"
|
4138
4124
|
},
|
4139
|
-
"CreateAgentRequest": {
|
4140
|
-
"document": "CreateAgent请求参数结构体",
|
4141
|
-
"members": [
|
4142
|
-
{
|
4143
|
-
"disabled": false,
|
4144
|
-
"document": "应用ID",
|
4145
|
-
"example": "1906600044720291840",
|
4146
|
-
"member": "string",
|
4147
|
-
"name": "AppBizId",
|
4148
|
-
"required": false,
|
4149
|
-
"type": "string"
|
4150
|
-
},
|
4151
|
-
{
|
4152
|
-
"disabled": false,
|
4153
|
-
"document": "要增加的Agent的信息",
|
4154
|
-
"example": "无",
|
4155
|
-
"member": "Agent",
|
4156
|
-
"name": "Agent",
|
4157
|
-
"required": false,
|
4158
|
-
"type": "object"
|
4159
|
-
}
|
4160
|
-
],
|
4161
|
-
"type": "object"
|
4162
|
-
},
|
4163
|
-
"CreateAgentResponse": {
|
4164
|
-
"document": "CreateAgent返回参数结构体",
|
4165
|
-
"members": [
|
4166
|
-
{
|
4167
|
-
"disabled": false,
|
4168
|
-
"document": "新建的AgentID",
|
4169
|
-
"example": "test-agent-id",
|
4170
|
-
"member": "string",
|
4171
|
-
"name": "AgentId",
|
4172
|
-
"output_required": false,
|
4173
|
-
"type": "string",
|
4174
|
-
"value_allowed_null": false
|
4175
|
-
},
|
4176
|
-
{
|
4177
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4178
|
-
"member": "string",
|
4179
|
-
"name": "RequestId",
|
4180
|
-
"type": "string"
|
4181
|
-
}
|
4182
|
-
],
|
4183
|
-
"type": "object"
|
4184
|
-
},
|
4185
4125
|
"CreateAppRequest": {
|
4186
4126
|
"document": "CreateApp请求参数结构体",
|
4187
4127
|
"members": [
|
@@ -14364,52 +14304,6 @@
|
|
14364
14304
|
],
|
14365
14305
|
"usage": "both"
|
14366
14306
|
},
|
14367
|
-
"ModifyAgentRequest": {
|
14368
|
-
"document": "ModifyAgent请求参数结构体",
|
14369
|
-
"members": [
|
14370
|
-
{
|
14371
|
-
"disabled": false,
|
14372
|
-
"document": "需要修改的应用ID",
|
14373
|
-
"example": "1906600044720291840",
|
14374
|
-
"member": "string",
|
14375
|
-
"name": "AppBizId",
|
14376
|
-
"required": false,
|
14377
|
-
"type": "string"
|
14378
|
-
},
|
14379
|
-
{
|
14380
|
-
"disabled": false,
|
14381
|
-
"document": "修改后的Agent的信息",
|
14382
|
-
"example": "无",
|
14383
|
-
"member": "Agent",
|
14384
|
-
"name": "Agent",
|
14385
|
-
"required": false,
|
14386
|
-
"type": "object"
|
14387
|
-
}
|
14388
|
-
],
|
14389
|
-
"type": "object"
|
14390
|
-
},
|
14391
|
-
"ModifyAgentResponse": {
|
14392
|
-
"document": "ModifyAgent返回参数结构体",
|
14393
|
-
"members": [
|
14394
|
-
{
|
14395
|
-
"disabled": false,
|
14396
|
-
"document": "修改的AgentId",
|
14397
|
-
"example": "test-agent-id",
|
14398
|
-
"member": "string",
|
14399
|
-
"name": "AgentId",
|
14400
|
-
"output_required": false,
|
14401
|
-
"type": "string",
|
14402
|
-
"value_allowed_null": false
|
14403
|
-
},
|
14404
|
-
{
|
14405
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
14406
|
-
"member": "string",
|
14407
|
-
"name": "RequestId",
|
14408
|
-
"type": "string"
|
14409
|
-
}
|
14410
|
-
],
|
14411
|
-
"type": "object"
|
14412
|
-
},
|
14413
14307
|
"ModifyAppRequest": {
|
14414
14308
|
"document": "ModifyApp请求参数结构体",
|
14415
14309
|
"members": [
|
@@ -16,14 +16,6 @@
|
|
16
16
|
"title": "检查知识标签是否被引用"
|
17
17
|
}
|
18
18
|
],
|
19
|
-
"CreateAgent": [
|
20
|
-
{
|
21
|
-
"document": "",
|
22
|
-
"input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAgent\n<公共请求参数>\n\n{\n \"AppBizId\": \"1906600044720291840\",\n \"Agent\": {\n \"Name\": \"浏览器控制 agent\",\n \"Instructions\": \"根据用户需求进行浏览器的控制\",\n \"HandoffDescription\": \"涉及到实际浏览器控制和操作的需求都可以交给我\",\n \"Model\": {\n \"ModelName\": \"function-call-pro\"\n }\n }\n}",
|
23
|
-
"output": "{\n \"Response\": {\n \"AgentId\": \"845c1ef7-5103-4e95-9e59-3d46fbeabe63\",\n \"RequestId\": \"84ec404b-729e-47af-9f64-7a3f590c8c27\"\n }\n}",
|
24
|
-
"title": "创建Agent"
|
25
|
-
}
|
26
|
-
],
|
27
19
|
"CreateApp": [
|
28
20
|
{
|
29
21
|
"document": "创建应用",
|
@@ -684,14 +676,6 @@
|
|
684
676
|
"title": "查询工作流异步运行实例的列表"
|
685
677
|
}
|
686
678
|
],
|
687
|
-
"ModifyAgent": [
|
688
|
-
{
|
689
|
-
"document": "",
|
690
|
-
"input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAgent\n<公共请求参数>\n\n{\n \"AppBizId\": \"1906600044720291840\",\n \"Agent\": {\n \"AgentId\": \"845c1ef7-5103-4e95-9e59-3d46fbeabe63\",\n \"Name\": \"新闻搜索agent\",\n \"Instructions\": \"根据用户的输入,搜索相关新闻,提供相应的web访问地址\",\n \"HandoffDescription\": \"处理用户新闻搜索的需求\"\n }\n}",
|
691
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"47a5a3be-b6ad-48bc-aced-7af35781b2be\"\n }\n}",
|
692
|
-
"title": "修改Agent"
|
693
|
-
}
|
694
|
-
],
|
695
679
|
"ModifyApp": [
|
696
680
|
{
|
697
681
|
"document": "修改应用",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
3
|
"ChatCompletions": {
|
4
|
-
"document": "### 接口功能\n\n调用接口,发起一次对话请求。默认该接口下的单账号QPM上限为15000 ,TPM上限为1200000\n如需使用OpenAI兼容接口, 请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)\n\n#### 在线体验\n如您希望在网页内直接体验 DeepSeek 模型对话,推荐您前往[腾讯云智能体开发平台](https://cloud.tencent.com/product/lke),使用[ DeepSeek 联网助手](https://lke.cloud.tencent.com/webim_exp/#/chat/wQrAwR)。\n\n#### 已支持的模型\n- DeepSeek-V3-0324(model 参数值为**deepseek-v3-0324**)\n - DeepSeek-V3-0324为671B参数MoE模型,在编程与技术能力、上下文理解与长文本处理等方面优势突出。\n - 支持128K上下文长度,最大输出16k(不含思维链)。\n - 注意:相比于DeepSeek-V3,DeepSeek-V3-0324仅更新了模型权重,未增加参数量。总模型大小为685B,其中包括671B的主模型权重和 14B 的多令牌预测(MTP)模块权重,后续均描述主模型参数量。\n- DeepSeek-V3(model 参数值为**deepseek-v3**)\n - DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。\n - 支持64K上下文长度,最大输出16k。\n- DeepSeek-R1(model 参数值为**deepseek-r1**)\n - DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。\n - 支持96K上下文长度,最大输入长度64k,最大输出16k(默认4k),最大思维链输出长度32k。\n- DeepSeek-R1-0528(model 参数值为**deepseek-r1-0528**)\n - DeepSeek-R1-0528为671B 模型,架构优化与训练策略升级后,相比上一版本在代码生成、长文本处理和复杂推理领域提升明显。\n - 支持128K上下文长度,最大输入长度96k,最大输出16k(默认4k),最大思维链输出长度32k。\n- DeepSeek-V3.1(model 参数值为 deepseek-v3.1)\n - DeepSeek-V3.1 为685B 参数 MoE 模型,支持混合推理架构,有更高的思考效率和更强的 Agent 能力。\n - 支持128K上下文长度,最大输入长度96k,最大输出32k(默认4k),最大思维链输出长度32k。\n
|
4
|
+
"document": "### 接口功能\n\n调用接口,发起一次对话请求。默认该接口下的单账号QPM上限为15000 ,TPM上限为1200000\n如需使用OpenAI兼容接口, 请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)\n\n#### 在线体验\n如您希望在网页内直接体验 DeepSeek 模型对话,推荐您前往[腾讯云智能体开发平台](https://cloud.tencent.com/product/lke),使用[ DeepSeek 联网助手](https://lke.cloud.tencent.com/webim_exp/#/chat/wQrAwR)。\n\n#### 已支持的模型\n- DeepSeek-V3-0324(model 参数值为**deepseek-v3-0324**)\n - DeepSeek-V3-0324为671B参数MoE模型,在编程与技术能力、上下文理解与长文本处理等方面优势突出。\n - 支持128K上下文长度,最大输出16k(不含思维链)。\n - 注意:相比于DeepSeek-V3,DeepSeek-V3-0324仅更新了模型权重,未增加参数量。总模型大小为685B,其中包括671B的主模型权重和 14B 的多令牌预测(MTP)模块权重,后续均描述主模型参数量。\n- DeepSeek-V3(model 参数值为**deepseek-v3**)\n - DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。\n - 支持64K上下文长度,最大输出16k。\n- DeepSeek-R1(model 参数值为**deepseek-r1**)\n - DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。\n - 支持96K上下文长度,最大输入长度64k,最大输出16k(默认4k),最大思维链输出长度32k。\n- DeepSeek-R1-0528(model 参数值为**deepseek-r1-0528**)\n - DeepSeek-R1-0528为671B 模型,架构优化与训练策略升级后,相比上一版本在代码生成、长文本处理和复杂推理领域提升明显。\n - 支持128K上下文长度,最大输入长度96k,最大输出16k(默认4k),最大思维链输出长度32k。\n- DeepSeek-V3.1(model 参数值为 deepseek-v3.1)\n - DeepSeek-V3.1 为685B 参数 MoE 模型,支持混合推理架构,有更高的思考效率和更强的 Agent 能力。\n - 支持128K上下文长度,最大输入长度96k,最大输出32k(默认4k),最大思维链输出长度32k。\n- DeepSeek-V3.1-Terminus(model 参数值为 deepseek-v3.1-terminus)\n - DeepSeek-V3.1-Terminus 为685B 参数 MoE 模型,在保持模型原有能力的基础上,优化了语言一致性,Agent 能力等问题,输出效果相比前一版本更加稳定。\n - 支持128K上下文长度,最大输入长度96k,最大输出32k(默认4k),最大思维链输出长度32k。\n### 计费说明\n\n- 标准计费(2025年2月26日起生效),计费模式为后付费小时结,为保证您账户资源的正常使用,请提前[开通后付费](https://console.cloud.tencent.com/lkeap/settings)并及时[充值](https://console.cloud.tencent.com/expense/recharge)。\n\n - DeepSeek-R1 模型 | 输入:0.004元/千token | 输出(含思维链):0.016元/千token\n\n - DeepSeek-R1-0528 模型 | 输入:0.004元/千token | 输出(含思维链):0.016元/千token\n\n - DeepSeek-V3 模型 | 输入:0.002元/千token | 输出:0.008元/千token\n\n - DeepSeek-V3-0324 模型 | 输入:0.002元/千token | 输出:0.008元/千token\n\n - DeepSeek-V3.1 模型 | 输入:0.004元/千token | 输出:0.012元/千token\n\n - DeepSeek-V3.1-Terminus 模型 | 输入:0.004元/千token | 输出:0.012元/千token\n\n\n### Openai兼容协议接口\n知识引擎原子能力大模型对话 API 兼容了 OpenAI 的接口规范,这意味着您可以直接使用 OpenAI 官方提供的 SDK 来调用大模型对话接口。您仅需要将 base_url 和 [api_key](https://cloud.tencent.com/document/product/1772/115970) 替换成相关配置,不需要对应用做额外修改,即可无缝将您的应用切换到相应的大模型。请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)。\n> base_url: https://api.lkeap.cloud.tencent.com/v1\n\n> api_key的获取请参考[API KEY管理](https://cloud.tencent.com/document/product/1772/115970)\n\n\n### 快速接入\n1. 完成[实名认证](https://console.cloud.tencent.com/developer/auth)。\n2. 主账户前往[控制台](https://console.cloud.tencent.com/lkeap)开通服务。若为子账户,需由主账号在[权限管理](https://console.cloud.tencent.com/cam)中为子账号授权,关联预设策略,策略名称:QcloudLKEAPFullAccess。\n3. 通过API Explorer[在线调试](https://console.cloud.tencent.com/api/explorer?Product=lkeap&Version=2024-05-22&Action=ChatCompletions)。\n4. 使用[官方 SDK ](https://cloud.tencent.com/document/product/1772/115963#SDK)调用本接口(支持Python/Java/PHP/Go/Node.js/.NET等语言)。\n\n-----------\n\n### SDK调用示例\n通过本地代码调用本接口(支持Python/Java/PHP/Go/Node.js/.NET等语言):下面的代码以 Python 语言为例,展示如何访问腾讯云上的DeepSeek模型API的样例。\n(1)安装环境\n```\npython3 -m pip install --upgrade tencentcloud-sdk-python-common\npython3 -m pip install --upgrade tencentcloud-sdk-python-lkeap\n```\n\n(2)示例代码\n\n- 其中SecretKey和SecretID需要从腾讯云控制台获取\n\n- 参数params中模型Model字段可以选择“deepseek-r1“和“deepseek-v3”\n\n```\n# -*- coding: utf-8 -*-\nimport json\n\nfrom tencentcloud.common.common_client import CommonClient\nfrom tencentcloud.common import credential\nfrom tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException\nfrom tencentcloud.common.profile.client_profile import ClientProfile\nfrom tencentcloud.common.profile.http_profile import HttpProfile\n\nclass NonStreamResponse(object):\n def __init__(self):\n self.response = \"\"\n\n def _deserialize(self, obj):\n self.response = json.dumps(obj)\n\ntry:\n # 实例化一个认证对象,入参需要传入腾讯云账户 SecretId 和 SecretKey,此处还需注意密钥对的保密\n # 代码泄露可能会导致 SecretId 和 SecretKey 泄露,并威胁账号下所有资源的安全性。以下代码示例仅供参考,建议采用更安全的方式来使用密钥,请参见:https://cloud.tencent.com/document/product/1278/85305\n # 密钥可前往官网控制台 https://console.cloud.tencent.com/cam/capi 进行获取\n cred = credential.Credential(\"\", \"\")\n\n httpProfile = HttpProfile()\n httpProfile.endpoint = \"lkeap.tencentcloudapi.com\"\n httpProfile.reqTimeout = 40000 # 流式接口可能耗时较长\n clientProfile = ClientProfile()\n clientProfile.httpProfile = httpProfile\n\n params = \"{\\\"Model\\\":\\\"deepseek-r1\\\",\\\"Messages\\\":[{\\\"Role\\\":\\\"user\\\",\\\"Content\\\":\\\"你好\\\"}],\\\"Stream\\\":true}\";\n common_client = CommonClient(\"lkeap\", \"2024-05-22\", cred, \"ap-guangzhou\", profile=clientProfile)\n resp = common_client._call_and_deserialize(\"ChatCompletions\", json.loads(params), NonStreamResponse)\n if isinstance(resp, NonStreamResponse): # 非流式响应\n print(resp.response)\n else: # 流式响应\n for event in resp:\n print(event)\nexcept TencentCloudSDKException as err:\n print(err)\n\n```\n\n**DeepSeek-R1使用建议**\n\n1. 将温度设置在 0.5-0.7 范围内(建议为0.6),以防止无休止的重复或不连贯的输出。\n2. 避免添加system prompt,所有说明都应包含在user prompt中。",
|
5
5
|
"input": "ChatCompletionsRequest",
|
6
6
|
"name": "DeepSeek API 接口",
|
7
7
|
"output": "ChatCompletionsResponse",
|