tccli 3.0.1321.1__py2.py3-none-any.whl → 3.0.1322.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/batch/v20170312/api.json +16 -16
- tccli/services/bh/v20230418/api.json +203 -0
- tccli/services/cam/v20190116/api.json +18 -18
- tccli/services/cbs/v20170312/api.json +4 -4
- tccli/services/cdb/cdb_client.py +53 -0
- tccli/services/cdb/v20170320/api.json +486 -1
- tccli/services/cdb/v20170320/examples.json +8 -0
- tccli/services/cdwdoris/v20211228/api.json +10 -1
- tccli/services/cynosdb/v20190107/api.json +148 -4
- tccli/services/dlc/v20210125/api.json +11 -9
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/goosefs/v20220519/api.json +4 -4
- tccli/services/keewidb/v20220308/api.json +6 -4
- tccli/services/lkeap/v20240522/api.json +2 -2
- tccli/services/lkeap/v20240522/examples.json +2 -2
- tccli/services/mps/v20190612/api.json +27 -0
- tccli/services/oceanus/v20190422/api.json +425 -13
- tccli/services/oceanus/v20190422/examples.json +1 -1
- tccli/services/ses/ses_client.py +53 -0
- tccli/services/ses/v20201002/api.json +102 -0
- tccli/services/ses/v20201002/examples.json +8 -0
- tccli/services/ssl/v20191205/api.json +10 -0
- tccli/services/tag/v20180813/api.json +26 -26
- tccli/services/teo/v20220901/examples.json +3 -3
- tccli/services/tione/v20211111/api.json +42 -0
- tccli/services/vpc/v20170312/api.json +4 -4
- tccli/services/wedata/v20210820/api.json +110 -6
- tccli/services/wedata/v20210820/examples.json +3 -3
- {tccli-3.0.1321.1.dist-info → tccli-3.0.1322.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1321.1.dist-info → tccli-3.0.1322.1.dist-info}/RECORD +35 -35
- {tccli-3.0.1321.1.dist-info → tccli-3.0.1322.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1321.1.dist-info → tccli-3.0.1322.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1321.1.dist-info → tccli-3.0.1322.1.dist-info}/license_files/LICENSE +0 -0
@@ -3020,6 +3020,16 @@
|
|
3020
3020
|
"output_required": false,
|
3021
3021
|
"type": "object",
|
3022
3022
|
"value_allowed_null": false
|
3023
|
+
},
|
3024
|
+
{
|
3025
|
+
"disabled": false,
|
3026
|
+
"document": "全球数据库网络任务",
|
3027
|
+
"example": "无",
|
3028
|
+
"member": "GdnTaskInfo",
|
3029
|
+
"name": "GdnTaskInfo",
|
3030
|
+
"output_required": false,
|
3031
|
+
"type": "object",
|
3032
|
+
"value_allowed_null": false
|
3023
3033
|
}
|
3024
3034
|
],
|
3025
3035
|
"usage": "out"
|
@@ -6382,6 +6392,36 @@
|
|
6382
6392
|
"output_required": false,
|
6383
6393
|
"type": "string",
|
6384
6394
|
"value_allowed_null": false
|
6395
|
+
},
|
6396
|
+
{
|
6397
|
+
"disabled": false,
|
6398
|
+
"document": "二级存储使用量,单位:G",
|
6399
|
+
"example": "100",
|
6400
|
+
"member": "int64",
|
6401
|
+
"name": "UsedArchiveStorage",
|
6402
|
+
"output_required": false,
|
6403
|
+
"type": "int",
|
6404
|
+
"value_allowed_null": false
|
6405
|
+
},
|
6406
|
+
{
|
6407
|
+
"disabled": false,
|
6408
|
+
"document": "归档状态,枚举值<li>normal:正常</li><li>archiving:归档中</li><li>resuming:恢复中</li><li>archived :已归档</li>",
|
6409
|
+
"example": "normal",
|
6410
|
+
"member": "string",
|
6411
|
+
"name": "ArchiveStatus",
|
6412
|
+
"output_required": false,
|
6413
|
+
"type": "string",
|
6414
|
+
"value_allowed_null": false
|
6415
|
+
},
|
6416
|
+
{
|
6417
|
+
"disabled": false,
|
6418
|
+
"document": "归档进度,百分比。",
|
6419
|
+
"example": "64",
|
6420
|
+
"member": "int64",
|
6421
|
+
"name": "ArchiveProgress",
|
6422
|
+
"output_required": false,
|
6423
|
+
"type": "int",
|
6424
|
+
"value_allowed_null": false
|
6385
6425
|
}
|
6386
6426
|
],
|
6387
6427
|
"usage": "out"
|
@@ -12358,6 +12398,16 @@
|
|
12358
12398
|
"type": "string",
|
12359
12399
|
"value_allowed_null": false
|
12360
12400
|
},
|
12401
|
+
{
|
12402
|
+
"disabled": false,
|
12403
|
+
"document": "是否开启归档,可选范围<li>yes</li><li>no</li>默认值:yes",
|
12404
|
+
"example": "yes",
|
12405
|
+
"member": "string",
|
12406
|
+
"name": "AutoArchive",
|
12407
|
+
"output_required": false,
|
12408
|
+
"type": "string",
|
12409
|
+
"value_allowed_null": false
|
12410
|
+
},
|
12361
12411
|
{
|
12362
12412
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
12363
12413
|
"member": "string",
|
@@ -13108,6 +13158,82 @@
|
|
13108
13158
|
],
|
13109
13159
|
"type": "object"
|
13110
13160
|
},
|
13161
|
+
"GdnTaskInfo": {
|
13162
|
+
"document": "全球数据库任务信息",
|
13163
|
+
"members": [
|
13164
|
+
{
|
13165
|
+
"disabled": false,
|
13166
|
+
"document": "全球数据库唯一标识",
|
13167
|
+
"example": "cynosdbmysql-gdn-byo4q0th",
|
13168
|
+
"member": "string",
|
13169
|
+
"name": "GdnId",
|
13170
|
+
"output_required": false,
|
13171
|
+
"type": "string",
|
13172
|
+
"value_allowed_null": false
|
13173
|
+
},
|
13174
|
+
{
|
13175
|
+
"disabled": false,
|
13176
|
+
"document": "全球数据库唯一别名",
|
13177
|
+
"example": "gdnname",
|
13178
|
+
"member": "string",
|
13179
|
+
"name": "GdnName",
|
13180
|
+
"output_required": false,
|
13181
|
+
"type": "string",
|
13182
|
+
"value_allowed_null": false
|
13183
|
+
},
|
13184
|
+
{
|
13185
|
+
"disabled": false,
|
13186
|
+
"document": "主集群ID",
|
13187
|
+
"example": "cynosdbmysql-byo4q0t2",
|
13188
|
+
"member": "string",
|
13189
|
+
"name": "PrimaryClusterId",
|
13190
|
+
"output_required": false,
|
13191
|
+
"type": "string",
|
13192
|
+
"value_allowed_null": false
|
13193
|
+
},
|
13194
|
+
{
|
13195
|
+
"disabled": false,
|
13196
|
+
"document": "主集群所在地域",
|
13197
|
+
"example": "ap-chengdu",
|
13198
|
+
"member": "string",
|
13199
|
+
"name": "PrimaryClusterRegion",
|
13200
|
+
"output_required": false,
|
13201
|
+
"type": "string",
|
13202
|
+
"value_allowed_null": false
|
13203
|
+
},
|
13204
|
+
{
|
13205
|
+
"disabled": false,
|
13206
|
+
"document": "从集群所在地域",
|
13207
|
+
"example": "ap-guangzhou",
|
13208
|
+
"member": "string",
|
13209
|
+
"name": "StandbyClusterRegion",
|
13210
|
+
"output_required": false,
|
13211
|
+
"type": "string",
|
13212
|
+
"value_allowed_null": false
|
13213
|
+
},
|
13214
|
+
{
|
13215
|
+
"disabled": false,
|
13216
|
+
"document": "从集群ID",
|
13217
|
+
"example": "cynosdbmysql-byo4q0t2",
|
13218
|
+
"member": "string",
|
13219
|
+
"name": "StandbyClusterId",
|
13220
|
+
"output_required": false,
|
13221
|
+
"type": "string",
|
13222
|
+
"value_allowed_null": false
|
13223
|
+
},
|
13224
|
+
{
|
13225
|
+
"disabled": false,
|
13226
|
+
"document": "从集群别名",
|
13227
|
+
"example": "standbycluster",
|
13228
|
+
"member": "string",
|
13229
|
+
"name": "StandbyClusterName",
|
13230
|
+
"output_required": false,
|
13231
|
+
"type": "string",
|
13232
|
+
"value_allowed_null": false
|
13233
|
+
}
|
13234
|
+
],
|
13235
|
+
"usage": "out"
|
13236
|
+
},
|
13111
13237
|
"GrantAccountPrivilegesRequest": {
|
13112
13238
|
"document": "GrantAccountPrivileges请求参数结构体",
|
13113
13239
|
"members": [
|
@@ -16499,6 +16625,15 @@
|
|
16499
16625
|
"name": "MaxRoCount",
|
16500
16626
|
"required": false,
|
16501
16627
|
"type": "int"
|
16628
|
+
},
|
16629
|
+
{
|
16630
|
+
"disabled": false,
|
16631
|
+
"document": "是否开启归档,可选范围<li>yes</li><li>no</li>默认值:yes",
|
16632
|
+
"example": "yes",
|
16633
|
+
"member": "string",
|
16634
|
+
"name": "AutoArchive",
|
16635
|
+
"required": false,
|
16636
|
+
"type": "string"
|
16502
16637
|
}
|
16503
16638
|
],
|
16504
16639
|
"type": "object"
|
@@ -18481,7 +18616,7 @@
|
|
18481
18616
|
"members": [
|
18482
18617
|
{
|
18483
18618
|
"disabled": false,
|
18484
|
-
"document": "
|
18619
|
+
"document": "数据库代理组节点个数。该参数不再建议使用,建议使用ProxyZones",
|
18485
18620
|
"example": "cynosdbmysql-xxxxxxx",
|
18486
18621
|
"member": "int64",
|
18487
18622
|
"name": "ProxyCount",
|
@@ -18508,7 +18643,7 @@
|
|
18508
18643
|
},
|
18509
18644
|
{
|
18510
18645
|
"disabled": false,
|
18511
|
-
"document": "
|
18646
|
+
"document": "连接池类型:SessionConnectionPool(会话级别连接池 )",
|
18512
18647
|
"example": "SessionConnectionPool",
|
18513
18648
|
"member": "string",
|
18514
18649
|
"name": "ConnectionPoolType",
|
@@ -18526,7 +18661,7 @@
|
|
18526
18661
|
},
|
18527
18662
|
{
|
18528
18663
|
"disabled": false,
|
18529
|
-
"document": "
|
18664
|
+
"document": "连接池阈值:单位(秒)",
|
18530
18665
|
"example": "0",
|
18531
18666
|
"member": "int64",
|
18532
18667
|
"name": "ConnectionPoolTimeOut",
|
@@ -18536,7 +18671,7 @@
|
|
18536
18671
|
{
|
18537
18672
|
"disabled": false,
|
18538
18673
|
"document": "描述说明",
|
18539
|
-
"example": "
|
18674
|
+
"example": "只读代理",
|
18540
18675
|
"member": "string",
|
18541
18676
|
"name": "Description",
|
18542
18677
|
"required": false,
|
@@ -20498,6 +20633,15 @@
|
|
20498
20633
|
"name": "ProjectId",
|
20499
20634
|
"required": false,
|
20500
20635
|
"type": "int"
|
20636
|
+
},
|
20637
|
+
{
|
20638
|
+
"disabled": false,
|
20639
|
+
"document": "是否开启归档,可选范围<li>yes</li><li>no</li>默认值:yes",
|
20640
|
+
"example": "yes",
|
20641
|
+
"member": "string",
|
20642
|
+
"name": "AutoArchive",
|
20643
|
+
"required": false,
|
20644
|
+
"type": "string"
|
20501
20645
|
}
|
20502
20646
|
],
|
20503
20647
|
"type": "object"
|
@@ -13888,20 +13888,22 @@
|
|
13888
13888
|
"members": [
|
13889
13889
|
{
|
13890
13890
|
"disabled": false,
|
13891
|
-
"document": "
|
13891
|
+
"document": "kafka实例Id",
|
13892
13892
|
"example": "***",
|
13893
13893
|
"member": "string",
|
13894
13894
|
"name": "InstanceId",
|
13895
|
+
"output_required": true,
|
13895
13896
|
"required": true,
|
13896
13897
|
"type": "string",
|
13897
13898
|
"value_allowed_null": false
|
13898
13899
|
},
|
13899
13900
|
{
|
13900
13901
|
"disabled": false,
|
13901
|
-
"document": "
|
13902
|
+
"document": "kafka数据源的网络信息",
|
13902
13903
|
"example": "{\"VpcId\":\"vpc-***\",\"VpcCidrBlock\":\"10.0.0.0/16\",\"SubnetId\":\"subn",
|
13903
13904
|
"member": "DatasourceConnectionLocation",
|
13904
13905
|
"name": "Location",
|
13906
|
+
"output_required": true,
|
13905
13907
|
"required": true,
|
13906
13908
|
"type": "object",
|
13907
13909
|
"value_allowed_null": false
|
@@ -16223,7 +16225,7 @@
|
|
16223
16225
|
"members": [
|
16224
16226
|
{
|
16225
16227
|
"disabled": false,
|
16226
|
-
"document": "
|
16228
|
+
"document": "需要授权的数据库名,填 * 代表当前Catalog下所有数据库。当授权类型为管理员级别时,只允许填 “*”,当授权类型为数据连接级别时只允许填空,其他类型下可以任意指定数据库。",
|
16227
16229
|
"example": "test_database",
|
16228
16230
|
"member": "string",
|
16229
16231
|
"name": "Database",
|
@@ -16234,7 +16236,7 @@
|
|
16234
16236
|
},
|
16235
16237
|
{
|
16236
16238
|
"disabled": false,
|
16237
|
-
"document": "
|
16239
|
+
"document": "需要授权的数据源名称,管理员级别下只支持填 * (代表该级别全部资源);数据源级别和数据库级别鉴权的情况下,只支持填COSDataCatalog或者*;在数据表级别鉴权下可以填写用户自定义数据源。不填情况下默认为DataLakeCatalog。注意:如果是对用户自定义数据源进行鉴权,DLC能够管理的权限是用户接入数据源的时候提供的账户的子集。",
|
16238
16240
|
"example": "DataLakeCatalog",
|
16239
16241
|
"member": "string",
|
16240
16242
|
"name": "Catalog",
|
@@ -16245,7 +16247,7 @@
|
|
16245
16247
|
},
|
16246
16248
|
{
|
16247
16249
|
"disabled": false,
|
16248
|
-
"document": "
|
16250
|
+
"document": "需要授权的表名,填 * 代表当前Database下所有表。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别、数据库级别时只允许填空,其他类型下可以任意指定数据表。",
|
16249
16251
|
"example": "test_table",
|
16250
16252
|
"member": "string",
|
16251
16253
|
"name": "Table",
|
@@ -16278,7 +16280,7 @@
|
|
16278
16280
|
},
|
16279
16281
|
{
|
16280
16282
|
"disabled": false,
|
16281
|
-
"document": "
|
16283
|
+
"document": "需要授权的函数名,填 * 代表当前Catalog下所有函数。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别时只允许填空,其他类型下可以任意指定函数。\n注意:此字段可能返回 null,表示取不到有效值。",
|
16282
16284
|
"example": "fun1",
|
16283
16285
|
"member": "string",
|
16284
16286
|
"name": "Function",
|
@@ -16289,7 +16291,7 @@
|
|
16289
16291
|
},
|
16290
16292
|
{
|
16291
16293
|
"disabled": false,
|
16292
|
-
"document": "
|
16294
|
+
"document": "需要授权的视图,填 * 代表当前Database下所有视图。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别、数据库级别时只允许填空,其他类型下可以任意指定视图。\n注意:此字段可能返回 null,表示取不到有效值。",
|
16293
16295
|
"example": "view1",
|
16294
16296
|
"member": "string",
|
16295
16297
|
"name": "View",
|
@@ -16300,7 +16302,7 @@
|
|
16300
16302
|
},
|
16301
16303
|
{
|
16302
16304
|
"disabled": false,
|
16303
|
-
"document": "
|
16305
|
+
"document": "需要授权的列,填 * 代表当前所有列。当授权类型为管理员级别时,只允许填“*”\n注意:此字段可能返回 null,表示取不到有效值。",
|
16304
16306
|
"example": "column1",
|
16305
16307
|
"member": "string",
|
16306
16308
|
"name": "Column",
|
@@ -16311,7 +16313,7 @@
|
|
16311
16313
|
},
|
16312
16314
|
{
|
16313
16315
|
"disabled": false,
|
16314
|
-
"document": "
|
16316
|
+
"document": "需要授权的数据引擎,填 * 代表当前所有引擎。当授权类型为管理员级别时,只允许填“*”\n注意:此字段可能返回 null,表示取不到有效值。",
|
16315
16317
|
"example": "dataEngine1",
|
16316
16318
|
"member": "string",
|
16317
16319
|
"name": "DataEngine",
|
@@ -337,7 +337,7 @@
|
|
337
337
|
"status": "online"
|
338
338
|
},
|
339
339
|
"CreateReleaseFlow": {
|
340
|
-
"document": "发起解除协议的主要应用场景为:基于一份已经签署的合同(签署流程),进行解除操作。\n解除协议的模板是官方提供 ,经过提供法务审核,暂不支持自定义。具体用法可以参考文档[合同解除](https://qian.tencent.com/developers/company/flow_release)。\n\n注意:\n<ul>\n<li><strong>完成原合同签署后方可发起解除协议:</strong>只有在原合同所有签署人完成签署后,才可以启动解除协议的流程。</li>\n<li><strong>原合同状态更新:</strong
|
340
|
+
"document": "发起解除协议的主要应用场景为:基于一份已经签署的合同(签署流程),进行解除操作。\n解除协议的模板是官方提供 ,经过提供法务审核,暂不支持自定义。具体用法可以参考文档[合同解除](https://qian.tencent.com/developers/company/flow_release)。\n\n注意:\n<ul>\n<li><strong>完成原合同签署后方可发起解除协议:</strong>只有在原合同所有签署人完成签署后,才可以启动解除协议的流程。</li>\n<li><strong>原合同状态更新:</strong>解除协议一旦签署完毕,原合同状态将更新为“已解除”。</li>\n<li><strong>解除协议的个人参与要求:</strong>原合同中的个人参与者必须直接参与解除协议,禁止替换为其他第三方个人。</li>\n<li><strong>企业参与人的代理权:</strong>若原合同的企业参与人无法亲自参与解除协议,可指派具有等同权限的企业员工代行。</li>\n<li><strong>解除协议的费用问题:</strong>发起解除协议将产生费用,其扣费标准与其他企业合同相同。</li>\n<li><strong>解除协议的发起资格:</strong>仅限原合同中的企业类型参与者发起解除协议,个人参与者无此权限。</li>\n<li><strong>非原合同企业参与者的权限:</strong>非原合同的企业参与者发起解除协议时,必须具备相应的解除权限。</li>\n<li><strong>自动签署:</strong>支持本企业的自动签署,不支持其他企业的自动签署(不能不动声色的把别人参与的合同作废了)</li>\n</ul>\n\n",
|
341
341
|
"input": "CreateReleaseFlowRequest",
|
342
342
|
"name": "发起解除协议",
|
343
343
|
"output": "CreateReleaseFlowResponse",
|
@@ -176,7 +176,7 @@
|
|
176
176
|
"status": "online"
|
177
177
|
},
|
178
178
|
"ChannelCreateReleaseFlow": {
|
179
|
-
"document": "发起解除协议的主要应用场景为:基于一份已经签署的合同(签署流程),进行解除操作。\n解除协议的模板是官方提供,经过提供法务审核,暂不支持自定义。具体用法可以参考文档[合同解除](https://qian.tencent.com/developers/partner/flow_release)。\n\n注意:\n<ul><li><code>原合同必须签署完</code>成后才能发起解除协议。</li>\n<li>只有原合同企业类型的参与人才能发起解除协议,<code>个人参与方不能发起解除协议</code>。</li>\n<li>原合同个人类型参与人必须是解除协议的参与人,<code>不能更换其他第三方个人</code>参与解除协议。</li>\n<li>如果原合同企业参与人无法参与解除协议,可以指定同企业具有同等权限的<code>企业员工代为处理</code>。</li>\n<li>发起解除协议同发起其他企业合同一样,也会参与合同<code>扣费</code>,扣费标准同其他类型合同。</li>\n<li
|
179
|
+
"document": "发起解除协议的主要应用场景为:基于一份已经签署的合同(签署流程),进行解除操作。\n解除协议的模板是官方提供,经过提供法务审核,暂不支持自定义。具体用法可以参考文档[合同解除](https://qian.tencent.com/developers/partner/flow_release)。\n\n注意:\n<ul><li><code>原合同必须签署完</code>成后才能发起解除协议。</li>\n<li>只有原合同企业类型的参与人才能发起解除协议,<code>个人参与方不能发起解除协议</code>。</li>\n<li>原合同个人类型参与人必须是解除协议的参与人,<code>不能更换其他第三方个人</code>参与解除协议。</li>\n<li>如果原合同企业参与人无法参与解除协议,可以指定同企业具有同等权限的<code>企业员工代为处理</code>。</li>\n<li>发起解除协议同发起其他企业合同一样,也会参与合同<code>扣费</code>,扣费标准同其他类型合同。</li>\n<li>在解除协议签署完毕后,原合同变为已解除状态。</li>\n<li>非原合同企业参与人发起解除协议时,需要有<code>解除合同的权限</code>。</li>\n</ul>",
|
180
180
|
"input": "ChannelCreateReleaseFlowRequest",
|
181
181
|
"name": "发起解除协议",
|
182
182
|
"output": "ChannelCreateReleaseFlowResponse",
|
@@ -1657,7 +1657,7 @@
|
|
1657
1657
|
{
|
1658
1658
|
"disabled": false,
|
1659
1659
|
"document": "Fileset名称",
|
1660
|
-
"example": "
|
1660
|
+
"example": "myfset",
|
1661
1661
|
"member": "string",
|
1662
1662
|
"name": "FsetName",
|
1663
1663
|
"output_required": true,
|
@@ -1745,7 +1745,7 @@
|
|
1745
1745
|
{
|
1746
1746
|
"disabled": false,
|
1747
1747
|
"document": "Fileset审计",
|
1748
|
-
"example": "
|
1748
|
+
"example": "enable/disable",
|
1749
1749
|
"member": "string",
|
1750
1750
|
"name": "AuditState",
|
1751
1751
|
"output_required": false,
|
@@ -1756,7 +1756,7 @@
|
|
1756
1756
|
{
|
1757
1757
|
"disabled": false,
|
1758
1758
|
"document": "创建时间",
|
1759
|
-
"example": "
|
1759
|
+
"example": "2025-04-08T19:38:54+08:00",
|
1760
1760
|
"member": "datetime_iso",
|
1761
1761
|
"name": "CreateTime",
|
1762
1762
|
"output_required": false,
|
@@ -1767,7 +1767,7 @@
|
|
1767
1767
|
{
|
1768
1768
|
"disabled": false,
|
1769
1769
|
"document": "修改时间",
|
1770
|
-
"example": "
|
1770
|
+
"example": "2025-04-29T15:20:23+08:00",
|
1771
1771
|
"member": "datetime_iso",
|
1772
1772
|
"name": "ModifyTime",
|
1773
1773
|
"output_required": false,
|
@@ -711,7 +711,7 @@
|
|
711
711
|
},
|
712
712
|
{
|
713
713
|
"disabled": false,
|
714
|
-
"document": "实例所属的可用区ID。<ul><li>具体取值,请参见[地域和可用区](https://cloud.tencent.com/document/product/239/4106)获取。</li><li>参数<b>ZoneId</b>和<b>ZoneName</b>至少配置其中一个。</li></
|
714
|
+
"document": "实例所属的可用区ID。<ul><li>具体取值,请参见[地域和可用区](https://cloud.tencent.com/document/product/239/4106)获取。</li><li>参数<b>ZoneId</b>和<b>ZoneName</b>至少配置其中一个。</li></ul>",
|
715
715
|
"example": "100006",
|
716
716
|
"member": "uint64",
|
717
717
|
"name": "ZoneId",
|
@@ -720,7 +720,7 @@
|
|
720
720
|
},
|
721
721
|
{
|
722
722
|
"disabled": false,
|
723
|
-
"document": "实例所属的可用区名称。<ul><li>具体取值,请参见[地域和可用区](https://cloud.tencent.com/document/product/239/4106)获取。</li><li>参数<b>ZoneId</b>和<b>ZoneName</b>至少配置其中一个。</li></
|
723
|
+
"document": "实例所属的可用区名称。<ul><li>具体取值,请参见[地域和可用区](https://cloud.tencent.com/document/product/239/4106)获取。</li><li>参数<b>ZoneId</b>和<b>ZoneName</b>至少配置其中一个。</li></ul>",
|
724
724
|
"example": "ap-guangzhou-6",
|
725
725
|
"member": "string",
|
726
726
|
"name": "ZoneName",
|
@@ -765,7 +765,7 @@
|
|
765
765
|
},
|
766
766
|
{
|
767
767
|
"disabled": false,
|
768
|
-
"document": "包年包月计费的续费模式。<ul><li>0:默认状态,指手动续费。</li><li>1:自动续费。</li><li>2:到期不再续费。</ul>",
|
768
|
+
"document": "包年包月计费的续费模式。<ul><li>0:默认状态,指手动续费。</li><li>1:自动续费。</li><li>2:到期不再续费。</li></ul>",
|
769
769
|
"example": "0",
|
770
770
|
"member": "uint64",
|
771
771
|
"name": "AutoRenew",
|
@@ -828,7 +828,7 @@
|
|
828
828
|
},
|
829
829
|
{
|
830
830
|
"disabled": false,
|
831
|
-
"document": "数据压缩开关。<ul><li>ON:开启,默认开启压缩。</li><li>OFF:关闭。</li>",
|
831
|
+
"document": "数据压缩开关。<ul><li>ON:开启,默认开启压缩。</li><li>OFF:关闭。</li></ul>",
|
832
832
|
"example": "ON",
|
833
833
|
"member": "string",
|
834
834
|
"name": "Compression",
|
@@ -847,6 +847,7 @@
|
|
847
847
|
"example": "199878234",
|
848
848
|
"member": "string",
|
849
849
|
"name": "DealId",
|
850
|
+
"output_required": true,
|
850
851
|
"type": "string",
|
851
852
|
"value_allowed_null": false
|
852
853
|
},
|
@@ -856,6 +857,7 @@
|
|
856
857
|
"example": "kee-7djvzcnx",
|
857
858
|
"member": "string",
|
858
859
|
"name": "InstanceIds",
|
860
|
+
"output_required": true,
|
859
861
|
"type": "list",
|
860
862
|
"value_allowed_null": false
|
861
863
|
},
|
@@ -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 模型对话,推荐您前往[
|
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-Prover-V2(model 参数值为**deepseek-prover-v2**)\n - DeepSeek-Prover-V2 为671B 参数 MoE 模型,在数学定理证明和复杂计算任务中表现出色。\n - 支持64K上下文长度,最大输出16k。\n\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\n - DeepSeek-R1 模型 | 输入: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-Prover-V2 模型 | 暂不计费\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",
|
@@ -1918,7 +1918,7 @@
|
|
1918
1918
|
{
|
1919
1919
|
"disabled": false,
|
1920
1920
|
"document": "答案,最大4000个英文字符",
|
1921
|
-
"example": "
|
1921
|
+
"example": "我是您的智能助手",
|
1922
1922
|
"member": "string",
|
1923
1923
|
"name": "Answer",
|
1924
1924
|
"required": true,
|
@@ -33,7 +33,7 @@
|
|
33
33
|
"CreateQA": [
|
34
34
|
{
|
35
35
|
"document": "创建问答对",
|
36
|
-
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateQA\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"Question\": \"你是谁\",\n \"Answer\": \"
|
36
|
+
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateQA\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"Question\": \"你是谁\",\n \"Answer\": \"我是您的智能助手\",\n \"AttributeLabels\": [\n {\n \"AttributeId\": \"1830994685416869312\",\n \"LabelIds\": [\n \"1830994685429452224\"\n ]\n }\n ]\n}",
|
37
37
|
"output": "{\n \"Response\": {\n \"QaId\": \"1830995120618932160\",\n \"RequestId\": \"28c960e9-c3ba-4a6d-be28-0d5d0dcca5ca\"\n }\n}",
|
38
38
|
"title": "创建问答对"
|
39
39
|
},
|
@@ -175,7 +175,7 @@
|
|
175
175
|
"ModifyQA": [
|
176
176
|
{
|
177
177
|
"document": "修改问答对",
|
178
|
-
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyQA\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"QaId\": \"1830995120618932160\",\n \"Question\": \"你是谁\",\n \"Answer\": \"
|
178
|
+
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyQA\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"QaId\": \"1830995120618932160\",\n \"Question\": \"你是谁\",\n \"Answer\": \"我是您的智能助手\",\n \"AttributeLabels\": [\n {\n \"AttributeId\": \"1830994685416869312\",\n \"LabelIds\": [\n \"1830994685429452224\"\n ]\n }\n ]\n}",
|
179
179
|
"output": "{\n \"Response\": {\n \"RequestId\": \"4f4843c1-8f3b-4a0b-ad7e-91b47f2b93c7\"\n }\n}",
|
180
180
|
"title": "修改问答对"
|
181
181
|
}
|
@@ -15260,6 +15260,15 @@
|
|
15260
15260
|
"name": "EndTime",
|
15261
15261
|
"required": true,
|
15262
15262
|
"type": "string"
|
15263
|
+
},
|
15264
|
+
{
|
15265
|
+
"disabled": false,
|
15266
|
+
"document": "对端客户端或者服务端的IP地址",
|
15267
|
+
"example": "101.101.101.101",
|
15268
|
+
"member": "string",
|
15269
|
+
"name": "RemoteIp",
|
15270
|
+
"required": false,
|
15271
|
+
"type": "string"
|
15263
15272
|
}
|
15264
15273
|
],
|
15265
15274
|
"type": "object"
|
@@ -15453,6 +15462,15 @@
|
|
15453
15462
|
"name": "Period",
|
15454
15463
|
"required": true,
|
15455
15464
|
"type": "string"
|
15465
|
+
},
|
15466
|
+
{
|
15467
|
+
"disabled": false,
|
15468
|
+
"document": "对端客户端或者服务端的IP地址",
|
15469
|
+
"example": "101.101.101.101",
|
15470
|
+
"member": "string",
|
15471
|
+
"name": "RemoteIp",
|
15472
|
+
"required": false,
|
15473
|
+
"type": "string"
|
15456
15474
|
}
|
15457
15475
|
],
|
15458
15476
|
"type": "object"
|
@@ -15544,6 +15562,15 @@
|
|
15544
15562
|
"name": "EndTime",
|
15545
15563
|
"required": true,
|
15546
15564
|
"type": "string"
|
15565
|
+
},
|
15566
|
+
{
|
15567
|
+
"disabled": false,
|
15568
|
+
"document": "对端客户端或者服务端的IP地址",
|
15569
|
+
"example": "101.101.101.101",
|
15570
|
+
"member": "string",
|
15571
|
+
"name": "RemoteIp",
|
15572
|
+
"required": false,
|
15573
|
+
"type": "string"
|
15547
15574
|
}
|
15548
15575
|
],
|
15549
15576
|
"type": "object"
|