tccli 3.0.1262.1__py2.py3-none-any.whl → 3.0.1264.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/aiart/v20221229/api.json +2 -2
- tccli/services/batch/v20170312/api.json +1 -1
- tccli/services/cdb/v20170320/api.json +4 -4
- tccli/services/cdb/v20170320/examples.json +5 -5
- tccli/services/cdwdoris/v20211228/api.json +3 -3
- tccli/services/cdwdoris/v20211228/examples.json +2 -2
- tccli/services/cfw/cfw_client.py +0 -53
- tccli/services/cfw/v20190904/api.json +3 -166
- tccli/services/cfw/v20190904/examples.json +0 -8
- tccli/services/ckafka/v20190819/api.json +11 -2
- tccli/services/cvm/v20170312/api.json +1 -1
- tccli/services/cwp/cwp_client.py +69 -175
- tccli/services/cwp/v20180228/api.json +0 -374
- tccli/services/cwp/v20180228/examples.json +0 -16
- tccli/services/dsgc/v20190723/api.json +12 -3
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/lighthouse/v20200324/api.json +77 -0
- tccli/services/lighthouse/v20200324/examples.json +2 -2
- tccli/services/live/v20180801/api.json +1 -1
- tccli/services/lke/v20231130/api.json +33 -0
- tccli/services/lkeap/v20240522/api.json +2 -2
- tccli/services/mna/v20210119/api.json +20 -20
- tccli/services/mongodb/v20190725/api.json +15 -15
- tccli/services/mongodb/v20190725/examples.json +5 -5
- tccli/services/monitor/v20180724/api.json +22 -20
- tccli/services/monitor/v20180724/examples.json +3 -3
- tccli/services/ocr/v20181119/api.json +2 -2
- tccli/services/tat/v20201028/api.json +6 -6
- tccli/services/tccatalog/v20241024/api.json +61 -3
- tccli/services/trocket/trocket_client.py +53 -0
- tccli/services/trocket/v20230308/api.json +70 -0
- tccli/services/trocket/v20230308/examples.json +8 -0
- tccli/services/trtc/v20190722/api.json +23 -23
- tccli/services/trtc/v20190722/examples.json +4 -4
- {tccli-3.0.1262.1.dist-info → tccli-3.0.1264.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1262.1.dist-info → tccli-3.0.1264.1.dist-info}/RECORD +41 -41
- {tccli-3.0.1262.1.dist-info → tccli-3.0.1264.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1262.1.dist-info → tccli-3.0.1264.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1262.1.dist-info → tccli-3.0.1264.1.dist-info}/license_files/LICENSE +0 -0
@@ -6100,6 +6100,17 @@
|
|
6100
6100
|
"type": "string",
|
6101
6101
|
"value_allowed_null": false
|
6102
6102
|
},
|
6103
|
+
{
|
6104
|
+
"disabled": false,
|
6105
|
+
"document": "IPv6网段或IPv6地址(互斥)。\n示例值:::/0。\n\n和CidrBlock互斥,两者都不指定时,如果Protocol是ICMPv6,则取默认值::/0。",
|
6106
|
+
"example": "::/0",
|
6107
|
+
"member": "string",
|
6108
|
+
"name": "Ipv6CidrBlock",
|
6109
|
+
"output_required": true,
|
6110
|
+
"required": false,
|
6111
|
+
"type": "string",
|
6112
|
+
"value_allowed_null": false
|
6113
|
+
},
|
6103
6114
|
{
|
6104
6115
|
"disabled": false,
|
6105
6116
|
"document": "取值:ACCEPT,DROP。默认为 ACCEPT。",
|
@@ -6168,6 +6179,16 @@
|
|
6168
6179
|
"type": "string",
|
6169
6180
|
"value_allowed_null": false
|
6170
6181
|
},
|
6182
|
+
{
|
6183
|
+
"disabled": false,
|
6184
|
+
"document": "IPv6网段或IPv6地址(互斥)。\n示例值:::/0。\n\n和CidrBlock互斥,两者都不指定时,如果Protocol是ICMPv6,则取默认值::/0。",
|
6185
|
+
"example": "::/0",
|
6186
|
+
"member": "string",
|
6187
|
+
"name": "Ipv6CidrBlock",
|
6188
|
+
"output_required": true,
|
6189
|
+
"type": "string",
|
6190
|
+
"value_allowed_null": false
|
6191
|
+
},
|
6171
6192
|
{
|
6172
6193
|
"disabled": false,
|
6173
6194
|
"document": "取值:ACCEPT,DROP。默认为 ACCEPT。",
|
@@ -7100,6 +7121,26 @@
|
|
7100
7121
|
"type": "string",
|
7101
7122
|
"value_allowed_null": false
|
7102
7123
|
},
|
7124
|
+
{
|
7125
|
+
"disabled": false,
|
7126
|
+
"document": "描述实例是否支持IPv6。",
|
7127
|
+
"example": "无",
|
7128
|
+
"member": "SupportIpv6Detail",
|
7129
|
+
"name": "SupportIpv6Detail",
|
7130
|
+
"output_required": false,
|
7131
|
+
"type": "object",
|
7132
|
+
"value_allowed_null": false
|
7133
|
+
},
|
7134
|
+
{
|
7135
|
+
"disabled": false,
|
7136
|
+
"document": "公网IPv6地址列表。",
|
7137
|
+
"example": "[\"2402:4e00:c000:100:c0b4:df6e:e276:6\"]",
|
7138
|
+
"member": "string",
|
7139
|
+
"name": "PublicIpv6Addresses",
|
7140
|
+
"output_required": false,
|
7141
|
+
"type": "list",
|
7142
|
+
"value_allowed_null": false
|
7143
|
+
},
|
7103
7144
|
{
|
7104
7145
|
"disabled": false,
|
7105
7146
|
"document": "创建实例后自动执行TAT命令的调用ID。",
|
@@ -9577,6 +9618,42 @@
|
|
9577
9618
|
],
|
9578
9619
|
"type": "object"
|
9579
9620
|
},
|
9621
|
+
"SupportIpv6Detail": {
|
9622
|
+
"document": "实例支持IPv6详情描述。",
|
9623
|
+
"members": [
|
9624
|
+
{
|
9625
|
+
"disabled": false,
|
9626
|
+
"document": "是否支持开启IPv6。",
|
9627
|
+
"example": "true",
|
9628
|
+
"member": "bool",
|
9629
|
+
"name": "IsSupport",
|
9630
|
+
"output_required": true,
|
9631
|
+
"type": "bool",
|
9632
|
+
"value_allowed_null": false
|
9633
|
+
},
|
9634
|
+
{
|
9635
|
+
"disabled": false,
|
9636
|
+
"document": "详情。\n\n当IsSupport为True,Detail枚举值为:\n\nEFFECTIVE_IMMEDIATELY: 立即生效\n\nEFFECTIVE_AFTER_REBOOT: 分配过程需要开关机,用户需备份数据\n\n \n\n当IsSupport为False,Detail枚举值为:\n\nHAD_BEEN_ASSIGNED: 已分配IPv6地址\n\nREGION_NOT_SUPPORT: 地域不支持\n\nBLUEPRINT_NOT_SUPPORT: 镜像不支持\n\nBUNDLE_INSTANCE_NOT_SUPPORT: 套餐实例不支持\n\nBUNDLE_BANDWIDTH_NOT_SUPPORT: 套餐带宽不支持",
|
9637
|
+
"example": "HAD_BEEN_ASSIGNED",
|
9638
|
+
"member": "string",
|
9639
|
+
"name": "Detail",
|
9640
|
+
"output_required": true,
|
9641
|
+
"type": "string",
|
9642
|
+
"value_allowed_null": false
|
9643
|
+
},
|
9644
|
+
{
|
9645
|
+
"disabled": false,
|
9646
|
+
"document": "提示信息。",
|
9647
|
+
"example": "The current instance has been assigned an IPv6 address.",
|
9648
|
+
"member": "string",
|
9649
|
+
"name": "Message",
|
9650
|
+
"output_required": true,
|
9651
|
+
"type": "string",
|
9652
|
+
"value_allowed_null": false
|
9653
|
+
}
|
9654
|
+
],
|
9655
|
+
"usage": "out"
|
9656
|
+
},
|
9580
9657
|
"SystemDisk": {
|
9581
9658
|
"document": "描述了操作系统所在块设备即系统盘的信息。",
|
9582
9659
|
"members": [
|
@@ -346,7 +346,7 @@
|
|
346
346
|
{
|
347
347
|
"document": "查询防火墙模板应用记录",
|
348
348
|
"input": "POST / HTTP/1.1\nHost: lighthouse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFirewallTemplateApplyRecords\n<公共请求参数>\n\n{\n \"TemplateId\": \"lhft-6brh0ciy\"\n}",
|
349
|
-
"output": "{\n \"Response\": {\n \"ApplyRecordSet\": [\n {\n \"ApplyDetailSet\": [\n {\n \"ApplyState\": \"SUCCESS\",\n \"ErrorMessage\": \"\",\n \"Instance\": {\n \"InstanceId\": \"lhins-abcd1234\",\n \"Region\": \"ap-guangzhou\"\n }\n }\n ],\n \"TaskId\": \"lgtk-dodi8tqa\",\n \"ApplyState\": \"SUCCESS\",\n \"ApplyTime\": \"2023-06-21T02:47:42Z\",\n \"FailedCount\": 0,\n \"RunningCount\": 0,\n \"SuccessCount\": 1,\n \"TemplateRuleSet\": [\n {\n \"FirewallRule\": {\n \"Action\": \"ACCEPT\",\n \"CidrBlock\": \"0.0.0.0/0\",\n \"FirewallRuleDescription\": \"tcp 80\",\n \"Port\": \"81\",\n \"Protocol\": \"TCP\"\n },\n \"TemplateRuleId\": \"lhftr-gexf7cmvpq\"\n },\n {\n \"FirewallRule\": {\n \"Action\": \"DROP\",\n \"CidrBlock\": \"0.0.0.0/0\",\n \"FirewallRuleDescription\": \"udp 80\",\n \"Port\": \"81\",\n \"Protocol\": \"UDP\"\n },\n \"TemplateRuleId\": \"lhftr-9uxz9zuz62\"\n }\n ]\n }\n ],\n \"RequestId\": \"cd7f9d77-c19b-4490-8d5e-42a776383f90\"\n }\n}",
|
349
|
+
"output": "{\n \"Response\": {\n \"ApplyRecordSet\": [\n {\n \"ApplyDetailSet\": [\n {\n \"ApplyState\": \"SUCCESS\",\n \"ErrorMessage\": \"\",\n \"Instance\": {\n \"InstanceId\": \"lhins-abcd1234\",\n \"Region\": \"ap-guangzhou\"\n }\n }\n ],\n \"TaskId\": \"lgtk-dodi8tqa\",\n \"ApplyState\": \"SUCCESS\",\n \"ApplyTime\": \"2023-06-21T02:47:42Z\",\n \"FailedCount\": 0,\n \"RunningCount\": 0,\n \"SuccessCount\": 1,\n \"TemplateRuleSet\": [\n {\n \"FirewallRule\": {\n \"Action\": \"ACCEPT\",\n \"CidrBlock\": \"0.0.0.0/0\",\n \"Ipv6CidrBlock\": \"\",\n \"FirewallRuleDescription\": \"tcp 80\",\n \"Port\": \"81\",\n \"Protocol\": \"TCP\"\n },\n \"TemplateRuleId\": \"lhftr-gexf7cmvpq\"\n },\n {\n \"FirewallRule\": {\n \"Action\": \"DROP\",\n \"CidrBlock\": \"0.0.0.0/0\",\n \"Ipv6CidrBlock\": \"\",\n \"FirewallRuleDescription\": \"udp 80\",\n \"Port\": \"81\",\n \"Protocol\": \"UDP\"\n },\n \"TemplateRuleId\": \"lhftr-9uxz9zuz62\"\n }\n ]\n }\n ],\n \"RequestId\": \"cd7f9d77-c19b-4490-8d5e-42a776383f90\"\n }\n}",
|
350
350
|
"title": "查询防火墙模板应用记录"
|
351
351
|
}
|
352
352
|
],
|
@@ -370,7 +370,7 @@
|
|
370
370
|
{
|
371
371
|
"document": "查询防火墙模板规则列表",
|
372
372
|
"input": "POST / HTTP/1.1\nHost: lighthouse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFirewallTemplateRules\n<公共请求参数>\n\n{\n \"TemplateId\": \"lhft-6brh0ciy\"\n}",
|
373
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"8e3d057f-a651-4c66-b5e3-abb11e305f19\",\n \"TemplateRuleSet\": [\n {\n \"FirewallRuleInfo\": {\n \"Action\": \"ACCEPT\",\n \"AppType\": \"user-defined\",\n \"CidrBlock\": \"0.0.0.0/0\",\n \"FirewallRuleDescription\": \"tcp 80\",\n \"Port\": \"81\",\n \"Protocol\": \"TCP\"\n },\n \"TemplateRuleId\": \"lhftr-gexf7cmvpq\"\n },\n {\n \"FirewallRuleInfo\": {\n \"Action\": \"DROP\",\n \"AppType\": \"user-defined\",\n \"CidrBlock\": \"0.0.0.0/0\",\n \"FirewallRuleDescription\": \"udp 80\",\n \"Port\": \"81\",\n \"Protocol\": \"UDP\"\n },\n \"TemplateRuleId\": \"lhftr-9uxz9zuz62\"\n }\n ],\n \"TotalCount\": 2\n }\n}",
|
373
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"8e3d057f-a651-4c66-b5e3-abb11e305f19\",\n \"TemplateRuleSet\": [\n {\n \"FirewallRuleInfo\": {\n \"Action\": \"ACCEPT\",\n \"AppType\": \"user-defined\",\n \"CidrBlock\": \"0.0.0.0/0\",\n \"Ipv6CidrBlock\": \"::/0\",\n \"FirewallRuleDescription\": \"tcp 80\",\n \"Port\": \"81\",\n \"Protocol\": \"TCP\"\n },\n \"TemplateRuleId\": \"lhftr-gexf7cmvpq\"\n },\n {\n \"FirewallRuleInfo\": {\n \"Action\": \"DROP\",\n \"AppType\": \"user-defined\",\n \"CidrBlock\": \"0.0.0.0/0\",\n \"Ipv6CidrBlock\": \"::/0\",\n \"FirewallRuleDescription\": \"udp 80\",\n \"Port\": \"81\",\n \"Protocol\": \"UDP\"\n },\n \"TemplateRuleId\": \"lhftr-9uxz9zuz62\"\n }\n ],\n \"TotalCount\": 2\n }\n}",
|
374
374
|
"title": "查询防火墙模板规则列表"
|
375
375
|
}
|
376
376
|
],
|
@@ -4740,7 +4740,7 @@
|
|
4740
4740
|
},
|
4741
4741
|
{
|
4742
4742
|
"disabled": false,
|
4743
|
-
"document": "拉流源 url 列表。\nSourceType 为直播(PullLivePushLive)只可以填1个,\nSourceType 为点播(PullVodPushLive)可以填多个,上限30个。\n当前支持的文件格式:flv,mp4,hls。\n当前支持的拉流协议:http,https,rtmp,rtmps,rtsp,srt。\n注意:\n1. 建议优先使用 flv 文件,对于 mp4
|
4743
|
+
"document": "拉流源 url 列表。\nSourceType 为直播(PullLivePushLive)只可以填1个,\nSourceType 为点播(PullVodPushLive)可以填多个,上限30个。\n当前支持的文件格式:flv,mp4,hls。\n当前支持的拉流协议:http,https,rtmp,rtmps,rtsp,srt。\n注意:\n1. 建议优先使用 flv 文件,对于 mp4 未交织好的文件轮播推流易产生卡顿以及因为频繁拉取导致源产生大量源出口带宽成本,可通过点播转码进行重新交织后再轮播,或提前创建任务并开启本地模式。\n2. 拒绝内网域名等攻击性拉流地址,如有使用,则做账号封禁处理。\n3. 源文件请保持时间戳正常交织递增,避免因源文件异常影响推流及播放。\n4. 视频编码格式仅支持: H264, H265。\n5. 音频编码格式仅支持: AAC。\n6. 点播源请使用小文件,尽量时长保持在1小时内,较大文件打开和续播耗时较久,耗时超过15秒会有无法正常转推风险。\n7. 避免使用低频存储的文件,该类文件因低频存储,拉取时容易出现慢速,影响拉转推质量。",
|
4744
4744
|
"example": "http://5000.liveplay.myqcloud.com/live/testsrc.flv?txSecret=4d8e",
|
4745
4745
|
"member": "string",
|
4746
4746
|
"name": "SourceUrls",
|
@@ -10446,6 +10446,39 @@
|
|
10446
10446
|
"required": false,
|
10447
10447
|
"type": "object",
|
10448
10448
|
"value_allowed_null": true
|
10449
|
+
},
|
10450
|
+
{
|
10451
|
+
"disabled": false,
|
10452
|
+
"document": "模型来源 Hunyuan:腾讯混元大模型,Industry:腾讯云行业大模型,Experience:新模型体验",
|
10453
|
+
"example": "Hunyuan",
|
10454
|
+
"member": "string",
|
10455
|
+
"name": "Source",
|
10456
|
+
"output_required": false,
|
10457
|
+
"required": false,
|
10458
|
+
"type": "string",
|
10459
|
+
"value_allowed_null": false
|
10460
|
+
},
|
10461
|
+
{
|
10462
|
+
"disabled": false,
|
10463
|
+
"document": "模型图标",
|
10464
|
+
"example": "无",
|
10465
|
+
"member": "string",
|
10466
|
+
"name": "Icon",
|
10467
|
+
"output_required": false,
|
10468
|
+
"required": false,
|
10469
|
+
"type": "string",
|
10470
|
+
"value_allowed_null": false
|
10471
|
+
},
|
10472
|
+
{
|
10473
|
+
"disabled": false,
|
10474
|
+
"document": "是否免费",
|
10475
|
+
"example": "无",
|
10476
|
+
"member": "bool",
|
10477
|
+
"name": "IsFree",
|
10478
|
+
"output_required": false,
|
10479
|
+
"required": false,
|
10480
|
+
"type": "bool",
|
10481
|
+
"value_allowed_null": false
|
10449
10482
|
}
|
10450
10483
|
],
|
10451
10484
|
"usage": "both"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
3
|
"ChatCompletions": {
|
4
|
-
"document": "#### 接口功能\n\n调用接口,发起一次对话请求。\n\n#### 已支持的模型\n- DeepSeek-V3(model 参数值为**deepseek-v3**)\n - DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。\n - 支持64K上下文长度,最大支持8K输出长度。\n- DeepSeek-R1(model 参数值为**deepseek-r1**)\n - DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。\n - 支持64K上下文长度,最大支持8K输出长度。\n\n#### 计费说明\n- 限时免费\n\n本接口调用DeepSeek系列模型限时免费。即日至北京时间2025年2月25日23:59:59,所有腾讯云用户均可享受DeepSeek-V3、DeepSeek-R1模型限时免费服务,单账号限制接口并发上限为5。在此之后,模型价格将恢复至原价。\n- 标准计费(2025年2月26日起生效)\n\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调用接口,发起一次对话请求。\n如需使用OpenAI兼容接口, 请参考文档:[OpenAI 兼容接口](https://cloud.tencent.com/document/product/1772/115968)\n\n#### 已支持的模型\n- DeepSeek-V3(model 参数值为**deepseek-v3**)\n - DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。\n - 支持64K上下文长度,最大支持8K输出长度。\n- DeepSeek-R1(model 参数值为**deepseek-r1**)\n - DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。\n - 支持64K上下文长度,最大支持8K输出长度。\n\n#### 计费说明\n- 限时免费\n\n本接口调用DeepSeek系列模型限时免费。即日至北京时间2025年2月25日23:59:59,所有腾讯云用户均可享受DeepSeek-V3、DeepSeek-R1模型限时免费服务,单账号限制接口并发上限为5。在此之后,模型价格将恢复至原价。\n- 标准计费(2025年2月26日起生效)\n\n\n### Openai兼容协议接口\n知识引擎原子能力大模型对话 API 兼容了 OpenAI 的接口规范,这意味着您可以直接使用 OpenAI 官方提供的 SDK 来调用大模型对话接口。您仅需要将 base_url 和 [api_key](https://cloud.tencent.com/document/product/1772/115970) 替换成相关配置,不需要对应用做额外修改,即可无缝将您的应用切换到相应的大模型。请参考文档:[OpenAI 兼容接口](https://cloud.tencent.com/document/product/1772/115968)。\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": "对话",
|
7
7
|
"output": "ChatCompletionsResponse",
|
@@ -310,7 +310,7 @@
|
|
310
310
|
},
|
311
311
|
{
|
312
312
|
"disabled": false,
|
313
|
-
"document": "
|
313
|
+
"document": "聊天上下文信息。\n说明:\n1. 长度最多为 40,按对话时间从旧到新在数组中排列。\n2. Message.Role 可选值:system、user、assistant。\n其中,system 角色可选,如存在则必须位于列表的最开始。user(tool) 和 assistant 需交替出现(一问一答),以 user 提问开始,user(tool)提问结束,其中tool可以连续出现多次,且 Content 不能为空。Role 的顺序示例:[system(可选) user assistant user(tool tool ...) assistant user(tool tool ...) ...]。\n",
|
314
314
|
"example": "[{\"role\":\"user\",\"content\":\"你好\"}]",
|
315
315
|
"member": "Message",
|
316
316
|
"name": "Messages",
|
@@ -1444,103 +1444,103 @@
|
|
1444
1444
|
},
|
1445
1445
|
{
|
1446
1446
|
"disabled": false,
|
1447
|
-
"document": "
|
1447
|
+
"document": "启用/禁用",
|
1448
1448
|
"example": "true",
|
1449
1449
|
"member": "bool",
|
1450
1450
|
"name": "DataEnable",
|
1451
1451
|
"output_required": true,
|
1452
1452
|
"type": "bool",
|
1453
|
-
"value_allowed_null":
|
1453
|
+
"value_allowed_null": false
|
1454
1454
|
},
|
1455
1455
|
{
|
1456
1456
|
"disabled": false,
|
1457
|
-
"document": "
|
1457
|
+
"document": "上行限速",
|
1458
1458
|
"example": "10000",
|
1459
1459
|
"member": "string",
|
1460
1460
|
"name": "UploadLimit",
|
1461
1461
|
"output_required": true,
|
1462
1462
|
"type": "string",
|
1463
|
-
"value_allowed_null":
|
1463
|
+
"value_allowed_null": false
|
1464
1464
|
},
|
1465
1465
|
{
|
1466
1466
|
"disabled": false,
|
1467
|
-
"document": "
|
1467
|
+
"document": "下行限速",
|
1468
1468
|
"example": "10000",
|
1469
1469
|
"member": "string",
|
1470
1470
|
"name": "DownloadLimit",
|
1471
1471
|
"output_required": true,
|
1472
1472
|
"type": "string",
|
1473
|
-
"value_allowed_null":
|
1473
|
+
"value_allowed_null": false
|
1474
1474
|
},
|
1475
1475
|
{
|
1476
1476
|
"disabled": false,
|
1477
|
-
"document": "
|
1477
|
+
"document": "接收实时速率",
|
1478
1478
|
"example": "100",
|
1479
1479
|
"member": "uint64",
|
1480
1480
|
"name": "DataRx",
|
1481
1481
|
"output_required": true,
|
1482
1482
|
"type": "int",
|
1483
|
-
"value_allowed_null":
|
1483
|
+
"value_allowed_null": false
|
1484
1484
|
},
|
1485
1485
|
{
|
1486
1486
|
"disabled": false,
|
1487
|
-
"document": "
|
1487
|
+
"document": "发送实时速率",
|
1488
1488
|
"example": "100",
|
1489
1489
|
"member": "uint64",
|
1490
1490
|
"name": "DataTx",
|
1491
1491
|
"output_required": true,
|
1492
1492
|
"type": "int",
|
1493
|
-
"value_allowed_null":
|
1493
|
+
"value_allowed_null": false
|
1494
1494
|
},
|
1495
1495
|
{
|
1496
1496
|
"disabled": false,
|
1497
|
-
"document": "运营商类型:\n1: 中国移动;\n2: 中国电信; \n3:
|
1497
|
+
"document": "运营商类型:\n1: 中国移动;\n2: 中国电信; \n3: 中国联通",
|
1498
1498
|
"example": "1",
|
1499
1499
|
"member": "int64",
|
1500
1500
|
"name": "Vendor",
|
1501
1501
|
"output_required": true,
|
1502
1502
|
"type": "int",
|
1503
|
-
"value_allowed_null":
|
1503
|
+
"value_allowed_null": false
|
1504
1504
|
},
|
1505
1505
|
{
|
1506
1506
|
"disabled": false,
|
1507
|
-
"document": "连接状态:\n0:无连接\n1:连接中\n2
|
1507
|
+
"document": "连接状态:\n0:无连接\n1:连接中\n2:已连接",
|
1508
1508
|
"example": "1",
|
1509
1509
|
"member": "int64",
|
1510
1510
|
"name": "State",
|
1511
1511
|
"output_required": true,
|
1512
1512
|
"type": "int",
|
1513
|
-
"value_allowed_null":
|
1513
|
+
"value_allowed_null": false
|
1514
1514
|
},
|
1515
1515
|
{
|
1516
1516
|
"disabled": false,
|
1517
|
-
"document": "公网IP
|
1517
|
+
"document": "公网IP",
|
1518
1518
|
"example": "\"xxx.xxx.xxx.xx\"",
|
1519
1519
|
"member": "string",
|
1520
1520
|
"name": "PublicIp",
|
1521
1521
|
"output_required": true,
|
1522
1522
|
"type": "string",
|
1523
|
-
"value_allowed_null":
|
1523
|
+
"value_allowed_null": false
|
1524
1524
|
},
|
1525
1525
|
{
|
1526
1526
|
"disabled": false,
|
1527
|
-
"document": "信号强度/单位:dbm
|
1527
|
+
"document": "信号强度/单位:dbm",
|
1528
1528
|
"example": "-85",
|
1529
1529
|
"member": "int64",
|
1530
1530
|
"name": "SignalStrength",
|
1531
1531
|
"output_required": true,
|
1532
1532
|
"type": "int",
|
1533
|
-
"value_allowed_null":
|
1533
|
+
"value_allowed_null": false
|
1534
1534
|
},
|
1535
1535
|
{
|
1536
1536
|
"disabled": false,
|
1537
|
-
"document": "数据网络类型:\n-1 :无效值 \n2:2G \n3:3G \n4:4G \n5:5G
|
1537
|
+
"document": "数据网络类型:\n-1 :无效值 \n2:2G \n3:3G \n4:4G \n5:5G",
|
1538
1538
|
"example": "4",
|
1539
1539
|
"member": "int64",
|
1540
1540
|
"name": "Rat",
|
1541
1541
|
"output_required": true,
|
1542
1542
|
"type": "int",
|
1543
|
-
"value_allowed_null":
|
1543
|
+
"value_allowed_null": false
|
1544
1544
|
},
|
1545
1545
|
{
|
1546
1546
|
"disabled": false,
|
@@ -380,7 +380,7 @@
|
|
380
380
|
"members": [
|
381
381
|
{
|
382
382
|
"disabled": false,
|
383
|
-
"document": "实例ID
|
383
|
+
"document": "实例 ID 列表,请登录[MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。",
|
384
384
|
"example": "[\"cmgo-eqmo****\"]",
|
385
385
|
"member": "string",
|
386
386
|
"name": "InstanceIds",
|
@@ -1056,8 +1056,8 @@
|
|
1056
1056
|
},
|
1057
1057
|
{
|
1058
1058
|
"disabled": false,
|
1059
|
-
"document": "
|
1060
|
-
"example": "
|
1059
|
+
"document": "实例密码。设置要求如下:\n- 字符个数为[8,32]。\n- 可输入[A,Z]、[a,z]、[0,9]范围内的字符。\n- 可输入的特殊字符包括:感叹号“!”,at“@”,警号“#”、百分号“%”、插入号“^”、星号“\\*”、括号“()”、下划线“_”。\n- 不能设置单一的字母或者数字。",
|
1060
|
+
"example": "************",
|
1061
1061
|
"member": "string",
|
1062
1062
|
"name": "Password",
|
1063
1063
|
"required": false,
|
@@ -1437,7 +1437,7 @@
|
|
1437
1437
|
},
|
1438
1438
|
{
|
1439
1439
|
"disabled": false,
|
1440
|
-
"document": "实例密码。设置要求如下:\n- 字符个数为[8,32]。\n- 可输入[A,Z]、[a,z]、[0,9]范围内的字符。\n- 可输入的特殊字符包括:感叹号“!”,at
|
1440
|
+
"document": "实例密码。设置要求如下:\n- 字符个数为[8,32]。\n- 可输入[A,Z]、[a,z]、[0,9]范围内的字符。\n- 可输入的特殊字符包括:感叹号“!”,at“@”,警号“#”、百分号“%”、插入号“^”、星号“\\*”、括号“()”、下划线“\\_”。\n- 不能设置单一的字母或者数字。",
|
1441
1441
|
"example": "********",
|
1442
1442
|
"member": "string",
|
1443
1443
|
"name": "Password",
|
@@ -3216,7 +3216,7 @@
|
|
3216
3216
|
{
|
3217
3217
|
"disabled": false,
|
3218
3218
|
"document": "待查询可用区",
|
3219
|
-
"example": "
|
3219
|
+
"example": "ap-guangzhou-3",
|
3220
3220
|
"member": "string",
|
3221
3221
|
"name": "Zone",
|
3222
3222
|
"required": false,
|
@@ -3815,8 +3815,8 @@
|
|
3815
3815
|
"members": [
|
3816
3816
|
{
|
3817
3817
|
"disabled": false,
|
3818
|
-
"document": "实例ID
|
3819
|
-
"example": "[cmgo-8oij
|
3818
|
+
"document": "实例ID。请登录[MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID,且单次最多同时查询5个实例。",
|
3819
|
+
"example": "[\"cmgo-8oij****\"]",
|
3820
3820
|
"member": "string",
|
3821
3821
|
"name": "InstanceIds",
|
3822
3822
|
"required": true,
|
@@ -5624,7 +5624,7 @@
|
|
5624
5624
|
"members": [
|
5625
5625
|
{
|
5626
5626
|
"disabled": false,
|
5627
|
-
"document": "实例ID,格式如:cmgo-p8vnipr5
|
5627
|
+
"document": "实例ID,格式如:cmgo-p8vnipr5。请登录[MongoDB 控制台](https://console.cloud.tencent.com/mongodb#/)在实例列表复制实例 ID。",
|
5628
5628
|
"example": "cmgo-eqmoa5sf",
|
5629
5629
|
"member": "string",
|
5630
5630
|
"name": "InstanceId",
|
@@ -5633,7 +5633,7 @@
|
|
5633
5633
|
},
|
5634
5634
|
{
|
5635
5635
|
"disabled": false,
|
5636
|
-
"document": "
|
5636
|
+
"document": "自定义实例名称,要求为1~128 长度的任意字符。",
|
5637
5637
|
"example": "test_name",
|
5638
5638
|
"member": "string",
|
5639
5639
|
"name": "NewName",
|
@@ -5660,8 +5660,8 @@
|
|
5660
5660
|
"members": [
|
5661
5661
|
{
|
5662
5662
|
"disabled": false,
|
5663
|
-
"document": "
|
5664
|
-
"example": "[\"cmgo-
|
5663
|
+
"document": "指定续费的一个或多个待操作的实例ID。\n- 可通过[DescribeDBInstances](https://cloud.tencent.com/document/product/240/38568)接口返回值中的**InstanceIds**获取。\n- 每次续费请求的实例数量上限为100。",
|
5664
|
+
"example": "[\"cmgo-gzo0****\"]",
|
5665
5665
|
"member": "string",
|
5666
5666
|
"name": "InstanceIds",
|
5667
5667
|
"required": true,
|
@@ -6505,7 +6505,7 @@
|
|
6505
6505
|
"example": "ap-guangzhou",
|
6506
6506
|
"member": "string",
|
6507
6507
|
"name": "Region",
|
6508
|
-
"
|
6508
|
+
"output_required": true,
|
6509
6509
|
"type": "string",
|
6510
6510
|
"value_allowed_null": false
|
6511
6511
|
},
|
@@ -6515,7 +6515,7 @@
|
|
6515
6515
|
"example": "ap-guangzhou-1",
|
6516
6516
|
"member": "string",
|
6517
6517
|
"name": "Zone",
|
6518
|
-
"
|
6518
|
+
"output_required": true,
|
6519
6519
|
"type": "string",
|
6520
6520
|
"value_allowed_null": false
|
6521
6521
|
},
|
@@ -6525,7 +6525,7 @@
|
|
6525
6525
|
"example": "无",
|
6526
6526
|
"member": "SpecItem",
|
6527
6527
|
"name": "SpecItems",
|
6528
|
-
"
|
6528
|
+
"output_required": true,
|
6529
6529
|
"type": "list",
|
6530
6530
|
"value_allowed_null": false
|
6531
6531
|
},
|
@@ -6535,7 +6535,7 @@
|
|
6535
6535
|
"example": "1",
|
6536
6536
|
"member": "int64",
|
6537
6537
|
"name": "SupportMultiAZ",
|
6538
|
-
"
|
6538
|
+
"output_required": true,
|
6539
6539
|
"type": "int",
|
6540
6540
|
"value_allowed_null": false
|
6541
6541
|
}
|
@@ -43,7 +43,7 @@
|
|
43
43
|
"CreateDBInstanceHour": [
|
44
44
|
{
|
45
45
|
"document": "当前示例仅适合4.0版本,其余版本请严格参考传入参数中各版本说明项",
|
46
|
-
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDBInstanceHour\n<公共请求参数>\n\n{\n \"Zone\": \"ap-guangzhou-3\",\n \"GoodsNum\":
|
46
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDBInstanceHour\n<公共请求参数>\n\n{\n \"Zone\": \"ap-guangzhou-3\",\n \"GoodsNum\": 1,\n \"Clone\": 1,\n \"Memory\": 4,\n \"ClusterType\": \"REPLSET\",\n \"Volume\": 250,\n \"NodeNum\": 2,\n \"ReplicateSetNum\": 1,\n \"MachineCode\": \"HIO10G\",\n \"MongoVersion\": \"MONGO_50_WT\"\n}",
|
47
47
|
"output": "{\n \"Response\": {\n \"RequestId\": \"eaf9b19d-5ad4-4ca2-9fc4-a319aeb9181f\",\n \"DealId\": \"20190709160000003502416120946732\",\n \"InstanceIds\": [\n \"cmgo-m26c****\"\n ]\n }\n}",
|
48
48
|
"title": "创建云数据库实例(按量计费)"
|
49
49
|
}
|
@@ -155,7 +155,7 @@
|
|
155
155
|
"DescribeDBInstances": [
|
156
156
|
{
|
157
157
|
"document": "查询实例列表",
|
158
|
-
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstances\n<公共请求参数>\n\n{\n \"Status\": [\n 0\n ],\n \"OrderBy\": \"
|
158
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstances\n<公共请求参数>\n\n{\n \"Status\": [\n 0\n ],\n \"OrderBy\": \"ProjectId\",\n \"InstanceIds\": [\n \"cmgo-3vgr****\"\n ],\n \"VpcId\": \"vpc-gfb3****\",\n \"Tags\": [\n {\n \"TagKey\": \"testTag\",\n \"TagValue\": \"testValue\"\n }\n ],\n \"ClusterType\": 0,\n \"PayMode\": 0,\n \"Limit\": 1,\n \"SearchKey\": \"\",\n \"Offset\": 1,\n \"SubnetId\": \"\",\n \"OrderByType\": \"\",\n \"InstanceType\": 0,\n \"ProjectIds\": [\n 1\n ]\n}",
|
159
159
|
"output": "{\n \"Response\": {\n \"InstanceDetails\": [\n {\n \"AutoRenewFlag\": 0,\n \"CloneInstances\": [],\n \"ClusterType\": 0,\n \"ClusterVer\": 1,\n \"ConfigServerCpuNum\": 0,\n \"ConfigServerMemory\": 0,\n \"ConfigServerNodeNum\": 3,\n \"ConfigServerVolume\": 0,\n \"CpuNum\": 2,\n \"CreateTime\": \"2023-03-30 07:44:21\",\n \"DeadLine\": \"2073-03-30 07:44:21\",\n \"InstanceId\": \"cmgo-3vgr****\",\n \"InstanceName\": \"测试实例\",\n \"InstanceStatusDesc\": \"运行中\",\n \"InstanceType\": 1,\n \"InstanceVer\": 4,\n \"MachineType\": \"HIO10G\",\n \"MaintenanceEnd\": \"05:00:00\",\n \"MaintenanceStart\": \"04:00:00\",\n \"Memory\": 4096,\n \"MongoVersion\": \"MONGO_42_WT\",\n \"MongosCpuNum\": 0,\n \"MongosMemory\": 0,\n \"MongosNodeNum\": 0,\n \"NetType\": 1,\n \"PayMode\": 0,\n \"ProjectId\": 0,\n \"Protocol\": 0,\n \"ReadonlyInstances\": [],\n \"ReadonlyNodeNum\": 0,\n \"RealInstanceId\": \"cmgo-3vgr****\",\n \"Region\": \"ap-guangzhou\",\n \"RelatedInstance\": {\n \"InstanceId\": \"\",\n \"Region\": \"\"\n },\n \"ReplicaSets\": [\n {\n \"Memory\": 4096,\n \"OplogSize\": 1024,\n \"RealReplicaSetId\": \"cmgo-3vgrapm5_*\",\n \"ReplicaSetId\": \"cmgo-3vgrapm5_*\",\n \"ReplicaSetName\": \"cmgo-3vgrapm5_*\",\n \"SecondaryNum\": 2,\n \"UsedVolume\": 315,\n \"Volume\": 10240\n }\n ],\n \"ReplicationSetNum\": 1,\n \"SecondaryNum\": 2,\n \"StandbyInstances\": [],\n \"Status\": 2,\n \"SubnetId\": \"subnet-7q7d****\",\n \"Tags\": [],\n \"UsedVolume\": 315,\n \"Vip\": \"10.5.2.12;10.5.2.14;10.5.2.10\",\n \"Volume\": 10240,\n \"VpcId\": \"vpc-gfb3****\",\n \"Vport\": 27017,\n \"Zone\": \"ap-guangzhou-2\",\n \"ZoneList\": []\n }\n ],\n \"RequestId\": \"230c9c0e-a56f-4639-81ee-3cb46905c087\",\n \"TotalCount\": 1\n }\n}",
|
160
160
|
"title": "查询实例列表"
|
161
161
|
}
|
@@ -195,7 +195,7 @@
|
|
195
195
|
"DescribeSpecInfo": [
|
196
196
|
{
|
197
197
|
"document": "",
|
198
|
-
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSpecInfo\n<公共请求参数>\n\n{\n \"Zone\": \"ap-guangzhou\"\n}",
|
198
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSpecInfo\n<公共请求参数>\n\n{\n \"Zone\": \"ap-guangzhou-3\"\n}",
|
199
199
|
"output": "{\n \"Response\": {\n \"RequestId\": \"a8c7ade4-2d22-4f5e-9e71-f546f15e6d67\",\n \"SpecInfoList\": [\n {\n \"Region\": \"ap-guangzhou\",\n \"SpecItems\": [\n {\n \"ClusterType\": 0,\n \"Conns\": 1500,\n \"Cpu\": 2,\n \"DefaultStorage\": 25600,\n \"EngineName\": \"WiredTiger\",\n \"MachineType\": \"HIO10G\",\n \"MaxNodeNum\": 3,\n \"MaxReplicateSetNodeNum\": 5,\n \"MaxReplicateSetNum\": 20,\n \"MaxStorage\": 512000,\n \"Memory\": 4096,\n \"MinNodeNum\": 3,\n \"MinReplicateSetNodeNum\": 3,\n \"MinReplicateSetNum\": 2,\n \"MinStorage\": 102400,\n \"MongoVersionCode\": \"MONGO_36_WT\",\n \"MongoVersionValue\": 4,\n \"Qps\": 5000,\n \"SpecCode\": \"mongo.HIO10G.4g\",\n \"Status\": 1,\n \"Version\": \"3.6\"\n },\n {\n \"ClusterType\": 0,\n \"Conns\": 1500,\n \"Cpu\": 2,\n \"DefaultStorage\": 25600,\n \"EngineName\": \"WiredTiger\",\n \"MachineType\": \"HIO10G\",\n \"MaxNodeNum\": 3,\n \"MaxReplicateSetNodeNum\": 5,\n \"MaxReplicateSetNum\": 20,\n \"MaxStorage\": 512000,\n \"Memory\": 4096,\n \"MinNodeNum\": 3,\n \"MinReplicateSetNodeNum\": 3,\n \"MinReplicateSetNum\": 2,\n \"MinStorage\": 102400,\n \"MongoVersionCode\": \"MONGO_3_WT\",\n \"MongoVersionValue\": 2,\n \"Qps\": 5000,\n \"SpecCode\": \"mongo.HIO10G.4g\",\n \"Status\": 1,\n \"Version\": \"3.2\"\n },\n {\n \"ClusterType\": 1,\n \"Conns\": 15000,\n \"Cpu\": 48,\n \"DefaultStorage\": 4096000,\n \"EngineName\": \"WiredTiger\",\n \"MachineType\": \"HIO10G\",\n \"MaxNodeNum\": 3,\n \"MaxReplicateSetNodeNum\": 5,\n \"MaxReplicateSetNum\": 20,\n \"MaxStorage\": 6144000,\n \"Memory\": 524288,\n \"MinNodeNum\": 3,\n \"MinReplicateSetNodeNum\": 3,\n \"MinReplicateSetNum\": 2,\n \"MinStorage\": 1536000,\n \"MongoVersionCode\": \"MONGO_36_WT\",\n \"MongoVersionValue\": 4,\n \"Qps\": 42000,\n \"SpecCode\": \"mongo.HIO10G.512g\",\n \"Status\": 1,\n \"Version\": \"3.6\"\n }\n ],\n \"SupportMultiAZ\": 1,\n \"Zone\": \"ap-guangzhou-3\"\n }\n ]\n }\n}",
|
200
200
|
"title": "查询云数据库售卖"
|
201
201
|
}
|
@@ -243,7 +243,7 @@
|
|
243
243
|
"InquirePriceCreateDBInstances": [
|
244
244
|
{
|
245
245
|
"document": "",
|
246
|
-
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquirePriceCreateDBInstances\n<公共请求参数>\n\n{\n \"GoodsNum\": 2,\n \"Zone\": \"ap-guangzhou-4\",\n \"Memory\": 4,\n \"Period\":
|
246
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquirePriceCreateDBInstances\n<公共请求参数>\n\n{\n \"GoodsNum\": 2,\n \"Zone\": \"ap-guangzhou-4\",\n \"Memory\": 4,\n \"Period\": 1,\n \"ClusterType\": \"REPLSET\",\n \"Volume\": 100,\n \"NodeNum\": 3,\n \"ReplicateSetNum\": 1,\n \"MachineCode\": \"HIO10G\",\n \"MongoVersion\": \"MONGO_50_WT\"\n}",
|
247
247
|
"output": "{\n \"Response\": {\n \"Price\": {\n \"DiscountPrice\": 1340,\n \"OriginalPrice\": 1340,\n \"UnitPrice\": 670\n },\n \"RequestId\": \"fb8b4646-389d-44cc-ab8c-98c081cbdad3\"\n }\n}",
|
248
248
|
"title": "查询新购数据库实例价格"
|
249
249
|
}
|
@@ -307,7 +307,7 @@
|
|
307
307
|
"ModifyDBInstanceSpec": [
|
308
308
|
{
|
309
309
|
"document": "调整云数据库实例配置",
|
310
|
-
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceSpec\n<公共请求参数>\n\n{\n \"InstanceId\": \"cmgo-p8vn****\",\n \"Volume\":
|
310
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceSpec\n<公共请求参数>\n\n{\n \"InstanceId\": \"cmgo-p8vn****\",\n \"Volume\": 250,\n \"Memory\": 4\n}",
|
311
311
|
"output": "{\n \"Response\": {\n \"RequestId\": \"d88095e5-50e8-4245-a0cf-993a536f9b20\",\n \"DealId\": \"7142863\"\n }\n}",
|
312
312
|
"title": "调整云数据库实例配置"
|
313
313
|
},
|