tccli 3.0.1315.1__py2.py3-none-any.whl → 3.0.1317.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.
Files changed (62) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/batch/v20170312/api.json +1 -1
  3. tccli/services/bh/v20230418/api.json +2 -2
  4. tccli/services/cbs/v20170312/api.json +108 -98
  5. tccli/services/cbs/v20170312/examples.json +12 -12
  6. tccli/services/cdb/v20170320/api.json +41 -28
  7. tccli/services/cdb/v20170320/examples.json +12 -0
  8. tccli/services/cdwdoris/v20211228/api.json +20 -0
  9. tccli/services/cfs/v20190719/api.json +39 -39
  10. tccli/services/cfs/v20190719/examples.json +10 -10
  11. tccli/services/cfw/v20190904/api.json +4 -4
  12. tccli/services/cvm/v20170312/api.json +22 -22
  13. tccli/services/cvm/v20170312/examples.json +1 -1
  14. tccli/services/cynosdb/v20190107/api.json +163 -4
  15. tccli/services/dnspod/v20210323/api.json +102 -82
  16. tccli/services/dnspod/v20210323/examples.json +28 -28
  17. tccli/services/domain/v20180808/api.json +10 -10
  18. tccli/services/domain/v20180808/examples.json +1 -1
  19. tccli/services/emr/v20190103/api.json +10 -0
  20. tccli/services/es/v20180416/api.json +49 -0
  21. tccli/services/ess/ess_client.py +53 -0
  22. tccli/services/ess/v20201111/api.json +111 -11
  23. tccli/services/ess/v20201111/examples.json +9 -1
  24. tccli/services/essbasic/v20210526/api.json +25 -7
  25. tccli/services/essbasic/v20210526/examples.json +10 -4
  26. tccli/services/gs/v20191118/api.json +22 -0
  27. tccli/services/hai/v20230812/api.json +59 -59
  28. tccli/services/hai/v20230812/examples.json +6 -6
  29. tccli/services/lke/v20231130/api.json +412 -18
  30. tccli/services/lkeap/lkeap_client.py +53 -53
  31. tccli/services/lkeap/v20240522/api.json +90 -70
  32. tccli/services/lkeap/v20240522/examples.json +8 -8
  33. tccli/services/mps/v20190612/api.json +163 -0
  34. tccli/services/mps/v20190612/examples.json +1 -1
  35. tccli/services/mrs/v20200910/api.json +30 -0
  36. tccli/services/postgres/postgres_client.py +24 -183
  37. tccli/services/postgres/v20170312/api.json +0 -157
  38. tccli/services/postgres/v20170312/examples.json +0 -36
  39. tccli/services/privatedns/v20201028/api.json +6 -6
  40. tccli/services/privatedns/v20201028/examples.json +2 -2
  41. tccli/services/pts/v20210728/api.json +10 -0
  42. tccli/services/ssl/v20191205/api.json +4 -4
  43. tccli/services/tbaas/v20180416/api.json +3 -3
  44. tccli/services/tbaas/v20180416/examples.json +1 -1
  45. tccli/services/tcbr/v20220217/api.json +16 -16
  46. tccli/services/teo/v20220901/api.json +39 -11
  47. tccli/services/teo/v20220901/examples.json +1 -1
  48. tccli/services/tke/tke_client.py +8 -61
  49. tccli/services/tke/v20180525/api.json +16 -114
  50. tccli/services/tke/v20180525/examples.json +0 -8
  51. tccli/services/tke/v20220501/api.json +61 -1
  52. tccli/services/tke/v20220501/examples.json +1 -1
  53. tccli/services/tms/v20201229/api.json +27 -8
  54. tccli/services/tms/v20201229/examples.json +2 -2
  55. tccli/services/vpc/v20170312/api.json +12 -12
  56. tccli/services/vpc/v20170312/examples.json +2 -2
  57. tccli/services/waf/v20180125/api.json +78 -22
  58. {tccli-3.0.1315.1.dist-info → tccli-3.0.1317.1.dist-info}/METADATA +2 -2
  59. {tccli-3.0.1315.1.dist-info → tccli-3.0.1317.1.dist-info}/RECORD +62 -62
  60. {tccli-3.0.1315.1.dist-info → tccli-3.0.1317.1.dist-info}/WHEEL +0 -0
  61. {tccli-3.0.1315.1.dist-info → tccli-3.0.1317.1.dist-info}/entry_points.txt +0 -0
  62. {tccli-3.0.1315.1.dist-info → tccli-3.0.1317.1.dist-info}/license_files/LICENSE +0 -0
@@ -36,7 +36,7 @@
36
36
  "status": "online"
37
37
  },
38
38
  "CreateAliasDomain": {
39
- "document": "创建别称域名。",
39
+ "document": "创建别称域名。\n该功能仅企业版套餐支持,并且该功能当前仍在内测中,如需使用,请[联系我们](https://cloud.tencent.com/online-service?from=connect-us)。",
40
40
  "input": "CreateAliasDomainRequest",
41
41
  "name": "创建别称域名",
42
42
  "output": "CreateAliasDomainResponse",
@@ -211,7 +211,7 @@
211
211
  "status": "online"
212
212
  },
213
213
  "DeleteAliasDomain": {
214
- "document": "删除别称域名。",
214
+ "document": "删除别称域名。\n该功能仅企业版套餐支持,并且该功能当前仍在内测中,如需使用,请[联系我们](https://cloud.tencent.com/online-service?from=connect-us)。",
215
215
  "input": "DeleteAliasDomainRequest",
216
216
  "name": "删除别称域名",
217
217
  "output": "DeleteAliasDomainResponse",
@@ -351,7 +351,7 @@
351
351
  "status": "online"
352
352
  },
353
353
  "DescribeAliasDomains": {
354
- "document": "查询别称域名信息列表。",
354
+ "document": "查询别称域名信息列表。\n该功能仅企业版套餐支持,并且该功能当前仍在内测中,如需使用,请[联系我们](https://cloud.tencent.com/online-service?from=connect-us)。",
355
355
  "input": "DescribeAliasDomainsRequest",
356
356
  "name": "查询别称域名信息列表",
357
357
  "output": "DescribeAliasDomainsResponse",
@@ -764,14 +764,14 @@
764
764
  "status": "online"
765
765
  },
766
766
  "ModifyAliasDomain": {
767
- "document": "修改别称域名。",
767
+ "document": "修改别称域名。\n该功能仅企业版套餐支持,并且该功能当前仍在内测中,如需使用,请[联系我们](https://cloud.tencent.com/online-service?from=connect-us)。",
768
768
  "input": "ModifyAliasDomainRequest",
769
769
  "name": "修改别称域名",
770
770
  "output": "ModifyAliasDomainResponse",
771
771
  "status": "online"
772
772
  },
773
773
  "ModifyAliasDomainStatus": {
774
- "document": "修改别称域名状态。",
774
+ "document": "修改别称域名状态。\n该功能仅企业版套餐支持,并且该功能当前仍在内测中,如需使用,请[联系我们](https://cloud.tencent.com/online-service?from=connect-us)。",
775
775
  "input": "ModifyAliasDomainStatusRequest",
776
776
  "name": "修改别称域名状态",
777
777
  "output": "ModifyAliasDomainStatusResponse",
@@ -5613,6 +5613,15 @@
5613
5613
  "name": "Headers",
5614
5614
  "required": false,
5615
5615
  "type": "list"
5616
+ },
5617
+ {
5618
+ "disabled": false,
5619
+ "document": "媒体分片预热控制,取值有:\n<li>on:开启分片预热,预热描述文件,并递归解析描述文件分片进行预热;</li>\n<li>off:仅预热提交的描述文件;</li>不填写时,默认值为 off。\n\n注意事项:\n1. 支持的描述文件为 M3U8,对应分片为 TS;\n2. 要求描述文件能正常请求,并按行业标准描述分片路径;\n3. 递归解析深度不超过 3 层;\n4. 解析获取的分片会正常累加每日预热用量,当用量超出配额时,会静默处理,不再执行预热。\n\n该参数为白名单功能,如有需要,请联系腾讯云工程师处理。",
5620
+ "example": "off",
5621
+ "member": "string",
5622
+ "name": "PrefetchMediaSegments",
5623
+ "required": false,
5624
+ "type": "string"
5616
5625
  }
5617
5626
  ],
5618
5627
  "type": "object"
@@ -16874,7 +16883,7 @@
16874
16883
  },
16875
16884
  {
16876
16885
  "disabled": false,
16877
- "document": "HTTP 回源端口,取值范围 1~65535。该参数仅当回源协议 OriginProtocol 为 http 或者 follow 时生效。",
16886
+ "document": "HTTP 回源端口,取值范围 1~65535。当回源协议 OriginProtocol 为 http 或者 follow 时该参数必填。",
16878
16887
  "example": "80",
16879
16888
  "member": "int64",
16880
16889
  "name": "HTTPOriginPort",
@@ -16885,7 +16894,7 @@
16885
16894
  },
16886
16895
  {
16887
16896
  "disabled": false,
16888
- "document": "HTTPS 回源端口,取值范围 1~65535。该参数仅当回源协议 OriginProtocol 为 https 或者 follow 时生效。",
16897
+ "document": "HTTPS 回源端口,取值范围 1~65535。当回源协议 OriginProtocol 为 https 或者 follow 时该参数必填。",
16889
16898
  "example": "443",
16890
16899
  "member": "int64",
16891
16900
  "name": "HTTPSOriginPort",
@@ -16896,7 +16905,7 @@
16896
16905
  },
16897
16906
  {
16898
16907
  "disabled": false,
16899
- "document": "指定是否允许访问私有对象存储源站,该参数仅当源站类型 OriginType = COS 或 AWSS3 时会生效,取值有:\n<li>on:使用私有鉴权;</li>\n<li>off:不使用私有鉴权。</li>不填写时,默认值为off。",
16908
+ "document": "指定是否允许访问私有对象存储源站,当源站类型 OriginType = COS 或 AWSS3 时该参数必填,取值有:\n<li>on:使用私有鉴权;</li>\n<li>off:不使用私有鉴权。</li>",
16900
16909
  "example": "on",
16901
16910
  "member": "string",
16902
16911
  "name": "PrivateAccess",
@@ -17899,6 +17908,16 @@
17899
17908
  "type": "list",
17900
17909
  "value_allowed_null": true
17901
17910
  },
17911
+ {
17912
+ "disabled": false,
17913
+ "document": "当前配置的回源 HOST 头。",
17914
+ "example": "www.tencentcloud.com\t",
17915
+ "member": "string",
17916
+ "name": "HostHeader",
17917
+ "output_required": false,
17918
+ "type": "string",
17919
+ "value_allowed_null": false
17920
+ },
17902
17921
  {
17903
17922
  "disabled": true,
17904
17923
  "document": "MO 子应用 ID",
@@ -18264,6 +18283,15 @@
18264
18283
  "required": false,
18265
18284
  "type": "list"
18266
18285
  },
18286
+ {
18287
+ "disabled": false,
18288
+ "document": "自定义回源 HOST 头,该参数仅当 OriginType=IP_DOMAIN 时生效。\n如果 OriginType=COS 或 AWS_S3 时,回源 HOST 头将与源站域名保持一致。\n如果OriginType=ORIGIN_GROUP 或 LB 时,回源 HOST 头遵循源站组内配置,如果没有配置则默认为加速域名。\n如果 OriginType=VOD 或 SPACE 时,无需配置该头部,按对应的回源域名生效。",
18289
+ "example": "www.tencentcloud.com",
18290
+ "member": "string",
18291
+ "name": "HostHeader",
18292
+ "required": false,
18293
+ "type": "string"
18294
+ },
18267
18295
  {
18268
18296
  "disabled": true,
18269
18297
  "document": "VODEO 子应用 ID。该参数当 OriginType = VODEO 时必填。",
@@ -20336,7 +20364,7 @@
20336
20364
  "members": [
20337
20365
  {
20338
20366
  "disabled": false,
20339
- "document": "操作名称。名称需要与参数结构体对应,例如 Name=Cache,则 CacheParameters 必填。\n<li>Cache:节点缓存 TTL;</li>\n<li>CacheKey:自定义 Cache Key;</li>\n<li>CachePrefresh:缓存预刷新;</li>\n<li>AccessURLRedirect:访问 URL 重定向;</li>\n<li>UpstreamURLRewrite:回源 URL 重写;</li>\n<li>QUIC:QUIC;</li>\n<li>WebSocket:WebSocket;</li>\n<li>Authentication:Token 鉴权;</li>\n<li>MaxAge:浏览器缓存 TTL;</li>\n<li>StatusCodeCache:状态码缓存 TTL;</li>\n<li>OfflineCache:离线缓存;</li>\n<li>SmartRouting:智能加速;</li>\n<li>RangeOriginPull:分片回源 ;</li>\n<li>UpstreamHTTP2:HTTP2 回源;</li>\n<li>HostHeader:Host Header 重写;</li>\n<li>ForceRedirectHTTPS:访问协议强制 HTTPS 跳转配置;</li>\n<li>OriginPullProtocol:回源 HTTPS;</li>\n<li>Compression:智能压缩配置;</li>\n<li>HSTS:HSTS;</li>\n<li>ClientIPHeader:存储客户端请求 IP 的头部信息配置;</li>\n<li>OCSPStapling:OCSP 装订;</li>\n<li>HTTP2:HTTP2 接入;</li>\n<li>PostMaxSize:POST 请求上传文件流式传输最大限制配置;</li>\n<li>ClientIPCountry:回源时携带客户端 IP 所属地域信息;</li>\n<li>UpstreamFollowRedirect:回源跟随重定向参数配置;</li>\n<li>UpstreamRequest:回源请求参数;</li>\n<li>TLSConfig:SSL/TLS 安全;</li>\n<li>ModifyOrigin:修改源站;</li>\n<li>HTTPUpstreamTimeout:七层回源超时配置;</li>\n<li>HttpResponse:HTTP 应答;</li>\n<li>ErrorPage:自定义错误页面;</li>\n<li>ModifyResponseHeader:修改 HTTP 节点响应头;</li>\n<li>ModifyRequestHeader:修改 HTTP 节点请求头;</li>\n<li>ResponseSpeedLimit:单连接下载限速;</li>\n<li>SetContentIdentifier:设置内容标识符;</li>\n<li>Vary:Vary 特性配置。该功能灰度中,如需使用,请联系腾讯云客服。</li>",
20367
+ "document": "操作名称。名称需要与参数结构体对应,例如 Name=Cache,则 CacheParameters 必填。\n<li>Cache:节点缓存 TTL;</li>\n<li>CacheKey:自定义 Cache Key;</li>\n<li>CachePrefresh:缓存预刷新;</li>\n<li>AccessURLRedirect:访问 URL 重定向;</li>\n<li>UpstreamURLRewrite:回源 URL 重写;</li>\n<li>QUIC:QUIC;</li>\n<li>WebSocket:WebSocket;</li>\n<li>Authentication:Token 鉴权;</li>\n<li>MaxAge:浏览器缓存 TTL;</li>\n<li>StatusCodeCache:状态码缓存 TTL;</li>\n<li>OfflineCache:离线缓存;</li>\n<li>SmartRouting:智能加速;</li>\n<li>RangeOriginPull:分片回源 ;</li>\n<li>UpstreamHTTP2:HTTP2 回源;</li>\n<li>HostHeader:Host Header 重写;</li>\n<li>ForceRedirectHTTPS:访问协议强制 HTTPS 跳转配置;</li>\n<li>OriginPullProtocol:回源 HTTPS;</li>\n<li>Compression:智能压缩配置;</li>\n<li>HSTS:HSTS;</li>\n<li>ClientIPHeader:存储客户端请求 IP 的头部信息配置;</li>\n<li>OCSPStapling:OCSP 装订;</li>\n<li>HTTP2:HTTP2 接入;</li>\n<li>PostMaxSize:POST 请求上传文件流式传输最大限制配置;</li>\n<li>ClientIPCountry:回源时携带客户端 IP 所属地域信息;</li>\n<li>UpstreamFollowRedirect:回源跟随重定向参数配置;</li>\n<li>UpstreamRequest:回源请求参数;</li>\n<li>TLSConfig:SSL/TLS 安全;</li>\n<li>ModifyOrigin:修改源站;</li>\n<li>HTTPUpstreamTimeout:七层回源超时配置;</li>\n<li>HttpResponse:HTTP 应答;</li>\n<li>ErrorPage:自定义错误页面;</li>\n<li>ModifyResponseHeader:修改 HTTP 节点响应头;</li>\n<li>ModifyRequestHeader:修改 HTTP 节点请求头;</li>\n<li>ResponseSpeedLimit:单连接下载限速;</li>\n<li>SetContentIdentifier:设置内容标识符;</li>\n<li>Vary:Vary 特性配置。</li>",
20340
20368
  "example": "Cache",
20341
20369
  "member": "string",
20342
20370
  "name": "Name",
@@ -20721,7 +20749,7 @@
20721
20749
  },
20722
20750
  {
20723
20751
  "disabled": false,
20724
- "document": "Vary 特性配置参数,当 Name 取值为 Vary 时,该参数必填。\n该功能灰度中,如需使用,请联系腾讯云客服。",
20752
+ "document": "Vary 特性配置参数,当 Name 取值为 Vary 时,该参数必填。",
20725
20753
  "example": "无",
20726
20754
  "member": "VaryParameters",
20727
20755
  "name": "VaryParameters",
@@ -22858,7 +22886,7 @@
22858
22886
  "usage": "out"
22859
22887
  },
22860
22888
  "VaryParameters": {
22861
- "document": "[Vary 特性](https://cloud.tencent.com/document/product/1552/89301) 配置参数。\n该功能灰度中,如需使用,请联系腾讯云客服。",
22889
+ "document": "[Vary 特性](https://cloud.tencent.com/document/product/1552/89301) 配置参数。",
22862
22890
  "members": [
22863
22891
  {
22864
22892
  "disabled": false,
@@ -552,7 +552,7 @@
552
552
  {
553
553
  "document": "查询指定 zone-id 下源站类型为 IP_DOMAIN 的所有加速域名的信息,并将结果按照创建时间降序排列。",
554
554
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccelerationDomains\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-20hyebgyfsko\",\n \"Filters\": [\n {\n \"Fuzzy\": true,\n \"Values\": [\n \"IP_DOMAIN\"\n ],\n \"Name\": \"origin-type\"\n }\n ],\n \"Direction\": \"desc\",\n \"Order\": \"created_on\",\n \"Match\": \"all\"\n}",
555
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"AccelerationDomains\": [\n {\n \"ZoneId\": \"zone-20hyebgyfsko\",\n \"DomainName\": \"www.qq.com\",\n \"DomainStatus\": \"online\",\n \"OriginDetail\": {\n \"OriginType\": \"IP_DOMAIN\",\n \"Origin\": \"origin.qq.com\",\n \"BackupOrigin\": \"\",\n \"PrivateParameters\": [],\n \"PrivateAccess\": \"\",\n \"OriginGroupName\": \"\",\n \"BackOriginGroupName\": \"\"\n },\n \"Certificate\": {\n \"Mode\": \"sslcert\",\n \"List\": [\n {\n \"CertId\": \"J2JqATrsx\"\n }\n ],\n \"ClientCertInfo\": {\n \"Switch\": \"on\",\n \"CertInfos\": [\n {\n \"CertId\": \"J2JqATrsx\"\n }\n ]\n },\n \"UpstreamCertInfo\": {\n \"UpstreamMutualTLS\": {\n \"Switch\": \"on\",\n \"CertInfos\": [\n {\n \"CertId\": \"J2JqATrsx\"\n }\n ]\n }\n }\n },\n \"IdentificationStatus\": \"finished\",\n \"Cname\": \"www.qq.com.eo.dnse3.com\",\n \"CreatedOn\": \"2020-09-22T00:00:00+00:00\",\n \"ModifiedOn\": \"2020-09-22T00:00:00+00:00\"\n }\n ],\n \"RequestId\": \"5e5a0d0f-52f3-4bad-9bd3-dcf1d5c954e7\"\n }\n}",
555
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"AccelerationDomains\": [\n {\n \"ZoneId\": \"zone-20hyebgyfsko\",\n \"DomainName\": \"www.qq.com\",\n \"DomainStatus\": \"online\",\n \"OriginDetail\": {\n \"OriginType\": \"IP_DOMAIN\",\n \"HostHeader\": null,\n \"Origin\": \"origin.qq.com\",\n \"BackupOrigin\": \"\",\n \"PrivateParameters\": [],\n \"PrivateAccess\": \"\",\n \"OriginGroupName\": \"\",\n \"BackOriginGroupName\": \"\"\n },\n \"Certificate\": {\n \"Mode\": \"sslcert\",\n \"List\": [\n {\n \"CertId\": \"J2JqATrsx\"\n }\n ],\n \"ClientCertInfo\": {\n \"Switch\": \"on\",\n \"CertInfos\": [\n {\n \"CertId\": \"J2JqATrsx\"\n }\n ]\n },\n \"UpstreamCertInfo\": {\n \"UpstreamMutualTLS\": {\n \"Switch\": \"on\",\n \"CertInfos\": [\n {\n \"CertId\": \"J2JqATrsx\"\n }\n ]\n }\n }\n },\n \"IdentificationStatus\": \"finished\",\n \"Cname\": \"www.qq.com.eo.dnse3.com\",\n \"CreatedOn\": \"2020-09-22T00:00:00+00:00\",\n \"ModifiedOn\": \"2020-09-22T00:00:00+00:00\"\n }\n ],\n \"RequestId\": \"5e5a0d0f-52f3-4bad-9bd3-dcf1d5c954e7\"\n }\n}",
556
556
  "title": "查询指定站点下的域名信息"
557
557
  }
558
558
  ],
@@ -3139,7 +3139,7 @@ def doInstallAddon(args, parsed_globals):
3139
3139
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3140
3140
 
3141
3141
 
3142
- def doForwardApplicationRequestV3(args, parsed_globals):
3142
+ def doDeleteECMInstances(args, parsed_globals):
3143
3143
  g_param = parse_global_arg(parsed_globals)
3144
3144
 
3145
3145
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3168,11 +3168,11 @@ def doForwardApplicationRequestV3(args, parsed_globals):
3168
3168
  client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile)
3169
3169
  client._sdkVersion += ("_CLI_" + __version__)
3170
3170
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3171
- model = models.ForwardApplicationRequestV3Request()
3171
+ model = models.DeleteECMInstancesRequest()
3172
3172
  model.from_json_string(json.dumps(args))
3173
3173
  start_time = time.time()
3174
3174
  while True:
3175
- rsp = client.ForwardApplicationRequestV3(model)
3175
+ rsp = client.DeleteECMInstances(model)
3176
3176
  result = rsp.to_json_string()
3177
3177
  try:
3178
3178
  json_obj = json.loads(result)
@@ -7715,7 +7715,7 @@ def doModifyPrometheusGlobalNotification(args, parsed_globals):
7715
7715
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
7716
7716
 
7717
7717
 
7718
- def doDeleteECMInstances(args, parsed_globals):
7718
+ def doDescribeClusterStatus(args, parsed_globals):
7719
7719
  g_param = parse_global_arg(parsed_globals)
7720
7720
 
7721
7721
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -7744,11 +7744,11 @@ def doDeleteECMInstances(args, parsed_globals):
7744
7744
  client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile)
7745
7745
  client._sdkVersion += ("_CLI_" + __version__)
7746
7746
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
7747
- model = models.DeleteECMInstancesRequest()
7747
+ model = models.DescribeClusterStatusRequest()
7748
7748
  model.from_json_string(json.dumps(args))
7749
7749
  start_time = time.time()
7750
7750
  while True:
7751
- rsp = client.DeleteECMInstances(model)
7751
+ rsp = client.DescribeClusterStatus(model)
7752
7752
  result = rsp.to_json_string()
7753
7753
  try:
7754
7754
  json_obj = json.loads(result)
@@ -10991,58 +10991,6 @@ def doCreatePrometheusRecordRuleYaml(args, parsed_globals):
10991
10991
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
10992
10992
 
10993
10993
 
10994
- def doDescribeClusterStatus(args, parsed_globals):
10995
- g_param = parse_global_arg(parsed_globals)
10996
-
10997
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
10998
- cred = credential.CVMRoleCredential()
10999
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
11000
- cred = credential.STSAssumeRoleCredential(
11001
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
11002
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
11003
- )
11004
- 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):
11005
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
11006
- else:
11007
- cred = credential.Credential(
11008
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
11009
- )
11010
- http_profile = HttpProfile(
11011
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
11012
- reqMethod="POST",
11013
- endpoint=g_param[OptionsDefine.Endpoint],
11014
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
11015
- )
11016
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
11017
- if g_param[OptionsDefine.Language]:
11018
- profile.language = g_param[OptionsDefine.Language]
11019
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
11020
- client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile)
11021
- client._sdkVersion += ("_CLI_" + __version__)
11022
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
11023
- model = models.DescribeClusterStatusRequest()
11024
- model.from_json_string(json.dumps(args))
11025
- start_time = time.time()
11026
- while True:
11027
- rsp = client.DescribeClusterStatus(model)
11028
- result = rsp.to_json_string()
11029
- try:
11030
- json_obj = json.loads(result)
11031
- except TypeError as e:
11032
- json_obj = json.loads(result.decode('utf-8')) # python3.3
11033
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
11034
- break
11035
- cur_time = time.time()
11036
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
11037
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
11038
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
11039
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
11040
- else:
11041
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
11042
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
11043
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
11044
-
11045
-
11046
10994
  def doDescribeClusterInspectionResultsOverview(args, parsed_globals):
11047
10995
  g_param = parse_global_arg(parsed_globals)
11048
10996
 
@@ -12676,7 +12624,7 @@ ACTION_MAP = {
12676
12624
  "DescribeClusterAuthenticationOptions": doDescribeClusterAuthenticationOptions,
12677
12625
  "DescribeLogConfigs": doDescribeLogConfigs,
12678
12626
  "InstallAddon": doInstallAddon,
12679
- "ForwardApplicationRequestV3": doForwardApplicationRequestV3,
12627
+ "DeleteECMInstances": doDeleteECMInstances,
12680
12628
  "StartMachines": doStartMachines,
12681
12629
  "DeletePrometheusTemp": doDeletePrometheusTemp,
12682
12630
  "DeletePrometheusTemplateSync": doDeletePrometheusTemplateSync,
@@ -12764,7 +12712,7 @@ ACTION_MAP = {
12764
12712
  "CreateClusterEndpoint": doCreateClusterEndpoint,
12765
12713
  "ListClusterInspectionResults": doListClusterInspectionResults,
12766
12714
  "ModifyPrometheusGlobalNotification": doModifyPrometheusGlobalNotification,
12767
- "DeleteECMInstances": doDeleteECMInstances,
12715
+ "DescribeClusterStatus": doDescribeClusterStatus,
12768
12716
  "DescribePrometheusAgentInstances": doDescribePrometheusAgentInstances,
12769
12717
  "ScaleOutClusterMaster": doScaleOutClusterMaster,
12770
12718
  "DeleteHealthCheckPolicy": doDeleteHealthCheckPolicy,
@@ -12827,7 +12775,6 @@ ACTION_MAP = {
12827
12775
  "InstallEdgeLogAgent": doInstallEdgeLogAgent,
12828
12776
  "UpdateClusterVersion": doUpdateClusterVersion,
12829
12777
  "CreatePrometheusRecordRuleYaml": doCreatePrometheusRecordRuleYaml,
12830
- "DescribeClusterStatus": doDescribeClusterStatus,
12831
12778
  "DescribeClusterInspectionResultsOverview": doDescribeClusterInspectionResultsOverview,
12832
12779
  "DescribePrometheusTemplates": doDescribePrometheusTemplates,
12833
12780
  "DeletePrometheusConfig": doDeletePrometheusConfig,
@@ -1211,13 +1211,6 @@
1211
1211
  "output": "EnableVpcCniNetworkTypeResponse",
1212
1212
  "status": "online"
1213
1213
  },
1214
- "ForwardApplicationRequestV3": {
1215
- "document": "操作TKE集群的addon",
1216
- "input": "ForwardApplicationRequestV3Request",
1217
- "name": "操作TKE集群的addon",
1218
- "output": "ForwardApplicationRequestV3Response",
1219
- "status": "online"
1220
- },
1221
1214
  "ForwardTKEEdgeApplicationRequestV3": {
1222
1215
  "document": "操作TKEEdge集群的addon",
1223
1216
  "input": "ForwardTKEEdgeApplicationRequestV3Request",
@@ -1707,7 +1700,7 @@
1707
1700
  {
1708
1701
  "disabled": false,
1709
1702
  "document": "实例额外需要设置参数信息(默认值)",
1710
- "example": "{\"MountTarget\":\"/data\",\"DockerGraphPath\":\"/data/docker\",\"Unschedulable\":0,\"DataDisks\":[{\"FileSystem\":\"xfs\",\"AutoFormatAndMount\":true,\"MountTarget\":\"/data\",\"DiskPartition\":\"/dev/vdb\"}],\"ExtraArgs\":{\"Kubelet\":[\"root-dir=/data/kubelet\",\"eviction-hard=memory.available<500Mi\",\"feature-gates=VolumeSubpathEnvExpansion=true\",\"kube-reserved=cpu=264m,memory=1000Mi\",\"system-reserved=cpu=110m,memory=1000Mi\",\"cpu-manager-policy=static\"]}}",
1703
+ "example": "{\"MountTarget\":\"/data\",\"DockerGraphPath\":\"/data/docker\",\"Unschedulable\":0,\"DataDisks\":[{\"FileSystem\":\"xfs\",\"AutoFormatAndMount\":true,\"MountTarget\":\"/data\",\"DiskPartition\":\"/dev/vdb\"}],\"ExtraArgs\":{\"Kubelet\":[\"root-dir=/data/kubelet\"]}}",
1711
1704
  "member": "InstanceAdvancedSettings",
1712
1705
  "name": "InstanceAdvancedSettings",
1713
1706
  "required": false,
@@ -1752,7 +1745,7 @@
1752
1745
  {
1753
1746
  "disabled": false,
1754
1747
  "document": "节点池选项",
1755
- "example": "{\"AddToNodePool\":true,\"NodePoolId\":\"np-hzfuue8h\",\"InheritConfigurationFromNodePool\":true}}",
1748
+ "example": "{\"AddToNodePool\":true,\"NodePoolId\":\"np-hzfuue8h\",\"InheritConfigurationFromNodePool\":true}",
1756
1749
  "member": "NodePoolOption",
1757
1750
  "name": "NodePool",
1758
1751
  "required": false,
@@ -1794,7 +1787,7 @@
1794
1787
  {
1795
1788
  "disabled": false,
1796
1789
  "document": "失败的节点ID\n注意:此字段可能返回 null,表示取不到有效值。",
1797
- "example": "[",
1790
+ "example": "[\"ins-4z4055z4\",\"ins-jz4005a6\"]",
1798
1791
  "member": "string",
1799
1792
  "name": "FailedInstanceIds",
1800
1793
  "output_required": true,
@@ -1804,7 +1797,7 @@
1804
1797
  {
1805
1798
  "disabled": false,
1806
1799
  "document": "成功的节点ID\n注意:此字段可能返回 null,表示取不到有效值。",
1807
- "example": "[",
1800
+ "example": "[\"ins-4z4055z4\",\"ins-jz4005a6\"]",
1808
1801
  "member": "string",
1809
1802
  "name": "SuccInstanceIds",
1810
1803
  "output_required": true,
@@ -1814,7 +1807,7 @@
1814
1807
  {
1815
1808
  "disabled": false,
1816
1809
  "document": "超时未返回出来节点的ID(可能失败,也可能成功)\n注意:此字段可能返回 null,表示取不到有效值。",
1817
- "example": "[",
1810
+ "example": "[\"ins-4z4055z4\",\"ins-jz4005a6\"]",
1818
1811
  "member": "string",
1819
1812
  "name": "TimeoutInstanceIds",
1820
1813
  "output_required": true,
@@ -1824,7 +1817,7 @@
1824
1817
  {
1825
1818
  "disabled": false,
1826
1819
  "document": "失败的节点的失败原因\n注意:此字段可能返回 null,表示取不到有效值。",
1827
- "example": "[",
1820
+ "example": "[\"instance id not found\"]",
1828
1821
  "member": "string",
1829
1822
  "name": "FailedReasons",
1830
1823
  "output_required": true,
@@ -16534,97 +16527,6 @@
16534
16527
  ],
16535
16528
  "usage": "in"
16536
16529
  },
16537
- "ForwardApplicationRequestV3Request": {
16538
- "document": "ForwardApplicationRequestV3请求参数结构体",
16539
- "members": [
16540
- {
16541
- "disabled": false,
16542
- "document": "请求集群addon的访问",
16543
- "example": "GET",
16544
- "member": "string",
16545
- "name": "Method",
16546
- "required": true,
16547
- "type": "string"
16548
- },
16549
- {
16550
- "disabled": false,
16551
- "document": "请求集群addon的路径",
16552
- "example": "\"/apis/application.tkestack.io/v1/namespaces/cls-0975tg3b/apps/cbs\"",
16553
- "member": "string",
16554
- "name": "Path",
16555
- "required": true,
16556
- "type": "string"
16557
- },
16558
- {
16559
- "disabled": false,
16560
- "document": "请求集群addon后允许接收的数据格式",
16561
- "example": "\"application/json\"",
16562
- "member": "string",
16563
- "name": "Accept",
16564
- "required": false,
16565
- "type": "string"
16566
- },
16567
- {
16568
- "disabled": false,
16569
- "document": "请求集群addon的数据格式",
16570
- "example": "\"application/merge-patch+json\"",
16571
- "member": "string",
16572
- "name": "ContentType",
16573
- "required": false,
16574
- "type": "string"
16575
- },
16576
- {
16577
- "disabled": false,
16578
- "document": "请求集群addon的数据",
16579
- "example": "{\"kind\":\"App\",\"spec\":{}}",
16580
- "member": "string",
16581
- "name": "RequestBody",
16582
- "required": false,
16583
- "type": "string"
16584
- },
16585
- {
16586
- "disabled": false,
16587
- "document": "集群名称",
16588
- "example": "\"cls-0975tg3b\"",
16589
- "member": "string",
16590
- "name": "ClusterName",
16591
- "required": false,
16592
- "type": "string"
16593
- },
16594
- {
16595
- "disabled": false,
16596
- "document": "是否编码请求内容",
16597
- "example": "e30K",
16598
- "member": "string",
16599
- "name": "EncodedBody",
16600
- "required": false,
16601
- "type": "string"
16602
- }
16603
- ],
16604
- "type": "object"
16605
- },
16606
- "ForwardApplicationRequestV3Response": {
16607
- "document": "ForwardApplicationRequestV3返回参数结构体",
16608
- "members": [
16609
- {
16610
- "disabled": false,
16611
- "document": "请求集群addon后返回的数据",
16612
- "example": "{\"kind\":\"App\",\"spec\":{}}",
16613
- "member": "string",
16614
- "name": "ResponseBody",
16615
- "output_required": true,
16616
- "type": "string",
16617
- "value_allowed_null": false
16618
- },
16619
- {
16620
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
16621
- "member": "string",
16622
- "name": "RequestId",
16623
- "type": "string"
16624
- }
16625
- ],
16626
- "type": "object"
16627
- },
16628
16530
  "ForwardTKEEdgeApplicationRequestV3Request": {
16629
16531
  "document": "ForwardTKEEdgeApplicationRequestV3请求参数结构体",
16630
16532
  "members": [
@@ -20540,24 +20442,24 @@
20540
20442
  "members": [
20541
20443
  {
20542
20444
  "disabled": false,
20543
- "document": "策略实例名称",
20544
- "example": "block-namespace-deletion-rule",
20545
- "member": "string",
20546
- "name": "Name",
20445
+ "document": "策略实例关联事件数",
20446
+ "example": "3",
20447
+ "member": "uint64",
20448
+ "name": "EventNums",
20547
20449
  "output_required": false,
20548
20450
  "required": false,
20549
- "type": "string",
20451
+ "type": "int",
20550
20452
  "value_allowed_null": false
20551
20453
  },
20552
20454
  {
20553
20455
  "disabled": false,
20554
- "document": "策略实例关联事件数",
20555
- "example": "3",
20556
- "member": "uint64",
20557
- "name": "EventNums",
20456
+ "document": "策略实例名称",
20457
+ "example": "block-namespace-deletion-rule",
20458
+ "member": "string",
20459
+ "name": "Name",
20558
20460
  "output_required": false,
20559
20461
  "required": false,
20560
- "type": "int",
20462
+ "type": "string",
20561
20463
  "value_allowed_null": false
20562
20464
  },
20563
20465
  {
@@ -1504,14 +1504,6 @@
1504
1504
  "title": "启用vpc-cni网络"
1505
1505
  }
1506
1506
  ],
1507
- "ForwardApplicationRequestV3": [
1508
- {
1509
- "document": "",
1510
- "input": "https://tke.tencentcloudapi.com/?Action=ForwardApplicationRequestV3\n&Method=GET\n&Path=/apis/application.tkestack.io/v1/namespaces/cls-gk7cm35k/apps/\n&ClusterName=cls-gk7cm35k\n&<公共请求参数>",
1511
- "output": "{\n \"Response\": {\n \"ResponseBody\": \"{\\\"kind\\\":\\\"App\\\"}\",\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
1512
- "title": "操作TKE集群的addon"
1513
- }
1514
- ],
1515
1507
  "ForwardTKEEdgeApplicationRequestV3": [
1516
1508
  {
1517
1509
  "document": "",
@@ -2377,7 +2377,7 @@
2377
2377
  },
2378
2378
  {
2379
2379
  "disabled": false,
2380
- "document": "节点计费模式(已弃用)",
2380
+ "document": "节点计费模式",
2381
2381
  "example": "POSTPAID_BY_HOUR",
2382
2382
  "member": "string",
2383
2383
  "name": "PayMode",
@@ -2395,6 +2395,16 @@
2395
2395
  "type": "int",
2396
2396
  "value_allowed_null": false
2397
2397
  },
2398
+ {
2399
+ "disabled": false,
2400
+ "document": "节点系统盘配置信息",
2401
+ "example": "无",
2402
+ "member": "Disk",
2403
+ "name": "SystemDisk",
2404
+ "output_required": true,
2405
+ "type": "object",
2406
+ "value_allowed_null": false
2407
+ },
2398
2408
  {
2399
2409
  "disabled": false,
2400
2410
  "document": "公网带宽相关信息设置",
@@ -2445,6 +2455,46 @@
2445
2455
  "type": "string",
2446
2456
  "value_allowed_null": true
2447
2457
  },
2458
+ {
2459
+ "disabled": false,
2460
+ "document": "节点外网 IP\n注意:此字段可能返回 null,表示取不到有效值。",
2461
+ "example": "1.1.1.1",
2462
+ "member": "string",
2463
+ "name": "WanIp",
2464
+ "output_required": true,
2465
+ "type": "string",
2466
+ "value_allowed_null": true
2467
+ },
2468
+ {
2469
+ "disabled": false,
2470
+ "document": "节点密钥 ID 列表\n注意:此字段可能返回 null,表示取不到有效值。",
2471
+ "example": "[\"key-l6gtb5p0\"]",
2472
+ "member": "string",
2473
+ "name": "KeyIds",
2474
+ "output_required": true,
2475
+ "type": "list",
2476
+ "value_allowed_null": true
2477
+ },
2478
+ {
2479
+ "disabled": false,
2480
+ "document": "节点GPU相关配置\n注意:此字段可能返回 null,表示取不到有效值。",
2481
+ "example": "无",
2482
+ "member": "GPUParams",
2483
+ "name": "GPUParams",
2484
+ "output_required": true,
2485
+ "type": "object",
2486
+ "value_allowed_null": true
2487
+ },
2488
+ {
2489
+ "disabled": false,
2490
+ "document": "数据盘列表\n注意:此字段可能返回 null,表示取不到有效值。",
2491
+ "example": "无",
2492
+ "member": "DataDisk",
2493
+ "name": "DataDisks",
2494
+ "output_required": true,
2495
+ "type": "list",
2496
+ "value_allowed_null": true
2497
+ },
2448
2498
  {
2449
2499
  "disabled": false,
2450
2500
  "document": "安全组列表\n注意:此字段可能返回 null,表示取不到有效值。",
@@ -2485,6 +2535,16 @@
2485
2535
  "type": "string",
2486
2536
  "value_allowed_null": true
2487
2537
  },
2538
+ {
2539
+ "disabled": false,
2540
+ "document": "**原生节点的 Machine 类型**\n\n- Native 表示 CXM 类型的原生节点\n- NativeCVM 表示 CVM 类型的原生节点",
2541
+ "example": "Native, NativeCVM",
2542
+ "member": "string",
2543
+ "name": "MachineType",
2544
+ "output_required": false,
2545
+ "type": "string",
2546
+ "value_allowed_null": false
2547
+ },
2488
2548
  {
2489
2549
  "disabled": false,
2490
2550
  "document": "**原生节点对应的实例 ID**\n\n- ins-q47ofw6 表示这个实例是一个 CVM 的实例\n- eks-f8mvyaep 表示这个实例是一个 CXM 的实例\n注意:此字段可能返回 null,表示取不到有效值。",