tccli 3.0.1403.1__py2.py3-none-any.whl → 3.0.1405.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/cdb/v20170320/api.json +64 -4
- tccli/services/cdb/v20170320/examples.json +3 -3
- tccli/services/cdwdoris/v20211228/api.json +9 -0
- tccli/services/ckafka/v20190819/api.json +33 -0
- tccli/services/cloudapp/v20220530/api.json +55 -0
- tccli/services/dbbrain/v20191016/api.json +11 -1
- tccli/services/dbbrain/v20191016/examples.json +1 -1
- tccli/services/dc/v20180410/api.json +101 -3
- tccli/services/dlc/v20210125/examples.json +1 -1
- tccli/services/emr/v20190103/api.json +2 -2
- tccli/services/es/v20180416/api.json +3 -3
- tccli/services/es/v20180416/examples.json +1 -1
- tccli/services/es/v20250101/api.json +2 -2
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +163 -0
- tccli/services/ess/v20201111/examples.json +8 -0
- tccli/services/lighthouse/v20200324/api.json +1 -1
- tccli/services/oceanus/v20190422/api.json +5 -5
- tccli/services/ocr/v20181119/api.json +3 -3
- tccli/services/postgres/v20170312/api.json +5 -5
- tccli/services/vpc/v20170312/api.json +220 -2
- tccli/services/vpc/v20170312/examples.json +32 -0
- tccli/services/vpc/vpc_client.py +228 -16
- tccli/services/wedata/v20250806/api.json +7147 -1958
- tccli/services/wedata/v20250806/examples.json +346 -0
- tccli/services/wedata/wedata_client.py +2638 -783
- {tccli-3.0.1403.1.dist-info → tccli-3.0.1405.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1403.1.dist-info → tccli-3.0.1405.1.dist-info}/RECORD +32 -32
- {tccli-3.0.1403.1.dist-info → tccli-3.0.1405.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1403.1.dist-info → tccli-3.0.1405.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1403.1.dist-info → tccli-3.0.1405.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1405.1'
|
@@ -7941,6 +7941,16 @@
|
|
7941
7941
|
"type": "string",
|
7942
7942
|
"value_allowed_null": false
|
7943
7943
|
},
|
7944
|
+
{
|
7945
|
+
"disabled": false,
|
7946
|
+
"document": "是否正在开启审计。目前支持的值包括:\"false\"-否,\"true\"-是",
|
7947
|
+
"example": "\"true\"",
|
7948
|
+
"member": "string",
|
7949
|
+
"name": "IsOpening",
|
7950
|
+
"output_required": false,
|
7951
|
+
"type": "string",
|
7952
|
+
"value_allowed_null": false
|
7953
|
+
},
|
7944
7954
|
{
|
7945
7955
|
"disabled": false,
|
7946
7956
|
"document": "审计服务开通时间。",
|
@@ -14629,7 +14639,7 @@
|
|
14629
14639
|
{
|
14630
14640
|
"disabled": false,
|
14631
14641
|
"document": "实例相关信息",
|
14632
|
-
"example": "
|
14642
|
+
"example": "无",
|
14633
14643
|
"member": "AuditInstanceInfo",
|
14634
14644
|
"name": "InstanceInfo",
|
14635
14645
|
"output_required": true,
|
@@ -14665,6 +14675,56 @@
|
|
14665
14675
|
"output_required": false,
|
14666
14676
|
"type": "list",
|
14667
14677
|
"value_allowed_null": false
|
14678
|
+
},
|
14679
|
+
{
|
14680
|
+
"disabled": false,
|
14681
|
+
"document": "限免状态",
|
14682
|
+
"example": "\"TRIAL/EXPIRED/NONE\"",
|
14683
|
+
"member": "string",
|
14684
|
+
"name": "TrialStatus",
|
14685
|
+
"output_required": false,
|
14686
|
+
"type": "string",
|
14687
|
+
"value_allowed_null": false
|
14688
|
+
},
|
14689
|
+
{
|
14690
|
+
"disabled": false,
|
14691
|
+
"document": "限免开启时间",
|
14692
|
+
"example": "1",
|
14693
|
+
"member": "int64",
|
14694
|
+
"name": "TrialStartTime",
|
14695
|
+
"output_required": false,
|
14696
|
+
"type": "int",
|
14697
|
+
"value_allowed_null": false
|
14698
|
+
},
|
14699
|
+
{
|
14700
|
+
"disabled": false,
|
14701
|
+
"document": "限免持续时间",
|
14702
|
+
"example": "1",
|
14703
|
+
"member": "int64",
|
14704
|
+
"name": "TrialDuration",
|
14705
|
+
"output_required": false,
|
14706
|
+
"type": "int",
|
14707
|
+
"value_allowed_null": false
|
14708
|
+
},
|
14709
|
+
{
|
14710
|
+
"disabled": false,
|
14711
|
+
"document": "限免关闭时间",
|
14712
|
+
"example": "1",
|
14713
|
+
"member": "int64",
|
14714
|
+
"name": "TrialCloseTime",
|
14715
|
+
"output_required": false,
|
14716
|
+
"type": "int",
|
14717
|
+
"value_allowed_null": false
|
14718
|
+
},
|
14719
|
+
{
|
14720
|
+
"disabled": false,
|
14721
|
+
"document": "限免期查询日志时长",
|
14722
|
+
"example": "1",
|
14723
|
+
"member": "int64",
|
14724
|
+
"name": "TrialDescribeLogHours",
|
14725
|
+
"output_required": false,
|
14726
|
+
"type": "int",
|
14727
|
+
"value_allowed_null": false
|
14668
14728
|
}
|
14669
14729
|
],
|
14670
14730
|
"usage": "out"
|
@@ -16252,7 +16312,7 @@
|
|
16252
16312
|
{
|
16253
16313
|
"disabled": true,
|
16254
16314
|
"document": "废弃。",
|
16255
|
-
"example": "
|
16315
|
+
"example": "无",
|
16256
16316
|
"member": "AuditRuleFilters",
|
16257
16317
|
"name": "AuditRuleFilters",
|
16258
16318
|
"required": false,
|
@@ -16261,7 +16321,7 @@
|
|
16261
16321
|
{
|
16262
16322
|
"disabled": false,
|
16263
16323
|
"document": "规则模板 ID。可通过 [DescribeAuditRuleTemplates](https://cloud.tencent.com/document/api/236/101811) 接口获取。",
|
16264
|
-
"example": "cdb-art-nuf7e111",
|
16324
|
+
"example": "[\"cdb-art-nuf7e111\"]",
|
16265
16325
|
"member": "string",
|
16266
16326
|
"name": "RuleTemplateIds",
|
16267
16327
|
"required": false,
|
@@ -17886,7 +17946,7 @@
|
|
17886
17946
|
{
|
17887
17947
|
"disabled": true,
|
17888
17948
|
"document": "审计规则(该参数已废弃,不再生效)。",
|
17889
|
-
"example": "
|
17949
|
+
"example": "无",
|
17890
17950
|
"member": "AuditRuleFilters",
|
17891
17951
|
"name": "AuditRuleFilters",
|
17892
17952
|
"required": false,
|
@@ -383,9 +383,9 @@
|
|
383
383
|
"DescribeAuditConfig": [
|
384
384
|
{
|
385
385
|
"document": "",
|
386
|
-
"input": "
|
387
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
388
|
-
"title": "
|
386
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAuditConfig\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdbro-6zpy4ei1\"\n}",
|
387
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"507f6863-2827-4c2c-9c3b-fbbcc32e1ed4\",\n \"CreateTime\": \"2025-04-11 15:13:07\",\n \"IsClosing\": \"false\",\n \"IsOpening\": \"false\",\n \"LogExpireDay\": 90,\n \"LogType\": \"storage\"\n }\n}",
|
388
|
+
"title": "查询实例配置"
|
389
389
|
}
|
390
390
|
],
|
391
391
|
"DescribeAuditInstanceList": [
|
@@ -6799,6 +6799,15 @@
|
|
6799
6799
|
"name": "DefaultComputeGroup",
|
6800
6800
|
"required": false,
|
6801
6801
|
"type": "string"
|
6802
|
+
},
|
6803
|
+
{
|
6804
|
+
"disabled": false,
|
6805
|
+
"document": "0: 灵活场景 1: 固定场景",
|
6806
|
+
"example": "1",
|
6807
|
+
"member": "int64",
|
6808
|
+
"name": "ComputeGroupType",
|
6809
|
+
"required": false,
|
6810
|
+
"type": "int"
|
6802
6811
|
}
|
6803
6812
|
],
|
6804
6813
|
"type": "object"
|
@@ -14721,6 +14721,17 @@
|
|
14721
14721
|
"MqttConnectParam": {
|
14722
14722
|
"document": "MQTT连接源参数",
|
14723
14723
|
"members": [
|
14724
|
+
{
|
14725
|
+
"disabled": false,
|
14726
|
+
"document": "MQTT的连接port",
|
14727
|
+
"example": "9092",
|
14728
|
+
"member": "int64",
|
14729
|
+
"name": "Port",
|
14730
|
+
"output_required": false,
|
14731
|
+
"required": true,
|
14732
|
+
"type": "int",
|
14733
|
+
"value_allowed_null": false
|
14734
|
+
},
|
14724
14735
|
{
|
14725
14736
|
"disabled": false,
|
14726
14737
|
"document": "MQTT连接源的用户名",
|
@@ -14754,6 +14765,17 @@
|
|
14754
14765
|
"type": "string",
|
14755
14766
|
"value_allowed_null": false
|
14756
14767
|
},
|
14768
|
+
{
|
14769
|
+
"disabled": false,
|
14770
|
+
"document": "MQTT的连接ip",
|
14771
|
+
"example": "10.0.0.30",
|
14772
|
+
"member": "string",
|
14773
|
+
"name": "ServiceVip",
|
14774
|
+
"output_required": false,
|
14775
|
+
"required": true,
|
14776
|
+
"type": "string",
|
14777
|
+
"value_allowed_null": false
|
14778
|
+
},
|
14757
14779
|
{
|
14758
14780
|
"disabled": false,
|
14759
14781
|
"document": "MQTT Instance vpc-id",
|
@@ -14797,6 +14819,17 @@
|
|
14797
14819
|
"required": false,
|
14798
14820
|
"type": "string",
|
14799
14821
|
"value_allowed_null": false
|
14822
|
+
},
|
14823
|
+
{
|
14824
|
+
"disabled": false,
|
14825
|
+
"document": "IP",
|
14826
|
+
"example": "10.0.0.30",
|
14827
|
+
"member": "string",
|
14828
|
+
"name": "Ip",
|
14829
|
+
"output_required": false,
|
14830
|
+
"required": false,
|
14831
|
+
"type": "string",
|
14832
|
+
"value_allowed_null": false
|
14800
14833
|
}
|
14801
14834
|
],
|
14802
14835
|
"usage": "both"
|
@@ -294,6 +294,28 @@
|
|
294
294
|
"type": "string",
|
295
295
|
"value_allowed_null": true
|
296
296
|
},
|
297
|
+
{
|
298
|
+
"disabled": false,
|
299
|
+
"document": "参数 Id",
|
300
|
+
"example": "PARAM_BHFHICABHI3452",
|
301
|
+
"member": "string",
|
302
|
+
"name": "ParamId",
|
303
|
+
"output_required": false,
|
304
|
+
"required": false,
|
305
|
+
"type": "string",
|
306
|
+
"value_allowed_null": false
|
307
|
+
},
|
308
|
+
{
|
309
|
+
"disabled": false,
|
310
|
+
"document": "参数值 Id",
|
311
|
+
"example": "PARAM_BHFHICABHI0423",
|
312
|
+
"member": "string",
|
313
|
+
"name": "ParamValueId",
|
314
|
+
"output_required": false,
|
315
|
+
"required": false,
|
316
|
+
"type": "string",
|
317
|
+
"value_allowed_null": false
|
318
|
+
},
|
297
319
|
{
|
298
320
|
"disabled": false,
|
299
321
|
"document": "售卖参数值,当ParamType=Quant时,该值有可能为Null\n注意:此字段可能返回 null,表示取不到有效值。",
|
@@ -326,6 +348,39 @@
|
|
326
348
|
"required": false,
|
327
349
|
"type": "string",
|
328
350
|
"value_allowed_null": true
|
351
|
+
},
|
352
|
+
{
|
353
|
+
"disabled": false,
|
354
|
+
"document": "模块ID",
|
355
|
+
"example": "PARAM_BHFHICABHI000",
|
356
|
+
"member": "string",
|
357
|
+
"name": "ModuleId",
|
358
|
+
"output_required": false,
|
359
|
+
"required": false,
|
360
|
+
"type": "string",
|
361
|
+
"value_allowed_null": false
|
362
|
+
},
|
363
|
+
{
|
364
|
+
"disabled": false,
|
365
|
+
"document": "模块key",
|
366
|
+
"example": "phone",
|
367
|
+
"member": "string",
|
368
|
+
"name": "ModuleKey",
|
369
|
+
"output_required": false,
|
370
|
+
"required": false,
|
371
|
+
"type": "string",
|
372
|
+
"value_allowed_null": false
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"disabled": false,
|
376
|
+
"document": "模块名称",
|
377
|
+
"example": "手机模块",
|
378
|
+
"member": "string",
|
379
|
+
"name": "ModuleName",
|
380
|
+
"output_required": false,
|
381
|
+
"required": false,
|
382
|
+
"type": "string",
|
383
|
+
"value_allowed_null": false
|
329
384
|
}
|
330
385
|
],
|
331
386
|
"usage": "both"
|
@@ -1573,7 +1573,7 @@
|
|
1573
1573
|
},
|
1574
1574
|
{
|
1575
1575
|
"disabled": false,
|
1576
|
-
"document": "服务产品类型,支持值:\"mysql\" - 云数据库 MySQL;\"cynosdb\" - 云数据库 TDSQL-C for MySQL
|
1576
|
+
"document": "服务产品类型,支持值:\"mysql\" - 云数据库 MySQL;\"cynosdb\" - 云数据库 TDSQL-C for MySQL;\"mariadb\"-mariadb;\"cynosdb\"-TDSQL-C for MySQL ;\"dcdb\"-TDSQL MySQL 默认为\"mysql\"。",
|
1577
1577
|
"example": "mysql",
|
1578
1578
|
"member": "string",
|
1579
1579
|
"name": "Product",
|
@@ -3777,6 +3777,16 @@
|
|
3777
3777
|
"output_required": true,
|
3778
3778
|
"type": "string",
|
3779
3779
|
"value_allowed_null": false
|
3780
|
+
},
|
3781
|
+
{
|
3782
|
+
"disabled": false,
|
3783
|
+
"document": "sql类型\n注意:此字段可能返回 null,表示取不到有效值。",
|
3784
|
+
"example": "StartTransaction,SQLSelectStatement,MySqlDeleteStatement",
|
3785
|
+
"member": "string",
|
3786
|
+
"name": "SqlType",
|
3787
|
+
"output_required": true,
|
3788
|
+
"type": "string",
|
3789
|
+
"value_allowed_null": true
|
3780
3790
|
}
|
3781
3791
|
],
|
3782
3792
|
"usage": "out"
|
@@ -138,7 +138,7 @@
|
|
138
138
|
{
|
139
139
|
"document": "查询实时线程列表。",
|
140
140
|
"input": "https://dbbrain.tencentcloudapi.com/?Action=DescribeMySqlProcessList\n&Product=mysql\n&InstanceId=cdb-test\n&User=root\n&<公共请求参数>",
|
141
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"24665720-8c93-11eb-bee6-e98cea0e6794\",\n \"ProcessList\": [\n {\n \"Host\": \"127.0.0.1:42036\",\n \"State\": \"\",\n \"Command\": \"Sleep\",\n \"Time\": \"1179\",\n \"ID\": \"171588317\",\n \"User\": \"root\",\n \"Info\": \"\",\n \"DB\": \"demo_db\"\n }\n ]\n }\n}",
|
141
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"24665720-8c93-11eb-bee6-e98cea0e6794\",\n \"ProcessList\": [\n {\n \"Host\": \"127.0.0.1:42036\",\n \"State\": \"\",\n \"Command\": \"Sleep\",\n \"Time\": \"1179\",\n \"ID\": \"171588317\",\n \"User\": \"root\",\n \"Info\": \"\",\n \"SqlType\": \"\",\n \"DB\": \"demo_db\"\n }\n ]\n }\n}",
|
142
142
|
"title": "查询实时线程列表。"
|
143
143
|
}
|
144
144
|
],
|
@@ -331,6 +331,26 @@
|
|
331
331
|
"output_required": true,
|
332
332
|
"type": "bool",
|
333
333
|
"value_allowed_null": false
|
334
|
+
},
|
335
|
+
{
|
336
|
+
"disabled": false,
|
337
|
+
"document": "版本号",
|
338
|
+
"example": "V3",
|
339
|
+
"member": "string",
|
340
|
+
"name": "Version",
|
341
|
+
"output_required": true,
|
342
|
+
"type": "string",
|
343
|
+
"value_allowed_null": false
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"disabled": false,
|
347
|
+
"document": "接入点业务类型,枚举值:NORMAL-标准接入点,CDZ:EZ/CDZ接入点,COOPERATIVE-合作POP",
|
348
|
+
"example": "NORMAL",
|
349
|
+
"member": "string",
|
350
|
+
"name": "AccessPointServiceType",
|
351
|
+
"output_required": true,
|
352
|
+
"type": "string",
|
353
|
+
"value_allowed_null": false
|
334
354
|
}
|
335
355
|
],
|
336
356
|
"usage": "out"
|
@@ -393,6 +413,17 @@
|
|
393
413
|
"BFDInfo": {
|
394
414
|
"document": "BFD配置信息",
|
395
415
|
"members": [
|
416
|
+
{
|
417
|
+
"disabled": false,
|
418
|
+
"document": "使能BFD多跳,0:未开启,2-255:BFD跳数",
|
419
|
+
"example": "5",
|
420
|
+
"member": "int64",
|
421
|
+
"name": "EnableBfdMultiHop",
|
422
|
+
"output_required": true,
|
423
|
+
"required": false,
|
424
|
+
"type": "int",
|
425
|
+
"value_allowed_null": false
|
426
|
+
},
|
396
427
|
{
|
397
428
|
"disabled": false,
|
398
429
|
"document": "健康检查次数",
|
@@ -509,7 +540,7 @@
|
|
509
540
|
{
|
510
541
|
"disabled": false,
|
511
542
|
"document": "合作伙伴的AppId",
|
512
|
-
"example": "
|
543
|
+
"example": "1254277469",
|
513
544
|
"member": "string",
|
514
545
|
"name": "IapId",
|
515
546
|
"output_required": true,
|
@@ -619,7 +650,7 @@
|
|
619
650
|
{
|
620
651
|
"disabled": false,
|
621
652
|
"document": "用户的AppId",
|
622
|
-
"example": "
|
653
|
+
"example": "1254277469",
|
623
654
|
"member": "string",
|
624
655
|
"name": "AppId",
|
625
656
|
"output_required": true,
|
@@ -629,7 +660,7 @@
|
|
629
660
|
{
|
630
661
|
"disabled": false,
|
631
662
|
"document": "用户的Uin",
|
632
|
-
"example": "
|
663
|
+
"example": "100001332514",
|
633
664
|
"member": "string",
|
634
665
|
"name": "Uin",
|
635
666
|
"output_required": true,
|
@@ -685,6 +716,36 @@
|
|
685
716
|
"output_required": false,
|
686
717
|
"type": "string",
|
687
718
|
"value_allowed_null": false
|
719
|
+
},
|
720
|
+
{
|
721
|
+
"disabled": false,
|
722
|
+
"document": "运营商代码",
|
723
|
+
"example": "China_Mobile_ShenZhen",
|
724
|
+
"member": "string",
|
725
|
+
"name": "IapCode",
|
726
|
+
"output_required": false,
|
727
|
+
"type": "string",
|
728
|
+
"value_allowed_null": false
|
729
|
+
},
|
730
|
+
{
|
731
|
+
"disabled": false,
|
732
|
+
"document": "IDC侧类型。枚举值:CLOUD-云,ISP-运营商,OTHER-第三方",
|
733
|
+
"example": "CLOUD",
|
734
|
+
"member": "string",
|
735
|
+
"name": "IdcPointType",
|
736
|
+
"output_required": false,
|
737
|
+
"type": "string",
|
738
|
+
"value_allowed_null": false
|
739
|
+
},
|
740
|
+
{
|
741
|
+
"disabled": false,
|
742
|
+
"document": "运营商链路是否有保护",
|
743
|
+
"example": "true",
|
744
|
+
"member": "bool",
|
745
|
+
"name": "BIapLinkProtected",
|
746
|
+
"output_required": false,
|
747
|
+
"type": "bool",
|
748
|
+
"value_allowed_null": false
|
688
749
|
}
|
689
750
|
],
|
690
751
|
"usage": "out"
|
@@ -780,6 +841,24 @@
|
|
780
841
|
"name": "ArRegion",
|
781
842
|
"required": false,
|
782
843
|
"type": "string"
|
844
|
+
},
|
845
|
+
{
|
846
|
+
"disabled": false,
|
847
|
+
"document": "IDC侧类型,默认为OTHER。枚举值:CLOUD-云,ISP-运营商,OTHER-第三方",
|
848
|
+
"example": "CLOUD",
|
849
|
+
"member": "string",
|
850
|
+
"name": "IdcPointType",
|
851
|
+
"required": false,
|
852
|
+
"type": "string"
|
853
|
+
},
|
854
|
+
{
|
855
|
+
"disabled": false,
|
856
|
+
"document": "运营商链路是否有保护",
|
857
|
+
"example": "true",
|
858
|
+
"member": "bool",
|
859
|
+
"name": "BIapLinkProtected",
|
860
|
+
"required": false,
|
861
|
+
"type": "bool"
|
783
862
|
}
|
784
863
|
],
|
785
864
|
"usage": "in"
|
@@ -2034,6 +2113,16 @@
|
|
2034
2113
|
"type": "string",
|
2035
2114
|
"value_allowed_null": false
|
2036
2115
|
},
|
2116
|
+
{
|
2117
|
+
"disabled": false,
|
2118
|
+
"document": "报障联系邮箱。",
|
2119
|
+
"example": "lisi@tencent.com",
|
2120
|
+
"member": "string",
|
2121
|
+
"name": "FaultReportContactEmail",
|
2122
|
+
"output_required": true,
|
2123
|
+
"type": "string",
|
2124
|
+
"value_allowed_null": false
|
2125
|
+
},
|
2037
2126
|
{
|
2038
2127
|
"disabled": false,
|
2039
2128
|
"document": "标签键值对",
|
@@ -3652,6 +3741,15 @@
|
|
3652
3741
|
"name": "CustomerIPv6Address",
|
3653
3742
|
"required": false,
|
3654
3743
|
"type": "string"
|
3744
|
+
},
|
3745
|
+
{
|
3746
|
+
"disabled": false,
|
3747
|
+
"document": "互联IP重分布状态",
|
3748
|
+
"example": "true",
|
3749
|
+
"member": "bool",
|
3750
|
+
"name": "ImportDirectRoute",
|
3751
|
+
"required": false,
|
3752
|
+
"type": "bool"
|
3655
3753
|
}
|
3656
3754
|
],
|
3657
3755
|
"type": "object"
|
@@ -1367,7 +1367,7 @@
|
|
1367
1367
|
"document": "",
|
1368
1368
|
"input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnboundDatasourceHouse\n<公共请求参数>\n\n{\n \"NetworkConnectionName\": \"connection_tmp\"\n}",
|
1369
1369
|
"output": "{\n \"Response\": {\n \"RequestId\": \"sjeisds-23dskda-ekdo2-dsaoe1-1erewr\"\n }\n}",
|
1370
|
-
"title": "
|
1370
|
+
"title": "UnboundDatasourceHouse"
|
1371
1371
|
}
|
1372
1372
|
],
|
1373
1373
|
"UnlockMetaData": [
|
@@ -8896,7 +8896,7 @@
|
|
8896
8896
|
{
|
8897
8897
|
"disabled": false,
|
8898
8898
|
"document": "集群地域",
|
8899
|
-
"example": "
|
8899
|
+
"example": "1",
|
8900
8900
|
"member": "uint64",
|
8901
8901
|
"name": "ZoneId",
|
8902
8902
|
"output_required": true,
|
@@ -9146,7 +9146,7 @@
|
|
9146
9146
|
{
|
9147
9147
|
"disabled": false,
|
9148
9148
|
"document": "体外客户端组件信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
9149
|
-
"example": "
|
9149
|
+
"example": "无",
|
9150
9150
|
"member": "SoftDependInfo",
|
9151
9151
|
"name": "OutSideSoftInfo",
|
9152
9152
|
"output_required": true,
|
@@ -4227,7 +4227,7 @@
|
|
4227
4227
|
{
|
4228
4228
|
"disabled": false,
|
4229
4229
|
"document": "cos 快照信息列表",
|
4230
|
-
"example": "
|
4230
|
+
"example": "无",
|
4231
4231
|
"member": "CosSnapShotInfo",
|
4232
4232
|
"name": "CosSnapshotInfoList",
|
4233
4233
|
"output_required": false,
|
@@ -6148,7 +6148,7 @@
|
|
6148
6148
|
{
|
6149
6149
|
"disabled": false,
|
6150
6150
|
"document": "客户指定安装的模型名称,可为空,默认为模型文件名",
|
6151
|
-
"example": "[
|
6151
|
+
"example": "[\"test1\"]",
|
6152
6152
|
"member": "string",
|
6153
6153
|
"name": "ModelNames",
|
6154
6154
|
"required": false,
|
@@ -6172,7 +6172,7 @@
|
|
6172
6172
|
{
|
6173
6173
|
"disabled": false,
|
6174
6174
|
"document": "发起异步流程的flowId",
|
6175
|
-
"example": "
|
6175
|
+
"example": "1725",
|
6176
6176
|
"member": "string",
|
6177
6177
|
"name": "FlowId",
|
6178
6178
|
"output_required": false,
|
@@ -316,7 +316,7 @@
|
|
316
316
|
{
|
317
317
|
"document": "",
|
318
318
|
"input": "POST / HTTP/1.1\nHost: es.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InstallInstanceModel\n<公共请求参数>\n\n{\n \"InstanceId\": \"es-xxxxxxxx\",\n \"UsrCosModelUrlList\": [\n \"https://modeltestxxxx-sh-12560502xx.cos.ap-shanghai.myqcloud.com/bge-base-zh-v1.5.zip\"\n ],\n \"ModelNames\": [\n \"wit-test\"\n ],\n \"TaskTypes\": [\n \"text_embedding\"\n ]\n}",
|
319
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"d6c1d15f-5eab-11ef-9b1d-525400a23f29\",\n \"FlowId\": \"
|
319
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d6c1d15f-5eab-11ef-9b1d-525400a23f29\",\n \"FlowId\": \"17219\"\n }\n}",
|
320
320
|
"title": "安装模型调用示例"
|
321
321
|
}
|
322
322
|
],
|
@@ -36,7 +36,7 @@
|
|
36
36
|
"status": "online"
|
37
37
|
},
|
38
38
|
"GetTextEmbedding": {
|
39
|
-
"document": "Embedding是一种将高维数据映射到低维空间的技术,通常用于将非结构化数据,如文本、图像或音频转化为向量表示,使其更容易输入机器模型进行处理,并且向量之间的距离可以反映对象之间的相似性。\n
|
39
|
+
"document": "Embedding是一种将高维数据映射到低维空间的技术,通常用于将非结构化数据,如文本、图像或音频转化为向量表示,使其更容易输入机器模型进行处理,并且向量之间的距离可以反映对象之间的相似性。\n本接口有模型维度调用上限控制,单个模型qps限制20,如您有提高并发限制的需求请[联系我们](https://cloud.tencent.com/act/event/Online_service) 。",
|
40
40
|
"input": "GetTextEmbeddingRequest",
|
41
41
|
"name": "获取特征向量",
|
42
42
|
"output": "GetTextEmbeddingResponse",
|
@@ -740,7 +740,7 @@
|
|
740
740
|
"members": [
|
741
741
|
{
|
742
742
|
"disabled": false,
|
743
|
-
"document": "模型名称,可选模型列表:bge-base-zh-v1.5,
|
743
|
+
"document": "模型名称,可选模型列表:bge-base-zh-v1.5,Conan-embedding-v1,bge-m3,KaLM-embedding-multilingual-mini-v1,Qwen3-Embedding-0.6B。",
|
744
744
|
"example": "bge-base-zh-v1.5",
|
745
745
|
"member": "string",
|
746
746
|
"name": "ModelName",
|
tccli/services/ess/ess_client.py
CHANGED
@@ -1785,6 +1785,58 @@ def doDescribeOrganizationAuthStatus(args, parsed_globals):
|
|
1785
1785
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1786
1786
|
|
1787
1787
|
|
1788
|
+
def doDescribeContractComparisonTask(args, parsed_globals):
|
1789
|
+
g_param = parse_global_arg(parsed_globals)
|
1790
|
+
|
1791
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1792
|
+
cred = credential.CVMRoleCredential()
|
1793
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1794
|
+
cred = credential.STSAssumeRoleCredential(
|
1795
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1796
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1797
|
+
)
|
1798
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
1799
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1800
|
+
else:
|
1801
|
+
cred = credential.Credential(
|
1802
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1803
|
+
)
|
1804
|
+
http_profile = HttpProfile(
|
1805
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1806
|
+
reqMethod="POST",
|
1807
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1808
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1809
|
+
)
|
1810
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1811
|
+
if g_param[OptionsDefine.Language]:
|
1812
|
+
profile.language = g_param[OptionsDefine.Language]
|
1813
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1814
|
+
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
1815
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1816
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1817
|
+
model = models.DescribeContractComparisonTaskRequest()
|
1818
|
+
model.from_json_string(json.dumps(args))
|
1819
|
+
start_time = time.time()
|
1820
|
+
while True:
|
1821
|
+
rsp = client.DescribeContractComparisonTask(model)
|
1822
|
+
result = rsp.to_json_string()
|
1823
|
+
try:
|
1824
|
+
json_obj = json.loads(result)
|
1825
|
+
except TypeError as e:
|
1826
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1827
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1828
|
+
break
|
1829
|
+
cur_time = time.time()
|
1830
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1831
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1832
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1833
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1834
|
+
else:
|
1835
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1836
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1837
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1838
|
+
|
1839
|
+
|
1788
1840
|
def doCreateEmployeeChangeUrl(args, parsed_globals):
|
1789
1841
|
g_param = parse_global_arg(parsed_globals)
|
1790
1842
|
|
@@ -6406,6 +6458,7 @@ ACTION_MAP = {
|
|
6406
6458
|
"CreateBatchContractReviewTask": doCreateBatchContractReviewTask,
|
6407
6459
|
"CreateUserAutoSignSealUrl": doCreateUserAutoSignSealUrl,
|
6408
6460
|
"DescribeOrganizationAuthStatus": doDescribeOrganizationAuthStatus,
|
6461
|
+
"DescribeContractComparisonTask": doDescribeContractComparisonTask,
|
6409
6462
|
"CreateEmployeeChangeUrl": doCreateEmployeeChangeUrl,
|
6410
6463
|
"RenewAutoSignLicense": doRenewAutoSignLicense,
|
6411
6464
|
"CreateWebThemeConfig": doCreateWebThemeConfig,
|