tencentcloud-sdk-nodejs-emr 4.1.57 → 4.1.65
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.
|
@@ -29,28 +29,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
29
29
|
super("emr.tencentcloudapi.com", "2019-01-03", clientConfig);
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
async ModifyUserGroup(req, cb) {
|
|
35
|
-
return this.request("ModifyUserGroup", req, cb);
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* 查询待续费节点信息
|
|
39
|
-
*/
|
|
40
|
-
async DescribeInstanceRenewNodes(req, cb) {
|
|
41
|
-
return this.request("DescribeInstanceRenewNodes", req, cb);
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* 强制修改标签
|
|
45
|
-
*/
|
|
46
|
-
async ModifyResourcesTags(req, cb) {
|
|
47
|
-
return this.request("ModifyResourcesTags", req, cb);
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* 变配询价
|
|
32
|
+
* 销毁EMR实例。此接口仅支持弹性MapReduce正式计费版本。
|
|
51
33
|
*/
|
|
52
|
-
async
|
|
53
|
-
return this.request("
|
|
34
|
+
async TerminateInstance(req, cb) {
|
|
35
|
+
return this.request("TerminateInstance", req, cb);
|
|
54
36
|
}
|
|
55
37
|
/**
|
|
56
38
|
* 创建EMR集群实例
|
|
@@ -59,175 +41,174 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
59
41
|
return this.request("CreateCluster", req, cb);
|
|
60
42
|
}
|
|
61
43
|
/**
|
|
62
|
-
*
|
|
44
|
+
* 修改资源调度中队列信息
|
|
63
45
|
*/
|
|
64
|
-
async
|
|
65
|
-
return this.request("
|
|
46
|
+
async ModifyYarnQueueV2(req, cb) {
|
|
47
|
+
return this.request("ModifyYarnQueueV2", req, cb);
|
|
66
48
|
}
|
|
67
49
|
/**
|
|
68
|
-
*
|
|
50
|
+
* yarn资源调度-部署生效
|
|
69
51
|
*/
|
|
70
|
-
async
|
|
71
|
-
return this.request("
|
|
52
|
+
async DeployYarnConf(req, cb) {
|
|
53
|
+
return this.request("DeployYarnConf", req, cb);
|
|
72
54
|
}
|
|
73
55
|
/**
|
|
74
|
-
*
|
|
56
|
+
* 获取账户的CVM配额
|
|
75
57
|
*/
|
|
76
|
-
async
|
|
77
|
-
return this.request("
|
|
58
|
+
async DescribeCvmQuota(req, cb) {
|
|
59
|
+
return this.request("DescribeCvmQuota", req, cb);
|
|
78
60
|
}
|
|
79
61
|
/**
|
|
80
|
-
*
|
|
62
|
+
* 修改用户密码(用户管理)
|
|
81
63
|
*/
|
|
82
|
-
async
|
|
83
|
-
return this.request("
|
|
64
|
+
async ModifyUserManagerPwd(req, cb) {
|
|
65
|
+
return this.request("ModifyUserManagerPwd", req, cb);
|
|
84
66
|
}
|
|
85
67
|
/**
|
|
86
|
-
*
|
|
68
|
+
* 获取Hbase表级监控数据概览接口
|
|
87
69
|
*/
|
|
88
|
-
async
|
|
89
|
-
return this.request("
|
|
70
|
+
async DescribeHBaseTableOverview(req, cb) {
|
|
71
|
+
return this.request("DescribeHBaseTableOverview", req, cb);
|
|
90
72
|
}
|
|
91
73
|
/**
|
|
92
|
-
*
|
|
74
|
+
* 查询服务进程信息
|
|
93
75
|
*/
|
|
94
|
-
async
|
|
95
|
-
return this.request("
|
|
76
|
+
async DescribeServiceNodeInfos(req, cb) {
|
|
77
|
+
return this.request("DescribeServiceNodeInfos", req, cb);
|
|
96
78
|
}
|
|
97
79
|
/**
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
80
|
+
* 该接口已废弃,请使用DeployYarnConf完成部署生效
|
|
81
|
+
|
|
82
|
+
部署生效。已废弃,请使用`DeployYarnConf`接口进行部署生效
|
|
83
|
+
*/
|
|
84
|
+
async ModifyYarnDeploy(req, cb) {
|
|
85
|
+
return this.request("ModifyYarnDeploy", req, cb);
|
|
102
86
|
}
|
|
103
87
|
/**
|
|
104
|
-
*
|
|
88
|
+
* 查询Kyuubi查询信息
|
|
105
89
|
*/
|
|
106
|
-
async
|
|
107
|
-
return this.request("
|
|
90
|
+
async DescribeKyuubiQueryInfo(req, cb) {
|
|
91
|
+
return this.request("DescribeKyuubiQueryInfo", req, cb);
|
|
108
92
|
}
|
|
109
93
|
/**
|
|
110
|
-
*
|
|
94
|
+
* 删除自动扩缩容规则,后台销毁根据该规则扩缩容出来的节点
|
|
111
95
|
*/
|
|
112
|
-
async
|
|
113
|
-
return this.request("
|
|
96
|
+
async DeleteAutoScaleStrategy(req, cb) {
|
|
97
|
+
return this.request("DeleteAutoScaleStrategy", req, cb);
|
|
114
98
|
}
|
|
115
99
|
/**
|
|
116
|
-
*
|
|
100
|
+
* 扩容集群节点
|
|
117
101
|
*/
|
|
118
|
-
async
|
|
119
|
-
return this.request("
|
|
102
|
+
async ScaleOutCluster(req, cb) {
|
|
103
|
+
return this.request("ScaleOutCluster", req, cb);
|
|
120
104
|
}
|
|
121
105
|
/**
|
|
122
|
-
*
|
|
106
|
+
* 查询待续费节点信息
|
|
123
107
|
*/
|
|
124
|
-
async
|
|
125
|
-
return this.request("
|
|
108
|
+
async DescribeInstanceRenewNodes(req, cb) {
|
|
109
|
+
return this.request("DescribeInstanceRenewNodes", req, cb);
|
|
126
110
|
}
|
|
127
111
|
/**
|
|
128
|
-
*
|
|
112
|
+
* YARN资源调度-变更详情
|
|
129
113
|
*/
|
|
130
|
-
async
|
|
131
|
-
return this.request("
|
|
114
|
+
async DescribeResourceScheduleDiffDetail(req, cb) {
|
|
115
|
+
return this.request("DescribeResourceScheduleDiffDetail", req, cb);
|
|
132
116
|
}
|
|
133
117
|
/**
|
|
134
|
-
*
|
|
118
|
+
* 查询流程任务
|
|
135
119
|
*/
|
|
136
|
-
async
|
|
137
|
-
return this.request("
|
|
120
|
+
async DescribeJobFlow(req, cb) {
|
|
121
|
+
return this.request("DescribeJobFlow", req, cb);
|
|
138
122
|
}
|
|
139
123
|
/**
|
|
140
|
-
*
|
|
124
|
+
* 获取hive查询信息
|
|
141
125
|
*/
|
|
142
|
-
async
|
|
143
|
-
return this.request("
|
|
126
|
+
async DescribeHiveQueries(req, cb) {
|
|
127
|
+
return this.request("DescribeHiveQueries", req, cb);
|
|
144
128
|
}
|
|
145
129
|
/**
|
|
146
|
-
*
|
|
130
|
+
* 查询Trino(PrestoSQL)查询信息
|
|
147
131
|
*/
|
|
148
|
-
async
|
|
149
|
-
return this.request("
|
|
132
|
+
async DescribeTrinoQueryInfo(req, cb) {
|
|
133
|
+
return this.request("DescribeTrinoQueryInfo", req, cb);
|
|
150
134
|
}
|
|
151
135
|
/**
|
|
152
|
-
*
|
|
136
|
+
* 查询集群列表
|
|
153
137
|
*/
|
|
154
|
-
async
|
|
155
|
-
return this.request("
|
|
138
|
+
async DescribeInstancesList(req, cb) {
|
|
139
|
+
return this.request("DescribeInstancesList", req, cb);
|
|
156
140
|
}
|
|
157
141
|
/**
|
|
158
|
-
*
|
|
142
|
+
* 变更用户组用户信息
|
|
159
143
|
*/
|
|
160
|
-
async
|
|
161
|
-
return this.request("
|
|
144
|
+
async ModifyUsersOfGroupSTD(req, cb) {
|
|
145
|
+
return this.request("ModifyUsersOfGroupSTD", req, cb);
|
|
162
146
|
}
|
|
163
147
|
/**
|
|
164
|
-
*
|
|
148
|
+
* 强制修改标签
|
|
165
149
|
*/
|
|
166
|
-
async
|
|
167
|
-
return this.request("
|
|
150
|
+
async ModifyResourcesTags(req, cb) {
|
|
151
|
+
return this.request("ModifyResourcesTags", req, cb);
|
|
168
152
|
}
|
|
169
153
|
/**
|
|
170
|
-
*
|
|
154
|
+
* 创建流程作业
|
|
171
155
|
*/
|
|
172
|
-
async
|
|
173
|
-
return this.request("
|
|
156
|
+
async RunJobFlow(req, cb) {
|
|
157
|
+
return this.request("RunJobFlow", req, cb);
|
|
174
158
|
}
|
|
175
159
|
/**
|
|
176
|
-
*
|
|
160
|
+
* DescribeImpalaQueries
|
|
177
161
|
*/
|
|
178
|
-
async
|
|
179
|
-
return this.request("
|
|
162
|
+
async DescribeImpalaQueries(req, cb) {
|
|
163
|
+
return this.request("DescribeImpalaQueries", req, cb);
|
|
180
164
|
}
|
|
181
165
|
/**
|
|
182
|
-
*
|
|
166
|
+
* 获取资源调度中的队列信息
|
|
183
167
|
*/
|
|
184
|
-
async
|
|
185
|
-
return this.request("
|
|
168
|
+
async DescribeYarnQueue(req, cb) {
|
|
169
|
+
return this.request("DescribeYarnQueue", req, cb);
|
|
186
170
|
}
|
|
187
171
|
/**
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
async ModifyYarnDeploy(req, cb) {
|
|
193
|
-
return this.request("ModifyYarnDeploy", req, cb);
|
|
172
|
+
* 获取集群的自动扩缩容的详细记录
|
|
173
|
+
*/
|
|
174
|
+
async DescribeAutoScaleRecords(req, cb) {
|
|
175
|
+
return this.request("DescribeAutoScaleRecords", req, cb);
|
|
194
176
|
}
|
|
195
177
|
/**
|
|
196
|
-
*
|
|
178
|
+
* 扩容节点
|
|
197
179
|
*/
|
|
198
|
-
async
|
|
199
|
-
return this.request("
|
|
180
|
+
async ScaleOutInstance(req, cb) {
|
|
181
|
+
return this.request("ScaleOutInstance", req, cb);
|
|
200
182
|
}
|
|
201
183
|
/**
|
|
202
|
-
*
|
|
184
|
+
* 云盘挂载
|
|
203
185
|
*/
|
|
204
|
-
async
|
|
205
|
-
return this.request("
|
|
186
|
+
async AttachDisks(req, cb) {
|
|
187
|
+
return this.request("AttachDisks", req, cb);
|
|
206
188
|
}
|
|
207
189
|
/**
|
|
208
|
-
*
|
|
190
|
+
* 设置当前集群的某个节点规格配置为默认或取消默认
|
|
209
191
|
*/
|
|
210
|
-
async
|
|
211
|
-
return this.request("
|
|
192
|
+
async SetNodeResourceConfigDefault(req, cb) {
|
|
193
|
+
return this.request("SetNodeResourceConfigDefault", req, cb);
|
|
212
194
|
}
|
|
213
195
|
/**
|
|
214
|
-
*
|
|
196
|
+
* 查询StarRocks查询信息
|
|
215
197
|
*/
|
|
216
|
-
async
|
|
217
|
-
return this.request("
|
|
198
|
+
async DescribeStarRocksQueryInfo(req, cb) {
|
|
199
|
+
return this.request("DescribeStarRocksQueryInfo", req, cb);
|
|
218
200
|
}
|
|
219
201
|
/**
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
return this.request("DescribeUsersForUserManager", req, cb);
|
|
202
|
+
* 快速获取当前集群的节点规格配置
|
|
203
|
+
*/
|
|
204
|
+
async DescribeNodeResourceConfigFast(req, cb) {
|
|
205
|
+
return this.request("DescribeNodeResourceConfigFast", req, cb);
|
|
225
206
|
}
|
|
226
207
|
/**
|
|
227
|
-
*
|
|
208
|
+
* 查询DAG信息
|
|
228
209
|
*/
|
|
229
|
-
async
|
|
230
|
-
return this.request("
|
|
210
|
+
async DescribeDAGInfo(req, cb) {
|
|
211
|
+
return this.request("DescribeDAGInfo", req, cb);
|
|
231
212
|
}
|
|
232
213
|
/**
|
|
233
214
|
* 删除用户列表(用户管理)
|
|
@@ -235,18 +216,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
235
216
|
async DeleteUserManagerUserList(req, cb) {
|
|
236
217
|
return this.request("DeleteUserManagerUserList", req, cb);
|
|
237
218
|
}
|
|
238
|
-
/**
|
|
239
|
-
* serverless hbase修改实例名称
|
|
240
|
-
*/
|
|
241
|
-
async ModifySLInstanceBasic(req, cb) {
|
|
242
|
-
return this.request("ModifySLInstanceBasic", req, cb);
|
|
243
|
-
}
|
|
244
|
-
/**
|
|
245
|
-
* 用户管理-批量创建用户组
|
|
246
|
-
*/
|
|
247
|
-
async CreateGroupsSTD(req, cb) {
|
|
248
|
-
return this.request("CreateGroupsSTD", req, cb);
|
|
249
|
-
}
|
|
250
219
|
/**
|
|
251
220
|
* 本接口(TerminateSLInstance)用于销毁Serverless HBase实例
|
|
252
221
|
*/
|
|
@@ -254,24 +223,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
254
223
|
return this.request("TerminateSLInstance", req, cb);
|
|
255
224
|
}
|
|
256
225
|
/**
|
|
257
|
-
|
|
258
|
-
新增用户列表(用户管理)。
|
|
259
|
-
*/
|
|
260
|
-
async AddUsersForUserManager(req, cb) {
|
|
261
|
-
return this.request("AddUsersForUserManager", req, cb);
|
|
262
|
-
}
|
|
263
|
-
/**
|
|
264
|
-
* 缩容Task节点
|
|
226
|
+
* 调整Pod数量
|
|
265
227
|
*/
|
|
266
|
-
async
|
|
267
|
-
return this.request("
|
|
268
|
-
}
|
|
269
|
-
/**
|
|
270
|
-
* 前提:预付费集群
|
|
271
|
-
资源级别开启或关闭自动续费
|
|
272
|
-
*/
|
|
273
|
-
async ModifyAutoRenewFlag(req, cb) {
|
|
274
|
-
return this.request("ModifyAutoRenewFlag", req, cb);
|
|
228
|
+
async ModifyPodNum(req, cb) {
|
|
229
|
+
return this.request("ModifyPodNum", req, cb);
|
|
275
230
|
}
|
|
276
231
|
/**
|
|
277
232
|
* 本接口(CreateSLInstance)用于创建Serverless HBase实例
|
|
@@ -287,12 +242,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
287
242
|
async DescribeSLInstanceList(req, cb) {
|
|
288
243
|
return this.request("DescribeSLInstanceList", req, cb);
|
|
289
244
|
}
|
|
290
|
-
/**
|
|
291
|
-
* 云数据盘扩容
|
|
292
|
-
*/
|
|
293
|
-
async ResizeDataDisks(req, cb) {
|
|
294
|
-
return this.request("ResizeDataDisks", req, cb);
|
|
295
|
-
}
|
|
296
245
|
/**
|
|
297
246
|
* 修改自动扩缩容规则
|
|
298
247
|
*/
|
|
@@ -300,88 +249,78 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
300
249
|
return this.request("ModifyAutoScaleStrategy", req, cb);
|
|
301
250
|
}
|
|
302
251
|
/**
|
|
303
|
-
*
|
|
304
|
-
*/
|
|
305
|
-
async DescribeKyuubiQueryInfo(req, cb) {
|
|
306
|
-
return this.request("DescribeKyuubiQueryInfo", req, cb);
|
|
307
|
-
}
|
|
308
|
-
/**
|
|
309
|
-
* 删除自动扩缩容规则,后台销毁根据该规则扩缩容出来的节点
|
|
252
|
+
* EMR同步TKE中POD状态
|
|
310
253
|
*/
|
|
311
|
-
async
|
|
312
|
-
return this.request("
|
|
254
|
+
async SyncPodState(req, cb) {
|
|
255
|
+
return this.request("SyncPodState", req, cb);
|
|
313
256
|
}
|
|
314
257
|
/**
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
* 查询HDFS存储文件信息
|
|
322
|
-
*/
|
|
323
|
-
async DescribeHDFSStorageInfo(req, cb) {
|
|
324
|
-
return this.request("DescribeHDFSStorageInfo", req, cb);
|
|
258
|
+
* 本接口(ModifySLInstance)用于Serverless HBase变配实例。
|
|
259
|
+
- 接口调用成功,会创建Serverless HBase实例,创建实例请求成功会返回请求的 RequestID。
|
|
260
|
+
- 接口为异步接口,接口返回时操作并未立即完成,实例操作结果可以通过调用DescribeInstancesList查看当前实例的StatusDesc状态。
|
|
261
|
+
*/
|
|
262
|
+
async ModifySLInstance(req, cb) {
|
|
263
|
+
return this.request("ModifySLInstance", req, cb);
|
|
325
264
|
}
|
|
326
265
|
/**
|
|
327
|
-
*
|
|
266
|
+
* 创建EMR集群实例
|
|
328
267
|
*/
|
|
329
|
-
async
|
|
330
|
-
return this.request("
|
|
268
|
+
async CreateInstance(req, cb) {
|
|
269
|
+
return this.request("CreateInstance", req, cb);
|
|
331
270
|
}
|
|
332
271
|
/**
|
|
333
|
-
*
|
|
272
|
+
* 创建实例询价
|
|
334
273
|
*/
|
|
335
|
-
async
|
|
336
|
-
return this.request("
|
|
274
|
+
async InquiryPriceCreateInstance(req, cb) {
|
|
275
|
+
return this.request("InquiryPriceCreateInstance", req, cb);
|
|
337
276
|
}
|
|
338
277
|
/**
|
|
339
|
-
*
|
|
278
|
+
* 添加扩缩容规则,按负载和时间
|
|
340
279
|
*/
|
|
341
|
-
async
|
|
342
|
-
return this.request("
|
|
280
|
+
async AddMetricScaleStrategy(req, cb) {
|
|
281
|
+
return this.request("AddMetricScaleStrategy", req, cb);
|
|
343
282
|
}
|
|
344
283
|
/**
|
|
345
|
-
*
|
|
284
|
+
* 云数据盘扩容
|
|
346
285
|
*/
|
|
347
|
-
async
|
|
348
|
-
return this.request("
|
|
286
|
+
async ResizeDataDisks(req, cb) {
|
|
287
|
+
return this.request("ResizeDataDisks", req, cb);
|
|
349
288
|
}
|
|
350
289
|
/**
|
|
351
|
-
*
|
|
290
|
+
* 用于启停服务 重启服务等功能
|
|
352
291
|
*/
|
|
353
|
-
async
|
|
354
|
-
return this.request("
|
|
292
|
+
async StartStopServiceOrMonitor(req, cb) {
|
|
293
|
+
return this.request("StartStopServiceOrMonitor", req, cb);
|
|
355
294
|
}
|
|
356
295
|
/**
|
|
357
|
-
*
|
|
296
|
+
* 增加当前集群的节点规格配置
|
|
358
297
|
*/
|
|
359
|
-
async
|
|
360
|
-
return this.request("
|
|
298
|
+
async AddNodeResourceConfig(req, cb) {
|
|
299
|
+
return this.request("AddNodeResourceConfig", req, cb);
|
|
361
300
|
}
|
|
362
301
|
/**
|
|
363
|
-
*
|
|
302
|
+
* 缩容Task节点
|
|
364
303
|
*/
|
|
365
|
-
async
|
|
366
|
-
return this.request("
|
|
304
|
+
async TerminateTasks(req, cb) {
|
|
305
|
+
return this.request("TerminateTasks", req, cb);
|
|
367
306
|
}
|
|
368
307
|
/**
|
|
369
|
-
*
|
|
308
|
+
* 查询节点数据盘信息
|
|
370
309
|
*/
|
|
371
|
-
async
|
|
372
|
-
return this.request("
|
|
310
|
+
async DescribeNodeDataDisks(req, cb) {
|
|
311
|
+
return this.request("DescribeNodeDataDisks", req, cb);
|
|
373
312
|
}
|
|
374
313
|
/**
|
|
375
|
-
*
|
|
314
|
+
* 查询YARN资源调度的全局配置
|
|
376
315
|
*/
|
|
377
|
-
async
|
|
378
|
-
return this.request("
|
|
316
|
+
async DescribeGlobalConfig(req, cb) {
|
|
317
|
+
return this.request("DescribeGlobalConfig", req, cb);
|
|
379
318
|
}
|
|
380
319
|
/**
|
|
381
|
-
*
|
|
320
|
+
* 查询集群节点信息
|
|
382
321
|
*/
|
|
383
|
-
async
|
|
384
|
-
return this.request("
|
|
322
|
+
async DescribeClusterNodes(req, cb) {
|
|
323
|
+
return this.request("DescribeClusterNodes", req, cb);
|
|
385
324
|
}
|
|
386
325
|
/**
|
|
387
326
|
* 查看yarn资源调度的调度历史。废弃,请使用流程中心查看历史记录。
|
|
@@ -390,24 +329,34 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
390
329
|
return this.request("DescribeYarnScheduleHistory", req, cb);
|
|
391
330
|
}
|
|
392
331
|
/**
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
async ModifyResourceScheduleConfig(req, cb) {
|
|
398
|
-
return this.request("ModifyResourceScheduleConfig", req, cb);
|
|
332
|
+
* 获取洞察结果信息
|
|
333
|
+
*/
|
|
334
|
+
async DescribeInsightList(req, cb) {
|
|
335
|
+
return this.request("DescribeInsightList", req, cb);
|
|
399
336
|
}
|
|
400
337
|
/**
|
|
401
|
-
*
|
|
338
|
+
* 设置巡检任务配置
|
|
402
339
|
*/
|
|
403
|
-
async
|
|
404
|
-
return this.request("
|
|
340
|
+
async ModifyInspectionSettings(req, cb) {
|
|
341
|
+
return this.request("ModifyInspectionSettings", req, cb);
|
|
405
342
|
}
|
|
406
343
|
/**
|
|
407
|
-
*
|
|
344
|
+
* 变配询价
|
|
408
345
|
*/
|
|
409
|
-
async
|
|
410
|
-
return this.request("
|
|
346
|
+
async InquiryPriceUpdateInstance(req, cb) {
|
|
347
|
+
return this.request("InquiryPriceUpdateInstance", req, cb);
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* 创建EMR容器集群实例
|
|
351
|
+
*/
|
|
352
|
+
async CreateCloudInstance(req, cb) {
|
|
353
|
+
return this.request("CreateCloudInstance", req, cb);
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* 扩容询价. 当扩容时候,请通过该接口查询价格。
|
|
357
|
+
*/
|
|
358
|
+
async InquiryPriceScaleOutInstance(req, cb) {
|
|
359
|
+
return this.request("InquiryPriceScaleOutInstance", req, cb);
|
|
411
360
|
}
|
|
412
361
|
/**
|
|
413
362
|
* 查询监控概览页指标数据
|
|
@@ -416,48 +365,58 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
416
365
|
return this.request("DescribeEmrOverviewMetrics", req, cb);
|
|
417
366
|
}
|
|
418
367
|
/**
|
|
419
|
-
*
|
|
368
|
+
* serverless hbase修改实例名称
|
|
420
369
|
*/
|
|
421
|
-
async
|
|
422
|
-
return this.request("
|
|
370
|
+
async ModifySLInstanceBasic(req, cb) {
|
|
371
|
+
return this.request("ModifySLInstanceBasic", req, cb);
|
|
423
372
|
}
|
|
424
373
|
/**
|
|
425
|
-
*
|
|
374
|
+
* 销毁集群节点
|
|
426
375
|
*/
|
|
427
|
-
async
|
|
428
|
-
return this.request("
|
|
376
|
+
async TerminateClusterNodes(req, cb) {
|
|
377
|
+
return this.request("TerminateClusterNodes", req, cb);
|
|
429
378
|
}
|
|
430
379
|
/**
|
|
431
|
-
*
|
|
380
|
+
* 修改YARN资源调度的资源配置
|
|
432
381
|
*/
|
|
433
|
-
async
|
|
434
|
-
return this.request("
|
|
382
|
+
async ResetYarnConfig(req, cb) {
|
|
383
|
+
return this.request("ResetYarnConfig", req, cb);
|
|
435
384
|
}
|
|
436
385
|
/**
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
async ModifySLInstance(req, cb) {
|
|
442
|
-
return this.request("ModifySLInstance", req, cb);
|
|
386
|
+
* 用户管理-修改用户组
|
|
387
|
+
*/
|
|
388
|
+
async ModifyUserGroup(req, cb) {
|
|
389
|
+
return this.request("ModifyUserGroup", req, cb);
|
|
443
390
|
}
|
|
444
391
|
/**
|
|
445
|
-
*
|
|
392
|
+
* yarn application 统计接口查询
|
|
446
393
|
*/
|
|
447
|
-
async
|
|
448
|
-
return this.request("
|
|
394
|
+
async DescribeEmrApplicationStatics(req, cb) {
|
|
395
|
+
return this.request("DescribeEmrApplicationStatics", req, cb);
|
|
449
396
|
}
|
|
450
397
|
/**
|
|
451
|
-
*
|
|
398
|
+
* 本接口(DescribeSLInstance)用于查询 Serverless HBase实例基本信息
|
|
452
399
|
*/
|
|
453
|
-
async
|
|
454
|
-
return this.request("
|
|
400
|
+
async DescribeSLInstance(req, cb) {
|
|
401
|
+
return this.request("DescribeSLInstance", req, cb);
|
|
455
402
|
}
|
|
456
403
|
/**
|
|
457
|
-
* 查询
|
|
404
|
+
* 查询Spark查询信息列表
|
|
458
405
|
*/
|
|
459
|
-
async
|
|
460
|
-
return this.request("
|
|
406
|
+
async DescribeSparkQueries(req, cb) {
|
|
407
|
+
return this.request("DescribeSparkQueries", req, cb);
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* 修改YARN资源调度的全局配置
|
|
411
|
+
*/
|
|
412
|
+
async ModifyGlobalConfig(req, cb) {
|
|
413
|
+
return this.request("ModifyGlobalConfig", req, cb);
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
416
|
+
* 获取自动扩缩容规则
|
|
417
|
+
*/
|
|
418
|
+
async DescribeAutoScaleStrategies(req, cb) {
|
|
419
|
+
return this.request("DescribeAutoScaleStrategies", req, cb);
|
|
461
420
|
}
|
|
462
421
|
/**
|
|
463
422
|
* 获取自动扩缩容全局配置
|
|
@@ -466,90 +425,137 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
466
425
|
return this.request("DescribeAutoScaleGroupGlobalConf", req, cb);
|
|
467
426
|
}
|
|
468
427
|
/**
|
|
469
|
-
*
|
|
428
|
+
* 获取巡检任务结果列表
|
|
470
429
|
*/
|
|
471
|
-
async
|
|
472
|
-
return this.request("
|
|
430
|
+
async DescribeInspectionTaskResult(req, cb) {
|
|
431
|
+
return this.request("DescribeInspectionTaskResult", req, cb);
|
|
473
432
|
}
|
|
474
433
|
/**
|
|
475
|
-
*
|
|
434
|
+
* DescribeYarnApplications
|
|
476
435
|
*/
|
|
477
|
-
async
|
|
478
|
-
return this.request("
|
|
436
|
+
async DescribeYarnApplications(req, cb) {
|
|
437
|
+
return this.request("DescribeYarnApplications", req, cb);
|
|
479
438
|
}
|
|
480
439
|
/**
|
|
481
|
-
|
|
440
|
+
* 该接口支持安装了OpenLdap组件的集群。
|
|
441
|
+
批量导出用户。对于kerberos集群,如果需要kertab文件下载地址,可以将NeedKeytabInfo设置为true;注意SupportDownLoadKeyTab为true,但是DownLoadKeyTabUrl为空字符串,表示keytab文件在后台没有准备好(正在生成)。
|
|
442
|
+
*/
|
|
443
|
+
async DescribeUsersForUserManager(req, cb) {
|
|
444
|
+
return this.request("DescribeUsersForUserManager", req, cb);
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* 续费询价。
|
|
482
448
|
*/
|
|
483
|
-
async
|
|
484
|
-
return this.request("
|
|
449
|
+
async InquiryPriceRenewInstance(req, cb) {
|
|
450
|
+
return this.request("InquiryPriceRenewInstance", req, cb);
|
|
485
451
|
}
|
|
486
452
|
/**
|
|
487
|
-
*
|
|
453
|
+
* 查询用户组
|
|
488
454
|
*/
|
|
489
|
-
async
|
|
490
|
-
return this.request("
|
|
455
|
+
async DescribeGroupsSTD(req, cb) {
|
|
456
|
+
return this.request("DescribeGroupsSTD", req, cb);
|
|
491
457
|
}
|
|
492
458
|
/**
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
async ModifyResourcePools(req, cb) {
|
|
498
|
-
return this.request("ModifyResourcePools", req, cb);
|
|
459
|
+
* 查询HDFS存储文件信息
|
|
460
|
+
*/
|
|
461
|
+
async DescribeHDFSStorageInfo(req, cb) {
|
|
462
|
+
return this.request("DescribeHDFSStorageInfo", req, cb);
|
|
499
463
|
}
|
|
500
464
|
/**
|
|
501
|
-
*
|
|
465
|
+
* 集群续费询价。
|
|
502
466
|
*/
|
|
503
|
-
async
|
|
504
|
-
return this.request("
|
|
467
|
+
async InquirePriceRenewEmr(req, cb) {
|
|
468
|
+
return this.request("InquirePriceRenewEmr", req, cb);
|
|
505
469
|
}
|
|
506
470
|
/**
|
|
507
|
-
*
|
|
471
|
+
* 查询EMR任务运行详情状态
|
|
508
472
|
*/
|
|
509
|
-
async
|
|
510
|
-
return this.request("
|
|
473
|
+
async DescribeClusterFlowStatusDetail(req, cb) {
|
|
474
|
+
return this.request("DescribeClusterFlowStatusDetail", req, cb);
|
|
511
475
|
}
|
|
512
476
|
/**
|
|
513
|
-
*
|
|
477
|
+
* 查询集群实例信息
|
|
514
478
|
*/
|
|
515
|
-
async
|
|
516
|
-
return this.request("
|
|
479
|
+
async DescribeInstances(req, cb) {
|
|
480
|
+
return this.request("DescribeInstances", req, cb);
|
|
517
481
|
}
|
|
518
482
|
/**
|
|
519
|
-
*
|
|
483
|
+
* 用户管理-批量创建用户组
|
|
520
484
|
*/
|
|
521
|
-
async
|
|
522
|
-
return this.request("
|
|
485
|
+
async CreateGroupsSTD(req, cb) {
|
|
486
|
+
return this.request("CreateGroupsSTD", req, cb);
|
|
523
487
|
}
|
|
524
488
|
/**
|
|
525
|
-
|
|
489
|
+
* 该接口支持安装了OpenLdap组件的集群。
|
|
490
|
+
新增用户列表(用户管理)。
|
|
491
|
+
*/
|
|
492
|
+
async AddUsersForUserManager(req, cb) {
|
|
493
|
+
return this.request("AddUsersForUserManager", req, cb);
|
|
494
|
+
}
|
|
495
|
+
/**
|
|
496
|
+
* 获取spark应用列表
|
|
526
497
|
*/
|
|
527
|
-
async
|
|
528
|
-
return this.request("
|
|
498
|
+
async DescribeSparkApplications(req, cb) {
|
|
499
|
+
return this.request("DescribeSparkApplications", req, cb);
|
|
529
500
|
}
|
|
530
501
|
/**
|
|
531
|
-
|
|
502
|
+
* 前提:预付费集群
|
|
503
|
+
资源级别开启或关闭自动续费
|
|
504
|
+
*/
|
|
505
|
+
async ModifyAutoRenewFlag(req, cb) {
|
|
506
|
+
return this.request("ModifyAutoRenewFlag", req, cb);
|
|
507
|
+
}
|
|
508
|
+
/**
|
|
509
|
+
* 修改了yarn的资源调度器,点击部署生效。
|
|
532
510
|
*/
|
|
533
|
-
async
|
|
534
|
-
return this.request("
|
|
511
|
+
async ModifyResourceScheduler(req, cb) {
|
|
512
|
+
return this.request("ModifyResourceScheduler", req, cb);
|
|
535
513
|
}
|
|
536
514
|
/**
|
|
537
|
-
*
|
|
515
|
+
* 查询YARN资源调度数据信息。已废弃,请使用`DescribeYarnQueue`去查询队列信息。
|
|
538
516
|
*/
|
|
539
|
-
async
|
|
540
|
-
return this.request("
|
|
517
|
+
async DescribeResourceSchedule(req, cb) {
|
|
518
|
+
return this.request("DescribeResourceSchedule", req, cb);
|
|
541
519
|
}
|
|
542
520
|
/**
|
|
543
|
-
|
|
521
|
+
* 已废弃,请使用ModifyYarnQueueV2来修改队列配置,近一年无相关日志
|
|
522
|
+
|
|
523
|
+
修改YARN资源调度的资源配置。已废弃,请使用`ModifyYarnQueueV2`来修改队列配置
|
|
524
|
+
*/
|
|
525
|
+
async ModifyResourceScheduleConfig(req, cb) {
|
|
526
|
+
return this.request("ModifyResourceScheduleConfig", req, cb);
|
|
527
|
+
}
|
|
528
|
+
/**
|
|
529
|
+
* 变配实例
|
|
544
530
|
*/
|
|
545
|
-
async
|
|
546
|
-
return this.request("
|
|
531
|
+
async ModifyResource(req, cb) {
|
|
532
|
+
return this.request("ModifyResource", req, cb);
|
|
547
533
|
}
|
|
548
534
|
/**
|
|
549
|
-
*
|
|
535
|
+
* 批量删除用户组
|
|
550
536
|
*/
|
|
551
|
-
async
|
|
552
|
-
return this.request("
|
|
537
|
+
async DeleteGroupsSTD(req, cb) {
|
|
538
|
+
return this.request("DeleteGroupsSTD", req, cb);
|
|
539
|
+
}
|
|
540
|
+
/**
|
|
541
|
+
* 已废弃,请使用DeployYarnConf\\n,近一年未被调用
|
|
542
|
+
|
|
543
|
+
刷新YARN的动态资源池。已废弃,请使用`DeployYarnConf`
|
|
544
|
+
*/
|
|
545
|
+
async ModifyResourcePools(req, cb) {
|
|
546
|
+
return this.request("ModifyResourcePools", req, cb);
|
|
547
|
+
}
|
|
548
|
+
/**
|
|
549
|
+
* 删除当前集群的节点规格配置
|
|
550
|
+
*/
|
|
551
|
+
async DeleteNodeResourceConfig(req, cb) {
|
|
552
|
+
return this.request("DeleteNodeResourceConfig", req, cb);
|
|
553
|
+
}
|
|
554
|
+
/**
|
|
555
|
+
* 修改集群名称
|
|
556
|
+
*/
|
|
557
|
+
async ModifyInstanceBasic(req, cb) {
|
|
558
|
+
return this.request("ModifyInstanceBasic", req, cb);
|
|
553
559
|
}
|
|
554
560
|
}
|
|
555
561
|
exports.Client = Client;
|