tencentcloud-sdk-nodejs-emr 4.0.956 → 4.0.957

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-emr",
3
- "version": "4.0.956",
3
+ "version": "4.0.957",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -20,7 +20,7 @@
20
20
  | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-09-23 01:07:54 |
21
21
  | asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2023-05-18 01:04:02 |
22
22
  | ba | [ICP备案](https://cloud.tencent.com/document/product/243) | 2024-04-22 01:08:02 |
23
- | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-10-14 01:08:09 |
23
+ | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-10-16 01:03:33 |
24
24
  | bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2024-03-20 01:08:23 |
25
25
  | bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2024-09-05 01:05:48 |
26
26
  | billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2024-09-11 01:11:08 |
@@ -40,7 +40,7 @@
40
40
  | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2024-06-19 01:14:59 |
41
41
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-07-26 01:15:04 |
42
42
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-10-14 01:09:40 |
43
- | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-09-30 01:10:03 |
43
+ | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-10-16 01:05:10 |
44
44
  | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-09-19 01:11:20 |
45
45
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-08-28 01:14:49 |
46
46
  | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-10-14 01:10:31 |
@@ -63,7 +63,7 @@
63
63
  | cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-01-15 01:09:37 |
64
64
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-03-20 01:11:31 |
65
65
  | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-08-23 01:19:08 |
66
- | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-10-15 01:07:42 |
66
+ | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-10-16 01:07:47 |
67
67
  | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2024-09-25 01:13:30 |
68
68
  | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2024-08-28 01:24:04 |
69
69
  | cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2024-06-20 01:24:47 |
@@ -76,13 +76,13 @@
76
76
  | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-10-11 01:13:23 |
77
77
  | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-09-26 01:14:22 |
78
78
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
79
- | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-10-14 01:14:55 |
79
+ | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-10-16 01:10:12 |
80
80
  | dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-09-26 01:16:16 |
81
81
  | dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
82
82
  | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
83
83
  | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2024-09-03 01:38:02 |
84
84
  | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2024-07-08 01:12:54 |
85
- | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2024-09-10 01:27:21 |
85
+ | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2024-10-15 16:53:15 |
86
86
  | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2024-09-11 01:32:35 |
87
87
  | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-10-15 01:11:21 |
88
88
  | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-09-11 01:34:34 |
@@ -98,12 +98,12 @@
98
98
  | ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2024-08-20 01:35:54 |
99
99
  | eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2024-06-25 01:14:34 |
100
100
  | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
101
- | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-10-15 01:13:47 |
101
+ | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-10-16 01:13:50 |
102
102
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-09-10 15:12:32 |
103
- | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-10-15 01:14:14 |
104
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-10-14 01:19:22 |
103
+ | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-10-16 01:14:18 |
104
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-10-16 01:14:40 |
105
105
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-09-11 01:42:57 |
106
- | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-10-15 01:14:56 |
106
+ | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-10-16 01:15:00 |
107
107
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-07-05 01:10:44 |
108
108
  | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2024-03-20 01:17:13 |
109
109
  | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2024-09-12 01:43:09 |
@@ -112,6 +112,7 @@
112
112
  | gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-07-11 06:12:36 |
113
113
  | gs | [云游戏](https://cloud.tencent.com/document/product/1162) | 2024-05-28 01:43:15 |
114
114
  | gse | [游戏服务器伸缩](https://cloud.tencent.com/document/product/1165) | 2022-07-11 06:12:44 |
115
+ | gwlb | [网关负载均衡](https://cloud.tencent.com/document/product/1782) | 2024-10-15 19:52:37 |
115
116
  | habo | [](https://cloud.tencent.com/document/product) | 2019-05-09 19:37:22 |
116
117
  | hai | [高性能应用服务](https://cloud.tencent.com/document/product/1721) | 2024-05-29 01:43:09 |
117
118
  | hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 |
@@ -159,14 +160,14 @@
159
160
  | mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
160
161
  | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-09-27 01:23:18 |
161
162
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
162
- | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-10-14 01:26:06 |
163
+ | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-10-16 01:21:18 |
163
164
  | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-10-14 01:26:17 |
164
165
  | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-09-26 01:28:34 |
165
166
  | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-09-23 12:16:37 |
166
167
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-06-26 01:21:35 |
167
168
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2023-05-18 01:44:14 |
168
169
  | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2024-09-25 01:28:57 |
169
- | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2024-08-28 02:14:34 |
170
+ | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2024-10-16 01:22:48 |
170
171
  | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2024-08-09 02:01:53 |
171
172
  | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-09-25 01:29:30 |
172
173
  | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-10-14 01:27:42 |
@@ -186,7 +187,7 @@
186
187
  | ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-11-15 02:18:28 |
187
188
  | ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2024-10-01 01:24:04 |
188
189
  | sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2024-03-20 01:24:03 |
189
- | ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2024-05-21 02:06:48 |
190
+ | ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2024-10-16 01:24:51 |
190
191
  | sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2024-08-28 02:21:40 |
191
192
  | svp | [节省计划](https://cloud.tencent.com/document/product/1761) | 2024-05-23 17:09:13 |
192
193
  | taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2024-06-12 02:24:32 |
@@ -211,7 +212,7 @@
211
212
  | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-09-26 01:34:12 |
212
213
  | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-08-07 02:22:38 |
213
214
  | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-07-24 02:14:59 |
214
- | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-09-29 11:32:31 |
215
+ | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-10-16 01:27:46 |
215
216
  | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-09-05 02:14:49 |
216
217
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
217
218
  | tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
@@ -238,14 +239,14 @@
238
239
  | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2024-09-26 01:38:14 |
239
240
  | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2024-03-20 01:30:08 |
240
241
  | vcg | [视频生成](https://cloud.tencent.com/document/product/1770) | 2024-06-06 02:47:17 |
241
- | vclm | [大模型视频创作引擎](https://cloud.tencent.com/document/product/1616) | 2024-10-10 01:34:51 |
242
- | vdb | [向量数据库](https://cloud.tencent.com/document/product/1709) | 2024-10-15 01:30:28 |
242
+ | vclm | [大模型视频创作引擎](https://cloud.tencent.com/document/product/1616) | 2024-10-16 01:30:50 |
243
+ | vdb | [向量数据库](https://cloud.tencent.com/document/product/1709) | 2024-10-16 01:30:53 |
243
244
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-07-26 02:26:34 |
244
245
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 |
245
246
  | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-09-11 19:07:13 |
246
- | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-10-15 01:31:18 |
247
+ | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-10-16 01:31:43 |
247
248
  | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-09-06 02:27:27 |
248
- | vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-09-10 02:27:11 |
249
+ | vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-10-16 01:32:39 |
249
250
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-10-14 01:37:11 |
250
251
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-03-20 01:32:09 |
251
252
  | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-09-25 01:40:14 |
@@ -2475,99 +2475,7 @@ export interface DescribeResourceScheduleDiffDetailResponse {
2475
2475
  */
2476
2476
  export interface DescribeYarnQueueResponse {
2477
2477
  /**
2478
- * 队列信息。是一个对象转成的json字符串,对应的golang结构体如下所示,比如`QueueWithConfigSetForFairScheduler`的第一个字段`Name`:
2479
-
2480
- ```
2481
- Name string `json:"name"` //队列名称
2482
- ```
2483
- - `Name`:字段名
2484
- - `string`:字段类型
2485
- - `json:"name"`:表示在序列化和反序列化`json`时,对应的`json key`,下面以`json key`来指代
2486
- - `//`:后面的注释内容对应页面上看到的名称
2487
-
2488
- 字段类型以`*`开头的表示取值可能为json规范下的null,不同的语言需要使用能表达null的类型来接收,比如java的包装类型;字段类型以`[]`开头的表示是数组类型;`json key`在调用`ModifyYarnQueueV2 `接口也会使用。
2489
-
2490
- - 公平调度器
2491
-
2492
- ```
2493
- type QueueWithConfigSetForFairScheduler struct {
2494
- Name string `json:"name"` //队列名称
2495
- MyId string `json:"myId"` // 队列id,用于编辑、删除、克隆时使用
2496
- ParentId string `json:"parentId"` // 父队列Id
2497
- Type *string `json:"type"` // 队列归属。parent或空,当确定某个队列是父队列,且没有子队列时,才可以设置,通常用来支持放置策略nestedUserQueue
2498
- AclSubmitApps *AclForYarnQueue `json:"aclSubmitApps"` // 提交访问控制
2499
- AclAdministerApps *AclForYarnQueue `json:"aclAdministerApps"` // 管理访问控制
2500
- MinSharePreemptionTimeout *int `json:"minSharePreemptionTimeout"` // 最小共享优先权超时时间
2501
- FairSharePreemptionTimeout *int `json:"fairSharePreemptionTimeout"` // 公平份额抢占超时时间
2502
- FairSharePreemptionThreshold *float32 `json:"fairSharePreemptionThreshold"` // 公平份额抢占阈值。取值 (0,1]
2503
- AllowPreemptionFrom *bool `json:"allowPreemptionFrom"` // 抢占模式
2504
- SchedulingPolicy *string `json:"schedulingPolicy"` // 调度策略,取值有drf、fair、fifo
2505
- IsDefault *bool `json:"isDefault"` // 是否是root.default队列
2506
- IsRoot *bool `json:"isRoot"` // 是否是root队列
2507
- ConfigSets []ConfigSetForFairScheduler `json:"configSets"` // 配置集设置
2508
- Children []QueueWithConfigSetForFairScheduler `json:"queues"` // 子队列信息。递归
2509
- }
2510
-
2511
- type AclForYarnQueue struct {
2512
- User *string `json:"user"` //用户名
2513
- Group *string `json:"group"`//组名
2514
- }
2515
-
2516
- type ConfigSetForFairScheduler struct {
2517
- Name string `json:"name"` // 配置集名称
2518
- MinResources *YarnResource `json:"minResources"` // 最小资源量
2519
- MaxResources *YarnResource `json:"maxResources"` // 最大资源量
2520
- MaxChildResources *YarnResource `json:"maxChildResources"` // 能够分配给为未声明子队列的最大资源量
2521
- MaxRunningApps *int `json:"maxRunningApps"` // 最高可同时处于运行的App数量
2522
- Weight *float32 `json:"weight"` // 权重
2523
- MaxAMShare *float32 `json:"maxAMShare"` // App Master最大份额
2524
- }
2525
-
2526
- type YarnResource struct {
2527
- Vcores *int `json:"vcores"`
2528
- Memory *int `json:"memory"`
2529
- Type *string `json:"type"` // 当值为`percent`时,表示使用的百分比,否则就是使用的绝对数值
2530
- }
2531
- ```
2532
-
2533
- - 容量调度器
2534
-
2535
- ```
2536
- type QueueForCapacitySchedulerV3 struct {
2537
- Name string `json:"name"` // 队列名称
2538
- MyId string `json:"myId"` // 队列id,用于编辑、删除、克隆时使用
2539
- ParentId string `json:"parentId"` // 父队列Id
2540
- Configs []ConfigForCapacityV3 `json:"configs"` //配置集设置
2541
- State *string `json:"state"` // 资源池状态
2542
- DefaultNodeLabelExpression *string `json:"default-node-label-expression"` // 默认标签表达式
2543
- AclSubmitApps *AclForYarnQueue `json:"acl_submit_applications"` // 提交访问控制
2544
- AclAdminQueue *AclForYarnQueue `json:"acl_administer_queue"` //管理访问控制
2545
- MaxAllocationMB *int32 `json:"maximum-allocation-mb"` // 分配Container最大内存数量
2546
- MaxAllocationVcores *int32 `json:"maximum-allocation-vcores"` // Container最大vCore数量
2547
- IsDefault *bool `json:"isDefault"`// 是否是root.default队列
2548
- IsRoot *bool `json:"isRoot"` // 是否是root队列
2549
- Queues []*QueueForCapacitySchedulerV3 `json:"queues"`//子队列信息。递归
2550
- }
2551
- type ConfigForCapacityV3 struct {
2552
- Name string `json:"configName"` // 配置集名称
2553
- Labels []CapacityLabel `json:"labels"` // 标签信息
2554
- MinUserLimitPercent *int32 `json:"minimum-user-limit-percent"` // 用户最小容量
2555
- UserLimitFactor *float32 `json:"user-limit-factor" valid:"rangeExcludeLeft(0|)"` // 用户资源因子
2556
- MaxApps *int32 `json:"maximum-applications" valid:"rangeExcludeLeft(0|)"` // 最大应用数Max-Applications
2557
- MaxAmPercent *float32 `json:"maximum-am-resource-percent"` // 最大AM比例
2558
- DefaultApplicationPriority *int32 `json:"default-application-priority"` // 资源池优先级
2559
- }
2560
- type CapacityLabel struct {
2561
- Name string `json:"labelName"`
2562
- Capacity *float32 `json:"capacity"` // 容量
2563
- MaxCapacity *float32 `json:"maximum-capacity"` //最大容量
2564
- }
2565
-
2566
- type AclForYarnQueue struct {
2567
- User *string `json:"user"` //用户名
2568
- Group *string `json:"group"`//组名
2569
- }
2570
- ```
2478
+ * 队列信息。是一个对象转成的json字符串,对应的golang结构体如下所示,例如`QueueWithConfigSetForFairScheduler`的第一个字段`Name`:```Name string `json:"name"` //队列名称```- `Name`:字段名- `string`:字段类型- `json:"name"`:表示在序列化和反序列化`json`时,对应的`json key`,下面以`json key`来指代- `//`:后面的注释内容对应页面上看到的名称字段类型以`*`开头的表示取值可能为json规范下的null,不同的语言需要使用能表达null的类型来接收,例如java的包装类型;字段类型以`[]`开头的表示是数组类型;`json key`在调用`ModifyYarnQueueV2 `接口也会使用。- 公平调度器```type QueueWithConfigSetForFairScheduler struct { Name string `json:"name"` //队列名称 MyId string `json:"myId"` // 队列id,用于编辑、删除、克隆时使用 ParentId string `json:"parentId"` // 父队列Id Type *string `json:"type"` // 队列归属。parent或空,当确定某个队列是父队列,且没有子队列时,才可以设置,通常用来支持放置策略nestedUserQueue AclSubmitApps *AclForYarnQueue `json:"aclSubmitApps"` // 提交访问控制 AclAdministerApps *AclForYarnQueue `json:"aclAdministerApps"` // 管理访问控制 MinSharePreemptionTimeout *int `json:"minSharePreemptionTimeout"` // 最小共享优先权超时时间 FairSharePreemptionTimeout *int `json:"fairSharePreemptionTimeout"` // 公平份额抢占超时时间 FairSharePreemptionThreshold *float32 `json:"fairSharePreemptionThreshold"` // 公平份额抢占阈值。取值 (0,1] AllowPreemptionFrom *bool `json:"allowPreemptionFrom"` // 抢占模式 SchedulingPolicy *string `json:"schedulingPolicy"` // 调度策略,取值有drf、fair、fifo IsDefault *bool `json:"isDefault"` // 是否是root.default队列 IsRoot *bool `json:"isRoot"` // 是否是root队列 ConfigSets []ConfigSetForFairScheduler `json:"configSets"` // 配置集设置 Children []QueueWithConfigSetForFairScheduler `json:"queues"` // 子队列信息。递归}type AclForYarnQueue struct { User *string `json:"user"` //用户名 Group *string `json:"group"`//组名}type ConfigSetForFairScheduler struct { Name string `json:"name"` // 配置集名称 MinResources *YarnResource `json:"minResources"` // 最小资源量 MaxResources *YarnResource `json:"maxResources"` // 最大资源量 MaxChildResources *YarnResource `json:"maxChildResources"` // 能够分配给为未声明子队列的最大资源量 MaxRunningApps *int `json:"maxRunningApps"` // 最高可同时处于运行的App数量 Weight *float32 `json:"weight"` // 权重 MaxAMShare *float32 `json:"maxAMShare"` // App Master最大份额}type YarnResource struct { Vcores *int `json:"vcores"` Memory *int `json:"memory"` Type *string `json:"type"` // 当值为`percent`时,表示使用的百分比,否则就是使用的绝对数值}```- 容量调度器```type QueueForCapacitySchedulerV3 struct { Name string `json:"name"` // 队列名称 MyId string `json:"myId"` // 队列id,用于编辑、删除、克隆时使用 ParentId string `json:"parentId"` // 父队列Id Configs []ConfigForCapacityV3 `json:"configs"` //配置集设置 State *string `json:"state"` // 资源池状态 DefaultNodeLabelExpression *string `json:"default-node-label-expression"` // 默认标签表达式 AclSubmitApps *AclForYarnQueue `json:"acl_submit_applications"` // 提交访问控制 AclAdminQueue *AclForYarnQueue `json:"acl_administer_queue"` //管理访问控制 MaxAllocationMB *int32 `json:"maximum-allocation-mb"` // 分配Container最大内存数量 MaxAllocationVcores *int32 `json:"maximum-allocation-vcores"` // Container最大vCore数量 IsDefault *bool `json:"isDefault"`// 是否是root.default队列 IsRoot *bool `json:"isRoot"` // 是否是root队列 Queues []*QueueForCapacitySchedulerV3 `json:"queues"`//子队列信息。递归}type ConfigForCapacityV3 struct { Name string `json:"configName"` // 配置集名称 Labels []CapacityLabel `json:"labels"` // 标签信息 MinUserLimitPercent *int32 `json:"minimum-user-limit-percent"` // 用户最小容量 UserLimitFactor *float32 `json:"user-limit-factor" valid:"rangeExcludeLeft(0|)"` // 用户资源因子 MaxApps *int32 `json:"maximum-applications" valid:"rangeExcludeLeft(0|)"` // 最大应用数Max-Applications MaxAmPercent *float32 `json:"maximum-am-resource-percent"` // 最大AM比例 DefaultApplicationPriority *int32 `json:"default-application-priority"` // 资源池优先级}type CapacityLabel struct { Name string `json:"labelName"` Capacity *float32 `json:"capacity"` // 容量 MaxCapacity *float32 `json:"maximum-capacity"` //最大容量}type AclForYarnQueue struct { User *string `json:"user"` //用户名 Group *string `json:"group"`//组名}```
2571
2479
  */
2572
2480
  Queue?: string
2573
2481
  /**
@@ -2396,99 +2396,7 @@ export interface DescribeResourceScheduleDiffDetailResponse {
2396
2396
  */
2397
2397
  export interface DescribeYarnQueueResponse {
2398
2398
  /**
2399
- * 队列信息。是一个对象转成的json字符串,对应的golang结构体如下所示,比如`QueueWithConfigSetForFairScheduler`的第一个字段`Name`:
2400
-
2401
- ```
2402
- Name string `json:"name"` //队列名称
2403
- ```
2404
- - `Name`:字段名
2405
- - `string`:字段类型
2406
- - `json:"name"`:表示在序列化和反序列化`json`时,对应的`json key`,下面以`json key`来指代
2407
- - `//`:后面的注释内容对应页面上看到的名称
2408
-
2409
- 字段类型以`*`开头的表示取值可能为json规范下的null,不同的语言需要使用能表达null的类型来接收,比如java的包装类型;字段类型以`[]`开头的表示是数组类型;`json key`在调用`ModifyYarnQueueV2 `接口也会使用。
2410
-
2411
- - 公平调度器
2412
-
2413
- ```
2414
- type QueueWithConfigSetForFairScheduler struct {
2415
- Name string `json:"name"` //队列名称
2416
- MyId string `json:"myId"` // 队列id,用于编辑、删除、克隆时使用
2417
- ParentId string `json:"parentId"` // 父队列Id
2418
- Type *string `json:"type"` // 队列归属。parent或空,当确定某个队列是父队列,且没有子队列时,才可以设置,通常用来支持放置策略nestedUserQueue
2419
- AclSubmitApps *AclForYarnQueue `json:"aclSubmitApps"` // 提交访问控制
2420
- AclAdministerApps *AclForYarnQueue `json:"aclAdministerApps"` // 管理访问控制
2421
- MinSharePreemptionTimeout *int `json:"minSharePreemptionTimeout"` // 最小共享优先权超时时间
2422
- FairSharePreemptionTimeout *int `json:"fairSharePreemptionTimeout"` // 公平份额抢占超时时间
2423
- FairSharePreemptionThreshold *float32 `json:"fairSharePreemptionThreshold"` // 公平份额抢占阈值。取值 (0,1]
2424
- AllowPreemptionFrom *bool `json:"allowPreemptionFrom"` // 抢占模式
2425
- SchedulingPolicy *string `json:"schedulingPolicy"` // 调度策略,取值有drf、fair、fifo
2426
- IsDefault *bool `json:"isDefault"` // 是否是root.default队列
2427
- IsRoot *bool `json:"isRoot"` // 是否是root队列
2428
- ConfigSets []ConfigSetForFairScheduler `json:"configSets"` // 配置集设置
2429
- Children []QueueWithConfigSetForFairScheduler `json:"queues"` // 子队列信息。递归
2430
- }
2431
-
2432
- type AclForYarnQueue struct {
2433
- User *string `json:"user"` //用户名
2434
- Group *string `json:"group"`//组名
2435
- }
2436
-
2437
- type ConfigSetForFairScheduler struct {
2438
- Name string `json:"name"` // 配置集名称
2439
- MinResources *YarnResource `json:"minResources"` // 最小资源量
2440
- MaxResources *YarnResource `json:"maxResources"` // 最大资源量
2441
- MaxChildResources *YarnResource `json:"maxChildResources"` // 能够分配给为未声明子队列的最大资源量
2442
- MaxRunningApps *int `json:"maxRunningApps"` // 最高可同时处于运行的App数量
2443
- Weight *float32 `json:"weight"` // 权重
2444
- MaxAMShare *float32 `json:"maxAMShare"` // App Master最大份额
2445
- }
2446
-
2447
- type YarnResource struct {
2448
- Vcores *int `json:"vcores"`
2449
- Memory *int `json:"memory"`
2450
- Type *string `json:"type"` // 当值为`percent`时,表示使用的百分比,否则就是使用的绝对数值
2451
- }
2452
- ```
2453
-
2454
- - 容量调度器
2455
-
2456
- ```
2457
- type QueueForCapacitySchedulerV3 struct {
2458
- Name string `json:"name"` // 队列名称
2459
- MyId string `json:"myId"` // 队列id,用于编辑、删除、克隆时使用
2460
- ParentId string `json:"parentId"` // 父队列Id
2461
- Configs []ConfigForCapacityV3 `json:"configs"` //配置集设置
2462
- State *string `json:"state"` // 资源池状态
2463
- DefaultNodeLabelExpression *string `json:"default-node-label-expression"` // 默认标签表达式
2464
- AclSubmitApps *AclForYarnQueue `json:"acl_submit_applications"` // 提交访问控制
2465
- AclAdminQueue *AclForYarnQueue `json:"acl_administer_queue"` //管理访问控制
2466
- MaxAllocationMB *int32 `json:"maximum-allocation-mb"` // 分配Container最大内存数量
2467
- MaxAllocationVcores *int32 `json:"maximum-allocation-vcores"` // Container最大vCore数量
2468
- IsDefault *bool `json:"isDefault"`// 是否是root.default队列
2469
- IsRoot *bool `json:"isRoot"` // 是否是root队列
2470
- Queues []*QueueForCapacitySchedulerV3 `json:"queues"`//子队列信息。递归
2471
- }
2472
- type ConfigForCapacityV3 struct {
2473
- Name string `json:"configName"` // 配置集名称
2474
- Labels []CapacityLabel `json:"labels"` // 标签信息
2475
- MinUserLimitPercent *int32 `json:"minimum-user-limit-percent"` // 用户最小容量
2476
- UserLimitFactor *float32 `json:"user-limit-factor" valid:"rangeExcludeLeft(0|)"` // 用户资源因子
2477
- MaxApps *int32 `json:"maximum-applications" valid:"rangeExcludeLeft(0|)"` // 最大应用数Max-Applications
2478
- MaxAmPercent *float32 `json:"maximum-am-resource-percent"` // 最大AM比例
2479
- DefaultApplicationPriority *int32 `json:"default-application-priority"` // 资源池优先级
2480
- }
2481
- type CapacityLabel struct {
2482
- Name string `json:"labelName"`
2483
- Capacity *float32 `json:"capacity"` // 容量
2484
- MaxCapacity *float32 `json:"maximum-capacity"` //最大容量
2485
- }
2486
-
2487
- type AclForYarnQueue struct {
2488
- User *string `json:"user"` //用户名
2489
- Group *string `json:"group"`//组名
2490
- }
2491
- ```
2399
+ * 队列信息。是一个对象转成的json字符串,对应的golang结构体如下所示,例如`QueueWithConfigSetForFairScheduler`的第一个字段`Name`:```Name string `json:"name"` //队列名称```- `Name`:字段名- `string`:字段类型- `json:"name"`:表示在序列化和反序列化`json`时,对应的`json key`,下面以`json key`来指代- `//`:后面的注释内容对应页面上看到的名称字段类型以`*`开头的表示取值可能为json规范下的null,不同的语言需要使用能表达null的类型来接收,例如java的包装类型;字段类型以`[]`开头的表示是数组类型;`json key`在调用`ModifyYarnQueueV2 `接口也会使用。- 公平调度器```type QueueWithConfigSetForFairScheduler struct { Name string `json:"name"` //队列名称 MyId string `json:"myId"` // 队列id,用于编辑、删除、克隆时使用 ParentId string `json:"parentId"` // 父队列Id Type *string `json:"type"` // 队列归属。parent或空,当确定某个队列是父队列,且没有子队列时,才可以设置,通常用来支持放置策略nestedUserQueue AclSubmitApps *AclForYarnQueue `json:"aclSubmitApps"` // 提交访问控制 AclAdministerApps *AclForYarnQueue `json:"aclAdministerApps"` // 管理访问控制 MinSharePreemptionTimeout *int `json:"minSharePreemptionTimeout"` // 最小共享优先权超时时间 FairSharePreemptionTimeout *int `json:"fairSharePreemptionTimeout"` // 公平份额抢占超时时间 FairSharePreemptionThreshold *float32 `json:"fairSharePreemptionThreshold"` // 公平份额抢占阈值。取值 (0,1] AllowPreemptionFrom *bool `json:"allowPreemptionFrom"` // 抢占模式 SchedulingPolicy *string `json:"schedulingPolicy"` // 调度策略,取值有drf、fair、fifo IsDefault *bool `json:"isDefault"` // 是否是root.default队列 IsRoot *bool `json:"isRoot"` // 是否是root队列 ConfigSets []ConfigSetForFairScheduler `json:"configSets"` // 配置集设置 Children []QueueWithConfigSetForFairScheduler `json:"queues"` // 子队列信息。递归}type AclForYarnQueue struct { User *string `json:"user"` //用户名 Group *string `json:"group"`//组名}type ConfigSetForFairScheduler struct { Name string `json:"name"` // 配置集名称 MinResources *YarnResource `json:"minResources"` // 最小资源量 MaxResources *YarnResource `json:"maxResources"` // 最大资源量 MaxChildResources *YarnResource `json:"maxChildResources"` // 能够分配给为未声明子队列的最大资源量 MaxRunningApps *int `json:"maxRunningApps"` // 最高可同时处于运行的App数量 Weight *float32 `json:"weight"` // 权重 MaxAMShare *float32 `json:"maxAMShare"` // App Master最大份额}type YarnResource struct { Vcores *int `json:"vcores"` Memory *int `json:"memory"` Type *string `json:"type"` // 当值为`percent`时,表示使用的百分比,否则就是使用的绝对数值}```- 容量调度器```type QueueForCapacitySchedulerV3 struct { Name string `json:"name"` // 队列名称 MyId string `json:"myId"` // 队列id,用于编辑、删除、克隆时使用 ParentId string `json:"parentId"` // 父队列Id Configs []ConfigForCapacityV3 `json:"configs"` //配置集设置 State *string `json:"state"` // 资源池状态 DefaultNodeLabelExpression *string `json:"default-node-label-expression"` // 默认标签表达式 AclSubmitApps *AclForYarnQueue `json:"acl_submit_applications"` // 提交访问控制 AclAdminQueue *AclForYarnQueue `json:"acl_administer_queue"` //管理访问控制 MaxAllocationMB *int32 `json:"maximum-allocation-mb"` // 分配Container最大内存数量 MaxAllocationVcores *int32 `json:"maximum-allocation-vcores"` // Container最大vCore数量 IsDefault *bool `json:"isDefault"`// 是否是root.default队列 IsRoot *bool `json:"isRoot"` // 是否是root队列 Queues []*QueueForCapacitySchedulerV3 `json:"queues"`//子队列信息。递归}type ConfigForCapacityV3 struct { Name string `json:"configName"` // 配置集名称 Labels []CapacityLabel `json:"labels"` // 标签信息 MinUserLimitPercent *int32 `json:"minimum-user-limit-percent"` // 用户最小容量 UserLimitFactor *float32 `json:"user-limit-factor" valid:"rangeExcludeLeft(0|)"` // 用户资源因子 MaxApps *int32 `json:"maximum-applications" valid:"rangeExcludeLeft(0|)"` // 最大应用数Max-Applications MaxAmPercent *float32 `json:"maximum-am-resource-percent"` // 最大AM比例 DefaultApplicationPriority *int32 `json:"default-application-priority"` // 资源池优先级}type CapacityLabel struct { Name string `json:"labelName"` Capacity *float32 `json:"capacity"` // 容量 MaxCapacity *float32 `json:"maximum-capacity"` //最大容量}type AclForYarnQueue struct { User *string `json:"user"` //用户名 Group *string `json:"group"`//组名}```
2492
2400
  */
2493
2401
  Queue?: string;
2494
2402
  /**