tccli 3.0.1270.1__py2.py3-none-any.whl → 3.0.1272.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/apm/apm_client.py +61 -8
- tccli/services/apm/v20210622/api.json +117 -0
- tccli/services/apm/v20210622/examples.json +8 -0
- tccli/services/asr/v20190614/api.json +1 -1
- tccli/services/batch/v20170312/api.json +4 -4
- tccli/services/ccc/v20200210/api.json +16 -16
- tccli/services/ccc/v20200210/examples.json +5 -5
- tccli/services/cvm/v20170312/api.json +8 -8
- tccli/services/dc/v20180410/api.json +10 -0
- tccli/services/emr/emr_client.py +57 -4
- tccli/services/emr/v20190103/api.json +177 -0
- tccli/services/emr/v20190103/examples.json +11 -3
- tccli/services/ess/v20201111/api.json +2 -2
- tccli/services/essbasic/v20210526/api.json +2 -2
- tccli/services/live/v20180801/api.json +11 -0
- tccli/services/mna/v20210119/api.json +64 -64
- tccli/services/ocr/v20181119/api.json +2 -2
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/rce/v20201103/api.json +173 -183
- tccli/services/rce/v20201103/examples.json +1 -1
- tccli/services/scf/v20180416/api.json +1 -1
- tccli/services/tione/v20211111/api.json +4 -4
- tccli/services/tione/v20211111/examples.json +1 -1
- tccli/services/trtc/v20190722/api.json +10 -1
- tccli/services/trtc/v20190722/examples.json +1 -1
- tccli/services/waf/v20180125/api.json +191 -36
- tccli/services/waf/v20180125/examples.json +3 -3
- {tccli-3.0.1270.1.dist-info → tccli-3.0.1272.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1270.1.dist-info → tccli-3.0.1272.1.dist-info}/RECORD +33 -33
- {tccli-3.0.1270.1.dist-info → tccli-3.0.1272.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1270.1.dist-info → tccli-3.0.1272.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1270.1.dist-info → tccli-3.0.1272.1.dist-info}/license_files/LICENSE +0 -0
tccli/services/emr/emr_client.py
CHANGED
@@ -1265,7 +1265,7 @@ def doModifyYarnDeploy(args, parsed_globals):
|
|
1265
1265
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1266
1266
|
|
1267
1267
|
|
1268
|
-
def
|
1268
|
+
def doDescribeDAGInfo(args, parsed_globals):
|
1269
1269
|
g_param = parse_global_arg(parsed_globals)
|
1270
1270
|
|
1271
1271
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1294,11 +1294,11 @@ def doTerminateTasks(args, parsed_globals):
|
|
1294
1294
|
client = mod.EmrClient(cred, g_param[OptionsDefine.Region], profile)
|
1295
1295
|
client._sdkVersion += ("_CLI_" + __version__)
|
1296
1296
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1297
|
-
model = models.
|
1297
|
+
model = models.DescribeDAGInfoRequest()
|
1298
1298
|
model.from_json_string(json.dumps(args))
|
1299
1299
|
start_time = time.time()
|
1300
1300
|
while True:
|
1301
|
-
rsp = client.
|
1301
|
+
rsp = client.DescribeDAGInfo(model)
|
1302
1302
|
result = rsp.to_json_string()
|
1303
1303
|
try:
|
1304
1304
|
json_obj = json.loads(result)
|
@@ -1733,6 +1733,58 @@ def doAddUsersForUserManager(args, parsed_globals):
|
|
1733
1733
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1734
1734
|
|
1735
1735
|
|
1736
|
+
def doTerminateTasks(args, parsed_globals):
|
1737
|
+
g_param = parse_global_arg(parsed_globals)
|
1738
|
+
|
1739
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1740
|
+
cred = credential.CVMRoleCredential()
|
1741
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1742
|
+
cred = credential.STSAssumeRoleCredential(
|
1743
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1744
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1745
|
+
)
|
1746
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
1747
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1748
|
+
else:
|
1749
|
+
cred = credential.Credential(
|
1750
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1751
|
+
)
|
1752
|
+
http_profile = HttpProfile(
|
1753
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1754
|
+
reqMethod="POST",
|
1755
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1756
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1757
|
+
)
|
1758
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1759
|
+
if g_param[OptionsDefine.Language]:
|
1760
|
+
profile.language = g_param[OptionsDefine.Language]
|
1761
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1762
|
+
client = mod.EmrClient(cred, g_param[OptionsDefine.Region], profile)
|
1763
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1764
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1765
|
+
model = models.TerminateTasksRequest()
|
1766
|
+
model.from_json_string(json.dumps(args))
|
1767
|
+
start_time = time.time()
|
1768
|
+
while True:
|
1769
|
+
rsp = client.TerminateTasks(model)
|
1770
|
+
result = rsp.to_json_string()
|
1771
|
+
try:
|
1772
|
+
json_obj = json.loads(result)
|
1773
|
+
except TypeError as e:
|
1774
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1775
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1776
|
+
break
|
1777
|
+
cur_time = time.time()
|
1778
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1779
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1780
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1781
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1782
|
+
else:
|
1783
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1784
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1785
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1786
|
+
|
1787
|
+
|
1736
1788
|
def doModifyAutoRenewFlag(args, parsed_globals):
|
1737
1789
|
g_param = parse_global_arg(parsed_globals)
|
1738
1790
|
|
@@ -4004,7 +4056,7 @@ ACTION_MAP = {
|
|
4004
4056
|
"DescribeServiceNodeInfos": doDescribeServiceNodeInfos,
|
4005
4057
|
"DescribeInstances": doDescribeInstances,
|
4006
4058
|
"ModifyYarnDeploy": doModifyYarnDeploy,
|
4007
|
-
"
|
4059
|
+
"DescribeDAGInfo": doDescribeDAGInfo,
|
4008
4060
|
"TerminateClusterNodes": doTerminateClusterNodes,
|
4009
4061
|
"ResetYarnConfig": doResetYarnConfig,
|
4010
4062
|
"DescribeUsersForUserManager": doDescribeUsersForUserManager,
|
@@ -4013,6 +4065,7 @@ ACTION_MAP = {
|
|
4013
4065
|
"DeleteNodeResourceConfig": doDeleteNodeResourceConfig,
|
4014
4066
|
"TerminateSLInstance": doTerminateSLInstance,
|
4015
4067
|
"AddUsersForUserManager": doAddUsersForUserManager,
|
4068
|
+
"TerminateTasks": doTerminateTasks,
|
4016
4069
|
"ModifyAutoRenewFlag": doModifyAutoRenewFlag,
|
4017
4070
|
"CreateSLInstance": doCreateSLInstance,
|
4018
4071
|
"DescribeSLInstanceList": doDescribeSLInstanceList,
|
@@ -126,6 +126,13 @@
|
|
126
126
|
"output": "DescribeCvmQuotaResponse",
|
127
127
|
"status": "online"
|
128
128
|
},
|
129
|
+
"DescribeDAGInfo": {
|
130
|
+
"document": "查询DAG信息",
|
131
|
+
"input": "DescribeDAGInfoRequest",
|
132
|
+
"name": "查询DAG信息",
|
133
|
+
"output": "DescribeDAGInfoResponse",
|
134
|
+
"status": "online"
|
135
|
+
},
|
129
136
|
"DescribeEmrApplicationStatics": {
|
130
137
|
"document": "yarn application 统计接口查询",
|
131
138
|
"input": "DescribeEmrApplicationStaticsRequest",
|
@@ -3795,6 +3802,45 @@
|
|
3795
3802
|
],
|
3796
3803
|
"usage": "in"
|
3797
3804
|
},
|
3805
|
+
"DAGInfo": {
|
3806
|
+
"document": "DAG信息",
|
3807
|
+
"members": [
|
3808
|
+
{
|
3809
|
+
"disabled": false,
|
3810
|
+
"document": "查询ID",
|
3811
|
+
"example": "queryid_123",
|
3812
|
+
"member": "string",
|
3813
|
+
"name": "ID",
|
3814
|
+
"output_required": false,
|
3815
|
+
"required": false,
|
3816
|
+
"type": "string",
|
3817
|
+
"value_allowed_null": false
|
3818
|
+
},
|
3819
|
+
{
|
3820
|
+
"disabled": false,
|
3821
|
+
"document": "DAG类型,目前只支持starrocks",
|
3822
|
+
"example": "starrocks",
|
3823
|
+
"member": "string",
|
3824
|
+
"name": "Type",
|
3825
|
+
"output_required": false,
|
3826
|
+
"required": false,
|
3827
|
+
"type": "string",
|
3828
|
+
"value_allowed_null": false
|
3829
|
+
},
|
3830
|
+
{
|
3831
|
+
"disabled": false,
|
3832
|
+
"document": "返回的DAG的JSON字符串",
|
3833
|
+
"example": "{\"json\":123}",
|
3834
|
+
"member": "string",
|
3835
|
+
"name": "Content",
|
3836
|
+
"output_required": false,
|
3837
|
+
"required": false,
|
3838
|
+
"type": "string",
|
3839
|
+
"value_allowed_null": false
|
3840
|
+
}
|
3841
|
+
],
|
3842
|
+
"usage": "both"
|
3843
|
+
},
|
3798
3844
|
"DayRepeatStrategy": {
|
3799
3845
|
"document": "弹性扩缩容按天重复任务描述",
|
3800
3846
|
"members": [
|
@@ -4636,6 +4682,71 @@
|
|
4636
4682
|
],
|
4637
4683
|
"type": "object"
|
4638
4684
|
},
|
4685
|
+
"DescribeDAGInfoRequest": {
|
4686
|
+
"document": "DescribeDAGInfo请求参数结构体",
|
4687
|
+
"members": [
|
4688
|
+
{
|
4689
|
+
"disabled": false,
|
4690
|
+
"document": "集群ID",
|
4691
|
+
"example": "emr-xfaf11ab",
|
4692
|
+
"member": "string",
|
4693
|
+
"name": "InstanceID",
|
4694
|
+
"required": true,
|
4695
|
+
"type": "string"
|
4696
|
+
},
|
4697
|
+
{
|
4698
|
+
"disabled": false,
|
4699
|
+
"document": "DAG类型,目前只支持STARROCKS",
|
4700
|
+
"example": "STARROCKS",
|
4701
|
+
"member": "string",
|
4702
|
+
"name": "Type",
|
4703
|
+
"required": true,
|
4704
|
+
"type": "string"
|
4705
|
+
},
|
4706
|
+
{
|
4707
|
+
"disabled": false,
|
4708
|
+
"document": "查询ID列表,最大长度为1",
|
4709
|
+
"example": "query_xxx",
|
4710
|
+
"member": "string",
|
4711
|
+
"name": "IDList",
|
4712
|
+
"required": true,
|
4713
|
+
"type": "list"
|
4714
|
+
}
|
4715
|
+
],
|
4716
|
+
"type": "object"
|
4717
|
+
},
|
4718
|
+
"DescribeDAGInfoResponse": {
|
4719
|
+
"document": "DescribeDAGInfo返回参数结构体",
|
4720
|
+
"members": [
|
4721
|
+
{
|
4722
|
+
"disabled": false,
|
4723
|
+
"document": "总数,分页查询时使用",
|
4724
|
+
"example": "10",
|
4725
|
+
"member": "int64",
|
4726
|
+
"name": "TotalCount",
|
4727
|
+
"output_required": true,
|
4728
|
+
"type": "int",
|
4729
|
+
"value_allowed_null": false
|
4730
|
+
},
|
4731
|
+
{
|
4732
|
+
"disabled": false,
|
4733
|
+
"document": "Starrocks 查询信息列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
4734
|
+
"example": "无",
|
4735
|
+
"member": "DAGInfo",
|
4736
|
+
"name": "DAGInfoList",
|
4737
|
+
"output_required": false,
|
4738
|
+
"type": "list",
|
4739
|
+
"value_allowed_null": true
|
4740
|
+
},
|
4741
|
+
{
|
4742
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4743
|
+
"member": "string",
|
4744
|
+
"name": "RequestId",
|
4745
|
+
"type": "string"
|
4746
|
+
}
|
4747
|
+
],
|
4748
|
+
"type": "object"
|
4749
|
+
},
|
4639
4750
|
"DescribeEmrApplicationStaticsRequest": {
|
4640
4751
|
"document": "DescribeEmrApplicationStatics请求参数结构体",
|
4641
4752
|
"members": [
|
@@ -10624,6 +10735,50 @@
|
|
10624
10735
|
"type": "string",
|
10625
10736
|
"value_allowed_null": false
|
10626
10737
|
},
|
10738
|
+
{
|
10739
|
+
"disabled": false,
|
10740
|
+
"document": "节点部署服务列表,例如[\"HDFS-3.1.2\",\"YARN-3.1.2\"]。\n注意:此字段可能返回 null,表示取不到有效值。",
|
10741
|
+
"example": "[\"HDFS-3.1.2\",\"YARN-3.1.2\"]",
|
10742
|
+
"member": "string",
|
10743
|
+
"name": "SoftDeployDesc",
|
10744
|
+
"output_required": false,
|
10745
|
+
"required": false,
|
10746
|
+
"type": "list",
|
10747
|
+
"value_allowed_null": true
|
10748
|
+
},
|
10749
|
+
{
|
10750
|
+
"disabled": false,
|
10751
|
+
"document": "启动进程列表,例如[\"NodeManager\"]。",
|
10752
|
+
"example": "[\"NodeManager\"]",
|
10753
|
+
"member": "string",
|
10754
|
+
"name": "ServiceNodeDesc",
|
10755
|
+
"output_required": false,
|
10756
|
+
"required": false,
|
10757
|
+
"type": "string",
|
10758
|
+
"value_allowed_null": false
|
10759
|
+
},
|
10760
|
+
{
|
10761
|
+
"disabled": false,
|
10762
|
+
"document": "启动进程列表。\n注意:此字段可能返回 null,表示取不到有效值。",
|
10763
|
+
"example": "7",
|
10764
|
+
"member": "int64",
|
10765
|
+
"name": "ServiceNodeInfo",
|
10766
|
+
"output_required": true,
|
10767
|
+
"required": false,
|
10768
|
+
"type": "list",
|
10769
|
+
"value_allowed_null": true
|
10770
|
+
},
|
10771
|
+
{
|
10772
|
+
"disabled": false,
|
10773
|
+
"document": "节点部署服务列表。部署服务仅填写HDFS、YARN。[组件名对应的映射关系表](https://cloud.tencent.com/document/product/589/98760)\n注意:此字段可能返回 null,表示取不到有效值。",
|
10774
|
+
"example": "HDFS",
|
10775
|
+
"member": "int64",
|
10776
|
+
"name": "SoftDeployInfo",
|
10777
|
+
"output_required": true,
|
10778
|
+
"required": false,
|
10779
|
+
"type": "list",
|
10780
|
+
"value_allowed_null": true
|
10781
|
+
},
|
10627
10782
|
{
|
10628
10783
|
"disabled": false,
|
10629
10784
|
"document": "多指标触发条件\n注意:此字段可能返回 null,表示取不到有效值。",
|
@@ -10634,6 +10789,28 @@
|
|
10634
10789
|
"required": false,
|
10635
10790
|
"type": "object",
|
10636
10791
|
"value_allowed_null": true
|
10792
|
+
},
|
10793
|
+
{
|
10794
|
+
"disabled": false,
|
10795
|
+
"document": "伸缩组Id",
|
10796
|
+
"example": "2",
|
10797
|
+
"member": "int64",
|
10798
|
+
"name": "GroupId",
|
10799
|
+
"output_required": false,
|
10800
|
+
"required": false,
|
10801
|
+
"type": "int",
|
10802
|
+
"value_allowed_null": false
|
10803
|
+
},
|
10804
|
+
{
|
10805
|
+
"disabled": false,
|
10806
|
+
"document": "soft例如yarn",
|
10807
|
+
"example": "yarn",
|
10808
|
+
"member": "string",
|
10809
|
+
"name": "Soft",
|
10810
|
+
"output_required": false,
|
10811
|
+
"required": false,
|
10812
|
+
"type": "string",
|
10813
|
+
"value_allowed_null": false
|
10637
10814
|
}
|
10638
10815
|
],
|
10639
10816
|
"usage": "both"
|
@@ -3,7 +3,7 @@
|
|
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\": \"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}",
|
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 \"GroupId\": 109,\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
7
|
"output": "{\n \"Response\": {\n \"RequestId\": \"e3f82d54-6fa6-49c2-a479-8d2f5cf77f91\"\n }\n}",
|
8
8
|
"title": "添加扩缩容规则成功示例"
|
9
9
|
}
|
@@ -116,7 +116,7 @@
|
|
116
116
|
{
|
117
117
|
"document": "",
|
118
118
|
"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}",
|
119
|
-
"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}",
|
119
|
+
"output": "{\n \"Response\": {\n \"LoadAutoScaleStrategies\": [\n {\n \"CalmDownTime\": 60,\n \"ConfigGroupAssigned\": \"\",\n \"GraceDownFlag\": false,\n \"GraceDownTime\": 0,\n \"GroupId\": 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 \"ServiceNodeInfo\": null,\n \"Soft\": \"yarn\",\n \"SoftDeployInfo\": null,\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}",
|
120
120
|
"title": "获取自动扩缩容规则"
|
121
121
|
}
|
122
122
|
],
|
@@ -144,6 +144,14 @@
|
|
144
144
|
"title": "获取账户的CVM配额"
|
145
145
|
}
|
146
146
|
],
|
147
|
+
"DescribeDAGInfo": [
|
148
|
+
{
|
149
|
+
"document": "",
|
150
|
+
"input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDAGInfo\n<公共请求参数>\n\n{\n \"InstanceID\": \"emr-0lqdz2kr\",\n \"Type\": \"STARROCKS\",\n \"IDList\": [\n \"hadoop_20250204000505_2e6d0e39-f040-4c99-8426-4a3555c7945d\"\n ]\n}",
|
151
|
+
"output": "{\n \"Response\": {\n \"DAGInfoList\": [\n {\n \"Content\": \"{\\\"nodeList\\\":[{\\\"attrGroupList\\\":[{\\\"attrList\\\":[],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-7\\\"}],\\\"id\\\":\\\"0\\\",\\\"name\\\":\\\"Conditional Operator\\\",\\\"outDegree\\\":3,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"12\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-5\\\"}],\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"Map\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"0\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"OperatorId\\\",\\\"value\\\":\\\"TS_4\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-5\\\"}],\\\"id\\\":\\\"2\\\",\\\"name\\\":\\\"TableScan\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"1\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"OperatorId\\\",\\\"value\\\":\\\"FS_5\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"compressed\\\",\\\"value\\\":\\\"false\\\"},{\\\"childless\\\":false,\\\"children\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"name\\\",\\\"value\\\":\\\"default.hive_table_p1\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"input format\\\",\\\"value\\\":\\\"org.apache.hadoop.mapred.TextInputFormat\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"output format\\\",\\\"value\\\":\\\"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"serde\\\",\\\"value\\\":\\\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\\"}],\\\"empty\\\":false,\\\"name\\\":\\\"table\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-5\\\"}],\\\"id\\\":\\\"3\\\",\\\"name\\\":\\\"File Output Operator\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"2\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":false,\\\"children\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"hdfs directory\\\",\\\"value\\\":\\\"true\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"destination\\\",\\\"value\\\":\\\"hdfs://10.0.0.59:4007/usr/hive/warehouse/hive_table_p1/dt=2025-02-04/.hive-staging_hive_2025-02-04_00-05-05_176_8916599993887172596-9/-ext-10000\\\"}],\\\"empty\\\":false,\\\"name\\\":\\\"files\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-6\\\"}],\\\"id\\\":\\\"4\\\",\\\"name\\\":\\\"Move Operator\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"3\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-3\\\"}],\\\"id\\\":\\\"5\\\",\\\"name\\\":\\\"Map\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"0\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"OperatorId\\\",\\\"value\\\":\\\"TS_4\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-3\\\"}],\\\"id\\\":\\\"6\\\",\\\"name\\\":\\\"TableScan\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"5\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"OperatorId\\\",\\\"value\\\":\\\"FS_5\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"compressed\\\",\\\"value\\\":\\\"false\\\"},{\\\"childless\\\":false,\\\"children\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"name\\\",\\\"value\\\":\\\"default.hive_table_p1\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"input format\\\",\\\"value\\\":\\\"org.apache.hadoop.mapred.TextInputFormat\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"output format\\\",\\\"value\\\":\\\"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"serde\\\",\\\"value\\\":\\\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\\"}],\\\"empty\\\":false,\\\"name\\\":\\\"table\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-3\\\"}],\\\"id\\\":\\\"7\\\",\\\"name\\\":\\\"File Output Operator\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"6\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":false,\\\"children\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"hdfs directory\\\",\\\"value\\\":\\\"true\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"destination\\\",\\\"value\\\":\\\"hdfs://10.0.0.59:4007/usr/hive/warehouse/hive_table_p1/dt=2025-02-04/.hive-staging_hive_2025-02-04_00-05-05_176_8916599993887172596-9/-ext-10000\\\"}],\\\"empty\\\":false,\\\"name\\\":\\\"files\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-4\\\"}],\\\"id\\\":\\\"8\\\",\\\"name\\\":\\\"Move Operator\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"0\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-1\\\"}],\\\"id\\\":\\\"9\\\",\\\"name\\\":\\\"Map\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"15\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"OperatorId\\\",\\\"value\\\":\\\"TS_0\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"alias\\\",\\\"value\\\":\\\"values__tmp__table__1\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-1\\\"}],\\\"id\\\":\\\"10\\\",\\\"name\\\":\\\"TableScan\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"9\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"OperatorId\\\",\\\"value\\\":\\\"SEL_1\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"outputColumnNames\\\",\\\"value\\\":\\\"[\\\\\\\"_col0\\\\\\\",\\\\\\\"_col1\\\\\\\"]\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"expressions\\\",\\\"value\\\":\\\"UDFToInteger(tmp_values_col1) (type: int), tmp_values_col2 (type: string)\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-1\\\"}],\\\"id\\\":\\\"11\\\",\\\"name\\\":\\\"Select Operator\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"10\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"OperatorId\\\",\\\"value\\\":\\\"FS_3\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"compressed\\\",\\\"value\\\":\\\"false\\\"},{\\\"childless\\\":false,\\\"children\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"name\\\",\\\"value\\\":\\\"default.hive_table_p1\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"input format\\\",\\\"value\\\":\\\"org.apache.hadoop.mapred.TextInputFormat\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"output format\\\",\\\"value\\\":\\\"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"serde\\\",\\\"value\\\":\\\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\\"}],\\\"empty\\\":false,\\\"name\\\":\\\"table\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-1\\\"}],\\\"id\\\":\\\"12\\\",\\\"name\\\":\\\"File Output Operator\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"11\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-2\\\"}],\\\"id\\\":\\\"13\\\",\\\"name\\\":\\\"Stats-Aggr Operator\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"14\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":false,\\\"children\\\":[{\\\"childless\\\":false,\\\"children\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"dt\\\",\\\"value\\\":\\\"2025-02-04\\\"}],\\\"empty\\\":false,\\\"name\\\":\\\"partition\\\"},{\\\"childless\\\":false,\\\"children\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"name\\\",\\\"value\\\":\\\"default.hive_table_p1\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"input format\\\",\\\"value\\\":\\\"org.apache.hadoop.mapred.TextInputFormat\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"output format\\\",\\\"value\\\":\\\"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"serde\\\",\\\"value\\\":\\\"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\\\"}],\\\"empty\\\":false,\\\"name\\\":\\\"table\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"replace\\\",\\\"value\\\":\\\"false\\\"}],\\\"empty\\\":false,\\\"name\\\":\\\"tables\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"TREE\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Stage-0\\\"}],\\\"id\\\":\\\"14\\\",\\\"name\\\":\\\"Move Operator\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"8\\\"},{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"7\\\"},{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"4\\\"}]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"compileDuration\\\",\\\"value\\\":303}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"compile\\\"}],\\\"id\\\":\\\"15\\\",\\\"name\\\":\\\"compile\\\",\\\"outDegree\\\":1,\\\"targetEdgeList\\\":[]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"StartTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:21.361\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"EndTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:21.362\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"CostTimeMs\\\",\\\"value\\\":1}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"stageName\\\",\\\"value\\\":\\\"Finish\\\"}],\\\"id\\\":\\\"16\\\",\\\"name\\\":\\\"RenameOrMoveFiles\\\",\\\"outDegree\\\":0,\\\"targetEdgeList\\\":[{\\\"attrList\\\":[],\\\"nodeId\\\":\\\"13\\\"}]}],\\\"pipelineList\\\":[],\\\"stageList\\\":[{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"taskType\\\",\\\"value\\\":\\\"CONDITIONAL\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"OperatorTotalTime\\\",\\\"type\\\":\\\"PERCENT\\\",\\\"value\\\":\\\"0ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"costTime\\\",\\\"value\\\":\\\"0ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"beginTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:21\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"endTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:21\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"id\\\":\\\"Stage-7\\\",\\\"name\\\":\\\"Stage-7\\\",\\\"nodeList\\\":[\\\"0\\\"]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"OperatorTotalTime\\\",\\\"type\\\":\\\"PERCENT\\\",\\\"value\\\":\\\"0ms\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"id\\\":\\\"Stage-5\\\",\\\"name\\\":\\\"Stage-5\\\",\\\"nodeList\\\":[\\\"1\\\",\\\"2\\\",\\\"3\\\"]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"OperatorTotalTime\\\",\\\"type\\\":\\\"PERCENT\\\",\\\"value\\\":\\\"0ms\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"id\\\":\\\"Stage-6\\\",\\\"name\\\":\\\"Stage-6\\\",\\\"nodeList\\\":[\\\"4\\\"]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"OperatorTotalTime\\\",\\\"type\\\":\\\"PERCENT\\\",\\\"value\\\":\\\"0ms\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"id\\\":\\\"Stage-3\\\",\\\"name\\\":\\\"Stage-3\\\",\\\"nodeList\\\":[\\\"5\\\",\\\"6\\\",\\\"7\\\"]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"taskType\\\",\\\"value\\\":\\\"MOVE\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"OperatorTotalTime\\\",\\\"type\\\":\\\"PERCENT\\\",\\\"value\\\":\\\"6ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"costTime\\\",\\\"value\\\":\\\"6ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"beginTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:21\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"endTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:21\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"id\\\":\\\"Stage-4\\\",\\\"name\\\":\\\"Stage-4\\\",\\\"nodeList\\\":[\\\"8\\\"]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"taskType\\\",\\\"value\\\":\\\"MAPRED\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"96%\\\",\\\"name\\\":\\\"OperatorTotalTime\\\",\\\"type\\\":\\\"PERCENT\\\",\\\"value\\\":\\\"15911ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"costTime\\\",\\\"value\\\":\\\"15911ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"beginTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:05\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"endTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:21\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"mapRedStats\\\",\\\"value\\\":\\\"Map: 1 Cumulative CPU: 2.13 sec HDFS Read: 4221 HDFS Write: 99 SUCCESS\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"applicationId\\\",\\\"value\\\":\\\"application_1736476990958_0073\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"VCoreSeconds\\\",\\\"value\\\":23},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"MemorySeconds\\\",\\\"value\\\":50837},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"hdfsBytesRead\\\",\\\"value\\\":4221},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"hdfsBytesWritten\\\",\\\"value\\\":99},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"CREATED_FILES\\\",\\\"value\\\":1},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"RECORDS_IN\\\",\\\"value\\\":1},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"RECORDS_OUT_1_default.hive_table_p1\\\",\\\"value\\\":1}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"id\\\":\\\"Stage-1\\\",\\\"name\\\":\\\"Stage-1\\\",\\\"nodeList\\\":[\\\"9\\\",\\\"10\\\",\\\"11\\\",\\\"12\\\"]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"taskType\\\",\\\"value\\\":\\\"STATS\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"1%\\\",\\\"name\\\":\\\"OperatorTotalTime\\\",\\\"type\\\":\\\"PERCENT\\\",\\\"value\\\":\\\"168ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"costTime\\\",\\\"value\\\":\\\"168ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"beginTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:21\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"endTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:21\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"id\\\":\\\"Stage-2\\\",\\\"name\\\":\\\"Stage-2\\\",\\\"nodeList\\\":[\\\"13\\\"]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"taskType\\\",\\\"value\\\":\\\"MOVE\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"2%\\\",\\\"name\\\":\\\"OperatorTotalTime\\\",\\\"type\\\":\\\"PERCENT\\\",\\\"value\\\":\\\"379ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"costTime\\\",\\\"value\\\":\\\"379ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"beginTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:21\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"endTime\\\",\\\"value\\\":\\\"2025-02-04 00:05:21\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"id\\\":\\\"Stage-0\\\",\\\"name\\\":\\\"Stage-0\\\",\\\"nodeList\\\":[\\\"14\\\"]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"OperatorTotalTime\\\",\\\"type\\\":\\\"PERCENT\\\",\\\"value\\\":\\\"0ms\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"id\\\":\\\"compile\\\",\\\"name\\\":\\\"compile\\\",\\\"nodeList\\\":[\\\"15\\\"]},{\\\"attrGroupList\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"OperatorTotalTime\\\",\\\"type\\\":\\\"PERCENT\\\",\\\"value\\\":\\\"1ms\\\"}],\\\"title\\\":\\\"Properties\\\",\\\"type\\\":\\\"NORMAL\\\"}],\\\"id\\\":\\\"Finish\\\",\\\"name\\\":\\\"Finish\\\",\\\"nodeList\\\":[\\\"16\\\"]}],\\\"summary\\\":[],\\\"topAttrGroup\\\":[{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"96%\\\",\\\"name\\\":\\\"Stage-1\\\",\\\"value\\\":\\\"15911ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"2%\\\",\\\"name\\\":\\\"Stage-0\\\",\\\"value\\\":\\\"379ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"1%\\\",\\\"name\\\":\\\"Stage-2\\\",\\\"value\\\":\\\"168ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"Stage-4\\\",\\\"value\\\":\\\"6ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"Finish\\\",\\\"value\\\":\\\"1ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"Stage-7\\\",\\\"value\\\":\\\"0ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"Stage-5\\\",\\\"value\\\":\\\"0ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"Stage-6\\\",\\\"value\\\":\\\"0ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"Stage-3\\\",\\\"value\\\":\\\"0ms\\\"},{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"extraValue\\\":\\\"0%\\\",\\\"name\\\":\\\"compile\\\",\\\"value\\\":\\\"0ms\\\"}],\\\"title\\\":\\\"时间排行\\\",\\\"type\\\":\\\"TOP_LIST\\\"},{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"Stage-1\\\",\\\"value\\\":23}],\\\"title\\\":\\\"VCoreSeconds排行\\\",\\\"type\\\":\\\"TOP_LIST\\\"},{\\\"attrList\\\":[{\\\"childless\\\":true,\\\"children\\\":[],\\\"empty\\\":false,\\\"name\\\":\\\"Stage-1\\\",\\\"value\\\":50837}],\\\"title\\\":\\\"MemorySeconds排行\\\",\\\"type\\\":\\\"TOP_LIST\\\"}],\\\"type\\\":\\\"HIVE\\\"}\",\n \"ID\": \"hadoop_20250204000505_2e6d0e39-f040-4c99-8426-4a3555c7945d\",\n \"Type\": \"STARROCKS\"\n }\n ],\n \"RequestId\": \"baefe09a-7032-4c21-b5e3-1440bfae8492\",\n \"TotalCount\": 1\n }\n}",
|
152
|
+
"title": "获取DAG信息样列"
|
153
|
+
}
|
154
|
+
],
|
147
155
|
"DescribeEmrApplicationStatics": [
|
148
156
|
{
|
149
157
|
"document": "",
|
@@ -411,7 +419,7 @@
|
|
411
419
|
"ModifyAutoScaleStrategy": [
|
412
420
|
{
|
413
421
|
"document": "修改扩缩容规则",
|
414
|
-
"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}",
|
422
|
+
"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 \"GroupId\": 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 \"Soft\": \"yarn\",\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}",
|
415
423
|
"output": "{\n \"Response\": {\n \"RequestId\": \"8833a2df-1487-4f78-89b6-eff26058a240\"\n }\n}",
|
416
424
|
"title": "修改扩缩容规则"
|
417
425
|
}
|
@@ -12513,7 +12513,7 @@
|
|
12513
12513
|
},
|
12514
12514
|
{
|
12515
12515
|
"disabled": false,
|
12516
|
-
"document": "
|
12516
|
+
"document": "意愿核身语音问答模式(即语音播报+语音回答)使用的文案,包括:系统语音播报的文本、需要核验的标准文本。支持传入1~10轮问答,最多为10轮。\n\n注:`选择问答模式时,此字段可不传,不传则使用默认语音文本:请问,您是否同意签署本协议?可语音回复“同意”或“不同意”。`",
|
12517
12517
|
"example": "无",
|
12518
12518
|
"member": "IntentionQuestion",
|
12519
12519
|
"name": "IntentionQuestions",
|
@@ -12522,7 +12522,7 @@
|
|
12522
12522
|
},
|
12523
12523
|
{
|
12524
12524
|
"disabled": false,
|
12525
|
-
"document": "
|
12525
|
+
"document": "意愿核身(点头确认模式)使用的文案,若未使用意愿核身(点头确认模式),则该字段无需传入。支持传入1~10轮点头确认文本,最多支持10轮。\n\n注:`选择点头模式时,此字段可不传,不传则使用默认语音文本:请问,您是否同意签署本协议?可点头同意。`",
|
12526
12526
|
"example": "无",
|
12527
12527
|
"member": "IntentionAction",
|
12528
12528
|
"name": "IntentionActions",
|
@@ -10843,7 +10843,7 @@
|
|
10843
10843
|
},
|
10844
10844
|
{
|
10845
10845
|
"disabled": false,
|
10846
|
-
"document": "
|
10846
|
+
"document": "意愿核身语音问答模式(即语音播报+语音回答)使用的文案,包括:系统语音播报的文本、需要核验的标准文本。支持传入1~10轮问答,最多支持10轮。\n\n注:`选择问答模式时,此字段可不传,不传则使用默认语音文本:请问,您是否同意签署本协议?可语音回复“同意”或“不同意”。`",
|
10847
10847
|
"example": "无",
|
10848
10848
|
"member": "IntentionQuestion",
|
10849
10849
|
"name": "IntentionQuestions",
|
@@ -10852,7 +10852,7 @@
|
|
10852
10852
|
},
|
10853
10853
|
{
|
10854
10854
|
"disabled": false,
|
10855
|
-
"document": "
|
10855
|
+
"document": "意愿核身(点头确认模式)使用的文案,若未使用意愿核身(点头确认模式),则该字段无需传入。支持传入1~10轮点头确认文本,最多支持10轮。\n\n注:`选择点头模式时,此字段可不传,不传则使用默认语音文本:请问,您是否同意签署本协议?可点头同意。`",
|
10856
10856
|
"example": "无",
|
10857
10857
|
"member": "IntentionAction",
|
10858
10858
|
"name": "IntentionActions",
|
@@ -14996,6 +14996,17 @@
|
|
14996
14996
|
"required": false,
|
14997
14997
|
"type": "bool",
|
14998
14998
|
"value_allowed_null": false
|
14999
|
+
},
|
15000
|
+
{
|
15001
|
+
"disabled": false,
|
15002
|
+
"document": "导播台pvw pgm的cdn流id",
|
15003
|
+
"example": "ExampleStreamName",
|
15004
|
+
"member": "string",
|
15005
|
+
"name": "CdnStreamId",
|
15006
|
+
"output_required": false,
|
15007
|
+
"required": false,
|
15008
|
+
"type": "string",
|
15009
|
+
"value_allowed_null": false
|
14999
15010
|
}
|
15000
15011
|
],
|
15001
15012
|
"usage": "both"
|