tccli 3.0.1209.1__py2.py3-none-any.whl → 3.0.1211.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/bma/v20221115/api.json +26 -1
  3. tccli/services/bma/v20221115/examples.json +6 -6
  4. tccli/services/cam/v20190116/api.json +38 -30
  5. tccli/services/cam/v20190116/examples.json +2 -2
  6. tccli/services/cdwdoris/v20211228/api.json +20 -1
  7. tccli/services/cfg/v20210820/api.json +21 -1
  8. tccli/services/cls/v20201016/api.json +72 -11
  9. tccli/services/cynosdb/v20190107/api.json +19 -9
  10. tccli/services/cynosdb/v20190107/examples.json +2 -2
  11. tccli/services/dasb/v20191018/api.json +19 -10
  12. tccli/services/dasb/v20191018/examples.json +1 -1
  13. tccli/services/dnspod/v20210323/api.json +3 -1
  14. tccli/services/emr/emr_client.py +238 -26
  15. tccli/services/emr/v20190103/api.json +1011 -115
  16. tccli/services/emr/v20190103/examples.json +32 -0
  17. tccli/services/es/v20180416/api.json +144 -2
  18. tccli/services/ess/v20201111/api.json +2 -2
  19. tccli/services/ess/v20201111/examples.json +2 -2
  20. tccli/services/essbasic/v20210526/api.json +13 -4
  21. tccli/services/gwlb/v20240906/api.json +23 -23
  22. tccli/services/hunyuan/v20230901/api.json +85 -9
  23. tccli/services/hunyuan/v20230901/examples.json +1 -1
  24. tccli/services/iss/v20230517/api.json +62 -14
  25. tccli/services/iss/v20230517/examples.json +19 -13
  26. tccli/services/redis/v20180412/api.json +2 -2
  27. tccli/services/sms/v20210111/api.json +3 -3
  28. tccli/services/sms/v20210111/examples.json +2 -2
  29. tccli/services/sqlserver/v20180328/api.json +32 -11
  30. tccli/services/sqlserver/v20180328/examples.json +1 -1
  31. tccli/services/sts/v20180813/api.json +11 -10
  32. tccli/services/sts/v20180813/examples.json +2 -2
  33. tccli/services/tcss/v20201101/api.json +136 -19
  34. tccli/services/teo/v20220901/api.json +19 -19
  35. tccli/services/teo/v20220901/examples.json +4 -58
  36. tccli/services/tke/tke_client.py +118 -12
  37. tccli/services/tke/v20180525/api.json +152 -0
  38. tccli/services/tke/v20180525/examples.json +16 -0
  39. tccli/services/vclm/v20240523/api.json +32 -3
  40. tccli/services/vpc/v20170312/api.json +59 -43
  41. tccli/services/vpc/v20170312/examples.json +1 -1
  42. {tccli-3.0.1209.1.dist-info → tccli-3.0.1211.1.dist-info}/METADATA +2 -2
  43. {tccli-3.0.1209.1.dist-info → tccli-3.0.1211.1.dist-info}/RECORD +46 -46
  44. {tccli-3.0.1209.1.dist-info → tccli-3.0.1211.1.dist-info}/WHEEL +0 -0
  45. {tccli-3.0.1209.1.dist-info → tccli-3.0.1211.1.dist-info}/entry_points.txt +0 -0
  46. {tccli-3.0.1209.1.dist-info → tccli-3.0.1211.1.dist-info}/license_files/LICENSE +0 -0
@@ -533,30 +533,30 @@
533
533
  "status": "online"
534
534
  },
535
535
  "DescribeTimingL7AnalysisData": {
536
- "document": "本接口(DescribeTimingL7AnalysisData)查询七层数据分析类时序数据。",
536
+ "document": "本接口查询七层域名业务的时序数据。请注意本接口查询数据有 10 分钟左右延迟,建议拉取当前时间 10 分钟以前的数据。",
537
537
  "input": "DescribeTimingL7AnalysisDataRequest",
538
538
  "name": "查询流量分析时序数据",
539
539
  "output": "DescribeTimingL7AnalysisDataResponse",
540
540
  "status": "online"
541
541
  },
542
542
  "DescribeTimingL7CacheData": {
543
- "document": "本接口(DescribeTimingL7CacheData)用于查询七层缓存分析时序类流量数据。",
543
+ "document": "本接口用于查询七层缓存分析时序类流量数据。此接口待废弃,请使用 <a href=\"https://cloud.tencent.com/document/product/1552/80648\">DescribeTimingL7AnalysisData</a> 接口。",
544
544
  "input": "DescribeTimingL7CacheDataRequest",
545
- "name": "查询缓存分析时序数据",
545
+ "name": "查询缓存分析时序数据(待废弃)",
546
546
  "output": "DescribeTimingL7CacheDataResponse",
547
547
  "status": "online"
548
548
  },
549
549
  "DescribeTopL7AnalysisData": {
550
- "document": "本接口(DescribeTopL7AnalysisData)用于查询七层流量前topN的数据。",
550
+ "document": "本接口用于查询七层域名业务按照指定维度的 topN 数据。请注意本接口查询数据有 10 分钟左右延迟,建议拉取当前时间 10 分钟以前的数据。",
551
551
  "input": "DescribeTopL7AnalysisDataRequest",
552
552
  "name": "查询流量分析Top数据",
553
553
  "output": "DescribeTopL7AnalysisDataResponse",
554
554
  "status": "online"
555
555
  },
556
556
  "DescribeTopL7CacheData": {
557
- "document": "本接口(DescribeTopL7CacheData)用于查询七层缓存分析topN流量数据。",
557
+ "document": "本接口用于查询七层缓存分析 topN 数据。此接口待废弃,请使用 <a href=\"https://cloud.tencent.com/document/product/1552/80646\"> DescribeTopL7AnalysisData</a> 接口。",
558
558
  "input": "DescribeTopL7CacheDataRequest",
559
- "name": "查询缓存分析Top数据",
559
+ "name": "查询缓存分析Top数据(待废弃)",
560
560
  "output": "DescribeTopL7CacheDataResponse",
561
561
  "status": "online"
562
562
  },
@@ -8652,8 +8652,8 @@
8652
8652
  },
8653
8653
  {
8654
8654
  "disabled": false,
8655
- "document": "指标列表,取值有:\n<li>l7Flow_outFlux: Edgeone 响应流量;</li>\n<li>l7Flow_inFlux: Edgeone 请求流量;</li>\n<li>l7Flow_outBandwidth: Edgeone 响应带宽;</li>\n<li>l7Flow_inBandwidth:Edgeone 请求带宽;</li>\n<li>l7Flow_request: 访问请求数;</li>\n<li>l7Flow_flux: 访问请求上行+下行流量;</li>\n<li>l7Flow_bandwidth:访问请求上行+下行带宽。</li>",
8656
- "example": "l7Flow_flow",
8655
+ "document": "指标列表,取值有:\n<li>l7Flow_outFlux: L7 EdgeOne 响应流量;</li>\n<li>l7Flow_inFlux: L7 客户端请求流量;</li>\n<li>l7Flow_flux: L7 访问总流量(EdgeOne 响应+客户端请求);</li>\n<li>l7Flow_outBandwidth: L7 EdgeOne 响应带宽;</li>\n<li>l7Flow_inBandwidth:L7 客户端请求带宽;</li>\n<li>l7Flow_bandwidth:L7 访问总带宽(EdgeOne 响应+客户端请求);</li>\n<li>l7Flow_request: L7 访问请求数。</li>",
8656
+ "example": "l7Flow_outFlux",
8657
8657
  "member": "string",
8658
8658
  "name": "MetricNames",
8659
8659
  "required": true,
@@ -8661,8 +8661,8 @@
8661
8661
  },
8662
8662
  {
8663
8663
  "disabled": false,
8664
- "document": "站点 ID 集合, 此参数必填。",
8665
- "example": "[\"zone-2ju9lrnpaxol\"]",
8664
+ "document": "站点 ID 集合,此参数必填。",
8665
+ "example": "zone-2ju9lrnpaxol",
8666
8666
  "member": "string",
8667
8667
  "name": "ZoneIds",
8668
8668
  "required": false,
@@ -8670,7 +8670,7 @@
8670
8670
  },
8671
8671
  {
8672
8672
  "disabled": false,
8673
- "document": "查询时间粒度,取值有:\n<li>min: 1分钟;</li>\n<li>5min: 5分钟;</li>\n<li>hour: 1小时;</li>\n<li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。",
8673
+ "document": "查询时间粒度,取值有:\n<li>min: 1分钟;</li>\n<li>5min: 5分钟;</li>\n<li>hour: 1小时;</li>\n<li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:2 小时范围内以 min 粒度查询,2 天范围内以 5min 粒度查询,7 天范围内以 hour 粒度查询,超过 7 天以 day 粒度查询。",
8674
8674
  "example": "hour",
8675
8675
  "member": "string",
8676
8676
  "name": "Interval",
@@ -8679,7 +8679,7 @@
8679
8679
  },
8680
8680
  {
8681
8681
  "disabled": false,
8682
- "document": "过滤条件,详细的过滤条件Key值如下:\n<li>country<br>   按照【<strong>国家/地区</strong>】进行过滤,国家/地区遵循 <a href=\"https://baike.baidu.com/item/ISO%203166-1/5269555\">ISO 3166</a> 规范。</li>\n<li>province<br>   按照【<strong>省份</strong>】进行过滤,此参数只支持服务区域为中国大陆。</li>\n<li>isp<br>   按照【<strong>运营商</strong>】进行过滤,此参数只支持服务区域为中国大陆。<br>   对应的Value可选项如下:<br>   2:中国电信;<br>   26:中国联通;<br>   1046:中国移动;<br>   3947:中国铁通;<br>   38:教育网;<br>   43:长城宽带;<br>   0:其他运营商。</li>\n<li>domain<br>   按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。</li>\n<li>url<br>   按照【<strong>URL Path</strong>】进行过滤,URL Path形如:/content或/content/test.jpg。<br>   若只填写url参数,则最多可查询近30天的数据;<br>   若同时填写url+Zonelds参数,则支持的查询数据范围为套餐支持的<a href=\"https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90\">数据分析最大查询范围</a>与30天两者中的较小值。</li>\n<li>referer<br>   按照【<strong>Referer头信息</strong>】进行过滤, Referer形如:example.com。<br>   若只填写referer参数,则最多可查询近30天的数据;<br>   若同时填写referer+Zonelds参数,则支持的查询数据范围为套餐支持的<a href=\"https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90\">数据分析最大查询范围</a>与30天两者中的较小值。</li>\n<li>resourceType<br>   按照【<strong>资源类型</strong>】进行过滤,资源类型一般是文件后缀,形如: .jpg, .css。<br>   若只填写resourceType参数,则最多可查询近30天的数据;<br>   若同时填写resourceType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href=\"https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90\">数据分析最大查询范围</a>与30天两者中的较小值。</li>\n<li>protocol<br>   按照【<strong>HTTP协议版本</strong>】进行过滤。<br>   对应的Value可选项如下:<br>   HTTP/1.0:HTTP 1.0;<br>   HTTP/1.1:HTTP 1.1;<br>   HTTP/2.0:HTTP 2.0;<br>   HTTP/3.0:HTTP 3.0;<br>   WebSocket:WebSocket。</li>\n<li>socket<br>   按照【<strong>HTTP协议类型</strong>】进行过滤。<br>   对应的Value可选项如下:<br>   HTTP:HTTP 协议;<br>   HTTPS:HTTPS协议;<br>   QUIC:QUIC协议。</li>\n<li>statusCode<br>   按照【<strong>状态码</strong>】进行过滤。<br>   若只填写statusCode参数,则最多可查询近30天的数据;<br>   若同时填写statusCode+Zonelds参数,则支持的查询数据范围为套餐支持的<a href=\"https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90\">数据分析最大查询范围</a>与30天两者中的较小值。<br>   对应的Value可选项如下:<br>   1XX:1xx类型的状态码;<br>   100:100状态码;<br>   101:101状态码;<br>   102:102状态码;<br>   2XX:2xx类型的状态码;<br>   200:200状态码;<br>   201:201状态码;<br>   202:202状态码;<br>   203:203状态码;<br>   204:204状态码;<br>   205:205状态码;<br>   206:206状态码;<br>   207:207状态码;<br>   3XX:3xx类型的状态码;<br>   300:300状态码;<br>   301:301状态码;<br>   302:302状态码;<br>   303:303状态码;<br>   304:304状态码;<br>   305:305状态码;<br>   307:307状态码;<br>   4XX:4xx类型的状态码;<br>   400:400状态码;<br>   401:401状态码;<br>   402:402状态码;<br>   403:403状态码;<br>   404:404状态码;<br>   405:405状态码;<br>   406:406状态码;<br>   407:407状态码;<br>   408:408状态码;<br>   409:409状态码;<br>   410:410状态码;<br>   411:411状态码;<br>   412:412状态码;<br>   412:413状态码;<br>   414:414状态码;<br>   415:415状态码;<br>   416:416状态码;<br>   417:417状态码;<br>   422:422状态码;<br>   423:423状态码;<br>   424:424状态码;<br>   426:426状态码;<br>   451:451状态码;<br>   5XX:5xx类型的状态码;<br>   500:500状态码;<br>   501:501状态码;<br>   502:502状态码;<br>   503:503状态码;<br>   504:504状态码;<br>   505:505状态码;<br>   506:506状态码;<br>   507:507状态码;<br>   510:510状态码;<br>   514:514状态码;<br>   544:544状态码。</li>\n<li>browserType<br>   按照【<strong>浏览器类型</strong>】进行过滤。<br>   若只填写browserType参数,则最多可查询近30天的数据;<br>   若同时填写browserType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href=\"https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90\">数据分析最大查询范围</a>与30天两者中的较小值。<br>   对应Value的可选项如下:<br>   Firefox:Firefox浏览器;<br>   Chrome:Chrome浏览器;<br>   Safari:Safari浏览器;<br>   Other:其他浏览器类型;<br>   Empty:浏览器类型为空;<br>   Bot:搜索引擎爬虫;<br>   MicrosoftEdge:MicrosoftEdge浏览器;<br>   IE:IE浏览器;<br>   Opera:Opera浏览器;<br>   QQBrowser:QQ浏览器;<br>   LBBrowser:LB浏览器;<br>   MaxthonBrowser:Maxthon浏览器;<br>   SouGouBrowser:搜狗浏览器;<br>   BIDUBrowser:百度浏览器;<br>   TaoBrowser:淘浏览器;<br>   UBrowser:UC浏览器。</li>\n<li>deviceType<br>   按照【<strong>设备类型</strong>】进行过滤。<br>   若只填写deviceType参数,则最多可查询近30天的数据;<br>   若同时填写deviceType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href=\"https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90\">数据分析最大查询范围</a>与30天两者中的较小值。<br>   对应Value的可选项如下:<br>   TV:TV设备;<br>   Tablet:Tablet设备;<br>   Mobile:Mobile设备;<br>   Desktop:Desktop设备;<br>   Other:其他设备类型;<br>   Empty:设备类型为空。</li>\n<li>operatingSystemType<br>   按照【<strong>操作系统类型</strong>】进行过滤。<br>   若只填写operatingSystemType参数,则最多可查询近30天的数据;<br>   若同时填写operatingSystemType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href=\"https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90\">数据分析最大查询范围</a>与30天两者中的较小值。<br>   对应Value的可选项如下:<br>   Linux:Linux操作系统;<br>   MacOS:MacOs操作系统;<br>   Android:Android操作系统;<br>   IOS:IOS操作系统;<br>   Windows:Windows操作系统;<br>   NetBSD:NetBSD;<br>   ChromiumOS:ChromiumOS;<br>   Bot:搜索引擎爬虫;<br>   Other:其他类型的操作系统;<br>   Empty:操作系统为空。</li>\n<li>tlsVersion<br>   按照【<strong>TLS版本</strong>】进行过滤。<br>   若只填写tlsVersion参数,则最多可查询近30天的数据;<br>   若同时填写tlsVersion+Zonelds参数,则支持的查询数据范围为套餐支持的<a href=\"https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90\">数据分析最大查询范围</a>与30天两者中的较小值。<br>   对应Value的可选项如下:<br>   TLS1.0:TLS 1.0;<br>   TLS1.1:TLS 1.1;<br>   TLS1.2:TLS 1.2;<br>   TLS1.3:TLS 1.3。</li>\n<li>ipVersion<br>   按照【<strong>IP版本</strong>】进行过滤。<br>   对应Value的可选项如下:<br>   4:Ipv4;<br>   6:Ipv6。</li>\n<li>tagKey<br>   按照【<strong>标签Key</strong>】进行过滤。</li>\n<li>tagValue<br>   按照【<strong>标签Value</strong>】进行过滤。</li>",
8682
+ "document": "过滤条件,详细的过滤条件 Key 值如下:\n<li>country:按照国家/地区进行过滤,国家/地区遵循 <a href=\"https://baike.baidu.com/item/ISO%203166-1/5269555\">ISO 3166-1 alpha-2</a> 规范。示例值:CN。</li>\n<li>province:按照省份进行过滤,此参数只支持服务区域为中国大陆。省份代码参考<a href=\"https://cloud.tencent.com/document/product/228/6316#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8\">境内省份映射表</a>,示例值:22。</li>\n<li>isp:按照运营商进行过滤,此参数只支持服务区域为中国大陆。对应的 Value 可选项如下:<br>   2:中国电信;<br>   26:中国联通;<br>   1046:中国移动;<br>   3947:中国铁通;<br>   38:教育网;<br>   43:长城宽带;<br>   0:其他运营商。</li>\n<li>domain:按照子域名进行过滤,示例值: www.example.com。</li>\n<li>url:按照 URL Path 进行过滤,示例值:/content 或 /content/test.jpg。若填写 url 参数,则最多可查询近 30 天的数据。</li>\n<li>referer:按照 Referer 请求头部进行过滤,示例值:http://www.example.com/。若填写 referer 参数,则最多可查询近 30 天的数据;</li>\n<li>resourceType:按照资源类型进行过滤,资源类型一般是文件后缀,示例值:.jpg。若填写 resourceType 参数,则最多可查询近 30 天的数据;</li>\n<li>protocol:按照 HTTP 协议版本进行过滤。对应的 Value 可选项如下:<br>   HTTP/1.0;<br>   HTTP/1.1;<br>   HTTP/2.0;<br>   HTTP/3;<br>   WebSocket。</li>\n<li>socket:按照 HTTP协议类型进行过滤。对应的 Value 可选项如下:<br>   HTTP:HTTP 协议;<br>   HTTPS:HTTPS 协议;<br>   QUIC:QUIC 协议。</li>\n<li>statusCode:按照边缘状态码进行过滤。若填写 statusCode 参数,则最多可查询近 30 天的数据。对应的 Value 可选项如下:<br>   1XX:1xx类型的状态码;<br>   2XX:2xx类型的状态码;<br>   3XX:3xx类型的状态码;<br>   4XX:4xx类型的状态码;<br>   5XX:5xx类型的状态码;<br>   在 [0,600) 范围内的整数。</li>\n<li>browserType:按照浏览器类型进行过滤。若填写 browserType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br>   Firefox:Firefox浏览器;<br>   Chrome:Chrome浏览器;<br>   Safari:Safari浏览器;<br>   Other:其他浏览器类型;<br>   Empty:浏览器类型为空;<br>   Bot:搜索引擎爬虫;<br>   MicrosoftEdge:MicrosoftEdge浏览器;<br>   IE:IE浏览器;<br>   Opera:Opera浏览器;<br>   QQBrowser:QQ浏览器;<br>   LBBrowser:LB浏览器;<br>   MaxthonBrowser:Maxthon浏览器;<br>   SouGouBrowser:搜狗浏览器;<br>   BIDUBrowser:百度浏览器;<br>   TaoBrowser:淘浏览器;<br>   UBrowser:UC浏览器。</li>\n<li>deviceType:按照设备类型进行过滤。若填写 deviceType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br>   TV:TV设备;<br>   Tablet:Tablet设备;<br>   Mobile:Mobile设备;<br>   Desktop:Desktop设备;<br>   Other:其他设备类型;<br>   Empty:设备类型为空。</li>\n<li>operatingSystemType:按照操作系统类型进行过滤。若填写 operatingSystemType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br>   Linux:Linux操作系统;<br>   MacOS:MacOs操作系统;<br>   Android:Android操作系统;<br>   IOS:IOS操作系统;<br>   Windows:Windows操作系统;<br>   NetBSD:NetBSD;<br>   ChromiumOS:ChromiumOS;<br>   Bot:搜索引擎爬虫;<br>   Other:其他类型的操作系统;<br>   Empty:操作系统为空。</li>\n<li>tlsVersion:按照 TLS 版本进行过滤。若填写 tlsVersion 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br>   TLS1.0;<br>   TLS1.1;<br>   TLS1.2;<br>   TLS1.3。</li>\n<li>ipVersion:按照 IP 版本进行过滤。对应 Value 的可选项如下:<br>   4:IPv4;<br>   6:IPv6。</li>\n<li>cacheType:按照缓存状态进行过滤。对应 Value 的可选项如下:<br>   hit:请求命中 EdgeOne 节点缓存,资源由节点缓存提供。资源部分命中缓存也会记录为 hit。<br>   miss:请求未命中 EdgeOne 节点缓存,资源由源站提供。<br>   dynamic:请求的资源无法缓存/未配置被节点缓存,资源由源站提供。<br>   other:无法被识别的缓存状态。边缘函数响应的请求会记录为 other。</li>\n<li>clientIp:按照客户端 IP 进行过滤。</li>",
8683
8683
  "example": "无",
8684
8684
  "member": "QueryCondition",
8685
8685
  "name": "Filters",
@@ -8688,7 +8688,7 @@
8688
8688
  },
8689
8689
  {
8690
8690
  "disabled": false,
8691
- "document": "数据归属地区,取值有:\n<li>overseas:全球(除中国大陆地区)数据;</li>\n<li>mainland:中国大陆地区数据;</li>\n<li>global:全球数据。</li>不填默认取值为global。",
8691
+ "document": "数据归属地区,取值有:\n<li>overseas:全球(除中国大陆地区)数据;</li>\n<li>mainland:中国大陆地区数据;</li>\n<li>global:全球数据。</li>\n不填默认取值为 global。",
8692
8692
  "example": "mainland",
8693
8693
  "member": "string",
8694
8694
  "name": "Area",
@@ -8854,8 +8854,8 @@
8854
8854
  },
8855
8855
  {
8856
8856
  "disabled": false,
8857
- "document": "查询的指标,取值有:\n<li> l7Flow_outFlux_country:按国家/地区维度统计流量指标;</li>\n<li> l7Flow_outFlux_statusCode:按状态码维度统计流量指标;</li>\n<li> l7Flow_outFlux_domain:按域名维度统计流量指标;</li>\n<li> l7Flow_outFlux_url:按URL维度统计流量指标; </li>\n<li> l7Flow_outFlux_resourceType:按资源类型维度统计流量指标;</li>\n<li> l7Flow_outFlux_sip:按客户端的源IP维度统计流量指标;</li>\n<li> l7Flow_outFlux_referers:按refer信息维度统计流量指标;</li>\n<li> l7Flow_outFlux_ua_device:按设备类型维度统计流量指标; </li>\n<li> l7Flow_outFlux_ua_browser:按浏览器类型维度统计流量指标;</li>\n<li> l7Flow_outFlux_us_os:按操作系统类型维度统计流量指标;</li>\n<li> l7Flow_request_country:按国家/地区维度统计请求数指标;</li>\n<li> l7Flow_request_statusCode:按状态码维度统计请求数指标;</li>\n<li> l7Flow_request_domain:按域名维度统计请求数指标;</li>\n<li> l7Flow_request_url:按URL维度统计请求数指标; </li>\n<li> l7Flow_request_resourceType:按资源类型维度统计请求数指标;</li>\n<li> l7Flow_request_sip:按客户端的源IP维度统计请求数指标;</li>\n<li> l7Flow_request_referer:按refer信息维度统计请求数指标;</li>\n<li> l7Flow_request_ua_device:按设备类型维度统计请求数指标; </li>\n<li> l7Flow_request_ua_browser:按浏览器类型维度统计请求数指标;</li>\n<li> l7Flow_request_us_os:按操作系统类型维度统计请求数指标。</li>\n",
8858
- "example": "l7Flow_flow",
8857
+ "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_us_os:按操作系统类型维度统计 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_us_os:按操作系统类型维度统计 L7 访问请求数指标。</li>\n",
8858
+ "example": "l7Flow_outFlux_country",
8859
8859
  "member": "string",
8860
8860
  "name": "MetricName",
8861
8861
  "required": true,
@@ -8872,7 +8872,7 @@
8872
8872
  },
8873
8873
  {
8874
8874
  "disabled": false,
8875
- "document": "查询前多少个数据,最大值为1000,不填默认为10 表示查询前top10的数据。",
8875
+ "document": "查询前多少个 top 数据,最大值为1000。不填默认为10,表示查询 top10 的数据。",
8876
8876
  "example": "3",
8877
8877
  "member": "int64",
8878
8878
  "name": "Limit",
@@ -8881,7 +8881,7 @@
8881
8881
  },
8882
8882
  {
8883
8883
  "disabled": false,
8884
- "document": "过滤条件,详细的过滤条件Key值如下:\n<li>country<br>   按照【<strong>国家/地区</strong>】进行过滤,国家/地区遵循 <a href=\"https://baike.baidu.com/item/ISO%203166-1/5269555\">ISO 3166</a> 规范。</li>\n<li>province<br>   按照【<strong>省份</strong>】进行过滤,此参数只支持服务区域为中国大陆。</li>\n<li>isp<br>   按照【<strong>运营商</strong>】进行过滤,此参数只支持服务区域为中国大陆。<br>   对应的Value可选项如下:<br>   2:中国电信;<br>   26:中国联通;<br>   1046:中国移动;<br>   3947:中国铁通;<br>   38:教育网;<br>   43:长城宽带;<br>   0:其他运营商。</li>\n<li>domain<br>   按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。</li>\n<li>url<br>   按照【<strong>URL Path</strong>】进行过滤,URL Path形如:/content或/content/test.jpg。<br>   若只填写url参数,则最多可查询近30天的数据;<br>   若同时填写url+Zonelds参数,则支持的查询数据范围为套餐支持的<a href=\"https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90\">数据分析最大查询范围</a>与30天两者中的较小值。</li>\n<li>referer<br>   按照【<strong>Referer头信息</strong>】进行过滤, Referer形如:example.com。<br>   若只填写referer参数,则最多可查询近30天的数据;<br>   若同时填写referer+Zonelds参数,则支持的查询数据范围为套餐支持的<a href=\"https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90\">数据分析最大查询范围</a>与30天两者中的较小值。</li>\n<li>resourceType<br>   按照【<strong>资源类型</strong>】进行过滤,资源类型一般是文件后缀,形如: .jpg, .css。<br>   若只填写resourceType参数,则最多可查询近30天的数据;<br>   若同时填写resourceType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href=\"https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90\">数据分析最大查询范围</a>与30天两者中的较小值。</li>\n<li>protocol<br>   按照【<strong>HTTP协议版本</strong>】进行过滤。<br>   对应的Value可选项如下:<br>   HTTP/1.0:HTTP 1.0;<br>   HTTP/1.1:HTTP 1.1;<br>   HTTP/2.0:HTTP 2.0;<br>   HTTP/3.0:HTTP 3.0;<br>   WebSocket:WebSocket。</li>\n<li>socket<br>   按照【<strong>HTTP协议类型</strong>】进行过滤。<br>   对应的Value可选项如下:<br>   HTTP:HTTP 协议;<br>   HTTPS:HTTPS协议;<br>   QUIC:QUIC协议。</li>\n<li>statusCode<br>   按照【<strong>状态码</strong>】进行过滤。<br>   若只填写statusCode参数,则最多可查询近30天的数据;<br>   若同时填写statusCode+Zonelds参数,则支持的查询数据范围为套餐支持的<a href=\"https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90\">数据分析最大查询范围</a>与30天两者中的较小值。<br>   对应的Value可选项如下:<br>   1XX:1xx类型的状态码;<br>   100:100状态码;<br>   101:101状态码;<br>   102:102状态码;<br>   2XX:2xx类型的状态码;<br>   200:200状态码;<br>   201:201状态码;<br>   202:202状态码;<br>   203:203状态码;<br>   204:204状态码;<br>   205:205状态码;<br>   206:206状态码;<br>   207:207状态码;<br>   3XX:3xx类型的状态码;<br>   300:300状态码;<br>   301:301状态码;<br>   302:302状态码;<br>   303:303状态码;<br>   304:304状态码;<br>   305:305状态码;<br>   307:307状态码;<br>   4XX:4xx类型的状态码;<br>   400:400状态码;<br>   401:401状态码;<br>   402:402状态码;<br>   403:403状态码;<br>   404:404状态码;<br>   405:405状态码;<br>   406:406状态码;<br>   407:407状态码;<br>   408:408状态码;<br>   409:409状态码;<br>   410:410状态码;<br>   411:411状态码;<br>   412:412状态码;<br>   412:413状态码;<br>   414:414状态码;<br>   415:415状态码;<br>   416:416状态码;<br>   417:417状态码;<br>   422:422状态码;<br>   423:423状态码;<br>   424:424状态码;<br>   426:426状态码;<br>   451:451状态码;<br>   5XX:5xx类型的状态码;<br>   500:500状态码;<br>   501:501状态码;<br>   502:502状态码;<br>   503:503状态码;<br>   504:504状态码;<br>   505:505状态码;<br>   506:506状态码;<br>   507:507状态码;<br>   510:510状态码;<br>   514:514状态码;<br>   544:544状态码。</li>\n<li>browserType<br>   按照【<strong>浏览器类型</strong>】进行过滤。<br>   若只填写browserType参数,则最多可查询近30天的数据;<br>   若同时填写browserType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href=\"https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90\">数据分析最大查询范围</a>与30天两者中的较小值。<br>   对应Value的可选项如下:<br>   Firefox:Firefox浏览器;<br>   Chrome:Chrome浏览器;<br>   Safari:Safari浏览器;<br>   Other:其他浏览器类型;<br>   Empty:浏览器类型为空;<br>   Bot:搜索引擎爬虫;<br>   MicrosoftEdge:MicrosoftEdge浏览器;<br>   IE:IE浏览器;<br>   Opera:Opera浏览器;<br>   QQBrowser:QQ浏览器;<br>   LBBrowser:LB浏览器;<br>   MaxthonBrowser:Maxthon浏览器;<br>   SouGouBrowser:搜狗浏览器;<br>   BIDUBrowser:百度浏览器;<br>   TaoBrowser:淘浏览器;<br>   UBrowser:UC浏览器。</li>\n<li>deviceType<br>   按照【<strong>设备类型</strong>】进行过滤。<br>   若只填写deviceType参数,则最多可查询近30天的数据;<br>   若同时填写deviceType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href=\"https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90\">数据分析最大查询范围</a>与30天两者中的较小值。<br>   对应Value的可选项如下:<br>   TV:TV设备;<br>   Tablet:Tablet设备;<br>   Mobile:Mobile设备;<br>   Desktop:Desktop设备;<br>   Other:其他设备类型;<br>   Empty:设备类型为空。</li>\n<li>operatingSystemType<br>   按照【<strong>操作系统类型</strong>】进行过滤。<br>   若只填写operatingSystemType参数,则最多可查询近30天的数据;<br>   若同时填写operatingSystemType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href=\"https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90\">数据分析最大查询范围</a>与30天两者中的较小值。<br>   对应Value的可选项如下:<br>   Linux:Linux操作系统;<br>   MacOS:MacOs操作系统;<br>   Android:Android操作系统;<br>   IOS:IOS操作系统;<br>   Windows:Windows操作系统;<br>   NetBSD:NetBSD;<br>   ChromiumOS:ChromiumOS;<br>   Bot:搜索引擎爬虫;<br>   Other:其他类型的操作系统;<br>   Empty:操作系统为空。</li>\n<li>tlsVersion<br>   按照【<strong>TLS版本</strong>】进行过滤。<br>   若只填写tlsVersion参数,则最多可查询近30天的数据;<br>   若同时填写tlsVersion+Zonelds参数,则支持的查询数据范围为套餐支持的<a href=\"https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90\">数据分析最大查询范围</a>与30天两者中的较小值。<br>   对应Value的可选项如下:<br>   TLS1.0:TLS 1.0;<br>   TLS1.1:TLS 1.1;<br>   TLS1.2:TLS 1.2;<br>   TLS1.3:TLS 1.3。</li>\n<li>ipVersion<br>   按照【<strong>IP版本</strong>】进行过滤。<br>   对应Value的可选项如下:<br>   4:Ipv4;<br>   6:Ipv6。</li>\n<li>tagKey<br>   按照【<strong>标签Key</strong>】进行过滤。</li>\n<li>tagValue<br>   按照【<strong>标签Value</strong>】进行过滤。</li>",
8884
+ "document": "过滤条件,详细的过滤条件 Key 值如下:\n<li>country:按照国家/地区进行过滤,国家/地区遵循 <a href=\"https://baike.baidu.com/item/ISO%203166-1/5269555\">ISO 3166-1 alpha-2</a> 规范。示例值:CN。</li>\n<li>province:按照省份进行过滤,此参数只支持服务区域为中国大陆。省份代码参考<a href=\"https://cloud.tencent.com/document/product/228/6316#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8\">境内省份映射表</a>,示例值:22。</li>\n<li>isp:按照运营商进行过滤,此参数只支持服务区域为中国大陆。对应的 Value 可选项如下:<br>   2:中国电信;<br>   26:中国联通;<br>   1046:中国移动;<br>   3947:中国铁通;<br>   38:教育网;<br>   43:长城宽带;<br>   0:其他运营商。</li>\n<li>domain:按照子域名进行过滤,示例值: www.example.com。</li>\n<li>url:按照 URL Path 进行过滤,示例值:/content 或 /content/test.jpg。若填写 url 参数,则最多可查询近 30 天的数据。</li>\n<li>referer:按照 Referer 请求头部进行过滤,示例值:http://www.example.com/。若填写 referer 参数,则最多可查询近 30 天的数据;</li>\n<li>resourceType:按照资源类型进行过滤,资源类型一般是文件后缀,示例值:.jpg。若填写 resourceType 参数,则最多可查询近 30 天的数据;</li>\n<li>protocol:按照 HTTP 协议版本进行过滤。对应的 Value 可选项如下:<br>   HTTP/1.0;<br>   HTTP/1.1;<br>   HTTP/2.0;<br>   HTTP/3;<br>   WebSocket。</li>\n<li>socket:按照 HTTP协议类型进行过滤。对应的 Value 可选项如下:<br>   HTTP:HTTP 协议;<br>   HTTPS:HTTPS 协议;<br>   QUIC:QUIC 协议。</li>\n<li>statusCode:按照边缘状态码进行过滤。若填写 statusCode 参数,则最多可查询近 30 天的数据。对应的 Value 可选项如下:<br>   1XX:1xx类型的状态码;<br>   2XX:2xx类型的状态码;<br>   3XX:3xx类型的状态码;<br>   4XX:4xx类型的状态码;<br>   5XX:5xx类型的状态码;<br>   在 [0,600) 范围内的整数。</li>\n<li>browserType:按照浏览器类型进行过滤。若填写 browserType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br>   Firefox:Firefox浏览器;<br>   Chrome:Chrome浏览器;<br>   Safari:Safari浏览器;<br>   Other:其他浏览器类型;<br>   Empty:浏览器类型为空;<br>   Bot:搜索引擎爬虫;<br>   MicrosoftEdge:MicrosoftEdge浏览器;<br>   IE:IE浏览器;<br>   Opera:Opera浏览器;<br>   QQBrowser:QQ浏览器;<br>   LBBrowser:LB浏览器;<br>   MaxthonBrowser:Maxthon浏览器;<br>   SouGouBrowser:搜狗浏览器;<br>   BIDUBrowser:百度浏览器;<br>   TaoBrowser:淘浏览器;<br>   UBrowser:UC浏览器。</li>\n<li>deviceType:按照设备类型进行过滤。若填写 deviceType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br>   TV:TV设备;<br>   Tablet:Tablet设备;<br>   Mobile:Mobile设备;<br>   Desktop:Desktop设备;<br>   Other:其他设备类型;<br>   Empty:设备类型为空。</li>\n<li>operatingSystemType:按照操作系统类型进行过滤。若填写 operatingSystemType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br>   Linux:Linux操作系统;<br>   MacOS:MacOs操作系统;<br>   Android:Android操作系统;<br>   IOS:IOS操作系统;<br>   Windows:Windows操作系统;<br>   NetBSD:NetBSD;<br>   ChromiumOS:ChromiumOS;<br>   Bot:搜索引擎爬虫;<br>   Other:其他类型的操作系统;<br>   Empty:操作系统为空。</li>\n<li>tlsVersion:按照 TLS 版本进行过滤。若填写 tlsVersion 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br>   TLS1.0;<br>   TLS1.1;<br>   TLS1.2;<br>   TLS1.3。</li>\n<li>ipVersion:按照 IP 版本进行过滤。对应 Value 的可选项如下:<br>   4:IPv4;<br>   6:IPv6。</li>\n<li>cacheType:按照缓存状态进行过滤。对应 Value 的可选项如下:<br>   hit:请求命中 EdgeOne 节点缓存,资源由节点缓存提供。资源部分命中缓存也会记录为 hit。<br>   miss:请求未命中 EdgeOne 节点缓存,资源由源站提供。<br>   dynamic:请求的资源无法缓存/未配置被节点缓存,资源由源站提供。<br>   other:无法被识别的缓存状态。边缘函数响应的请求会记录为 other。</li>\n<li>clientIp:按照客户端 IP 进行过滤。</li>",
8885
8885
  "example": "无",
8886
8886
  "member": "QueryCondition",
8887
8887
  "name": "Filters",
@@ -8890,7 +8890,7 @@
8890
8890
  },
8891
8891
  {
8892
8892
  "disabled": false,
8893
- "document": "查询时间粒度,取值有:\n<li>min1分钟;</li>\n<li>5min5分钟;</li>\n<li>hour1小时;</li>\n<li>day1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。",
8893
+ "document": "查询时间粒度,取值有:\n<li>min: 1分钟;</li>\n<li>5min: 5分钟;</li>\n<li>hour: 1小时;</li>\n<li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:2 小时范围内以 min 粒度查询,2 天范围内以 5min 粒度查询,7 天范围内以 hour 粒度查询,超过 7 天以 day 粒度查询。",
8894
8894
  "example": "min",
8895
8895
  "member": "string",
8896
8896
  "name": "Interval",
@@ -8924,7 +8924,7 @@
8924
8924
  },
8925
8925
  {
8926
8926
  "disabled": false,
8927
- "document": "七层流量前topN数据列表。\n注意:此字段可能返回 null,表示取不到有效值。",
8927
+ "document": "七层访问数据按照 MetricName 指定统计维度的前 topN 数据列表。\n注意:此字段可能返回 null,表示取不到有效值。",
8928
8928
  "example": "无",
8929
8929
  "member": "TopDataRecord",
8930
8930
  "name": "Data",
@@ -748,88 +748,34 @@
748
748
  ],
749
749
  "DescribeTimingL7AnalysisData": [
750
750
  {
751
- "document": "根据协议筛选条件获取请求数指标的数据",
751
+ "document": "根据 HTTP 协议版本筛选条件获取请求数指标数据。",
752
752
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7AnalysisData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Flow_request\"\n ],\n \"Filters\": [\n {\n \"Key\": \"protocol\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"HTTP/1.0\",\n \"HTTP/1.1\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2o7b38ba1hvr\"\n ]\n}",
753
753
  "output": "{\n \"Response\": {\n \"RequestId\": \"141a7ccd-9713-43a2-91d5-1b47692d0609\",\n \"Data\": [\n {\n \"TypeKey\": \"251227260\",\n \"TypeValue\": [\n {\n \"Avg\": 803,\n \"Detail\": [\n {\n \"Timestamp\": 1659139200,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1661731200,\n \"Value\": 0\n }\n ],\n \"Max\": 7921,\n \"MetricName\": \"l7Flow_request\",\n \"Sum\": 24918\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}",
754
- "title": "根据协议查询时序流量数据"
755
- },
756
- {
757
- "document": "根据标签的筛选条件获取请求数指标",
758
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7AnalysisData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Flow_request\"\n ],\n \"Filters\": [\n {\n \"Key\": \"tagKey\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"test1\"\n ]\n },\n {\n \"Key\": \"tagValue\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"a.com\",\n \"b.com\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2o7b38ba1hvr\"\n ]\n}",
759
- "output": "{\n \"Response\": {\n \"RequestId\": \"141a7ccd-9713-43a2-91d5-1b47692d0609\",\n \"Data\": [\n {\n \"TypeKey\": \"251227260\",\n \"TypeValue\": [\n {\n \"Avg\": 803,\n \"Detail\": [\n {\n \"Timestamp\": 1659139200,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1661731200,\n \"Value\": 0\n }\n ],\n \"Max\": 7921,\n \"MetricName\": \"l7Flow_request\",\n \"Sum\": 24918\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}",
760
- "title": "根据标签查询时序流量数据"
761
- },
762
- {
763
- "document": "查询七层流量请求数指标的数据",
764
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7AnalysisData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Flow_request\"\n ],\n \"ZoneIds\": [\n \"zone-2o7b38ba1hvr\"\n ]\n}",
765
- "output": "{\n \"Response\": {\n \"RequestId\": \"141a7ccd-9713-43a2-91d5-1b47692d0609\",\n \"Data\": [\n {\n \"TypeKey\": \"251227260\",\n \"TypeValue\": [\n {\n \"Avg\": 803,\n \"Detail\": [\n {\n \"Timestamp\": 1659139200,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1661731200,\n \"Value\": 0\n }\n ],\n \"Max\": 7921,\n \"MetricName\": \"l7Flow_request\",\n \"Sum\": 24918\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}",
766
- "title": "查询七层数据分析类时序流量数据"
754
+ "title": "根据 HTTP 协议版本查询时序请求数数据"
767
755
  }
768
756
  ],
769
757
  "DescribeTimingL7CacheData": [
770
- {
771
- "document": "",
772
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7CacheData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Cache_outFlux\"\n ],\n \"Filters\": [\n {\n \"Key\": \"tagKey\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"test1\"\n ]\n },\n {\n \"Key\": \"tagValue\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"a.com\",\n \"b.com\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
773
- "output": "{\n \"Response\": {\n \"RequestId\": \"6cc74d08-c174-413a-976b-abe7b851e0121\",\n \"Data\": [\n {\n \"TypeKey\": \"251227260\",\n \"TypeValue\": [\n {\n \"Avg\": 239058,\n \"Detail\": [\n {\n \"Timestamp\": 1659139200,\n \"Value\": 8\n },\n {\n \"Timestamp\": 1661731200,\n \"Value\": 1\n }\n ],\n \"Max\": 2363561,\n \"MetricName\": \"l7Cache_outFlux\",\n \"Sum\": 7410804\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}",
774
- "title": "查询指定标签的时序流量数据"
775
- },
776
758
  {
777
759
  "document": "",
778
760
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7CacheData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Cache_outFlux\"\n ],\n \"Filters\": [\n {\n \"Key\": \"statusCode\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"1XX\",\n \"2XX\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
779
761
  "output": "{\n \"Response\": {\n \"RequestId\": \"1c827ba2-7010-45d2-123b-6d0c4d34ihsx\",\n \"Data\": [\n {\n \"TypeKey\": \"251227260\",\n \"TypeValue\": [\n {\n \"Avg\": 239058,\n \"Detail\": [\n {\n \"Timestamp\": 1659139200,\n \"Value\": 10\n },\n {\n \"Timestamp\": 1661731200,\n \"Value\": 10\n }\n ],\n \"Max\": 2363561,\n \"MetricName\": \"l7Cache_outFlux\",\n \"Sum\": 7410804\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}",
780
762
  "title": "查询指定状态码的时序流量数据"
781
- },
782
- {
783
- "document": "",
784
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTimingL7CacheData\n<公共请求参数>\n\n{\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"Interval\": \"day\",\n \"Area\": \"mainland\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"MetricNames\": [\n \"l7Cache_outFlux\"\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
785
- "output": "{\n \"Response\": {\n \"RequestId\": \"1c827ba2-7010-45d2-b16b-6d0c4d68a771\",\n \"Data\": [\n {\n \"TypeKey\": \"251227260\",\n \"TypeValue\": [\n {\n \"Avg\": 239058,\n \"Detail\": [\n {\n \"Timestamp\": 1659139200,\n \"Value\": 0\n },\n {\n \"Timestamp\": 1661731200,\n \"Value\": 0\n }\n ],\n \"Max\": 2363561,\n \"MetricName\": \"l7Cache_outFlux\",\n \"Sum\": 7410804\n }\n ]\n }\n ],\n \"TotalCount\": 1\n }\n}",
786
- "title": "查询七层缓存分析类时序流量数据"
787
763
  }
788
764
  ],
789
765
  "DescribeTopL7AnalysisData": [
790
766
  {
791
- "document": "查询七层数据分析类top流量数据",
767
+ "document": "查询特定 HTTP 协议版本(HTTP/1.0、HTTP/1.1)下的 Top URL Path 流量数据。",
792
768
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7AnalysisData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"1\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Flow_outFlux_url\",\n \"Filters\": [\n {\n \"Key\": \"protocol\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"HTTP/1.0\",\n \"HTTP/1.1\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
793
769
  "output": "{\n \"Response\": {\n \"RequestId\": \"7c499897-8ad9-4a2d-884e-6154f283d723\",\n \"Data\": [\n {\n \"DetailData\": [\n {\n \"Key\": \"/\",\n \"Value\": 1210001\n }\n ],\n \"TypeKey\": \"251227260\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
794
- "title": "查询指定协议的top流量数据"
795
- },
796
- {
797
- "document": "查询指定标签的top流量数据",
798
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7AnalysisData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"1\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Flow_outFlux_url\",\n \"Filters\": [\n {\n \"Key\": \"tagKey\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"test1\"\n ]\n },\n {\n \"Key\": \"tagValue\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"a.com\",\n \"b.com\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
799
- "output": "{\n \"Response\": {\n \"RequestId\": \"7c499897-8ad9-4a2d-884e-6154f283d723\",\n \"Data\": [\n {\n \"DetailData\": [\n {\n \"Key\": \"/\",\n \"Value\": 1210001\n }\n ],\n \"TypeKey\": \"251227260\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
800
- "title": "查询指定标签的top流量数据"
801
- },
802
- {
803
- "document": "查询七层数据分析类top流量数据",
804
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7AnalysisData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"1\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Flow_outFlux_url\",\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
805
- "output": "{\n \"Response\": {\n \"RequestId\": \"7c499897-8ad9-4a2d-884e-6154f283d7f6\",\n \"Data\": [\n {\n \"DetailData\": [\n {\n \"Key\": \"/\",\n \"Value\": 7410001\n }\n ],\n \"TypeKey\": \"251227260\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
806
- "title": "查询七层数据分析类top流量数据"
770
+ "title": "查询特定 HTTP 协议版本下的 Top URL Path 流量数据"
807
771
  }
808
772
  ],
809
773
  "DescribeTopL7CacheData": [
810
- {
811
- "document": "",
812
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7CacheData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"5\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Cache_outFlux_cacheType\",\n \"Filters\": [\n {\n \"Key\": \"tagKey\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"test1\"\n ]\n },\n {\n \"Key\": \"tagValue\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"a.com\",\n \"b.com\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
813
- "output": "{\n \"Response\": {\n \"RequestId\": \"64463c6f-3296-47fa-b168-2040f841eed1\",\n \"Data\": [\n {\n \"DetailData\": [\n {\n \"Key\": \"hit\",\n \"Value\": 5810001\n },\n {\n \"Key\": \"miss\",\n \"Value\": 658\n }\n ],\n \"TypeKey\": \"251227260\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
814
- "title": "根据指定标签的top流量数据"
815
- },
816
774
  {
817
775
  "document": "",
818
776
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7CacheData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"5\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Cache_outFlux_cacheType\",\n \"Filters\": [\n {\n \"Key\": \"statusCode\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"2XX\",\n \"3XX\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
819
777
  "output": "{\n \"Response\": {\n \"RequestId\": \"64463c6f-3296-47fa-b168-2040f841eed1\",\n \"Data\": [\n {\n \"DetailData\": [\n {\n \"Key\": \"hit\",\n \"Value\": 5810001\n },\n {\n \"Key\": \"miss\",\n \"Value\": 658\n }\n ],\n \"TypeKey\": \"251227260\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
820
778
  "title": "查询指定状态码的top流量数据"
821
- },
822
- {
823
- "document": "",
824
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7CacheData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"5\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Cache_outFlux_cacheType\",\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
825
- "output": "{\n \"Response\": {\n \"RequestId\": \"64463c6f-4c96-47fa-b168-2040f841eed1\",\n \"Data\": [\n {\n \"DetailData\": [\n {\n \"Key\": \"hit\",\n \"Value\": 7410001\n },\n {\n \"Key\": \"miss\",\n \"Value\": 803\n }\n ],\n \"TypeKey\": \"251227260\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
826
- "title": "查询七层缓存分析类top流量数据"
827
- },
828
- {
829
- "document": "",
830
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTopL7CacheData\n<公共请求参数>\n\n{\n \"Area\": \"mainland\",\n \"Interval\": \"day\",\n \"Limit\": \"5\",\n \"StartTime\": \"2022-07-31T00:00:00+08:00\",\n \"EndTime\": \"2022-08-29T19:17:59+08:00\",\n \"MetricName\": \"l7Cache_outFlux_cacheType\",\n \"Filters\": [\n {\n \"Key\": \"cacheType\",\n \"Operator\": \"equals\",\n \"Value\": [\n \"miss\",\n \"hit\"\n ]\n }\n ],\n \"ZoneIds\": [\n \"zone-2mzegj4vln5f\"\n ]\n}",
831
- "output": "{\n \"Response\": {\n \"RequestId\": \"64463c6f-3296-47fa-b168-2040f841eed1\",\n \"Data\": [\n {\n \"DetailData\": [\n {\n \"Key\": \"hit\",\n \"Value\": 7410001\n },\n {\n \"Key\": \"miss\",\n \"Value\": 803\n }\n ],\n \"TypeKey\": \"251227260\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
832
- "title": "查询缓存命中跟未命中的top流量数据"
833
779
  }
834
780
  ],
835
781
  "DescribeZoneSetting": [
@@ -2255,6 +2255,58 @@ def doDescribeTKEEdgeExternalKubeconfig(args, parsed_globals):
2255
2255
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2256
2256
 
2257
2257
 
2258
+ def doDescribeClusters(args, parsed_globals):
2259
+ g_param = parse_global_arg(parsed_globals)
2260
+
2261
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2262
+ cred = credential.CVMRoleCredential()
2263
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2264
+ cred = credential.STSAssumeRoleCredential(
2265
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2266
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2267
+ )
2268
+ 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):
2269
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2270
+ else:
2271
+ cred = credential.Credential(
2272
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2273
+ )
2274
+ http_profile = HttpProfile(
2275
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2276
+ reqMethod="POST",
2277
+ endpoint=g_param[OptionsDefine.Endpoint],
2278
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2279
+ )
2280
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2281
+ if g_param[OptionsDefine.Language]:
2282
+ profile.language = g_param[OptionsDefine.Language]
2283
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2284
+ client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile)
2285
+ client._sdkVersion += ("_CLI_" + __version__)
2286
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2287
+ model = models.DescribeClustersRequest()
2288
+ model.from_json_string(json.dumps(args))
2289
+ start_time = time.time()
2290
+ while True:
2291
+ rsp = client.DescribeClusters(model)
2292
+ result = rsp.to_json_string()
2293
+ try:
2294
+ json_obj = json.loads(result)
2295
+ except TypeError as e:
2296
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2297
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2298
+ break
2299
+ cur_time = time.time()
2300
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2301
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2302
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2303
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2304
+ else:
2305
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2306
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2307
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2308
+
2309
+
2258
2310
  def doCreateCLSLogConfig(args, parsed_globals):
2259
2311
  g_param = parse_global_arg(parsed_globals)
2260
2312
 
@@ -4127,7 +4179,7 @@ def doDescribeEdgeLogSwitches(args, parsed_globals):
4127
4179
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4128
4180
 
4129
4181
 
4130
- def doDescribeClusters(args, parsed_globals):
4182
+ def doModifyClusterTags(args, parsed_globals):
4131
4183
  g_param = parse_global_arg(parsed_globals)
4132
4184
 
4133
4185
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4156,11 +4208,11 @@ def doDescribeClusters(args, parsed_globals):
4156
4208
  client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile)
4157
4209
  client._sdkVersion += ("_CLI_" + __version__)
4158
4210
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4159
- model = models.DescribeClustersRequest()
4211
+ model = models.ModifyClusterTagsRequest()
4160
4212
  model.from_json_string(json.dumps(args))
4161
4213
  start_time = time.time()
4162
4214
  while True:
4163
- rsp = client.DescribeClusters(model)
4215
+ rsp = client.ModifyClusterTags(model)
4164
4216
  result = rsp.to_json_string()
4165
4217
  try:
4166
4218
  json_obj = json.loads(result)
@@ -4283,6 +4335,58 @@ def doCreateReservedInstances(args, parsed_globals):
4283
4335
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4284
4336
 
4285
4337
 
4338
+ def doDescribeBatchModifyTagsStatus(args, parsed_globals):
4339
+ g_param = parse_global_arg(parsed_globals)
4340
+
4341
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4342
+ cred = credential.CVMRoleCredential()
4343
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4344
+ cred = credential.STSAssumeRoleCredential(
4345
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4346
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4347
+ )
4348
+ 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):
4349
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4350
+ else:
4351
+ cred = credential.Credential(
4352
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4353
+ )
4354
+ http_profile = HttpProfile(
4355
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4356
+ reqMethod="POST",
4357
+ endpoint=g_param[OptionsDefine.Endpoint],
4358
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4359
+ )
4360
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4361
+ if g_param[OptionsDefine.Language]:
4362
+ profile.language = g_param[OptionsDefine.Language]
4363
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4364
+ client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile)
4365
+ client._sdkVersion += ("_CLI_" + __version__)
4366
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4367
+ model = models.DescribeBatchModifyTagsStatusRequest()
4368
+ model.from_json_string(json.dumps(args))
4369
+ start_time = time.time()
4370
+ while True:
4371
+ rsp = client.DescribeBatchModifyTagsStatus(model)
4372
+ result = rsp.to_json_string()
4373
+ try:
4374
+ json_obj = json.loads(result)
4375
+ except TypeError as e:
4376
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4377
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4378
+ break
4379
+ cur_time = time.time()
4380
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4381
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4382
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4383
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4384
+ else:
4385
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4386
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4387
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4388
+
4389
+
4286
4390
  def doDeletePrometheusTemplate(args, parsed_globals):
4287
4391
  g_param = parse_global_arg(parsed_globals)
4288
4392
 
@@ -4803,7 +4907,7 @@ def doDescribeEdgeCVMInstances(args, parsed_globals):
4803
4907
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4804
4908
 
4805
4909
 
4806
- def doDescribeClusterLevelAttribute(args, parsed_globals):
4910
+ def doDescribeClusterControllers(args, parsed_globals):
4807
4911
  g_param = parse_global_arg(parsed_globals)
4808
4912
 
4809
4913
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -4832,11 +4936,11 @@ def doDescribeClusterLevelAttribute(args, parsed_globals):
4832
4936
  client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile)
4833
4937
  client._sdkVersion += ("_CLI_" + __version__)
4834
4938
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
4835
- model = models.DescribeClusterLevelAttributeRequest()
4939
+ model = models.DescribeClusterControllersRequest()
4836
4940
  model.from_json_string(json.dumps(args))
4837
4941
  start_time = time.time()
4838
4942
  while True:
4839
- rsp = client.DescribeClusterLevelAttribute(model)
4943
+ rsp = client.DescribeClusterControllers(model)
4840
4944
  result = rsp.to_json_string()
4841
4945
  try:
4842
4946
  json_obj = json.loads(result)
@@ -7923,7 +8027,7 @@ def doModifyPrometheusRecordRuleYaml(args, parsed_globals):
7923
8027
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
7924
8028
 
7925
8029
 
7926
- def doDescribeClusterControllers(args, parsed_globals):
8030
+ def doDescribeClusterLevelAttribute(args, parsed_globals):
7927
8031
  g_param = parse_global_arg(parsed_globals)
7928
8032
 
7929
8033
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -7952,11 +8056,11 @@ def doDescribeClusterControllers(args, parsed_globals):
7952
8056
  client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile)
7953
8057
  client._sdkVersion += ("_CLI_" + __version__)
7954
8058
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
7955
- model = models.DescribeClusterControllersRequest()
8059
+ model = models.DescribeClusterLevelAttributeRequest()
7956
8060
  model.from_json_string(json.dumps(args))
7957
8061
  start_time = time.time()
7958
8062
  while True:
7959
- rsp = client.DescribeClusterControllers(model)
8063
+ rsp = client.DescribeClusterLevelAttribute(model)
7960
8064
  result = rsp.to_json_string()
7961
8065
  try:
7962
8066
  json_obj = json.loads(result)
@@ -12295,6 +12399,7 @@ ACTION_MAP = {
12295
12399
  "AddNodeToNodePool": doAddNodeToNodePool,
12296
12400
  "ModifyReservedInstanceScope": doModifyReservedInstanceScope,
12297
12401
  "DescribeTKEEdgeExternalKubeconfig": doDescribeTKEEdgeExternalKubeconfig,
12402
+ "DescribeClusters": doDescribeClusters,
12298
12403
  "CreateCLSLogConfig": doCreateCLSLogConfig,
12299
12404
  "EnableClusterAudit": doEnableClusterAudit,
12300
12405
  "CreateBackupStorageLocation": doCreateBackupStorageLocation,
@@ -12331,9 +12436,10 @@ ACTION_MAP = {
12331
12436
  "DescribeClusterRouteTables": doDescribeClusterRouteTables,
12332
12437
  "DeleteEdgeCVMInstances": doDeleteEdgeCVMInstances,
12333
12438
  "DescribeEdgeLogSwitches": doDescribeEdgeLogSwitches,
12334
- "DescribeClusters": doDescribeClusters,
12439
+ "ModifyClusterTags": doModifyClusterTags,
12335
12440
  "DescribeClusterEndpointStatus": doDescribeClusterEndpointStatus,
12336
12441
  "CreateReservedInstances": doCreateReservedInstances,
12442
+ "DescribeBatchModifyTagsStatus": doDescribeBatchModifyTagsStatus,
12337
12443
  "DeletePrometheusTemplate": doDeletePrometheusTemplate,
12338
12444
  "DescribeRegions": doDescribeRegions,
12339
12445
  "DescribeReservedInstanceUtilizationRate": doDescribeReservedInstanceUtilizationRate,
@@ -12344,7 +12450,7 @@ ACTION_MAP = {
12344
12450
  "DeleteEKSContainerInstances": doDeleteEKSContainerInstances,
12345
12451
  "UninstallEdgeLogAgent": doUninstallEdgeLogAgent,
12346
12452
  "DescribeEdgeCVMInstances": doDescribeEdgeCVMInstances,
12347
- "DescribeClusterLevelAttribute": doDescribeClusterLevelAttribute,
12453
+ "DescribeClusterControllers": doDescribeClusterControllers,
12348
12454
  "DescribeAddonValues": doDescribeAddonValues,
12349
12455
  "AddClusterCIDR": doAddClusterCIDR,
12350
12456
  "CreateImageCache": doCreateImageCache,
@@ -12404,7 +12510,7 @@ ACTION_MAP = {
12404
12510
  "DeleteClusterInstances": doDeleteClusterInstances,
12405
12511
  "ModifyPrometheusTemp": doModifyPrometheusTemp,
12406
12512
  "ModifyPrometheusRecordRuleYaml": doModifyPrometheusRecordRuleYaml,
12407
- "DescribeClusterControllers": doDescribeClusterControllers,
12513
+ "DescribeClusterLevelAttribute": doDescribeClusterLevelAttribute,
12408
12514
  "DescribeClusterSecurity": doDescribeClusterSecurity,
12409
12515
  "RenewReservedInstances": doRenewReservedInstances,
12410
12516
  "CreatePrometheusTemplate": doCreatePrometheusTemplate,