tccli 3.0.1186.1__py2.py3-none-any.whl → 3.0.1188.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/cfw/cfw_client.py +0 -53
  3. tccli/services/cfw/v20190904/api.json +0 -24
  4. tccli/services/cfw/v20190904/examples.json +0 -8
  5. tccli/services/cvm/cvm_client.py +53 -0
  6. tccli/services/cvm/v20170312/api.json +107 -0
  7. tccli/services/cvm/v20170312/examples.json +8 -0
  8. tccli/services/cwp/v20180228/api.json +1 -1
  9. tccli/services/dc/v20180410/api.json +19 -19
  10. tccli/services/dc/v20180410/examples.json +5 -5
  11. tccli/services/dcdb/v20180411/api.json +20 -2
  12. tccli/services/dlc/dlc_client.py +106 -0
  13. tccli/services/dlc/v20210125/api.json +87 -0
  14. tccli/services/dlc/v20210125/examples.json +16 -0
  15. tccli/services/dts/v20211206/api.json +1 -0
  16. tccli/services/emr/emr_client.py +277 -12
  17. tccli/services/emr/v20190103/api.json +650 -21
  18. tccli/services/emr/v20190103/examples.json +47 -7
  19. tccli/services/es/v20180416/api.json +101 -0
  20. tccli/services/ess/ess_client.py +53 -0
  21. tccli/services/ess/v20201111/api.json +176 -29
  22. tccli/services/ess/v20201111/examples.json +11 -3
  23. tccli/services/gme/v20180711/api.json +12 -12
  24. tccli/services/mariadb/v20170312/api.json +21 -3
  25. tccli/services/rce/v20201103/api.json +2 -2
  26. tccli/services/sms/v20190711/api.json +2 -2
  27. tccli/services/sms/v20210111/api.json +2 -2
  28. tccli/services/teo/v20220901/api.json +2 -2
  29. tccli/services/trocket/v20230308/api.json +9 -0
  30. tccli/services/trtc/v20190722/api.json +11 -0
  31. tccli/services/tse/v20201207/api.json +18 -18
  32. tccli/services/vclm/v20240523/api.json +10 -10
  33. tccli/services/vclm/v20240523/examples.json +17 -5
  34. tccli/services/vpc/v20170312/api.json +1 -1
  35. tccli/services/vtc/v20240223/api.json +8 -8
  36. tccli/services/vtc/v20240223/examples.json +19 -7
  37. {tccli-3.0.1186.1.dist-info → tccli-3.0.1188.1.dist-info}/METADATA +2 -2
  38. {tccli-3.0.1186.1.dist-info → tccli-3.0.1188.1.dist-info}/RECORD +41 -41
  39. {tccli-3.0.1186.1.dist-info → tccli-3.0.1188.1.dist-info}/WHEEL +0 -0
  40. {tccli-3.0.1186.1.dist-info → tccli-3.0.1188.1.dist-info}/entry_points.txt +0 -0
  41. {tccli-3.0.1186.1.dist-info → tccli-3.0.1188.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,12 +162,19 @@
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
  },
171
+ "DescribeResourceScheduleDiffDetail": {
172
+ "document": "YARN资源调度-变更详情",
173
+ "input": "DescribeResourceScheduleDiffDetailRequest",
174
+ "name": "YARN资源调度-变更详情",
175
+ "output": "DescribeResourceScheduleDiffDetailResponse",
176
+ "status": "online"
177
+ },
164
178
  "DescribeServiceNodeInfos": {
165
179
  "document": "查询服务进程信息",
166
180
  "input": "DescribeServiceNodeInfosRequest",
@@ -189,10 +203,17 @@
189
203
  "output": "DescribeYarnApplicationsResponse",
190
204
  "status": "online"
191
205
  },
206
+ "DescribeYarnQueue": {
207
+ "document": "获取资源调度中的队列信息",
208
+ "input": "DescribeYarnQueueRequest",
209
+ "name": "获取资源调度中的队列信息",
210
+ "output": "DescribeYarnQueueResponse",
211
+ "status": "online"
212
+ },
192
213
  "DescribeYarnScheduleHistory": {
193
- "document": "查看yarn资源调度的调度历史",
214
+ "document": "查看yarn资源调度的调度历史。废弃,请使用流程中心查看历史记录。",
194
215
  "input": "DescribeYarnScheduleHistoryRequest",
195
- "name": "yarn资源调度-调度历史",
216
+ "name": "yarn资源调度-调度历史(旧)",
196
217
  "output": "DescribeYarnScheduleHistoryResponse",
197
218
  "status": "online"
198
219
  },
@@ -246,23 +267,23 @@
246
267
  "status": "online"
247
268
  },
248
269
  "ModifyResourcePools": {
249
- "document": "刷新YARN的动态资源池",
270
+ "document": "刷新YARN的动态资源池。已废弃,请使用`DeployYarnConf`",
250
271
  "input": "ModifyResourcePoolsRequest",
251
- "name": "刷新YARN的动态资源池",
272
+ "name": "刷新YARN的动态资源池(旧)",
252
273
  "output": "ModifyResourcePoolsResponse",
253
274
  "status": "online"
254
275
  },
255
276
  "ModifyResourceScheduleConfig": {
256
- "document": "修改YARN资源调度的资源配置",
277
+ "document": "修改YARN资源调度的资源配置。已废弃,请使用`ModifyYarnQueueV2`来修改队列配置",
257
278
  "input": "ModifyResourceScheduleConfigRequest",
258
- "name": "修改YARN资源调度的资源配置",
279
+ "name": "修改YARN资源调度的资源配置(旧)",
259
280
  "output": "ModifyResourceScheduleConfigResponse",
260
281
  "status": "online"
261
282
  },
262
283
  "ModifyResourceScheduler": {
263
- "document": "修改了yarn的资源调度器,点击部署生效",
284
+ "document": "修改了yarn的资源调度器,点击部署生效。",
264
285
  "input": "ModifyResourceSchedulerRequest",
265
- "name": "修改YARN的资源调度器",
286
+ "name": "修改YARN的资源调度器(旧)",
266
287
  "output": "ModifyResourceSchedulerResponse",
267
288
  "status": "online"
268
289
  },
@@ -281,12 +302,26 @@
281
302
  "status": "online"
282
303
  },
283
304
  "ModifyYarnDeploy": {
284
- "document": "部署生效",
305
+ "document": "部署生效。已废弃,请使用`DeployYarnConf`接口进行部署生效",
285
306
  "input": "ModifyYarnDeployRequest",
286
- "name": "部署生效",
307
+ "name": "部署生效(旧)",
287
308
  "output": "ModifyYarnDeployResponse",
288
309
  "status": "online"
289
310
  },
311
+ "ModifyYarnQueueV2": {
312
+ "document": "修改资源调度中队列信息",
313
+ "input": "ModifyYarnQueueV2Request",
314
+ "name": "修改yarn资源调度的队列信息",
315
+ "output": "ModifyYarnQueueV2Response",
316
+ "status": "online"
317
+ },
318
+ "ResetYarnConfig": {
319
+ "document": "修改YARN资源调度的资源配置",
320
+ "input": "ResetYarnConfigRequest",
321
+ "name": "yarn资源调度-重置",
322
+ "output": "ResetYarnConfigResponse",
323
+ "status": "online"
324
+ },
290
325
  "RunJobFlow": {
291
326
  "document": "创建流程作业",
292
327
  "input": "RunJobFlowRequest",
@@ -1917,6 +1952,128 @@
1917
1952
  ],
1918
1953
  "usage": "both"
1919
1954
  },
1955
+ "ConfigModifyInfoV2": {
1956
+ "document": "资源调度 - 队列修改信息",
1957
+ "members": [
1958
+ {
1959
+ "disabled": false,
1960
+ "document": "操作类型,可选值:\n\n- 0:新建队列\n- 1:编辑-全量覆盖\n- 2:新建子队列\n- 3:删除\n- 4:克隆,与新建子队列的行为一样,特别的对于`fair`,可以复制子队列到新建队列\n- 6:编辑-增量更新\n注意:此字段可能返回 null,表示取不到有效值。",
1961
+ "example": "0",
1962
+ "member": "uint64",
1963
+ "name": "OpType",
1964
+ "output_required": true,
1965
+ "required": true,
1966
+ "type": "int",
1967
+ "value_allowed_null": true
1968
+ },
1969
+ {
1970
+ "disabled": false,
1971
+ "document": "队列名称,不支持修改。",
1972
+ "example": "b",
1973
+ "member": "string",
1974
+ "name": "Name",
1975
+ "output_required": true,
1976
+ "required": false,
1977
+ "type": "string",
1978
+ "value_allowed_null": false
1979
+ },
1980
+ {
1981
+ "disabled": false,
1982
+ "document": "新建队列 传root的MyId;新建子队列 传 选中队列的 myId;克隆 要传 选中队列 parentId\n注意:此字段可能返回 null,表示取不到有效值。",
1983
+ "example": "root.a",
1984
+ "member": "string",
1985
+ "name": "ParentId",
1986
+ "output_required": true,
1987
+ "required": false,
1988
+ "type": "string",
1989
+ "value_allowed_null": true
1990
+ },
1991
+ {
1992
+ "disabled": false,
1993
+ "document": "编辑、删除 传选中队列的 myId。克隆只有在调度器是`fair`时才需要传,用来复制子队列到新队列。\n注意:此字段可能返回 null,表示取不到有效值。",
1994
+ "example": "root.a.b",
1995
+ "member": "string",
1996
+ "name": "MyId",
1997
+ "output_required": true,
1998
+ "required": false,
1999
+ "type": "string",
2000
+ "value_allowed_null": true
2001
+ },
2002
+ {
2003
+ "disabled": false,
2004
+ "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,表示取不到有效值。",
2005
+ "example": "无",
2006
+ "member": "ItemSeq",
2007
+ "name": "BasicParams",
2008
+ "output_required": false,
2009
+ "required": false,
2010
+ "type": "object",
2011
+ "value_allowed_null": true
2012
+ },
2013
+ {
2014
+ "disabled": false,
2015
+ "document": "配置集信息,取值见该复杂类型的参数说明。配置集是计划模式在队列中表现,表示的是不同时间段不同的配置值,所有队列的配置集名称都一样,对于单个队列,每个配置集中的标签与参数都一样,只是参数值不同。\n注意:此字段可能返回 null,表示取不到有效值。",
2016
+ "example": "无",
2017
+ "member": "ConfigSetInfo",
2018
+ "name": "ConfigSetParams",
2019
+ "output_required": false,
2020
+ "required": false,
2021
+ "type": "list",
2022
+ "value_allowed_null": true
2023
+ },
2024
+ {
2025
+ "disabled": false,
2026
+ "document": "容量调度专用,`OpType`为`6`时才生效,表示要删除这个队列中的哪些标签。优先级高于ConfigSetParams中的LabelParams。\n注意:此字段可能返回 null,表示取不到有效值。",
2027
+ "example": "无",
2028
+ "member": "string",
2029
+ "name": "DeleteLables",
2030
+ "output_required": false,
2031
+ "required": false,
2032
+ "type": "list",
2033
+ "value_allowed_null": true
2034
+ }
2035
+ ],
2036
+ "usage": "both"
2037
+ },
2038
+ "ConfigSetInfo": {
2039
+ "document": "资源调度-配置集信息",
2040
+ "members": [
2041
+ {
2042
+ "disabled": false,
2043
+ "document": "配置集名称\n注意:此字段可能返回 null,表示取不到有效值。",
2044
+ "example": "default",
2045
+ "member": "string",
2046
+ "name": "ConfigSet",
2047
+ "output_required": false,
2048
+ "required": true,
2049
+ "type": "string",
2050
+ "value_allowed_null": true
2051
+ },
2052
+ {
2053
+ "disabled": false,
2054
+ "document": "容量调度器会使用,里面设置了标签相关的配置。key的取值与**DescribeYarnQueue**返回的字段一致。\nkey的取值信息如下:\n- labelName,标签名称,标签管理里的标签。\n- capacity,容量,取值为**数字字符串**\n- maximum-capacity,最大容量,取值为**数字字符串**\n注意:此字段可能返回 null,表示取不到有效值。",
2055
+ "example": "无",
2056
+ "member": "ItemSeq",
2057
+ "name": "LabelParams",
2058
+ "output_required": false,
2059
+ "required": false,
2060
+ "type": "list",
2061
+ "value_allowed_null": true
2062
+ },
2063
+ {
2064
+ "disabled": false,
2065
+ "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,表示取不到有效值。",
2066
+ "example": "无",
2067
+ "member": "Item",
2068
+ "name": "BasicParams",
2069
+ "output_required": false,
2070
+ "required": false,
2071
+ "type": "list",
2072
+ "value_allowed_null": true
2073
+ }
2074
+ ],
2075
+ "usage": "both"
2076
+ },
1920
2077
  "Configuration": {
1921
2078
  "document": "自定义配置参数",
1922
2079
  "members": [
@@ -2772,6 +2929,43 @@
2772
2929
  ],
2773
2930
  "usage": "in"
2774
2931
  },
2932
+ "DeployYarnConfRequest": {
2933
+ "document": "DeployYarnConf请求参数结构体",
2934
+ "members": [
2935
+ {
2936
+ "disabled": false,
2937
+ "document": "emr集群的英文id",
2938
+ "example": "emr-2xef56",
2939
+ "member": "string",
2940
+ "name": "InstanceId",
2941
+ "required": true,
2942
+ "type": "string"
2943
+ }
2944
+ ],
2945
+ "type": "object"
2946
+ },
2947
+ "DeployYarnConfResponse": {
2948
+ "document": "DeployYarnConf返回参数结构体",
2949
+ "members": [
2950
+ {
2951
+ "disabled": false,
2952
+ "document": "启动流程后的流程ID,可以使用[DescribeClusterFlowStatusDetail](https://cloud.tencent.com/document/product/589/107224)接口来获取流程状态",
2953
+ "example": "无",
2954
+ "member": "uint64",
2955
+ "name": "FlowId",
2956
+ "output_required": true,
2957
+ "type": "int",
2958
+ "value_allowed_null": false
2959
+ },
2960
+ {
2961
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
2962
+ "member": "string",
2963
+ "name": "RequestId",
2964
+ "type": "string"
2965
+ }
2966
+ ],
2967
+ "type": "object"
2968
+ },
2775
2969
  "DescribeAutoScaleGroupGlobalConfRequest": {
2776
2970
  "document": "DescribeAutoScaleGroupGlobalConf请求参数结构体",
2777
2971
  "members": [
@@ -4238,6 +4432,52 @@
4238
4432
  ],
4239
4433
  "type": "object"
4240
4434
  },
4435
+ "DescribeResourceScheduleDiffDetailRequest": {
4436
+ "document": "DescribeResourceScheduleDiffDetail请求参数结构体",
4437
+ "members": [
4438
+ {
4439
+ "disabled": false,
4440
+ "document": "emr集群的英文id",
4441
+ "example": "emr-2xef56",
4442
+ "member": "string",
4443
+ "name": "InstanceId",
4444
+ "required": true,
4445
+ "type": "string"
4446
+ },
4447
+ {
4448
+ "disabled": false,
4449
+ "document": "查询的变更明细对应的调度器,可选值为fair、capacity。如果不传或者传空会使用最新的调度器",
4450
+ "example": "fair",
4451
+ "member": "string",
4452
+ "name": "Scheduler",
4453
+ "required": false,
4454
+ "type": "string"
4455
+ }
4456
+ ],
4457
+ "type": "object"
4458
+ },
4459
+ "DescribeResourceScheduleDiffDetailResponse": {
4460
+ "document": "DescribeResourceScheduleDiffDetail返回参数结构体",
4461
+ "members": [
4462
+ {
4463
+ "disabled": false,
4464
+ "document": "变化项的明细\n注意:此字段可能返回 null,表示取不到有效值。",
4465
+ "example": "无",
4466
+ "member": "DiffDetail",
4467
+ "name": "Details",
4468
+ "output_required": false,
4469
+ "type": "list",
4470
+ "value_allowed_null": true
4471
+ },
4472
+ {
4473
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
4474
+ "member": "string",
4475
+ "name": "RequestId",
4476
+ "type": "string"
4477
+ }
4478
+ ],
4479
+ "type": "object"
4480
+ },
4241
4481
  "DescribeResourceScheduleRequest": {
4242
4482
  "document": "DescribeResourceSchedule请求参数结构体",
4243
4483
  "members": [
@@ -4262,7 +4502,7 @@
4262
4502
  "example": "true",
4263
4503
  "member": "bool",
4264
4504
  "name": "OpenSwitch",
4265
- "required": true,
4505
+ "output_required": true,
4266
4506
  "type": "bool",
4267
4507
  "value_allowed_null": false
4268
4508
  },
@@ -4272,7 +4512,7 @@
4272
4512
  "example": "\"fair\"",
4273
4513
  "member": "string",
4274
4514
  "name": "Scheduler",
4275
- "required": true,
4515
+ "output_required": true,
4276
4516
  "type": "string",
4277
4517
  "value_allowed_null": false
4278
4518
  },
@@ -4282,7 +4522,7 @@
4282
4522
  "example": "null",
4283
4523
  "member": "string",
4284
4524
  "name": "FSInfo",
4285
- "required": true,
4525
+ "output_required": true,
4286
4526
  "type": "string",
4287
4527
  "value_allowed_null": false
4288
4528
  },
@@ -4292,7 +4532,7 @@
4292
4532
  "example": "null",
4293
4533
  "member": "string",
4294
4534
  "name": "CSInfo",
4295
- "required": true,
4535
+ "output_required": true,
4296
4536
  "type": "string",
4297
4537
  "value_allowed_null": false
4298
4538
  },
@@ -4720,6 +4960,62 @@
4720
4960
  ],
4721
4961
  "type": "object"
4722
4962
  },
4963
+ "DescribeYarnQueueRequest": {
4964
+ "document": "DescribeYarnQueue请求参数结构体",
4965
+ "members": [
4966
+ {
4967
+ "disabled": false,
4968
+ "document": "集群Id",
4969
+ "example": "emr-xxx",
4970
+ "member": "string",
4971
+ "name": "InstanceId",
4972
+ "required": true,
4973
+ "type": "string"
4974
+ },
4975
+ {
4976
+ "disabled": false,
4977
+ "document": "调度器,可选值:\n\n1. capacity\n2. fair",
4978
+ "example": "capacity",
4979
+ "member": "string",
4980
+ "name": "Scheduler",
4981
+ "required": true,
4982
+ "type": "string"
4983
+ }
4984
+ ],
4985
+ "type": "object"
4986
+ },
4987
+ "DescribeYarnQueueResponse": {
4988
+ "document": "DescribeYarnQueue返回参数结构体",
4989
+ "members": [
4990
+ {
4991
+ "disabled": false,
4992
+ "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```",
4993
+ "example": "无",
4994
+ "member": "string",
4995
+ "name": "Queue",
4996
+ "output_required": true,
4997
+ "type": "string",
4998
+ "value_allowed_null": false
4999
+ },
5000
+ {
5001
+ "disabled": false,
5002
+ "document": "版本",
5003
+ "example": "v2",
5004
+ "member": "string",
5005
+ "name": "Version",
5006
+ "output_required": true,
5007
+ "type": "string",
5008
+ "value_allowed_null": false
5009
+ },
5010
+ {
5011
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
5012
+ "member": "string",
5013
+ "name": "RequestId",
5014
+ "type": "string"
5015
+ }
5016
+ ],
5017
+ "type": "object"
5018
+ },
4723
5019
  "DescribeYarnScheduleHistoryRequest": {
4724
5020
  "document": "DescribeYarnScheduleHistory请求参数结构体",
4725
5021
  "members": [
@@ -4841,6 +5137,214 @@
4841
5137
  ],
4842
5138
  "type": "object"
4843
5139
  },
5140
+ "DiffDetail": {
5141
+ "document": "动态生成的变更详情",
5142
+ "members": [
5143
+ {
5144
+ "disabled": false,
5145
+ "document": "tab页的头",
5146
+ "example": "全局设置",
5147
+ "member": "string",
5148
+ "name": "Name",
5149
+ "output_required": true,
5150
+ "type": "string",
5151
+ "value_allowed_null": false
5152
+ },
5153
+ {
5154
+ "disabled": false,
5155
+ "document": "变化项的个数",
5156
+ "example": "无",
5157
+ "member": "uint64",
5158
+ "name": "Count",
5159
+ "output_required": false,
5160
+ "type": "int",
5161
+ "value_allowed_null": false
5162
+ },
5163
+ {
5164
+ "disabled": false,
5165
+ "document": "要渲染的明细数据\n注意:此字段可能返回 null,表示取不到有效值。",
5166
+ "example": "无",
5167
+ "member": "DiffDetailItem",
5168
+ "name": "Rows",
5169
+ "output_required": false,
5170
+ "type": "list",
5171
+ "value_allowed_null": true
5172
+ },
5173
+ {
5174
+ "disabled": false,
5175
+ "document": "要渲染的头部信息\n注意:此字段可能返回 null,表示取不到有效值。",
5176
+ "example": "无",
5177
+ "member": "DiffHeader",
5178
+ "name": "Header",
5179
+ "output_required": false,
5180
+ "type": "list",
5181
+ "value_allowed_null": true
5182
+ }
5183
+ ],
5184
+ "usage": "out"
5185
+ },
5186
+ "DiffDetailItem": {
5187
+ "document": "动态生成的变更详情条目",
5188
+ "members": [
5189
+ {
5190
+ "disabled": false,
5191
+ "document": "属性\n注意:此字段可能返回 null,表示取不到有效值。",
5192
+ "example": "属性",
5193
+ "member": "string",
5194
+ "name": "Attribute",
5195
+ "output_required": false,
5196
+ "type": "string",
5197
+ "value_allowed_null": true
5198
+ },
5199
+ {
5200
+ "disabled": false,
5201
+ "document": "当前生效\n注意:此字段可能返回 null,表示取不到有效值。",
5202
+ "example": "当前生效",
5203
+ "member": "string",
5204
+ "name": "InEffect",
5205
+ "output_required": false,
5206
+ "type": "string",
5207
+ "value_allowed_null": true
5208
+ },
5209
+ {
5210
+ "disabled": false,
5211
+ "document": "待生效\n注意:此字段可能返回 null,表示取不到有效值。",
5212
+ "example": "待生效",
5213
+ "member": "string",
5214
+ "name": "PendingEffectiveness",
5215
+ "output_required": false,
5216
+ "type": "string",
5217
+ "value_allowed_null": true
5218
+ },
5219
+ {
5220
+ "disabled": false,
5221
+ "document": "操作\n注意:此字段可能返回 null,表示取不到有效值。",
5222
+ "example": "操作",
5223
+ "member": "string",
5224
+ "name": "Operation",
5225
+ "output_required": false,
5226
+ "type": "string",
5227
+ "value_allowed_null": true
5228
+ },
5229
+ {
5230
+ "disabled": false,
5231
+ "document": "队列\n注意:此字段可能返回 null,表示取不到有效值。",
5232
+ "example": "队列",
5233
+ "member": "string",
5234
+ "name": "Queue",
5235
+ "output_required": false,
5236
+ "type": "string",
5237
+ "value_allowed_null": true
5238
+ },
5239
+ {
5240
+ "disabled": false,
5241
+ "document": "配置集\n注意:此字段可能返回 null,表示取不到有效值。",
5242
+ "example": "配置集",
5243
+ "member": "string",
5244
+ "name": "ConfigSet",
5245
+ "output_required": false,
5246
+ "type": "string",
5247
+ "value_allowed_null": true
5248
+ },
5249
+ {
5250
+ "disabled": false,
5251
+ "document": "标签\n注意:此字段可能返回 null,表示取不到有效值。",
5252
+ "example": "标签",
5253
+ "member": "string",
5254
+ "name": "LabelName",
5255
+ "output_required": false,
5256
+ "type": "string",
5257
+ "value_allowed_null": true
5258
+ },
5259
+ {
5260
+ "disabled": false,
5261
+ "document": "当前所在位置\n注意:此字段可能返回 null,表示取不到有效值。",
5262
+ "example": "无",
5263
+ "member": "string",
5264
+ "name": "InEffectIndex",
5265
+ "output_required": false,
5266
+ "type": "string",
5267
+ "value_allowed_null": true
5268
+ },
5269
+ {
5270
+ "disabled": false,
5271
+ "document": "待生效的位置\n注意:此字段可能返回 null,表示取不到有效值。",
5272
+ "example": "无",
5273
+ "member": "string",
5274
+ "name": "PendingEffectIndex",
5275
+ "output_required": false,
5276
+ "type": "string",
5277
+ "value_allowed_null": true
5278
+ },
5279
+ {
5280
+ "disabled": false,
5281
+ "document": "计划模式名称\n注意:此字段可能返回 null,表示取不到有效值。",
5282
+ "example": "无",
5283
+ "member": "string",
5284
+ "name": "PlanName",
5285
+ "output_required": false,
5286
+ "type": "string",
5287
+ "value_allowed_null": true
5288
+ },
5289
+ {
5290
+ "disabled": false,
5291
+ "document": "标签\n注意:此字段可能返回 null,表示取不到有效值。",
5292
+ "example": "标签",
5293
+ "member": "string",
5294
+ "name": "Label",
5295
+ "output_required": false,
5296
+ "type": "string",
5297
+ "value_allowed_null": true
5298
+ },
5299
+ {
5300
+ "disabled": false,
5301
+ "document": "放置规则\n注意:此字段可能返回 null,表示取不到有效值。",
5302
+ "example": "规则",
5303
+ "member": "string",
5304
+ "name": "RuleName",
5305
+ "output_required": false,
5306
+ "type": "string",
5307
+ "value_allowed_null": true
5308
+ },
5309
+ {
5310
+ "disabled": false,
5311
+ "document": "用户名\n注意:此字段可能返回 null,表示取不到有效值。",
5312
+ "example": "hadoop",
5313
+ "member": "string",
5314
+ "name": "UserName",
5315
+ "output_required": false,
5316
+ "type": "string",
5317
+ "value_allowed_null": true
5318
+ }
5319
+ ],
5320
+ "usage": "out"
5321
+ },
5322
+ "DiffHeader": {
5323
+ "document": "动态生成的变更详情",
5324
+ "members": [
5325
+ {
5326
+ "disabled": false,
5327
+ "document": "名称",
5328
+ "example": "Attribute",
5329
+ "member": "string",
5330
+ "name": "Name",
5331
+ "output_required": true,
5332
+ "type": "string",
5333
+ "value_allowed_null": false
5334
+ },
5335
+ {
5336
+ "disabled": false,
5337
+ "document": "ID,前端会使用",
5338
+ "example": "Attribute",
5339
+ "member": "string",
5340
+ "name": "Id",
5341
+ "output_required": true,
5342
+ "type": "string",
5343
+ "value_allowed_null": false
5344
+ }
5345
+ ],
5346
+ "usage": "out"
5347
+ },
4844
5348
  "DiskGroup": {
4845
5349
  "document": "磁盘组。",
4846
5350
  "members": [
@@ -7331,6 +7835,50 @@
7331
7835
  ],
7332
7836
  "usage": "both"
7333
7837
  },
7838
+ "Item": {
7839
+ "document": "代表一个kv结构",
7840
+ "members": [
7841
+ {
7842
+ "disabled": false,
7843
+ "document": "健值\n注意:此字段可能返回 null,表示取不到有效值。",
7844
+ "example": "k",
7845
+ "member": "string",
7846
+ "name": "Key",
7847
+ "output_required": false,
7848
+ "required": true,
7849
+ "type": "string",
7850
+ "value_allowed_null": true
7851
+ },
7852
+ {
7853
+ "disabled": false,
7854
+ "document": "值\n注意:此字段可能返回 null,表示取不到有效值。",
7855
+ "example": "v",
7856
+ "member": "string",
7857
+ "name": "Value",
7858
+ "output_required": false,
7859
+ "required": true,
7860
+ "type": "string",
7861
+ "value_allowed_null": true
7862
+ }
7863
+ ],
7864
+ "usage": "both"
7865
+ },
7866
+ "ItemSeq": {
7867
+ "document": "键值对组成的列表",
7868
+ "members": [
7869
+ {
7870
+ "disabled": false,
7871
+ "document": "标签名称\n注意:此字段可能返回 null,表示取不到有效值。",
7872
+ "example": "无",
7873
+ "member": "Item",
7874
+ "name": "Items",
7875
+ "required": true,
7876
+ "type": "list",
7877
+ "value_allowed_null": true
7878
+ }
7879
+ ],
7880
+ "usage": "both"
7881
+ },
7334
7882
  "JobFlowResource": {
7335
7883
  "document": "机器资源描述。",
7336
7884
  "members": [
@@ -8025,7 +8573,7 @@
8025
8573
  "example": "true",
8026
8574
  "member": "bool",
8027
8575
  "name": "IsDraft",
8028
- "required": true,
8576
+ "output_required": true,
8029
8577
  "type": "bool",
8030
8578
  "value_allowed_null": false
8031
8579
  },
@@ -8035,7 +8583,7 @@
8035
8583
  "example": "null",
8036
8584
  "member": "string",
8037
8585
  "name": "ErrorMsg",
8038
- "required": true,
8586
+ "output_required": true,
8039
8587
  "type": "string",
8040
8588
  "value_allowed_null": true
8041
8589
  },
@@ -8090,7 +8638,7 @@
8090
8638
  "example": "true",
8091
8639
  "member": "bool",
8092
8640
  "name": "IsDraft",
8093
- "required": true,
8641
+ "output_required": true,
8094
8642
  "type": "bool",
8095
8643
  "value_allowed_null": false
8096
8644
  },
@@ -8100,7 +8648,7 @@
8100
8648
  "example": "null",
8101
8649
  "member": "string",
8102
8650
  "name": "ErrorMsg",
8103
- "required": true,
8651
+ "output_required": true,
8104
8652
  "type": "string",
8105
8653
  "value_allowed_null": true
8106
8654
  },
@@ -8110,7 +8658,7 @@
8110
8658
  "example": "json串",
8111
8659
  "member": "string",
8112
8660
  "name": "Data",
8113
- "required": true,
8661
+ "output_required": true,
8114
8662
  "type": "string",
8115
8663
  "value_allowed_null": true
8116
8664
  },
@@ -8432,6 +8980,51 @@
8432
8980
  ],
8433
8981
  "type": "object"
8434
8982
  },
8983
+ "ModifyYarnQueueV2Request": {
8984
+ "document": "ModifyYarnQueueV2请求参数结构体",
8985
+ "members": [
8986
+ {
8987
+ "disabled": false,
8988
+ "document": "集群Id",
8989
+ "example": "emr-xxx",
8990
+ "member": "string",
8991
+ "name": "InstanceId",
8992
+ "required": true,
8993
+ "type": "string"
8994
+ },
8995
+ {
8996
+ "disabled": false,
8997
+ "document": "调度器类型。可选值:\n\n1. capacity\n2. fair",
8998
+ "example": "capacity",
8999
+ "member": "string",
9000
+ "name": "Scheduler",
9001
+ "required": true,
9002
+ "type": "string"
9003
+ },
9004
+ {
9005
+ "disabled": false,
9006
+ "document": "资源池数据",
9007
+ "example": "无",
9008
+ "member": "ConfigModifyInfoV2",
9009
+ "name": "ConfigModifyInfoList",
9010
+ "required": true,
9011
+ "type": "list"
9012
+ }
9013
+ ],
9014
+ "type": "object"
9015
+ },
9016
+ "ModifyYarnQueueV2Response": {
9017
+ "document": "ModifyYarnQueueV2返回参数结构体",
9018
+ "members": [
9019
+ {
9020
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
9021
+ "member": "string",
9022
+ "name": "RequestId",
9023
+ "type": "string"
9024
+ }
9025
+ ],
9026
+ "type": "object"
9027
+ },
8435
9028
  "MonthRepeatStrategy": {
8436
9029
  "document": "定时伸缩每月重复任务策略",
8437
9030
  "members": [
@@ -10722,6 +11315,42 @@
10722
11315
  ],
10723
11316
  "usage": "both"
10724
11317
  },
11318
+ "ResetYarnConfigRequest": {
11319
+ "document": "ResetYarnConfig请求参数结构体",
11320
+ "members": [
11321
+ {
11322
+ "disabled": false,
11323
+ "document": "emr集群的英文id",
11324
+ "example": "emr-2xef56",
11325
+ "member": "string",
11326
+ "name": "InstanceId",
11327
+ "required": true,
11328
+ "type": "string"
11329
+ },
11330
+ {
11331
+ "disabled": false,
11332
+ "document": "要重置的配置别名,可选值:\n\n- capacityLabel:重置标签管理的配置\n- fair:重置公平调度的配置\n- capacity:重置容量调度的配置",
11333
+ "example": "test",
11334
+ "member": "string",
11335
+ "name": "Key",
11336
+ "required": false,
11337
+ "type": "string"
11338
+ }
11339
+ ],
11340
+ "type": "object"
11341
+ },
11342
+ "ResetYarnConfigResponse": {
11343
+ "document": "ResetYarnConfig返回参数结构体",
11344
+ "members": [
11345
+ {
11346
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
11347
+ "member": "string",
11348
+ "name": "RequestId",
11349
+ "type": "string"
11350
+ }
11351
+ ],
11352
+ "type": "object"
11353
+ },
10725
11354
  "Resource": {
10726
11355
  "document": "资源详情",
10727
11356
  "members": [