tccli 3.0.1272.1__py2.py3-none-any.whl → 3.0.1274.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 (44) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/batch/v20170312/api.json +57 -57
  3. tccli/services/captcha/v20190722/api.json +116 -116
  4. tccli/services/captcha/v20190722/examples.json +1 -1
  5. tccli/services/ccc/v20200210/api.json +3 -3
  6. tccli/services/cdwch/v20200915/api.json +61 -11
  7. tccli/services/clb/clb_client.py +265 -0
  8. tccli/services/clb/v20180317/api.json +289 -0
  9. tccli/services/clb/v20180317/examples.json +40 -0
  10. tccli/services/cvm/v20170312/api.json +57 -57
  11. tccli/services/cwp/v20180228/api.json +4 -4
  12. tccli/services/dlc/v20210125/examples.json +1 -1
  13. tccli/services/dts/v20211206/api.json +1 -1
  14. tccli/services/faceid/v20180301/api.json +11 -11
  15. tccli/services/faceid/v20180301/examples.json +8 -2
  16. tccli/services/hunyuan/v20230901/api.json +2 -2
  17. tccli/services/lke/v20231130/api.json +73 -2
  18. tccli/services/lke/v20231130/examples.json +1 -1
  19. tccli/services/lkeap/v20240522/api.json +3 -3
  20. tccli/services/lowcode/lowcode_client.py +477 -0
  21. tccli/services/lowcode/v20210108/api.json +1764 -155
  22. tccli/services/lowcode/v20210108/examples.json +75 -9
  23. tccli/services/monitor/monitor_client.py +53 -0
  24. tccli/services/monitor/v20180724/api.json +189 -1
  25. tccli/services/monitor/v20180724/examples.json +8 -0
  26. tccli/services/rce/v20201103/api.json +103 -103
  27. tccli/services/redis/v20180412/api.json +110 -110
  28. tccli/services/ssl/v20191205/api.json +46 -46
  29. tccli/services/ssl/v20191205/examples.json +3 -3
  30. tccli/services/tcr/v20190924/api.json +20 -20
  31. tccli/services/tdid/v20210519/api.json +95 -26
  32. tccli/services/tdid/v20210519/examples.json +15 -3
  33. tccli/services/tione/v20211111/api.json +3 -3
  34. tccli/services/tione/v20211111/examples.json +4 -4
  35. tccli/services/tsf/v20180326/api.json +88 -88
  36. tccli/services/tsf/v20180326/examples.json +2 -2
  37. tccli/services/waf/v20180125/api.json +1 -1
  38. tccli/services/weilingwith/v20230427/api.json +115 -115
  39. tccli/services/weilingwith/v20230427/examples.json +21 -21
  40. {tccli-3.0.1272.1.dist-info → tccli-3.0.1274.1.dist-info}/METADATA +2 -2
  41. {tccli-3.0.1272.1.dist-info → tccli-3.0.1274.1.dist-info}/RECORD +44 -44
  42. {tccli-3.0.1272.1.dist-info → tccli-3.0.1274.1.dist-info}/WHEEL +0 -0
  43. {tccli-3.0.1272.1.dist-info → tccli-3.0.1274.1.dist-info}/entry_points.txt +0 -0
  44. {tccli-3.0.1272.1.dist-info → tccli-3.0.1274.1.dist-info}/license_files/LICENSE +0 -0
@@ -1423,6 +1423,17 @@
1423
1423
  "required": false,
1424
1424
  "type": "string",
1425
1425
  "value_allowed_null": true
1426
+ },
1427
+ {
1428
+ "disabled": false,
1429
+ "document": "模型资源状态 1:资源可用;2:资源已用尽\n注意:此字段可能返回 null,表示取不到有效值。",
1430
+ "example": "无",
1431
+ "member": "uint64",
1432
+ "name": "ResourceStatus",
1433
+ "output_required": false,
1434
+ "required": false,
1435
+ "type": "int",
1436
+ "value_allowed_null": true
1426
1437
  }
1427
1438
  ],
1428
1439
  "usage": "both"
@@ -2593,7 +2604,7 @@
2593
2604
  },
2594
2605
  {
2595
2606
  "disabled": false,
2596
- "document": "父级业务ID",
2607
+ "document": "父级业务ID,创建顶级分类时传字符串\"0\"",
2597
2608
  "example": "无",
2598
2609
  "member": "string",
2599
2610
  "name": "ParentBizId",
@@ -3951,7 +3962,7 @@
3951
3962
  },
3952
3963
  {
3953
3964
  "disabled": false,
3954
- "document": "机器人配额\n",
3965
+ "document": "应用配额",
3955
3966
  "example": "无",
3956
3967
  "member": "uint64",
3957
3968
  "name": "RobotQuota",
@@ -3969,6 +3980,46 @@
3969
3980
  "type": "string",
3970
3981
  "value_allowed_null": false
3971
3982
  },
3983
+ {
3984
+ "disabled": false,
3985
+ "document": "是否试用",
3986
+ "example": "无",
3987
+ "member": "bool",
3988
+ "name": "IsTrial",
3989
+ "output_required": false,
3990
+ "type": "bool",
3991
+ "value_allowed_null": false
3992
+ },
3993
+ {
3994
+ "disabled": false,
3995
+ "document": "是否试用过期",
3996
+ "example": "无",
3997
+ "member": "bool",
3998
+ "name": "IsTrialExpired",
3999
+ "output_required": false,
4000
+ "type": "bool",
4001
+ "value_allowed_null": false
4002
+ },
4003
+ {
4004
+ "disabled": false,
4005
+ "document": "可用应用数量",
4006
+ "example": "无",
4007
+ "member": "uint64",
4008
+ "name": "AvailableAppQuota",
4009
+ "output_required": false,
4010
+ "type": "int",
4011
+ "value_allowed_null": false
4012
+ },
4013
+ {
4014
+ "disabled": false,
4015
+ "document": "是否支持自定义模型配置",
4016
+ "example": "无",
4017
+ "member": "bool",
4018
+ "name": "IsSupportCustomModel",
4019
+ "output_required": false,
4020
+ "type": "bool",
4021
+ "value_allowed_null": false
4022
+ },
3972
4023
  {
3973
4024
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
3974
4025
  "member": "string",
@@ -8764,6 +8815,26 @@
8764
8815
  "output_required": false,
8765
8816
  "type": "bool",
8766
8817
  "value_allowed_null": true
8818
+ },
8819
+ {
8820
+ "disabled": false,
8821
+ "document": "0:文档比对处理 1:文档生成问答\n注意:此字段可能返回 null,表示取不到有效值。",
8822
+ "example": "无",
8823
+ "member": "int64",
8824
+ "name": "Processing",
8825
+ "output_required": false,
8826
+ "type": "list",
8827
+ "value_allowed_null": true
8828
+ },
8829
+ {
8830
+ "disabled": false,
8831
+ "document": "文档创建落库时间\n注意:此字段可能返回 null,表示取不到有效值。",
8832
+ "example": "无",
8833
+ "member": "string",
8834
+ "name": "CreateTime",
8835
+ "output_required": false,
8836
+ "type": "string",
8837
+ "value_allowed_null": true
8767
8838
  }
8768
8839
  ],
8769
8840
  "usage": "out"
@@ -196,7 +196,7 @@
196
196
  {
197
197
  "document": "获取企业信息",
198
198
  "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCorp\n<公共请求参数>\n\n{}",
199
- "output": "{\n \"Response\": {\n \"CorpBizId\": \"18485034430310\",\n \"FullName\": \"我的企业\",\n \"RequestId\": \"669edde9-e9ec-40c6-bf31-5e9402fb26fb\",\n \"RobotQuota\": 10\n }\n}",
199
+ "output": "{\n \"Response\": {\n \"CorpBizId\": \"18485034430310\",\n \"FullName\": \"我的企业\",\n \"RequestId\": \"669edde9-e9ec-40c6-bf31-5e9402fb26fb\",\n \"RobotQuota\": 10,\n \"IsTrial\": false,\n \"IsTrialExpired\": false,\n \"AvailableAppQuota\": 10\n }\n}",
200
200
  "title": "获取企业信息"
201
201
  }
202
202
  ],
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "actions": {
3
3
  "ChatCompletions": {
4
- "document": "#### 接口功能\n\n调用接口,发起一次对话请求。\n如需使用OpenAI兼容接口, 请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)\n\n#### 已支持的模型\n- DeepSeek-V3(model 参数值为**deepseek-v3**)\n - DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。\n - 支持64K上下文长度,最大输入56k,最大输出8k(不含思维链)。\n- DeepSeek-R1(model 参数值为**deepseek-r1**)\n - DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。\n - 支持64K上下文长度,最大输入56k,最大输出8k(不含思维链)。\n\n#### 计费说明\n- 限时免费\n\n本接口调用DeepSeek系列模型限时免费。即日至北京时间2025年2月25日23:59:59,所有腾讯云用户均可享受DeepSeek-V3、DeepSeek-R1模型限时免费服务,单账号限制接口并发上限为5。在此之后,模型价格将恢复至原价。\n- 标准计费(2025年2月26日起生效)\n\n ![image](https://cdn.xiaowei.qq.com/static/lke/deekseep-token0212.png)\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中。",
4
+ "document": "### 接口功能\n\n调用接口,发起一次对话请求。单账号限制接口并发上限为5。\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(model 参数值为**deepseek-v3**)\n - DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。\n - 支持64K上下文长度,最大输入56k,最大输出8k(不含思维链)。\n- DeepSeek-R1(model 参数值为**deepseek-r1**)\n - DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。\n - 支持64K上下文长度,最大输入56k,最大输出8k(不含思维链)。\n\n### 计费说明\n\n- 标准计费(2025年2月26日起生效),计费模式为后付费小时结,为保证您账户资源的正常使用,请提前[开通后付费](https://lke.cloud.tencent.com/lke#/app/system/charge/postpaid)并及时[充值](https://console.cloud.tencent.com/expense/recharge)。\n ![image](https://cdn.xiaowei.qq.com/static/lke/deekseep-token0212.png)\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",
@@ -29,7 +29,7 @@
29
29
  "status": "online"
30
30
  },
31
31
  "CreateReconstructDocumentFlow": {
32
- "document": "本接口为异步接口的发起请求接口,用于发起文档解析任务。\n文档解析支持将图片或PDF文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。\n\n体验期间单账号限制qps仅为1,若有正式接入需要请与产研团队沟通开放。",
32
+ "document": "本接口为异步接口的发起请求接口,用于发起文档解析任务。\n文档解析支持将图片或PDF、DOCX、PPTX、EXCEL等文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。具体支持文件类型请查看下方输入参数列表。\n\n体验期间单账号限制qps仅为1,若有正式接入需要请与产研团队沟通开放。",
33
33
  "input": "CreateReconstructDocumentFlowRequest",
34
34
  "name": "创建文档解析任务",
35
35
  "output": "CreateReconstructDocumentFlowResponse",
@@ -1312,7 +1312,7 @@
1312
1312
  "members": [
1313
1313
  {
1314
1314
  "disabled": false,
1315
- "document": "任务状态。- `Success`:执行完成- `Processing`:执行中- `Pause`: 暂停- `Failed`:执行失败- `WaitExecute`:等待执行",
1315
+ "document": "任务状态。\n- `Success`:执行完成\n- `Processing`:执行中\n- `Pause`: 暂停\n- `Failed`:执行失败\n- `WaitExecute`:等待执行",
1316
1316
  "example": "Success",
1317
1317
  "member": "string",
1318
1318
  "name": "Status",