tccli 3.0.1185.1__py2.py3-none-any.whl → 3.0.1187.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/services/cdwch/v20200915/api.json +5 -9
- tccli/services/cfw/cfw_client.py +0 -53
- tccli/services/cfw/v20190904/api.json +0 -24
- tccli/services/cfw/v20190904/examples.json +0 -8
- tccli/services/cwp/v20180228/api.json +1 -1
- tccli/services/cynosdb/v20190107/api.json +1 -1
- tccli/services/emr/emr_client.py +224 -12
- tccli/services/emr/v20190103/api.json +389 -21
- tccli/services/emr/v20190103/examples.json +39 -7
- tccli/services/ess/v20201111/api.json +29 -29
- tccli/services/ess/v20201111/examples.json +7 -7
- tccli/services/facefusion/v20220927/api.json +8 -10
- tccli/services/gme/v20180711/api.json +12 -12
- tccli/services/teo/v20220901/api.json +2 -2
- tccli/services/trocket/v20230308/api.json +9 -0
- tccli/services/tse/v20201207/api.json +1 -1
- tccli/services/vclm/v20240523/api.json +24 -12
- tccli/services/vclm/v20240523/examples.json +17 -5
- tccli/services/vrs/v20200824/api.json +4 -4
- tccli/services/vtc/v20240223/api.json +20 -11
- tccli/services/vtc/v20240223/examples.json +19 -7
- {tccli-3.0.1185.1.dist-info → tccli-3.0.1187.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1185.1.dist-info → tccli-3.0.1187.1.dist-info}/RECORD +27 -27
- {tccli-3.0.1185.1.dist-info → tccli-3.0.1187.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1185.1.dist-info → tccli-3.0.1187.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1185.1.dist-info → tccli-3.0.1187.1.dist-info}/license_files/LICENSE +0 -0
@@ -42,6 +42,13 @@
|
|
42
42
|
"output": "DeleteUserManagerUserListResponse",
|
43
43
|
"status": "online"
|
44
44
|
},
|
45
|
+
"DeployYarnConf": {
|
46
|
+
"document": "yarn资源调度-部署生效",
|
47
|
+
"input": "DeployYarnConfRequest",
|
48
|
+
"name": "yarn资源调度-部署生效",
|
49
|
+
"output": "DeployYarnConfResponse",
|
50
|
+
"status": "online"
|
51
|
+
},
|
45
52
|
"DescribeAutoScaleGroupGlobalConf": {
|
46
53
|
"document": "获取自动扩缩容全局配置",
|
47
54
|
"input": "DescribeAutoScaleGroupGlobalConfRequest",
|
@@ -155,9 +162,9 @@
|
|
155
162
|
"status": "online"
|
156
163
|
},
|
157
164
|
"DescribeResourceSchedule": {
|
158
|
-
"document": "查询YARN
|
165
|
+
"document": "查询YARN资源调度数据信息。已废弃,请使用`DescribeYarnQueue`去查询队列信息。",
|
159
166
|
"input": "DescribeResourceScheduleRequest",
|
160
|
-
"name": "查询YARN
|
167
|
+
"name": "查询YARN资源调度数据信息(旧)",
|
161
168
|
"output": "DescribeResourceScheduleResponse",
|
162
169
|
"status": "online"
|
163
170
|
},
|
@@ -189,10 +196,17 @@
|
|
189
196
|
"output": "DescribeYarnApplicationsResponse",
|
190
197
|
"status": "online"
|
191
198
|
},
|
199
|
+
"DescribeYarnQueue": {
|
200
|
+
"document": "获取资源调度中的队列信息",
|
201
|
+
"input": "DescribeYarnQueueRequest",
|
202
|
+
"name": "获取资源调度中的队列信息",
|
203
|
+
"output": "DescribeYarnQueueResponse",
|
204
|
+
"status": "online"
|
205
|
+
},
|
192
206
|
"DescribeYarnScheduleHistory": {
|
193
|
-
"document": "查看yarn
|
207
|
+
"document": "查看yarn资源调度的调度历史。废弃,请使用流程中心查看历史记录。",
|
194
208
|
"input": "DescribeYarnScheduleHistoryRequest",
|
195
|
-
"name": "yarn
|
209
|
+
"name": "yarn资源调度-调度历史(旧)",
|
196
210
|
"output": "DescribeYarnScheduleHistoryResponse",
|
197
211
|
"status": "online"
|
198
212
|
},
|
@@ -246,23 +260,23 @@
|
|
246
260
|
"status": "online"
|
247
261
|
},
|
248
262
|
"ModifyResourcePools": {
|
249
|
-
"document": "刷新YARN
|
263
|
+
"document": "刷新YARN的动态资源池。已废弃,请使用`DeployYarnConf`",
|
250
264
|
"input": "ModifyResourcePoolsRequest",
|
251
|
-
"name": "刷新YARN
|
265
|
+
"name": "刷新YARN的动态资源池(旧)",
|
252
266
|
"output": "ModifyResourcePoolsResponse",
|
253
267
|
"status": "online"
|
254
268
|
},
|
255
269
|
"ModifyResourceScheduleConfig": {
|
256
|
-
"document": "修改YARN
|
270
|
+
"document": "修改YARN资源调度的资源配置。已废弃,请使用`ModifyYarnQueueV2`来修改队列配置",
|
257
271
|
"input": "ModifyResourceScheduleConfigRequest",
|
258
|
-
"name": "修改YARN
|
272
|
+
"name": "修改YARN资源调度的资源配置(旧)",
|
259
273
|
"output": "ModifyResourceScheduleConfigResponse",
|
260
274
|
"status": "online"
|
261
275
|
},
|
262
276
|
"ModifyResourceScheduler": {
|
263
|
-
"document": "修改了yarn
|
277
|
+
"document": "修改了yarn的资源调度器,点击部署生效。",
|
264
278
|
"input": "ModifyResourceSchedulerRequest",
|
265
|
-
"name": "修改YARN
|
279
|
+
"name": "修改YARN的资源调度器(旧)",
|
266
280
|
"output": "ModifyResourceSchedulerResponse",
|
267
281
|
"status": "online"
|
268
282
|
},
|
@@ -281,12 +295,26 @@
|
|
281
295
|
"status": "online"
|
282
296
|
},
|
283
297
|
"ModifyYarnDeploy": {
|
284
|
-
"document": "
|
298
|
+
"document": "部署生效。已废弃,请使用`DeployYarnConf`接口进行部署生效",
|
285
299
|
"input": "ModifyYarnDeployRequest",
|
286
|
-
"name": "
|
300
|
+
"name": "部署生效(旧)",
|
287
301
|
"output": "ModifyYarnDeployResponse",
|
288
302
|
"status": "online"
|
289
303
|
},
|
304
|
+
"ModifyYarnQueueV2": {
|
305
|
+
"document": "修改资源调度中队列信息",
|
306
|
+
"input": "ModifyYarnQueueV2Request",
|
307
|
+
"name": "修改yarn资源调度的队列信息",
|
308
|
+
"output": "ModifyYarnQueueV2Response",
|
309
|
+
"status": "online"
|
310
|
+
},
|
311
|
+
"ResetYarnConfig": {
|
312
|
+
"document": "修改YARN资源调度的资源配置",
|
313
|
+
"input": "ResetYarnConfigRequest",
|
314
|
+
"name": "yarn资源调度-重置",
|
315
|
+
"output": "ResetYarnConfigResponse",
|
316
|
+
"status": "online"
|
317
|
+
},
|
290
318
|
"RunJobFlow": {
|
291
319
|
"document": "创建流程作业",
|
292
320
|
"input": "RunJobFlowRequest",
|
@@ -1917,6 +1945,128 @@
|
|
1917
1945
|
],
|
1918
1946
|
"usage": "both"
|
1919
1947
|
},
|
1948
|
+
"ConfigModifyInfoV2": {
|
1949
|
+
"document": "资源调度 - 队列修改信息",
|
1950
|
+
"members": [
|
1951
|
+
{
|
1952
|
+
"disabled": false,
|
1953
|
+
"document": "操作类型,可选值:\n\n- 0:新建队列\n- 1:编辑-全量覆盖\n- 2:新建子队列\n- 3:删除\n- 4:克隆,与新建子队列的行为一样,特别的对于`fair`,可以复制子队列到新建队列\n- 6:编辑-增量更新\n注意:此字段可能返回 null,表示取不到有效值。",
|
1954
|
+
"example": "0",
|
1955
|
+
"member": "uint64",
|
1956
|
+
"name": "OpType",
|
1957
|
+
"output_required": true,
|
1958
|
+
"required": true,
|
1959
|
+
"type": "int",
|
1960
|
+
"value_allowed_null": true
|
1961
|
+
},
|
1962
|
+
{
|
1963
|
+
"disabled": false,
|
1964
|
+
"document": "队列名称,不支持修改。",
|
1965
|
+
"example": "b",
|
1966
|
+
"member": "string",
|
1967
|
+
"name": "Name",
|
1968
|
+
"output_required": true,
|
1969
|
+
"required": false,
|
1970
|
+
"type": "string",
|
1971
|
+
"value_allowed_null": false
|
1972
|
+
},
|
1973
|
+
{
|
1974
|
+
"disabled": false,
|
1975
|
+
"document": "新建队列 传root的MyId;新建子队列 传 选中队列的 myId;克隆 要传 选中队列 parentId\n注意:此字段可能返回 null,表示取不到有效值。",
|
1976
|
+
"example": "root.a",
|
1977
|
+
"member": "string",
|
1978
|
+
"name": "ParentId",
|
1979
|
+
"output_required": true,
|
1980
|
+
"required": false,
|
1981
|
+
"type": "string",
|
1982
|
+
"value_allowed_null": true
|
1983
|
+
},
|
1984
|
+
{
|
1985
|
+
"disabled": false,
|
1986
|
+
"document": "编辑、删除 传选中队列的 myId。克隆只有在调度器是`fair`时才需要传,用来复制子队列到新队列。\n注意:此字段可能返回 null,表示取不到有效值。",
|
1987
|
+
"example": "root.a.b",
|
1988
|
+
"member": "string",
|
1989
|
+
"name": "MyId",
|
1990
|
+
"output_required": true,
|
1991
|
+
"required": false,
|
1992
|
+
"type": "string",
|
1993
|
+
"value_allowed_null": true
|
1994
|
+
},
|
1995
|
+
{
|
1996
|
+
"disabled": false,
|
1997
|
+
"document": "基础配置信息。key的取值与**DescribeYarnQueue**返回的字段一致。\n###### 公平调度器\nkey的取值信息如下:\n\n- type,父队列,取值为 **parent** 或 **null**\n- aclSubmitApps,提交访问控制,取值为**AclForYarnQueue类型的json串**或**null**\n- aclAdministerApps,管理访问控制,取值为**AclForYarnQueue类型的json串**或**null**\n- minSharePreemptionTimeout,最小共享优先权超时时间,取值为**数字字符串**或**null**\n- fairSharePreemptionTimeout,公平份额抢占超时时间,取值为**数字字符串**或**null**\n- fairSharePreemptionThreshold,公平份额抢占阈值,取值为**数字字符串**或**null**,其中数字的范围是(0,1]\n- allowPreemptionFrom,抢占模式,取值为**布尔字符串**或**null**\n- schedulingPolicy,调度策略,取值为**drf**、**fair**、**fifo**或**null**\n\n```\ntype AclForYarnQueue struct {\n\tUser *string `json:\"user\"` //用户名\n\tGroup *string `json:\"group\"`//组名\n}\n```\n###### 容量调度器\nkey的取值信息如下:\n\n- state,队列状态,取值为**STOPPED**或**RUNNING**\n- default-node-label-expression,默认标签表达式,取值为**标签**或**null**\n- acl_submit_applications,提交访问控制,取值为**AclForYarnQueue类型的json串**或**null**\n- acl_administer_queue,管理访问控制,取值为**AclForYarnQueue类型的json串**或**null**\n- maximum-allocation-mb,分配Container最大内存数量,取值为**数字字符串**或**null**\n- maximum-allocation-vcores,Container最大vCore数量,取值为**数字字符串**或**null**\n```\ntype AclForYarnQueue struct {\n\tUser *string `json:\"user\"` //用户名\n\tGroup *string `json:\"group\"`//组名\n}\n```\n注意:此字段可能返回 null,表示取不到有效值。",
|
1998
|
+
"example": "无",
|
1999
|
+
"member": "ItemSeq",
|
2000
|
+
"name": "BasicParams",
|
2001
|
+
"output_required": false,
|
2002
|
+
"required": false,
|
2003
|
+
"type": "object",
|
2004
|
+
"value_allowed_null": true
|
2005
|
+
},
|
2006
|
+
{
|
2007
|
+
"disabled": false,
|
2008
|
+
"document": "配置集信息,取值见该复杂类型的参数说明。配置集是计划模式在队列中表现,表示的是不同时间段不同的配置值,所有队列的配置集名称都一样,对于单个队列,每个配置集中的标签与参数都一样,只是参数值不同。\n注意:此字段可能返回 null,表示取不到有效值。",
|
2009
|
+
"example": "无",
|
2010
|
+
"member": "ConfigSetInfo",
|
2011
|
+
"name": "ConfigSetParams",
|
2012
|
+
"output_required": false,
|
2013
|
+
"required": false,
|
2014
|
+
"type": "list",
|
2015
|
+
"value_allowed_null": true
|
2016
|
+
},
|
2017
|
+
{
|
2018
|
+
"disabled": false,
|
2019
|
+
"document": "容量调度专用,`OpType`为`6`时才生效,表示要删除这个队列中的哪些标签。优先级高于ConfigSetParams中的LabelParams。\n注意:此字段可能返回 null,表示取不到有效值。",
|
2020
|
+
"example": "无",
|
2021
|
+
"member": "string",
|
2022
|
+
"name": "DeleteLables",
|
2023
|
+
"output_required": false,
|
2024
|
+
"required": false,
|
2025
|
+
"type": "list",
|
2026
|
+
"value_allowed_null": true
|
2027
|
+
}
|
2028
|
+
],
|
2029
|
+
"usage": "both"
|
2030
|
+
},
|
2031
|
+
"ConfigSetInfo": {
|
2032
|
+
"document": "资源调度-配置集信息",
|
2033
|
+
"members": [
|
2034
|
+
{
|
2035
|
+
"disabled": false,
|
2036
|
+
"document": "配置集名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
2037
|
+
"example": "default",
|
2038
|
+
"member": "string",
|
2039
|
+
"name": "ConfigSet",
|
2040
|
+
"output_required": false,
|
2041
|
+
"required": true,
|
2042
|
+
"type": "string",
|
2043
|
+
"value_allowed_null": true
|
2044
|
+
},
|
2045
|
+
{
|
2046
|
+
"disabled": false,
|
2047
|
+
"document": "容量调度器会使用,里面设置了标签相关的配置。key的取值与**DescribeYarnQueue**返回的字段一致。\nkey的取值信息如下:\n- labelName,标签名称,标签管理里的标签。\n- capacity,容量,取值为**数字字符串**\n- maximum-capacity,最大容量,取值为**数字字符串**\n注意:此字段可能返回 null,表示取不到有效值。",
|
2048
|
+
"example": "无",
|
2049
|
+
"member": "ItemSeq",
|
2050
|
+
"name": "LabelParams",
|
2051
|
+
"output_required": false,
|
2052
|
+
"required": false,
|
2053
|
+
"type": "list",
|
2054
|
+
"value_allowed_null": true
|
2055
|
+
},
|
2056
|
+
{
|
2057
|
+
"disabled": false,
|
2058
|
+
"document": "设置配置集相关的参数。key的取值与**DescribeYarnQueue**返回的字段一致。\n###### 公平调度器\nkey的取值信息如下:\n- minResources,最大资源量,取值为**YarnResource类型的json串**或**null**\n- maxResources,最大资源量,取值为**YarnResource类型的json串**或**null**\n- maxChildResources,能够分配给为未声明子队列的最大资源量,取值为**数字字符串**或**null**\n- maxRunningApps,最高可同时处于运行的App数量,取值为**数字字符串**或**null**\n- weight,权重,取值为**数字字符串**或**null**\n- maxAMShare,App Master最大份额,取值为**数字字符串**或**null**,其中数字的范围是[0,1]或-1\n\n```\ntype YarnResource struct {\n\tVcores *int `json:\"vcores\"`\n\tMemory *int `json:\"memory\"`\n\tType *string `json:\"type\"` // 取值为`percent`或`null`当值为`percent`时,表示使用的百分比,否则就是使用的绝对数值。只有maxResources、maxChildResources才可以取值为`percent`\n}\n```\n\n###### 容量调度器\nkey的取值信息如下:\n- minimum-user-limit-percent,用户最小容量,取值为**YarnResource类型的json串**或**null**,其中数字的范围是[0,100]\n- user-limit-factor,用户资源因子,取值为**YarnResource类型的json串**或**null**\n- maximum-applications,最大应用数Max-Applications,取值为**数字字符串**或**null**,其中数字为正整数\n- maximum-am-resource-percent,最大AM比例,取值为**数字字符串**或**null**,其中数字的范围是[0,1]或-1\n- default-application-priority,资源池优先级,取值为**数字字符串**或**null**,其中数字为正整数\n注意:此字段可能返回 null,表示取不到有效值。",
|
2059
|
+
"example": "无",
|
2060
|
+
"member": "Item",
|
2061
|
+
"name": "BasicParams",
|
2062
|
+
"output_required": false,
|
2063
|
+
"required": false,
|
2064
|
+
"type": "list",
|
2065
|
+
"value_allowed_null": true
|
2066
|
+
}
|
2067
|
+
],
|
2068
|
+
"usage": "both"
|
2069
|
+
},
|
1920
2070
|
"Configuration": {
|
1921
2071
|
"document": "自定义配置参数",
|
1922
2072
|
"members": [
|
@@ -2772,6 +2922,43 @@
|
|
2772
2922
|
],
|
2773
2923
|
"usage": "in"
|
2774
2924
|
},
|
2925
|
+
"DeployYarnConfRequest": {
|
2926
|
+
"document": "DeployYarnConf请求参数结构体",
|
2927
|
+
"members": [
|
2928
|
+
{
|
2929
|
+
"disabled": false,
|
2930
|
+
"document": "emr集群的英文id",
|
2931
|
+
"example": "emr-2xef56",
|
2932
|
+
"member": "string",
|
2933
|
+
"name": "InstanceId",
|
2934
|
+
"required": true,
|
2935
|
+
"type": "string"
|
2936
|
+
}
|
2937
|
+
],
|
2938
|
+
"type": "object"
|
2939
|
+
},
|
2940
|
+
"DeployYarnConfResponse": {
|
2941
|
+
"document": "DeployYarnConf返回参数结构体",
|
2942
|
+
"members": [
|
2943
|
+
{
|
2944
|
+
"disabled": false,
|
2945
|
+
"document": "启动流程后的流程ID,可以使用[DescribeClusterFlowStatusDetail](https://cloud.tencent.com/document/product/589/107224)接口来获取流程状态",
|
2946
|
+
"example": "无",
|
2947
|
+
"member": "uint64",
|
2948
|
+
"name": "FlowId",
|
2949
|
+
"output_required": true,
|
2950
|
+
"type": "int",
|
2951
|
+
"value_allowed_null": false
|
2952
|
+
},
|
2953
|
+
{
|
2954
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
2955
|
+
"member": "string",
|
2956
|
+
"name": "RequestId",
|
2957
|
+
"type": "string"
|
2958
|
+
}
|
2959
|
+
],
|
2960
|
+
"type": "object"
|
2961
|
+
},
|
2775
2962
|
"DescribeAutoScaleGroupGlobalConfRequest": {
|
2776
2963
|
"document": "DescribeAutoScaleGroupGlobalConf请求参数结构体",
|
2777
2964
|
"members": [
|
@@ -4262,7 +4449,7 @@
|
|
4262
4449
|
"example": "true",
|
4263
4450
|
"member": "bool",
|
4264
4451
|
"name": "OpenSwitch",
|
4265
|
-
"
|
4452
|
+
"output_required": true,
|
4266
4453
|
"type": "bool",
|
4267
4454
|
"value_allowed_null": false
|
4268
4455
|
},
|
@@ -4272,7 +4459,7 @@
|
|
4272
4459
|
"example": "\"fair\"",
|
4273
4460
|
"member": "string",
|
4274
4461
|
"name": "Scheduler",
|
4275
|
-
"
|
4462
|
+
"output_required": true,
|
4276
4463
|
"type": "string",
|
4277
4464
|
"value_allowed_null": false
|
4278
4465
|
},
|
@@ -4282,7 +4469,7 @@
|
|
4282
4469
|
"example": "null",
|
4283
4470
|
"member": "string",
|
4284
4471
|
"name": "FSInfo",
|
4285
|
-
"
|
4472
|
+
"output_required": true,
|
4286
4473
|
"type": "string",
|
4287
4474
|
"value_allowed_null": false
|
4288
4475
|
},
|
@@ -4292,7 +4479,7 @@
|
|
4292
4479
|
"example": "null",
|
4293
4480
|
"member": "string",
|
4294
4481
|
"name": "CSInfo",
|
4295
|
-
"
|
4482
|
+
"output_required": true,
|
4296
4483
|
"type": "string",
|
4297
4484
|
"value_allowed_null": false
|
4298
4485
|
},
|
@@ -4720,6 +4907,62 @@
|
|
4720
4907
|
],
|
4721
4908
|
"type": "object"
|
4722
4909
|
},
|
4910
|
+
"DescribeYarnQueueRequest": {
|
4911
|
+
"document": "DescribeYarnQueue请求参数结构体",
|
4912
|
+
"members": [
|
4913
|
+
{
|
4914
|
+
"disabled": false,
|
4915
|
+
"document": "集群Id",
|
4916
|
+
"example": "emr-xxx",
|
4917
|
+
"member": "string",
|
4918
|
+
"name": "InstanceId",
|
4919
|
+
"required": true,
|
4920
|
+
"type": "string"
|
4921
|
+
},
|
4922
|
+
{
|
4923
|
+
"disabled": false,
|
4924
|
+
"document": "调度器,可选值:\n\n1. capacity\n2. fair",
|
4925
|
+
"example": "capacity",
|
4926
|
+
"member": "string",
|
4927
|
+
"name": "Scheduler",
|
4928
|
+
"required": true,
|
4929
|
+
"type": "string"
|
4930
|
+
}
|
4931
|
+
],
|
4932
|
+
"type": "object"
|
4933
|
+
},
|
4934
|
+
"DescribeYarnQueueResponse": {
|
4935
|
+
"document": "DescribeYarnQueue返回参数结构体",
|
4936
|
+
"members": [
|
4937
|
+
{
|
4938
|
+
"disabled": false,
|
4939
|
+
"document": "队列信息。是一个对象转成的json字符串,对应的golang结构体如下所示,比如`QueueWithConfigSetForFairScheduler`的第一个字段`Name`:\n\n```\nName string `json:\"name\"` //队列名称\n```\n- `Name`:字段名\n- `string`:字段类型\n- `json:\"name\"`:表示在序列化和反序列化`json`时,对应的`json key`,下面以`json key`来指代\n- `//`:后面的注释内容对应页面上看到的名称\n\n字段类型以`*`开头的表示取值可能为json规范下的null,不同的语言需要使用能表达null的类型来接收,比如java的包装类型;字段类型以`[]`开头的表示是数组类型;`json key`在调用`ModifyYarnQueueV2 `接口也会使用。\n\n- 公平调度器\n\n```\ntype QueueWithConfigSetForFairScheduler struct {\n\tName string `json:\"name\"` //队列名称\n\tMyId string `json:\"myId\"` // 队列id,用于编辑、删除、克隆时使用\n\tParentId string `json:\"parentId\"` // 父队列Id\n\tType *string `json:\"type\"` // 队列归属。parent或空,当确定某个队列是父队列,且没有子队列时,才可以设置,通常用来支持放置策略nestedUserQueue\n\tAclSubmitApps *AclForYarnQueue `json:\"aclSubmitApps\"` // 提交访问控制\n\tAclAdministerApps *AclForYarnQueue `json:\"aclAdministerApps\"` // 管理访问控制\n\tMinSharePreemptionTimeout *int `json:\"minSharePreemptionTimeout\"` // 最小共享优先权超时时间\n\tFairSharePreemptionTimeout *int `json:\"fairSharePreemptionTimeout\"` // 公平份额抢占超时时间\n\tFairSharePreemptionThreshold *float32 `json:\"fairSharePreemptionThreshold\"` // 公平份额抢占阈值。取值 (0,1]\n\tAllowPreemptionFrom *bool `json:\"allowPreemptionFrom\"` // 抢占模式\n\tSchedulingPolicy *string `json:\"schedulingPolicy\"` // 调度策略,取值有drf、fair、fifo\n\tIsDefault *bool `json:\"isDefault\"` // 是否是root.default队列\n\tIsRoot *bool `json:\"isRoot\"` // 是否是root队列\n\tConfigSets []ConfigSetForFairScheduler `json:\"configSets\"` // 配置集设置\n\tChildren []QueueWithConfigSetForFairScheduler `json:\"queues\"` // 子队列信息。递归\n}\n\ntype AclForYarnQueue struct {\n\tUser *string `json:\"user\"` //用户名\n\tGroup *string `json:\"group\"`//组名\n}\n\ntype ConfigSetForFairScheduler struct {\n\tName string `json:\"name\"` // 配置集名称\n\tMinResources *YarnResource `json:\"minResources\"` // 最小资源量\n\tMaxResources *YarnResource `json:\"maxResources\"` // 最大资源量\n\tMaxChildResources *YarnResource `json:\"maxChildResources\"` // 能够分配给为未声明子队列的最大资源量\n\tMaxRunningApps *int `json:\"maxRunningApps\"` // 最高可同时处于运行的App数量\n\tWeight *float32 `json:\"weight\"` // 权重\n\tMaxAMShare *float32 `json:\"maxAMShare\"` // App Master最大份额\n}\n\ntype YarnResource struct {\n\tVcores *int `json:\"vcores\"`\n\tMemory *int `json:\"memory\"`\n\tType *string `json:\"type\"` // 当值为`percent`时,表示使用的百分比,否则就是使用的绝对数值\n}\n```\n\n- 容量调度器\n\n```\ntype QueueForCapacitySchedulerV3 struct {\n\tName string `json:\"name\"` // 队列名称\n\tMyId string `json:\"myId\"` // 队列id,用于编辑、删除、克隆时使用\n\tParentId string `json:\"parentId\"` // 父队列Id\n\tConfigs []ConfigForCapacityV3 `json:\"configs\"` //配置集设置\n\tState *string `json:\"state\"` // 资源池状态\n\tDefaultNodeLabelExpression *string `json:\"default-node-label-expression\"` // 默认标签表达式\n\tAclSubmitApps *AclForYarnQueue `json:\"acl_submit_applications\"` // 提交访问控制\n\tAclAdminQueue *AclForYarnQueue `json:\"acl_administer_queue\"` //管理访问控制\n\tMaxAllocationMB *int32 `json:\"maximum-allocation-mb\"` // 分配Container最大内存数量\n\tMaxAllocationVcores *int32 `json:\"maximum-allocation-vcores\"` // Container最大vCore数量\n\tIsDefault *bool `json:\"isDefault\"`// 是否是root.default队列\n\tIsRoot *bool `json:\"isRoot\"` // 是否是root队列\n\tQueues []*QueueForCapacitySchedulerV3 `json:\"queues\"`//子队列信息。递归\n}\ntype ConfigForCapacityV3 struct {\n\tName string `json:\"configName\"` // 配置集名称\n\tLabels []CapacityLabel `json:\"labels\"` // 标签信息\n\tMinUserLimitPercent *int32 `json:\"minimum-user-limit-percent\"` // 用户最小容量\n\tUserLimitFactor *float32 `json:\"user-limit-factor\" valid:\"rangeExcludeLeft(0|)\"` // 用户资源因子\n\tMaxApps *int32 `json:\"maximum-applications\" valid:\"rangeExcludeLeft(0|)\"` // 最大应用数Max-Applications\n\tMaxAmPercent *float32 `json:\"maximum-am-resource-percent\"` // 最大AM比例\n\tDefaultApplicationPriority *int32 `json:\"default-application-priority\"` // 资源池优先级\n}\ntype CapacityLabel struct {\n\tName string `json:\"labelName\"`\n\tCapacity *float32 `json:\"capacity\"` // 容量\n\tMaxCapacity *float32 `json:\"maximum-capacity\"` //最大容量\n}\n\ntype AclForYarnQueue struct {\n\tUser *string `json:\"user\"` //用户名\n\tGroup *string `json:\"group\"`//组名\n}\n```",
|
4940
|
+
"example": "无",
|
4941
|
+
"member": "string",
|
4942
|
+
"name": "Queue",
|
4943
|
+
"output_required": true,
|
4944
|
+
"type": "string",
|
4945
|
+
"value_allowed_null": false
|
4946
|
+
},
|
4947
|
+
{
|
4948
|
+
"disabled": false,
|
4949
|
+
"document": "版本",
|
4950
|
+
"example": "v2",
|
4951
|
+
"member": "string",
|
4952
|
+
"name": "Version",
|
4953
|
+
"output_required": true,
|
4954
|
+
"type": "string",
|
4955
|
+
"value_allowed_null": false
|
4956
|
+
},
|
4957
|
+
{
|
4958
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4959
|
+
"member": "string",
|
4960
|
+
"name": "RequestId",
|
4961
|
+
"type": "string"
|
4962
|
+
}
|
4963
|
+
],
|
4964
|
+
"type": "object"
|
4965
|
+
},
|
4723
4966
|
"DescribeYarnScheduleHistoryRequest": {
|
4724
4967
|
"document": "DescribeYarnScheduleHistory请求参数结构体",
|
4725
4968
|
"members": [
|
@@ -7331,6 +7574,50 @@
|
|
7331
7574
|
],
|
7332
7575
|
"usage": "both"
|
7333
7576
|
},
|
7577
|
+
"Item": {
|
7578
|
+
"document": "代表一个kv结构",
|
7579
|
+
"members": [
|
7580
|
+
{
|
7581
|
+
"disabled": false,
|
7582
|
+
"document": "健值\n注意:此字段可能返回 null,表示取不到有效值。",
|
7583
|
+
"example": "k",
|
7584
|
+
"member": "string",
|
7585
|
+
"name": "Key",
|
7586
|
+
"output_required": false,
|
7587
|
+
"required": true,
|
7588
|
+
"type": "string",
|
7589
|
+
"value_allowed_null": true
|
7590
|
+
},
|
7591
|
+
{
|
7592
|
+
"disabled": false,
|
7593
|
+
"document": "值\n注意:此字段可能返回 null,表示取不到有效值。",
|
7594
|
+
"example": "v",
|
7595
|
+
"member": "string",
|
7596
|
+
"name": "Value",
|
7597
|
+
"output_required": false,
|
7598
|
+
"required": true,
|
7599
|
+
"type": "string",
|
7600
|
+
"value_allowed_null": true
|
7601
|
+
}
|
7602
|
+
],
|
7603
|
+
"usage": "both"
|
7604
|
+
},
|
7605
|
+
"ItemSeq": {
|
7606
|
+
"document": "键值对组成的列表",
|
7607
|
+
"members": [
|
7608
|
+
{
|
7609
|
+
"disabled": false,
|
7610
|
+
"document": "标签名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
7611
|
+
"example": "无",
|
7612
|
+
"member": "Item",
|
7613
|
+
"name": "Items",
|
7614
|
+
"required": true,
|
7615
|
+
"type": "list",
|
7616
|
+
"value_allowed_null": true
|
7617
|
+
}
|
7618
|
+
],
|
7619
|
+
"usage": "both"
|
7620
|
+
},
|
7334
7621
|
"JobFlowResource": {
|
7335
7622
|
"document": "机器资源描述。",
|
7336
7623
|
"members": [
|
@@ -8025,7 +8312,7 @@
|
|
8025
8312
|
"example": "true",
|
8026
8313
|
"member": "bool",
|
8027
8314
|
"name": "IsDraft",
|
8028
|
-
"
|
8315
|
+
"output_required": true,
|
8029
8316
|
"type": "bool",
|
8030
8317
|
"value_allowed_null": false
|
8031
8318
|
},
|
@@ -8035,7 +8322,7 @@
|
|
8035
8322
|
"example": "null",
|
8036
8323
|
"member": "string",
|
8037
8324
|
"name": "ErrorMsg",
|
8038
|
-
"
|
8325
|
+
"output_required": true,
|
8039
8326
|
"type": "string",
|
8040
8327
|
"value_allowed_null": true
|
8041
8328
|
},
|
@@ -8090,7 +8377,7 @@
|
|
8090
8377
|
"example": "true",
|
8091
8378
|
"member": "bool",
|
8092
8379
|
"name": "IsDraft",
|
8093
|
-
"
|
8380
|
+
"output_required": true,
|
8094
8381
|
"type": "bool",
|
8095
8382
|
"value_allowed_null": false
|
8096
8383
|
},
|
@@ -8100,7 +8387,7 @@
|
|
8100
8387
|
"example": "null",
|
8101
8388
|
"member": "string",
|
8102
8389
|
"name": "ErrorMsg",
|
8103
|
-
"
|
8390
|
+
"output_required": true,
|
8104
8391
|
"type": "string",
|
8105
8392
|
"value_allowed_null": true
|
8106
8393
|
},
|
@@ -8110,7 +8397,7 @@
|
|
8110
8397
|
"example": "json串",
|
8111
8398
|
"member": "string",
|
8112
8399
|
"name": "Data",
|
8113
|
-
"
|
8400
|
+
"output_required": true,
|
8114
8401
|
"type": "string",
|
8115
8402
|
"value_allowed_null": true
|
8116
8403
|
},
|
@@ -8432,6 +8719,51 @@
|
|
8432
8719
|
],
|
8433
8720
|
"type": "object"
|
8434
8721
|
},
|
8722
|
+
"ModifyYarnQueueV2Request": {
|
8723
|
+
"document": "ModifyYarnQueueV2请求参数结构体",
|
8724
|
+
"members": [
|
8725
|
+
{
|
8726
|
+
"disabled": false,
|
8727
|
+
"document": "集群Id",
|
8728
|
+
"example": "emr-xxx",
|
8729
|
+
"member": "string",
|
8730
|
+
"name": "InstanceId",
|
8731
|
+
"required": true,
|
8732
|
+
"type": "string"
|
8733
|
+
},
|
8734
|
+
{
|
8735
|
+
"disabled": false,
|
8736
|
+
"document": "调度器类型。可选值:\n\n1. capacity\n2. fair",
|
8737
|
+
"example": "capacity",
|
8738
|
+
"member": "string",
|
8739
|
+
"name": "Scheduler",
|
8740
|
+
"required": true,
|
8741
|
+
"type": "string"
|
8742
|
+
},
|
8743
|
+
{
|
8744
|
+
"disabled": false,
|
8745
|
+
"document": "资源池数据",
|
8746
|
+
"example": "无",
|
8747
|
+
"member": "ConfigModifyInfoV2",
|
8748
|
+
"name": "ConfigModifyInfoList",
|
8749
|
+
"required": true,
|
8750
|
+
"type": "list"
|
8751
|
+
}
|
8752
|
+
],
|
8753
|
+
"type": "object"
|
8754
|
+
},
|
8755
|
+
"ModifyYarnQueueV2Response": {
|
8756
|
+
"document": "ModifyYarnQueueV2返回参数结构体",
|
8757
|
+
"members": [
|
8758
|
+
{
|
8759
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
8760
|
+
"member": "string",
|
8761
|
+
"name": "RequestId",
|
8762
|
+
"type": "string"
|
8763
|
+
}
|
8764
|
+
],
|
8765
|
+
"type": "object"
|
8766
|
+
},
|
8435
8767
|
"MonthRepeatStrategy": {
|
8436
8768
|
"document": "定时伸缩每月重复任务策略",
|
8437
8769
|
"members": [
|
@@ -10722,6 +11054,42 @@
|
|
10722
11054
|
],
|
10723
11055
|
"usage": "both"
|
10724
11056
|
},
|
11057
|
+
"ResetYarnConfigRequest": {
|
11058
|
+
"document": "ResetYarnConfig请求参数结构体",
|
11059
|
+
"members": [
|
11060
|
+
{
|
11061
|
+
"disabled": false,
|
11062
|
+
"document": "emr集群的英文id",
|
11063
|
+
"example": "emr-2xef56",
|
11064
|
+
"member": "string",
|
11065
|
+
"name": "InstanceId",
|
11066
|
+
"required": true,
|
11067
|
+
"type": "string"
|
11068
|
+
},
|
11069
|
+
{
|
11070
|
+
"disabled": false,
|
11071
|
+
"document": "要重置的配置别名,可选值:\n\n- capacityLabel:重置标签管理的配置\n- fair:重置公平调度的配置\n- capacity:重置容量调度的配置",
|
11072
|
+
"example": "test",
|
11073
|
+
"member": "string",
|
11074
|
+
"name": "Key",
|
11075
|
+
"required": false,
|
11076
|
+
"type": "string"
|
11077
|
+
}
|
11078
|
+
],
|
11079
|
+
"type": "object"
|
11080
|
+
},
|
11081
|
+
"ResetYarnConfigResponse": {
|
11082
|
+
"document": "ResetYarnConfig返回参数结构体",
|
11083
|
+
"members": [
|
11084
|
+
{
|
11085
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
11086
|
+
"member": "string",
|
11087
|
+
"name": "RequestId",
|
11088
|
+
"type": "string"
|
11089
|
+
}
|
11090
|
+
],
|
11091
|
+
"type": "object"
|
11092
|
+
},
|
10725
11093
|
"Resource": {
|
10726
11094
|
"document": "资源详情",
|
10727
11095
|
"members": [
|