tencentcloud-sdk-nodejs-emr 4.0.431 → 4.0.432
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/CHANGELOG.md +1 -1
- package/package.json +1 -1
- package/src/services/emr/index.ts +4 -7
- package/src/services/emr/v20190103/emr_client.ts +317 -249
- package/src/services/emr/v20190103/emr_models.ts +2399 -2502
- package/src/services/emr/v20190103/index.ts +3 -3
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +6 -6
- package/tencentcloud/services/emr/v20190103/emr_client.js +6 -6
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +1796 -1796
- package/tencentcloud/services/emr/v20190103/index.js +1 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -17,109 +17,108 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
20
|
+
ClusterSetting,
|
|
21
|
+
PodSaleSpec,
|
|
22
|
+
ScaleOutInstanceResponse,
|
|
23
|
+
PodVolume,
|
|
24
|
+
SyncPodStateResponse,
|
|
25
|
+
CreateInstanceResponse,
|
|
26
|
+
TerminateTasksRequest,
|
|
27
|
+
HostVolumeContext,
|
|
28
|
+
Step,
|
|
29
|
+
DescribeEmrApplicationStaticsRequest,
|
|
30
|
+
UserManagerFilter,
|
|
31
|
+
MetaDbInfo,
|
|
32
|
+
DiskSpec,
|
|
33
|
+
COSSettings,
|
|
34
|
+
ClusterInstancesInfo,
|
|
35
|
+
ScaleOutInstanceRequest,
|
|
36
|
+
QuotaEntity,
|
|
37
|
+
TopologyInfo,
|
|
38
|
+
Tag,
|
|
39
|
+
EmrListInstance,
|
|
40
|
+
ModifyResourceScheduleConfigResponse,
|
|
41
|
+
EmrProductConfigOutter,
|
|
42
|
+
VPCSettings,
|
|
43
|
+
DescribeInstancesListResponse,
|
|
44
|
+
DescribeInstanceRenewNodesRequest,
|
|
45
|
+
JobResult,
|
|
46
|
+
PodSpec,
|
|
47
|
+
InquiryPriceRenewInstanceResponse,
|
|
48
|
+
DescribeJobFlowRequest,
|
|
49
|
+
InquiryPriceCreateInstanceResponse,
|
|
50
|
+
TerminateInstanceRequest,
|
|
51
|
+
JobFlowResourceSpec,
|
|
52
|
+
Configuration,
|
|
53
|
+
DescribeResourceScheduleRequest,
|
|
54
|
+
Placement,
|
|
55
|
+
PodParameter,
|
|
56
|
+
DescribeUsersForUserManagerRequest,
|
|
57
|
+
RenewInstancesInfo,
|
|
58
|
+
RunJobFlowResponse,
|
|
59
|
+
MultiDisk,
|
|
60
|
+
SearchItem,
|
|
61
|
+
MultiZoneSetting,
|
|
62
|
+
TerminateInstanceResponse,
|
|
63
|
+
InquiryPriceUpdateInstanceResponse,
|
|
64
|
+
NewResourceSpec,
|
|
65
|
+
PersistentVolumeContext,
|
|
66
|
+
DescribeResourceScheduleResponse,
|
|
67
|
+
ModifyResourceSchedulerRequest,
|
|
68
|
+
LoginSettings,
|
|
69
|
+
RunJobFlowRequest,
|
|
70
|
+
PriceResource,
|
|
71
|
+
CustomServiceDefine,
|
|
72
|
+
SubnetInfo,
|
|
73
|
+
DescribeCvmQuotaResponse,
|
|
74
|
+
BootstrapAction,
|
|
75
|
+
DescribeCvmQuotaRequest,
|
|
76
|
+
DescribeClusterNodesRequest,
|
|
77
|
+
SyncPodStateRequest,
|
|
78
|
+
CreateInstanceRequest,
|
|
79
|
+
Execution,
|
|
80
|
+
UpdateInstanceSettings,
|
|
81
|
+
DescribeInstancesRequest,
|
|
82
|
+
InquiryPriceUpdateInstanceRequest,
|
|
83
|
+
DescribeInstancesListRequest,
|
|
84
|
+
OutterResource,
|
|
85
|
+
ModifyResourcePoolsResponse,
|
|
86
|
+
TerminateTasksResponse,
|
|
87
|
+
DescribeInstancesResponse,
|
|
88
|
+
DescribeUsersForUserManagerResponse,
|
|
89
|
+
InquiryPriceRenewInstanceRequest,
|
|
90
|
+
CdbInfo,
|
|
91
|
+
InquirePriceRenewEmrResponse,
|
|
92
|
+
MultiDiskMC,
|
|
93
|
+
AddUsersForUserManagerRequest,
|
|
94
|
+
CustomMetaInfo,
|
|
95
|
+
ApplicationStatics,
|
|
96
|
+
InquiryPriceCreateInstanceRequest,
|
|
97
|
+
DescribeClusterNodesResponse,
|
|
98
|
+
ModifyResourceScheduleConfigRequest,
|
|
99
|
+
UserInfoForUserManager,
|
|
100
|
+
DynamicPodSpec,
|
|
101
|
+
PodState,
|
|
102
|
+
ExternalService,
|
|
103
|
+
PreExecuteFileSettings,
|
|
104
|
+
ClusterExternalServiceInfo,
|
|
105
|
+
InquiryPriceScaleOutInstanceRequest,
|
|
106
|
+
Resource,
|
|
107
|
+
Filters,
|
|
108
|
+
DescribeEmrApplicationStaticsResponse,
|
|
109
|
+
InquirePriceRenewEmrRequest,
|
|
110
|
+
DescribeInstanceRenewNodesResponse,
|
|
111
|
+
UserManagerUserBriefInfo,
|
|
112
|
+
DiskGroup,
|
|
113
|
+
InquiryPriceScaleOutInstanceResponse,
|
|
114
|
+
ModifyResourceSchedulerResponse,
|
|
115
|
+
ShortNodeInfo,
|
|
116
|
+
AddUsersForUserManagerResponse,
|
|
117
|
+
NodeHardwareInfo,
|
|
118
|
+
JobFlowResource,
|
|
119
|
+
ModifyResourcePoolsRequest,
|
|
120
|
+
DescribeJobFlowResponse,
|
|
121
|
+
InstanceChargePrepaid,
|
|
123
122
|
} from "./emr_models"
|
|
124
123
|
|
|
125
124
|
/**
|
|
@@ -127,180 +126,249 @@ import {
|
|
|
127
126
|
* @class
|
|
128
127
|
*/
|
|
129
128
|
export class Client extends TencentCloudCommon.AbstractClient {
|
|
129
|
+
constructor(clientConfig: TencentCloudCommon.ClientConfig) {
|
|
130
|
+
super("emr.tencentcloudapi.com", "2019-01-03", clientConfig)
|
|
131
|
+
}
|
|
130
132
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
}
|
|
133
|
+
/**
|
|
134
|
+
* 销毁EMR实例。此接口仅支持弹性MapReduce正式计费版本。
|
|
135
|
+
*/
|
|
136
|
+
async TerminateInstance(
|
|
137
|
+
req: TerminateInstanceRequest,
|
|
138
|
+
cb?: (error: string, rep: TerminateInstanceResponse) => void
|
|
139
|
+
): Promise<TerminateInstanceResponse> {
|
|
140
|
+
return this.request("TerminateInstance", req, cb)
|
|
141
|
+
}
|
|
141
142
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
143
|
+
/**
|
|
144
|
+
* 变配询价
|
|
145
|
+
*/
|
|
146
|
+
async InquiryPriceUpdateInstance(
|
|
147
|
+
req: InquiryPriceUpdateInstanceRequest,
|
|
148
|
+
cb?: (error: string, rep: InquiryPriceUpdateInstanceResponse) => void
|
|
149
|
+
): Promise<InquiryPriceUpdateInstanceResponse> {
|
|
150
|
+
return this.request("InquiryPriceUpdateInstance", req, cb)
|
|
151
|
+
}
|
|
148
152
|
|
|
149
|
-
|
|
153
|
+
/**
|
|
150
154
|
* 该接口支持安装了OpenLdap组件的集群。
|
|
151
155
|
批量导出用户。对于kerberos集群,如果需要kertab文件下载地址,可以将NeedKeytabInfo设置为true;注意SupportDownLoadKeyTab为true,但是DownLoadKeyTabUrl为空字符串,表示keytab文件在后台没有准备好(正在生成)。
|
|
152
156
|
*/
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
157
|
+
async DescribeUsersForUserManager(
|
|
158
|
+
req: DescribeUsersForUserManagerRequest,
|
|
159
|
+
cb?: (error: string, rep: DescribeUsersForUserManagerResponse) => void
|
|
160
|
+
): Promise<DescribeUsersForUserManagerResponse> {
|
|
161
|
+
return this.request("DescribeUsersForUserManager", req, cb)
|
|
162
|
+
}
|
|
156
163
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
164
|
+
/**
|
|
165
|
+
* 续费询价。
|
|
166
|
+
*/
|
|
167
|
+
async InquiryPriceRenewInstance(
|
|
168
|
+
req: InquiryPriceRenewInstanceRequest,
|
|
169
|
+
cb?: (error: string, rep: InquiryPriceRenewInstanceResponse) => void
|
|
170
|
+
): Promise<InquiryPriceRenewInstanceResponse> {
|
|
171
|
+
return this.request("InquiryPriceRenewInstance", req, cb)
|
|
172
|
+
}
|
|
163
173
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
174
|
+
/**
|
|
175
|
+
* 查询流程任务
|
|
176
|
+
*/
|
|
177
|
+
async DescribeJobFlow(
|
|
178
|
+
req: DescribeJobFlowRequest,
|
|
179
|
+
cb?: (error: string, rep: DescribeJobFlowResponse) => void
|
|
180
|
+
): Promise<DescribeJobFlowResponse> {
|
|
181
|
+
return this.request("DescribeJobFlow", req, cb)
|
|
182
|
+
}
|
|
170
183
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
184
|
+
/**
|
|
185
|
+
* 集群续费询价。
|
|
186
|
+
*/
|
|
187
|
+
async InquirePriceRenewEmr(
|
|
188
|
+
req: InquirePriceRenewEmrRequest,
|
|
189
|
+
cb?: (error: string, rep: InquirePriceRenewEmrResponse) => void
|
|
190
|
+
): Promise<InquirePriceRenewEmrResponse> {
|
|
191
|
+
return this.request("InquirePriceRenewEmr", req, cb)
|
|
192
|
+
}
|
|
177
193
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
194
|
+
/**
|
|
195
|
+
* 扩容询价. 当扩容时候,请通过该接口查询价格。
|
|
196
|
+
*/
|
|
197
|
+
async InquiryPriceScaleOutInstance(
|
|
198
|
+
req: InquiryPriceScaleOutInstanceRequest,
|
|
199
|
+
cb?: (error: string, rep: InquiryPriceScaleOutInstanceResponse) => void
|
|
200
|
+
): Promise<InquiryPriceScaleOutInstanceResponse> {
|
|
201
|
+
return this.request("InquiryPriceScaleOutInstance", req, cb)
|
|
202
|
+
}
|
|
184
203
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
204
|
+
/**
|
|
205
|
+
* 获取账户的CVM配额
|
|
206
|
+
*/
|
|
207
|
+
async DescribeCvmQuota(
|
|
208
|
+
req: DescribeCvmQuotaRequest,
|
|
209
|
+
cb?: (error: string, rep: DescribeCvmQuotaResponse) => void
|
|
210
|
+
): Promise<DescribeCvmQuotaResponse> {
|
|
211
|
+
return this.request("DescribeCvmQuota", req, cb)
|
|
212
|
+
}
|
|
191
213
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
214
|
+
/**
|
|
215
|
+
* 实例扩容
|
|
216
|
+
*/
|
|
217
|
+
async ScaleOutInstance(
|
|
218
|
+
req: ScaleOutInstanceRequest,
|
|
219
|
+
cb?: (error: string, rep: ScaleOutInstanceResponse) => void
|
|
220
|
+
): Promise<ScaleOutInstanceResponse> {
|
|
221
|
+
return this.request("ScaleOutInstance", req, cb)
|
|
222
|
+
}
|
|
198
223
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
224
|
+
/**
|
|
225
|
+
* 查询EMR实例
|
|
226
|
+
*/
|
|
227
|
+
async DescribeInstances(
|
|
228
|
+
req: DescribeInstancesRequest,
|
|
229
|
+
cb?: (error: string, rep: DescribeInstancesResponse) => void
|
|
230
|
+
): Promise<DescribeInstancesResponse> {
|
|
231
|
+
return this.request("DescribeInstances", req, cb)
|
|
232
|
+
}
|
|
205
233
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
234
|
+
/**
|
|
235
|
+
* 创建流程作业
|
|
236
|
+
*/
|
|
237
|
+
async RunJobFlow(
|
|
238
|
+
req: RunJobFlowRequest,
|
|
239
|
+
cb?: (error: string, rep: RunJobFlowResponse) => void
|
|
240
|
+
): Promise<RunJobFlowResponse> {
|
|
241
|
+
return this.request("RunJobFlow", req, cb)
|
|
242
|
+
}
|
|
212
243
|
|
|
213
|
-
|
|
244
|
+
/**
|
|
214
245
|
* 该接口支持安装了OpenLdap组件的集群。
|
|
215
246
|
新增用户列表(用户管理)。
|
|
216
247
|
*/
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
248
|
+
async AddUsersForUserManager(
|
|
249
|
+
req: AddUsersForUserManagerRequest,
|
|
250
|
+
cb?: (error: string, rep: AddUsersForUserManagerResponse) => void
|
|
251
|
+
): Promise<AddUsersForUserManagerResponse> {
|
|
252
|
+
return this.request("AddUsersForUserManager", req, cb)
|
|
253
|
+
}
|
|
220
254
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
255
|
+
/**
|
|
256
|
+
* yarn application 统计接口查询
|
|
257
|
+
*/
|
|
258
|
+
async DescribeEmrApplicationStatics(
|
|
259
|
+
req: DescribeEmrApplicationStaticsRequest,
|
|
260
|
+
cb?: (error: string, rep: DescribeEmrApplicationStaticsResponse) => void
|
|
261
|
+
): Promise<DescribeEmrApplicationStaticsResponse> {
|
|
262
|
+
return this.request("DescribeEmrApplicationStatics", req, cb)
|
|
263
|
+
}
|
|
227
264
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
265
|
+
/**
|
|
266
|
+
* 预付费集群隔离后续费资源查询
|
|
267
|
+
*/
|
|
268
|
+
async DescribeInstanceRenewNodes(
|
|
269
|
+
req: DescribeInstanceRenewNodesRequest,
|
|
270
|
+
cb?: (error: string, rep: DescribeInstanceRenewNodesResponse) => void
|
|
271
|
+
): Promise<DescribeInstanceRenewNodesResponse> {
|
|
272
|
+
return this.request("DescribeInstanceRenewNodes", req, cb)
|
|
273
|
+
}
|
|
234
274
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
*/
|
|
245
|
-
async SyncPodState(req: SyncPodStateRequest, cb?: (error: string, rep: SyncPodStateResponse) => void): Promise<SyncPodStateResponse> {
|
|
246
|
-
return this.request("SyncPodState", req, cb);
|
|
247
|
-
}
|
|
275
|
+
/**
|
|
276
|
+
* 修改了yarn的资源调度器,点击部署生效
|
|
277
|
+
*/
|
|
278
|
+
async ModifyResourceScheduler(
|
|
279
|
+
req: ModifyResourceSchedulerRequest,
|
|
280
|
+
cb?: (error: string, rep: ModifyResourceSchedulerResponse) => void
|
|
281
|
+
): Promise<ModifyResourceSchedulerResponse> {
|
|
282
|
+
return this.request("ModifyResourceScheduler", req, cb)
|
|
283
|
+
}
|
|
248
284
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
*/
|
|
259
|
-
async InquiryPriceCreateInstance(req: InquiryPriceCreateInstanceRequest, cb?: (error: string, rep: InquiryPriceCreateInstanceResponse) => void): Promise<InquiryPriceCreateInstanceResponse> {
|
|
260
|
-
return this.request("InquiryPriceCreateInstance", req, cb);
|
|
261
|
-
}
|
|
285
|
+
/**
|
|
286
|
+
* EMR同步TKE中POD状态
|
|
287
|
+
*/
|
|
288
|
+
async SyncPodState(
|
|
289
|
+
req: SyncPodStateRequest,
|
|
290
|
+
cb?: (error: string, rep: SyncPodStateResponse) => void
|
|
291
|
+
): Promise<SyncPodStateResponse> {
|
|
292
|
+
return this.request("SyncPodState", req, cb)
|
|
293
|
+
}
|
|
262
294
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
295
|
+
/**
|
|
296
|
+
* 创建EMR集群实例
|
|
297
|
+
*/
|
|
298
|
+
async CreateInstance(
|
|
299
|
+
req: CreateInstanceRequest,
|
|
300
|
+
cb?: (error: string, rep: CreateInstanceResponse) => void
|
|
301
|
+
): Promise<CreateInstanceResponse> {
|
|
302
|
+
return this.request("CreateInstance", req, cb)
|
|
303
|
+
}
|
|
269
304
|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
305
|
+
/**
|
|
306
|
+
* 创建实例询价
|
|
307
|
+
*/
|
|
308
|
+
async InquiryPriceCreateInstance(
|
|
309
|
+
req: InquiryPriceCreateInstanceRequest,
|
|
310
|
+
cb?: (error: string, rep: InquiryPriceCreateInstanceResponse) => void
|
|
311
|
+
): Promise<InquiryPriceCreateInstanceResponse> {
|
|
312
|
+
return this.request("InquiryPriceCreateInstance", req, cb)
|
|
313
|
+
}
|
|
276
314
|
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
315
|
+
/**
|
|
316
|
+
* 获取yarn资源调度页面的数据
|
|
317
|
+
*/
|
|
318
|
+
async DescribeResourceSchedule(
|
|
319
|
+
req: DescribeResourceScheduleRequest,
|
|
320
|
+
cb?: (error: string, rep: DescribeResourceScheduleResponse) => void
|
|
321
|
+
): Promise<DescribeResourceScheduleResponse> {
|
|
322
|
+
return this.request("DescribeResourceSchedule", req, cb)
|
|
323
|
+
}
|
|
283
324
|
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
325
|
+
/**
|
|
326
|
+
* 修改yarn资源调度的资源配置
|
|
327
|
+
*/
|
|
328
|
+
async ModifyResourceScheduleConfig(
|
|
329
|
+
req: ModifyResourceScheduleConfigRequest,
|
|
330
|
+
cb?: (error: string, rep: ModifyResourceScheduleConfigResponse) => void
|
|
331
|
+
): Promise<ModifyResourceScheduleConfigResponse> {
|
|
332
|
+
return this.request("ModifyResourceScheduleConfig", req, cb)
|
|
333
|
+
}
|
|
290
334
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
335
|
+
/**
|
|
336
|
+
* 缩容Task节点
|
|
337
|
+
*/
|
|
338
|
+
async TerminateTasks(
|
|
339
|
+
req: TerminateTasksRequest,
|
|
340
|
+
cb?: (error: string, rep: TerminateTasksResponse) => void
|
|
341
|
+
): Promise<TerminateTasksResponse> {
|
|
342
|
+
return this.request("TerminateTasks", req, cb)
|
|
343
|
+
}
|
|
297
344
|
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
345
|
+
/**
|
|
346
|
+
* 查询硬件节点信息
|
|
347
|
+
*/
|
|
348
|
+
async DescribeClusterNodes(
|
|
349
|
+
req: DescribeClusterNodesRequest,
|
|
350
|
+
cb?: (error: string, rep: DescribeClusterNodesResponse) => void
|
|
351
|
+
): Promise<DescribeClusterNodesResponse> {
|
|
352
|
+
return this.request("DescribeClusterNodes", req, cb)
|
|
353
|
+
}
|
|
304
354
|
|
|
355
|
+
/**
|
|
356
|
+
* EMR集群实例列表查询
|
|
357
|
+
*/
|
|
358
|
+
async DescribeInstancesList(
|
|
359
|
+
req: DescribeInstancesListRequest,
|
|
360
|
+
cb?: (error: string, rep: DescribeInstancesListResponse) => void
|
|
361
|
+
): Promise<DescribeInstancesListResponse> {
|
|
362
|
+
return this.request("DescribeInstancesList", req, cb)
|
|
363
|
+
}
|
|
305
364
|
|
|
365
|
+
/**
|
|
366
|
+
* 刷新动态资源池
|
|
367
|
+
*/
|
|
368
|
+
async ModifyResourcePools(
|
|
369
|
+
req: ModifyResourcePoolsRequest,
|
|
370
|
+
cb?: (error: string, rep: ModifyResourcePoolsResponse) => void
|
|
371
|
+
): Promise<ModifyResourcePoolsResponse> {
|
|
372
|
+
return this.request("ModifyResourcePools", req, cb)
|
|
373
|
+
}
|
|
306
374
|
}
|