tccli 3.0.1155.1__py2.py3-none-any.whl → 3.0.1157.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/autoscaling/v20180419/api.json +48 -20
- tccli/services/cam/v20190116/api.json +10 -0
- tccli/services/ccc/v20200210/api.json +10 -0
- tccli/services/ccc/v20200210/examples.json +1 -1
- tccli/services/cdb/v20170320/api.json +38 -1
- tccli/services/cdwch/v20200915/api.json +27 -0
- tccli/services/cdwdoris/v20211228/api.json +27 -0
- tccli/services/cynosdb/v20190107/api.json +1 -1
- tccli/services/dts/v20211206/api.json +9 -0
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +91 -0
- tccli/services/ess/v20201111/examples.json +8 -0
- tccli/services/gaap/v20180529/api.json +17 -17
- tccli/services/gaap/v20180529/examples.json +7 -13
- tccli/services/hunyuan/v20230901/api.json +2 -2
- tccli/services/iss/v20230517/api.json +6 -6
- tccli/services/mongodb/mongodb_client.py +273 -8
- tccli/services/mongodb/v20190725/api.json +486 -6
- tccli/services/mongodb/v20190725/examples.json +40 -0
- tccli/services/monitor/v20180724/api.json +23 -23
- tccli/services/monitor/v20180724/examples.json +12 -12
- tccli/services/mps/v20190612/api.json +2 -2
- tccli/services/mps/v20190612/examples.json +2 -2
- tccli/services/oceanus/v20190422/api.json +9 -0
- tccli/services/postgres/postgres_client.py +395 -24
- tccli/services/postgres/v20170312/api.json +549 -0
- tccli/services/postgres/v20170312/examples.json +92 -0
- tccli/services/rce/v20201103/api.json +78 -0
- tccli/services/tcr/v20190924/api.json +71 -45
- tccli/services/tcr/v20190924/examples.json +9 -9
- tccli/services/tem/v20210701/api.json +21 -3
- tccli/services/tem/v20210701/examples.json +1 -7
- tccli/services/thpc/thpc_client.py +110 -4
- tccli/services/thpc/v20230321/api.json +170 -35
- tccli/services/thpc/v20230321/examples.json +17 -1
- tccli/services/tke/v20220501/api.json +10 -0
- tccli/services/vclm/v20240523/api.json +9 -0
- tccli/services/vpc/v20170312/api.json +74 -15
- tccli/services/waf/v20180125/api.json +421 -72
- tccli/services/waf/v20180125/examples.json +6 -6
- tccli/services/wedata/v20210820/api.json +45 -7
- tccli/services/wedata/v20210820/examples.json +6 -0
- {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/RECORD +48 -48
- {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1155.1.dist-info → tccli-3.0.1157.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1157.1'
|
@@ -2381,10 +2381,11 @@
|
|
2381
2381
|
"members": [
|
2382
2382
|
{
|
2383
2383
|
"disabled": false,
|
2384
|
-
"document": "数据盘类型。数据盘类型限制详见[云硬盘类型](https://cloud.tencent.com/document/product/362/2353)
|
2384
|
+
"document": "数据盘类型。数据盘类型限制详见[云硬盘类型](https://cloud.tencent.com/document/product/362/2353)。取值范围:\n<li>LOCAL_BASIC:本地硬盘</li>\n<li>LOCAL_SSD:本地SSD硬盘</li>\n<li>CLOUD_BASIC:普通云硬盘</li>\n<li>CLOUD_PREMIUM:高性能云硬盘</li>\n<li>CLOUD_SSD:SSD云硬盘</li>\n<li>CLOUD_HSSD:增强型SSD云硬盘</li>\n<li>CLOUD_TSSD:极速型SSD云硬盘</li>\n默认取值与系统盘类型(SystemDisk.DiskType)保持一致。\n注意:此字段可能返回 null,表示取不到有效值。",
|
2385
2385
|
"example": "CLOUD_PREMIUM",
|
2386
2386
|
"member": "string",
|
2387
2387
|
"name": "DiskType",
|
2388
|
+
"output_required": true,
|
2388
2389
|
"required": false,
|
2389
2390
|
"type": "string",
|
2390
2391
|
"value_allowed_null": true
|
@@ -2395,6 +2396,7 @@
|
|
2395
2396
|
"example": "0",
|
2396
2397
|
"member": "uint64",
|
2397
2398
|
"name": "DiskSize",
|
2399
|
+
"output_required": true,
|
2398
2400
|
"required": false,
|
2399
2401
|
"type": "int",
|
2400
2402
|
"value_allowed_null": true
|
@@ -2405,26 +2407,29 @@
|
|
2405
2407
|
"example": "snap-l8psqwnt",
|
2406
2408
|
"member": "string",
|
2407
2409
|
"name": "SnapshotId",
|
2410
|
+
"output_required": true,
|
2408
2411
|
"required": false,
|
2409
2412
|
"type": "string",
|
2410
2413
|
"value_allowed_null": true
|
2411
2414
|
},
|
2412
2415
|
{
|
2413
2416
|
"disabled": false,
|
2414
|
-
"document": "
|
2417
|
+
"document": "数据盘是否随子机销毁。取值范围:\n<li>TRUE:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li>\n<li>FALSE:子机销毁时,保留数据盘</li>\n注意:此字段可能返回 null,表示取不到有效值。",
|
2415
2418
|
"example": "false",
|
2416
2419
|
"member": "bool",
|
2417
2420
|
"name": "DeleteWithInstance",
|
2421
|
+
"output_required": true,
|
2418
2422
|
"required": false,
|
2419
2423
|
"type": "bool",
|
2420
2424
|
"value_allowed_null": true
|
2421
2425
|
},
|
2422
2426
|
{
|
2423
2427
|
"disabled": false,
|
2424
|
-
"document": "
|
2428
|
+
"document": "数据盘是否加密。取值范围:\n<li>TRUE:加密</li>\n<li>FALSE:不加密</li>\n注意:此字段可能返回 null,表示取不到有效值。",
|
2425
2429
|
"example": "true",
|
2426
2430
|
"member": "bool",
|
2427
2431
|
"name": "Encrypt",
|
2432
|
+
"output_required": true,
|
2428
2433
|
"required": false,
|
2429
2434
|
"type": "bool",
|
2430
2435
|
"value_allowed_null": true
|
@@ -2435,9 +2440,21 @@
|
|
2435
2440
|
"example": "100",
|
2436
2441
|
"member": "uint64",
|
2437
2442
|
"name": "ThroughputPerformance",
|
2443
|
+
"output_required": true,
|
2438
2444
|
"required": false,
|
2439
2445
|
"type": "int",
|
2440
2446
|
"value_allowed_null": true
|
2447
|
+
},
|
2448
|
+
{
|
2449
|
+
"disabled": false,
|
2450
|
+
"document": "突发性能。是否开启突发性能,默认取值为 false。\n\n注:内测中,需提单申请后使用。\n注意:此字段可能返回 null,表示取不到有效值。",
|
2451
|
+
"example": "false",
|
2452
|
+
"member": "bool",
|
2453
|
+
"name": "BurstPerformance",
|
2454
|
+
"output_required": true,
|
2455
|
+
"required": false,
|
2456
|
+
"type": "bool",
|
2457
|
+
"value_allowed_null": true
|
2441
2458
|
}
|
2442
2459
|
],
|
2443
2460
|
"usage": "both"
|
@@ -4236,6 +4253,17 @@
|
|
4236
4253
|
"required": false,
|
4237
4254
|
"type": "string",
|
4238
4255
|
"value_allowed_null": false
|
4256
|
+
},
|
4257
|
+
{
|
4258
|
+
"disabled": false,
|
4259
|
+
"document": "云服务器实例名后缀。字符长度为[1,105],且与 InstanceName 的长度和不能超过107。\n\n假设后缀名称为 suffix,原实例名为 test.0,最终实例名为 test.0.suffix。\n注意:此字段可能返回 null,表示取不到有效值。",
|
4260
|
+
"example": "testsuffix",
|
4261
|
+
"member": "string",
|
4262
|
+
"name": "InstanceNameSuffix",
|
4263
|
+
"output_required": true,
|
4264
|
+
"required": false,
|
4265
|
+
"type": "string",
|
4266
|
+
"value_allowed_null": true
|
4239
4267
|
}
|
4240
4268
|
],
|
4241
4269
|
"usage": "both"
|
@@ -4384,7 +4412,7 @@
|
|
4384
4412
|
{
|
4385
4413
|
"disabled": false,
|
4386
4414
|
"document": "实例所属项目ID。",
|
4387
|
-
"example": "
|
4415
|
+
"example": "0",
|
4388
4416
|
"member": "int64",
|
4389
4417
|
"name": "ProjectId",
|
4390
4418
|
"output_required": true,
|
@@ -4394,7 +4422,7 @@
|
|
4394
4422
|
{
|
4395
4423
|
"disabled": false,
|
4396
4424
|
"document": "启动配置ID。",
|
4397
|
-
"example": "
|
4425
|
+
"example": "asc-abcd0123",
|
4398
4426
|
"member": "string",
|
4399
4427
|
"name": "LaunchConfigurationId",
|
4400
4428
|
"output_required": true,
|
@@ -4404,7 +4432,7 @@
|
|
4404
4432
|
{
|
4405
4433
|
"disabled": false,
|
4406
4434
|
"document": "启动配置名称。",
|
4407
|
-
"example": "
|
4435
|
+
"example": "TestLauchConfig0_0",
|
4408
4436
|
"member": "string",
|
4409
4437
|
"name": "LaunchConfigurationName",
|
4410
4438
|
"output_required": true,
|
@@ -4414,7 +4442,7 @@
|
|
4414
4442
|
{
|
4415
4443
|
"disabled": false,
|
4416
4444
|
"document": "实例机型。",
|
4417
|
-
"example": "
|
4445
|
+
"example": "SA2.MEDIUM2",
|
4418
4446
|
"member": "string",
|
4419
4447
|
"name": "InstanceType",
|
4420
4448
|
"output_required": true,
|
@@ -4464,7 +4492,7 @@
|
|
4464
4492
|
{
|
4465
4493
|
"disabled": false,
|
4466
4494
|
"document": "实例所属安全组。",
|
4467
|
-
"example": "
|
4495
|
+
"example": "[\"sg-brwzhm6d\"]",
|
4468
4496
|
"member": "string",
|
4469
4497
|
"name": "SecurityGroupIds",
|
4470
4498
|
"output_required": true,
|
@@ -4484,7 +4512,7 @@
|
|
4484
4512
|
{
|
4485
4513
|
"disabled": false,
|
4486
4514
|
"document": "自定义数据。\n注意:此字段可能返回 null,表示取不到有效值。",
|
4487
|
-
"example": "
|
4515
|
+
"example": "dGVzdA==",
|
4488
4516
|
"member": "string",
|
4489
4517
|
"name": "UserData",
|
4490
4518
|
"output_required": true,
|
@@ -4494,7 +4522,7 @@
|
|
4494
4522
|
{
|
4495
4523
|
"disabled": false,
|
4496
4524
|
"document": "启动配置创建时间。",
|
4497
|
-
"example": "
|
4525
|
+
"example": "2021-05-31T12:38:35Z",
|
4498
4526
|
"member": "datetime_iso",
|
4499
4527
|
"name": "CreatedTime",
|
4500
4528
|
"output_required": true,
|
@@ -4514,7 +4542,7 @@
|
|
4514
4542
|
{
|
4515
4543
|
"disabled": false,
|
4516
4544
|
"document": "镜像ID。",
|
4517
|
-
"example": "
|
4545
|
+
"example": "img-abcd0123",
|
4518
4546
|
"member": "string",
|
4519
4547
|
"name": "ImageId",
|
4520
4548
|
"output_required": true,
|
@@ -4524,7 +4552,7 @@
|
|
4524
4552
|
{
|
4525
4553
|
"disabled": false,
|
4526
4554
|
"document": "启动配置当前状态。取值范围:<li>NORMAL:正常</li><li>IMAGE_ABNORMAL:启动配置镜像异常</li><li>CBS_SNAP_ABNORMAL:启动配置数据盘快照异常</li><li>SECURITY_GROUP_ABNORMAL:启动配置安全组异常</li>",
|
4527
|
-
"example": "
|
4555
|
+
"example": "NORMAL",
|
4528
4556
|
"member": "string",
|
4529
4557
|
"name": "LaunchConfigurationStatus",
|
4530
4558
|
"output_required": true,
|
@@ -4534,7 +4562,7 @@
|
|
4534
4562
|
{
|
4535
4563
|
"disabled": false,
|
4536
4564
|
"document": "实例计费类型,CVM默认值按照POSTPAID_BY_HOUR处理。<li>POSTPAID_BY_HOUR:按小时后付费</li><li>SPOTPAID:竞价付费</li>",
|
4537
|
-
"example": "
|
4565
|
+
"example": "POSTPAID_BY_HOUR",
|
4538
4566
|
"member": "string",
|
4539
4567
|
"name": "InstanceChargeType",
|
4540
4568
|
"output_required": true,
|
@@ -4554,7 +4582,7 @@
|
|
4554
4582
|
{
|
4555
4583
|
"disabled": false,
|
4556
4584
|
"document": "实例机型列表。",
|
4557
|
-
"example": "
|
4585
|
+
"example": "[\"SA2.MEDIUM2\"]",
|
4558
4586
|
"member": "string",
|
4559
4587
|
"name": "InstanceTypes",
|
4560
4588
|
"output_required": true,
|
@@ -4584,7 +4612,7 @@
|
|
4584
4612
|
{
|
4585
4613
|
"disabled": false,
|
4586
4614
|
"document": "版本号。",
|
4587
|
-
"example": "
|
4615
|
+
"example": "1",
|
4588
4616
|
"member": "int64",
|
4589
4617
|
"name": "VersionNumber",
|
4590
4618
|
"output_required": true,
|
@@ -4594,7 +4622,7 @@
|
|
4594
4622
|
{
|
4595
4623
|
"disabled": false,
|
4596
4624
|
"document": "更新时间。",
|
4597
|
-
"example": "
|
4625
|
+
"example": "2023-09-04T11:42:46Z",
|
4598
4626
|
"member": "datetime_iso",
|
4599
4627
|
"name": "UpdatedTime",
|
4600
4628
|
"output_required": true,
|
@@ -4604,7 +4632,7 @@
|
|
4604
4632
|
{
|
4605
4633
|
"disabled": false,
|
4606
4634
|
"document": "CAM角色名称。可通过DescribeRoleList接口返回值中的roleName获取。",
|
4607
|
-
"example": "
|
4635
|
+
"example": "TestRole",
|
4608
4636
|
"member": "string",
|
4609
4637
|
"name": "CamRoleName",
|
4610
4638
|
"output_required": true,
|
@@ -4614,7 +4642,7 @@
|
|
4614
4642
|
{
|
4615
4643
|
"disabled": false,
|
4616
4644
|
"document": "上次操作时,InstanceTypesCheckPolicy 取值。",
|
4617
|
-
"example": "
|
4645
|
+
"example": "ANY",
|
4618
4646
|
"member": "string",
|
4619
4647
|
"name": "LastOperationInstanceTypesCheckPolicy",
|
4620
4648
|
"output_required": true,
|
@@ -4654,7 +4682,7 @@
|
|
4654
4682
|
{
|
4655
4683
|
"disabled": false,
|
4656
4684
|
"document": "云盘类型选择策略。取值范围:<li>ORIGINAL:使用设置的云盘类型</li><li>AUTOMATIC:自动选择当前可用区下可用的云盘类型</li>",
|
4657
|
-
"example": "
|
4685
|
+
"example": "ORIGINAL",
|
4658
4686
|
"member": "string",
|
4659
4687
|
"name": "DiskTypePolicy",
|
4660
4688
|
"output_required": true,
|
@@ -4664,7 +4692,7 @@
|
|
4664
4692
|
{
|
4665
4693
|
"disabled": false,
|
4666
4694
|
"document": "高性能计算集群ID。<br>\n注意:此字段默认为空。",
|
4667
|
-
"example": "
|
4695
|
+
"example": "hpc-abcd0123",
|
4668
4696
|
"member": "string",
|
4669
4697
|
"name": "HpcClusterId",
|
4670
4698
|
"output_required": true,
|
@@ -6018,6 +6018,16 @@
|
|
6018
6018
|
"output_required": true,
|
6019
6019
|
"type": "list",
|
6020
6020
|
"value_allowed_null": true
|
6021
|
+
},
|
6022
|
+
{
|
6023
|
+
"disabled": false,
|
6024
|
+
"document": "角色RoleArn信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
6025
|
+
"example": "qcs::cam::uin/10001:roleName/test_uin",
|
6026
|
+
"member": "string",
|
6027
|
+
"name": "RoleArn",
|
6028
|
+
"output_required": false,
|
6029
|
+
"type": "string",
|
6030
|
+
"value_allowed_null": true
|
6021
6031
|
}
|
6022
6032
|
],
|
6023
6033
|
"usage": "out"
|
@@ -6507,6 +6507,16 @@
|
|
6507
6507
|
"output_required": true,
|
6508
6508
|
"type": "int",
|
6509
6509
|
"value_allowed_null": true
|
6510
|
+
},
|
6511
|
+
{
|
6512
|
+
"disabled": false,
|
6513
|
+
"document": "技能组内线号码\n注意:此字段可能返回 null,表示取不到有效值。",
|
6514
|
+
"example": "6666",
|
6515
|
+
"member": "string",
|
6516
|
+
"name": "Alias",
|
6517
|
+
"output_required": true,
|
6518
|
+
"type": "string",
|
6519
|
+
"value_allowed_null": true
|
6510
6520
|
}
|
6511
6521
|
],
|
6512
6522
|
"usage": "out"
|
@@ -300,7 +300,7 @@
|
|
300
300
|
{
|
301
301
|
"document": "获取技能组列表示例",
|
302
302
|
"input": "POST / HTTP/1.1\nHost: ccc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSkillGroupInfoList\n<公共请求参数>\n\n{\n \"PageSize\": 10,\n \"PageNumber\": 0,\n \"ModifiedTime\": 1590147606,\n \"SdkAppId\": 1400000000,\n \"SkillGroupId\": 12\n}",
|
303
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"5ac74e13-ef15-41a6-9639-f1bc8c9896bd\",\n \"TotalCount\": 2,\n \"SkillGroupList\": [\n {\n \"SkillGroupId\": 1115,\n \"SkillGroupName\": \"luluttt\",\n \"SkillGroupType\": 1,\n \"Type\": \"TEL\",\n \"RoutePolicy\": \"firstCreate\",\n \"UsingLastSeat\": 0,\n \"MaxConcurrency\": 1,\n \"LastModifyTimestamp\": 1613976392\n }\n ]\n }\n}",
|
303
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"5ac74e13-ef15-41a6-9639-f1bc8c9896bd\",\n \"TotalCount\": 2,\n \"SkillGroupList\": [\n {\n \"SkillGroupId\": 1115,\n \"SkillGroupName\": \"luluttt\",\n \"SkillGroupType\": 1,\n \"Type\": \"TEL\",\n \"RoutePolicy\": \"firstCreate\",\n \"UsingLastSeat\": 0,\n \"MaxConcurrency\": 1,\n \"LastModifyTimestamp\": 1613976392,\n \"Alias\": \"6666\"\n }\n ]\n }\n}",
|
304
304
|
"title": "获取技能组列表示例"
|
305
305
|
}
|
306
306
|
],
|
@@ -1163,7 +1163,7 @@
|
|
1163
1163
|
"status": "online"
|
1164
1164
|
},
|
1165
1165
|
"UpgradeDBInstanceEngineVersion": {
|
1166
|
-
"document": "本接口(UpgradeDBInstanceEngineVersion)
|
1166
|
+
"document": "本接口(UpgradeDBInstanceEngineVersion)用于升级云数据库实例版本,实例类型支持主实例、灾备实例和只读实例等。",
|
1167
1167
|
"input": "UpgradeDBInstanceEngineVersionRequest",
|
1168
1168
|
"name": "升级实例版本",
|
1169
1169
|
"output": "UpgradeDBInstanceEngineVersionResponse",
|
@@ -20316,6 +20316,15 @@
|
|
20316
20316
|
"name": "MaxDelayTime",
|
20317
20317
|
"required": false,
|
20318
20318
|
"type": "int"
|
20319
|
+
},
|
20320
|
+
{
|
20321
|
+
"disabled": false,
|
20322
|
+
"document": "版本升级支持指定参数",
|
20323
|
+
"example": "无",
|
20324
|
+
"member": "UpgradeEngineVersionParams",
|
20325
|
+
"name": "ParamList",
|
20326
|
+
"required": false,
|
20327
|
+
"type": "list"
|
20319
20328
|
}
|
20320
20329
|
],
|
20321
20330
|
"type": "object"
|
@@ -20533,6 +20542,34 @@
|
|
20533
20542
|
],
|
20534
20543
|
"type": "object"
|
20535
20544
|
},
|
20545
|
+
"UpgradeEngineVersionParams": {
|
20546
|
+
"document": "5.7升级8.0指定参数的结构",
|
20547
|
+
"members": [
|
20548
|
+
{
|
20549
|
+
"disabled": false,
|
20550
|
+
"document": "参数名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
20551
|
+
"example": "default_collation_for_utf8mb4",
|
20552
|
+
"member": "string",
|
20553
|
+
"name": "Name",
|
20554
|
+
"output_required": false,
|
20555
|
+
"required": false,
|
20556
|
+
"type": "string",
|
20557
|
+
"value_allowed_null": true
|
20558
|
+
},
|
20559
|
+
{
|
20560
|
+
"disabled": false,
|
20561
|
+
"document": "参数值\n注意:此字段可能返回 null,表示取不到有效值。",
|
20562
|
+
"example": "utf8mb4_0900_ai_ci",
|
20563
|
+
"member": "string",
|
20564
|
+
"name": "Value",
|
20565
|
+
"output_required": false,
|
20566
|
+
"required": false,
|
20567
|
+
"type": "string",
|
20568
|
+
"value_allowed_null": true
|
20569
|
+
}
|
20570
|
+
],
|
20571
|
+
"usage": "both"
|
20572
|
+
},
|
20536
20573
|
"UploadInfo": {
|
20537
20574
|
"document": "文件上传描述",
|
20538
20575
|
"members": [
|
@@ -2213,6 +2213,23 @@
|
|
2213
2213
|
],
|
2214
2214
|
"usage": "in"
|
2215
2215
|
},
|
2216
|
+
"InstanceDetail": {
|
2217
|
+
"document": "Instance表detail字段",
|
2218
|
+
"members": [
|
2219
|
+
{
|
2220
|
+
"disabled": false,
|
2221
|
+
"document": "告警策略是否可用\n注意:此字段可能返回 null,表示取不到有效值。",
|
2222
|
+
"example": "bool",
|
2223
|
+
"member": "bool",
|
2224
|
+
"name": "EnableAlarmStrategy",
|
2225
|
+
"output_required": false,
|
2226
|
+
"required": false,
|
2227
|
+
"type": "bool",
|
2228
|
+
"value_allowed_null": true
|
2229
|
+
}
|
2230
|
+
],
|
2231
|
+
"usage": "both"
|
2232
|
+
},
|
2216
2233
|
"InstanceInfo": {
|
2217
2234
|
"document": "实例描述信息",
|
2218
2235
|
"members": [
|
@@ -2705,6 +2722,16 @@
|
|
2705
2722
|
"output_required": false,
|
2706
2723
|
"type": "bool",
|
2707
2724
|
"value_allowed_null": true
|
2725
|
+
},
|
2726
|
+
{
|
2727
|
+
"disabled": false,
|
2728
|
+
"document": "实例扩展信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
2729
|
+
"example": "无",
|
2730
|
+
"member": "InstanceDetail",
|
2731
|
+
"name": "Details",
|
2732
|
+
"output_required": false,
|
2733
|
+
"type": "object",
|
2734
|
+
"value_allowed_null": true
|
2708
2735
|
}
|
2709
2736
|
],
|
2710
2737
|
"usage": "out"
|
@@ -1858,6 +1858,23 @@
|
|
1858
1858
|
],
|
1859
1859
|
"type": "object"
|
1860
1860
|
},
|
1861
|
+
"InstanceDetail": {
|
1862
|
+
"document": "Instance表detail字段",
|
1863
|
+
"members": [
|
1864
|
+
{
|
1865
|
+
"disabled": false,
|
1866
|
+
"document": "告警策略是否可用\t\n注意:此字段可能返回 null,表示取不到有效值。",
|
1867
|
+
"example": "bool",
|
1868
|
+
"member": "bool",
|
1869
|
+
"name": "EnableAlarmStrategy",
|
1870
|
+
"output_required": false,
|
1871
|
+
"required": false,
|
1872
|
+
"type": "bool",
|
1873
|
+
"value_allowed_null": true
|
1874
|
+
}
|
1875
|
+
],
|
1876
|
+
"usage": "both"
|
1877
|
+
},
|
1861
1878
|
"InstanceInfo": {
|
1862
1879
|
"document": "实例描述信息",
|
1863
1880
|
"members": [
|
@@ -2330,6 +2347,16 @@
|
|
2330
2347
|
"output_required": false,
|
2331
2348
|
"type": "string",
|
2332
2349
|
"value_allowed_null": true
|
2350
|
+
},
|
2351
|
+
{
|
2352
|
+
"disabled": false,
|
2353
|
+
"document": "实例扩展信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
2354
|
+
"example": "无",
|
2355
|
+
"member": "InstanceDetail",
|
2356
|
+
"name": "Details",
|
2357
|
+
"output_required": false,
|
2358
|
+
"type": "object",
|
2359
|
+
"value_allowed_null": true
|
2333
2360
|
}
|
2334
2361
|
],
|
2335
2362
|
"usage": "out"
|
@@ -4170,7 +4170,7 @@
|
|
4170
4170
|
},
|
4171
4171
|
{
|
4172
4172
|
"disabled": false,
|
4173
|
-
"document": "包年包月购买是否自动续费,默认为0。\n0标识默认续费方式,1表示自动续费,2
|
4173
|
+
"document": "包年包月购买是否自动续费,默认为0。\n0标识默认续费方式,1表示自动续费,2表示不自动续费。",
|
4174
4174
|
"example": "0",
|
4175
4175
|
"member": "int64",
|
4176
4176
|
"name": "AutoRenewFlag",
|
@@ -9263,6 +9263,15 @@
|
|
9263
9263
|
"name": "CompareTaskId",
|
9264
9264
|
"required": true,
|
9265
9265
|
"type": "string"
|
9266
|
+
},
|
9267
|
+
{
|
9268
|
+
"disabled": false,
|
9269
|
+
"document": "是否强制停止。如果填true,同步任务增量阶段会跳过一致性校验产生的binlog,达到快速恢复任务的效果",
|
9270
|
+
"example": "true",
|
9271
|
+
"member": "bool",
|
9272
|
+
"name": "ForceStop",
|
9273
|
+
"required": false,
|
9274
|
+
"type": "bool"
|
9266
9275
|
}
|
9267
9276
|
],
|
9268
9277
|
"type": "object"
|
tccli/services/ess/ess_client.py
CHANGED
@@ -693,6 +693,58 @@ def doCreateFlowGroupByTemplates(args, parsed_globals):
|
|
693
693
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
694
694
|
|
695
695
|
|
696
|
+
def doCreatePartnerAutoSignAuthUrl(args, parsed_globals):
|
697
|
+
g_param = parse_global_arg(parsed_globals)
|
698
|
+
|
699
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
700
|
+
cred = credential.CVMRoleCredential()
|
701
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
702
|
+
cred = credential.STSAssumeRoleCredential(
|
703
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
704
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
705
|
+
)
|
706
|
+
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):
|
707
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
708
|
+
else:
|
709
|
+
cred = credential.Credential(
|
710
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
711
|
+
)
|
712
|
+
http_profile = HttpProfile(
|
713
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
714
|
+
reqMethod="POST",
|
715
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
716
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
717
|
+
)
|
718
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
719
|
+
if g_param[OptionsDefine.Language]:
|
720
|
+
profile.language = g_param[OptionsDefine.Language]
|
721
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
722
|
+
client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
|
723
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
724
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
725
|
+
model = models.CreatePartnerAutoSignAuthUrlRequest()
|
726
|
+
model.from_json_string(json.dumps(args))
|
727
|
+
start_time = time.time()
|
728
|
+
while True:
|
729
|
+
rsp = client.CreatePartnerAutoSignAuthUrl(model)
|
730
|
+
result = rsp.to_json_string()
|
731
|
+
try:
|
732
|
+
json_obj = json.loads(result)
|
733
|
+
except TypeError as e:
|
734
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
735
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
736
|
+
break
|
737
|
+
cur_time = time.time()
|
738
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
739
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
740
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
741
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
742
|
+
else:
|
743
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
744
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
745
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
746
|
+
|
747
|
+
|
696
748
|
def doCreateFlowByFiles(args, parsed_globals):
|
697
749
|
g_param = parse_global_arg(parsed_globals)
|
698
750
|
|
@@ -4565,6 +4617,7 @@ ACTION_MAP = {
|
|
4565
4617
|
"CreateReleaseFlow": doCreateReleaseFlow,
|
4566
4618
|
"DescribeUserAutoSignStatus": doDescribeUserAutoSignStatus,
|
4567
4619
|
"CreateFlowGroupByTemplates": doCreateFlowGroupByTemplates,
|
4620
|
+
"CreatePartnerAutoSignAuthUrl": doCreatePartnerAutoSignAuthUrl,
|
4568
4621
|
"CreateFlowByFiles": doCreateFlowByFiles,
|
4569
4622
|
"DescribeIntegrationRoles": doDescribeIntegrationRoles,
|
4570
4623
|
"DescribeIntegrationEmployees": doDescribeIntegrationEmployees,
|
@@ -245,6 +245,13 @@
|
|
245
245
|
"output": "CreateOrganizationInfoChangeUrlResponse",
|
246
246
|
"status": "online"
|
247
247
|
},
|
248
|
+
"CreatePartnerAutoSignAuthUrl": {
|
249
|
+
"document": "创建他方自动签授权链接,通过该链接可进入小程序进行合作方企业的自动签授权,若当前企业未开通企业自动签,通过该链接会先引导开通本企业自动签。\n该接口效果同控制台: 企业设置-> 扩展服务 -> 企业自动签署 -> 合作企业方授权\n\n\n\n注: \n1. <font color='red'>所在企业的超管、法人才有权限调用此接口</font>(Operator.UserId 需要传递超管或者法人的UserId)\n2. 已经在授权中或者授权成功的企业,无法重复授权",
|
250
|
+
"input": "CreatePartnerAutoSignAuthUrlRequest",
|
251
|
+
"name": "创建他方企业自动签授权链接",
|
252
|
+
"output": "CreatePartnerAutoSignAuthUrlResponse",
|
253
|
+
"status": "online"
|
254
|
+
},
|
248
255
|
"CreatePersonAuthCertificateImage": {
|
249
256
|
"document": "获取个人用户认证证书图片下载URL\n\n个人用户认证证书图片样式如下图\n\n\n\n注: \n<ul>\n<li>只能获取个人用户证明图片, 企业员工的暂不支持</li>\n<li>处方单等特殊场景专用,此接口为白名单功能,使用前请联系对接的客户经理沟通。 </li>\n</ul>",
|
250
257
|
"input": "CreatePersonAuthCertificateImageRequest",
|
@@ -5183,6 +5190,90 @@
|
|
5183
5190
|
],
|
5184
5191
|
"type": "object"
|
5185
5192
|
},
|
5193
|
+
"CreatePartnerAutoSignAuthUrlRequest": {
|
5194
|
+
"document": "CreatePartnerAutoSignAuthUrl请求参数结构体",
|
5195
|
+
"members": [
|
5196
|
+
{
|
5197
|
+
"disabled": false,
|
5198
|
+
"document": "被授企业id",
|
5199
|
+
"example": "无",
|
5200
|
+
"member": "string",
|
5201
|
+
"name": "AuthorizedOrganizationId",
|
5202
|
+
"required": false,
|
5203
|
+
"type": "string"
|
5204
|
+
},
|
5205
|
+
{
|
5206
|
+
"disabled": false,
|
5207
|
+
"document": "指定印章类型,指定后只能选择该类型的印章进行授权支持以下印章类型:- OFFICIAL : 企业公章- CONTRACT : 合同专用章- FINANCE : 财务专用章- PERSONNEL : 人事专用章",
|
5208
|
+
"example": "无",
|
5209
|
+
"member": "string",
|
5210
|
+
"name": "SealTypes",
|
5211
|
+
"required": false,
|
5212
|
+
"type": "list"
|
5213
|
+
},
|
5214
|
+
{
|
5215
|
+
"disabled": false,
|
5216
|
+
"document": "代理企业和员工的信息。<br/>在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。",
|
5217
|
+
"example": "无",
|
5218
|
+
"member": "Agent",
|
5219
|
+
"name": "Agent",
|
5220
|
+
"required": false,
|
5221
|
+
"type": "object"
|
5222
|
+
},
|
5223
|
+
{
|
5224
|
+
"disabled": false,
|
5225
|
+
"document": "执行本接口操作的员工信息。<br/>注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`",
|
5226
|
+
"example": "无",
|
5227
|
+
"member": "UserInfo",
|
5228
|
+
"name": "Operator",
|
5229
|
+
"required": false,
|
5230
|
+
"type": "object"
|
5231
|
+
}
|
5232
|
+
],
|
5233
|
+
"type": "object"
|
5234
|
+
},
|
5235
|
+
"CreatePartnerAutoSignAuthUrlResponse": {
|
5236
|
+
"document": "CreatePartnerAutoSignAuthUrl返回参数结构体",
|
5237
|
+
"members": [
|
5238
|
+
{
|
5239
|
+
"disabled": false,
|
5240
|
+
"document": "授权链接,以短链形式返回,短链的有效期参考回参中的 ExpiredTime。",
|
5241
|
+
"example": "无",
|
5242
|
+
"member": "string",
|
5243
|
+
"name": "Url",
|
5244
|
+
"output_required": false,
|
5245
|
+
"type": "string",
|
5246
|
+
"value_allowed_null": false
|
5247
|
+
},
|
5248
|
+
{
|
5249
|
+
"disabled": false,
|
5250
|
+
"document": "从客户小程序或者客户APP跳转至腾讯电子签小程序进行批量签署的跳转路径",
|
5251
|
+
"example": "无",
|
5252
|
+
"member": "string",
|
5253
|
+
"name": "MiniAppPath",
|
5254
|
+
"output_required": false,
|
5255
|
+
"type": "string",
|
5256
|
+
"value_allowed_null": false
|
5257
|
+
},
|
5258
|
+
{
|
5259
|
+
"disabled": false,
|
5260
|
+
"document": "链接过期时间以 Unix 时间戳格式表示,从生成链接时间起,往后7天有效期。过期后短链将失效,无法打开。",
|
5261
|
+
"example": "无",
|
5262
|
+
"member": "int64",
|
5263
|
+
"name": "ExpireTime",
|
5264
|
+
"output_required": false,
|
5265
|
+
"type": "int",
|
5266
|
+
"value_allowed_null": false
|
5267
|
+
},
|
5268
|
+
{
|
5269
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
5270
|
+
"member": "string",
|
5271
|
+
"name": "RequestId",
|
5272
|
+
"type": "string"
|
5273
|
+
}
|
5274
|
+
],
|
5275
|
+
"type": "object"
|
5276
|
+
},
|
5186
5277
|
"CreatePersonAuthCertificateImageRequest": {
|
5187
5278
|
"document": "CreatePersonAuthCertificateImage请求参数结构体",
|
5188
5279
|
"members": [
|
@@ -826,6 +826,14 @@
|
|
826
826
|
"title": "错误示例-变更类型不合法"
|
827
827
|
}
|
828
828
|
],
|
829
|
+
"CreatePartnerAutoSignAuthUrl": [
|
830
|
+
{
|
831
|
+
"document": "创建他方自动签授权链接\n",
|
832
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePartnerAutoSignAuthUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDSxxxxxxxxxOnHtH51\"\n },\n \"AuthorizedOrganizationId\": \"yDRt2UUgygqxuvlqUuO4zjEySqVWqO9J\",\n \"SealTypes\": [\n \"OFFICIAL\"\n ]\n}",
|
833
|
+
"output": "{\n \"Response\": {\n \"ExpireTime\": 1721984586,\n \"MiniAppPath\": \"/pages/guide/index?shortKey=yDCpEUNqf8CyuealGCfc\",\n \"RequestId\": \"s1721379786690441960\",\n \"Url\": \"https://test.essurl.cn/g4sjUBHlHx\"\n }\n}",
|
834
|
+
"title": "创建他方自动签授权链接"
|
835
|
+
}
|
836
|
+
],
|
829
837
|
"CreatePersonAuthCertificateImage": [
|
830
838
|
{
|
831
839
|
"document": "创建个人用户证明证书图片",
|