tccli 3.0.1207.1__py2.py3-none-any.whl → 3.0.1208.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "actions": {
3
3
  "ArchiveDynamicFlow": {
4
- "document": "该接口用于结束动态签署流程,若当前合同还存在签署方未签署,无法结束。",
4
+ "document": "该接口用于结束动态签署方2.0的合同流程。\n\n\n**功能开通**\n- 动态签署方2.0功能的使用需要先<font color=\"red\">联系产品经理开通模块化计费功能</font>,然后到控制台中打开此功能。详细的使用说明请参考<a href=\"https://qian.tencent.com/developers/company/dynamic_signer_v2\" target=\"_blank\">动态签署方2.0</a>文档。\n\n**使用条件**\n- 此接口只能在<font color=\"red\">合同处于非终态且<b>所有的签署方都已经完成签署</b></font>。一旦合同进入终态(例如:过期、拒签、撤销或者调用过此接口成功过),将无法通过此接口结束合同流程。\n\n**整体流程**\n![image](https://qcloudimg.tencent-cloud.cn/raw/75d323c66e44b05bbc8e949c18664455.png)",
5
5
  "input": "ArchiveDynamicFlowRequest",
6
- "name": "结束动态签署合同",
6
+ "name": "结束动态签署流程",
7
7
  "output": "ArchiveDynamicFlowResponse",
8
8
  "status": "online"
9
9
  },
@@ -92,9 +92,9 @@
92
92
  "status": "online"
93
93
  },
94
94
  "CreateDynamicFlowApprover": {
95
- "document": "此接口(CreateDynamicFlowApprover)用来补充动态合同的签署人信息。<br/>\n适用场景:使用CreateFlowByFiles指定:OpenDynamicSignFlow=true发起的合同,可以使用该接口补充后续签署人。<br/>",
95
+ "document": "此接口(CreateDynamicFlowApprover)接口主要用于补充动态签署方2.0合同的签署方信息,包括但不限于名字、手机号和签署区域等信息。\n\n\n**功能开通**\n动态签署方2.0功能的使用需要先<font color=\"red\">联系产品经理开通模块化计费功能</font>,然后到控制台中打开此功能。详细的使用说明请参考<a href=\"https://qian.tencent.com/developers/company/dynamic_signer_v2\" target=\"_blank\">动态签署方2.0</a>文档。\n\n**使用条件**\n- 在发起合同时,必须将OpenDynamicSignFlow参数设置为true,以确保合同以动态签署方2.0的方式处理,否则默认处理为普通合同。\n- 此接口只能在合同处于非终态时调用。一旦合同进入终态(例如:过期、拒签或撤销),将无法通过此接口添加新的签署方。\n\n\n动态签署方2.0合同<font color=\"red\">不会自动结束(整个合同变为签署完成)</font>,需要通过调用<a href=\"https://qian.tencent.com/developers/companyApis/operateFlows/ArchiveDynamicFlow/\" target=\"_blank\">结束动态签署合同</a>来手动结束签署流程。整体的流程如下图\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/75d323c66e44b05bbc8e949c18664455.png)",
96
96
  "input": "CreateDynamicFlowApproverRequest",
97
- "name": "补充动态签署合同的签署人信息",
97
+ "name": "补充动态签署合同的签署方",
98
98
  "output": "CreateDynamicFlowApproverResponse",
99
99
  "status": "online"
100
100
  },
@@ -127,7 +127,7 @@
127
127
  "status": "online"
128
128
  },
129
129
  "CreateFlowApprovers": {
130
- "document": "**适用场景 :**\n\n当通过模板或文件发起合同时, 签署人不制定, 等合同发起后再指定 可以用下面2种方案\n\n<b><font color=\"red\">1. 或签合同</font>: 若未指定企业签署人信息(只指定企业的名字),合同变成或签合同(个人签署方不支持或签合同)</b>。需调用此接口补充或添加签署人。或签签署人在控制台上的展示样式如下(会带有<b>或签</b>标识):\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/b2715f0236faee807cfc0521f93cf01b.png)\n\n<b><font color=\"red\">2. 动态签署人合同</font>: 若未指定具体签署人的信息,则合同变成动态签署人合同</b>。需调用此接口补充或添加签署人。可以参考文档 [动态签署人合同](https://qian.tencent.com/developers/company/dynamic_signer/) 。动态签署人在控制台上的展示样式如下:\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/2729477978e020c3bbb4d2e767bb78eb.png)\n\n实际签署人需要通过[获取跳转至腾讯电子签小程序的签署链接](https://qian.tencent.com/developers/companyApis/startFlows/CreateSchemeUrl/)生成的链接进入小程序,领取合同并签署。同一签署环节可补充多个员工作为或签署人,最终实际签署人取决于谁先领取合同完成签署。\n\n\n**限制条件**:\n\n1.本企业(发起方企业)企业微信签署人仅支持通过企业微信UserId或姓名+手机号进行补充。\n\n2.本企业(发起方企业)非企业微信签署人仅支持通过姓名+手机号进行补充。\n\n3.他方企业仅支持通过姓名+手机号进行补充。\n\n4.个人签署人支持通过姓名+手机号进行补充(若<b>个人用户已完成实名</b>,动态签署人合同也可以可通过姓名+证件号码进行补充)\n\n\n**整体流程如下图:**\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/29a0fba0ceebf9227849459947384862.png)",
130
+ "document": "**适用场景 :**\n\n当通过模板或文件发起合同时, 签署人不制定, 等合同发起后再指定 可以用下面2种方案\n\n<b><font color=\"red\">1. 或签合同</font>: 若未指定企业签署人信息(只指定企业的名字),合同变成或签合同(个人签署方不支持或签合同)</b>。需调用此接口补充或添加签署人。或签签署人在控制台上的展示样式如下(会带有<b>或签</b>标识):\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/b2715f0236faee807cfc0521f93cf01b.png)\n\n<b><font color=\"red\">2. 动态签署人合同</font>: 若未指定具体签署人的信息,则合同变成动态签署人合同</b>。需调用此接口补充或添加签署人。可以参考文档 <a href=\"https://qian.tencent.com/developers/company/dynamic_signer/\" target=\"_blank\">动态签署人合同</a> 。动态签署人在控制台上的展示样式如下:\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/2729477978e020c3bbb4d2e767bb78eb.png)\n\n实际签署人需要通过[获取跳转至腾讯电子签小程序的签署链接](https://qian.tencent.com/developers/companyApis/startFlows/CreateSchemeUrl/)生成的链接进入小程序,领取合同并签署。同一签署环节可补充多个员工作为或签署人,最终实际签署人取决于谁先领取合同完成签署。\n\n\n**限制条件**:\n\n1.本企业(发起方企业)企业微信签署人仅支持通过企业微信UserId或姓名+手机号进行补充。\n\n2.本企业(发起方企业)非企业微信签署人仅支持通过姓名+手机号进行补充。\n\n3.他方企业仅支持通过姓名+手机号进行补充。\n\n4.个人签署人支持通过姓名+手机号进行补充(若<b>个人用户已完成实名</b>,动态签署人合同也可以可通过姓名+证件号码进行补充)\n\n\n**整体流程如下图:**\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/29a0fba0ceebf9227849459947384862.png)",
131
131
  "input": "CreateFlowApproversRequest",
132
132
  "name": "补充签署流程签署人信息",
133
133
  "output": "CreateFlowApproversResponse",
@@ -554,7 +554,7 @@
554
554
  "status": "online"
555
555
  },
556
556
  "DescribeUserVerifyStatus": {
557
- "document": "用于客户企业在调用生成[C端用户实名链接(CreateUserVerifyUrl](https://qian.tencent.com/developers/companyApis/users/CreateUserVerifyUrl)接口之前判断C端用户是否实名,如果已经实名,就不需要再次调用生成C端链接接口去实名\n注意:此接口仅会返回当前员工是否通过[C端用户实名链接(CreateUserVerifyUrl)](https://qian.tencent.com/developers/companyApis/users/CreateUserVerifyUrl)所实名的员工是否实名,并不会返回个人用户自己在电子签进行实名的状况",
557
+ "document": "检测个人用户是否已经实名。\n\n在调用生成C端用户实名链接([CreateUserVerifyUrl](https://qian.tencent.com/developers/companyApis/users/CreateUserVerifyUrl))接口之前,客户企业应首先调用本接口判断C端用户是否已经完成实名认证。如果用户已经实名,那么无需再次调用([CreateUserVerifyUrl](https://qian.tencent.com/developers/companyApis/users/CreateUserVerifyUrl))生成链接并走实名认证流程。\n\n注意: \n\n- 此接口<font color=\"red\">仅用于确认通过本公司生成[C端用户实名链接(CreateUserVerifyUrl)](https://qian.tencent.com/developers/companyApis/users/CreateUserVerifyUrl)接口注册认证的用户,不包括其他途径(如主动注册认证、在签署合同中注册认证等)在电子签平台上进行的实名认证</font>。\n\n- 调用此接口需要购买单独的实名套餐包。<font color=\"red\">使用前请联系对接的客户经理沟通</font>。",
558
558
  "input": "DescribeUserVerifyStatusRequest",
559
559
  "name": "查询用户实名状态",
560
560
  "output": "DescribeUserVerifyStatusResponse",
@@ -1102,7 +1102,7 @@
1102
1102
  "members": [
1103
1103
  {
1104
1104
  "disabled": false,
1105
- "document": "签署参与人在本流程中的编号ID(每个流程不同),可用此ID来定位签署参与人在本流程的签署节点,也可用于后续创建签署链接等操作。 注意:不指定该字段时默认为发起方\n注意:此字段可能返回 null,表示取不到有效值。",
1105
+ "document": "签署方唯一编号,一个全局唯一的标识符,不同的流程不会出现冲突。\n\n可以使用签署方的唯一编号来生成签署链接(也可以通过RecipientId来生成签署链接)。\n注意:此字段可能返回 null,表示取不到有效值。",
1106
1106
  "example": "06f2bc0f1772d8deac2f92b5df61a5ac",
1107
1107
  "member": "string",
1108
1108
  "name": "SignId",
@@ -1113,7 +1113,7 @@
1113
1113
  },
1114
1114
  {
1115
1115
  "disabled": false,
1116
- "document": "签署方经办人在模板中配置的参与方ID,与控件绑定,是控件的归属方,ID为32位字符串。 模板发起合同时,该参数为必填项。 文件发起合同是,该参数无需传值。 如果开发者后序用合同模板发起合同,建议保存此值,在用合同模板发起合同中需此值绑定对应的签署经办人 。\n注意:此字段可能返回 null,表示取不到有效值。",
1116
+ "document": "签署方角色编号,签署方角色编号是用于区分同一个流程中不同签署方的唯一标识。不同的流程会出现同样的签署方角色编号。\n\n填写控件和签署控件都与特定的角色编号关联。\n\n注意:此字段可能返回 null,表示取不到有效值。",
1117
1117
  "example": "yDwhSUUckp3lqxlpUu6Ni3SvjJPoxxxx",
1118
1118
  "member": "string",
1119
1119
  "name": "RecipientId",
@@ -9870,7 +9870,7 @@
9870
9870
  "members": [
9871
9871
  {
9872
9872
  "disabled": false,
9873
- "document": "签署方角色编号\n注意:此字段可能返回 null,表示取不到有效值。",
9873
+ "document": "签署方角色编号,签署方角色编号是用于区分同一个流程中不同签署方的唯一标识。不同的流程会出现同样的签署方角色编号。\n\n填写控件和签署控件都与特定的角色编号关联。\n\n在进行新增签署方操作时,建议记录下该签署方的角色编号。后续可以拉取流程信息,用来判断该签署方的当前状态。\n\n注意:此字段可能返回 null,表示取不到有效值。",
9874
9874
  "example": "无",
9875
9875
  "member": "string",
9876
9876
  "name": "RecipientId",
@@ -9881,7 +9881,7 @@
9881
9881
  },
9882
9882
  {
9883
9883
  "disabled": false,
9884
- "document": "签署方唯一编号\n注意:此字段可能返回 null,表示取不到有效值。",
9884
+ "document": "签署方唯一编号,一个全局唯一的标识符,不同的流程不会出现冲突。\n\n可以使用签署方的唯一编号来生成签署链接(也可以通过RecipientId来生成签署链接)。\n注意:此字段可能返回 null,表示取不到有效值。",
9885
9885
  "example": "无",
9886
9886
  "member": "string",
9887
9887
  "name": "SignId",
@@ -9892,7 +9892,7 @@
9892
9892
  },
9893
9893
  {
9894
9894
  "disabled": false,
9895
- "document": "签署方当前状态\n注意:此字段可能返回 null,表示取不到有效值。",
9895
+ "document": "签署方当前状态,会出现下面的状态\n\n2:待签署\n3:已签署\n4:已拒绝\n5:已过期\n6:已撤销\n8:待填写\n9:因为各种原因(签署人改名等)而终止\n10:填写完成\n15:已解除\n19:转他人处理\n注意:此字段可能返回 null,表示取不到有效值。",
9896
9896
  "example": "无",
9897
9897
  "member": "int64",
9898
9898
  "name": "ApproverStatus",
@@ -1577,8 +1577,8 @@
1577
1577
  "DescribeUserVerifyStatus": [
1578
1578
  {
1579
1579
  "document": "通过二要素查询用户是否实名",
1580
- "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserVerifyStatus\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"abc\"\n },\n \"Name\": \"abc\",\n \"IdCardNumber\": \"abc\",\n \"IdCardType\": \"ID_CARD\"\n}",
1581
- "output": "{\n \"Response\": {\n \"VerifyStatus\": true,\n \"RequestId\": \"abc\"\n }\n}",
1580
+ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserVerifyStatus\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDxbNUyKQDx3oAUuO4zjEBQGidlGe4hP\"\n },\n \"Name\": \"典子谦\",\n \"IdCardNumber\": \"620000198802020000\",\n \"IdCardType\": \"ID_CARD\"\n}",
1581
+ "output": "{\n \"Response\": {\n \"VerifyStatus\": true,\n \"RequestId\": \"49500cb4-ca5e-4da0-93fb-e15f3a710ed7 \"\n }\n}",
1582
1582
  "title": "通过二要素查询用户是否实名"
1583
1583
  }
1584
1584
  ],
@@ -272,7 +272,7 @@
272
272
  "members": [
273
273
  {
274
274
  "disabled": false,
275
- "document": "疑似的攻击痕迹类型\nSuspectedSpoofingAttack:翻拍攻击\nSuspectedSynthesisImage:疑似合成图片\nSuspectedSynthesisVideo:疑似合成视频\nSuspectedeAnomalyAttack:人脸特征疑似非真人\nSuspectedAdversarialAttack:疑似对抗样本攻击\nSuspectedBlackIndustry:疑似黑产攻击\nSuspectedWatermark:疑似存在水印\n注意:此字段可能返回 null,表示取不到有效值。",
275
+ "document": "疑似的攻击痕迹类型\nSuspectedSpoofingAttack:翻拍攻击\nSuspectedSynthesisImage:疑似合成图片\nSuspectedSynthesisVideo:疑似合成视频\nSuspectedeAnomalyAttack:人脸特征疑似非真人\nSuspectedAdversarialAttack:疑似对抗样本攻击\nSuspectedBlackIndustry:疑似黑产批量模版攻击\nSuspectedWatermark:疑似存在水印\n注意:此字段可能返回 null,表示取不到有效值。",
276
276
  "example": "SuspectedWatermark",
277
277
  "member": "string",
278
278
  "name": "Type",
@@ -881,7 +881,7 @@
881
881
  "example": "无",
882
882
  "member": "GetAccountGroupData",
883
883
  "name": "Data",
884
- "required": false,
884
+ "output_required": true,
885
885
  "type": "object",
886
886
  "value_allowed_null": true
887
887
  },
@@ -1438,6 +1438,7 @@
1438
1438
  "example": "-",
1439
1439
  "member": "string",
1440
1440
  "name": "NamePath",
1441
+ "output_required": true,
1441
1442
  "required": false,
1442
1443
  "type": "string",
1443
1444
  "value_allowed_null": true
@@ -1448,6 +1449,7 @@
1448
1449
  "example": "-",
1449
1450
  "member": "int64",
1450
1451
  "name": "IdPathArr",
1452
+ "output_required": true,
1451
1453
  "required": false,
1452
1454
  "type": "list",
1453
1455
  "value_allowed_null": true
@@ -1458,6 +1460,7 @@
1458
1460
  "example": "-",
1459
1461
  "member": "string",
1460
1462
  "name": "ExtraInfo",
1463
+ "output_required": true,
1461
1464
  "required": false,
1462
1465
  "type": "string",
1463
1466
  "value_allowed_null": true
@@ -1468,6 +1471,7 @@
1468
1471
  "example": "-",
1469
1472
  "member": "string",
1470
1473
  "name": "Utime",
1474
+ "output_required": true,
1471
1475
  "required": false,
1472
1476
  "type": "string",
1473
1477
  "value_allowed_null": true
@@ -1478,6 +1482,7 @@
1478
1482
  "example": "-",
1479
1483
  "member": "uint64",
1480
1484
  "name": "ParentId",
1485
+ "output_required": true,
1481
1486
  "required": false,
1482
1487
  "type": "int",
1483
1488
  "value_allowed_null": true
@@ -1488,6 +1493,7 @@
1488
1493
  "example": "-",
1489
1494
  "member": "string",
1490
1495
  "name": "OrgId",
1496
+ "output_required": true,
1491
1497
  "required": false,
1492
1498
  "type": "string",
1493
1499
  "value_allowed_null": true
@@ -1498,6 +1504,7 @@
1498
1504
  "example": "-",
1499
1505
  "member": "string",
1500
1506
  "name": "Name",
1507
+ "output_required": true,
1501
1508
  "required": false,
1502
1509
  "type": "string",
1503
1510
  "value_allowed_null": true
@@ -1508,6 +1515,7 @@
1508
1515
  "example": "-",
1509
1516
  "member": "uint64",
1510
1517
  "name": "Id",
1518
+ "output_required": true,
1511
1519
  "required": false,
1512
1520
  "type": "int",
1513
1521
  "value_allowed_null": true
@@ -1518,6 +1526,7 @@
1518
1526
  "example": "-",
1519
1527
  "member": "string",
1520
1528
  "name": "Description",
1529
+ "output_required": true,
1521
1530
  "required": false,
1522
1531
  "type": "string",
1523
1532
  "value_allowed_null": true
@@ -1528,6 +1537,7 @@
1528
1537
  "example": "-",
1529
1538
  "member": "uint64",
1530
1539
  "name": "Source",
1540
+ "output_required": true,
1531
1541
  "required": false,
1532
1542
  "type": "int",
1533
1543
  "value_allowed_null": true
@@ -1538,6 +1548,7 @@
1538
1548
  "example": "-",
1539
1549
  "member": "string",
1540
1550
  "name": "IdPath",
1551
+ "output_required": true,
1541
1552
  "required": false,
1542
1553
  "type": "string",
1543
1554
  "value_allowed_null": true
@@ -1548,6 +1559,7 @@
1548
1559
  "example": "-",
1549
1560
  "member": "string",
1550
1561
  "name": "Itime",
1562
+ "output_required": true,
1551
1563
  "required": false,
1552
1564
  "type": "string",
1553
1565
  "value_allowed_null": true
@@ -1558,6 +1570,7 @@
1558
1570
  "example": "-",
1559
1571
  "member": "string",
1560
1572
  "name": "ParentOrgId",
1573
+ "output_required": true,
1561
1574
  "required": false,
1562
1575
  "type": "string",
1563
1576
  "value_allowed_null": true
@@ -1568,6 +1581,7 @@
1568
1581
  "example": "-",
1569
1582
  "member": "string",
1570
1583
  "name": "Import",
1584
+ "output_required": true,
1571
1585
  "required": false,
1572
1586
  "type": "string",
1573
1587
  "value_allowed_null": true
@@ -1578,6 +1592,7 @@
1578
1592
  "example": "-",
1579
1593
  "member": "bool",
1580
1594
  "name": "ImportEnable",
1595
+ "output_required": true,
1581
1596
  "required": false,
1582
1597
  "type": "bool",
1583
1598
  "value_allowed_null": true
@@ -1588,6 +1603,7 @@
1588
1603
  "example": "-",
1589
1604
  "member": "string",
1590
1605
  "name": "ImportType",
1606
+ "output_required": true,
1591
1607
  "required": false,
1592
1608
  "type": "string",
1593
1609
  "value_allowed_null": true
@@ -1598,6 +1614,7 @@
1598
1614
  "example": "-",
1599
1615
  "member": "string",
1600
1616
  "name": "MiniIamId",
1617
+ "output_required": true,
1601
1618
  "required": false,
1602
1619
  "type": "string",
1603
1620
  "value_allowed_null": true
@@ -4283,58 +4283,6 @@ def doCreateReservedInstances(args, parsed_globals):
4283
4283
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4284
4284
 
4285
4285
 
4286
- def doDeleteReservedInstances(args, parsed_globals):
4287
- g_param = parse_global_arg(parsed_globals)
4288
-
4289
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4290
- cred = credential.CVMRoleCredential()
4291
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4292
- cred = credential.STSAssumeRoleCredential(
4293
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4294
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4295
- )
4296
- 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):
4297
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4298
- else:
4299
- cred = credential.Credential(
4300
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4301
- )
4302
- http_profile = HttpProfile(
4303
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4304
- reqMethod="POST",
4305
- endpoint=g_param[OptionsDefine.Endpoint],
4306
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4307
- )
4308
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4309
- if g_param[OptionsDefine.Language]:
4310
- profile.language = g_param[OptionsDefine.Language]
4311
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4312
- client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile)
4313
- client._sdkVersion += ("_CLI_" + __version__)
4314
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
4315
- model = models.DeleteReservedInstancesRequest()
4316
- model.from_json_string(json.dumps(args))
4317
- start_time = time.time()
4318
- while True:
4319
- rsp = client.DeleteReservedInstances(model)
4320
- result = rsp.to_json_string()
4321
- try:
4322
- json_obj = json.loads(result)
4323
- except TypeError as e:
4324
- json_obj = json.loads(result.decode('utf-8')) # python3.3
4325
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4326
- break
4327
- cur_time = time.time()
4328
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4329
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4330
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4331
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4332
- else:
4333
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4334
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4335
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4336
-
4337
-
4338
4286
  def doDeletePrometheusTemplate(args, parsed_globals):
4339
4287
  g_param = parse_global_arg(parsed_globals)
4340
4288
 
@@ -6831,7 +6779,7 @@ def doDescribeClusterInstances(args, parsed_globals):
6831
6779
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
6832
6780
 
6833
6781
 
6834
- def doDescribeExternalClusterSpec(args, parsed_globals):
6782
+ def doDeleteReservedInstances(args, parsed_globals):
6835
6783
  g_param = parse_global_arg(parsed_globals)
6836
6784
 
6837
6785
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -6860,11 +6808,11 @@ def doDescribeExternalClusterSpec(args, parsed_globals):
6860
6808
  client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile)
6861
6809
  client._sdkVersion += ("_CLI_" + __version__)
6862
6810
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
6863
- model = models.DescribeExternalClusterSpecRequest()
6811
+ model = models.DeleteReservedInstancesRequest()
6864
6812
  model.from_json_string(json.dumps(args))
6865
6813
  start_time = time.time()
6866
6814
  while True:
6867
- rsp = client.DescribeExternalClusterSpec(model)
6815
+ rsp = client.DeleteReservedInstances(model)
6868
6816
  result = rsp.to_json_string()
6869
6817
  try:
6870
6818
  json_obj = json.loads(result)
@@ -12386,7 +12334,6 @@ ACTION_MAP = {
12386
12334
  "DescribeClusters": doDescribeClusters,
12387
12335
  "DescribeClusterEndpointStatus": doDescribeClusterEndpointStatus,
12388
12336
  "CreateReservedInstances": doCreateReservedInstances,
12389
- "DeleteReservedInstances": doDeleteReservedInstances,
12390
12337
  "DeletePrometheusTemplate": doDeletePrometheusTemplate,
12391
12338
  "DescribeRegions": doDescribeRegions,
12392
12339
  "DescribeReservedInstanceUtilizationRate": doDescribeReservedInstanceUtilizationRate,
@@ -12435,7 +12382,7 @@ ACTION_MAP = {
12435
12382
  "DescribeLogSwitches": doDescribeLogSwitches,
12436
12383
  "AcquireClusterAdminRole": doAcquireClusterAdminRole,
12437
12384
  "DescribeClusterInstances": doDescribeClusterInstances,
12438
- "DescribeExternalClusterSpec": doDescribeExternalClusterSpec,
12385
+ "DeleteReservedInstances": doDeleteReservedInstances,
12439
12386
  "DescribeClusterReleaseHistory": doDescribeClusterReleaseHistory,
12440
12387
  "ModifyClusterNodePool": doModifyClusterNodePool,
12441
12388
  "DescribeEncryptionStatus": doDescribeEncryptionStatus,
@@ -812,13 +812,6 @@
812
812
  "output": "DescribeExistedInstancesResponse",
813
813
  "status": "online"
814
814
  },
815
- "DescribeExternalClusterSpec": {
816
- "document": "tdcc接口已迁移至tdcc产品下,tke下的接口下线\n\n获取导入第三方集群YAML定义",
817
- "input": "DescribeExternalClusterSpecRequest",
818
- "name": "获取导入第三方集群YAML定义",
819
- "output": "DescribeExternalClusterSpecResponse",
820
- "status": "deprecated"
821
- },
822
815
  "DescribeExternalNodeSupportConfig": {
823
816
  "document": "查看开启第三方节点池配置信息",
824
817
  "input": "DescribeExternalNodeSupportConfigRequest",
@@ -11253,71 +11246,6 @@
11253
11246
  ],
11254
11247
  "type": "object"
11255
11248
  },
11256
- "DescribeExternalClusterSpecRequest": {
11257
- "document": "DescribeExternalClusterSpec请求参数结构体",
11258
- "members": [
11259
- {
11260
- "disabled": false,
11261
- "document": "注册集群ID",
11262
- "example": "cls-65r1c5nu",
11263
- "member": "string",
11264
- "name": "ClusterId",
11265
- "required": true,
11266
- "type": "string"
11267
- },
11268
- {
11269
- "disabled": false,
11270
- "document": "默认false 获取内网,是否获取外网版注册命令",
11271
- "example": "false",
11272
- "member": "bool",
11273
- "name": "IsExtranet",
11274
- "required": false,
11275
- "type": "bool"
11276
- },
11277
- {
11278
- "disabled": false,
11279
- "document": "默认false 不刷新有效时间 ,true刷新有效时间",
11280
- "example": "false",
11281
- "member": "bool",
11282
- "name": "IsRefreshExpirationTime",
11283
- "required": false,
11284
- "type": "bool"
11285
- }
11286
- ],
11287
- "type": "object"
11288
- },
11289
- "DescribeExternalClusterSpecResponse": {
11290
- "document": "DescribeExternalClusterSpec返回参数结构体",
11291
- "members": [
11292
- {
11293
- "disabled": false,
11294
- "document": "导入第三方集群YAML定义",
11295
- "example": "xxx",
11296
- "member": "string",
11297
- "name": "Spec",
11298
- "required": true,
11299
- "type": "string",
11300
- "value_allowed_null": false
11301
- },
11302
- {
11303
- "disabled": false,
11304
- "document": "agent.yaml文件过期时间字符串,时区UTC",
11305
- "example": "2021-09-08T07:04:51Z",
11306
- "member": "string",
11307
- "name": "Expiration",
11308
- "required": true,
11309
- "type": "string",
11310
- "value_allowed_null": false
11311
- },
11312
- {
11313
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
11314
- "member": "string",
11315
- "name": "RequestId",
11316
- "type": "string"
11317
- }
11318
- ],
11319
- "type": "object"
11320
- },
11321
11249
  "DescribeExternalNodeSupportConfigRequest": {
11322
11250
  "document": "DescribeExternalNodeSupportConfig请求参数结构体",
11323
11251
  "members": [
@@ -964,14 +964,6 @@
964
964
  "title": "查询已经存在的节点"
965
965
  }
966
966
  ],
967
- "DescribeExternalClusterSpec": [
968
- {
969
- "document": "",
970
- "input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeExternalClusterSpec\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-xxx\",\n \"IsExtranet\": false,\n \"IsRefreshExpirationTime\": false\n}",
971
- "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\",\n \"Spec\": \"xxxx\",\n \"Expiration\": \"2021-09-08T07:04:51Z\"\n }\n}",
972
- "title": "获取导入第三方集群YAML定义"
973
- }
974
- ],
975
967
  "DescribeExternalNodeSupportConfig": [
976
968
  {
977
969
  "document": "",
@@ -737,7 +737,7 @@
737
737
  {
738
738
  "disabled": false,
739
739
  "document": "腾讯云对象存储的[地域信息](https://cloud.tencent.com/document/product/436/6224#.E5.9C.B0.E5.9F.9F)。\n示例值:cn-shanghai-1\n\nAWS S3[地域信息](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions)",
740
- "example": "cn-shanghai-1",
740
+ "example": "ap-shanghai(cos, 具体参考云存储厂商支持的地域)",
741
741
  "member": "string",
742
742
  "name": "Region",
743
743
  "required": true,
@@ -848,7 +848,7 @@
848
848
  "status": "online"
849
849
  },
850
850
  "ForbidMediaDistribution": {
851
- "document": "* 对媒体禁播后,除了点播控制台预览,其他场景访问视频各种资源的 URL(原始文件、转码输出文件、截图等)均会返回 403。\n 禁播/解禁操作全网生效时间约 5~10 分钟。",
851
+ "document": "* 对媒体禁播后,除了点播控制台预览,其他场景访问视频各种资源的 URL(原始文件、转码输出文件、截图等)均会返回 403。\n 禁播/解禁操作全网生效时间约 5~10 分钟。\n* 注意:禁播媒体仅能操作标准存储和低频存储的媒体。低频存储媒体,必须存储至少 30 天,提前删除或变更存储类型,仍旧按照 30 天计费;如果禁播低频存储媒体,该媒体低频存储的时长不足 30 天,会产生提前删除计费;同时,禁播后该媒体的低频存储时长会从当前时间重新开始计算,如果不满 30 天继续对该媒体进行删除或变更存储类型,也将产生提前删除计费。例:媒体 001 已经低频存储了 10 天,此时对 001 进行禁播,低频存储的计费仍旧按 30 天计算(提前删除计费时长为 30 - 10 = 20 天);禁播后 001 的低频存储时长重新开始计算,如果禁播后第 5 天删除了 001,低频存储计费也会按 30 天计算(提前删除计费时长为 30 - 5 = 25 天);001 实际的低频存储时长为 10 + 5 = 15 天,低频存储计费时长为 10 + 20(提前删除计费)+ 5 + 25(提前删除计费) = 60 天。",
852
852
  "input": "ForbidMediaDistributionRequest",
853
853
  "name": "禁播媒体",
854
854
  "output": "ForbidMediaDistributionResponse",
@@ -2402,7 +2402,7 @@
2402
2402
  "status": "online"
2403
2403
  },
2404
2404
  "ReplaceCcnRouteTableBroadcastPolicys": {
2405
- "document": "本接口(ReplaceCcnRouteTableBroadcastPolicys)用于替换云联网路由表路由传播策略。\n> 特别注意:是全量覆盖,非增量添加\n\n**路由条件支持以下四种:**\n\n- 实例类型: `instance-type`,可选值:私有网络 `VPC`、专线网关 `DIRECTCONNECT`、专线网关 `VPNGW`\n- 实例ID: `instance-id`,例如:`dcg-8zljkrft`、`vpc-jdevjrup`,暂不支持 `Edge` 实例\n- 实例地域: `instance-region`,例如:`ap-guangzhou`<br />产品支持的所有地域列表可通过接口 [DescribeRegions](https://cloud.tencent.com/document/product/1596/77930) 查询,其中参数 `Product` 设置为 `ccn`\n- 路由前缀: `cidr-block`,例如:`10.1.0.0/16`\n\n\n**传播条件支持以下三种:**\n\n- 实例类型: `instance-type`,格式同路由条件\n- 实例ID: `instance-id`,格式同路由条件\n- 实例地域: `instance-region`,格式同路由条件\n\n\n**使用限制:**\n- 一条策略内的单个条件类型,最大支持设置 `25` 个条件值\n- 一张路由表,最大支持 `100` 条路由传播策略\n- 路由条件类型中,只有 `cidr-block` 类型支持模糊匹配和精确匹配两种,其它类型只支持精确匹配一种模式",
2405
+ "document": "本接口(ReplaceCcnRouteTableBroadcastPolicys)用于替换云联网路由表路由传播策略。\n> 特别注意:是全量覆盖,非增量添加\n\n**路由条件支持以下四种:**\n\n- 实例类型: `instance-type`,可选值:私有网络 `VPC`、专线网关 `DIRECTCONNECT`、VPN网关 `VPNGW`\n- 实例ID: `instance-id`,例如:`dcg-8zljkrft`、`vpc-jdevjrup`,暂不支持 `Edge` 实例\n- 实例地域: `instance-region`,例如:`ap-guangzhou`<br />产品支持的所有地域列表可通过接口 [DescribeRegions](https://cloud.tencent.com/document/product/1596/77930) 查询,其中参数 `Product` 设置为 `ccn`\n- 路由前缀: `cidr-block`,例如:`10.1.0.0/16`\n\n\n**传播条件支持以下三种:**\n\n- 实例类型: `instance-type`,格式同路由条件\n- 实例ID: `instance-id`,格式同路由条件\n- 实例地域: `instance-region`,格式同路由条件\n\n\n**使用限制:**\n- 一条策略内的单个条件类型,最大支持设置 `25` 个条件值\n- 一张路由表,最大支持 `100` 条路由传播策略\n- 路由条件类型中,只有 `cidr-block` 类型支持模糊匹配和精确匹配两种,其它类型只支持精确匹配一种模式",
2406
2406
  "input": "ReplaceCcnRouteTableBroadcastPolicysRequest",
2407
2407
  "name": "替换云联网路由传播策略",
2408
2408
  "output": "ReplaceCcnRouteTableBroadcastPolicysResponse",
@@ -4079,6 +4079,15 @@
4079
4079
  "name": "EipDirectConnection",
4080
4080
  "required": false,
4081
4081
  "type": "bool"
4082
+ },
4083
+ {
4084
+ "disabled": false,
4085
+ "document": "要绑定的实例所在的地域",
4086
+ "example": "ap-guangzhou",
4087
+ "member": "string",
4088
+ "name": "InstanceRegion",
4089
+ "required": false,
4090
+ "type": "string"
4082
4091
  }
4083
4092
  ],
4084
4093
  "type": "object"
@@ -5486,6 +5495,7 @@
5486
5495
  "example": "ccn-245ecr35",
5487
5496
  "member": "string",
5488
5497
  "name": "CcnId",
5498
+ "output_required": true,
5489
5499
  "required": true,
5490
5500
  "type": "string",
5491
5501
  "value_allowed_null": false
@@ -5496,6 +5506,7 @@
5496
5506
  "example": "test",
5497
5507
  "member": "string",
5498
5508
  "name": "Name",
5509
+ "output_required": true,
5499
5510
  "required": true,
5500
5511
  "type": "string",
5501
5512
  "value_allowed_null": false
@@ -5506,7 +5517,8 @@
5506
5517
  "example": "deerers",
5507
5518
  "member": "string",
5508
5519
  "name": "Description",
5509
- "required": true,
5520
+ "output_required": true,
5521
+ "required": false,
5510
5522
  "type": "string",
5511
5523
  "value_allowed_null": false
5512
5524
  }
@@ -6045,7 +6057,7 @@
6045
6057
  "member": "string",
6046
6058
  "name": "Description",
6047
6059
  "output_required": true,
6048
- "required": true,
6060
+ "required": false,
6049
6061
  "type": "string",
6050
6062
  "value_allowed_null": false
6051
6063
  },
@@ -6521,7 +6533,7 @@
6521
6533
  {
6522
6534
  "disabled": false,
6523
6535
  "document": "云联网ID。",
6524
- "example": "ccnrtb-1234edfr",
6536
+ "example": "ccn-1234edfr",
6525
6537
  "member": "string",
6526
6538
  "name": "CcnId",
6527
6539
  "required": true,
@@ -20219,7 +20231,7 @@
20219
20231
  },
20220
20232
  {
20221
20233
  "disabled": false,
20222
- "document": "CCN路由策略唯一ID。形如:ccnr-f49l6u0z",
20234
+ "document": "CCN路由策略唯一ID。形如:ccnr-f49l6u0z。可通过DescribeCcnRoutes获取。",
20223
20235
  "example": "[\"ccnr-bvipc87w\\r\\n\"]",
20224
20236
  "member": "string",
20225
20237
  "name": "RouteIds",
@@ -20837,7 +20849,7 @@
20837
20849
  },
20838
20850
  {
20839
20851
  "disabled": false,
20840
- "document": "CCN路由策略唯一ID。形如:ccnr-f49l6u0z",
20852
+ "document": "CCN路由策略唯一ID。形如:ccnr-f49l6u0z。可通过DescribeCcnRoutes接口获取。",
20841
20853
  "example": "[\"ccnr-bvipc87w\\r\\n\"]",
20842
20854
  "member": "string",
20843
20855
  "name": "RouteIds",
@@ -25776,28 +25788,25 @@
25776
25788
  "member": "string",
25777
25789
  "name": "RouteTableId",
25778
25790
  "required": true,
25779
- "type": "string",
25780
- "value_allowed_null": false
25791
+ "type": "string"
25781
25792
  },
25782
25793
  {
25783
25794
  "disabled": false,
25784
- "document": "云联网路由表名称。",
25795
+ "document": "云联网路由表名称。Name和Description 两者必传一个。",
25785
25796
  "example": "test",
25786
25797
  "member": "string",
25787
25798
  "name": "Name",
25788
25799
  "required": false,
25789
- "type": "string",
25790
- "value_allowed_null": true
25800
+ "type": "string"
25791
25801
  },
25792
25802
  {
25793
25803
  "disabled": false,
25794
- "document": "云联网路由表描述。",
25804
+ "document": "云联网路由表描述。Name和Description 两者必传一个。",
25795
25805
  "example": "deerers",
25796
25806
  "member": "string",
25797
25807
  "name": "Description",
25798
25808
  "required": false,
25799
- "type": "string",
25800
- "value_allowed_null": false
25809
+ "type": "string"
25801
25810
  }
25802
25811
  ],
25803
25812
  "usage": "in"
@@ -3130,7 +3130,7 @@
3130
3130
  ],
3131
3131
  "ReplaceCcnRouteTableBroadcastPolicys": [
3132
3132
  {
3133
- "document": "",
3133
+ "document": "替换云联网路由传播策略",
3134
3134
  "input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ReplaceCcnRouteTableBroadcastPolicys\n<公共请求参数>\n\n{\n \"CcnId\": \"ccn-qd6z2ld1\",\n \"RouteTableId\": \"ccnrtb-1mkezrkd\",\n \"Policys\": [\n {\n \"RouteConditions\": [\n {\n \"Name\": \"instance-type\",\n \"Values\": [\n \"VPC\",\n \"DIRECTCONNECT\"\n ],\n \"MatchPattern\": 1\n },\n {\n \"Name\": \"instance-id\",\n \"Values\": [\n \"dcg-8zljkrft\",\n \"vpc-jdevjrup\"\n ],\n \"MatchPattern\": 1\n }\n ],\n \"BroadcastConditions\": [\n {\n \"Name\": \"instance-id\",\n \"Values\": [\n \"vpc-jdevjrup\",\n \"vpc-hb81v349\"\n ],\n \"MatchPattern\": 1\n }\n ],\n \"Action\": \"accept\",\n \"Description\": \"指定vpc接收北京指定专线和vpc路由\"\n },\n {\n \"RouteConditions\": [\n {\n \"Name\": \"instance-region\",\n \"Values\": [\n \"ap-beijing\"\n ],\n \"MatchPattern\": 1\n },\n {\n \"Name\": \"instance-type\",\n \"Values\": [\n \"VPC\",\n \"DIRECTCONNECT\",\n \"VPNGW\"\n ],\n \"MatchPattern\": 1\n },\n {\n \"Name\": \"cidr-block\",\n \"Values\": [\n \"9.0.0.0/8\",\n \"10.0.0.0/8\",\n \"192.168.0.0/24\"\n ],\n \"MatchPattern\": 1\n }\n ],\n \"BroadcastConditions\": [\n {\n \"Name\": \"instance-region\",\n \"Values\": [\n \"ap-beijing\"\n ],\n \"MatchPattern\": 1\n },\n {\n \"Name\": \"instance-id\",\n \"Values\": [\n \"vpc-jdevjrup\",\n \"vpc-hb81v349\"\n ],\n \"MatchPattern\": 1\n }\n ],\n \"Action\": \"drop\",\n \"Description\": \"指定VPC绝收北京地域专线、VPC、VPN三大网段\"\n }\n ]\n}",
3135
3135
  "output": "{\n \"Response\": {\n \"RequestId\": \"6fe64d7f-3983-4f17-847d-a60dded41951\"\n }\n}",
3136
3136
  "title": "替换云联网路由传播策略"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tccli
3
- Version: 3.0.1207.1
3
+ Version: 3.0.1208.1
4
4
  Summary: Universal Command Line Environment for Tencent Cloud
5
5
  Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
6
6
  Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
13
13
  Classifier: Programming Language :: Python :: 3
14
14
  Requires-Dist: jmespath==0.10.0
15
15
  Requires-Dist: six==1.16.0
16
- Requires-Dist: tencentcloud-sdk-python>=3.0.1207
16
+ Requires-Dist: tencentcloud-sdk-python>=3.0.1208
17
17
  Description-Content-Type: text/markdown
18
18
 
19
19
  # 命令行工具简介