tccli 3.0.1134.1__py2.py3-none-any.whl → 3.0.1136.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +3 -0
- tccli/services/asr/asr_client.py +53 -0
- tccli/services/asr/v20190614/api.json +193 -1
- tccli/services/asr/v20190614/examples.json +8 -0
- tccli/services/batch/v20170312/api.json +8 -5
- tccli/services/batch/v20170312/examples.json +1 -1
- tccli/services/cdb/cdb_client.py +57 -4
- tccli/services/cdb/v20170320/api.json +270 -0
- tccli/services/cdb/v20170320/examples.json +8 -0
- tccli/services/ckafka/v20190819/api.json +1 -1
- tccli/services/cls/v20201016/api.json +3 -3
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +138 -4
- tccli/services/dlc/v20210125/examples.json +13 -5
- tccli/services/dsgc/v20190723/api.json +35 -35
- tccli/services/eiam/v20210420/api.json +4 -4
- tccli/services/eiam/v20210420/examples.json +4 -4
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +3 -3
- tccli/services/facefusion/v20181201/api.json +12 -12
- tccli/services/facefusion/v20181201/examples.json +4 -4
- tccli/services/iotexplorer/iotexplorer_client.py +53 -0
- tccli/services/iotexplorer/v20190423/api.json +137 -4
- tccli/services/iotexplorer/v20190423/examples.json +8 -0
- tccli/services/lcic/v20220817/api.json +4 -4
- tccli/services/lighthouse/v20200324/api.json +15 -15
- tccli/services/lighthouse/v20200324/examples.json +7 -7
- tccli/services/lke/lke_client.py +175 -16
- tccli/services/lke/v20231130/api.json +782 -165
- tccli/services/lke/v20231130/examples.json +35 -5
- tccli/services/ocr/v20181119/api.json +1 -1
- tccli/services/ses/v20201002/api.json +20 -1
- tccli/services/tdmq/tdmq_client.py +53 -0
- tccli/services/tdmq/v20200217/api.json +321 -0
- tccli/services/tdmq/v20200217/examples.json +8 -0
- tccli/services/tem/v20210701/api.json +8 -5
- tccli/services/tem/v20210701/examples.json +2 -2
- tccli/services/tke/v20180525/api.json +33 -21
- tccli/services/tke/v20180525/examples.json +4 -4
- tccli/services/trocket/trocket_client.py +65 -12
- tccli/services/trocket/v20230308/api.json +196 -0
- tccli/services/trocket/v20230308/examples.json +8 -0
- tccli/services/trtc/v20190722/api.json +48 -66
- tccli/services/tsi/__init__.py +4 -0
- tccli/services/tsi/tsi_client.py +301 -0
- tccli/services/tsi/v20210325/api.json +373 -0
- tccli/services/tsi/v20210325/examples.json +29 -0
- tccli/services/vpc/v20170312/api.json +36 -16
- tccli/services/vpc/v20170312/examples.json +9 -3
- tccli/services/waf/v20180125/api.json +70 -0
- tccli/services/waf/v20180125/examples.json +8 -0
- tccli/services/waf/waf_client.py +53 -0
- {tccli-3.0.1134.1.dist-info → tccli-3.0.1136.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1134.1.dist-info → tccli-3.0.1136.1.dist-info}/RECORD +58 -54
- {tccli-3.0.1134.1.dist-info → tccli-3.0.1136.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1134.1.dist-info → tccli-3.0.1136.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1134.1.dist-info → tccli-3.0.1136.1.dist-info}/license_files/LICENSE +0 -0
@@ -29,7 +29,7 @@
|
|
29
29
|
"status": "online"
|
30
30
|
},
|
31
31
|
"AddTemplateMember": {
|
32
|
-
"document": "增加模板对象中的IP地址、协议端口、IP
|
32
|
+
"document": "增加模板对象中的IP地址、协议端口、IP地址组、协议端口组。",
|
33
33
|
"input": "AddTemplateMemberRequest",
|
34
34
|
"name": "增加模板对象成员",
|
35
35
|
"output": "AddTemplateMemberResponse",
|
@@ -708,7 +708,7 @@
|
|
708
708
|
"status": "online"
|
709
709
|
},
|
710
710
|
"DeleteTemplateMember": {
|
711
|
-
"document": "删除模板对象中的IP地址、协议端口、IP
|
711
|
+
"document": "删除模板对象中的IP地址、协议端口、IP地址组、协议端口组。",
|
712
712
|
"input": "DeleteTemplateMemberRequest",
|
713
713
|
"name": "删除模板对象成员",
|
714
714
|
"output": "DeleteTemplateMemberResponse",
|
@@ -1268,7 +1268,7 @@
|
|
1268
1268
|
"status": "online"
|
1269
1269
|
},
|
1270
1270
|
"DescribeVpcEndPointService": {
|
1271
|
-
"document": "
|
1271
|
+
"document": "本接口(DescribeVpcEndPointService)用于查询终端节点服务列表。",
|
1272
1272
|
"input": "DescribeVpcEndPointServiceRequest",
|
1273
1273
|
"name": "查询终端节点服务列表",
|
1274
1274
|
"output": "DescribeVpcEndPointServiceResponse",
|
@@ -1912,7 +1912,7 @@
|
|
1912
1912
|
"status": "online"
|
1913
1913
|
},
|
1914
1914
|
"ModifyTemplateMember": {
|
1915
|
-
"document": "修改模板对象中的IP地址、协议端口、IP
|
1915
|
+
"document": "修改模板对象中的IP地址、协议端口、IP地址组、协议端口组。",
|
1916
1916
|
"input": "ModifyTemplateMemberRequest",
|
1917
1917
|
"name": "修改模板对象成员",
|
1918
1918
|
"output": "ModifyTemplateMemberResponse",
|
@@ -12586,7 +12586,7 @@
|
|
12586
12586
|
},
|
12587
12587
|
{
|
12588
12588
|
"disabled": false,
|
12589
|
-
"document": "排序字段。支持 `InPkg` `OutPkg` `InTraffic` `OutTraffic`。默认值`OutTraffic`。",
|
12589
|
+
"document": "排序字段。支持 `InPkg` `OutPkg` `InTraffic` `OutTraffic`,标准型nat额外支持 并发连接数`ConcurrentConnectionCount` 、新建连接速率`NewConnectionRate`。默认值`OutTraffic`。",
|
12590
12590
|
"example": "InPkg",
|
12591
12591
|
"member": "string",
|
12592
12592
|
"name": "OrderField",
|
@@ -15462,7 +15462,7 @@
|
|
15462
15462
|
},
|
15463
15463
|
{
|
15464
15464
|
"disabled": false,
|
15465
|
-
"document": "<li>不支持同时传入参数 Filters 。</li> <li>列出授权给当前账号的终端节点服务信息。可以配合EndPointServiceIds
|
15465
|
+
"document": "<li>不支持同时传入参数 Filters 。</li> <li>列出授权给当前账号的终端节点服务信息。可以配合EndPointServiceIds参数进行过滤,哪些终端节点服务授权了该账户。</li>",
|
15466
15466
|
"example": "无",
|
15467
15467
|
"member": "bool",
|
15468
15468
|
"name": "IsListAuthorizedEndPointService",
|
@@ -18518,50 +18518,70 @@
|
|
18518
18518
|
{
|
18519
18519
|
"disabled": false,
|
18520
18520
|
"document": "来源`IP`。",
|
18521
|
-
"example": "",
|
18521
|
+
"example": "无",
|
18522
18522
|
"member": "string",
|
18523
18523
|
"name": "PrivateIpAddress",
|
18524
|
-
"
|
18524
|
+
"output_required": true,
|
18525
18525
|
"type": "string",
|
18526
18526
|
"value_allowed_null": false
|
18527
18527
|
},
|
18528
18528
|
{
|
18529
18529
|
"disabled": false,
|
18530
18530
|
"document": "入包量。",
|
18531
|
-
"example": "",
|
18531
|
+
"example": "无",
|
18532
18532
|
"member": "uint64",
|
18533
18533
|
"name": "InPkg",
|
18534
|
-
"
|
18534
|
+
"output_required": true,
|
18535
18535
|
"type": "int",
|
18536
18536
|
"value_allowed_null": false
|
18537
18537
|
},
|
18538
18538
|
{
|
18539
18539
|
"disabled": false,
|
18540
18540
|
"document": "出包量。",
|
18541
|
-
"example": "",
|
18541
|
+
"example": "无",
|
18542
18542
|
"member": "uint64",
|
18543
18543
|
"name": "OutPkg",
|
18544
|
-
"
|
18544
|
+
"output_required": true,
|
18545
18545
|
"type": "int",
|
18546
18546
|
"value_allowed_null": false
|
18547
18547
|
},
|
18548
18548
|
{
|
18549
18549
|
"disabled": false,
|
18550
18550
|
"document": "入流量,单位:`Byte`。",
|
18551
|
-
"example": "",
|
18551
|
+
"example": "无",
|
18552
18552
|
"member": "uint64",
|
18553
18553
|
"name": "InTraffic",
|
18554
|
-
"
|
18554
|
+
"output_required": true,
|
18555
18555
|
"type": "int",
|
18556
18556
|
"value_allowed_null": false
|
18557
18557
|
},
|
18558
18558
|
{
|
18559
18559
|
"disabled": false,
|
18560
18560
|
"document": "出流量,单位:`Byte`。",
|
18561
|
-
"example": "",
|
18561
|
+
"example": "无",
|
18562
18562
|
"member": "uint64",
|
18563
18563
|
"name": "OutTraffic",
|
18564
|
-
"
|
18564
|
+
"output_required": true,
|
18565
|
+
"type": "int",
|
18566
|
+
"value_allowed_null": false
|
18567
|
+
},
|
18568
|
+
{
|
18569
|
+
"disabled": false,
|
18570
|
+
"document": "并发连接数。仅标准型nat支持此参数。",
|
18571
|
+
"example": "无",
|
18572
|
+
"member": "uint64",
|
18573
|
+
"name": "ConcurrentConnectionCount",
|
18574
|
+
"output_required": true,
|
18575
|
+
"type": "int",
|
18576
|
+
"value_allowed_null": false
|
18577
|
+
},
|
18578
|
+
{
|
18579
|
+
"disabled": false,
|
18580
|
+
"document": "新建连接速率。仅标准型nat支持此参数。",
|
18581
|
+
"example": "无",
|
18582
|
+
"member": "uint64",
|
18583
|
+
"name": "NewConnectionRate",
|
18584
|
+
"output_required": true,
|
18565
18585
|
"type": "int",
|
18566
18586
|
"value_allowed_null": false
|
18567
18587
|
}
|
@@ -1298,10 +1298,16 @@
|
|
1298
1298
|
],
|
1299
1299
|
"DescribeGatewayFlowMonitorDetail": [
|
1300
1300
|
{
|
1301
|
-
"document": "
|
1301
|
+
"document": "查询一个传统型NAT网关流量监控明细",
|
1302
1302
|
"input": "https://vpc.tencentcloudapi.com/?Action=DescribeGatewayFlowMonitorDetail\n&TimePoint=2019-02-28 18:15:20\n&NatId=nat-lz6rjk7n\n&OrderField=OutTraffic\n&OrderDirection=DESC\n&<公共请求参数>",
|
1303
|
-
"output": "{\n \"Response\": {\n \"GatewayFlowMonitorDetailSet\": [\n {\n \"PrivateIpAddress\": \"172.20.65.74\",\n \"InPkg\": 182,\n \"OutPkg\": 263,\n \"InTraffic\": 17316,\n \"OutTraffic\": 35269\n },\n {\n \"PrivateIpAddress\": \"172.20.65.63\",\n \"InPkg\": 0,\n \"OutPkg\": 20,\n \"InTraffic\": 0,\n \"OutTraffic\": 1960\n },\n {\n \"PrivateIpAddress\": \"172.20.65.70\",\n \"InPkg\": 0,\n \"OutPkg\": 20,\n \"InTraffic\": 0,\n \"OutTraffic\": 1960\n },\n {\n \"PrivateIpAddress\": \"172.20.65.172\",\n \"InPkg\": 0,\n \"OutPkg\": 20,\n \"InTraffic\": 0,\n \"OutTraffic\": 1960\n },\n {\n \"PrivateIpAddress\": \"172.20.65.249\",\n \"InPkg\": 0,\n \"OutPkg\": 20,\n \"InTraffic\": 0,\n \"OutTraffic\": 1960\n }\n ],\n \"TotalCount\": 261,\n \"RequestId\": \"0fc9884d-7aa1-4d95-95d3-7945108d2b10\"\n }\n}",
|
1304
|
-
"title": "
|
1303
|
+
"output": "{\n \"Response\": {\n \"GatewayFlowMonitorDetailSet\": [\n {\n \"PrivateIpAddress\": \"172.20.65.74\",\n \"InPkg\": 182,\n \"OutPkg\": 263,\n \"InTraffic\": 17316,\n \"OutTraffic\": 35269,\n \"NewConnectionRate\": 0,\n \"ConcurrentConnectionCount\": 0\n },\n {\n \"PrivateIpAddress\": \"172.20.65.63\",\n \"InPkg\": 0,\n \"OutPkg\": 20,\n \"InTraffic\": 0,\n \"OutTraffic\": 1960,\n \"NewConnectionRate\": 0,\n \"ConcurrentConnectionCount\": 0\n },\n {\n \"PrivateIpAddress\": \"172.20.65.70\",\n \"InPkg\": 0,\n \"OutPkg\": 20,\n \"InTraffic\": 0,\n \"OutTraffic\": 1960,\n \"NewConnectionRate\": 0,\n \"ConcurrentConnectionCount\": 0\n },\n {\n \"PrivateIpAddress\": \"172.20.65.172\",\n \"InPkg\": 0,\n \"OutPkg\": 20,\n \"InTraffic\": 0,\n \"OutTraffic\": 1960,\n \"NewConnectionRate\": 0,\n \"ConcurrentConnectionCount\": 0\n },\n {\n \"PrivateIpAddress\": \"172.20.65.249\",\n \"InPkg\": 0,\n \"OutPkg\": 20,\n \"InTraffic\": 0,\n \"OutTraffic\": 1960,\n \"NewConnectionRate\": 0,\n \"ConcurrentConnectionCount\": 0\n }\n ],\n \"TotalCount\": 261,\n \"RequestId\": \"0fc9884d-7aa1-4d95-95d3-7945108d2b10\"\n }\n}",
|
1304
|
+
"title": "查询一个传统型NAT网关流量监控明细"
|
1305
|
+
},
|
1306
|
+
{
|
1307
|
+
"document": "查询一个标准型NAT网关流量监控明细",
|
1308
|
+
"input": "https://vpc.tencentcloudapi.com/?Action=DescribeGatewayFlowMonitorDetail\n&TimePoint=2024-06-24 14:03:00\n&NatId=nat-g0pwqefo\n&OrderField=InTraffic\n&OrderDirection=DESC\n&<公共请求参数>",
|
1309
|
+
"output": "{\n \"Response\": {\n \"GatewayFlowMonitorDetailSet\": [\n {\n \"PrivateIpAddress\": \"2.2.2.2\",\n \"InPkg\": 5455,\n \"OutPkg\": 4444,\n \"InTraffic\": 1048576,\n \"OutTraffic\": 1234567,\n \"NewConnectionRate\": 8888,\n \"ConcurrentConnectionCount\": 9999\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"396e6170-f2ce-4233-9405-9a2e5ce8b0b5\"\n }\n}",
|
1310
|
+
"title": "查询一个标准型NAT网关流量监控明细"
|
1305
1311
|
}
|
1306
1312
|
],
|
1307
1313
|
"DescribeGatewayFlowQos": [
|
@@ -14,6 +14,13 @@
|
|
14
14
|
"output": "AddAntiInfoLeakRulesResponse",
|
15
15
|
"status": "online"
|
16
16
|
},
|
17
|
+
"AddAreaBanAreas": {
|
18
|
+
"document": "添加地域封禁中的地域信息",
|
19
|
+
"input": "AddAreaBanAreasRequest",
|
20
|
+
"name": "添加封禁地域",
|
21
|
+
"output": "AddAreaBanAreasResponse",
|
22
|
+
"status": "online"
|
23
|
+
},
|
17
24
|
"AddAttackWhiteRule": {
|
18
25
|
"document": "供用户控制台调用,增加Tiga规则引擎白名单。",
|
19
26
|
"input": "AddAttackWhiteRuleRequest",
|
@@ -1529,6 +1536,69 @@
|
|
1529
1536
|
],
|
1530
1537
|
"type": "object"
|
1531
1538
|
},
|
1539
|
+
"AddAreaBanAreasRequest": {
|
1540
|
+
"document": "AddAreaBanAreas请求参数结构体",
|
1541
|
+
"members": [
|
1542
|
+
{
|
1543
|
+
"disabled": false,
|
1544
|
+
"document": "需要修改的域名",
|
1545
|
+
"example": "无",
|
1546
|
+
"member": "string",
|
1547
|
+
"name": "Domain",
|
1548
|
+
"required": true,
|
1549
|
+
"type": "string"
|
1550
|
+
},
|
1551
|
+
{
|
1552
|
+
"disabled": false,
|
1553
|
+
"document": "需要新增的封禁地域",
|
1554
|
+
"example": "无",
|
1555
|
+
"member": "string",
|
1556
|
+
"name": "Areas",
|
1557
|
+
"required": true,
|
1558
|
+
"type": "list"
|
1559
|
+
},
|
1560
|
+
{
|
1561
|
+
"disabled": false,
|
1562
|
+
"document": "waf版本信息,spart-waf或者clb-waf,其他无效,请一定填写",
|
1563
|
+
"example": "无",
|
1564
|
+
"member": "string",
|
1565
|
+
"name": "Edition",
|
1566
|
+
"required": false,
|
1567
|
+
"type": "string"
|
1568
|
+
},
|
1569
|
+
{
|
1570
|
+
"disabled": false,
|
1571
|
+
"document": "定时任务类型",
|
1572
|
+
"example": "无",
|
1573
|
+
"member": "string",
|
1574
|
+
"name": "JobType",
|
1575
|
+
"required": false,
|
1576
|
+
"type": "string"
|
1577
|
+
},
|
1578
|
+
{
|
1579
|
+
"disabled": false,
|
1580
|
+
"document": "定时任务配置",
|
1581
|
+
"example": "无",
|
1582
|
+
"member": "JobDateTime",
|
1583
|
+
"name": "JobDateTime",
|
1584
|
+
"required": false,
|
1585
|
+
"type": "object"
|
1586
|
+
}
|
1587
|
+
],
|
1588
|
+
"type": "object"
|
1589
|
+
},
|
1590
|
+
"AddAreaBanAreasResponse": {
|
1591
|
+
"document": "AddAreaBanAreas返回参数结构体",
|
1592
|
+
"members": [
|
1593
|
+
{
|
1594
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1595
|
+
"member": "string",
|
1596
|
+
"name": "RequestId",
|
1597
|
+
"type": "string"
|
1598
|
+
}
|
1599
|
+
],
|
1600
|
+
"type": "object"
|
1601
|
+
},
|
1532
1602
|
"AddAttackWhiteRuleRequest": {
|
1533
1603
|
"document": "AddAttackWhiteRule请求参数结构体",
|
1534
1604
|
"members": [
|
@@ -22,6 +22,14 @@
|
|
22
22
|
"title": "添加信息防泄漏规则"
|
23
23
|
}
|
24
24
|
],
|
25
|
+
"AddAreaBanAreas": [
|
26
|
+
{
|
27
|
+
"document": "",
|
28
|
+
"input": "https://waf.tencentcloudapi.com/?Action=AddAreaBanAreas\r\n&Domain=test.qcloud.com\r\n&Edition=clb-waf\r\n&Areas.0=新疆\r\n&Areas.1=江西\r\n&<公共请求参数>",
|
29
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
30
|
+
"title": "添加封禁地域"
|
31
|
+
}
|
32
|
+
],
|
25
33
|
"AddAttackWhiteRule": [
|
26
34
|
{
|
27
35
|
"document": "",
|
tccli/services/waf/waf_client.py
CHANGED
@@ -4749,6 +4749,58 @@ def doAddAttackWhiteRule(args, parsed_globals):
|
|
4749
4749
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4750
4750
|
|
4751
4751
|
|
4752
|
+
def doAddAreaBanAreas(args, parsed_globals):
|
4753
|
+
g_param = parse_global_arg(parsed_globals)
|
4754
|
+
|
4755
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
4756
|
+
cred = credential.CVMRoleCredential()
|
4757
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
4758
|
+
cred = credential.STSAssumeRoleCredential(
|
4759
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
4760
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
4761
|
+
)
|
4762
|
+
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):
|
4763
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
4764
|
+
else:
|
4765
|
+
cred = credential.Credential(
|
4766
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
4767
|
+
)
|
4768
|
+
http_profile = HttpProfile(
|
4769
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
4770
|
+
reqMethod="POST",
|
4771
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
4772
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
4773
|
+
)
|
4774
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
4775
|
+
if g_param[OptionsDefine.Language]:
|
4776
|
+
profile.language = g_param[OptionsDefine.Language]
|
4777
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
4778
|
+
client = mod.WafClient(cred, g_param[OptionsDefine.Region], profile)
|
4779
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
4780
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4781
|
+
model = models.AddAreaBanAreasRequest()
|
4782
|
+
model.from_json_string(json.dumps(args))
|
4783
|
+
start_time = time.time()
|
4784
|
+
while True:
|
4785
|
+
rsp = client.AddAreaBanAreas(model)
|
4786
|
+
result = rsp.to_json_string()
|
4787
|
+
try:
|
4788
|
+
json_obj = json.loads(result)
|
4789
|
+
except TypeError as e:
|
4790
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
4791
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
4792
|
+
break
|
4793
|
+
cur_time = time.time()
|
4794
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
4795
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
4796
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
4797
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
4798
|
+
else:
|
4799
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
4800
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
4801
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4802
|
+
|
4803
|
+
|
4752
4804
|
def doDescribeDomainCountInfo(args, parsed_globals):
|
4753
4805
|
g_param = parse_global_arg(parsed_globals)
|
4754
4806
|
|
@@ -7451,6 +7503,7 @@ ACTION_MAP = {
|
|
7451
7503
|
"DeleteAttackWhiteRule": doDeleteAttackWhiteRule,
|
7452
7504
|
"DescribeIpAccessControl": doDescribeIpAccessControl,
|
7453
7505
|
"AddAttackWhiteRule": doAddAttackWhiteRule,
|
7506
|
+
"AddAreaBanAreas": doAddAreaBanAreas,
|
7454
7507
|
"DescribeDomainCountInfo": doDescribeDomainCountInfo,
|
7455
7508
|
"DeleteSpartaProtection": doDeleteSpartaProtection,
|
7456
7509
|
"SwitchDomainRules": doSwitchDomainRules,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tccli
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.1136.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.
|
16
|
+
Requires-Dist: tencentcloud-sdk-python>=3.0.1136
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
|
19
19
|
# 命令行工具简介
|