tccli 3.0.1366.1__py2.py3-none-any.whl → 3.0.1367.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/apm/v20210622/api.json +16 -4
- tccli/services/cdb/v20170320/api.json +1 -1
- tccli/services/cdn/v20180606/api.json +11 -3
- tccli/services/cfw/cfw_client.py +34 -193
- tccli/services/cfw/v20190904/api.json +21 -341
- tccli/services/cfw/v20190904/examples.json +2 -26
- tccli/services/ctem/v20231128/api.json +5 -5
- tccli/services/cwp/v20180228/api.json +12 -12
- tccli/services/cwp/v20180228/examples.json +4 -4
- tccli/services/dlc/v20210125/api.json +77 -9
- tccli/services/dlc/v20210125/examples.json +1 -1
- tccli/services/es/v20250101/api.json +6 -6
- tccli/services/es/v20250101/examples.json +8 -8
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +2 -2
- tccli/services/iotexplorer/v20190423/api.json +72 -2
- tccli/services/ocr/v20181119/api.json +123 -123
- tccli/services/sqlserver/v20180328/api.json +14 -14
- tccli/services/sqlserver/v20180328/examples.json +3 -3
- tccli/services/teo/v20220901/api.json +11 -11
- tccli/services/tsf/tsf_client.py +159 -0
- tccli/services/tsf/v20180326/api.json +583 -0
- tccli/services/tsf/v20180326/examples.json +24 -0
- tccli/services/wedata/v20210820/api.json +161 -9
- tccli/services/wedata/v20210820/examples.json +3 -9
- {tccli-3.0.1366.1.dist-info → tccli-3.0.1367.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1366.1.dist-info → tccli-3.0.1367.1.dist-info}/RECORD +31 -31
- {tccli-3.0.1366.1.dist-info → tccli-3.0.1367.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1366.1.dist-info → tccli-3.0.1367.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1366.1.dist-info → tccli-3.0.1367.1.dist-info}/license_files/LICENSE +0 -0
@@ -505,7 +505,7 @@
|
|
505
505
|
"status": "online"
|
506
506
|
},
|
507
507
|
"DescribeProductConfig": {
|
508
|
-
"document": "
|
508
|
+
"document": "本接口(DescribeProductConfig)用于查询售卖规格配置。",
|
509
509
|
"input": "DescribeProductConfigRequest",
|
510
510
|
"name": "查询售卖规格配置",
|
511
511
|
"output": "DescribeProductConfigResponse",
|
@@ -638,7 +638,7 @@
|
|
638
638
|
"status": "online"
|
639
639
|
},
|
640
640
|
"DescribeZones": {
|
641
|
-
"document": "
|
641
|
+
"document": "本接口(DescribeZones)用于查询当前可售卖的可用区信息。",
|
642
642
|
"input": "DescribeZonesRequest",
|
643
643
|
"name": "查询售卖可用区",
|
644
644
|
"output": "DescribeZonesResponse",
|
@@ -9867,8 +9867,8 @@
|
|
9867
9867
|
"members": [
|
9868
9868
|
{
|
9869
9869
|
"disabled": false,
|
9870
|
-
"document": "可用区英文ID
|
9871
|
-
"example": "ap-guangzhou-
|
9870
|
+
"document": "可用区英文 ID",
|
9871
|
+
"example": "ap-guangzhou-3",
|
9872
9872
|
"member": "string",
|
9873
9873
|
"name": "Zone",
|
9874
9874
|
"required": true,
|
@@ -11706,7 +11706,7 @@
|
|
11706
11706
|
"example": "34",
|
11707
11707
|
"member": "int64",
|
11708
11708
|
"name": "TotalCount",
|
11709
|
-
"
|
11709
|
+
"output_required": true,
|
11710
11710
|
"type": "int",
|
11711
11711
|
"value_allowed_null": false
|
11712
11712
|
},
|
@@ -11716,7 +11716,7 @@
|
|
11716
11716
|
"example": "无",
|
11717
11717
|
"member": "ZoneInfo",
|
11718
11718
|
"name": "ZoneSet",
|
11719
|
-
"
|
11719
|
+
"output_required": true,
|
11720
11720
|
"type": "list",
|
11721
11721
|
"value_allowed_null": false
|
11722
11722
|
},
|
@@ -15695,7 +15695,7 @@
|
|
15695
15695
|
{
|
15696
15696
|
"disabled": false,
|
15697
15697
|
"document": "只读组名称",
|
15698
|
-
"example": "
|
15698
|
+
"example": "andy_ReadOnlyGroup",
|
15699
15699
|
"member": "string",
|
15700
15700
|
"name": "ReadOnlyGroupName",
|
15701
15701
|
"output_required": true,
|
@@ -15715,7 +15715,7 @@
|
|
15715
15715
|
{
|
15716
15716
|
"disabled": false,
|
15717
15717
|
"document": "只读组的可用区ID,与主实例相同",
|
15718
|
-
"example": "ap-guangzhou-
|
15718
|
+
"example": "ap-guangzhou-3",
|
15719
15719
|
"member": "string",
|
15720
15720
|
"name": "ZoneId",
|
15721
15721
|
"output_required": true,
|
@@ -18368,21 +18368,21 @@
|
|
18368
18368
|
"members": [
|
18369
18369
|
{
|
18370
18370
|
"disabled": false,
|
18371
|
-
"document": "
|
18372
|
-
"example": "ap-guangzhou-
|
18371
|
+
"document": "规格可用区",
|
18372
|
+
"example": "ap-guangzhou-3",
|
18373
18373
|
"member": "string",
|
18374
18374
|
"name": "Zone",
|
18375
|
-
"
|
18375
|
+
"output_required": true,
|
18376
18376
|
"type": "string",
|
18377
18377
|
"value_allowed_null": false
|
18378
18378
|
},
|
18379
18379
|
{
|
18380
18380
|
"disabled": false,
|
18381
|
-
"document": "
|
18381
|
+
"document": "规格地域",
|
18382
18382
|
"example": "ap-guangzhou",
|
18383
18383
|
"member": "string",
|
18384
18384
|
"name": "Region",
|
18385
|
-
"
|
18385
|
+
"output_required": true,
|
18386
18386
|
"type": "string",
|
18387
18387
|
"value_allowed_null": false
|
18388
18388
|
},
|
@@ -18392,7 +18392,7 @@
|
|
18392
18392
|
"example": "1",
|
18393
18393
|
"member": "uint64",
|
18394
18394
|
"name": "Status",
|
18395
|
-
"
|
18395
|
+
"output_required": true,
|
18396
18396
|
"type": "int",
|
18397
18397
|
"value_allowed_null": false
|
18398
18398
|
}
|
@@ -603,9 +603,9 @@
|
|
603
603
|
"DescribeProductConfig": [
|
604
604
|
{
|
605
605
|
"document": "",
|
606
|
-
"input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeProductConfig\n&Zone=ap-guangzhou-
|
606
|
+
"input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeProductConfig\n&Zone=ap-guangzhou-3\n&InstanceType=HA\n&<公共请求参数>",
|
607
607
|
"output": "{\n \"Response\": {\n \"RequestId\": \"2a91dd2e-f237-4c78-b06c-348a12b04a46\",\n \"SpecInfoList\": [\n {\n \"CPU\": 16,\n \"InstanceType\": \"HA\",\n \"MachineType\": \"TS85\",\n \"MachineTypeName\": \"高IO\",\n \"MaxStorage\": 3000,\n \"Memory\": 128,\n \"MinStorage\": 10,\n \"MultiZonesStatus\": \"ALL\",\n \"PayModeStatus\": \"ALL\",\n \"Pid\": 10908,\n \"PostPid\": [\n 10908\n ],\n \"QPS\": 61000,\n \"SpecId\": 22,\n \"SuitInfo\": \"独立用户数上千万人的大型应用\",\n \"Version\": \"2008R2\",\n \"VersionName\": \"SQL Server 2008 Enterprise\"\n },\n {\n \"CPU\": 1,\n \"InstanceType\": \"HA\",\n \"MachineType\": \"TS85\",\n \"MachineTypeName\": \"高IO\",\n \"MaxStorage\": 3000,\n \"Memory\": 8,\n \"MinStorage\": 10,\n \"MultiZonesStatus\": \"ALL\",\n \"PayModeStatus\": \"ALL\",\n \"Pid\": 10908,\n \"PostPid\": [\n 10908\n ],\n \"QPS\": 6500,\n \"SpecId\": 17,\n \"SuitInfo\": \"独立用户数上千人的小型应用\",\n \"Version\": \"2012SP3\",\n \"VersionName\": \"SQL Server 2012 Enterprise\"\n },\n {\n \"CPU\": 24,\n \"InstanceType\": \"HA\",\n \"MachineType\": \"TS85\",\n \"MachineTypeName\": \"高IO\",\n \"MaxStorage\": 3000,\n \"Memory\": 192,\n \"MinStorage\": 10,\n \"MultiZonesStatus\": \"ALL\",\n \"PayModeStatus\": \"ALL\",\n \"Pid\": 10908,\n \"PostPid\": [\n 10908\n ],\n \"QPS\": 234000,\n \"SpecId\": 34,\n \"SuitInfo\": \"独立用户数上亿人的大型应用\",\n \"Version\": \"2012SP3\",\n \"VersionName\": \"SQL Server 2012 Enterprise\"\n },\n {\n \"CPU\": 16,\n \"InstanceType\": \"HA\",\n \"MachineType\": \"TS85\",\n \"MachineTypeName\": \"高IO\",\n \"MaxStorage\": 3000,\n \"Memory\": 128,\n \"MinStorage\": 10,\n \"MultiZonesStatus\": \"ALL\",\n \"PayModeStatus\": \"ALL\",\n \"Pid\": 10908,\n \"PostPid\": [\n 10908\n ],\n \"QPS\": 61000,\n \"SpecId\": 22,\n \"SuitInfo\": \"独立用户数上千万人的大型应用\",\n \"Version\": \"2016SP1\",\n \"VersionName\": \"SQL Server 2016 Enterprise\"\n }\n ],\n \"TotalCount\": 4\n }\n}",
|
608
|
-
"title": "
|
608
|
+
"title": "查询广州三区的高可用版本售卖规格"
|
609
609
|
}
|
610
610
|
],
|
611
611
|
"DescribeProductSpec": [
|
@@ -756,7 +756,7 @@
|
|
756
756
|
{
|
757
757
|
"document": "",
|
758
758
|
"input": "https://sqlserver.tencentcloudapi.com/?Action=DescribeZones\n&<公共请求参数>",
|
759
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"c877d7ce-bde9-48dc-bf8c-9efb01570caa\",\n \"TotalCount\":
|
759
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c877d7ce-bde9-48dc-bf8c-9efb01570caa\",\n \"TotalCount\": 19,\n \"ZoneSet\": [\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneId\": 100003,\n \"SpecId\": 1,\n \"Version\": \"2008R2\"\n },\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneId\": 100003,\n \"SpecId\": 5,\n \"Version\": \"2008R2\"\n },\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneId\": 100003,\n \"SpecId\": 17,\n \"Version\": \"2012SP3\"\n },\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneId\": 100003,\n \"SpecId\": 16,\n \"Version\": \"2012SP3\"\n },\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneId\": 100003,\n \"SpecId\": 14,\n \"Version\": \"2008R2\"\n },\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneId\": 100003,\n \"SpecId\": 6,\n \"Version\": \"2008R2\"\n },\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneId\": 100003,\n \"SpecId\": 3,\n \"Version\": \"2008R2\"\n },\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneId\": 100003,\n \"SpecId\": 26,\n \"Version\": \"2012SP3\"\n },\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneId\": 100003,\n \"SpecId\": 20,\n \"Version\": \"2012SP3\"\n },\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneId\": 100003,\n \"SpecId\": 13,\n \"Version\": \"2008R2\"\n },\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneId\": 100003,\n \"SpecId\": 23,\n \"Version\": \"2012SP3\"\n },\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneId\": 100003,\n \"SpecId\": 4,\n \"Version\": \"2008R2\"\n },\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneId\": 100003,\n \"SpecId\": 21,\n \"Version\": \"2012SP3\"\n },\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneId\": 100003,\n \"SpecId\": 25,\n \"Version\": \"2012SP3\"\n },\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneId\": 100003,\n \"SpecId\": 24,\n \"Version\": \"2012SP3\"\n },\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneId\": 100003,\n \"SpecId\": 19,\n \"Version\": \"2012SP3\"\n },\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneId\": 100003,\n \"SpecId\": 2,\n \"Version\": \"2008R2\"\n },\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneId\": 100003,\n \"SpecId\": 22,\n \"Version\": \"2012SP3\"\n },\n {\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneId\": 100003,\n \"SpecId\": 18,\n \"Version\": \"2012SP3\"\n }\n ]\n }\n}",
|
760
760
|
"title": "查询所有可用区"
|
761
761
|
}
|
762
762
|
],
|
@@ -862,7 +862,7 @@
|
|
862
862
|
"status": "online"
|
863
863
|
},
|
864
864
|
"DescribeTimingL7AnalysisData": {
|
865
|
-
"document": "
|
865
|
+
"document": "本接口用于查询七层域名业务的时序数据。\n注意:\n1. 本接口查询数据有 10 分钟左右延迟,建议拉取当前时间 10 分钟以前的数据。\n2. 本接口默认返回防护后的流量请求数据,用户可在 `Filters.mitigatedByWebSecurity` 中自定义查询已防护缓释的数据。",
|
866
866
|
"input": "DescribeTimingL7AnalysisDataRequest",
|
867
867
|
"name": "查询流量分析时序数据",
|
868
868
|
"output": "DescribeTimingL7AnalysisDataResponse",
|
@@ -876,7 +876,7 @@
|
|
876
876
|
"status": "online"
|
877
877
|
},
|
878
878
|
"DescribeTopL7AnalysisData": {
|
879
|
-
"document": "本接口用于查询七层域名业务按照指定维度的 topN
|
879
|
+
"document": "本接口用于查询七层域名业务按照指定维度的 topN 数据。\n注意:\n1. 本接口查询数据有 10 分钟左右延迟,建议拉取当前时间 10 分钟以前的数据。\n2. 本接口默认返回防护后的流量请求数据,用户可在 `Filters.mitigatedByWebSecurity` 中自定义查询已防护缓释的数据。",
|
880
880
|
"input": "DescribeTopL7AnalysisDataRequest",
|
881
881
|
"name": "查询流量分析Top数据",
|
882
882
|
"output": "DescribeTopL7AnalysisDataResponse",
|
@@ -13527,7 +13527,7 @@
|
|
13527
13527
|
{
|
13528
13528
|
"disabled": false,
|
13529
13529
|
"document": "指标列表,取值有:\n<li>l7Flow_outFlux: L7 EdgeOne 响应流量,单位:Byte;</li>\n<li>l7Flow_inFlux: L7 客户端请求流量,单位:Byte;</li>\n<li>l7Flow_flux: L7 访问总流量(EdgeOne 响应+客户端请求),单位:Byte;</li>\n<li>l7Flow_outBandwidth: L7 EdgeOne 响应带宽,单位:bps;</li>\n<li>l7Flow_inBandwidth:L7 客户端请求带宽,单位:bps;</li>\n<li>l7Flow_bandwidth:L7 访问总带宽(EdgeOne 响应+客户端请求),单位:bps;</li>\n<li>l7Flow_request: L7 访问请求数,单位:次;</li>\n<li> l7Flow_avgResponseTime: L7 访问平均响应耗时,单位:ms;</li>\n<li> l7Flow_avgFirstByteResponseTime: L7 访问平均首字节响应耗时,单位:ms。</li>",
|
13530
|
-
"example": "l7Flow_outFlux",
|
13530
|
+
"example": "[\"l7Flow_outFlux\"]",
|
13531
13531
|
"member": "string",
|
13532
13532
|
"name": "MetricNames",
|
13533
13533
|
"required": true,
|
@@ -13536,7 +13536,7 @@
|
|
13536
13536
|
{
|
13537
13537
|
"disabled": false,
|
13538
13538
|
"document": "站点 ID 集合,此参数必填。最多传入 100 个站点 ID。若需查询腾讯云主账号下所有站点数据,请用 `*` 代替,查询账号级别数据需具备本接口全部站点资源权限。",
|
13539
|
-
"example": "
|
13539
|
+
"example": "[\"*\"]",
|
13540
13540
|
"member": "string",
|
13541
13541
|
"name": "ZoneIds",
|
13542
13542
|
"required": false,
|
@@ -13553,7 +13553,7 @@
|
|
13553
13553
|
},
|
13554
13554
|
{
|
13555
13555
|
"disabled": false,
|
13556
|
-
"document": "
|
13556
|
+
"document": "筛选数据时使用的过滤条件,取值参考 [指标分析筛选条件说明](https://cloud.tencent.com/document/product/1552/98219#1aaf1150-55a4-4b4d-b103-3a8317ac7945) 中针对 L7 访问流量、带宽、请求数的可用筛选项。\n如需限定站点或内容标识符,请在 `ZoneIds.N` 参数中另行传入对应的值。",
|
13557
13557
|
"example": "无",
|
13558
13558
|
"member": "QueryCondition",
|
13559
13559
|
"name": "Filters",
|
@@ -13562,7 +13562,7 @@
|
|
13562
13562
|
},
|
13563
13563
|
{
|
13564
13564
|
"disabled": false,
|
13565
|
-
"document": "数据归属地区。该参数已废弃。请在 Filters.country 中按客户端地域过滤数据。",
|
13565
|
+
"document": "数据归属地区。该参数已废弃。请在 `Filters.country` 中按客户端地域过滤数据。",
|
13566
13566
|
"example": "mainland",
|
13567
13567
|
"member": "string",
|
13568
13568
|
"name": "Area",
|
@@ -13728,7 +13728,7 @@
|
|
13728
13728
|
},
|
13729
13729
|
{
|
13730
13730
|
"disabled": false,
|
13731
|
-
"document": "查询的指标,取值有:\n<li> l7Flow_outFlux_country:按国家/地区维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_province:按中国大陆境内省份维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_statusCode:按状态码维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_domain:按域名维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_url:按 URL Path 维度统计 L7 EdgeOne 响应流量指标; </li>\n<li> l7Flow_outFlux_resourceType:按资源类型维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_sip:按客户端 IP 维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_referers:按 Referer 维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_ua_device:按设备类型维度统计 L7 EdgeOne 响应流量指标; </li>\n<li> l7Flow_outFlux_ua_browser:按浏览器类型维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_ua_os:按操作系统类型维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_ua:按 User-Agent 维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_request_country:按国家/地区维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_province:按中国大陆境内省份维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_statusCode:按状态码维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_domain:按域名维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_url:按 URL Path 维度统计 L7 访问请求数指标; </li>\n<li> l7Flow_request_resourceType:按资源类型维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_sip:按客户端 IP 维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_referer:按 Referer 维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_ua_device:按设备类型维度统计 L7 访问请求数指标; </li>\n<li> l7Flow_request_ua_browser:按浏览器类型维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_ua_os:按操作系统类型维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_ua:按 User-Agent 维度统计 L7 访问请求数指标。</li
|
13731
|
+
"document": "查询的指标,取值有:\n<li> l7Flow_outFlux_country:按国家/地区维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_province:按中国大陆境内省份维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_statusCode:按状态码维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_domain:按域名维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_url:按 URL Path 维度统计 L7 EdgeOne 响应流量指标; </li>\n<li> l7Flow_outFlux_resourceType:按资源类型维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_sip:按客户端 IP 维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_referers:按 Referer 维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_ua_device:按设备类型维度统计 L7 EdgeOne 响应流量指标; </li>\n<li> l7Flow_outFlux_ua_browser:按浏览器类型维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_ua_os:按操作系统类型维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_ua:按 User-Agent 维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_request_country:按国家/地区维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_province:按中国大陆境内省份维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_statusCode:按状态码维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_domain:按域名维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_url:按 URL Path 维度统计 L7 访问请求数指标; </li>\n<li> l7Flow_request_resourceType:按资源类型维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_sip:按客户端 IP 维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_referer:按 Referer 维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_ua_device:按设备类型维度统计 L7 访问请求数指标; </li>\n<li> l7Flow_request_ua_browser:按浏览器类型维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_ua_os:按操作系统类型维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_ua:按 User-Agent 维度统计 L7 访问请求数指标。</li>",
|
13732
13732
|
"example": "l7Flow_outFlux_country",
|
13733
13733
|
"member": "string",
|
13734
13734
|
"name": "MetricName",
|
@@ -13738,7 +13738,7 @@
|
|
13738
13738
|
{
|
13739
13739
|
"disabled": false,
|
13740
13740
|
"document": "站点 ID 集合,此参数必填。最多传入 100 个站点 ID。若需查询腾讯云主账号下所有站点数据,请用 `*` 代替,查询账号级别数据需具备本接口全部站点资源权限。",
|
13741
|
-
"example": "[\"
|
13741
|
+
"example": "[\"*\"]",
|
13742
13742
|
"member": "string",
|
13743
13743
|
"name": "ZoneIds",
|
13744
13744
|
"required": false,
|
@@ -13755,7 +13755,7 @@
|
|
13755
13755
|
},
|
13756
13756
|
{
|
13757
13757
|
"disabled": false,
|
13758
|
-
"document": "
|
13758
|
+
"document": "筛选数据时使用的过滤条件,取值参考 [指标分析筛选条件说明](https://cloud.tencent.com/document/product/1552/98219#1aaf1150-55a4-4b4d-b103-3a8317ac7945) 中针对 L7 访问流量、带宽、请求数的可用筛选项。\n如需限定站点或内容标识符,请在 `ZoneIds.N` 参数中另行传入对应的值。",
|
13759
13759
|
"example": "无",
|
13760
13760
|
"member": "QueryCondition",
|
13761
13761
|
"name": "Filters",
|
@@ -13764,7 +13764,7 @@
|
|
13764
13764
|
},
|
13765
13765
|
{
|
13766
13766
|
"disabled": false,
|
13767
|
-
"document": "
|
13767
|
+
"document": "查询时间粒度,该参数无效,待废弃。",
|
13768
13768
|
"example": "min",
|
13769
13769
|
"member": "string",
|
13770
13770
|
"name": "Interval",
|
@@ -13773,7 +13773,7 @@
|
|
13773
13773
|
},
|
13774
13774
|
{
|
13775
13775
|
"disabled": false,
|
13776
|
-
"document": "数据归属地区。该参数已废弃。请在 Filters.country 中按客户端地域过滤数据。",
|
13776
|
+
"document": "数据归属地区。该参数已废弃。请在 `Filters.country` 中按客户端地域过滤数据。",
|
13777
13777
|
"example": "mainland",
|
13778
13778
|
"member": "string",
|
13779
13779
|
"name": "Area",
|
tccli/services/tsf/tsf_client.py
CHANGED
@@ -4437,6 +4437,58 @@ def doCreatePublicConfigWithDetailResp(args, parsed_globals):
|
|
4437
4437
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4438
4438
|
|
4439
4439
|
|
4440
|
+
def doDescribeLicenses(args, parsed_globals):
|
4441
|
+
g_param = parse_global_arg(parsed_globals)
|
4442
|
+
|
4443
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
4444
|
+
cred = credential.CVMRoleCredential()
|
4445
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
4446
|
+
cred = credential.STSAssumeRoleCredential(
|
4447
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
4448
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
4449
|
+
)
|
4450
|
+
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):
|
4451
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
4452
|
+
else:
|
4453
|
+
cred = credential.Credential(
|
4454
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
4455
|
+
)
|
4456
|
+
http_profile = HttpProfile(
|
4457
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
4458
|
+
reqMethod="POST",
|
4459
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
4460
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
4461
|
+
)
|
4462
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
4463
|
+
if g_param[OptionsDefine.Language]:
|
4464
|
+
profile.language = g_param[OptionsDefine.Language]
|
4465
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
4466
|
+
client = mod.TsfClient(cred, g_param[OptionsDefine.Region], profile)
|
4467
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
4468
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4469
|
+
model = models.DescribeLicensesRequest()
|
4470
|
+
model.from_json_string(json.dumps(args))
|
4471
|
+
start_time = time.time()
|
4472
|
+
while True:
|
4473
|
+
rsp = client.DescribeLicenses(model)
|
4474
|
+
result = rsp.to_json_string()
|
4475
|
+
try:
|
4476
|
+
json_obj = json.loads(result)
|
4477
|
+
except TypeError as e:
|
4478
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
4479
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
4480
|
+
break
|
4481
|
+
cur_time = time.time()
|
4482
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
4483
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
4484
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
4485
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
4486
|
+
else:
|
4487
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
4488
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
4489
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4490
|
+
|
4491
|
+
|
4440
4492
|
def doCreateUnitRuleWithDetailResp(args, parsed_globals):
|
4441
4493
|
g_param = parse_global_arg(parsed_globals)
|
4442
4494
|
|
@@ -9793,6 +9845,58 @@ def doDeployGroup(args, parsed_globals):
|
|
9793
9845
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
9794
9846
|
|
9795
9847
|
|
9848
|
+
def doDescribeLogCapacity(args, parsed_globals):
|
9849
|
+
g_param = parse_global_arg(parsed_globals)
|
9850
|
+
|
9851
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
9852
|
+
cred = credential.CVMRoleCredential()
|
9853
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
9854
|
+
cred = credential.STSAssumeRoleCredential(
|
9855
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
9856
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
9857
|
+
)
|
9858
|
+
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):
|
9859
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
9860
|
+
else:
|
9861
|
+
cred = credential.Credential(
|
9862
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
9863
|
+
)
|
9864
|
+
http_profile = HttpProfile(
|
9865
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
9866
|
+
reqMethod="POST",
|
9867
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
9868
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
9869
|
+
)
|
9870
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
9871
|
+
if g_param[OptionsDefine.Language]:
|
9872
|
+
profile.language = g_param[OptionsDefine.Language]
|
9873
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
9874
|
+
client = mod.TsfClient(cred, g_param[OptionsDefine.Region], profile)
|
9875
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
9876
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
9877
|
+
model = models.DescribeLogCapacityRequest()
|
9878
|
+
model.from_json_string(json.dumps(args))
|
9879
|
+
start_time = time.time()
|
9880
|
+
while True:
|
9881
|
+
rsp = client.DescribeLogCapacity(model)
|
9882
|
+
result = rsp.to_json_string()
|
9883
|
+
try:
|
9884
|
+
json_obj = json.loads(result)
|
9885
|
+
except TypeError as e:
|
9886
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
9887
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
9888
|
+
break
|
9889
|
+
cur_time = time.time()
|
9890
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
9891
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
9892
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
9893
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
9894
|
+
else:
|
9895
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
9896
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
9897
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
9898
|
+
|
9899
|
+
|
9796
9900
|
def doReleasePublicConfig(args, parsed_globals):
|
9797
9901
|
g_param = parse_global_arg(parsed_globals)
|
9798
9902
|
|
@@ -11665,6 +11769,58 @@ def doDisableLaneRule(args, parsed_globals):
|
|
11665
11769
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
11666
11770
|
|
11667
11771
|
|
11772
|
+
def doDescribeResourceConfig(args, parsed_globals):
|
11773
|
+
g_param = parse_global_arg(parsed_globals)
|
11774
|
+
|
11775
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
11776
|
+
cred = credential.CVMRoleCredential()
|
11777
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
11778
|
+
cred = credential.STSAssumeRoleCredential(
|
11779
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
11780
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
11781
|
+
)
|
11782
|
+
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):
|
11783
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
11784
|
+
else:
|
11785
|
+
cred = credential.Credential(
|
11786
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
11787
|
+
)
|
11788
|
+
http_profile = HttpProfile(
|
11789
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
11790
|
+
reqMethod="POST",
|
11791
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
11792
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
11793
|
+
)
|
11794
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
11795
|
+
if g_param[OptionsDefine.Language]:
|
11796
|
+
profile.language = g_param[OptionsDefine.Language]
|
11797
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
11798
|
+
client = mod.TsfClient(cred, g_param[OptionsDefine.Region], profile)
|
11799
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
11800
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
11801
|
+
model = models.DescribeResourceConfigRequest()
|
11802
|
+
model.from_json_string(json.dumps(args))
|
11803
|
+
start_time = time.time()
|
11804
|
+
while True:
|
11805
|
+
rsp = client.DescribeResourceConfig(model)
|
11806
|
+
result = rsp.to_json_string()
|
11807
|
+
try:
|
11808
|
+
json_obj = json.loads(result)
|
11809
|
+
except TypeError as e:
|
11810
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
11811
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
11812
|
+
break
|
11813
|
+
cur_time = time.time()
|
11814
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
11815
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
11816
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
11817
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
11818
|
+
else:
|
11819
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
11820
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
11821
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
11822
|
+
|
11823
|
+
|
11668
11824
|
CLIENT_MAP = {
|
11669
11825
|
"v20180326": tsf_client_v20180326,
|
11670
11826
|
|
@@ -11761,6 +11917,7 @@ ACTION_MAP = {
|
|
11761
11917
|
"DescribeClusters": doDescribeClusters,
|
11762
11918
|
"DescribeBusinessLogConfigs": doDescribeBusinessLogConfigs,
|
11763
11919
|
"CreatePublicConfigWithDetailResp": doCreatePublicConfigWithDetailResp,
|
11920
|
+
"DescribeLicenses": doDescribeLicenses,
|
11764
11921
|
"CreateUnitRuleWithDetailResp": doCreateUnitRuleWithDetailResp,
|
11765
11922
|
"ReleaseConfig": doReleaseConfig,
|
11766
11923
|
"DescribePublicConfigReleases": doDescribePublicConfigReleases,
|
@@ -11864,6 +12021,7 @@ ACTION_MAP = {
|
|
11864
12021
|
"DescribeTaskRecords": doDescribeTaskRecords,
|
11865
12022
|
"DescribeBasicResourceUsage": doDescribeBasicResourceUsage,
|
11866
12023
|
"DeployGroup": doDeployGroup,
|
12024
|
+
"DescribeLogCapacity": doDescribeLogCapacity,
|
11867
12025
|
"ReleasePublicConfig": doReleasePublicConfig,
|
11868
12026
|
"DeleteUnitNamespaces": doDeleteUnitNamespaces,
|
11869
12027
|
"DescribeInstances": doDescribeInstances,
|
@@ -11900,6 +12058,7 @@ ACTION_MAP = {
|
|
11900
12058
|
"StartGroup": doStartGroup,
|
11901
12059
|
"ModifyContainerGroup": doModifyContainerGroup,
|
11902
12060
|
"DisableLaneRule": doDisableLaneRule,
|
12061
|
+
"DescribeResourceConfig": doDescribeResourceConfig,
|
11903
12062
|
|
11904
12063
|
}
|
11905
12064
|
|