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