tccli 3.0.1365.1__py2.py3-none-any.whl → 3.0.1366.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.
Files changed (34) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/cdb/v20170320/api.json +12 -12
  3. tccli/services/chc/v20230418/api.json +1 -1
  4. tccli/services/cls/v20201016/api.json +11 -11
  5. tccli/services/cls/v20201016/examples.json +2 -2
  6. tccli/services/cynosdb/v20190107/api.json +1 -1
  7. tccli/services/cynosdb/v20190107/examples.json +1 -1
  8. tccli/services/dlc/v20210125/api.json +157 -6
  9. tccli/services/dlc/v20210125/examples.json +2 -2
  10. tccli/services/ess/v20201111/api.json +7 -7
  11. tccli/services/ess/v20201111/examples.json +6 -0
  12. tccli/services/ims/v20201229/api.json +2 -2
  13. tccli/services/lke/v20231130/api.json +47 -4
  14. tccli/services/mongodb/v20190725/api.json +2 -2
  15. tccli/services/mongodb/v20190725/examples.json +1 -1
  16. tccli/services/ocr/v20181119/api.json +46 -0
  17. tccli/services/partners/v20180321/api.json +4 -4
  18. tccli/services/postgres/v20170312/api.json +20 -20
  19. tccli/services/postgres/v20170312/examples.json +2 -2
  20. tccli/services/sqlserver/v20180328/api.json +10 -10
  21. tccli/services/sqlserver/v20180328/examples.json +1 -1
  22. tccli/services/ssl/v20191205/api.json +1 -1
  23. tccli/services/tcbr/v20220217/api.json +114 -9
  24. tccli/services/tcr/v20190924/api.json +2 -2
  25. tccli/services/teo/v20220901/api.json +5 -5
  26. tccli/services/tione/v20211111/api.json +38 -38
  27. tccli/services/tione/v20211111/examples.json +1 -1
  28. tccli/services/wsa/v20250508/api.json +2 -2
  29. tccli/services/wsa/v20250508/examples.json +2 -2
  30. {tccli-3.0.1365.1.dist-info → tccli-3.0.1366.1.dist-info}/METADATA +2 -2
  31. {tccli-3.0.1365.1.dist-info → tccli-3.0.1366.1.dist-info}/RECORD +34 -34
  32. {tccli-3.0.1365.1.dist-info → tccli-3.0.1366.1.dist-info}/WHEEL +0 -0
  33. {tccli-3.0.1365.1.dist-info → tccli-3.0.1366.1.dist-info}/entry_points.txt +0 -0
  34. {tccli-3.0.1365.1.dist-info → tccli-3.0.1366.1.dist-info}/license_files/LICENSE +0 -0
@@ -345,12 +345,21 @@
345
345
  },
346
346
  {
347
347
  "disabled": false,
348
- "document": "服务配置信息",
348
+ "document": "服务配置信息(已废弃)",
349
349
  "example": "无",
350
350
  "member": "ServerBaseConfig",
351
351
  "name": "ServerConfig",
352
- "required": true,
352
+ "required": false,
353
353
  "type": "object"
354
+ },
355
+ {
356
+ "disabled": false,
357
+ "document": "服务配置信息",
358
+ "example": "无",
359
+ "member": "DiffConfigItem",
360
+ "name": "Items",
361
+ "required": false,
362
+ "type": "list"
354
363
  }
355
364
  ],
356
365
  "type": "object"
@@ -816,6 +825,93 @@
816
825
  ],
817
826
  "type": "object"
818
827
  },
828
+ "DiffConfigItem": {
829
+ "document": "服务配置入参",
830
+ "members": [
831
+ {
832
+ "disabled": false,
833
+ "document": "配置项 Key\nMinNum 最小副本数\nMaxNum 最大副本数\nPolicyDetails 扩缩容策略\nAccessTypes 访问类型\nTimerScale 定时扩缩容\nInternalAccess 内网访问\nOperationMode 运行模式 noScale | condScale | alwaysScale | custom | manualScale\nSessionAffinity 会话亲和性 open | close\nCpuSpecs cpu 规格\nMemSpecs mem规格\nEnvParam 环境变量\nLogPath 日志采集路径\nPort 端口\nDockerfile dockerfile 文件名\nBuildDir 目标目录\nTag 服务标签\nLogType 日志类型 none | default | custom \nLogSetId 日志集Id\nLogTopicId 日志主题ID\nLogParseType 日志解析类型 json | line\nEntryPoint entrypoint 命令\nCmd cmd命令\nVpcConf 网络信息",
834
+ "example": "MinNum",
835
+ "member": "string",
836
+ "name": "Key",
837
+ "required": true,
838
+ "type": "string"
839
+ },
840
+ {
841
+ "disabled": false,
842
+ "document": "字符串类型配置项值\nInternalAccess、OperationMode、SessionAffinity、EnvParam、LogPath、Dockerfile、BuildDir、Tag、LogType、LogSetId、LogTopicId、LogParseType",
843
+ "example": "logs",
844
+ "member": "string",
845
+ "name": "Value",
846
+ "required": false,
847
+ "type": "string"
848
+ },
849
+ {
850
+ "disabled": false,
851
+ "document": "int 类型配置项值\nMinNum、MaxNum、Port",
852
+ "example": "1",
853
+ "member": "int64",
854
+ "name": "IntValue",
855
+ "required": false,
856
+ "type": "int"
857
+ },
858
+ {
859
+ "disabled": false,
860
+ "document": "bool 类型配置项值",
861
+ "example": "false",
862
+ "member": "bool",
863
+ "name": "BoolValue",
864
+ "required": false,
865
+ "type": "bool"
866
+ },
867
+ {
868
+ "disabled": false,
869
+ "document": "浮点型配置项值\nCpuSpecs、MemSpecs",
870
+ "example": "0.25",
871
+ "member": "float",
872
+ "name": "FloatValue",
873
+ "required": false,
874
+ "type": "float"
875
+ },
876
+ {
877
+ "disabled": false,
878
+ "document": "字符串数组配置项值\nAccessTypes,EntryPoint,Cmd",
879
+ "example": "[\"OA\", \"PUBLIC\"]",
880
+ "member": "string",
881
+ "name": "ArrayValue",
882
+ "required": false,
883
+ "type": "list"
884
+ },
885
+ {
886
+ "disabled": false,
887
+ "document": "扩缩容策略配置项值",
888
+ "example": "无",
889
+ "member": "HpaPolicy",
890
+ "name": "PolicyDetails",
891
+ "required": false,
892
+ "type": "list"
893
+ },
894
+ {
895
+ "disabled": false,
896
+ "document": "定时扩缩容配置项值",
897
+ "example": "无",
898
+ "member": "TimerScale",
899
+ "name": "TimerScale",
900
+ "required": false,
901
+ "type": "list"
902
+ },
903
+ {
904
+ "disabled": false,
905
+ "document": "配置内网访问时网络信息",
906
+ "example": "无",
907
+ "member": "VpcConf",
908
+ "name": "VpcConf",
909
+ "required": false,
910
+ "type": "object"
911
+ }
912
+ ],
913
+ "usage": "in"
914
+ },
819
915
  "EnvBaseInfo": {
820
916
  "document": "环境基础信息",
821
917
  "members": [
@@ -1508,7 +1604,7 @@
1508
1604
  {
1509
1605
  "disabled": false,
1510
1606
  "document": "是否开启公网访问",
1511
- "example": "[\"PUBLIC\", \"OA\", \"MINIAPP\", \"VPC\", \"\"]",
1607
+ "example": "[\"PUBLIC\", \"OA\", \"MINIAPP\", \"VPC\"]",
1512
1608
  "member": "string",
1513
1609
  "name": "OpenAccessTypes",
1514
1610
  "output_required": true,
@@ -1563,7 +1659,7 @@
1563
1659
  {
1564
1660
  "disabled": false,
1565
1661
  "document": "扩缩容配置",
1566
- "example": "cpu, mem, cpu/mem",
1662
+ "example": "",
1567
1663
  "member": "HpaPolicy",
1568
1664
  "name": "PolicyDetails",
1569
1665
  "output_required": true,
@@ -1761,7 +1857,7 @@
1761
1857
  {
1762
1858
  "disabled": false,
1763
1859
  "document": "Dockerfile EntryPoint 参数",
1764
- "example": "[\"echo\", \"test\"]",
1860
+ "example": "[\"echo\"]",
1765
1861
  "member": "string",
1766
1862
  "name": "EntryPoint",
1767
1863
  "output_required": false,
@@ -1772,7 +1868,7 @@
1772
1868
  {
1773
1869
  "disabled": false,
1774
1870
  "document": "Dockerfile Cmd 参数",
1775
- "example": "[\"echo\", \"test\"]",
1871
+ "example": "[\"echo\"]",
1776
1872
  "member": "string",
1777
1873
  "name": "Cmd",
1778
1874
  "output_required": false,
@@ -1794,7 +1890,7 @@
1794
1890
  {
1795
1891
  "disabled": false,
1796
1892
  "document": "Vpc 配置参数",
1797
- "example": "{\"VpcId\": \"\", \"VpcCIDR\": \"\",\"SubnetId\": \"\",\"SubnetCIDR\":\"\"}",
1893
+ "example": "",
1798
1894
  "member": "VpcConf",
1799
1895
  "name": "VpcConf",
1800
1896
  "output_required": false,
@@ -2375,11 +2471,11 @@
2375
2471
  },
2376
2472
  {
2377
2473
  "disabled": false,
2378
- "document": "服务配置信息",
2474
+ "document": "服务配置信息(已废弃)",
2379
2475
  "example": "无",
2380
2476
  "member": "ServerBaseConfig",
2381
2477
  "name": "ServerConfig",
2382
- "required": true,
2478
+ "required": false,
2383
2479
  "type": "object"
2384
2480
  },
2385
2481
  {
@@ -2390,6 +2486,15 @@
2390
2486
  "name": "Business",
2391
2487
  "required": false,
2392
2488
  "type": "string"
2489
+ },
2490
+ {
2491
+ "disabled": false,
2492
+ "document": "服务配置信息",
2493
+ "example": "无",
2494
+ "member": "DiffConfigItem",
2495
+ "name": "Items",
2496
+ "required": false,
2497
+ "type": "list"
2393
2498
  }
2394
2499
  ],
2395
2500
  "type": "object"
@@ -1867,8 +1867,8 @@
1867
1867
  "members": [
1868
1868
  {
1869
1869
  "disabled": false,
1870
- "document": "仓库名称",
1871
- "example": "nicokang/golang1",
1870
+ "document": "仓库名称,格式为 {Namespace}/{lmageName}。",
1871
+ "example": "namespace/image",
1872
1872
  "member": "string",
1873
1873
  "name": "RepoName",
1874
1874
  "required": true,
@@ -204,7 +204,7 @@
204
204
  "status": "online"
205
205
  },
206
206
  "CreateRealtimeLogDeliveryTask": {
207
- "document": "通过本接口创建实时日志投递任务。本接口有如下限制:\n同一个实体(七层域名或者四层代理实例)在同种数据投递类型(LogType)和数据投递区域(Area)的组合下,只能被添加到一个实时日志投递任务中。建议先通过 [DescribeRealtimeLogDeliveryTasks](https://cloud.tencent.com/document/product/1552/104110) 接口根据实体查询实时日志投递任务列表,检查实体是否已经被添加到另一实时日志投递任务中。",
207
+ "document": "本接口用于创建实时日志投递任务。本接口有如下限制:\n- 当数据投递类型(LogType)为站点加速日志(七层访问日志)、四层代理日志、边缘函数运行日志时,同一个实体(七层域名、四层代理实例、边缘函数实例)在同种数据投递类型(LogType)和数据投递区域(Area)的组合下,只能被添加到如下实时日志投递任务类型(TaskType)组合中:\n - 一个推送至腾讯云 CLS 的任务,加上另一个推送至自定义 HTTP(S) 地址的任务;\n - 一个推送至腾讯云 CLS 的任务,加上另一个推送至 AWS S3 兼容对象存储的任务;\n- 当数据投递类型(LogType)为速率限制和 CC 攻击防护日志、托管规则日志、自定义规则日志、Bot 管理日志时,同一个实体在同种数据投递类型(LogType)和数据投递区域(Area)的组合下,只能被添加到一个实时日志投递任务中。\n\n建议先通过 [DescribeRealtimeLogDeliveryTasks](https://cloud.tencent.com/document/product/1552/104110) 接口根据实体查询实时日志投递任务列表,检查实体是否已经被添加到另一实时日志投递任务中。",
208
208
  "input": "CreateRealtimeLogDeliveryTaskRequest",
209
209
  "name": "创建实时日志投递任务",
210
210
  "output": "CreateRealtimeLogDeliveryTaskResponse",
@@ -7029,7 +7029,7 @@
7029
7029
  },
7030
7030
  {
7031
7031
  "disabled": false,
7032
- "document": "实时日志投递任务类型,取值有:\n<li>cls: 推送到腾讯云 CLS;</li>\n<li>custom_endpoint:推送到自定义 HTTP(S) 地址;</li>\n<li>s3:推送到 AWS S3 兼容存储桶地址。</li>",
7032
+ "document": "实时日志投递任务类型,取值有:\n<li>cls: 推送到腾讯云 CLS;</li>\n<li>custom_endpoint:推送到自定义 HTTP(S) 地址;</li>\n<li>s3:推送到 AWS S3 兼容存储桶地址;</li>",
7033
7033
  "example": "cls",
7034
7034
  "member": "string",
7035
7035
  "name": "TaskType",
@@ -7038,7 +7038,7 @@
7038
7038
  },
7039
7039
  {
7040
7040
  "disabled": false,
7041
- "document": "实时日志投递任务对应的实体(七层域名或者四层代理实例)列表。取值示例如下:\n<li>七层域名:domain.example.com;</li>\n<li>四层代理实例:sid-2s69eb5wcms7。</li>",
7041
+ "document": "实时日志投递任务对应的实体列表。取值示例如下:\n<li>七层域名:domain.example.com</li>\n<li>四层代理实例:sid-2s69eb5wcms7</li>\n<li>边缘函数实例:test-zone-2mxigizoh9l9-1257626257</li>",
7042
7042
  "example": "[\"domain.example.com\"]",
7043
7043
  "member": "string",
7044
7044
  "name": "EntityList",
@@ -7047,7 +7047,7 @@
7047
7047
  },
7048
7048
  {
7049
7049
  "disabled": false,
7050
- "document": "数据投递类型,取值有:\n<li>domain:站点加速日志;</li>\n<li>application:四层代理日志;</li>\n<li>web-rateLiming:速率限制和 CC 攻击防护日志;</li>\n<li>web-attack:托管规则日志;</li>\n<li>web-rule:自定义规则日志;</li>\n<li>web-bot:Bot管理日志。</li>",
7050
+ "document": "数据投递类型,取值有:\n<li>domain:站点加速日志;</li>\n<li>application:四层代理日志;</li>\n<li>function:边缘函数运行日志;</li>\n<li>web-rateLiming:速率限制和 CC 攻击防护日志;</li>\n<li>web-attack:托管规则日志;</li>\n<li>web-rule:自定义规则日志;</li>\n<li>web-bot:Bot管理日志。</li>",
7051
7051
  "example": "domain",
7052
7052
  "member": "string",
7053
7053
  "name": "LogType",
@@ -7065,7 +7065,7 @@
7065
7065
  },
7066
7066
  {
7067
7067
  "disabled": false,
7068
- "document": "投递的预设字段列表。",
7068
+ "document": "投递的预设字段列表。取值参考:\n<li>[站点加速日志(七层访问日志)](https://cloud.tencent.com/document/product/1552/105791)</li>\n<li>[四层代理日志](https://cloud.tencent.com/document/product/1552/105792)</li>\n<li>[边缘函数运行日志](https://cloud.tencent.com/document/product/1552/115585)</li>",
7069
7069
  "example": "[\"RequestID\",\"ClientIP\",\"RequestTime\"]",
7070
7070
  "member": "string",
7071
7071
  "name": "Fields",
@@ -2115,7 +2115,7 @@
2115
2115
  {
2116
2116
  "disabled": false,
2117
2117
  "document": "资源配置,需填写对应算力规格ID和节点数量,算力规格ID查询接口为DescribeBillingSpecsPrice,eg:[{\"Role\":\"WORKER\", \"InstanceType\": \"TI.S.MEDIUM.POST\", \"InstanceNum\": 1}]",
2118
- "example": "[ { \"Role\": \"WORKER\", \"Cpu\": 1000, \"Memory\": 1024, \"GpuType\": \"\", \"Gpu\": 0, \"InstanceNum\": 1 } ]",
2118
+ "example": "",
2119
2119
  "member": "ResourceConfigInfo",
2120
2120
  "name": "ResourceConfigInfos",
2121
2121
  "required": true,
@@ -2151,7 +2151,7 @@
2151
2151
  {
2152
2152
  "disabled": false,
2153
2153
  "document": "预付费专用资源组ID,通过DescribeBillingResourceGroups接口查询",
2154
- "example": "test",
2154
+ "example": "rsg-1368bcxs",
2155
2155
  "member": "string",
2156
2156
  "name": "ResourceGroupId",
2157
2157
  "required": false,
@@ -2160,7 +2160,7 @@
2160
2160
  {
2161
2161
  "disabled": false,
2162
2162
  "document": "标签配置",
2163
- "example": "[ { \"TagKey\": \"test_key\", \"TagValue\": \"test_value\" } ]",
2163
+ "example": "",
2164
2164
  "member": "Tag",
2165
2165
  "name": "Tags",
2166
2166
  "required": false,
@@ -2169,7 +2169,7 @@
2169
2169
  {
2170
2170
  "disabled": false,
2171
2171
  "document": "自定义镜像信息",
2172
- "example": "{ \"ImageType\": \"TCR\", \"ImageUrl\": \"tione-live.tencentcloudcr.com/llm_picture/llm_picture_image:v1\", \"RegistryRegion\": \"ap-shanghai\", \"RegistryId\": \"tcr-f40c5gin\" }",
2172
+ "example": "",
2173
2173
  "member": "ImageInfo",
2174
2174
  "name": "ImageInfo",
2175
2175
  "required": false,
@@ -2178,7 +2178,7 @@
2178
2178
  {
2179
2179
  "disabled": false,
2180
2180
  "document": "COS代码包路径",
2181
- "example": "{ \"Bucket\": \"\", \"Region\": \"\", \"Paths\": [] }",
2181
+ "example": "",
2182
2182
  "member": "CosPathInfo",
2183
2183
  "name": "CodePackagePath",
2184
2184
  "required": false,
@@ -2187,7 +2187,7 @@
2187
2187
  {
2188
2188
  "disabled": false,
2189
2189
  "document": "任务的启动命令,按任务训练模式输入,如遇特殊字符导致配置失败,可使用EncodedStartCmdInfo参数",
2190
- "example": "{\"StartCmd\":\"bash start.sh\"}",
2190
+ "example": "",
2191
2191
  "member": "StartCmdInfo",
2192
2192
  "name": "StartCmdInfo",
2193
2193
  "required": false,
@@ -2205,7 +2205,7 @@
2205
2205
  {
2206
2206
  "disabled": false,
2207
2207
  "document": "数据配置,依赖DataSource字段,数量不超过10个",
2208
- "example": "[ { \"DataSourceType\": \"CFS\", \"DataSourceUsage\": \"\", \"MappingPath\": \"/opt/ml/input/data/\", \"CFSSource\": { \"Id\": \"cfs-2v0cr9jr\", \"Path\": \"/\" } } ]",
2208
+ "example": "",
2209
2209
  "member": "DataConfig",
2210
2210
  "name": "DataConfigs",
2211
2211
  "required": false,
@@ -2232,7 +2232,7 @@
2232
2232
  {
2233
2233
  "disabled": false,
2234
2234
  "document": "COS训练输出路径",
2235
- "example": "{ \"Bucket\": \"\", \"Region\": \"\", \"Paths\": [] }",
2235
+ "example": "",
2236
2236
  "member": "CosPathInfo",
2237
2237
  "name": "Output",
2238
2238
  "required": false,
@@ -2241,7 +2241,7 @@
2241
2241
  {
2242
2242
  "disabled": false,
2243
2243
  "document": "CLS日志配置",
2244
- "example": "{ \"LogsetId\": \"6c517622-a734-4d99-bfb8-1008c46d1108\", \"TopicId\": \"3cfb6994-e3e9-4085-a624-a654245de6c5\" }",
2244
+ "example": "",
2245
2245
  "member": "LogConfig",
2246
2246
  "name": "LogConfig",
2247
2247
  "required": false,
@@ -2286,7 +2286,7 @@
2286
2286
  {
2287
2287
  "disabled": false,
2288
2288
  "document": "回调地址,用于创建/启动/停止训练任务的异步回调。回调格式&内容详见:[[TI-ONE接口回调说明]](https://cloud.tencent.com/document/product/851/84292)",
2289
- "example": "",
2289
+ "example": "http://callback.url",
2290
2290
  "member": "string",
2291
2291
  "name": "CallbackUrl",
2292
2292
  "required": false,
@@ -2295,7 +2295,7 @@
2295
2295
  {
2296
2296
  "disabled": false,
2297
2297
  "document": "编码后的任务启动命令,与StartCmdInfo同时配置时,仅当前参数生效",
2298
- "example": "{ \"StartCmdInfo\": \"eyJXb3JrZXJTdGFydENtZCI6InNsZWVwIDEwMDAifQ==\" }",
2298
+ "example": "",
2299
2299
  "member": "EncodedStartCmdInfo",
2300
2300
  "name": "EncodedStartCmdInfo",
2301
2301
  "required": false,
@@ -2304,7 +2304,7 @@
2304
2304
  {
2305
2305
  "disabled": false,
2306
2306
  "document": "代码仓库配置",
2307
- "example": "[{\"Id\":\"cr-1000669213287070080\",\"TargetPath\":\"/opt/ml/code\"}]",
2307
+ "example": "",
2308
2308
  "member": "CodeRepoConfig",
2309
2309
  "name": "CodeRepos",
2310
2310
  "required": false,
@@ -2319,7 +2319,7 @@
2319
2319
  {
2320
2320
  "disabled": false,
2321
2321
  "document": "训练任务ID",
2322
- "example": "12312313",
2322
+ "example": "train-13766824497408",
2323
2323
  "member": "string",
2324
2324
  "name": "Id",
2325
2325
  "output_required": true,
@@ -12122,7 +12122,7 @@
12122
12122
  {
12123
12123
  "disabled": false,
12124
12124
  "document": "训练任务ID",
12125
- "example": "train-123311",
12125
+ "example": "train-2872332131",
12126
12126
  "member": "string",
12127
12127
  "name": "Id",
12128
12128
  "output_required": true,
@@ -12132,7 +12132,7 @@
12132
12132
  {
12133
12133
  "disabled": false,
12134
12134
  "document": "训练任务名称",
12135
- "example": "test",
12135
+ "example": "lora精调",
12136
12136
  "member": "string",
12137
12137
  "name": "Name",
12138
12138
  "output_required": true,
@@ -12212,7 +12212,7 @@
12212
12212
  {
12213
12213
  "disabled": false,
12214
12214
  "document": "计费模式",
12215
- "example": "",
12215
+ "example": "POSTPAID_BY_HOUR",
12216
12216
  "member": "string",
12217
12217
  "name": "ChargeType",
12218
12218
  "output_required": true,
@@ -12222,7 +12222,7 @@
12222
12222
  {
12223
12223
  "disabled": false,
12224
12224
  "document": "预付费专用资源组\n注意:此字段可能返回 null,表示取不到有效值。",
12225
- "example": "",
12225
+ "example": "rsg-21husx",
12226
12226
  "member": "string",
12227
12227
  "name": "ResourceGroupId",
12228
12228
  "output_required": true,
@@ -12232,7 +12232,7 @@
12232
12232
  {
12233
12233
  "disabled": false,
12234
12234
  "document": "资源配置",
12235
- "example": "[{\"Role\":\"WORKER\",\"Cpu\":1000,\"Memory\":1024,\"GpuType\":\"\",\"Gpu\":0,\"InstanceType\":\"\",\"InstanceTypeAlias\":\"\",\"InstanceNum\":1,\"RDMAConfig\":{\"Enable\":false},\"ExtendedResourceList\":{},\"ArchType\":\"\"}]",
12235
+ "example": "",
12236
12236
  "member": "ResourceConfigInfo",
12237
12237
  "name": "ResourceConfigInfos",
12238
12238
  "output_required": true,
@@ -12242,7 +12242,7 @@
12242
12242
  {
12243
12243
  "disabled": false,
12244
12244
  "document": "标签\n注意:此字段可能返回 null,表示取不到有效值。",
12245
- "example": "[\"test\":\"test\"]",
12245
+ "example": "",
12246
12246
  "member": "Tag",
12247
12247
  "name": "Tags",
12248
12248
  "output_required": true,
@@ -12252,7 +12252,7 @@
12252
12252
  {
12253
12253
  "disabled": false,
12254
12254
  "document": "训练模式,eg:PS_WORKER、DDP、MPI、HOROVOD\n注意:此字段可能返回 null,表示取不到有效值。",
12255
- "example": "",
12255
+ "example": "DDP",
12256
12256
  "member": "string",
12257
12257
  "name": "TrainingMode",
12258
12258
  "output_required": true,
@@ -12292,7 +12292,7 @@
12292
12292
  {
12293
12293
  "disabled": false,
12294
12294
  "document": "数据配置\n注意:此字段可能返回 null,表示取不到有效值。",
12295
- "example": "[{\"MappingPath\":\"/opt/ml/output/data\",\"DataSourceType\":\"CFS\",\"DataSourceUsage\":\"OUTPUT\",\"CFSSource\":{\"Id\":\"cfs-123abcd\",\"Path\":\"/exp1/output\"}}]",
12295
+ "example": "",
12296
12296
  "member": "DataConfig",
12297
12297
  "name": "DataConfigs",
12298
12298
  "output_required": true,
@@ -12302,7 +12302,7 @@
12302
12302
  {
12303
12303
  "disabled": false,
12304
12304
  "document": "调优参数\n注意:此字段可能返回 null,表示取不到有效值。",
12305
- "example": "",
12305
+ "example": "{\\n \\\"Epoch\\\": \\\"2\\\",\\n \\\"BatchSize\\\": \\\"1\\\"\\n}",
12306
12306
  "member": "string",
12307
12307
  "name": "TuningParameters",
12308
12308
  "output_required": true,
@@ -12342,7 +12342,7 @@
12342
12342
  {
12343
12343
  "disabled": false,
12344
12344
  "document": "VPC ID\n注意:此字段可能返回 null,表示取不到有效值。",
12345
- "example": "",
12345
+ "example": "vpc-dk01hv",
12346
12346
  "member": "string",
12347
12347
  "name": "VpcId",
12348
12348
  "output_required": true,
@@ -12352,7 +12352,7 @@
12352
12352
  {
12353
12353
  "disabled": false,
12354
12354
  "document": "子网ID\n注意:此字段可能返回 null,表示取不到有效值。",
12355
- "example": "",
12355
+ "example": "subnet-rd571",
12356
12356
  "member": "string",
12357
12357
  "name": "SubnetId",
12358
12358
  "output_required": true,
@@ -12382,7 +12382,7 @@
12382
12382
  {
12383
12383
  "disabled": false,
12384
12384
  "document": "创建时间",
12385
- "example": "",
12385
+ "example": "2025-08-01T10:59:53+08",
12386
12386
  "member": "string",
12387
12387
  "name": "CreateTime",
12388
12388
  "output_required": true,
@@ -12392,7 +12392,7 @@
12392
12392
  {
12393
12393
  "disabled": false,
12394
12394
  "document": "训练开始时间\n注意:此字段可能返回 null,表示取不到有效值。",
12395
- "example": "",
12395
+ "example": "2025-08-01T10:59:53+08",
12396
12396
  "member": "string",
12397
12397
  "name": "StartTime",
12398
12398
  "output_required": true,
@@ -12402,7 +12402,7 @@
12402
12402
  {
12403
12403
  "disabled": false,
12404
12404
  "document": "计费状态,eg:BILLING计费中,ARREARS_STOP欠费停止,NOT_BILLING不在计费中",
12405
- "example": "",
12405
+ "example": "BILLING",
12406
12406
  "member": "string",
12407
12407
  "name": "ChargeStatus",
12408
12408
  "output_required": true,
@@ -12412,7 +12412,7 @@
12412
12412
  {
12413
12413
  "disabled": false,
12414
12414
  "document": "最近一次实例ID\n注意:此字段可能返回 null,表示取不到有效值。",
12415
- "example": "567233",
12415
+ "example": "train-1376681210928497408-agjc33ds0q0",
12416
12416
  "member": "string",
12417
12417
  "name": "LatestInstanceId",
12418
12418
  "output_required": true,
@@ -12422,7 +12422,7 @@
12422
12422
  {
12423
12423
  "disabled": false,
12424
12424
  "document": "TensorBoard ID\n注意:此字段可能返回 null,表示取不到有效值。",
12425
- "example": "tensorborad-123311",
12425
+ "example": "tb-273hcds7",
12426
12426
  "member": "string",
12427
12427
  "name": "TensorBoardId",
12428
12428
  "output_required": true,
@@ -12432,7 +12432,7 @@
12432
12432
  {
12433
12433
  "disabled": false,
12434
12434
  "document": "备注\n注意:此字段可能返回 null,表示取不到有效值。",
12435
- "example": "",
12435
+ "example": "Remark",
12436
12436
  "member": "string",
12437
12437
  "name": "Remark",
12438
12438
  "output_required": true,
@@ -12442,7 +12442,7 @@
12442
12442
  {
12443
12443
  "disabled": false,
12444
12444
  "document": "失败原因\n注意:此字段可能返回 null,表示取不到有效值。",
12445
- "example": "",
12445
+ "example": "User Stop",
12446
12446
  "member": "string",
12447
12447
  "name": "FailureReason",
12448
12448
  "output_required": true,
@@ -12452,7 +12452,7 @@
12452
12452
  {
12453
12453
  "disabled": false,
12454
12454
  "document": "更新时间",
12455
- "example": "",
12455
+ "example": "2025-08-01T10:59:53+08",
12456
12456
  "member": "string",
12457
12457
  "name": "UpdateTime",
12458
12458
  "output_required": true,
@@ -12462,7 +12462,7 @@
12462
12462
  {
12463
12463
  "disabled": false,
12464
12464
  "document": "训练结束时间\n注意:此字段可能返回 null,表示取不到有效值。",
12465
- "example": "",
12465
+ "example": "2025-08-01T10:59:53+08",
12466
12466
  "member": "string",
12467
12467
  "name": "EndTime",
12468
12468
  "output_required": true,
@@ -12482,7 +12482,7 @@
12482
12482
  {
12483
12483
  "disabled": false,
12484
12484
  "document": "预付费专用资源组名称\n注意:此字段可能返回 null,表示取不到有效值。",
12485
- "example": "",
12485
+ "example": "测试资源组",
12486
12486
  "member": "string",
12487
12487
  "name": "ResourceGroupName",
12488
12488
  "output_required": true,
@@ -12492,7 +12492,7 @@
12492
12492
  {
12493
12493
  "disabled": false,
12494
12494
  "document": "任务信息\n注意:此字段可能返回 null,表示取不到有效值。",
12495
- "example": "",
12495
+ "example": "task message",
12496
12496
  "member": "string",
12497
12497
  "name": "Message",
12498
12498
  "output_required": true,
@@ -12502,7 +12502,7 @@
12502
12502
  {
12503
12503
  "disabled": false,
12504
12504
  "document": "任务状态,eg:STARTING启动中、RUNNING运行中、STOPPING停止中、STOPPED已停止、FAILED异常、SUCCEED已完成",
12505
- "example": "",
12505
+ "example": "RUNNING",
12506
12506
  "member": "string",
12507
12507
  "name": "Status",
12508
12508
  "output_required": true,
@@ -12512,7 +12512,7 @@
12512
12512
  {
12513
12513
  "disabled": false,
12514
12514
  "document": "回调地址\n注意:此字段可能返回 null,表示取不到有效值。",
12515
- "example": "",
12515
+ "example": "http://callback.url",
12516
12516
  "member": "string",
12517
12517
  "name": "CallbackUrl",
12518
12518
  "output_required": true,
@@ -12522,7 +12522,7 @@
12522
12522
  {
12523
12523
  "disabled": false,
12524
12524
  "document": "任务关联的代码仓库配置",
12525
- "example": "[{\"Id\":\"cr-1000669213287070080\",\"TargetPath\":\"/opt/ml/code\"}]\t",
12525
+ "example": "",
12526
12526
  "member": "CodeRepoConfig",
12527
12527
  "name": "CodeRepos",
12528
12528
  "output_required": false,
@@ -59,7 +59,7 @@
59
59
  "CreateTrainingTask": [
60
60
  {
61
61
  "document": "创建训练任务",
62
- "input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTrainingTask\n<公共请求参数>\n\n{\n \"Name\": \"test\",\n \"FrameworkName\": \"PYTORCH\",\n \"FrameworkEnvironment\": \"tilearn-llm1.0-torch2.1-angel-vllm1.0-py3.10-cuda12.1-gpu\",\n \"TrainingMode\": \"DDP\",\n \"ChargeType\": \"PREPAID\",\n \"ResourceConfigInfos\": [\n {\n \"Role\": \"WORKER\",\n \"Cpu\": 1000,\n \"Memory\": 1024,\n \"GpuType\": \"\",\n \"Gpu\": 0,\n \"InstanceType\": \"\",\n \"InstanceTypeAlias\": \"\",\n \"InstanceNum\": 1\n }\n ],\n \"ResourceGroupId\": \"ersg-rf6p8zb8\",\n \"Tags\": [],\n \"Remark\": \"\",\n \"CodePackagePath\": {\n \"Bucket\": \"test-gz-1256580188\",\n \"Region\": \"ap-guangzhou\",\n \"Paths\": [\n \"test/\"\n ]\n },\n \"EncodedStartCmdInfo\": {\n \"StartCmdInfo\": \"eyJTdGFydENtZCI6IiIsIlBzU3RhcnRDbWQiOiIiLCJXb3JrZXJTdGFydENtZCI6InNsZWVwIDEwIn0=\"\n },\n \"DataConfigs\": [\n {\n \"DataSourceType\": \"CFS\",\n \"MappingPath\": \"/opt/ml/input/data/\",\n \"CFSSource\": {\n \"Id\": \"cfs-pchxhlg9\",\n \"Path\": \"/bin\"\n }\n }\n ],\n \"TuningParameters\": \"{\\\"test\\\":\\\"test\\\"}\",\n \"Output\": {\n \"Bucket\": \"test-gz-1256580188\",\n \"Region\": \"ap-guangzhou\",\n \"Paths\": [\n \"cos_test/\"\n ]\n },\n \"LogEnable\": false,\n \"VpcId\": \"vpc-a26qv3af\",\n \"SubnetId\": \"subnet-m7xhqcyc\"\n}",
62
+ "input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTrainingTask\n<公共请求参数>\n\n{\n \"Name\": \"zhangsan-lora\",\n \"FrameworkName\": \"PYTORCH\",\n \"FrameworkEnvironment\": \"tilearn-llm1.0-torch2.1-angel-vllm1.0-py3.10-cuda12.1-gpu\",\n \"TrainingMode\": \"DDP\",\n \"ChargeType\": \"PREPAID\",\n \"ResourceConfigInfos\": [\n {\n \"Role\": \"WORKER\",\n \"Cpu\": 1000,\n \"Memory\": 1024,\n \"GpuType\": \"\",\n \"Gpu\": 0,\n \"InstanceType\": \"\",\n \"InstanceTypeAlias\": \"\",\n \"InstanceNum\": 1\n }\n ],\n \"ResourceGroupId\": \"ersg-rf6p8zb8\",\n \"Tags\": [],\n \"Remark\": \"\",\n \"CodePackagePath\": {\n \"Bucket\": \"test-gz-1256580188\",\n \"Region\": \"ap-guangzhou\",\n \"Paths\": [\n \"test/\"\n ]\n },\n \"EncodedStartCmdInfo\": {\n \"StartCmdInfo\": \"eyJTdGFydENtZCI6IiIsIlBzU3RhcnRDbWQiOiIiLCJXb3JrZXJTdGFydENtZCI6InNsZWVwIDEwIn0=\"\n },\n \"DataConfigs\": [\n {\n \"DataSourceType\": \"CFS\",\n \"MappingPath\": \"/opt/ml/input/data/\",\n \"CFSSource\": {\n \"Id\": \"cfs-pchxhlg9\",\n \"Path\": \"/bin\"\n }\n }\n ],\n \"TuningParameters\": \"{\\\"test\\\":\\\"test\\\"}\",\n \"Output\": {\n \"Bucket\": \"test-gz-1256580188\",\n \"Region\": \"ap-guangzhou\",\n \"Paths\": [\n \"cos_test/\"\n ]\n },\n \"LogEnable\": false,\n \"VpcId\": \"vpc-a26qv3af\",\n \"SubnetId\": \"subnet-m7xhqcyc\"\n}",
63
63
  "output": "{\n \"Response\": {\n \"Id\": \"train-1208038387393233920\",\n \"RequestId\": \"0161f5a9-3f60-4e39-86ab-fb87b225964d\"\n }\n}",
64
64
  "title": "创建训练任务"
65
65
  }
@@ -29,7 +29,7 @@
29
29
  },
30
30
  {
31
31
  "disabled": false,
32
- "document": "返回结果类型,0-自然检索结果(默认),1-垂类VR结果,2-混合结果(垂类VR结果+自然检索结果)",
32
+ "document": "返回结果类型,0-自然检索结果(默认),1-多模态VR结果,2-混合结果(多模态VR结果+自然检索结果)",
33
33
  "example": "2",
34
34
  "member": "int64",
35
35
  "name": "Mode",
@@ -81,7 +81,7 @@
81
81
  },
82
82
  {
83
83
  "disabled": false,
84
- "document": "搜索结果页面",
84
+ "document": "搜索结果页面详情,格式为json字符串。\ntitle:结果标题\ndate:内容发布时间\nurl:内容发布源url\npassage:标准摘要\ncontent:动态摘要 (尊享版字段)\nsite:网站名称,部分不知名站点结果可能为空\nscore:相关性得分,取值0~1,越靠近1表示越相关\nimages:图片列表\nfavicon:网站图标链接,部分不知名站点结果可能为空",
85
85
  "example": "[\"{\\\"passage\\\":\\\"aaa\\\"}\", \"{\\\"passage\\\":\\\"bbb\\\"}\"]",
86
86
  "member": "string",
87
87
  "name": "Pages",