tccli 3.0.1216.1__py2.py3-none-any.whl → 3.0.1217.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/argparser.py +1 -1
- tccli/command.py +2 -2
- tccli/credentials.py +25 -0
- tccli/main.py +6 -2
- tccli/plugins/sso/__init__.py +61 -0
- tccli/plugins/sso/configs.py +4 -0
- tccli/plugins/sso/configure.py +45 -0
- tccli/plugins/sso/login.py +144 -0
- tccli/plugins/sso/logout.py +21 -0
- tccli/plugins/sso/terminal.py +161 -0
- tccli/plugins/sso/texts.py +40 -0
- tccli/services/__init__.py +6 -0
- tccli/services/acp/v20220105/api.json +7 -7
- tccli/services/acp/v20220105/examples.json +2 -2
- tccli/services/aiart/v20221229/api.json +29 -29
- tccli/services/aiart/v20221229/examples.json +8 -8
- tccli/services/apigateway/v20180808/api.json +18 -17
- tccli/services/apigateway/v20180808/examples.json +12 -12
- tccli/services/apm/v20210622/api.json +98 -4
- tccli/services/asr/v20190614/api.json +18 -17
- tccli/services/asr/v20190614/examples.json +13 -13
- tccli/services/autoscaling/v20180419/api.json +371 -309
- tccli/services/autoscaling/v20180419/examples.json +17 -17
- tccli/services/batch/v20170312/api.json +7 -7
- tccli/services/bda/v20200324/api.json +39 -31
- tccli/services/bda/v20200324/examples.json +9 -9
- tccli/services/bh/__init__.py +4 -0
- tccli/services/bh/bh_client.py +3428 -0
- tccli/services/bh/v20230418/api.json +8180 -0
- tccli/services/bh/v20230418/examples.json +519 -0
- tccli/services/bi/v20220105/api.json +48 -0
- tccli/services/billing/v20180709/api.json +26 -24
- tccli/services/bsca/v20210811/api.json +1 -1
- tccli/services/btoe/v20210514/api.json +4 -4
- tccli/services/btoe/v20210514/examples.json +2 -2
- tccli/services/ca/v20230228/api.json +60 -0
- tccli/services/cam/v20190116/api.json +11 -11
- tccli/services/cat/v20180409/api.json +9 -0
- tccli/services/cbs/v20170312/api.json +200 -188
- tccli/services/cbs/v20170312/examples.json +4 -4
- tccli/services/ccc/v20200210/api.json +390 -323
- tccli/services/ccc/v20200210/examples.json +15 -15
- tccli/services/cdb/cdb_client.py +13 -13
- tccli/services/cdb/v20170320/api.json +295 -270
- tccli/services/cdb/v20170320/examples.json +38 -38
- tccli/services/cdc/v20201214/api.json +283 -270
- tccli/services/cdc/v20201214/examples.json +26 -26
- tccli/services/cds/v20180420/api.json +82 -76
- tccli/services/cds/v20180420/examples.json +1 -1
- tccli/services/cdwch/v20200915/api.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +42 -2
- tccli/services/cdz/v20221123/api.json +41 -5
- tccli/services/cfg/v20210820/api.json +31 -0
- tccli/services/cfs/v20190719/api.json +89 -1
- tccli/services/cfs/v20190719/examples.json +1 -1
- tccli/services/cfw/cfw_client.py +0 -53
- tccli/services/cfw/v20190904/api.json +1849 -1999
- tccli/services/cfw/v20190904/examples.json +157 -159
- tccli/services/ckafka/v20190819/api.json +104 -75
- tccli/services/clb/v20180317/api.json +48 -26
- tccli/services/clb/v20180317/examples.json +1 -1
- tccli/services/cloudapp/v20220530/api.json +5 -1
- tccli/services/cloudaudit/v20190319/api.json +58 -44
- tccli/services/cloudaudit/v20190319/examples.json +6 -6
- tccli/services/cloudstudio/v20230508/api.json +38 -37
- tccli/services/cloudstudio/v20230508/examples.json +4 -4
- tccli/services/cls/cls_client.py +216 -4
- tccli/services/cls/v20201016/api.json +536 -47
- tccli/services/cls/v20201016/examples.json +34 -2
- tccli/services/csip/v20221121/api.json +2562 -2382
- tccli/services/csip/v20221121/examples.json +108 -108
- tccli/services/cvm/v20170312/api.json +149 -112
- tccli/services/cvm/v20170312/examples.json +2 -2
- tccli/services/cwp/cwp_client.py +4 -110
- tccli/services/cwp/v20180228/api.json +6338 -6146
- tccli/services/cwp/v20180228/examples.json +342 -370
- tccli/services/cynosdb/v20190107/api.json +93 -81
- tccli/services/cynosdb/v20190107/examples.json +70 -70
- tccli/services/dasb/v20191018/api.json +796 -651
- tccli/services/dasb/v20191018/examples.json +101 -101
- tccli/services/dcdb/dcdb_client.py +114 -61
- tccli/services/dcdb/v20180411/api.json +141 -7
- tccli/services/dcdb/v20180411/examples.json +32 -0
- tccli/services/dlc/v20210125/api.json +21 -11
- tccli/services/dnspod/dnspod_client.py +417 -46
- tccli/services/dnspod/v20210323/api.json +751 -30
- tccli/services/dnspod/v20210323/examples.json +62 -0
- tccli/services/dts/v20211206/api.json +4 -4
- tccli/services/ecm/v20190719/api.json +2 -2
- tccli/services/emr/v20190103/api.json +339 -114
- tccli/services/emr/v20190103/examples.json +64 -82
- tccli/services/es/v20180416/api.json +29 -0
- tccli/services/es/v20180416/examples.json +1 -1
- tccli/services/ess/v20201111/api.json +49 -31
- tccli/services/ess/v20201111/examples.json +20 -8
- tccli/services/essbasic/v20210526/api.json +54 -49
- tccli/services/essbasic/v20210526/examples.json +36 -18
- tccli/services/facefusion/v20181201/api.json +47 -45
- tccli/services/facefusion/v20181201/examples.json +2 -2
- tccli/services/facefusion/v20220927/api.json +54 -48
- tccli/services/facefusion/v20220927/examples.json +5 -5
- tccli/services/faceid/v20180301/api.json +497 -496
- tccli/services/faceid/v20180301/examples.json +219 -101
- tccli/services/fmu/v20191213/api.json +59 -67
- tccli/services/fmu/v20191213/examples.json +22 -22
- tccli/services/ft/v20200304/api.json +53 -57
- tccli/services/ft/v20200304/examples.json +14 -14
- tccli/services/gme/v20180711/api.json +21 -11
- tccli/services/gme/v20180711/examples.json +1 -1
- tccli/services/hai/v20230812/api.json +116 -9
- tccli/services/hai/v20230812/examples.json +4 -4
- tccli/services/hunyuan/hunyuan_client.py +436 -12
- tccli/services/hunyuan/v20230901/api.json +1482 -118
- tccli/services/hunyuan/v20230901/examples.json +82 -18
- tccli/services/iai/v20180301/api.json +23 -19
- tccli/services/iai/v20180301/examples.json +2 -2
- tccli/services/iai/v20200303/api.json +530 -511
- tccli/services/iai/v20200303/examples.json +116 -86
- tccli/services/ig/__init__.py +4 -0
- tccli/services/ig/ig_client.py +195 -0
- tccli/services/ig/v20210518/api.json +83 -0
- tccli/services/ig/v20210518/examples.json +13 -0
- tccli/services/ioa/ioa_client.py +53 -0
- tccli/services/ioa/v20220601/api.json +662 -413
- tccli/services/ioa/v20220601/examples.json +24 -10
- tccli/services/iotexplorer/v20190423/api.json +33 -13
- tccli/services/iotexplorer/v20190423/examples.json +3 -3
- tccli/services/iotvideo/iotvideo_client.py +106 -0
- tccli/services/iotvideo/v20191126/api.json +256 -24
- tccli/services/iotvideo/v20191126/examples.json +19 -3
- tccli/services/iotvideo/v20201215/api.json +1 -1
- tccli/services/iotvideo/v20201215/examples.json +1 -1
- tccli/services/iotvideo/v20211125/api.json +1 -1
- tccli/services/iotvideo/v20211125/examples.json +2 -2
- tccli/services/iss/iss_client.py +69 -122
- tccli/services/iss/v20230517/api.json +10 -54
- tccli/services/iss/v20230517/examples.json +0 -14
- tccli/services/kms/v20190118/api.json +301 -268
- tccli/services/kms/v20190118/examples.json +45 -51
- tccli/services/lcic/lcic_client.py +159 -0
- tccli/services/lcic/v20220817/api.json +273 -1
- tccli/services/lcic/v20220817/examples.json +24 -0
- tccli/services/lighthouse/v20200324/api.json +56 -0
- tccli/services/live/live_client.py +159 -0
- tccli/services/live/v20180801/api.json +244 -0
- tccli/services/live/v20180801/examples.json +24 -0
- tccli/services/lke/v20231130/api.json +17 -17
- tccli/services/lke/v20231130/examples.json +19 -25
- tccli/services/mariadb/v20170312/api.json +7 -7
- tccli/services/market/v20191010/api.json +3 -3
- tccli/services/market/v20191010/examples.json +2 -2
- tccli/services/mmps/v20200710/api.json +47 -47
- tccli/services/mmps/v20200710/examples.json +3 -3
- tccli/services/mongodb/v20190725/api.json +4 -4
- tccli/services/monitor/v20180724/api.json +46 -19
- tccli/services/mps/v20190612/api.json +282 -5
- tccli/services/mps/v20190612/examples.json +25 -1
- tccli/services/mqtt/v20240516/api.json +2 -2
- tccli/services/mrs/v20200910/api.json +72 -34
- tccli/services/mrs/v20200910/examples.json +2 -2
- tccli/services/ms/v20180408/api.json +535 -506
- tccli/services/ms/v20180408/examples.json +25 -25
- tccli/services/oceanus/v20190422/api.json +130 -0
- tccli/services/ocr/ocr_client.py +232 -20
- tccli/services/ocr/v20181119/api.json +2265 -760
- tccli/services/ocr/v20181119/examples.json +200 -180
- tccli/services/omics/v20221128/api.json +614 -553
- tccli/services/omics/v20221128/examples.json +9 -9
- tccli/services/organization/v20210331/api.json +13 -4
- tccli/services/organization/v20210331/examples.json +2 -2
- tccli/services/partners/v20180321/api.json +244 -234
- tccli/services/partners/v20180321/examples.json +19 -19
- tccli/services/privatedns/privatedns_client.py +428 -4
- tccli/services/privatedns/v20201028/api.json +815 -11
- tccli/services/privatedns/v20201028/examples.json +64 -0
- tccli/services/pts/v20210728/api.json +18 -0
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/rce/rce_client.py +53 -0
- tccli/services/rce/v20201103/api.json +146 -0
- tccli/services/rce/v20201103/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +42 -42
- tccli/services/redis/v20180412/examples.json +19 -19
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/scf/v20180416/api.json +15 -15
- tccli/services/scf/v20180416/examples.json +1 -1
- tccli/services/smop/v20201203/api.json +46 -42
- tccli/services/smop/v20201203/examples.json +2 -2
- tccli/services/soe/v20180724/api.json +10 -10
- tccli/services/sqlserver/v20180328/api.json +21 -8
- tccli/services/sqlserver/v20180328/examples.json +5 -5
- tccli/services/ssl/v20191205/api.json +97 -4
- tccli/services/ssm/v20190923/api.json +292 -231
- tccli/services/ssm/v20190923/examples.json +42 -42
- tccli/services/tat/v20201028/api.json +97 -97
- tccli/services/tat/v20201028/examples.json +20 -26
- tccli/services/tchd/v20230306/api.json +5 -5
- tccli/services/tchd/v20230306/examples.json +3 -3
- tccli/services/tcr/v20190924/api.json +1 -1
- tccli/services/tcr/v20190924/examples.json +1 -1
- tccli/services/tcss/v20201101/api.json +1973 -1426
- tccli/services/tcss/v20201101/examples.json +346 -364
- tccli/services/tdmq/v20200217/api.json +539 -401
- tccli/services/tdmq/v20200217/examples.json +104 -104
- tccli/services/tds/v20220801/api.json +4 -4
- tccli/services/tem/v20210701/api.json +287 -271
- tccli/services/tem/v20210701/examples.json +59 -59
- tccli/services/teo/v20220901/api.json +37 -9
- tccli/services/teo/v20220901/examples.json +13 -7
- tccli/services/thpc/v20230321/api.json +5 -5
- tccli/services/tke/tke_client.py +217 -58
- tccli/services/tke/v20180525/api.json +36 -27
- tccli/services/tke/v20180525/examples.json +1 -1
- tccli/services/tke/v20220501/api.json +176 -0
- tccli/services/tke/v20220501/examples.json +24 -0
- tccli/services/tmt/v20180321/api.json +38 -8
- tccli/services/trp/v20210515/api.json +86 -74
- tccli/services/trp/v20210515/examples.json +65 -65
- tccli/services/trro/v20220325/api.json +72 -71
- tccli/services/trro/v20220325/examples.json +8 -8
- tccli/services/trtc/trtc_client.py +8 -61
- tccli/services/trtc/v20190722/api.json +72 -30
- tccli/services/trtc/v20190722/examples.json +3 -11
- tccli/services/tse/tse_client.py +110 -4
- tccli/services/tse/v20201207/api.json +122 -7
- tccli/services/tse/v20201207/examples.json +25 -9
- tccli/services/vclm/v20240523/api.json +225 -82
- tccli/services/vclm/v20240523/examples.json +13 -19
- tccli/services/vod/v20180717/api.json +431 -4
- tccli/services/vod/v20180717/examples.json +25 -5
- tccli/services/vod/v20240718/api.json +11 -11
- tccli/services/vod/v20240718/examples.json +4 -4
- tccli/services/vod/vod_client.py +53 -0
- tccli/services/vpc/v20170312/api.json +1090 -862
- tccli/services/vpc/v20170312/examples.json +74 -66
- tccli/services/vpc/vpc_client.py +61 -8
- tccli/services/waf/v20180125/api.json +2540 -2177
- tccli/services/waf/v20180125/examples.json +216 -284
- tccli/services/waf/waf_client.py +172 -119
- tccli/services/wav/v20210129/api.json +48 -48
- tccli/services/wav/v20210129/examples.json +4 -4
- tccli/services/wedata/v20210820/api.json +909 -25
- tccli/services/wedata/v20210820/examples.json +28 -4
- tccli/services/wedata/wedata_client.py +159 -0
- tccli/services/weilingwith/v20230427/api.json +6 -6
- tccli/services/weilingwith/v20230427/examples.json +3 -3
- tccli/sso.py +229 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +252 -235
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -3,15 +3,15 @@
|
|
3
3
|
"AddMetricScaleStrategy": [
|
4
4
|
{
|
5
5
|
"document": "",
|
6
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddMetricScaleStrategy\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
7
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
6
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddMetricScaleStrategy\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-123\",\n \"StrategyType\": 0,\n \"LoadAutoScaleStrategy\": {\n \"CalmDownTime\": 0,\n \"ConfigGroupAssigned\": \"{\\\"HDFS-3.2.2\\\":-1,\\\"YARN-3.2.2\\\":-1}\",\n \"GraceDownFlag\": false,\n \"LoadMetricsConditions\": {\n \"LoadMetrics\": [\n {\n \"Conditions\": [\n {\n \"CompareMethod\": 1,\n \"Threshold\": 0\n }\n ],\n \"LoadMetrics\": \"AvailableMB#root\",\n \"MetricId\": 3,\n \"StatisticPeriod\": 60,\n \"TriggerThreshold\": 1\n }\n ]\n },\n \"Priority\": 0,\n \"MeasureMethod\": \"INSTANCE\",\n \"ScaleAction\": 2,\n \"ScaleNum\": 1,\n \"StrategyName\": \"并行负载-re04\",\n \"StrategyStatus\": 1\n },\n \"TimeAutoScaleStrategy\": {\n \"CompensateFlag\": 0,\n \"ConfigGroupAssigned\": \"{\\\"HDFS-3.2.2\\\":-1,\\\"YARN-3.2.2\\\":-1}\",\n \"GraceDownFlag\": false,\n \"GroupId\": 27,\n \"IntervalTime\": 0,\n \"MeasureMethod\": \"INSTANCE\",\n \"RepeatStrategy\": {\n \"Expire\": \"2025-11-05 23:59:59\",\n \"NotRepeat\": {\n \"ExecuteAt\": \"2024-11-05 14:43:00\"\n },\n \"RepeatType\": \"NONE\"\n },\n \"Priority\": 0,\n \"RetryValidTime\": 60,\n \"ScaleAction\": 1,\n \"ScaleNum\": 10,\n \"ServiceNodeInfo\": [\n 7\n ],\n \"SoftDeployInfo\": [\n 1,\n 2\n ],\n \"StrategyName\": \"add\",\n \"StrategyStatus\": 1,\n \"TerminatePolicy\": \"DEFAULT\"\n }\n}",
|
7
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e3f82d54-6fa6-49c2-a479-8d2f5cf77f91\"\n }\n}",
|
8
8
|
"title": "添加扩缩容规则成功示例"
|
9
9
|
}
|
10
10
|
],
|
11
11
|
"AddUsersForUserManager": [
|
12
12
|
{
|
13
13
|
"document": "",
|
14
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddUsersForUserManager\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
14
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddUsersForUserManager\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-dadda\",\n \"UserManagerUserList\": [\n {\n \"UserName\": \"test1\",\n \"UserGroup\": \"test1\",\n \"PassWord\": \"test1\",\n \"ReMark\": \"test1\"\n },\n {\n \"UserName\": \"test2\",\n \"UserGroup\": \"test2\",\n \"PassWord\": \"test2\",\n \"ReMark\": \"test2\"\n },\n {\n \"UserName\": \"test3\",\n \"UserGroup\": \"test3\",\n \"PassWord\": \"test3\",\n \"ReMark\": \"test3\"\n },\n {\n \"UserName\": \"test4\",\n \"UserGroup\": \"test4\",\n \"PassWord\": \"test4\",\n \"ReMark\": \"test4\"\n }\n ]\n}",
|
15
15
|
"output": "{\n \"Response\": {\n \"FailedUserList\": [],\n \"RequestId\": \"782d3570-9f82-4bff-974a-17cf684fdfe9\",\n \"SuccessUserList\": [\n \"test1\",\n \"test2\",\n \"test3\",\n \"test4\"\n ]\n }\n}",
|
16
16
|
"title": "test"
|
17
17
|
}
|
@@ -19,8 +19,8 @@
|
|
19
19
|
"CreateCluster": [
|
20
20
|
{
|
21
21
|
"document": "",
|
22
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCluster\n<公共请求参数>\n\n{\n \"
|
23
|
-
"output": "{\n \"Response\": {\n \"InstanceId\": \"emr-
|
22
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCluster\n<公共请求参数>\n\n{\n \"EnableKerberosFlag\": false,\n \"SceneSoftwareConfig\": {\n \"SceneName\": \"Hadoop-Default\",\n \"Software\": [\n \"hdfs-3.2.2\",\n \"yarn-3.2.2\",\n \"zookeeper-3.6.3\",\n \"openldap-2.4.44\",\n \"knox-1.6.1\",\n \"hive-3.1.3\"\n ]\n },\n \"MetaDBInfo\": {\n \"MetaType\": \"EMR_DEFAULT_META\"\n },\n \"NeedMasterWan\": \"NEED_MASTER_WAN\",\n \"EnableCbsEncryptFlag\": false,\n \"LoginSettings\": {\n \"Password\": \"xxxxxxx\"\n },\n \"SecurityGroupIds\": [\n \"sg-xxx\"\n ],\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"ProductVersion\": \"EMR-V3.5.0\",\n \"ClientToken\": \"xxx\",\n \"EnableRemoteLoginFlag\": true,\n \"InstanceChargePrepaid\": {\n \"RenewFlag\": true,\n \"Period\": 1\n },\n \"InstanceName\": \"EMR350-JH6\",\n \"EnableSupportHAFlag\": false,\n \"ZoneResourceConfiguration\": [\n {\n \"VirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-xxx\",\n \"VpcId\": \"vpc-xxx\"\n },\n \"AllNodeResourceSpec\": {\n \"MasterResourceSpec\": {\n \"SystemDisk\": [\n {\n \"Count\": 1,\n \"DiskSize\": 50,\n \"DiskType\": \"CLOUD_HSSD\"\n }\n ],\n \"DataDisk\": [\n {\n \"Count\": 1,\n \"DiskSize\": 100,\n \"DiskType\": \"CLOUD_SSD\"\n }\n ],\n \"LocalDataDisk\": [],\n \"InstanceType\": \"S6.2XLARGE32\",\n \"Tags\": []\n },\n \"CoreCount\": 2,\n \"CoreResourceSpec\": {\n \"SystemDisk\": [\n {\n \"Count\": 1,\n \"DiskSize\": 50,\n \"DiskType\": \"CLOUD_SSD\"\n }\n ],\n \"DataDisk\": [\n {\n \"Count\": 1,\n \"DiskSize\": 300,\n \"DiskType\": \"CLOUD_TSSD\"\n }\n ],\n \"LocalDataDisk\": [],\n \"InstanceType\": \"SA4.8XLARGE64\",\n \"Tags\": []\n },\n \"TaskCount\": 0,\n \"CommonCount\": 0,\n \"MasterCount\": 1\n },\n \"Placement\": {\n \"ProjectId\": 0,\n \"Zone\": \"ap-guangzhou-7\"\n }\n }\n ]\n}",
|
23
|
+
"output": "{\n \"Response\": {\n \"InstanceId\": \"emr-rx5\",\n \"RequestId\": \"fsafa-232\"\n }\n}",
|
24
24
|
"title": "创建EMR集群实例"
|
25
25
|
}
|
26
26
|
],
|
@@ -34,24 +34,24 @@
|
|
34
34
|
],
|
35
35
|
"CreateSLInstance": [
|
36
36
|
{
|
37
|
-
"document": "
|
37
|
+
"document": "Serverless HBase创建实例",
|
38
38
|
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSLInstance\n<公共请求参数>\n\n{\n \"InstanceName\": \"sl-haoyuhua-test-create\",\n \"PayMode\": 0,\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskSize\": 100,\n \"NodeType\": \"4C16G\",\n \"ZoneSettings\": [\n {\n \"Zone\": \"ap-guangzhou-2\",\n \"VPCSettings\": {\n \"VpcId\": \"vpc-dcfhrh73\",\n \"SubnetId\": \"subnet-5bhc4kly\"\n },\n \"NodeNum\": 1\n },\n {\n \"Zone\": \"ap-guangzhou-2\",\n \"VPCSettings\": {\n \"VpcId\": \"vpc-dcfhrh73\",\n \"SubnetId\": \"subnet-5bhc4kly\"\n },\n \"NodeNum\": 1\n },\n {\n \"Zone\": \"ap-guangzhou-2\",\n \"VPCSettings\": {\n \"VpcId\": \"vpc-dcfhrh73\",\n \"SubnetId\": \"subnet-5bhc4kly\"\n },\n \"NodeNum\": 1\n }\n ],\n \"Tags\": []\n}",
|
39
39
|
"output": "{\n \"Response\": {\n \"InstanceId\": \"emr-8qrmc34c\",\n \"RequestId\": \"983e4dae-1cb4-40cb-8476-3231a6849696\"\n }\n}",
|
40
|
-
"title": "
|
40
|
+
"title": "Serverless HBase创建实例"
|
41
41
|
}
|
42
42
|
],
|
43
43
|
"DeleteAutoScaleStrategy": [
|
44
44
|
{
|
45
45
|
"document": "",
|
46
|
-
"input": "
|
47
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
46
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAutoScaleStrategy\n<公共请求参数>\n\n{\n \"GroupId\": 6,\n \"InstanceId\": \"emr-5urm\",\n \"StrategyId\": 413,\n \"StrategyType\": 2\n}",
|
47
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"586a9cb9-adcb-4f74-9e6f-01482ac4cffe\"\n }\n}",
|
48
48
|
"title": "删除弹性扩缩容规则示例"
|
49
49
|
}
|
50
50
|
],
|
51
51
|
"DeleteUserManagerUserList": [
|
52
52
|
{
|
53
53
|
"document": "test",
|
54
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteUserManagerUserList\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-test\",\n \"UserNameList\": [\n \"
|
54
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteUserManagerUserList\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-test\",\n \"UserNameList\": [\n \"userTest\"\n ]\n}",
|
55
55
|
"output": "{\n \"Response\": {\n \"RequestId\": \"782d3570-9f82-4bff-974a-17cf684fdfx9\"\n }\n}",
|
56
56
|
"title": "test"
|
57
57
|
}
|
@@ -59,16 +59,16 @@
|
|
59
59
|
"DeployYarnConf": [
|
60
60
|
{
|
61
61
|
"document": "",
|
62
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeployYarnConf\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-
|
63
|
-
"output": "{\n \"Response\": {\n \"FlowId\": 1,\n \"RequestId\": \"
|
62
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeployYarnConf\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-123\"\n}",
|
63
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 1,\n \"RequestId\": \"01db0ef1-8be7-45f4-b740-60667665ef24 \"\n }\n}",
|
64
64
|
"title": "yarn资源调度-部署生效"
|
65
65
|
}
|
66
66
|
],
|
67
67
|
"DescribeAutoScaleGroupGlobalConf": [
|
68
68
|
{
|
69
69
|
"document": "",
|
70
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAutoScaleGroupGlobalConf\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
71
|
-
"output": "{\n \"Response\": {\n \"GroupGlobalConfs\": [\n {\n \"
|
70
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAutoScaleGroupGlobalConf\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-123\"\n}",
|
71
|
+
"output": "{\n \"Response\": {\n \"GroupGlobalConfs\": [\n {\n \"CurrentNodes\": 0,\n \"CurrentPostPaidNodes\": 0,\n \"CurrentSpotPaidNodes\": 0,\n \"GroupGlobalConf\": {\n \"ChangeToPod\": 0,\n \"ClusterId\": 33003386,\n \"EnableMNode\": 0,\n \"GraceDownFlag\": true,\n \"GroupName\": \"回归group-002\",\n \"GroupStatus\": 2,\n \"HardwareType\": \"HOST\",\n \"Id\": 26,\n \"NextTimeCanScale\": 0,\n \"Parallel\": 1,\n \"PayMode\": \"POSTPAY\",\n \"PostPayPercentMin\": 0,\n \"ScaleLowerBound\": 0,\n \"ScaleUpperBound\": 30,\n \"StrategyType\": 0\n }\n }\n ],\n \"RequestId\": \"4dea2795-c996-4385-88f8-c6191766e519\",\n \"TotalCount\": 1\n }\n}",
|
72
72
|
"title": "获取伸缩组全局配置"
|
73
73
|
}
|
74
74
|
],
|
@@ -76,23 +76,23 @@
|
|
76
76
|
{
|
77
77
|
"document": "",
|
78
78
|
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAutoScaleRecords\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-3ap64zl6\",\n \"Limit\": \"10\",\n \"Offset\": \"0\"\n}",
|
79
|
-
"output": "{\n \"Response\": {\n \"
|
79
|
+
"output": "{\n \"Response\": {\n \"RecordList\": [\n {\n \"ActionStatus\": \"SUCCESS\",\n \"ActionTime\": \"2024-11-05 19:38:10\",\n \"CompensateCount\": 0,\n \"CompensateFlag\": 0,\n \"EndTime\": \"2024-11-05 19:38:37\",\n \"ExpectScaleNum\": 1,\n \"RetryCount\": 0,\n \"RetryInfo\": \"重试次数: 0\\n重试结束时间: 0000-00-00 00:00:00\\n重试原因: \",\n \"ScaleAction\": \"SCALE_IN\",\n \"ScaleInfo\": \"缩容信息:[缩容前:11台, 缩容后:10台, 成功:1台, 失败:0台]\",\n \"SpecInfo\": \"1台: 可用区: 南京3区\\nSA2.LARGE8: CPU: 4核 内存:8GB\\n\\t系统盘:\\n \\t\\t通用型SSD云硬盘: 50G\\n\\t数据盘:\\n\\t\\t增强型SSD云硬盘: 100G x 1\\n\\n\",\n \"StrategyName\": \"回归-re04\",\n \"StrategyType\": 1\n }\n ],\n \"RequestId\": \"8ad457bc-16ca-4ed5-af21-3ed4b58d719b\",\n \"TotalCount\": 70\n }\n}",
|
80
80
|
"title": "获取弹性扩缩容历史示例"
|
81
81
|
}
|
82
82
|
],
|
83
83
|
"DescribeAutoScaleStrategies": [
|
84
84
|
{
|
85
85
|
"document": "",
|
86
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAutoScaleStrategies\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
87
|
-
"output": "{\n \"Response\": {\n \"LoadAutoScaleStrategies\": [\n {\n \"
|
86
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAutoScaleStrategies\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-123\",\n \"GroupId\": 0\n}",
|
87
|
+
"output": "{\n \"Response\": {\n \"LoadAutoScaleStrategies\": [\n {\n \"CalmDownTime\": 60,\n \"ConfigGroupAssigned\": \"\",\n \"GraceDownFlag\": false,\n \"GraceDownTime\": 0,\n \"LoadMetricsConditions\": {\n \"LoadMetrics\": [\n {\n \"Conditions\": [\n {\n \"CompareMethod\": 1,\n \"Threshold\": 16\n }\n ],\n \"LoadMetrics\": \"AvailableVCores#root.default\",\n \"MetricId\": 1,\n \"StatisticPeriod\": 60,\n \"TriggerThreshold\": 1\n }\n ]\n },\n \"MeasureMethod\": \"INSTANCE\",\n \"PeriodValid\": \"\",\n \"Priority\": 3,\n \"ProcessMethod\": 3,\n \"ScaleAction\": 2,\n \"ScaleNum\": 2,\n \"StrategyId\": 1521,\n \"StrategyName\": \"负载缩容\",\n \"StrategyStatus\": 3,\n \"Tags\": [],\n \"YarnNodeLabel\": \"\"\n }\n ],\n \"RequestId\": \"272c1c07-2840-44c8-8753-a761617f71fd\",\n \"TimeBasedAutoScaleStrategies\": [\n {\n \"CompensateFlag\": 1,\n \"ConfigGroupAssigned\": \"{\\\"HDFS-3.2.2\\\":-1,\\\"IMPALA-4.1.0\\\":-1,\\\"KYUUBI-1.6.0\\\":-1,\\\"TRINO-389\\\":-1,\\\"YARN-3.2.2\\\":-1}\",\n \"GraceDownFlag\": false,\n \"GraceDownTime\": 0,\n \"GroupId\": 0,\n \"IntervalTime\": 300,\n \"MaxUse\": 0,\n \"MeasureMethod\": \"INSTANCE\",\n \"Priority\": 1,\n \"RepeatStrategy\": {\n \"DayRepeat\": {\n \"ExecuteAtTimeOfDay\": \"08:30:00\",\n \"Step\": 1\n },\n \"Expire\": \"2024-09-11 23:59:59\",\n \"MonthRepeat\": {\n \"DaysOfMonthRange\": null,\n \"ExecuteAtTimeOfDay\": \"\"\n },\n \"NotRepeat\": {\n \"ExecuteAt\": \"\"\n },\n \"RepeatType\": \"DAY\",\n \"WeekRepeat\": {\n \"DaysOfWeek\": null,\n \"ExecuteAtTimeOfDay\": \"\"\n }\n },\n \"RetryValidTime\": 300,\n \"ScaleAction\": 1,\n \"ScaleNum\": 1,\n \"ServiceNodeInfo\": [\n 7\n ],\n \"SoftDeployInfo\": [\n 1,\n 2\n ],\n \"StrategyId\": 1274,\n \"StrategyName\": \"时间伸缩扩容周期性\",\n \"StrategyStatus\": 3,\n \"Tags\": [\n {\n \"TagKey\": \"key09993\",\n \"TagValue\": \"value1\"\n },\n {\n \"TagKey\": \"key09991\",\n \"TagValue\": \"value1\"\n }\n ],\n \"TerminatePolicy\": \"DEFAULT\"\n },\n {\n \"CompensateFlag\": 0,\n \"ConfigGroupAssigned\": \"\",\n \"GraceDownFlag\": true,\n \"GraceDownTime\": 180,\n \"GroupId\": 0,\n \"IntervalTime\": 60,\n \"MaxUse\": 0,\n \"MeasureMethod\": \"INSTANCE\",\n \"Priority\": 2,\n \"RepeatStrategy\": {\n \"DayRepeat\": {\n \"ExecuteAtTimeOfDay\": \"09:30:00\",\n \"Step\": 1\n },\n \"Expire\": \"2024-09-11 23:59:59\",\n \"MonthRepeat\": {\n \"DaysOfMonthRange\": null,\n \"ExecuteAtTimeOfDay\": \"\"\n },\n \"NotRepeat\": {\n \"ExecuteAt\": \"\"\n },\n \"RepeatType\": \"DAY\",\n \"WeekRepeat\": {\n \"DaysOfWeek\": null,\n \"ExecuteAtTimeOfDay\": \"\"\n }\n },\n \"RetryValidTime\": 60,\n \"ScaleAction\": 2,\n \"ScaleNum\": 1,\n \"ServiceNodeInfo\": null,\n \"SoftDeployInfo\": null,\n \"StrategyId\": 1275,\n \"StrategyName\": \"时间伸缩缩容周期性-开启优雅缩容\",\n \"StrategyStatus\": 3,\n \"Tags\": [],\n \"TerminatePolicy\": \"DEFAULT\"\n }\n ]\n }\n}",
|
88
88
|
"title": "获取自动扩缩容规则"
|
89
89
|
}
|
90
90
|
],
|
91
91
|
"DescribeClusterFlowStatusDetail": [
|
92
92
|
{
|
93
93
|
"document": "",
|
94
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterFlowStatusDetail\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
95
|
-
"output": "{\n \"Response\": {\n \"StageDetails\": [\n {\n \"
|
94
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterFlowStatusDetail\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-123\",\n \"FlowParam\": {\n \"FKey\": \"TraceId\",\n \"FValue\": \"1730204629-375383-1016312\"\n },\n \"NeedExtraDetail\": true\n}",
|
95
|
+
"output": "{\n \"Response\": {\n \"FlowDesc\": [\n {\n \"PKey\": \"CoreSize\",\n \"PValue\": \"1\"\n },\n {\n \"PKey\": \"DeployProcess\",\n \"PValue\": \"DataNode,NodeManager,Filebeat\"\n },\n {\n \"PKey\": \"Node Type\",\n \"PValue\": \"Core\"\n }\n ],\n \"FlowExtraDetail\": null,\n \"FlowName\": \"Scale Out Core\",\n \"FlowTotalProgress\": 0.38,\n \"FlowTotalStatus\": 1,\n \"RequestId\": \"d9ad966c-9db0-409f-a2da-4c23350772d3\",\n \"StageDetails\": [\n {\n \"Desc\": \"已完成\",\n \"Endtime\": \"2024-10-29 20:24:41\",\n \"FailedReason\": \"\",\n \"HadWoodDetail\": false,\n \"IsShow\": true,\n \"IsSubFlow\": false,\n \"LanguageKey\": \"lookupResources\",\n \"Name\": \"Create Order\",\n \"Progress\": 0,\n \"Stage\": \"lookupResources\",\n \"Starttime\": \"2024-10-29 20:24:01\",\n \"Status\": 2,\n \"SubFlowFlag\": \"\",\n \"TimeConsuming\": \"takes 40s\",\n \"WoodJobId\": 0\n },\n {\n \"Desc\": \"已完成\",\n \"Endtime\": \"2024-10-29 20:24:43\",\n \"FailedReason\": \"\",\n \"HadWoodDetail\": false,\n \"IsShow\": true,\n \"IsSubFlow\": false,\n \"LanguageKey\": \"applyCvm\",\n \"Name\": \"Apply For Resource\",\n \"Progress\": 0,\n \"Stage\": \"applyCvm\",\n \"Starttime\": \"2024-10-29 20:24:41\",\n \"Status\": 2,\n \"SubFlowFlag\": \"\",\n \"TimeConsuming\": \"takes 2s\",\n \"WoodJobId\": 0\n },\n {\n \"Desc\": \"已完成\",\n \"Endtime\": \"2024-10-29 20:24:44\",\n \"FailedReason\": \"\",\n \"HadWoodDetail\": false,\n \"IsShow\": true,\n \"IsSubFlow\": false,\n \"LanguageKey\": \"bindTags\",\n \"Name\": \"Bind tag\",\n \"Progress\": 0,\n \"Stage\": \"bindTags\",\n \"Starttime\": \"2024-10-29 20:24:44\",\n \"Status\": 2,\n \"SubFlowFlag\": \"\",\n \"TimeConsuming\": \"takes 0s\",\n \"WoodJobId\": 0\n },\n {\n \"Desc\": \"未启动\",\n \"Endtime\": \"0000-00-00 00:00:00\",\n \"FailedReason\": \"\",\n \"HadWoodDetail\": false,\n \"IsShow\": true,\n \"IsSubFlow\": false,\n \"LanguageKey\": \"createSecurityGroup\",\n \"Name\": \"Initialize security group\",\n \"Progress\": 0,\n \"Stage\": \"createSecurityGroup\",\n \"Starttime\": \"0000-00-00 00:00:00\",\n \"Status\": 4,\n \"SubFlowFlag\": \"\",\n \"TimeConsuming\": \"\",\n \"WoodJobId\": 0\n },\n {\n \"Desc\": \"未启动\",\n \"Endtime\": \"0000-00-00 00:00:00\",\n \"FailedReason\": \"\",\n \"HadWoodDetail\": false,\n \"IsShow\": true,\n \"IsSubFlow\": false,\n \"LanguageKey\": \"addCVMAndCDBToWoodpecker\",\n \"Name\": \"Initialize resource\",\n \"Progress\": 0,\n \"Stage\": \"addCVMAndCDBToWoodpecker\",\n \"Starttime\": \"0000-00-00 00:00:00\",\n \"Status\": 4,\n \"SubFlowFlag\": \"\",\n \"TimeConsuming\": \"\",\n \"WoodJobId\": 0\n },\n {\n \"Desc\": \"未启动\",\n \"Endtime\": \"0000-00-00 00:00:00\",\n \"FailedReason\": \"\",\n \"HadWoodDetail\": false,\n \"IsShow\": true,\n \"IsSubFlow\": false,\n \"LanguageKey\": \"woodpeckerScaleoutCluster\",\n \"Name\": \"Prepare for scale-out\",\n \"Progress\": 0,\n \"Stage\": \"woodpeckerScaleoutCluster\",\n \"Starttime\": \"0000-00-00 00:00:00\",\n \"Status\": 4,\n \"SubFlowFlag\": \"\",\n \"TimeConsuming\": \"\",\n \"WoodJobId\": 0\n },\n {\n \"Desc\": \"未启动\",\n \"Endtime\": \"0000-00-00 00:00:00\",\n \"FailedReason\": \"\",\n \"HadWoodDetail\": true,\n \"IsShow\": true,\n \"IsSubFlow\": true,\n \"LanguageKey\": \"initializeService\",\n \"Name\": \"Initialize service\",\n \"Progress\": 0,\n \"Stage\": \"queryWoodpeckerFlow\",\n \"Starttime\": \"0000-00-00 00:00:00\",\n \"Status\": 4,\n \"SubFlowFlag\": \"\",\n \"TimeConsuming\": \"\",\n \"WoodJobId\": 0\n },\n {\n \"Desc\": \"未启动\",\n \"Endtime\": \"0000-00-00 00:00:00\",\n \"FailedReason\": \"\",\n \"HadWoodDetail\": false,\n \"IsShow\": true,\n \"IsSubFlow\": false,\n \"LanguageKey\": \"endPoint\",\n \"Name\": \"End task\",\n \"Progress\": 0,\n \"Stage\": \"endPoint\",\n \"Starttime\": \"0000-00-00 00:00:00\",\n \"Status\": 4,\n \"SubFlowFlag\": \"\",\n \"TimeConsuming\": \"\",\n \"WoodJobId\": 0\n }\n ]\n }\n}",
|
96
96
|
"title": "查询EMR任务运行详情状态"
|
97
97
|
}
|
98
98
|
],
|
@@ -100,7 +100,7 @@
|
|
100
100
|
{
|
101
101
|
"document": "通过emr集群ID获取硬件节点信息",
|
102
102
|
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterNodes\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-6deluvd4\",\n \"NodeFlag\": \"all\",\n \"Limit\": \"10\",\n \"Offset\": \"0\"\n}",
|
103
|
-
"output": "{\n \"Response\": {\n \"
|
103
|
+
"output": "{\n \"Response\": {\n \"HardwareResourceTypeList\": [\n \"HOST\",\n \"MNode\",\n \"POD\"\n ],\n \"NodeList\": [\n {\n \"AppId\": 1258469122,\n \"ApplyTime\": \"2024-11-05 20:40:30\",\n \"AutoFlag\": 0,\n \"CdbIp\": \"\",\n \"CdbNodeInfo\": null,\n \"CdbPort\": 0,\n \"ChargeType\": 0,\n \"Clients\": \"HDFS,YARN,ZOOKEEPER,FILEBEAT,RUNTIME\",\n \"CpuNum\": 4,\n \"CurrentTime\": \"2024-11-05 20:44:07\",\n \"Destroyable\": 0,\n \"DeviceClass\": \"VSELF_5\",\n \"DeviceName\": \"EMR标准型S5\",\n \"DisableApiTermination\": false,\n \"DiskSize\": \"200.00 GB\",\n \"DynamicPodSpec\": \"\",\n \"EmrResourceId\": \"emr-vm-3ep60g79\",\n \"ExpireTime\": \"0000-00-00 00:00:00\",\n \"Flag\": 2,\n \"FreeTime\": \"0000-00-00 00:00:00\",\n \"HardwareResourceType\": \"HOST\",\n \"HwDiskSize\": 214748364800,\n \"HwDiskSizeDesc\": \"200.00 GB\",\n \"HwMemSize\": 8589934592,\n \"HwMemSizeDesc\": \"8GB\",\n \"Ip\": \"10.233.179.208\",\n \"IsAutoRenew\": 1,\n \"IsDynamicSpec\": 0,\n \"IsFederation\": 0,\n \"MCMultiDisk\": [\n {\n \"Count\": 1,\n \"Type\": 4,\n \"Volume\": 214748364800\n }\n ],\n \"MemDesc\": \"8GB\",\n \"MemSize\": 8589934592,\n \"Mutable\": 1,\n \"NameTag\": \"core.0\",\n \"OrderNo\": \"ins-79jcgj7m\",\n \"RegionId\": 1,\n \"Remark\": \"\",\n \"RootSize\": 70,\n \"RootStorageType\": 4,\n \"SerialNo\": \"240606f1-dc72-4760-958f-3d11b7430c9f\",\n \"ServiceClient\": \"\",\n \"Services\": \"DataNode,Filebeat,NodeManager,Sysctl\",\n \"ServicesStatus\": \"DataNode:STARTED,Filebeat:STARTED,NodeManager:STARTED,Sysctl:STARTED\",\n \"SharedClusterId\": \"\",\n \"SharedClusterIdDesc\": \"\",\n \"Spec\": \"CVM.S5\",\n \"StorageType\": 4,\n \"SubnetInfo\": {\n \"SubnetId\": \"subnet-ax8z9f1u\",\n \"SubnetName\": \"vigo-subnet\"\n },\n \"SupportModifyPayMode\": 0,\n \"Tags\": [],\n \"TradeVersion\": 1,\n \"WanIp\": \"\",\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneId\": 100003\n },\n {\n \"AppId\": 1258469122,\n \"ApplyTime\": \"2024-11-05 20:40:30\",\n \"AutoFlag\": 0,\n \"CdbIp\": \"\",\n \"CdbNodeInfo\": null,\n \"CdbPort\": 0,\n \"ChargeType\": 0,\n \"Clients\": \"HDFS,YARN,ZOOKEEPER,FILEBEAT,RUNTIME\",\n \"CpuNum\": 4,\n \"CurrentTime\": \"2024-11-05 20:44:07\",\n \"Destroyable\": 0,\n \"DeviceClass\": \"VSELF_5\",\n \"DeviceName\": \"EMR标准型S5\",\n \"DisableApiTermination\": false,\n \"DiskSize\": \"200.00 GB\",\n \"DynamicPodSpec\": \"\",\n \"EmrResourceId\": \"emr-vm-az843bs9\",\n \"ExpireTime\": \"0000-00-00 00:00:00\",\n \"Flag\": 2,\n \"FreeTime\": \"0000-00-00 00:00:00\",\n \"HardwareResourceType\": \"HOST\",\n \"HwDiskSize\": 214748364800,\n \"HwDiskSizeDesc\": \"200.00 GB\",\n \"HwMemSize\": 8589934592,\n \"HwMemSizeDesc\": \"8GB\",\n \"Ip\": \"10.233.179.138\",\n \"IsAutoRenew\": 1,\n \"IsDynamicSpec\": 0,\n \"IsFederation\": 0,\n \"MCMultiDisk\": [\n {\n \"Count\": 1,\n \"Type\": 4,\n \"Volume\": 214748364800\n }\n ],\n \"MemDesc\": \"8GB\",\n \"MemSize\": 8589934592,\n \"Mutable\": 1,\n \"NameTag\": \"core.1\",\n \"OrderNo\": \"ins-aodlsfs2\",\n \"RegionId\": 1,\n \"Remark\": \"\",\n \"RootSize\": 70,\n \"RootStorageType\": 4,\n \"SerialNo\": \"a167d792-3f7d-4927-bc64-70604b4172d2\",\n \"ServiceClient\": \"\",\n \"Services\": \"DataNode,Filebeat,NodeManager,Sysctl\",\n \"ServicesStatus\": \"DataNode:STARTED,Filebeat:STARTED,NodeManager:STARTED,Sysctl:STARTED\",\n \"SharedClusterId\": \"\",\n \"SharedClusterIdDesc\": \"\",\n \"Spec\": \"CVM.S5\",\n \"StorageType\": 4,\n \"SubnetInfo\": {\n \"SubnetId\": \"subnet-ax8z9f1u\",\n \"SubnetName\": \"vigo-subnet\"\n },\n \"SupportModifyPayMode\": 0,\n \"Tags\": [],\n \"TradeVersion\": 1,\n \"WanIp\": \"\",\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneId\": 100003\n },\n {\n \"AppId\": 1258469122,\n \"ApplyTime\": \"2024-11-05 20:40:30\",\n \"AutoFlag\": 0,\n \"CdbIp\": \"\",\n \"CdbNodeInfo\": null,\n \"CdbPort\": 0,\n \"ChargeType\": 0,\n \"Clients\": \"HDFS,YARN,ZOOKEEPER,OPENLDAP,KNOX,FILEBEAT,RUNTIME\",\n \"CpuNum\": 8,\n \"CurrentTime\": \"2024-11-05 20:44:07\",\n \"Destroyable\": 0,\n \"DeviceClass\": \"VSELF_5\",\n \"DeviceName\": \"EMR标准型S5\",\n \"DisableApiTermination\": false,\n \"DiskSize\": \"200.00 GB\",\n \"DynamicPodSpec\": \"\",\n \"EmrResourceId\": \"emr-vm-7sgwp92l\",\n \"ExpireTime\": \"0000-00-00 00:00:00\",\n \"Flag\": 1,\n \"FreeTime\": \"0000-00-00 00:00:00\",\n \"HardwareResourceType\": \"HOST\",\n \"HwDiskSize\": 214748364800,\n \"HwDiskSizeDesc\": \"200.00 GB\",\n \"HwMemSize\": 17179869184,\n \"HwMemSizeDesc\": \"16GB\",\n \"Ip\": \"10.233.179.87\",\n \"IsAutoRenew\": 1,\n \"IsDynamicSpec\": 0,\n \"IsFederation\": 0,\n \"MCMultiDisk\": [\n {\n \"Count\": 1,\n \"Type\": 4,\n \"Volume\": 214748364800\n }\n ],\n \"MemDesc\": \"16GB\",\n \"MemSize\": 17179869184,\n \"Mutable\": 1,\n \"NameTag\": \"master.0\",\n \"OrderNo\": \"ins-olrawbba\",\n \"RegionId\": 1,\n \"Remark\": \"\",\n \"RootSize\": 70,\n \"RootStorageType\": 4,\n \"SerialNo\": \"b8f36fdb-7f78-402e-ace6-63b3d3f277fd\",\n \"ServiceClient\": \"\",\n \"Services\": \"Filebeat,gateway,JobHistoryServer,ldap,NameNode,Zookeeper,ResourceManager,slapd,Sysctl,TimeLineServer\",\n \"ServicesStatus\": \"Filebeat:STARTED,gateway:STARTED,JobHistoryServer:STARTED,ldap:STARTED,NameNode:STARTED,Zookeeper:STARTED,ResourceManager:STARTED,slapd:STARTED,Sysctl:STARTED,TimeLineServer:STARTED\",\n \"SharedClusterId\": \"\",\n \"SharedClusterIdDesc\": \"\",\n \"Spec\": \"CVM.S5\",\n \"StorageType\": 4,\n \"SubnetInfo\": {\n \"SubnetId\": \"subnet-ax8z9f1u\",\n \"SubnetName\": \"vigo-subnet\"\n },\n \"SupportModifyPayMode\": 0,\n \"Tags\": [],\n \"TradeVersion\": 1,\n \"WanIp\": \"0.0.0.0\",\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneId\": 100003\n }\n ],\n \"RequestId\": \"ee21e3bd-2340-4501-b63c-2edbcff0f220\",\n \"TagKeys\": null,\n \"TotalCnt\": 3\n }\n}",
|
104
104
|
"title": "获取硬件节点信息"
|
105
105
|
}
|
106
106
|
],
|
@@ -123,8 +123,8 @@
|
|
123
123
|
"DescribeEmrOverviewMetrics": [
|
124
124
|
{
|
125
125
|
"document": "",
|
126
|
-
"input": "
|
127
|
-
"output": "{\n \"Response\": {\n \"Result\": [\n {\n \"Metric\": \"
|
126
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEmrOverviewData\n<公共请求参数>\n\n{\n \"End\": 1730753724,\n \"Metric\": \"NODE.CPU\",\n \"InstanceId\": \"emr-hvijzo6n\",\n \"Downsample\": \"30s-min\"\n}",
|
127
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a16d3814-3b85-498a-97a7-15e7b0f0f0bd\",\n \"Result\": [\n {\n \"Metric\": \"EMR.19003289.NODE.CPU\",\n \"Tags\": {\n \"Type\": \"CPUUsedPercent\"\n },\n \"First\": 1730148930,\n \"Last\": 1730753700,\n \"Interval\": 30,\n \"DataPoints\": [\n \"2.3\",\n \"2.4\",\n \"2.6\",\n \"3.8\",\n \"2.8\",\n \"3.1\",\n \"3.4\",\n \"3.3\",\n \"3.6\",\n \"4.3\",\n \"3\",\n \"3.1\",\n \"2.3\",\n \"2.9\",\n \"2.5\",\n \"2.4\",\n \"2.2\",\n \"4.1\",\n \"3.3\",\n \"2.5\",\n \"4.5\",\n \"4.7\",\n \"2.5\",\n \"3.6\",\n \"2.2\",\n \"2.3\",\n \"2.5\",\n \"2.9\",\n \"2.2\"\n ]\n },\n {\n \"Metric\": \"EMR.19003289.NODE.CPU\",\n \"Tags\": {\n \"Type\": \"CPUCoresTotal\",\n \"Unit\": \"核\"\n },\n \"First\": 1730148930,\n \"Last\": 1730753700,\n \"Interval\": 30,\n \"DataPoints\": [\n \"118\"\n ]\n }\n ]\n }\n}",
|
128
128
|
"title": "查询监控概览页指标数据"
|
129
129
|
}
|
130
130
|
],
|
@@ -132,7 +132,7 @@
|
|
132
132
|
{
|
133
133
|
"document": "",
|
134
134
|
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGlobalConfig\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-xxx\"\n}",
|
135
|
-
"output": "{\n \"Response\": {\n \"
|
135
|
+
"output": "{\n \"Response\": {\n \"ActiveScheduler\": \"fair\",\n \"CapacityGlobalConfig\": {\n \"DefaultSettings\": [\n {\n \"Desc\": \"保证任务本地化执行,可以延迟调度的次数,如果值为 -1,将禁用延迟调度。\",\n \"Key\": \"yarn.scheduler.capacity.node-locality-delay\",\n \"Name\": \"node-locality-delay\",\n \"Prompt\": \"请输入-1和0、正整数\",\n \"Value\": null\n },\n {\n \"Desc\": \"是否允许在一次NodeManager心跳中分配多个容器。默认为true。需重启ResourceManager。\",\n \"Key\": \"yarn.scheduler.capacity.per-node-heartbeat.multiple-assignments-enabled\",\n \"Name\": \"multiple-assignments-enabled\",\n \"Prompt\": \"请输入true或者false\",\n \"Value\": null\n },\n {\n \"Desc\": \"如果multiple-assignments-enabled为true,在一次NodeManager心跳中可以分配的最大容器数量。需重启ResourceManager。\",\n \"Key\": \"yarn.scheduler.capacity.per-node-heartbeat.maximum-container-assignments\",\n \"Name\": \"maximum-container-assignments\",\n \"Prompt\": \"请输入-1和正整数\",\n \"Value\": null\n },\n {\n \"Desc\": \"用于比较调度程序中的资源的ResourceCalculator实现。默认的org.apache.hadoop.yarn.util.resource.DefaultResourceCalculator只使用内存,而org.apache.hadoop.yarn.util.resource.DominantResourceCalculator使用多维资源,如内存,CPU等。需重启ResourceManager。\",\n \"Key\": \"yarn.scheduler.capacity.resource-calculator\",\n \"Name\": \"resource-calculator\",\n \"Prompt\": \"输入请参考描述信息\",\n \"Value\": null\n }\n ],\n \"EnableLabel\": false,\n \"LabelDir\": null,\n \"QueueMappingOverride\": null\n },\n \"EnableResourceSchedule\": true,\n \"FairGlobalConfig\": {\n \"UserMaxAppsDefault\": null\n },\n \"RequestId\": \"37bd53ed-7516-4a36-988e-e4afeb731df1\",\n \"Scheduler\": \"fair\"\n }\n}",
|
136
136
|
"title": "查询YARN资源调度的全局配置"
|
137
137
|
}
|
138
138
|
],
|
@@ -147,8 +147,8 @@
|
|
147
147
|
"DescribeHDFSStorageInfo": [
|
148
148
|
{
|
149
149
|
"document": "",
|
150
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHDFSStorageInfo\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
151
|
-
"output": "{\n \"Response\": {\n \"SampleTime\":
|
150
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHDFSStorageInfo\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-123\",\n \"StartTime\": 1729746447,\n \"EndTime\": 1729746447\n}",
|
151
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"040d2297-a88c-4b68-acd4-a48be8699270\",\n \"SampleTime\": 1729738900,\n \"StorageSummaryDistribution\": [\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"177\"\n }\n ],\n \"MetricItem\": \"empty_count\",\n \"MetricName\": \"空文件\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"1471\"\n }\n ],\n \"MetricItem\": \"hot_count\",\n \"MetricName\": \"热文件\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"133\"\n }\n ],\n \"MetricItem\": \"other_atime_count\",\n \"MetricName\": \"其他\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"14405757446\"\n }\n ],\n \"MetricItem\": \"other_file_size\",\n \"MetricName\": \"其他\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"1669\"\n }\n ],\n \"MetricItem\": \"warm_count\",\n \"MetricName\": \"温文件\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"2767\"\n }\n ],\n \"MetricItem\": \"small_count\",\n \"MetricName\": \"小文件\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"485404741\"\n }\n ],\n \"MetricItem\": \"small_file_size\",\n \"MetricName\": \"小文件\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"14891162187\"\n }\n ],\n \"MetricItem\": \"total_size\",\n \"MetricName\": \"总量\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"5474041684\"\n }\n ],\n \"MetricItem\": \"warm_size\",\n \"MetricName\": \"温文件\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"0\"\n }\n ],\n \"MetricItem\": \"big_count\",\n \"MetricName\": \"大文件\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"0\"\n }\n ],\n \"MetricItem\": \"big_file_size\",\n \"MetricName\": \"大文件\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"0\"\n }\n ],\n \"MetricItem\": \"cold_size\",\n \"MetricName\": \"冷文件\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"2206625015\"\n }\n ],\n \"MetricItem\": \"other_atime_size\",\n \"MetricName\": \"其他\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"329\"\n }\n ],\n \"MetricItem\": \"other_count\",\n \"MetricName\": \"其他\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"3273\"\n }\n ],\n \"MetricItem\": \"total_count\",\n \"MetricName\": \"总数\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"0\"\n }\n ],\n \"MetricItem\": \"cold_count\",\n \"MetricName\": \"冷文件\"\n },\n {\n \"Dps\": [\n {\n \"Timestamp\": \"1729738900\",\n \"Value\": \"7210495488\"\n }\n ],\n \"MetricItem\": \"hot_size\",\n \"MetricName\": \"热文件\"\n }\n ]\n }\n}",
|
152
152
|
"title": "DescribeHDFSStorageInfo"
|
153
153
|
}
|
154
154
|
],
|
@@ -180,7 +180,7 @@
|
|
180
180
|
{
|
181
181
|
"document": "预付费集群隔离后续费资源查询",
|
182
182
|
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceRenewNodes\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-6deluvd4\"\n}",
|
183
|
-
"output": "{\n \"Response\": {\n \"
|
183
|
+
"output": "{\n \"Response\": {\n \"MetaInfo\": [],\n \"NodeList\": [\n {\n \"CpuNum\": 8,\n \"DiskSize\": \"100.00 GB\",\n \"EmrResourceId\": \"emr-123\",\n \"ExpireTime\": \"2024-10-23 21:00:26\",\n \"Flag\": 1,\n \"Ip\": \"0.0.0.0\",\n \"MemDesc\": \"16GB\",\n \"Spec\": \"CVM.S5\",\n \"StorageType\": 5\n },\n {\n \"CpuNum\": 4,\n \"DiskSize\": \"100.00 GB\",\n \"EmrResourceId\": \"emr-123\",\n \"ExpireTime\": \"2024-10-23 21:00:16\",\n \"Flag\": 2,\n \"Ip\": \"0.0.0.0\",\n \"MemDesc\": \"8GB\",\n \"Spec\": \"CVM.S5\",\n \"StorageType\": 5\n },\n {\n \"CpuNum\": 4,\n \"DiskSize\": \"100.00 GB\",\n \"EmrResourceId\": \"emr-123\",\n \"ExpireTime\": \"2024-10-23 21:00:21\",\n \"Flag\": 2,\n \"Ip\": \"0.0.0.0\",\n \"MemDesc\": \"8GB\",\n \"Spec\": \"CVM.S5\",\n \"StorageType\": 5\n }\n ],\n \"RequestId\": \"369660ea-8cdd-4079-b473-8eb14b059b53\",\n \"TotalCnt\": 3\n }\n}",
|
184
184
|
"title": "预付费集群隔离后续费资源查询"
|
185
185
|
}
|
186
186
|
],
|
@@ -188,7 +188,7 @@
|
|
188
188
|
{
|
189
189
|
"document": "查询实例详情",
|
190
190
|
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\n\n{\n \"DisplayStrategy\": \"clusterList\",\n \"ProjectId\": \"0\",\n \"Asc\": \"0\",\n \"Limit\": \"10\",\n \"OrderField\": \"clusterid\",\n \"Offset\": \"0\",\n \"InstanceIds\": [\n \"emr-p9f700x8\"\n ]\n}",
|
191
|
-
"output": "{\n \"Response\": {\n \"
|
191
|
+
"output": "{\n \"Response\": {\n \"ClusterList\": [\n {\n \"AddTime\": \"2024-11-05 20:39:44\",\n \"AlarmInfo\": \"\",\n \"AliasInfo\": \"eyJjb21tb24iOiJjb21tb24iLCJjb3JlIjoiY29yZSIsIm1hc3RlciI6Im1hc3RlciIsInRhc2siOiJ0YXNrIn0=\",\n \"AppId\": 1334143,\n \"ChargeType\": 0,\n \"ClusterExternalServiceInfo\": null,\n \"ClusterId\": \"emr-hvijzo6n\",\n \"ClusterName\": \"odinlli_test_1105\",\n \"ClusterTitle\": \"集群运行中\",\n \"Config\": {\n \"ApplicationRole\": \"\",\n \"CbsEncrypt\": 0,\n \"ChargeType\": 0,\n \"ComNodeSize\": 0,\n \"ComResource\": {\n \"Cpu\": 0,\n \"DiskSize\": 0,\n \"DiskType\": \"\",\n \"InstanceType\": \"\",\n \"MemSize\": 0,\n \"RootSize\": 0,\n \"Spec\": \"\",\n \"SpecName\": \"\",\n \"StorageType\": 0\n },\n \"CoreNodeSize\": 2,\n \"CoreResource\": {\n \"Cpu\": 4,\n \"DiskSize\": 200,\n \"DiskType\": \"CLOUD_SSD\",\n \"InstanceType\": \"\",\n \"MemSize\": 8192,\n \"RootSize\": 70,\n \"Spec\": \"CVM.S5\",\n \"SpecName\": \"EMR标准型S5\",\n \"StorageType\": 4\n },\n \"MasterNodeSize\": 1,\n \"MasterResource\": {\n \"Cpu\": 8,\n \"DiskSize\": 200,\n \"DiskType\": \"CLOUD_SSD\",\n \"InstanceType\": \"\",\n \"MemSize\": 16384,\n \"RootSize\": 70,\n \"Spec\": \"CVM.S5\",\n \"SpecName\": \"EMR标准型S5\",\n \"StorageType\": 4\n },\n \"OnCos\": false,\n \"PublicKeyId\": \"\",\n \"RouterNodeSize\": 0,\n \"SecurityGroup\": \"sg-jfluz1nt\",\n \"SecurityGroups\": [\n \"sg-jfluz1nt\"\n ],\n \"SecurityOn\": false,\n \"SoftInfo\": [\n \"hdfs-3.2.2\",\n \"yarn-3.2.2\",\n \"zookeeper-3.6.3\",\n \"openldap-2.4.44\",\n \"knox-1.6.1\"\n ],\n \"SupportHA\": false,\n \"TaskNodeSize\": 0,\n \"TaskResource\": {\n \"Cpu\": 0,\n \"DiskSize\": 0,\n \"DiskType\": \"\",\n \"InstanceType\": \"\",\n \"MemSize\": 0,\n \"RootSize\": 0,\n \"Spec\": \"\",\n \"SpecName\": \"\",\n \"StorageType\": 0\n }\n },\n \"ConfigDetail\": {\n \"ApplicationRole\": \"\",\n \"CbsEncrypt\": 0,\n \"ChargeType\": 0,\n \"ComNodeSize\": 0,\n \"ComResource\": {\n \"Cpu\": 0,\n \"DiskSize\": 0,\n \"DiskType\": \"\",\n \"InstanceType\": \"\",\n \"MemSize\": 0,\n \"RootSize\": 0,\n \"Spec\": \"\",\n \"SpecName\": \"\",\n \"StorageType\": 0\n },\n \"CoreNodeSize\": 2,\n \"CoreResource\": {\n \"Cpu\": 4,\n \"DiskSize\": 200,\n \"DiskType\": \"CLOUD_SSD\",\n \"InstanceType\": \"\",\n \"MemSize\": 8192,\n \"RootSize\": 70,\n \"Spec\": \"CVM.S5\",\n \"SpecName\": \"EMR标准型S5\",\n \"StorageType\": 4\n },\n \"MasterNodeSize\": 1,\n \"MasterResource\": {\n \"Cpu\": 8,\n \"DiskSize\": 200,\n \"DiskType\": \"CLOUD_SSD\",\n \"InstanceType\": \"\",\n \"MemSize\": 16384,\n \"RootSize\": 70,\n \"Spec\": \"CVM.S5\",\n \"SpecName\": \"EMR标准型S5\",\n \"StorageType\": 4\n },\n \"OnCos\": false,\n \"PublicKeyId\": \"\",\n \"RouterNodeSize\": 0,\n \"SecurityGroup\": \"sg-jfluz1nt\",\n \"SecurityGroups\": [\n \"sg-jfluz1nt\"\n ],\n \"SecurityOn\": false,\n \"SoftInfo\": [\n \"hdfs-3.2.2\",\n \"yarn-3.2.2\",\n \"zookeeper-3.6.3\",\n \"openldap-2.4.44\",\n \"knox-1.6.1\"\n ],\n \"SupportHA\": false,\n \"TaskNodeSize\": 0,\n \"TaskResource\": {\n \"Cpu\": 0,\n \"DiskSize\": 0,\n \"DiskType\": \"\",\n \"InstanceType\": \"\",\n \"MemSize\": 0,\n \"RootSize\": 0,\n \"Spec\": \"\",\n \"SpecName\": \"\",\n \"StorageType\": 0\n }\n },\n \"DisplayName\": \"默认场景\",\n \"EmrVersion\": \"EMR-V3.5.0\",\n \"Ftitle\": \"集群运行中\",\n \"HiveMetaDb\": \"\",\n \"Id\": 1113,\n \"IsCvmReplace\": false,\n \"IsMultiZoneCluster\": false,\n \"IsTradeCluster\": 0,\n \"IsWoodpeckerCluster\": 1,\n \"MasterIp\": \"0.0.0.0\",\n \"MetaDb\": \"\",\n \"ProductId\": 44,\n \"ProjectId\": 0,\n \"RegionId\": 1,\n \"ResourceOrderId\": 0,\n \"RunTime\": \"0天0小时32分钟20秒\",\n \"SceneEmrVersion\": \"EMR-V3.5.0\",\n \"SceneName\": \"Hadoop-Default\",\n \"SceneServiceClass\": \"Hadoop\",\n \"ServiceClass\": \"HADOOP\",\n \"Status\": 2,\n \"SubnetId\": 6131299,\n \"SubnetName\": \"vigo-subnet\",\n \"Tags\": [],\n \"TopologyInfoList\": [\n {\n \"NodeInfoList\": [\n {\n \"NodeSize\": 2,\n \"NodeType\": \"Core\"\n },\n {\n \"NodeSize\": 0,\n \"NodeType\": \"Task\"\n },\n {\n \"NodeSize\": 0,\n \"NodeType\": \"Router\"\n },\n {\n \"NodeSize\": 0,\n \"NodeType\": \"Common\"\n },\n {\n \"NodeSize\": 1,\n \"NodeType\": \"Master\"\n }\n ],\n \"SubnetInfoList\": [\n {\n \"SubnetId\": \"subnet-ax8z9f1u\",\n \"SubnetName\": \"vigo-subnet\"\n }\n ],\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneId\": 100003\n }\n ],\n \"TradeVersion\": 1,\n \"Uin\": \"0000000\",\n \"UniqSubnetId\": \"subnet-ax8z9f1u\",\n \"UniqVpcId\": \"vpc-r2g15ki3\",\n \"VpcId\": 10421586,\n \"VpcName\": \"vigo-vpc\",\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneId\": 100003\n }\n ],\n \"RequestId\": \"7fd5fb20-1b1f-4425-ad13-1763f0f7f8dc\",\n \"TagKeys\": [],\n \"TotalCnt\": 1\n }\n}",
|
192
192
|
"title": "查询实例详情"
|
193
193
|
}
|
194
194
|
],
|
@@ -196,7 +196,7 @@
|
|
196
196
|
{
|
197
197
|
"document": "查询实例详情",
|
198
198
|
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstancesList\n<公共请求参数>\n\n{\n \"Asc\": \"0\",\n \"DisplayStrategy\": \"clusterList\",\n \"Limit\": \"10\",\n \"OrderField\": \"clusterid\",\n \"Offset\": \"0\"\n}",
|
199
|
-
"output": "{\n \"Response\": {\n \"
|
199
|
+
"output": "{\n \"Response\": {\n \"InstancesList\": [\n {\n \"AddTime\": \"2024-11-04 15:54:58\",\n \"AlarmInfo\": \"\",\n \"AppId\": 11111,\n \"ChargeType\": 1,\n \"ClusterClass\": \"Hadoop\",\n \"ClusterId\": \"emr-111\",\n \"ClusterName\": \"EMR-1111\",\n \"EmrVersion\": \"\",\n \"Id\": 1016390,\n \"IsDedicatedCluster\": false,\n \"IsHandsCluster\": false,\n \"IsMultiZoneCluster\": false,\n \"IsSupportOutsideCluster\": true,\n \"IsWoodpeckerCluster\": 1,\n \"MasterIp\": \"--\",\n \"OutSideSoftInfo\": [\n {\n \"Required\": true,\n \"SoftName\": \"hdfs-3.2.2\"\n },\n {\n \"Required\": true,\n \"SoftName\": \"yarn-3.2.2\"\n },\n {\n \"Required\": false,\n \"SoftName\": \"hive-3.1.3\"\n },\n {\n \"Required\": false,\n \"SoftName\": \"hbase-2.4.5\"\n },\n {\n \"Required\": false,\n \"SoftName\": \"spark-3.2.2\"\n }\n ],\n \"ProductId\": 44,\n \"ProjectId\": 1325150,\n \"RegionId\": 1,\n \"RunTime\": \"1天5小时24分钟6秒\",\n \"Status\": 2,\n \"StatusDesc\": \"集群运行中\",\n \"SubnetId\": 6059972,\n \"SubnetName\": \"zefa-111\",\n \"Tags\": [\n {\n \"TagKey\": \"tke-111\",\n \"TagValue\": \"cos-111\"\n }\n ],\n \"UniqSubnetId\": \"subnet-pan0t01q\",\n \"UniqVpcId\": \"vpc-hitz5lsz\",\n \"VpcId\": 10412940,\n \"VpcName\": \"zefa-111\",\n \"Zone\": \"ap-guangzhou-7\",\n \"ZoneId\": 100007\n }\n ],\n \"RequestId\": \"3664d030-623c-40fb-bf19-f69a2d58dfe2\",\n \"TotalCnt\": 1\n }\n}",
|
200
200
|
"title": "查询实例详情"
|
201
201
|
}
|
202
202
|
],
|
@@ -219,8 +219,8 @@
|
|
219
219
|
"DescribeResourceSchedule": [
|
220
220
|
{
|
221
221
|
"document": "",
|
222
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeResourceSchedule\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
223
|
-
"output": "{\n \"Response\": {\n \"OpenSwitch\": true,\n \"Scheduler\": \"abc\",\n \"FSInfo\": \"abc\",\n \"CSInfo\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
|
222
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeResourceSchedule\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-123\"\n}",
|
223
|
+
"output": "{\n \"Response\": {\n \"CSInfo\": \"{\\\"schedulerInfo\\\":{\\\"queueMappings\\\":null,\\\"queue\\\":{\\\"name\\\":\\\"root\\\",\\\"myId\\\":\\\"root\\\",\\\"parentId\\\":\\\"root\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":100,\\\"maximum-capacity\\\":100}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-allocation-mb\\\":null,\\\"maximum-allocation-vcores\\\":null,\\\"maximum-applications\\\":null,\\\"maximum-am-resource-percent\\\":null,\\\"default-application-priority\\\":null}],\\\"state\\\":null,\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":null,\\\"acl_administer_queue\\\":null,\\\"isDefault\\\":null,\\\"isRoot\\\":true,\\\"queues\\\":[{\\\"name\\\":\\\"default\\\",\\\"myId\\\":\\\"root.default\\\",\\\"parentId\\\":\\\"root\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":13,\\\"maximum-capacity\\\":50}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":1,\\\"maximum-allocation-mb\\\":32768,\\\"maximum-allocation-vcores\\\":2,\\\"maximum-applications\\\":null,\\\"maximum-am-resource-percent\\\":null,\\\"default-application-priority\\\":null}],\\\"state\\\":\\\"RUNNING\\\",\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"isDefault\\\":true,\\\"isRoot\\\":null,\\\"queues\\\":[]},{\\\"name\\\":\\\"reserve\\\",\\\"myId\\\":\\\"root.reserve\\\",\\\"parentId\\\":\\\"root\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":1,\\\"maximum-capacity\\\":30}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-allocation-mb\\\":32768,\\\"maximum-allocation-vcores\\\":2,\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":0.25,\\\"default-application-priority\\\":null}],\\\"state\\\":\\\"RUNNING\\\",\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"isDefault\\\":null,\\\"isRoot\\\":null,\\\"queues\\\":[]},{\\\"name\\\":\\\"sghyzt\\\",\\\"myId\\\":\\\"root.sghyzt\\\",\\\"parentId\\\":\\\"root\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":3,\\\"maximum-capacity\\\":12}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-allocation-mb\\\":32768,\\\"maximum-allocation-vcores\\\":2,\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":0.25,\\\"default-application-priority\\\":null}],\\\"state\\\":\\\"RUNNING\\\",\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"isDefault\\\":null,\\\"isRoot\\\":null,\\\"queues\\\":[]},{\\\"name\\\":\\\"sgjf\\\",\\\"myId\\\":\\\"root.sgjf\\\",\\\"parentId\\\":\\\"root\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":13,\\\"maximum-capacity\\\":30}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-allocation-mb\\\":32768,\\\"maximum-allocation-vcores\\\":2,\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":0.25,\\\"default-application-priority\\\":null}],\\\"state\\\":\\\"RUNNING\\\",\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"isDefault\\\":null,\\\"isRoot\\\":null,\\\"queues\\\":[{\\\"name\\\":\\\"sgjfoffline\\\",\\\"myId\\\":\\\"root.sgjf.sgjfoffline\\\",\\\"parentId\\\":\\\"root.sgjf\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":23,\\\"maximum-capacity\\\":23}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-allocation-mb\\\":32768,\\\"maximum-allocation-vcores\\\":2,\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":0.25,\\\"default-application-priority\\\":null}],\\\"state\\\":\\\"RUNNING\\\",\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"isDefault\\\":null,\\\"isRoot\\\":null,\\\"queues\\\":[]},{\\\"name\\\":\\\"sgjfonline\\\",\\\"myId\\\":\\\"root.sgjf.sgjfonline\\\",\\\"parentId\\\":\\\"root.sgjf\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":77,\\\"maximum-capacity\\\":98}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-allocation-mb\\\":32768,\\\"maximum-allocation-vcores\\\":2,\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":0.25,\\\"default-application-priority\\\":null}],\\\"state\\\":\\\"RUNNING\\\",\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"isDefault\\\":null,\\\"isRoot\\\":null,\\\"queues\\\":[]}]},{\\\"name\\\":\\\"toB\\\",\\\"myId\\\":\\\"root.toB\\\",\\\"parentId\\\":\\\"root\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":40,\\\"maximum-capacity\\\":50}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-allocation-mb\\\":32768,\\\"maximum-allocation-vcores\\\":2,\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":0.25,\\\"default-application-priority\\\":null}],\\\"state\\\":\\\"RUNNING\\\",\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"isDefault\\\":null,\\\"isRoot\\\":null,\\\"queues\\\":[{\\\"name\\\":\\\"bi\\\",\\\"myId\\\":\\\"root.toB.bi\\\",\\\"parentId\\\":\\\"root.toB\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":25,\\\"maximum-capacity\\\":50}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-allocation-mb\\\":32768,\\\"maximum-allocation-vcores\\\":2,\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":0.25,\\\"default-application-priority\\\":null}],\\\"state\\\":\\\"RUNNING\\\",\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"isDefault\\\":null,\\\"isRoot\\\":null,\\\"queues\\\":[]},{\\\"name\\\":\\\"breserve\\\",\\\"myId\\\":\\\"root.toB.breserve\\\",\\\"parentId\\\":\\\"root.toB\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":5,\\\"maximum-capacity\\\":20}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-allocation-mb\\\":32768,\\\"maximum-allocation-vcores\\\":2,\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":0.25,\\\"default-application-priority\\\":null}],\\\"state\\\":\\\"RUNNING\\\",\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"isDefault\\\":null,\\\"isRoot\\\":null,\\\"queues\\\":[]},{\\\"name\\\":\\\"sjjh\\\",\\\"myId\\\":\\\"root.toB.sjjh\\\",\\\"parentId\\\":\\\"root.toB\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":25,\\\"maximum-capacity\\\":75}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-allocation-mb\\\":32768,\\\"maximum-allocation-vcores\\\":2,\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":0.25,\\\"default-application-priority\\\":null}],\\\"state\\\":\\\"RUNNING\\\",\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"isDefault\\\":null,\\\"isRoot\\\":null,\\\"queues\\\":[]},{\\\"name\\\":\\\"tzzt\\\",\\\"myId\\\":\\\"root.toB.tzzt\\\",\\\"parentId\\\":\\\"root.toB\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":18,\\\"maximum-capacity\\\":50}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-allocation-mb\\\":32768,\\\"maximum-allocation-vcores\\\":2,\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":0.25,\\\"default-application-priority\\\":null}],\\\"state\\\":\\\"RUNNING\\\",\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"isDefault\\\":null,\\\"isRoot\\\":null,\\\"queues\\\":[]},{\\\"name\\\":\\\"wbsj\\\",\\\"myId\\\":\\\"root.toB.wbsj\\\",\\\"parentId\\\":\\\"root.toB\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":2,\\\"maximum-capacity\\\":10}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-allocation-mb\\\":32768,\\\"maximum-allocation-vcores\\\":2,\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":0.25,\\\"default-application-priority\\\":null}],\\\"state\\\":\\\"RUNNING\\\",\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"isDefault\\\":null,\\\"isRoot\\\":null,\\\"queues\\\":[]},{\\\"name\\\":\\\"zgpt\\\",\\\"myId\\\":\\\"root.toB.zgpt\\\",\\\"parentId\\\":\\\"root.toB\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":25,\\\"maximum-capacity\\\":75}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-allocation-mb\\\":32768,\\\"maximum-allocation-vcores\\\":2,\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":0.25,\\\"default-application-priority\\\":null}],\\\"state\\\":\\\"RUNNING\\\",\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"isDefault\\\":null,\\\"isRoot\\\":null,\\\"queues\\\":[]}]},{\\\"name\\\":\\\"toC\\\",\\\"myId\\\":\\\"root.toC\\\",\\\"parentId\\\":\\\"root\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":30,\\\"maximum-capacity\\\":35}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-allocation-mb\\\":32768,\\\"maximum-allocation-vcores\\\":2,\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":0.25,\\\"default-application-priority\\\":null}],\\\"state\\\":\\\"RUNNING\\\",\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"isDefault\\\":null,\\\"isRoot\\\":null,\\\"queues\\\":[{\\\"name\\\":\\\"bingsheng\\\",\\\"myId\\\":\\\"root.toC.bingsheng\\\",\\\"parentId\\\":\\\"root.toC\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":49,\\\"maximum-capacity\\\":90}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-allocation-mb\\\":32768,\\\"maximum-allocation-vcores\\\":2,\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":0.25,\\\"default-application-priority\\\":null}],\\\"state\\\":\\\"RUNNING\\\",\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"isDefault\\\":null,\\\"isRoot\\\":null,\\\"queues\\\":[]},{\\\"name\\\":\\\"cdp\\\",\\\"myId\\\":\\\"root.toC.cdp\\\",\\\"parentId\\\":\\\"root.toC\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":33,\\\"maximum-capacity\\\":40}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-allocation-mb\\\":32768,\\\"maximum-allocation-vcores\\\":2,\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":0.25,\\\"default-application-priority\\\":null}],\\\"state\\\":\\\"RUNNING\\\",\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"isDefault\\\":null,\\\"isRoot\\\":null,\\\"queues\\\":[]},{\\\"name\\\":\\\"creserve\\\",\\\"myId\\\":\\\"root.toC.creserve\\\",\\\"parentId\\\":\\\"root.toC\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":10,\\\"maximum-capacity\\\":10}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-allocation-mb\\\":32768,\\\"maximum-allocation-vcores\\\":2,\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":0.25,\\\"default-application-priority\\\":null}],\\\"state\\\":\\\"RUNNING\\\",\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"isDefault\\\":null,\\\"isRoot\\\":null,\\\"queues\\\":[]},{\\\"name\\\":\\\"ma\\\",\\\"myId\\\":\\\"root.toC.ma\\\",\\\"parentId\\\":\\\"root.toC\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":7,\\\"maximum-capacity\\\":10}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-allocation-mb\\\":32768,\\\"maximum-allocation-vcores\\\":2,\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":0.25,\\\"default-application-priority\\\":null}],\\\"state\\\":\\\"RUNNING\\\",\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"isDefault\\\":null,\\\"isRoot\\\":null,\\\"queues\\\":[]},{\\\"name\\\":\\\"ksfw\\\",\\\"myId\\\":\\\"root.toC.ksfw\\\",\\\"parentId\\\":\\\"root.toC\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":1,\\\"maximum-capacity\\\":1}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-allocation-mb\\\":32768,\\\"maximum-allocation-vcores\\\":2,\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":0.25,\\\"default-application-priority\\\":null}],\\\"state\\\":\\\"RUNNING\\\",\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"isDefault\\\":null,\\\"isRoot\\\":null,\\\"queues\\\":null}]}]},\\\"queueMappingsOverride\\\":null,\\\"defaultSettings\\\":{},\\\"version\\\":\\\"v2\\\"},\\\"labelSwitchInfo\\\":{\\\"enableLabel\\\":false,\\\"labelDir\\\":null,\\\"State\\\":1},\\\"labelInfo\\\":{\\\"labels\\\":[{\\\"name\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"labelState\\\":1,\\\"unDeletable\\\":true,\\\"canNotChangeExclusive\\\":true,\\\"exclusive\\\":true,\\\"nodes\\\":null}],\\\"hasDraft\\\":false},\\\"hasDraft\\\":false}\",\n \"FSInfo\": \"{\\\"schedulerInfo\\\":{\\\"users\\\":null,\\\"userMaxAppsDefault\\\":null,\\\"queuePlacementPolicy\\\":null,\\\"queues\\\":[{\\\"name\\\":\\\"root\\\",\\\"type\\\":null,\\\"aclSubmitApps\\\":null,\\\"aclAdministerApps\\\":null,\\\"minSharePreemptionTimeout\\\":null,\\\"fairSharePreemptionTimeout\\\":null,\\\"fairSharePreemptionThreshold\\\":null,\\\"allowPreemptionFrom\\\":null,\\\"schedulingPolicy\\\":null,\\\"isDefault\\\":null,\\\"isRoot\\\":true,\\\"configSets\\\":[{\\\"name\\\":\\\"default\\\",\\\"minResources\\\":null,\\\"maxResources\\\":null,\\\"maxChildResources\\\":null,\\\"maxRunningApps\\\":null,\\\"weight\\\":null,\\\"maxAMShare\\\":-1}],\\\"queues\\\":[{\\\"name\\\":\\\"default\\\",\\\"type\\\":null,\\\"aclSubmitApps\\\":null,\\\"aclAdministerApps\\\":null,\\\"minSharePreemptionTimeout\\\":null,\\\"fairSharePreemptionTimeout\\\":null,\\\"fairSharePreemptionThreshold\\\":null,\\\"allowPreemptionFrom\\\":null,\\\"schedulingPolicy\\\":null,\\\"isDefault\\\":true,\\\"isRoot\\\":null,\\\"configSets\\\":[{\\\"name\\\":\\\"default\\\",\\\"minResources\\\":null,\\\"maxResources\\\":null,\\\"maxChildResources\\\":null,\\\"maxRunningApps\\\":null,\\\"weight\\\":null,\\\"maxAMShare\\\":null}],\\\"queues\\\":null}]}]},\\\"hasDraft\\\":false,\\\"plans\\\":[{\\\"repeatType\\\":\\\"\\\",\\\"scheduleName\\\":\\\"default\\\",\\\"startTime\\\":\\\"\\\",\\\"duration\\\":null,\\\"daysOfRepeat\\\":null,\\\"isDefault\\\":true,\\\"disable\\\":false}]}\",\n \"OpenSwitch\": true,\n \"RequestId\": \"69baff80-b6d4-44e7-a504-84bcb9f90b6f\",\n \"Scheduler\": \"{\\\"Name\\\":\\\"capacity\\\",\\\"FlowId\\\":null}\"\n }\n}",
|
224
224
|
"title": "test"
|
225
225
|
}
|
226
226
|
],
|
@@ -234,25 +234,25 @@
|
|
234
234
|
],
|
235
235
|
"DescribeSLInstance": [
|
236
236
|
{
|
237
|
-
"document": "
|
237
|
+
"document": "Serverless HBase查询实例信息",
|
238
238
|
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSLInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-3o9tms4i\"\n}",
|
239
239
|
"output": "{\n \"Response\": {\n \"DiskSize\": 100,\n \"DiskType\": \"性能云存储\",\n \"InstanceName\": \"sl-haoyuhua-test-create\",\n \"NodeType\": \"4C16G\",\n \"PayMode\": 0,\n \"RequestId\": \"a316989f-9316-4205-a2a3-64ab841aee14\",\n \"ZoneSettings\": [\n {\n \"NodeNum\": 1,\n \"VPCSettings\": {\n \"SubnetId\": \"subnet-5bhc4kly\",\n \"VpcId\": \"vpc-dcfhrh73\"\n },\n \"Zone\": \"ap-guangzhou-2\"\n },\n {\n \"NodeNum\": 1,\n \"VPCSettings\": {\n \"SubnetId\": \"subnet-5bhc4kly\",\n \"VpcId\": \"vpc-dcfhrh73\"\n },\n \"Zone\": \"ap-guangzhou-2\"\n },\n {\n \"NodeNum\": 1,\n \"VPCSettings\": {\n \"SubnetId\": \"subnet-5bhc4kly\",\n \"VpcId\": \"vpc-dcfhrh73\"\n },\n \"Zone\": \"ap-guangzhou-2\"\n }\n ]\n }\n}",
|
240
|
-
"title": "
|
240
|
+
"title": "Serverless HBase查询实例信息"
|
241
241
|
}
|
242
242
|
],
|
243
243
|
"DescribeSLInstanceList": [
|
244
244
|
{
|
245
|
-
"document": "
|
245
|
+
"document": "Serverless HBase查询实例列表",
|
246
246
|
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSLInstanceList\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 10,\n \"OrderField\": \"AddTime\",\n \"Asc\": 1,\n \"DisplayStrategy\": \"clusterList\",\n \"Filters\": []\n}",
|
247
247
|
"output": "{\n \"Response\": {\n \"InstancesList\": [\n {\n \"AddTime\": \"2024-03-14 17:40:19\",\n \"AppId\": 251233704,\n \"ClusterId\": \"emr-2ecolb9q\",\n \"ClusterName\": \"EMR-haosen\",\n \"Id\": 126358006,\n \"PayMode\": 0,\n \"RegionId\": 1,\n \"Status\": 3,\n \"StatusDesc\": \"集群生产中\",\n \"SubnetId\": 2666622,\n \"Tags\": [],\n \"VpcId\": 11406751,\n \"Zone\": \"ap-guangzhou-2\",\n \"ZoneId\": 100002\n }\n ],\n \"RequestId\": \"fde6361c-205a-45e5-8bec-34b9100fc5b0\",\n \"TotalCnt\": 1\n }\n}",
|
248
|
-
"title": "
|
248
|
+
"title": "Serverless HBase查询实例列表"
|
249
249
|
}
|
250
250
|
],
|
251
251
|
"DescribeServiceNodeInfos": [
|
252
252
|
{
|
253
253
|
"document": "查询服务进程信息",
|
254
|
-
"input": "
|
255
|
-
"output": "{\n \"Response\": {\n \"
|
254
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeServiceNodeInfos\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-3u\",\n \"Limit\": 999,\n \"Offset\": 0,\n \"ServiceName\": \"HIVE\"\n}",
|
255
|
+
"output": "{\n \"Response\": {\n \"AliasInfo\": \"13141313\",\n \"RequestId\": \"a90a9922-dc51-45a6-abdd-93f63cf02e57\",\n \"ServiceNodeList\": [\n {\n \"ConfGroupId\": 623383,\n \"ConfGroupName\": \"hive-master-defaultGroup\",\n \"ConfStatus\": 1,\n \"DataNodeMaintenanceState\": 0,\n \"Flag\": 1,\n \"HAState\": \"\",\n \"HealthStatus\": {\n \"Code\": 1,\n \"Desc\": \"端口探测在5s内响应\",\n \"Text\": \"良好\"\n },\n \"Ip\": \"10.0.0.0\",\n \"IsFederation\": false,\n \"IsSupportRoleMonitor\": true,\n \"LastRestartTime\": \"2024-08-16 14:13:32\",\n \"MonitorStatus\": 1,\n \"NameService\": \"\",\n \"NodeFlagFilter\": \"master\",\n \"NodeName\": \"HiveMetaStore\",\n \"NodeType\": 30,\n \"PortsInfo\": \"\",\n \"ServiceDetectionInfo\": [],\n \"ServiceStatus\": 1,\n \"Status\": 1,\n \"StopPolicies\": null\n },\n {\n \"ConfGroupId\": 623383,\n \"ConfGroupName\": \"hive-master-defaultGroup\",\n \"ConfStatus\": 1,\n \"DataNodeMaintenanceState\": 0,\n \"Flag\": 1,\n \"HAState\": \"\",\n \"HealthStatus\": {\n \"Code\": 1,\n \"Desc\": \"端口探测在5s内响应\",\n \"Text\": \"良好\"\n },\n \"Ip\": \"10.0.0.0\",\n \"IsFederation\": false,\n \"IsSupportRoleMonitor\": true,\n \"LastRestartTime\": \"2024-08-16 14:14:24\",\n \"MonitorStatus\": 1,\n \"NameService\": \"\",\n \"NodeFlagFilter\": \"master\",\n \"NodeName\": \"HiveMetaStore\",\n \"NodeType\": 30,\n \"PortsInfo\": \"\",\n \"ServiceDetectionInfo\": [],\n \"ServiceStatus\": 1,\n \"Status\": 1,\n \"StopPolicies\": null\n },\n {\n \"ConfGroupId\": 623383,\n \"ConfGroupName\": \"hive-master-defaultGroup\",\n \"ConfStatus\": 1,\n \"DataNodeMaintenanceState\": 0,\n \"Flag\": 1,\n \"HAState\": \"\",\n \"HealthStatus\": {\n \"Code\": 1,\n \"Desc\": \"端口探测在5s内响应\",\n \"Text\": \"良好\"\n },\n \"Ip\": \"10.0.0.0\",\n \"IsFederation\": false,\n \"IsSupportRoleMonitor\": true,\n \"LastRestartTime\": \"2024-08-16 14:14:47\",\n \"MonitorStatus\": 1,\n \"NameService\": \"\",\n \"NodeFlagFilter\": \"master\",\n \"NodeName\": \"HiveServer2\",\n \"NodeType\": 31,\n \"PortsInfo\": \"\",\n \"ServiceDetectionInfo\": [],\n \"ServiceStatus\": 1,\n \"Status\": 1,\n \"StopPolicies\": null\n },\n {\n \"ConfGroupId\": 623383,\n \"ConfGroupName\": \"hive-master-defaultGroup\",\n \"ConfStatus\": 1,\n \"DataNodeMaintenanceState\": 0,\n \"Flag\": 1,\n \"HAState\": \"\",\n \"HealthStatus\": {\n \"Code\": 1,\n \"Desc\": \"端口探测在5s内响应\",\n \"Text\": \"良好\"\n },\n \"Ip\": \"10.0.0.0\",\n \"IsFederation\": false,\n \"IsSupportRoleMonitor\": true,\n \"LastRestartTime\": \"2024-08-16 14:14:54\",\n \"MonitorStatus\": 1,\n \"NameService\": \"\",\n \"NodeFlagFilter\": \"master\",\n \"NodeName\": \"HiveServer2\",\n \"NodeType\": 31,\n \"PortsInfo\": \"\",\n \"ServiceDetectionInfo\": [],\n \"ServiceStatus\": 1,\n \"Status\": 1,\n \"StopPolicies\": null\n },\n {\n \"ConfGroupId\": 623383,\n \"ConfGroupName\": \"hive-master-defaultGroup\",\n \"ConfStatus\": 1,\n \"DataNodeMaintenanceState\": 0,\n \"Flag\": 1,\n \"HAState\": \"\",\n \"HealthStatus\": {\n \"Code\": 1,\n \"Desc\": \"端口探测在5s内响应\",\n \"Text\": \"良好\"\n },\n \"Ip\": \"10.0.0.0\",\n \"IsFederation\": false,\n \"IsSupportRoleMonitor\": true,\n \"LastRestartTime\": \"2024-08-16 14:15:11\",\n \"MonitorStatus\": 1,\n \"NameService\": \"\",\n \"NodeFlagFilter\": \"master\",\n \"NodeName\": \"HiveWebHcat\",\n \"NodeType\": 32,\n \"PortsInfo\": \"\",\n \"ServiceDetectionInfo\": [],\n \"ServiceStatus\": 1,\n \"Status\": 1,\n \"StopPolicies\": null\n },\n {\n \"ConfGroupId\": 623383,\n \"ConfGroupName\": \"hive-master-defaultGroup\",\n \"ConfStatus\": 1,\n \"DataNodeMaintenanceState\": 0,\n \"Flag\": 1,\n \"HAState\": \"\",\n \"HealthStatus\": {\n \"Code\": 1,\n \"Desc\": \"端口探测在5s内响应\",\n \"Text\": \"良好\"\n },\n \"Ip\": \"10.0.0.0\",\n \"IsFederation\": false,\n \"IsSupportRoleMonitor\": true,\n \"LastRestartTime\": \"2024-08-16 14:15:39\",\n \"MonitorStatus\": 1,\n \"NameService\": \"\",\n \"NodeFlagFilter\": \"master\",\n \"NodeName\": \"HiveWebHcat\",\n \"NodeType\": 32,\n \"PortsInfo\": \"\",\n \"ServiceDetectionInfo\": [],\n \"ServiceStatus\": 1,\n \"Status\": 1,\n \"StopPolicies\": null\n }\n ],\n \"SupportNodeFlagFilterList\": [\n \"master\",\n \"core\",\n \"task\",\n \"common\",\n \"router\"\n ],\n \"TotalCnt\": 6\n }\n}",
|
256
256
|
"title": "查询服务进程信息"
|
257
257
|
}
|
258
258
|
],
|
@@ -299,8 +299,8 @@
|
|
299
299
|
"DescribeYarnQueue": [
|
300
300
|
{
|
301
301
|
"document": "",
|
302
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeYarnQueue\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-
|
303
|
-
"output": "{\n \"Response\": {\n \"Queue\": \"{\\\"name\\\":\\\"root\\\",\\\"myId\\\":\\\"root\\\",\\\"parentId\\\":\\\"root\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":null,\\\"maximum-capacity\\\":null,\\\"state\\\":0},{\\\"labelName\\\":\\\"test\\\",\\\"capacity\\\":null,\\\"maximum-capacity\\\":null,\\\"state\\\":0},{\\\"labelName\\\":\\\"test2\\\",\\\"capacity\\\":null,\\\"maximum-capacity\\\":null,\\\"state\\\":0}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-applications\\\":null,\\\"maximum-am-resource-percent\\\":null,\\\"default-application-priority\\\":null}],\\\"state\\\":null,\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":null,\\\"acl_administer_queue\\\":null,\\\"maximum-allocation-mb\\\":null,\\\"maximum-allocation-vcores\\\":null,\\\"isDefault\\\":null,\\\"isRoot\\\":true,\\\"queues\\\":[{\\\"name\\\":\\\"default\\\",\\\"myId\\\":\\\"root.default\\\",\\\"parentId\\\":\\\"root\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":50,\\\"maximum-capacity\\\":100,\\\"state\\\":0}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":1,\\\"maximum-applications\\\":null,\\\"maximum-am-resource-percent\\\":null,\\\"default-application-priority\\\":null}],\\\"state\\\":null,\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":null,\\\"acl_administer_queue\\\":null,\\\"maximum-allocation-mb\\\":null,\\\"maximum-allocation-vcores\\\":null,\\\"isDefault\\\":true,\\\"isRoot\\\":null,\\\"queues\\\":[]},{\\\"name\\\":\\\"q1\\\",\\\"myId\\\":\\\"root.q1\\\",\\\"parentId\\\":\\\"root\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":50,\\\"maximum-capacity\\\":100,\\\"state\\\":0},{\\\"labelName\\\":\\\"test\\\",\\\"capacity\\\":100,\\\"maximum-capacity\\\":100,\\\"state\\\":0}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-applications\\\":null,\\\"maximum-am-resource-percent\\\":null,\\\"default-application-priority\\\":null}],\\\"state\\\":\\\"RUNNING\\\",\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"maximum-allocation-mb\\\":null,\\\"maximum-allocation-vcores\\\":null,\\\"isDefault\\\":null,\\\"isRoot\\\":null,\\\"queues\\\":[]}]}\",\n \"Version\": \"v3\",\n \"RequestId\": \"
|
302
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeYarnQueue\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-fa13\",\n \"Scheduler\": \"capacity\"\n}",
|
303
|
+
"output": "{\n \"Response\": {\n \"Queue\": \"{\\\"name\\\":\\\"root\\\",\\\"myId\\\":\\\"root\\\",\\\"parentId\\\":\\\"root\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":null,\\\"maximum-capacity\\\":null,\\\"state\\\":0},{\\\"labelName\\\":\\\"test\\\",\\\"capacity\\\":null,\\\"maximum-capacity\\\":null,\\\"state\\\":0},{\\\"labelName\\\":\\\"test2\\\",\\\"capacity\\\":null,\\\"maximum-capacity\\\":null,\\\"state\\\":0}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-applications\\\":null,\\\"maximum-am-resource-percent\\\":null,\\\"default-application-priority\\\":null}],\\\"state\\\":null,\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":null,\\\"acl_administer_queue\\\":null,\\\"maximum-allocation-mb\\\":null,\\\"maximum-allocation-vcores\\\":null,\\\"isDefault\\\":null,\\\"isRoot\\\":true,\\\"queues\\\":[{\\\"name\\\":\\\"default\\\",\\\"myId\\\":\\\"root.default\\\",\\\"parentId\\\":\\\"root\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":50,\\\"maximum-capacity\\\":100,\\\"state\\\":0}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":1,\\\"maximum-applications\\\":null,\\\"maximum-am-resource-percent\\\":null,\\\"default-application-priority\\\":null}],\\\"state\\\":null,\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":null,\\\"acl_administer_queue\\\":null,\\\"maximum-allocation-mb\\\":null,\\\"maximum-allocation-vcores\\\":null,\\\"isDefault\\\":true,\\\"isRoot\\\":null,\\\"queues\\\":[]},{\\\"name\\\":\\\"q1\\\",\\\"myId\\\":\\\"root.q1\\\",\\\"parentId\\\":\\\"root\\\",\\\"configs\\\":[{\\\"configName\\\":\\\"default\\\",\\\"labels\\\":[{\\\"labelName\\\":\\\"\\\\u003cDEFAULT_PARTITION\\\\u003e\\\",\\\"capacity\\\":50,\\\"maximum-capacity\\\":100,\\\"state\\\":0},{\\\"labelName\\\":\\\"test\\\",\\\"capacity\\\":100,\\\"maximum-capacity\\\":100,\\\"state\\\":0}],\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-applications\\\":null,\\\"maximum-am-resource-percent\\\":null,\\\"default-application-priority\\\":null}],\\\"state\\\":\\\"RUNNING\\\",\\\"default-node-label-expression\\\":null,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"maximum-allocation-mb\\\":null,\\\"maximum-allocation-vcores\\\":null,\\\"isDefault\\\":null,\\\"isRoot\\\":null,\\\"queues\\\":[]}]}\",\n \"Version\": \"v3\",\n \"RequestId\": \"3f63c907-d4e4-4856-b05d-949eedc2151a\"\n }\n}",
|
304
304
|
"title": "获取资源调度中的队列信息"
|
305
305
|
}
|
306
306
|
],
|
@@ -329,12 +329,6 @@
|
|
329
329
|
}
|
330
330
|
],
|
331
331
|
"InquiryPriceRenewInstance": [
|
332
|
-
{
|
333
|
-
"document": "续费询价",
|
334
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceRenewInstance\n<公共请求参数>\n\n{\n \"TimeUnit\": \"abc\",\n \"TimeSpan\": 1,\n \"ResourceIds\": [\n \"abc\"\n ],\n \"Currency\": \"abc\",\n \"Placement\": {\n \"ProjectId\": 0,\n \"Zone\": \"abc\"\n },\n \"PayMode\": 0,\n \"ModifyPayMode\": 0\n}",
|
335
|
-
"output": "{\n \"Response\": {\n \"OriginalCost\": 0,\n \"DiscountCost\": 0,\n \"TimeUnit\": \"abc\",\n \"TimeSpan\": 0,\n \"RequestId\": \"abc\"\n }\n}",
|
336
|
-
"title": "续费询价"
|
337
|
-
},
|
338
332
|
{
|
339
333
|
"document": "续费询价示例",
|
340
334
|
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceRenewInstance\n<公共请求参数>\n\n{\n \"Placement\": {\n \"ProjectId\": \"0\",\n \"Zone\": \"ap-guangzhou-4\"\n },\n \"Currency\": \"CNY\",\n \"TimeSpan\": \"1\",\n \"PayMode\": \"1\",\n \"ResourceIds\": [\n \"emr-vm-jv1s4zas\"\n ],\n \"TimeUnit\": \"m\"\n}",
|
@@ -346,7 +340,7 @@
|
|
346
340
|
{
|
347
341
|
"document": "扩容询价",
|
348
342
|
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceScaleOutInstance\n<公共请求参数>\n\n{\n \"TimeSpan\": \"3600\",\n \"InstanceId\": \"emr-3ida6zmi\",\n \"CoreCount\": \"1\",\n \"ZoneId\": \"100003\",\n \"PayMode\": \"0\",\n \"Currency\": \"CNY\",\n \"TaskCount\": \"0\",\n \"TimeUnit\": \"s\",\n \"RouterCount\": \"0\"\n}",
|
349
|
-
"output": "{\n \"Response\": {\n \"
|
343
|
+
"output": "{\n \"Response\": {\n \"DiscountCost\": \"0.65\",\n \"MultipleEmrPrice\": [\n {\n \"DiscountCost\": \"0.65\",\n \"OriginalCost\": \"1.21\",\n \"PriceSpec\": {\n \"Cpu\": 4,\n \"DiskCnt\": 0,\n \"DiskNum\": 0,\n \"DiskSize\": 200,\n \"DiskType\": \"CLOUD_HSSD\",\n \"InstanceType\": \"S6.LARGE8\",\n \"LocalDiskNum\": 0,\n \"MemSize\": 8192,\n \"MultiDisks\": [],\n \"RootSize\": 70,\n \"Spec\": \"CVM.S6\",\n \"StorageType\": 6,\n \"Tags\": null\n },\n \"SupportSpotPaid\": true,\n \"Unit\": \"s\"\n }\n ],\n \"OriginalCost\": \"1.21\",\n \"PriceSpec\": {\n \"Cpu\": 4,\n \"DiskCnt\": 0,\n \"DiskNum\": 0,\n \"DiskSize\": 200,\n \"DiskType\": \"CLOUD_HSSD\",\n \"InstanceType\": \"S6.LARGE8\",\n \"LocalDiskNum\": 0,\n \"MemSize\": 8192,\n \"MultiDisks\": [],\n \"RootSize\": 70,\n \"Spec\": \"CVM.S6\",\n \"StorageType\": 6,\n \"Tags\": null\n },\n \"RequestId\": \"e0acae32-c70d-4d32-80bd-b2e528a33026\",\n \"Unit\": \"s\"\n }\n}",
|
350
344
|
"title": "扩容询价"
|
351
345
|
}
|
352
346
|
],
|
@@ -369,30 +363,24 @@
|
|
369
363
|
"ModifyAutoScaleStrategy": [
|
370
364
|
{
|
371
365
|
"document": "修改扩缩容规则",
|
372
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAutoScaleStrategy\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
373
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
366
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAutoScaleStrategy\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-123\",\n \"StrategyType\": 0,\n \"LoadAutoScaleStrategies\": [\n {\n \"CalmDownTime\": 60,\n \"GraceDownFlag\": false,\n \"GraceDownTime\": 0,\n \"LoadMetricsConditions\": {\n \"LoadMetrics\": [\n {\n \"Conditions\": [\n {\n \"CompareMethod\": 1,\n \"Threshold\": 16\n }\n ],\n \"LoadMetrics\": \"AvailableVCores#root.default\",\n \"MetricId\": 1,\n \"StatisticPeriod\": 60,\n \"TriggerThreshold\": 1\n }\n ]\n },\n \"MeasureMethod\": \"INSTANCE\",\n \"Priority\": 3,\n \"ProcessMethod\": 3,\n \"ScaleAction\": 2,\n \"ScaleNum\": 2,\n \"StrategyId\": 1521,\n \"StrategyName\": \"负载缩容\",\n \"StrategyStatus\": 3\n }\n ],\n \"TimeAutoScaleStrategies\": [\n {\n \"CompensateFlag\": 1,\n \"ConfigGroupAssigned\": \"{\\\"HDFS-2.8.5\\\":-1,\\\"YARN-2.8.5\\\":-1}\",\n \"GraceDownFlag\": false,\n \"GraceDownTime\": 0,\n \"GroupId\": 0,\n \"IntervalTime\": 0,\n \"MaxUse\": 8,\n \"MeasureMethod\": \"INSTANCE\",\n \"Priority\": 2,\n \"RepeatStrategy\": {\n \"Expire\": \"2025-11-05 23:59:59\",\n \"NotRepeat\": {\n \"ExecuteAt\": \"2024-11-06 09:10:00\"\n },\n \"RepeatType\": \"NONE\"\n },\n \"RetryValidTime\": 60,\n \"ScaleAction\": 1,\n \"ScaleNum\": 6,\n \"ServiceNodeInfo\": [\n 7\n ],\n \"SoftDeployInfo\": [\n 1,\n 2\n ],\n \"StrategyId\": 1783,\n \"StrategyName\": \"测试准实时任务扩容\",\n \"StrategyStatus\": 3,\n \"Tags\": [\n {\n \"TagKey\": \"group\",\n \"TagValue\": \"data\"\n }\n ],\n \"TerminatePolicy\": \"TIMING\"\n }\n ]\n}",
|
367
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"8833a2df-1487-4f78-89b6-eff26058a240\"\n }\n}",
|
374
368
|
"title": "修改扩缩容规则"
|
375
|
-
},
|
376
|
-
{
|
377
|
-
"document": "修改扩缩容规则",
|
378
|
-
"input": "https://emr.tencentcloudapi.com/?Action=ModifyAutoScaleStrategy\n&InstanceId=emr-3ap64zl6\n&StrategyType=1\n&LoadAutoScaleStrategies.0.StrategyId=52\n&LoadAutoScaleStrategies.0.ScaleNum=4\n&LoadAutoScaleStrategies.0.ScaleAction=2\n&LoadAutoScaleStrategies.0.Priority=1\n&<公共请求参数>",
|
379
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"23108dcf-506a-4246-b0bf-dca8ef2b0845\"\n }\n}",
|
380
|
-
"title": "修改扩缩容规则成功示例"
|
381
369
|
}
|
382
370
|
],
|
383
371
|
"ModifyGlobalConfig": [
|
384
372
|
{
|
385
373
|
"document": "",
|
386
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyGlobalConfig\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
387
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
374
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyGlobalConfig\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-123\",\n \"Items\": [\n {\n \"Key\": \"enableResourceSchedule\",\n \"Value\": \"true\"\n }\n ]\n}",
|
375
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"514a7860-f50f-49ec-92eb-6d4558ec45c3\"\n }\n}",
|
388
376
|
"title": "修改YARN资源调度的全局配置"
|
389
377
|
}
|
390
378
|
],
|
391
379
|
"ModifyResourcePools": [
|
392
380
|
{
|
393
381
|
"document": "",
|
394
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyResourcePools\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
395
|
-
"output": "{\n \"Response\": {\n \"IsDraft\": true,\n \"ErrorMsg\":
|
382
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyResourcePools\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-2xef56\",\n \"Key\": \"fair\"\n}",
|
383
|
+
"output": "{\n \"Response\": {\n \"IsDraft\": true,\n \"ErrorMsg\": null,\n \"RequestId\": \"61fb757e-5a86-41ab-8421-b3abc7aff683\"\n }\n}",
|
396
384
|
"title": "test"
|
397
385
|
}
|
398
386
|
],
|
@@ -400,32 +388,32 @@
|
|
400
388
|
{
|
401
389
|
"document": "",
|
402
390
|
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyResourceScheduleConfig\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-buy439fq\",\n \"Key\": \"capacity\",\n \"Value\": \"{\\\"queueMappings\\\":[{\\\"mapping-type\\\":\\\"u\\\",\\\"name\\\":\\\"1331\\\",\\\"full-queue-name\\\":\\\"132\\\",\\\"special-name\\\":true,\\\"special-queue\\\":true}],\\\"queue\\\":{\\\"name\\\":\\\"root\\\",\\\"capacity\\\":100,\\\"maximum-capacity\\\":100,\\\"minimum-user-limit-percent\\\":0,\\\"user-limit-factor\\\":0,\\\"maximum-allocation-mb\\\":0,\\\"maximum-allocation-vcores\\\":0,\\\"state\\\":null,\\\"maximum-applications\\\":0,\\\"maximum-am-resource-percent\\\":0,\\\"acl_submit_applications\\\":null,\\\"acl_administer_queue\\\":null,\\\"queues\\\":[{\\\"name\\\":\\\"121\\\",\\\"capacity\\\":12,\\\"maximum-capacity\\\":12,\\\"minimum-user-limit-percent\\\":12,\\\"user-limit-factor\\\":12,\\\"maximum-allocation-mb\\\":12,\\\"maximum-allocation-vcores\\\":12,\\\"state\\\":\\\"RUNNING\\\",\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":25,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"queues\\\":null},{\\\"name\\\":\\\"12\\\",\\\"capacity\\\":12,\\\"maximum-capacity\\\":12,\\\"minimum-user-limit-percent\\\":12,\\\"user-limit-factor\\\":12,\\\"maximum-allocation-mb\\\":12,\\\"maximum-allocation-vcores\\\":12,\\\"state\\\":\\\"RUNNING\\\",\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":25,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"queues\\\":null},{\\\"name\\\":\\\"default\\\",\\\"capacity\\\":76,\\\"maximum-capacity\\\":100,\\\"minimum-user-limit-percent\\\":12,\\\"user-limit-factor\\\":1,\\\"maximum-allocation-mb\\\":12,\\\"maximum-allocation-vcores\\\":12,\\\"state\\\":\\\"RUNNING\\\",\\\"maximum-applications\\\":12,\\\"maximum-am-resource-percent\\\":12,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"queues\\\":[{\\\"name\\\":\\\"d1\\\",\\\"capacity\\\":100,\\\"maximum-capacity\\\":100,\\\"minimum-user-limit-percent\\\":null,\\\"user-limit-factor\\\":null,\\\"maximum-allocation-mb\\\":null,\\\"maximum-allocation-vcores\\\":null,\\\"state\\\":\\\"RUNNING\\\",\\\"maximum-applications\\\":10000,\\\"maximum-am-resource-percent\\\":25,\\\"acl_submit_applications\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"acl_administer_queue\\\":{\\\"user\\\":\\\"*\\\",\\\"group\\\":\\\"*\\\"},\\\"queues\\\":null}]}]},\\\"queueMappingsOverride\\\":true}\"\n}",
|
403
|
-
"output": "{\n \"Response\": {\n \"IsDraft\": true,\n \"ErrorMsg\":
|
391
|
+
"output": "{\n \"Response\": {\n \"IsDraft\": true,\n \"ErrorMsg\": null,\n \"Data\": null,\n \"RequestId\": \"61fb757e-5a86-41ab-8421-b3abc7aff683\"\n }\n}",
|
404
392
|
"title": "修改yarn资源调度的资源配置"
|
405
393
|
}
|
406
394
|
],
|
407
395
|
"ModifyResourceScheduler": [
|
408
396
|
{
|
409
397
|
"document": "",
|
410
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyResourceScheduler\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
411
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
398
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyResourceScheduler\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-2xef56\",\n \"OldValue\": \"fair\",\n \"NewValue\": \"capacity\"\n}",
|
399
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"61fb757e-5a86-41ab-8421-b3abc7aff683\"\n }\n}",
|
412
400
|
"title": "test"
|
413
401
|
}
|
414
402
|
],
|
415
403
|
"ModifyResourcesTags": [
|
416
404
|
{
|
417
405
|
"document": "",
|
418
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyResourcesTags\n<公共请求参数>\n\n{\n \"
|
419
|
-
"output": "{\n \"Response\": {\n \"ClusterToFlowIdList\": [\n {\n \"ClusterId\": \"emr-
|
406
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyResourcesTags\n<公共请求参数>\n\n{\n \"ModifyResourceTagsInfoList\": [\n {\n \"ModifyTags\": [\n {\n \"TagKey\": \"tke-zzy\",\n \"TagValue\": \"master\"\n }\n ],\n \"Resource\": \"qcs::emr:ap-guangzhou:uin/51000000:emr-vm/emr-vm-bnm\",\n \"ResourceId\": \"emr-vm-bnm\",\n \"ResourcePrefix\": \"emr-vm\",\n \"ResourceRegion\": \"ap-guangzhou\",\n \"ServiceType\": \"emr\"\n }\n ],\n \"ModifyType\": \"Node\"\n}",
|
407
|
+
"output": "{\n \"Response\": {\n \"ClusterToFlowIdList\": [\n {\n \"ClusterId\": \"emr-mir\",\n \"FlowId\": 1834233\n }\n ],\n \"FailList\": null,\n \"PartSuccessList\": null,\n \"RequestId\": \"eee79a8e-0714-4406-9973-bf4084899a87\",\n \"SuccessList\": null\n }\n}",
|
420
408
|
"title": "test"
|
421
409
|
}
|
422
410
|
],
|
423
411
|
"ModifySLInstance": [
|
424
412
|
{
|
425
|
-
"document": "
|
413
|
+
"document": "Serverless HBase变配实例",
|
426
414
|
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySLInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-3o9tms4i\",\n \"Zone\": \"ap-guangzhou-2\",\n \"NodeNum\": 2\n}",
|
427
415
|
"output": "{\n \"Response\": {\n \"RequestId\": \"7837b979-fcc2-4bfb-b81b-88a532345b82\"\n }\n}",
|
428
|
-
"title": "
|
416
|
+
"title": "Serverless HBase变配实例"
|
429
417
|
}
|
430
418
|
],
|
431
419
|
"ModifyUserManagerPwd": [
|
@@ -447,32 +435,32 @@
|
|
447
435
|
"ModifyYarnQueueV2": [
|
448
436
|
{
|
449
437
|
"document": "",
|
450
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyYarnQueueV2\n<公共请求参数>\n\n{\n \"ConfigModifyInfoList\": [\n {\n \"
|
451
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
438
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyYarnQueueV2\n<公共请求参数>\n\n{\n \"ConfigModifyInfoList\": [\n {\n \"ConfigSetParams\": [\n {\n \"ConfigSet\": \"default\",\n \"LabelParams\": [\n {\n \"Items\": [\n {\n \"Key\": \"labelName\",\n \"Value\": \"<DEFAULT_PARTITION>\"\n },\n {\n \"Key\": \"capacity\",\n \"Value\": \"50.0\"\n }\n ]\n }\n ]\n }\n ],\n \"MyId\": \"root.QPlt\",\n \"OpType\": 6\n },\n {\n \"ConfigSetParams\": [\n {\n \"ConfigSet\": \"default\",\n \"LabelParams\": [\n {\n \"Items\": [\n {\n \"Key\": \"labelName\",\n \"Value\": \"<DEFAULT_PARTITION>\"\n },\n {\n \"Key\": \"capacity\",\n \"Value\": \"50.0\"\n }\n ]\n }\n ]\n }\n ],\n \"MyId\": \"root.default\",\n \"OpType\": 6\n }\n ],\n \"InstanceId\": \"emr-h81\",\n \"Scheduler\": \"capacity\"\n}",
|
439
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"2330fead-9b98-4bbc-a777-c9523ffb8e76\"\n }\n}",
|
452
440
|
"title": "修改资源调度中队列信息"
|
453
441
|
}
|
454
442
|
],
|
455
443
|
"ResetYarnConfig": [
|
456
444
|
{
|
457
445
|
"document": "取消修改的配置",
|
458
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetYarnConfig\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-
|
459
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
446
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetYarnConfig\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-1si\",\n \"Key\": \"fair\"\n}",
|
447
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"28026cdd-41a9-4433-a80d-673ec711bca8\"\n }\n}",
|
460
448
|
"title": "yarn资源调度-重置"
|
461
449
|
}
|
462
450
|
],
|
463
451
|
"RunJobFlow": [
|
464
452
|
{
|
465
453
|
"document": "",
|
466
|
-
"input": "
|
467
|
-
"output": "{\n \"Response\": {\n \"JobFlowId\":
|
454
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RunJobFlow\n<公共请求参数>\n\n{\n \"Name\": \"pop-api-tmp-emr-phs-drug-monitor-daily--20241106115143\",\n \"CreateCluster\": false,\n \"Steps\": [\n {\n \"Name\": \"DrugChangeRemindJob_20241106035136\",\n \"ExecutionStep\": {\n \"JobType\": \"SPARK\",\n \"Args\": [\n \"--master\",\n \"yarn\",\n \"--deploy-mode\",\n \"cluster\",\n \"--class\",\n \"com.patsnap.app.monitor.job.DrugChangeRemindJob\",\n \"--conf\",\n \"spark.driver.extraJavaOptions=-Dfile.encoding=utf-8\",\n \"--conf\",\n \"spark.executor.extraJavaOptions=-Dfile.encoding=utf-8\",\n \"cosn://data-phs-common-dataprod-ash-125000000/spark-jars/drug/drug_change_monitor/v1.0/data-phs-etl-app.jar\",\n \"${program_config}\"\n ]\n },\n \"ActionOnFailure\": \"CONTINUE\",\n \"User\": \"hadoop\"\n }\n ],\n \"InstancePolicy\": \"Reserve\",\n \"InstanceId\": \"emr-64e\"\n}",
|
455
|
+
"output": "{\n \"Response\": {\n \"JobFlowId\": 16531,\n \"RequestId\": \"3f63c907-d4e4-4856-b05d-949eedc2151a\"\n }\n}",
|
468
456
|
"title": "创建任务流程示例"
|
469
457
|
}
|
470
458
|
],
|
471
459
|
"ScaleOutCluster": [
|
472
460
|
{
|
473
461
|
"document": "",
|
474
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ScaleOutCluster\n<公共请求参数>\n\n{\n \"
|
475
|
-
"output": "{\n \"Response\": {\n \"
|
462
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ScaleOutCluster\n<公共请求参数>\n\n{\n \"InstanceChargeType\": \"PREPAID\",\n \"InstanceId\": \"emr-m620\",\n \"ScaleOutNodeConfig\": {\n \"NodeFlag\": \"TASK\",\n \"NodeCount\": 2\n },\n \"SoftDeployInfo\": [\n 1,\n 2\n ],\n \"ServiceNodeInfo\": [\n 7\n ],\n \"YarnNodeLabel\": \"CLOUD\",\n \"EnableStartServiceFlag\": true,\n \"ResourceSpec\": {\n \"SystemDisk\": [\n {\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskSize\": 200,\n \"Count\": 1,\n \"ExtraPerformance\": 0\n }\n ],\n \"DataDisk\": [\n {\n \"DiskType\": \"CLOUD_HIGHIO\",\n \"DiskSize\": 4000,\n \"Count\": 4,\n \"ExtraPerformance\": 0\n }\n ],\n \"LocalDataDisk\": [],\n \"InstanceType\": \"MA5.8XLARGE256\",\n \"Tags\": []\n }\n}",
|
463
|
+
"output": "{\n \"Response\": {\n \"ClientToken\": \"\",\n \"FlowId\": 19239,\n \"InstanceId\": \"emr-m620\",\n \"RequestId\": \"11f53a6c-df44-4496-acac-d09b98ccd\",\n \"TraceId\": \"1731400002-73146-8002\"\n }\n}",
|
476
464
|
"title": "集群扩容"
|
477
465
|
}
|
478
466
|
],
|
@@ -487,8 +475,8 @@
|
|
487
475
|
"StartStopServiceOrMonitor": [
|
488
476
|
{
|
489
477
|
"document": "启停服务接口",
|
490
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartStopServiceOrMonitor\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-
|
491
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
478
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartStopServiceOrMonitor\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-mfk\",\n \"OpScope\": {\n \"ServiceInfoList\": [\n {\n \"ComponentInfoList\": [\n {\n \"ComponentName\": \"NameNode\",\n \"IpList\": [\n \"0.0.0.0\"\n ]\n },\n {\n \"ComponentName\": \"ZKFailoverController\",\n \"IpList\": [\n \"0.0.0.0\"\n ]\n }\n ],\n \"ServiceName\": \"HDFS\"\n }\n ]\n },\n \"OpType\": \"StartService\"\n}",
|
479
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"017c3a6d-382a-4cb2-bd7d-67072b86f027\"\n }\n}",
|
492
480
|
"title": "StartStopServiceOrMonitor"
|
493
481
|
}
|
494
482
|
],
|
@@ -518,16 +506,10 @@
|
|
518
506
|
],
|
519
507
|
"TerminateSLInstance": [
|
520
508
|
{
|
521
|
-
"document": "",
|
522
|
-
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TerminateSLInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-6vexh3oi\"\n}",
|
523
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"f4163a60-4801-449b-83d0-6f9ec2c7a07f\"\n }\n}",
|
524
|
-
"title": "销毁EMR Serverless实例"
|
525
|
-
},
|
526
|
-
{
|
527
|
-
"document": "Lite HBase 销毁实例",
|
509
|
+
"document": "Serverless HBase销毁实例",
|
528
510
|
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TerminateSLInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-8qrmc34c\"\n}",
|
529
511
|
"output": "{\n \"Response\": {\n \"RequestId\": \"a0b8ffca-02eb-47ea-9c93-a4c8db4e4585\"\n }\n}",
|
530
|
-
"title": "
|
512
|
+
"title": "销毁Serverless HBase实例"
|
531
513
|
}
|
532
514
|
],
|
533
515
|
"TerminateTasks": [
|