tccli 3.0.1322.1__py2.py3-none-any.whl → 3.0.1323.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 (31) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/batch/v20170312/api.json +2 -2
  3. tccli/services/bi/v20220105/api.json +69 -1
  4. tccli/services/cbs/v20170312/api.json +1 -1
  5. tccli/services/cdb/v20170320/api.json +20 -0
  6. tccli/services/cdn/v20180606/api.json +1 -1
  7. tccli/services/cfw/v20190904/api.json +6 -6
  8. tccli/services/cfw/v20190904/examples.json +1 -1
  9. tccli/services/cloudapp/v20220530/api.json +10 -0
  10. tccli/services/cvm/v20170312/api.json +2 -2
  11. tccli/services/emr/emr_client.py +53 -0
  12. tccli/services/emr/v20190103/api.json +218 -0
  13. tccli/services/emr/v20190103/examples.json +8 -0
  14. tccli/services/gs/v20191118/api.json +10 -0
  15. tccli/services/gs/v20191118/examples.json +1 -1
  16. tccli/services/live/v20180801/api.json +1 -1
  17. tccli/services/lke/v20231130/api.json +2 -2
  18. tccli/services/sms/v20210111/api.json +1 -1
  19. tccli/services/tione/v20211111/api.json +1 -1
  20. tccli/services/trabbit/v20230418/api.json +20 -0
  21. tccli/services/trabbit/v20230418/examples.json +1 -1
  22. tccli/services/tse/v20201207/api.json +2 -2
  23. tccli/services/tsf/v20180326/api.json +12 -1
  24. tccli/services/vpc/v20170312/api.json +58 -0
  25. tccli/services/vpc/v20170312/examples.json +28 -0
  26. tccli/services/vpc/vpc_client.py +122 -16
  27. {tccli-3.0.1322.1.dist-info → tccli-3.0.1323.1.dist-info}/METADATA +2 -2
  28. {tccli-3.0.1322.1.dist-info → tccli-3.0.1323.1.dist-info}/RECORD +31 -31
  29. {tccli-3.0.1322.1.dist-info → tccli-3.0.1323.1.dist-info}/WHEEL +0 -0
  30. {tccli-3.0.1322.1.dist-info → tccli-3.0.1323.1.dist-info}/entry_points.txt +0 -0
  31. {tccli-3.0.1322.1.dist-info → tccli-3.0.1323.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1322.1'
1
+ __version__ = '3.0.1323.1'
@@ -4867,14 +4867,14 @@
4867
4867
  },
4868
4868
  {
4869
4869
  "disabled": false,
4870
- "document": "所属的独享集群ID",
4870
+ "document": "所属的独享集群ID。\n注意:此字段可能返回 null,表示取不到有效值。",
4871
4871
  "example": "cdc-xxxxxx",
4872
4872
  "member": "string",
4873
4873
  "name": "CdcId",
4874
4874
  "output_required": false,
4875
4875
  "required": false,
4876
4876
  "type": "string",
4877
- "value_allowed_null": false
4877
+ "value_allowed_null": true
4878
4878
  },
4879
4879
  {
4880
4880
  "disabled": false,
@@ -1445,9 +1445,19 @@
1445
1445
  "example": "1",
1446
1446
  "member": "int64",
1447
1447
  "name": "Id",
1448
- "required": true,
1448
+ "output_required": true,
1449
1449
  "type": "int",
1450
1450
  "value_allowed_null": false
1451
+ },
1452
+ {
1453
+ "disabled": false,
1454
+ "document": "url\n注意:此字段可能返回 null,表示取不到有效值。",
1455
+ "example": "http://",
1456
+ "member": "string",
1457
+ "name": "EditUrl",
1458
+ "output_required": false,
1459
+ "type": "string",
1460
+ "value_allowed_null": true
1451
1461
  }
1452
1462
  ],
1453
1463
  "usage": "out"
@@ -2887,6 +2897,24 @@
2887
2897
  "name": "RoleCode",
2888
2898
  "required": false,
2889
2899
  "type": "string"
2900
+ },
2901
+ {
2902
+ "disabled": false,
2903
+ "document": "用户id列表",
2904
+ "example": "[\"1111\",\"2222\"]",
2905
+ "member": "string",
2906
+ "name": "UserIdList",
2907
+ "required": false,
2908
+ "type": "list"
2909
+ },
2910
+ {
2911
+ "disabled": false,
2912
+ "document": "搜索关键词",
2913
+ "example": "搜索关键词",
2914
+ "member": "string",
2915
+ "name": "Keyword",
2916
+ "required": false,
2917
+ "type": "string"
2890
2918
  }
2891
2919
  ],
2892
2920
  "type": "object"
@@ -4720,6 +4748,46 @@
4720
4748
  "output_required": false,
4721
4749
  "type": "string",
4722
4750
  "value_allowed_null": true
4751
+ },
4752
+ {
4753
+ "disabled": false,
4754
+ "document": "仪表盘页面数\n注意:此字段可能返回 null,表示取不到有效值。",
4755
+ "example": "1",
4756
+ "member": "int64",
4757
+ "name": "NormalCount",
4758
+ "output_required": false,
4759
+ "type": "int",
4760
+ "value_allowed_null": true
4761
+ },
4762
+ {
4763
+ "disabled": false,
4764
+ "document": "自由画布页面数\n注意:此字段可能返回 null,表示取不到有效值。",
4765
+ "example": "1",
4766
+ "member": "int64",
4767
+ "name": "FreeCount",
4768
+ "output_required": false,
4769
+ "type": "int",
4770
+ "value_allowed_null": true
4771
+ },
4772
+ {
4773
+ "disabled": false,
4774
+ "document": "即席分析页面数\n注意:此字段可能返回 null,表示取不到有效值。",
4775
+ "example": "1",
4776
+ "member": "int64",
4777
+ "name": "AdhocCount",
4778
+ "output_required": false,
4779
+ "type": "int",
4780
+ "value_allowed_null": true
4781
+ },
4782
+ {
4783
+ "disabled": false,
4784
+ "document": "简报页面数\n注意:此字段可能返回 null,表示取不到有效值。",
4785
+ "example": "1",
4786
+ "member": "int64",
4787
+ "name": "BriefingCount",
4788
+ "output_required": false,
4789
+ "type": "int",
4790
+ "value_allowed_null": true
4723
4791
  }
4724
4792
  ],
4725
4793
  "usage": "out"
@@ -1523,7 +1523,7 @@
1523
1523
  },
1524
1524
  {
1525
1525
  "disabled": false,
1526
- "document": "云硬盘备份点ID。传入此参数时,将通过备份点创建快照。备份点 ID 可以通过[DescribeDiskBackups](document/product/362/80278)接口查询。",
1526
+ "document": "云硬盘备份点ID。传入此参数时,将通过备份点创建快照。备份点 ID 可以通过[DescribeDiskBackups](/document/product/362/80278)接口查询。",
1527
1527
  "example": "dbp-l7mxexxc",
1528
1528
  "member": "string",
1529
1529
  "name": "DiskBackupId",
@@ -9384,6 +9384,26 @@
9384
9384
  "type": "object",
9385
9385
  "value_allowed_null": true
9386
9386
  },
9387
+ {
9388
+ "disabled": false,
9389
+ "document": "按周期扩容策略。",
9390
+ "example": "无",
9391
+ "member": "PeriodStrategy",
9392
+ "name": "PeriodStrategy",
9393
+ "output_required": false,
9394
+ "type": "object",
9395
+ "value_allowed_null": false
9396
+ },
9397
+ {
9398
+ "disabled": false,
9399
+ "document": "按时间段扩容策略",
9400
+ "example": "无",
9401
+ "member": "TimeIntervalStrategy",
9402
+ "name": "TimeIntervalStrategy",
9403
+ "output_required": false,
9404
+ "type": "object",
9405
+ "value_allowed_null": false
9406
+ },
9387
9407
  {
9388
9408
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
9389
9409
  "member": "string",
@@ -5899,7 +5899,7 @@
5899
5899
  },
5900
5900
  {
5901
5901
  "disabled": false,
5902
- "document": "分页查询限制数目,默认为 100,最大可设置为 1000",
5902
+ "document": "分页查询限制数目,默认为 100,最大可设置为 100",
5903
5903
  "example": "1",
5904
5904
  "member": "int64",
5905
5905
  "name": "Limit",
@@ -9707,7 +9707,7 @@
9707
9707
  {
9708
9708
  "disabled": false,
9709
9709
  "document": "日志主题ID",
9710
- "example": "4463e7b0-3ec8-41a1-ae48-5d24b22167c2",
9710
+ "example": "cfw_netflow_border",
9711
9711
  "member": "string",
9712
9712
  "name": "TopicId",
9713
9713
  "output_required": false,
@@ -12760,7 +12760,7 @@
12760
12760
  {
12761
12761
  "disabled": false,
12762
12762
  "document": "日志主题ID\n注意:此字段可能返回 null,表示取不到有效值。",
12763
- "example": "682d0718-07bb-4ec0-xxxx-f1e9a2767e0b",
12763
+ "example": "cfw_netflow_border",
12764
12764
  "member": "string",
12765
12765
  "name": "TopicId",
12766
12766
  "output_required": false,
@@ -12796,7 +12796,7 @@
12796
12796
  {
12797
12797
  "disabled": false,
12798
12798
  "document": "日志主题ID",
12799
- "example": "682d0718-07bb-xxxx-9fda-f1e9a2767e0b",
12799
+ "example": "cfw_netflow_border",
12800
12800
  "member": "string",
12801
12801
  "name": "TopicId",
12802
12802
  "output_required": true,
@@ -12850,7 +12850,7 @@
12850
12850
  {
12851
12851
  "disabled": false,
12852
12852
  "document": "检索分析语句,最大长度为12KB\n语句由 <a href=\"https://cloud.tencent.com/document/product/614/47044\" target=\"_blank\">[检索条件]</a> | <a href=\"https://cloud.tencent.com/document/product/614/44061\" target=\"_blank\">[SQL语句]</a>构成,无需对日志进行统计分析时,可省略其中的管道符<code> | </code>及SQL语句\n使用*或空字符串可查询所有日志",
12853
- "example": "http_status:200",
12853
+ "example": "protocol:HTTP",
12854
12854
  "member": "string",
12855
12855
  "name": "Query",
12856
12856
  "required": true,
@@ -12867,8 +12867,8 @@
12867
12867
  },
12868
12868
  {
12869
12869
  "disabled": false,
12870
- "document": "- 要检索分析的日志主题ID,仅能指定一个日志主题。\n- 如需同时检索多个日志主题,请使用Topics参数。\n- TopicId 和 Topics 不能同时使用,在一次请求中有且只能选择一个。",
12871
- "example": "682d0718-07bb-4ec0-9fda-f1e9a2767e0b",
12870
+ "document": "- 要检索分析的日志主题ID,仅能指定一个日志主题。\n- 如需同时检索多个日志主题,请使用Topics参数。\n- TopicId 和 Topics 不能同时使用,在一次请求中有且只能选择一个。\n各日志主题ID如下\n访问控制-互联网边界 cfw_rule_acl\n访问控制-NAT边界 cfw_rule_nat_acl\n访问控制-VPC边界 cfw_rule_vpc_acl\n访问控制-DNS开关 cfw_rule_dns_acl\n入侵防御 cfw_rule_threatinfo\n全流量检测与响应日志-流量分析 cfw_netflow_nta\n全流量检测与响应日志-流量告警 cfw_rule_ndr_threatinfo\n零信任运维-数据库登录 cfw_operate_db\n零信任运维-服务器访问 operate_remote_om\n零信任运维-Web服务访问 operate_web_access\n零信任运维-行为审计 remoteom_commands\n流量日志-互联网边界 cfw_netflow_border\n流量日志-NAT边界 cfw_netflow_nat\n流量日志-VPC边界 cfw_netflow_vpc\n流量日志-DNS开关 cfw_netflow_dns\n流量日志-内网流量 cfw_netflow_fl\n操作日志 operate_log_all",
12871
+ "example": "cfw_netflow_border",
12872
12872
  "member": "string",
12873
12873
  "name": "TopicId",
12874
12874
  "required": false,
@@ -924,7 +924,7 @@
924
924
  {
925
925
  "document": "查询http响应状态码(http_code)为200的日志",
926
926
  "input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchLog\n<公共请求参数>\n\n{\n \"TopicId\": \"601c2a87-ca8e-49c9-xxxx-27286a970db5\",\n \"From\": 1679901909686,\n \"To\": 1679902809686,\n \"Query\": \"http_code:\\\"200\\\"\",\n \"Limit\": 1,\n \"Sort\": \"desc\",\n \"UseNewAnalysis\": true,\n \"SyntaxRule\": 1\n}",
927
- "output": "{\n \"Response\": {\n \"Context\": \"Y29udGV4dC0zZDVmZGI2NC1jNDZkLTQ2NzktYWM2OC1jYzg2NjUxYmVlMWExNjc5OTAyODEwNDM0\",\n \"ListOver\": false,\n \"Analysis\": false,\n \"ColNames\": [],\n \"Columns\": null,\n \"Results\": [\n {\n \"Time\": 1679902806070,\n \"TopicId\": \"601c2a87-ca8e-49c9-xxxx-27286a970db5\",\n \"TopicName\": \"CDN Demo访问日志日志主题_10000100xxxx\",\n \"Source\": \"\",\n \"FileName\": \"\",\n \"HostName\": \"\",\n \"PkgId\": \"\",\n \"PkgLogId\": \"\",\n \"LogJson\": \"{\\\"referer\\\":\\\"http://qwunsag.2022.qq.com/prizes?activity_code=AVGCHaQFX02Eb\\\",\\\"method\\\":\\\"GET\\\",\\\"isp\\\":\\\"中国联通\\\",\\\"remote_port\\\":\\\"45088\\\",\\\"ua\\\":\\\"Mozilla/5.0 (Linux; Android 9; INE-AL00 Build/HUAWEIINE-AL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.99 XWEB/3211 MMWEBSDK/20210601 Mobile Safari/537.36 MMWEBID/6389 MicroMessenger/8.0.11.1980(0x28000B5B) Process/toolsmp WeChat/arm64 Weixin NetType/WIFI Language/zh_CN ABI/arm64\\\",\\\"uuid\\\":\\\"acf1010c853f4a24bb3e92cc34e283e2\\\",\\\"version\\\":\\\"1\\\",\\\"file_size\\\":\\\"186358\\\",\\\"url\\\":\\\"/loxtxt/979884858.png\\\",\\\"request_range\\\":\\\"-\\\",\\\"rsp_size\\\":\\\"186830\\\",\\\"hit\\\":\\\"hit\\\",\\\"request_time\\\":\\\"2808\\\",\\\"http_code\\\":\\\"200\\\",\\\"param\\\":\\\"-\\\",\\\"sys_address\\\":\\\"9.130.154.208\\\",\\\"proto\\\":\\\"HTTPS\\\",\\\"host\\\":\\\"test.2022.cls.cn\\\",\\\"sys_datasource\\\":\\\"cq.3.4.v1.2.17\\\",\\\"client_ip\\\":\\\"116.116.247.167\\\",\\\"time\\\":\\\"1679902806070\\\",\\\"app_id\\\":\\\"1302700768\\\",\\\"prov\\\":\\\"内蒙古自治区\\\",\\\"timestamp\\\":\\\"2023-03-27T15:40:06+08:00\\\"}\",\n \"RawLog\": \"\",\n \"IndexStatus\": \"\"\n }\n ],\n \"AnalysisResults\": [],\n \"AnalysisRecords\": null,\n \"RequestId\": \"79f593e5-1374-4463-xxxx-c49d0b3c5290\",\n \"SamplingRate\": 0,\n \"Topics\": null\n }\n}",
927
+ "output": "{\n \"Response\": {\n \"Context\": \"Y29udGV4dC0zZDVmZGI2NC1jNDZkLTQ2NzktYWM2OC1jYzg2NjUxYmVlMWExNjc5OTAyODEwNDM0\",\n \"ListOver\": false,\n \"Analysis\": false,\n \"ColNames\": [],\n \"Columns\": [],\n \"Results\": [\n {\n \"Time\": 1679902806070,\n \"TopicId\": \"601c2a87-ca8e-49c9-xxxx-27286a970db5\",\n \"TopicName\": \"CDN Demo访问日志日志主题_10000100xxxx\",\n \"Source\": \"\",\n \"FileName\": \"\",\n \"HostName\": \"\",\n \"PkgId\": \"\",\n \"PkgLogId\": \"\",\n \"LogJson\": \"{\\\"referer\\\":\\\"http://qwunsag.2022.qq.com/prizes?activity_code=AVGCHaQFX02Eb\\\",\\\"method\\\":\\\"GET\\\",\\\"isp\\\":\\\"中国联通\\\",\\\"remote_port\\\":\\\"45088\\\",\\\"ua\\\":\\\"Mozilla/5.0 (Linux; Android 9; INE-AL00 Build/HUAWEIINE-AL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.99 XWEB/3211 MMWEBSDK/20210601 Mobile Safari/537.36 MMWEBID/6389 MicroMessenger/8.0.11.1980(0x28000B5B) Process/toolsmp WeChat/arm64 Weixin NetType/WIFI Language/zh_CN ABI/arm64\\\",\\\"uuid\\\":\\\"acf1010c853f4a24bb3e92cc34e283e2\\\",\\\"version\\\":\\\"1\\\",\\\"file_size\\\":\\\"186358\\\",\\\"url\\\":\\\"/loxtxt/979884858.png\\\",\\\"request_range\\\":\\\"-\\\",\\\"rsp_size\\\":\\\"186830\\\",\\\"hit\\\":\\\"hit\\\",\\\"request_time\\\":\\\"2808\\\",\\\"http_code\\\":\\\"200\\\",\\\"param\\\":\\\"-\\\",\\\"sys_address\\\":\\\"9.130.154.208\\\",\\\"proto\\\":\\\"HTTPS\\\",\\\"host\\\":\\\"test.2022.cls.cn\\\",\\\"sys_datasource\\\":\\\"cq.3.4.v1.2.17\\\",\\\"client_ip\\\":\\\"116.116.247.167\\\",\\\"time\\\":\\\"1679902806070\\\",\\\"app_id\\\":\\\"1302700768\\\",\\\"prov\\\":\\\"内蒙古自治区\\\",\\\"timestamp\\\":\\\"2023-03-27T15:40:06+08:00\\\"}\",\n \"RawLog\": \"\",\n \"IndexStatus\": \"\"\n }\n ],\n \"AnalysisResults\": [],\n \"AnalysisRecords\": [],\n \"RequestId\": \"79f593e5-1374-4463-xxxx-c49d0b3c5290\",\n \"SamplingRate\": 0\n }\n}",
928
928
  "title": "查询日志"
929
929
  }
930
930
  ],
@@ -187,6 +187,16 @@
187
187
  "output_required": true,
188
188
  "type": "string",
189
189
  "value_allowed_null": false
190
+ },
191
+ {
192
+ "disabled": false,
193
+ "document": "授权的层级:Master 主授权;Child 子授权/增强型授权",
194
+ "example": "Master",
195
+ "member": "string",
196
+ "name": "LicenseLevel",
197
+ "output_required": false,
198
+ "type": "string",
199
+ "value_allowed_null": false
190
200
  }
191
201
  ],
192
202
  "usage": "out"
@@ -12394,14 +12394,14 @@
12394
12394
  },
12395
12395
  {
12396
12396
  "disabled": false,
12397
- "document": "所属的独享集群ID",
12397
+ "document": "所属的独享集群ID。\n注意:此字段可能返回 null,表示取不到有效值。",
12398
12398
  "example": "cdc-xxxxxx",
12399
12399
  "member": "string",
12400
12400
  "name": "CdcId",
12401
12401
  "output_required": false,
12402
12402
  "required": false,
12403
12403
  "type": "string",
12404
- "value_allowed_null": false
12404
+ "value_allowed_null": true
12405
12405
  },
12406
12406
  {
12407
12407
  "disabled": false,
@@ -3813,6 +3813,58 @@ def doDescribeInstancesList(args, parsed_globals):
3813
3813
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3814
3814
 
3815
3815
 
3816
+ def doDescribeGroupsSTD(args, parsed_globals):
3817
+ g_param = parse_global_arg(parsed_globals)
3818
+
3819
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
3820
+ cred = credential.CVMRoleCredential()
3821
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
3822
+ cred = credential.STSAssumeRoleCredential(
3823
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
3824
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
3825
+ )
3826
+ 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):
3827
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
3828
+ else:
3829
+ cred = credential.Credential(
3830
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
3831
+ )
3832
+ http_profile = HttpProfile(
3833
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
3834
+ reqMethod="POST",
3835
+ endpoint=g_param[OptionsDefine.Endpoint],
3836
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
3837
+ )
3838
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
3839
+ if g_param[OptionsDefine.Language]:
3840
+ profile.language = g_param[OptionsDefine.Language]
3841
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
3842
+ client = mod.EmrClient(cred, g_param[OptionsDefine.Region], profile)
3843
+ client._sdkVersion += ("_CLI_" + __version__)
3844
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
3845
+ model = models.DescribeGroupsSTDRequest()
3846
+ model.from_json_string(json.dumps(args))
3847
+ start_time = time.time()
3848
+ while True:
3849
+ rsp = client.DescribeGroupsSTD(model)
3850
+ result = rsp.to_json_string()
3851
+ try:
3852
+ json_obj = json.loads(result)
3853
+ except TypeError as e:
3854
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
3855
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
3856
+ break
3857
+ cur_time = time.time()
3858
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
3859
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
3860
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
3861
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
3862
+ else:
3863
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
3864
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
3865
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3866
+
3867
+
3816
3868
  def doDeleteGroupsSTD(args, parsed_globals):
3817
3869
  g_param = parse_global_arg(parsed_globals)
3818
3870
 
@@ -4469,6 +4521,7 @@ ACTION_MAP = {
4469
4521
  "DescribeClusterNodes": doDescribeClusterNodes,
4470
4522
  "DescribeYarnScheduleHistory": doDescribeYarnScheduleHistory,
4471
4523
  "DescribeInstancesList": doDescribeInstancesList,
4524
+ "DescribeGroupsSTD": doDescribeGroupsSTD,
4472
4525
  "DeleteGroupsSTD": doDeleteGroupsSTD,
4473
4526
  "ModifyResourcePools": doModifyResourcePools,
4474
4527
  "DescribeInsightList": doDescribeInsightList,
@@ -168,6 +168,13 @@
168
168
  "output": "DescribeGlobalConfigResponse",
169
169
  "status": "online"
170
170
  },
171
+ "DescribeGroupsSTD": {
172
+ "document": "查询用户组",
173
+ "input": "DescribeGroupsSTDRequest",
174
+ "name": "用户管理-查询用户组",
175
+ "output": "DescribeGroupsSTDResponse",
176
+ "status": "online"
177
+ },
171
178
  "DescribeHBaseTableOverview": {
172
179
  "document": "获取Hbase表级监控数据概览接口",
173
180
  "input": "DescribeHBaseTableOverviewRequest",
@@ -5261,6 +5268,89 @@
5261
5268
  ],
5262
5269
  "type": "object"
5263
5270
  },
5271
+ "DescribeGroupsSTDRequest": {
5272
+ "document": "DescribeGroupsSTD请求参数结构体",
5273
+ "members": [
5274
+ {
5275
+ "disabled": false,
5276
+ "document": "集群名称",
5277
+ "example": "emr-mzkssfla",
5278
+ "member": "string",
5279
+ "name": "InstanceId",
5280
+ "required": true,
5281
+ "type": "string"
5282
+ },
5283
+ {
5284
+ "disabled": false,
5285
+ "document": "描述键值对过滤器,用于条件过滤查询",
5286
+ "example": "无",
5287
+ "member": "Filter",
5288
+ "name": "Filters",
5289
+ "required": false,
5290
+ "type": "list"
5291
+ },
5292
+ {
5293
+ "disabled": false,
5294
+ "document": "描述排序,用于排序",
5295
+ "example": "无",
5296
+ "member": "Order",
5297
+ "name": "OrderFields",
5298
+ "required": false,
5299
+ "type": "object"
5300
+ },
5301
+ {
5302
+ "disabled": false,
5303
+ "document": "返回数量",
5304
+ "example": "10",
5305
+ "member": "int64",
5306
+ "name": "Limit",
5307
+ "required": false,
5308
+ "type": "int"
5309
+ },
5310
+ {
5311
+ "disabled": false,
5312
+ "document": "分页参数",
5313
+ "example": "100",
5314
+ "member": "int64",
5315
+ "name": "Offset",
5316
+ "required": false,
5317
+ "type": "int"
5318
+ }
5319
+ ],
5320
+ "type": "object"
5321
+ },
5322
+ "DescribeGroupsSTDResponse": {
5323
+ "document": "DescribeGroupsSTD返回参数结构体",
5324
+ "members": [
5325
+ {
5326
+ "disabled": false,
5327
+ "document": "用户组信息",
5328
+ "example": "无",
5329
+ "member": "GroupInfos",
5330
+ "name": "Data",
5331
+ "output_required": false,
5332
+ "type": "list",
5333
+ "value_allowed_null": false
5334
+ },
5335
+ {
5336
+ "disabled": false,
5337
+ "document": "符合条件的用户组数量",
5338
+ "example": "11",
5339
+ "member": "int64",
5340
+ "name": "TotalCount",
5341
+ "output_required": false,
5342
+ "type": "int",
5343
+ "value_allowed_null": false
5344
+ },
5345
+ {
5346
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
5347
+ "member": "string",
5348
+ "name": "RequestId",
5349
+ "type": "string"
5350
+ }
5351
+ ],
5352
+ "type": "object"
5353
+ },
5264
5354
  "DescribeHBaseTableOverviewRequest": {
5265
5355
  "document": "DescribeHBaseTableOverview请求参数结构体",
5266
5356
  "members": [
@@ -8935,6 +9025,34 @@
8935
9025
  ],
8936
9026
  "usage": "out"
8937
9027
  },
9028
+ "Filter": {
9029
+ "document": "键值对过滤器,用于条件过滤查询.",
9030
+ "members": [
9031
+ {
9032
+ "disabled": false,
9033
+ "document": "需要过滤的字段。",
9034
+ "example": "groupName",
9035
+ "member": "string",
9036
+ "name": "Name",
9037
+ "output_required": false,
9038
+ "required": false,
9039
+ "type": "string",
9040
+ "value_allowed_null": false
9041
+ },
9042
+ {
9043
+ "disabled": false,
9044
+ "document": "字段的过滤值。",
9045
+ "example": "nametest",
9046
+ "member": "string",
9047
+ "name": "Values",
9048
+ "output_required": false,
9049
+ "required": false,
9050
+ "type": "list",
9051
+ "value_allowed_null": false
9052
+ }
9053
+ ],
9054
+ "usage": "both"
9055
+ },
8938
9056
  "Filters": {
8939
9057
  "document": "Emr集群列表实例自定义查询过滤",
8940
9058
  "members": [
@@ -9124,6 +9242,78 @@
9124
9242
  ],
9125
9243
  "usage": "both"
9126
9244
  },
9245
+ "GroupInfos": {
9246
+ "document": "用户组信息",
9247
+ "members": [
9248
+ {
9249
+ "disabled": false,
9250
+ "document": "用户组名称",
9251
+ "example": "nameTest",
9252
+ "member": "string",
9253
+ "name": "GroupName",
9254
+ "output_required": false,
9255
+ "required": false,
9256
+ "type": "string",
9257
+ "value_allowed_null": false
9258
+ },
9259
+ {
9260
+ "disabled": false,
9261
+ "document": "用户名称列表",
9262
+ "example": "无",
9263
+ "member": "string",
9264
+ "name": "Users",
9265
+ "output_required": false,
9266
+ "required": false,
9267
+ "type": "list",
9268
+ "value_allowed_null": false
9269
+ },
9270
+ {
9271
+ "disabled": false,
9272
+ "document": "备注",
9273
+ "example": "系统组",
9274
+ "member": "string",
9275
+ "name": "Description",
9276
+ "output_required": false,
9277
+ "required": false,
9278
+ "type": "string",
9279
+ "value_allowed_null": false
9280
+ },
9281
+ {
9282
+ "disabled": false,
9283
+ "document": "创建时间",
9284
+ "example": "2024-7-13",
9285
+ "member": "string",
9286
+ "name": "CreateTime",
9287
+ "output_required": false,
9288
+ "required": false,
9289
+ "type": "string",
9290
+ "value_allowed_null": false
9291
+ },
9292
+ {
9293
+ "disabled": false,
9294
+ "document": "用户组类型",
9295
+ "example": "1",
9296
+ "member": "int64",
9297
+ "name": "GroupType",
9298
+ "output_required": false,
9299
+ "required": false,
9300
+ "type": "int",
9301
+ "value_allowed_null": false
9302
+ },
9303
+ {
9304
+ "disabled": false,
9305
+ "document": "用户组类型描述",
9306
+ "example": "系统用户组",
9307
+ "member": "string",
9308
+ "name": "GroupTypeDesc",
9309
+ "output_required": false,
9310
+ "required": false,
9311
+ "type": "string",
9312
+ "value_allowed_null": false
9313
+ }
9314
+ ],
9315
+ "usage": "both"
9316
+ },
9127
9317
  "HealthStatus": {
9128
9318
  "document": "进程健康状态",
9129
9319
  "members": [
@@ -13918,6 +14108,34 @@
13918
14108
  ],
13919
14109
  "usage": "both"
13920
14110
  },
14111
+ "Order": {
14112
+ "document": "描述排序,用于排序.",
14113
+ "members": [
14114
+ {
14115
+ "disabled": false,
14116
+ "document": "排序字段。",
14117
+ "example": "create_time",
14118
+ "member": "string",
14119
+ "name": "Name",
14120
+ "output_required": false,
14121
+ "required": false,
14122
+ "type": "string",
14123
+ "value_allowed_null": false
14124
+ },
14125
+ {
14126
+ "disabled": false,
14127
+ "document": "Desc or Asc。",
14128
+ "example": "asc",
14129
+ "member": "string",
14130
+ "name": "Direction",
14131
+ "output_required": false,
14132
+ "required": false,
14133
+ "type": "string",
14134
+ "value_allowed_null": false
14135
+ }
14136
+ ],
14137
+ "usage": "both"
14138
+ },
13921
14139
  "OutterResource": {
13922
14140
  "document": "资源详情",
13923
14141
  "members": [
@@ -192,6 +192,14 @@
192
192
  "title": "查询YARN资源调度的全局配置"
193
193
  }
194
194
  ],
195
+ "DescribeGroupsSTD": [
196
+ {
197
+ "document": "",
198
+ "input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGroupsSTD\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-mzkssfla\"\n}",
199
+ "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"CreateTime\": \"2025-05-14 21:46:04\",\n \"GroupName\": \"test2\",\n \"GroupType\": 2,\n \"GroupTypeDesc\": \"NormalUserGroup\",\n \"Users\": []\n },\n {\n \"CreateTime\": \"2025-05-14 21:46:04\",\n \"GroupName\": \"group2\",\n \"GroupType\": 2,\n \"GroupTypeDesc\": \"NormalUserGroup\",\n \"Users\": []\n },\n {\n \"CreateTime\": \"2025-05-14 15:39:50\",\n \"GroupName\": \"jianpan-1\",\n \"GroupType\": 2,\n \"GroupTypeDesc\": \"NormalUserGroup\",\n \"Users\": [\n \"a3\"\n ]\n },\n {\n \"CreateTime\": \"2025-05-14 15:39:50\",\n \"GroupName\": \"jianpan-test\",\n \"GroupType\": 2,\n \"GroupTypeDesc\": \"NormalUserGroup\",\n \"Users\": [\n \"a4\",\n \"a1\"\n ]\n },\n {\n \"CreateTime\": \"2025-05-14 13:59:11\",\n \"GroupName\": \"user4\",\n \"GroupType\": 2,\n \"GroupTypeDesc\": \"NormalUserGroup\",\n \"Users\": [\n \"a3\",\n \"a4\"\n ]\n },\n {\n \"CreateTime\": \"2025-05-14 13:59:11\",\n \"GroupName\": \"user3\",\n \"GroupType\": 2,\n \"GroupTypeDesc\": \"NormalUserGroup\",\n \"Users\": [\n \"a3\"\n ]\n },\n {\n \"CreateTime\": \"2025-05-14 13:59:11\",\n \"GroupName\": \"user2\",\n \"GroupType\": 2,\n \"GroupTypeDesc\": \"NormalUserGroup\",\n \"Users\": [\n \"a3\"\n ]\n },\n {\n \"CreateTime\": \"2025-05-14 13:58:47\",\n \"GroupName\": \"odinlli1\",\n \"GroupType\": 2,\n \"GroupTypeDesc\": \"NormalUserGroup\",\n \"Users\": [\n \"a1\"\n ]\n },\n {\n \"CreateTime\": \"2025-05-14 13:58:47\",\n \"GroupName\": \"odinlli4\",\n \"GroupType\": 2,\n \"GroupTypeDesc\": \"NormalUserGroup\",\n \"Users\": []\n },\n {\n \"CreateTime\": \"2025-05-14 13:58:47\",\n \"GroupName\": \"odinlli3\",\n \"GroupType\": 2,\n \"GroupTypeDesc\": \"NormalUserGroup\",\n \"Users\": []\n },\n {\n \"CreateTime\": \"2025-05-14 13:58:47\",\n \"GroupName\": \"odinlli2\",\n \"GroupType\": 2,\n \"GroupTypeDesc\": \"NormalUserGroup\",\n \"Users\": []\n }\n ],\n \"RequestId\": \"a7d952a8-7fe6-461c-b59c-9ae3d7d427d0\",\n \"TotalCount\": 11\n }\n}",
200
+ "title": "查询用户组信息"
201
+ }
202
+ ],
195
203
  "DescribeHBaseTableOverview": [
196
204
  {
197
205
  "document": "",
@@ -1586,6 +1586,16 @@
1586
1586
  "type": "string",
1587
1587
  "value_allowed_null": false
1588
1588
  },
1589
+ {
1590
+ "disabled": false,
1591
+ "document": "访问链接,可以直接使用此链接访问 WebShell",
1592
+ "example": "https://ex-cloud-gaming.crtrcloud.com/cloud_gaming_web/webterm/index.html?container=xxx&shell-key=xxxx&shell-addr=ap-shenzhen-1.webssh.crtrcloud.com",
1593
+ "member": "string",
1594
+ "name": "ConnectUrl",
1595
+ "output_required": false,
1596
+ "type": "string",
1597
+ "value_allowed_null": false
1598
+ },
1589
1599
  {
1590
1600
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
1591
1601
  "member": "string",
@@ -74,7 +74,7 @@
74
74
  {
75
75
  "document": "",
76
76
  "input": "POST / HTTP/1.1\nHost: gs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAndroidInstanceWebShell\n<公共请求参数>\n\n{\n \"AndroidInstanceId\": \"cai-123456-abc\"\n}",
77
- "output": "{\n \"Response\": {\n \"Key\": \"key-01\",\n \"Address\": \"ap-shenzhen-1.webssh.crtrcloud.com\",\n \"Zone\": \"ap-shenzhen-1\",\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
77
+ "output": "{\n \"Response\": {\n \"Key\": \"key-01\",\n \"Address\": \"ap-shenzhen-1.webssh.crtrcloud.com\",\n \"Zone\": \"ap-shenzhen-1\",\n \"ConnectUrl\": \"https://ex-cloud-gaming.crtrcloud.com/cloud_gaming_web/webterm/index.html?container=xxx&shell-key=xxxx&shell-addr=ap-shenzhen-1.webssh.crtrcloud.com\",\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
78
78
  "title": "创建安卓实例 WebShell 连接"
79
79
  }
80
80
  ],
@@ -18726,7 +18726,7 @@
18726
18726
  },
18727
18727
  {
18728
18728
  "disabled": false,
18729
- "document": "存储至 cos 的 bucket 桶名称。\n注意:此字段可能返回 null,表示取不到有效值。",
18729
+ "document": "存储至 cos 的 bucket 桶名称。\n注:CosBucketName参数值不能包含-[appid] 部分。\n注意:此字段可能返回 null,表示取不到有效值。",
18730
18730
  "example": "bucket",
18731
18731
  "member": "string",
18732
18732
  "name": "CosBucketName",