tencentcloud-sdk-nodejs-es 4.1.266 → 4.1.268
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.
|
@@ -35,10 +35,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
35
35
|
return this.request("DiagnoseInstance", req, cb);
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* 用于创建Beats采集器
|
|
39
39
|
*/
|
|
40
|
-
async
|
|
41
|
-
return this.request("
|
|
40
|
+
async CreateCollector(req, cb) {
|
|
41
|
+
return this.request("CreateCollector", req, cb);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* 获取索引列表
|
|
45
|
+
*/
|
|
46
|
+
async DescribeIndexList(req, cb) {
|
|
47
|
+
return this.request("DescribeIndexList", req, cb);
|
|
42
48
|
}
|
|
43
49
|
/**
|
|
44
50
|
* 快照备份恢复,从仓库中恢复快照到集群中
|
|
@@ -47,82 +53,112 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
47
53
|
return this.request("RestoreClusterSnapshot", req, cb);
|
|
48
54
|
}
|
|
49
55
|
/**
|
|
50
|
-
*
|
|
56
|
+
* 创建索引
|
|
51
57
|
*/
|
|
52
|
-
async
|
|
53
|
-
return this.request("
|
|
58
|
+
async CreateIndex(req, cb) {
|
|
59
|
+
return this.request("CreateIndex", req, cb);
|
|
54
60
|
}
|
|
55
61
|
/**
|
|
56
|
-
*
|
|
62
|
+
* 获取指定region下指定zone列表的资源情况
|
|
57
63
|
*/
|
|
58
|
-
async
|
|
59
|
-
return this.request("
|
|
64
|
+
async QueryZoneResource(req, cb) {
|
|
65
|
+
return this.request("QueryZoneResource", req, cb);
|
|
60
66
|
}
|
|
61
67
|
/**
|
|
62
|
-
*
|
|
68
|
+
* 删除自动备份快照策略
|
|
63
69
|
*/
|
|
64
|
-
async
|
|
65
|
-
return this.request("
|
|
70
|
+
async DeleteAutoBackUpStrategy(req, cb) {
|
|
71
|
+
return this.request("DeleteAutoBackUpStrategy", req, cb);
|
|
66
72
|
}
|
|
67
73
|
/**
|
|
68
|
-
*
|
|
74
|
+
* 检查cos迁移索引元数据
|
|
69
75
|
*/
|
|
70
|
-
async
|
|
71
|
-
return this.request("
|
|
76
|
+
async CheckMigrateIndexMetaData(req, cb) {
|
|
77
|
+
return this.request("CheckMigrateIndexMetaData", req, cb);
|
|
72
78
|
}
|
|
73
79
|
/**
|
|
74
|
-
*
|
|
80
|
+
* 请求集群实例
|
|
75
81
|
*/
|
|
76
|
-
async
|
|
77
|
-
return this.request("
|
|
82
|
+
async RequestInstances(req, cb) {
|
|
83
|
+
return this.request("RequestInstances", req, cb);
|
|
78
84
|
}
|
|
79
85
|
/**
|
|
80
|
-
*
|
|
86
|
+
* 查询事件类型列表
|
|
81
87
|
*/
|
|
82
|
-
async
|
|
83
|
-
return this.request("
|
|
88
|
+
async DescribeEventInfoList(req, cb) {
|
|
89
|
+
return this.request("DescribeEventInfoList", req, cb);
|
|
84
90
|
}
|
|
85
91
|
/**
|
|
86
|
-
*
|
|
92
|
+
* 删除Serverless索引
|
|
87
93
|
*/
|
|
88
|
-
async
|
|
89
|
-
return this.request("
|
|
94
|
+
async DeleteServerlessInstance(req, cb) {
|
|
95
|
+
return this.request("DeleteServerlessInstance", req, cb);
|
|
90
96
|
}
|
|
91
97
|
/**
|
|
92
|
-
*
|
|
98
|
+
* 查询智能运维诊断结果报告
|
|
93
99
|
*/
|
|
94
|
-
async
|
|
95
|
-
return this.request("
|
|
100
|
+
async DescribeDiagnose(req, cb) {
|
|
101
|
+
return this.request("DescribeDiagnose", req, cb);
|
|
96
102
|
}
|
|
97
103
|
/**
|
|
98
|
-
*
|
|
104
|
+
* 新建自动备份快照策略
|
|
99
105
|
*/
|
|
100
|
-
async
|
|
101
|
-
return this.request("
|
|
106
|
+
async CreateAutoBackUpStrategy(req, cb) {
|
|
107
|
+
return this.request("CreateAutoBackUpStrategy", req, cb);
|
|
102
108
|
}
|
|
103
109
|
/**
|
|
104
|
-
*
|
|
110
|
+
* 查询实例指定条件下的操作记录
|
|
105
111
|
*/
|
|
106
|
-
async
|
|
107
|
-
return this.request("
|
|
112
|
+
async DescribeLogstashInstanceOperations(req, cb) {
|
|
113
|
+
return this.request("DescribeLogstashInstanceOperations", req, cb);
|
|
108
114
|
}
|
|
109
115
|
/**
|
|
110
|
-
*
|
|
116
|
+
* 更新接收客户端请求的节点类型
|
|
111
117
|
*/
|
|
112
|
-
async
|
|
113
|
-
return this.request("
|
|
118
|
+
async UpdateRequestTargetNodeTypes(req, cb) {
|
|
119
|
+
return this.request("UpdateRequestTargetNodeTypes", req, cb);
|
|
114
120
|
}
|
|
115
121
|
/**
|
|
116
|
-
*
|
|
122
|
+
* Serverless获取索引列表
|
|
117
123
|
*/
|
|
118
|
-
async
|
|
119
|
-
return this.request("
|
|
124
|
+
async DescribeServerlessInstances(req, cb) {
|
|
125
|
+
return this.request("DescribeServerlessInstances", req, cb);
|
|
120
126
|
}
|
|
121
127
|
/**
|
|
122
|
-
*
|
|
128
|
+
* 集群快照手动创建
|
|
123
129
|
*/
|
|
124
|
-
async
|
|
125
|
-
return this.request("
|
|
130
|
+
async CreateClusterSnapshot(req, cb) {
|
|
131
|
+
return this.request("CreateClusterSnapshot", req, cb);
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* 查询Logstash集群视图
|
|
135
|
+
*/
|
|
136
|
+
async DescribeLogstashViews(req, cb) {
|
|
137
|
+
return this.request("DescribeLogstashViews", req, cb);
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* 用于更新管道描述信息
|
|
141
|
+
*/
|
|
142
|
+
async UpdateLogstashPipelineDesc(req, cb) {
|
|
143
|
+
return this.request("UpdateLogstashPipelineDesc", req, cb);
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* 查询实例插件列表
|
|
147
|
+
*/
|
|
148
|
+
async DescribeInstancePluginList(req, cb) {
|
|
149
|
+
return this.request("DescribeInstancePluginList", req, cb);
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* 用于批量停止Logstash管道
|
|
153
|
+
*/
|
|
154
|
+
async StopLogstashPipelines(req, cb) {
|
|
155
|
+
return this.request("StopLogstashPipelines", req, cb);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* 变更插件列表
|
|
159
|
+
*/
|
|
160
|
+
async UpdatePlugins(req, cb) {
|
|
161
|
+
return this.request("UpdatePlugins", req, cb);
|
|
126
162
|
}
|
|
127
163
|
/**
|
|
128
164
|
* 对集群进行节点规格变更,修改实例名称,修改配置,重置密码, 添加Kibana黑白名单等操作。参数中InstanceId为必传参数,ForceRestart为选填参数,剩余参数传递组合及含义如下:
|
|
@@ -138,166 +174,166 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
138
174
|
return this.request("UpdateInstance", req, cb);
|
|
139
175
|
}
|
|
140
176
|
/**
|
|
141
|
-
*
|
|
177
|
+
* 重启ES集群实例(用于系统版本更新等操作)
|
|
142
178
|
*/
|
|
143
|
-
async
|
|
144
|
-
return this.request("
|
|
179
|
+
async RestartInstance(req, cb) {
|
|
180
|
+
return this.request("RestartInstance", req, cb);
|
|
145
181
|
}
|
|
146
182
|
/**
|
|
147
|
-
*
|
|
183
|
+
* 获取Logstash指定region下指定zone列表的资源情况
|
|
148
184
|
*/
|
|
149
|
-
async
|
|
150
|
-
return this.request("
|
|
185
|
+
async QueryZoneResourceForLogstash(req, cb) {
|
|
186
|
+
return this.request("QueryZoneResourceForLogstash", req, cb);
|
|
151
187
|
}
|
|
152
188
|
/**
|
|
153
|
-
*
|
|
189
|
+
* 更新ES集群词典
|
|
154
190
|
*/
|
|
155
|
-
async
|
|
156
|
-
return this.request("
|
|
191
|
+
async UpdateDictionaries(req, cb) {
|
|
192
|
+
return this.request("UpdateDictionaries", req, cb);
|
|
157
193
|
}
|
|
158
194
|
/**
|
|
159
|
-
*
|
|
195
|
+
* 查询事件中心列表
|
|
160
196
|
*/
|
|
161
|
-
async
|
|
162
|
-
return this.request("
|
|
197
|
+
async DescribeEsInstanceEventLists(req, cb) {
|
|
198
|
+
return this.request("DescribeEsInstanceEventLists", req, cb);
|
|
163
199
|
}
|
|
164
200
|
/**
|
|
165
|
-
*
|
|
201
|
+
* 查询实例指定条件下的操作记录
|
|
166
202
|
*/
|
|
167
|
-
async
|
|
168
|
-
return this.request("
|
|
203
|
+
async DescribeInstanceOperations(req, cb) {
|
|
204
|
+
return this.request("DescribeInstanceOperations", req, cb);
|
|
169
205
|
}
|
|
170
206
|
/**
|
|
171
|
-
*
|
|
207
|
+
* 用于获取Logstash实例管道列表
|
|
172
208
|
*/
|
|
173
|
-
async
|
|
174
|
-
return this.request("
|
|
209
|
+
async DescribeLogstashPipelines(req, cb) {
|
|
210
|
+
return this.request("DescribeLogstashPipelines", req, cb);
|
|
175
211
|
}
|
|
176
212
|
/**
|
|
177
|
-
*
|
|
213
|
+
* 创建指定规格的ES集群实例
|
|
178
214
|
*/
|
|
179
|
-
async
|
|
180
|
-
return this.request("
|
|
215
|
+
async CreateInstance(req, cb) {
|
|
216
|
+
return this.request("CreateInstance", req, cb);
|
|
181
217
|
}
|
|
182
218
|
/**
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
- BindedES:修改绑定的ES集群配置
|
|
188
|
-
以上参数组合只能传递一种,多传或少传均会导致请求失败
|
|
189
|
-
*/
|
|
190
|
-
async UpdateLogstashInstance(req, cb) {
|
|
191
|
-
return this.request("UpdateLogstashInstance", req, cb);
|
|
219
|
+
* 更新智能运维配置
|
|
220
|
+
*/
|
|
221
|
+
async UpdateDiagnoseSettings(req, cb) {
|
|
222
|
+
return this.request("UpdateDiagnoseSettings", req, cb);
|
|
192
223
|
}
|
|
193
224
|
/**
|
|
194
|
-
*
|
|
225
|
+
* 查询ES支持的地域列表
|
|
195
226
|
*/
|
|
196
|
-
async
|
|
197
|
-
return this.request("
|
|
227
|
+
async DescribeRegions(req, cb) {
|
|
228
|
+
return this.request("DescribeRegions", req, cb);
|
|
198
229
|
}
|
|
199
230
|
/**
|
|
200
|
-
*
|
|
231
|
+
* 更新Serverless索引空间
|
|
201
232
|
*/
|
|
202
|
-
async
|
|
203
|
-
return this.request("
|
|
233
|
+
async UpdateServerlessSpace(req, cb) {
|
|
234
|
+
return this.request("UpdateServerlessSpace", req, cb);
|
|
204
235
|
}
|
|
205
236
|
/**
|
|
206
|
-
*
|
|
237
|
+
* 查询新增的forcemerge任务列表
|
|
207
238
|
*/
|
|
208
|
-
async
|
|
209
|
-
return this.request("
|
|
239
|
+
async DescribeForceMergeTask(req, cb) {
|
|
240
|
+
return this.request("DescribeForceMergeTask", req, cb);
|
|
210
241
|
}
|
|
211
242
|
/**
|
|
212
|
-
*
|
|
243
|
+
* 删除索引
|
|
213
244
|
*/
|
|
214
|
-
async
|
|
215
|
-
return this.request("
|
|
245
|
+
async DeleteIndex(req, cb) {
|
|
246
|
+
return this.request("DeleteIndex", req, cb);
|
|
216
247
|
}
|
|
217
248
|
/**
|
|
218
|
-
*
|
|
249
|
+
* 查询用户该地域下符合条件的Logstash实例的日志
|
|
219
250
|
*/
|
|
220
|
-
async
|
|
221
|
-
return this.request("
|
|
251
|
+
async DescribeLogstashInstanceLogs(req, cb) {
|
|
252
|
+
return this.request("DescribeLogstashInstanceLogs", req, cb);
|
|
222
253
|
}
|
|
223
254
|
/**
|
|
224
|
-
*
|
|
255
|
+
* 查看Serverless空间子用户
|
|
225
256
|
*/
|
|
226
|
-
async
|
|
227
|
-
return this.request("
|
|
257
|
+
async DescribeServerlessSpaceUser(req, cb) {
|
|
258
|
+
return this.request("DescribeServerlessSpaceUser", req, cb);
|
|
228
259
|
}
|
|
229
260
|
/**
|
|
230
|
-
*
|
|
261
|
+
* 查询IP溯源日志原始数据
|
|
231
262
|
*/
|
|
232
|
-
async
|
|
233
|
-
return this.request("
|
|
263
|
+
async ExportIpTraceLog(req, cb) {
|
|
264
|
+
return this.request("ExportIpTraceLog", req, cb);
|
|
234
265
|
}
|
|
235
266
|
/**
|
|
236
|
-
*
|
|
267
|
+
* 升级ES商业特性
|
|
237
268
|
*/
|
|
238
|
-
async
|
|
239
|
-
return this.request("
|
|
269
|
+
async UpgradeLicense(req, cb) {
|
|
270
|
+
return this.request("UpgradeLicense", req, cb);
|
|
240
271
|
}
|
|
241
272
|
/**
|
|
242
|
-
*
|
|
273
|
+
* 集群可访问API展示
|
|
243
274
|
*/
|
|
244
|
-
async
|
|
245
|
-
return this.request("
|
|
275
|
+
async DescribeRequestInstancePolicy(req, cb) {
|
|
276
|
+
return this.request("DescribeRequestInstancePolicy", req, cb);
|
|
246
277
|
}
|
|
247
278
|
/**
|
|
248
|
-
*
|
|
279
|
+
* 集群续费询价接口,续费前通过调用该接口,可获取集群续费的价格。
|
|
249
280
|
*/
|
|
250
|
-
async
|
|
251
|
-
return this.request("
|
|
281
|
+
async InquirePriceRenewInstance(req, cb) {
|
|
282
|
+
return this.request("InquirePriceRenewInstance", req, cb);
|
|
252
283
|
}
|
|
253
284
|
/**
|
|
254
|
-
*
|
|
285
|
+
* 获取接收客户端请求的节点类型
|
|
255
286
|
*/
|
|
256
|
-
async
|
|
257
|
-
return this.request("
|
|
287
|
+
async GetRequestTargetNodeTypes(req, cb) {
|
|
288
|
+
return this.request("GetRequestTargetNodeTypes", req, cb);
|
|
258
289
|
}
|
|
259
290
|
/**
|
|
260
|
-
*
|
|
291
|
+
* 获取Serverless索引空间列表
|
|
261
292
|
*/
|
|
262
|
-
async
|
|
263
|
-
return this.request("
|
|
293
|
+
async DescribeServerlessSpaces(req, cb) {
|
|
294
|
+
return this.request("DescribeServerlessSpaces", req, cb);
|
|
264
295
|
}
|
|
265
296
|
/**
|
|
266
|
-
*
|
|
297
|
+
* ES集群安装模型接口
|
|
267
298
|
*/
|
|
268
|
-
async
|
|
269
|
-
return this.request("
|
|
299
|
+
async InstallInstanceModel(req, cb) {
|
|
300
|
+
return this.request("InstallInstanceModel", req, cb);
|
|
270
301
|
}
|
|
271
302
|
/**
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
return this.request("DescribeServerlessMetrics", req, cb);
|
|
303
|
+
* 查询快照信息接口
|
|
304
|
+
*/
|
|
305
|
+
async DescribeUserCosSnapshotList(req, cb) {
|
|
306
|
+
return this.request("DescribeUserCosSnapshotList", req, cb);
|
|
277
307
|
}
|
|
278
308
|
/**
|
|
279
|
-
*
|
|
309
|
+
* 获取实例可升级列表,包括可升级的大版本、商业特性
|
|
280
310
|
*/
|
|
281
|
-
async
|
|
282
|
-
return this.request("
|
|
311
|
+
async DescribeUpgrade(req, cb) {
|
|
312
|
+
return this.request("DescribeUpgrade", req, cb);
|
|
283
313
|
}
|
|
284
314
|
/**
|
|
285
|
-
*
|
|
315
|
+
* 销毁集群实例
|
|
286
316
|
*/
|
|
287
|
-
async
|
|
288
|
-
return this.request("
|
|
317
|
+
async DeleteInstance(req, cb) {
|
|
318
|
+
return this.request("DeleteInstance", req, cb);
|
|
289
319
|
}
|
|
290
320
|
/**
|
|
291
|
-
*
|
|
321
|
+
* 查看智能运维配置
|
|
292
322
|
*/
|
|
293
|
-
async
|
|
294
|
-
return this.request("
|
|
323
|
+
async GetDiagnoseSettings(req, cb) {
|
|
324
|
+
return this.request("GetDiagnoseSettings", req, cb);
|
|
295
325
|
}
|
|
296
326
|
/**
|
|
297
|
-
*
|
|
327
|
+
* 获取集群快照列表概览
|
|
298
328
|
*/
|
|
299
|
-
async
|
|
300
|
-
return this.request("
|
|
329
|
+
async DescribeSnapshotViews(req, cb) {
|
|
330
|
+
return this.request("DescribeSnapshotViews", req, cb);
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* 用于重启集群节点
|
|
334
|
+
*/
|
|
335
|
+
async RestartNodes(req, cb) {
|
|
336
|
+
return this.request("RestartNodes", req, cb);
|
|
301
337
|
}
|
|
302
338
|
/**
|
|
303
339
|
* 创建Serverless索引空间
|
|
@@ -306,28 +342,34 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
306
342
|
return this.request("CreateServerlessSpaceV2", req, cb);
|
|
307
343
|
}
|
|
308
344
|
/**
|
|
309
|
-
*
|
|
345
|
+
* 查询IP溯源状态
|
|
310
346
|
*/
|
|
311
|
-
async
|
|
312
|
-
return this.request("
|
|
347
|
+
async GetIpTraceStatus(req, cb) {
|
|
348
|
+
return this.request("GetIpTraceStatus", req, cb);
|
|
313
349
|
}
|
|
314
350
|
/**
|
|
315
|
-
*
|
|
351
|
+
* 获取自动备份快照策略信息
|
|
316
352
|
*/
|
|
317
|
-
async
|
|
318
|
-
return this.request("
|
|
353
|
+
async DescribeAutoBackUpStrategy(req, cb) {
|
|
354
|
+
return this.request("DescribeAutoBackUpStrategy", req, cb);
|
|
319
355
|
}
|
|
320
356
|
/**
|
|
321
|
-
*
|
|
357
|
+
* 创建Serverless索引
|
|
322
358
|
*/
|
|
323
|
-
async
|
|
324
|
-
return this.request("
|
|
359
|
+
async CreateServerlessInstance(req, cb) {
|
|
360
|
+
return this.request("CreateServerlessInstance", req, cb);
|
|
325
361
|
}
|
|
326
362
|
/**
|
|
327
|
-
*
|
|
363
|
+
* 查询用户该地域下符合条件的所有Logstash实例
|
|
328
364
|
*/
|
|
329
|
-
async
|
|
330
|
-
return this.request("
|
|
365
|
+
async DescribeLogstashInstances(req, cb) {
|
|
366
|
+
return this.request("DescribeLogstashInstances", req, cb);
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* 修改绑定VIP的安全组,传安全组id列表
|
|
370
|
+
*/
|
|
371
|
+
async ModifyEsVipSecurityGroup(req, cb) {
|
|
372
|
+
return this.request("ModifyEsVipSecurityGroup", req, cb);
|
|
331
373
|
}
|
|
332
374
|
/**
|
|
333
375
|
* GET请求集群实例
|
|
@@ -336,10 +378,28 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
336
378
|
return this.request("RequestInstancesByGet", req, cb);
|
|
337
379
|
}
|
|
338
380
|
/**
|
|
339
|
-
*
|
|
381
|
+
* 更新索引
|
|
340
382
|
*/
|
|
341
|
-
async
|
|
342
|
-
return this.request("
|
|
383
|
+
async UpdateIndex(req, cb) {
|
|
384
|
+
return this.request("UpdateIndex", req, cb);
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* 查询用户该地域下符合条件的所有实例
|
|
388
|
+
*/
|
|
389
|
+
async DescribeInstances(req, cb) {
|
|
390
|
+
return this.request("DescribeInstances", req, cb);
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* 用于启动Logstash管道
|
|
394
|
+
*/
|
|
395
|
+
async StartLogstashPipelines(req, cb) {
|
|
396
|
+
return this.request("StartLogstashPipelines", req, cb);
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
* 用于重启Logstash实例
|
|
400
|
+
*/
|
|
401
|
+
async RestartLogstashInstance(req, cb) {
|
|
402
|
+
return this.request("RestartLogstashInstance", req, cb);
|
|
343
403
|
}
|
|
344
404
|
/**
|
|
345
405
|
* 删除Serverless空间子用户
|
|
@@ -348,64 +408,77 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
348
408
|
return this.request("DeleteServerlessSpaceUser", req, cb);
|
|
349
409
|
}
|
|
350
410
|
/**
|
|
351
|
-
*
|
|
411
|
+
* 更新ES集群IP溯源状态
|
|
352
412
|
*/
|
|
353
|
-
async
|
|
354
|
-
return this.request("
|
|
413
|
+
async UpdateIpTraceStatus(req, cb) {
|
|
414
|
+
return this.request("UpdateIpTraceStatus", req, cb);
|
|
355
415
|
}
|
|
356
416
|
/**
|
|
357
|
-
*
|
|
417
|
+
* 修改自动备份快照策略公共信息
|
|
358
418
|
*/
|
|
359
|
-
async
|
|
360
|
-
return this.request("
|
|
419
|
+
async ModifyAutoBackUpCommonInfo(req, cb) {
|
|
420
|
+
return this.request("ModifyAutoBackUpCommonInfo", req, cb);
|
|
361
421
|
}
|
|
362
422
|
/**
|
|
363
|
-
*
|
|
423
|
+
* 用于删除Logstash实例
|
|
364
424
|
*/
|
|
365
|
-
async
|
|
366
|
-
return this.request("
|
|
425
|
+
async DeleteLogstashInstance(req, cb) {
|
|
426
|
+
return this.request("DeleteLogstashInstance", req, cb);
|
|
367
427
|
}
|
|
368
428
|
/**
|
|
369
|
-
|
|
429
|
+
* 获取serverless实例对应指标,获取space维度时不需要传入indexid,获取index时不需要传入spaceid
|
|
430
|
+
获取一段时间时间范围内的指标数据
|
|
431
|
+
*/
|
|
432
|
+
async DescribeServerlessMetrics(req, cb) {
|
|
433
|
+
return this.request("DescribeServerlessMetrics", req, cb);
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* 修改自动备份快照策略
|
|
370
437
|
*/
|
|
371
|
-
async
|
|
372
|
-
return this.request("
|
|
438
|
+
async ModifyAutoBackUpStrategy(req, cb) {
|
|
439
|
+
return this.request("ModifyAutoBackUpStrategy", req, cb);
|
|
373
440
|
}
|
|
374
441
|
/**
|
|
375
|
-
*
|
|
442
|
+
* cos迁移流程
|
|
376
443
|
*/
|
|
377
|
-
async
|
|
378
|
-
return this.request("
|
|
444
|
+
async CreateCosMigrateToServerlessInstance(req, cb) {
|
|
445
|
+
return this.request("CreateCosMigrateToServerlessInstance", req, cb);
|
|
379
446
|
}
|
|
380
447
|
/**
|
|
381
|
-
*
|
|
448
|
+
* 更新实例Jdk配置
|
|
382
449
|
*/
|
|
383
|
-
async
|
|
384
|
-
return this.request("
|
|
450
|
+
async UpdateJdk(req, cb) {
|
|
451
|
+
return this.request("UpdateJdk", req, cb);
|
|
385
452
|
}
|
|
386
453
|
/**
|
|
387
|
-
*
|
|
454
|
+
* 查询IP溯源日志
|
|
388
455
|
*/
|
|
389
|
-
async
|
|
390
|
-
return this.request("
|
|
456
|
+
async QueryIpTraceLog(req, cb) {
|
|
457
|
+
return this.request("QueryIpTraceLog", req, cb);
|
|
391
458
|
}
|
|
392
459
|
/**
|
|
393
|
-
*
|
|
460
|
+
* 获取快照备份列表
|
|
394
461
|
*/
|
|
395
|
-
async
|
|
396
|
-
return this.request("
|
|
462
|
+
async DescribeClusterSnapshot(req, cb) {
|
|
463
|
+
return this.request("DescribeClusterSnapshot", req, cb);
|
|
397
464
|
}
|
|
398
465
|
/**
|
|
399
|
-
*
|
|
466
|
+
* 用于创建Logstash实例
|
|
400
467
|
*/
|
|
401
|
-
async
|
|
402
|
-
return this.request("
|
|
468
|
+
async CreateLogstashInstance(req, cb) {
|
|
469
|
+
return this.request("CreateLogstashInstance", req, cb);
|
|
403
470
|
}
|
|
404
471
|
/**
|
|
405
|
-
*
|
|
472
|
+
* 查询用户该地域下符合条件的ES集群的日志
|
|
406
473
|
*/
|
|
407
|
-
async
|
|
408
|
-
return this.request("
|
|
474
|
+
async DescribeInstanceLogs(req, cb) {
|
|
475
|
+
return this.request("DescribeInstanceLogs", req, cb);
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* 重启Kibana
|
|
479
|
+
*/
|
|
480
|
+
async RestartKibana(req, cb) {
|
|
481
|
+
return this.request("RestartKibana", req, cb);
|
|
409
482
|
}
|
|
410
483
|
/**
|
|
411
484
|
* 用于下发并且部署管道
|
|
@@ -414,70 +487,81 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
414
487
|
return this.request("SaveAndDeployLogstashPipeline", req, cb);
|
|
415
488
|
}
|
|
416
489
|
/**
|
|
417
|
-
*
|
|
490
|
+
* 获取自动扩盘参数
|
|
418
491
|
*/
|
|
419
|
-
async
|
|
420
|
-
return this.request("
|
|
492
|
+
async DescribeAutoScaleDiskInfo(req, cb) {
|
|
493
|
+
return this.request("DescribeAutoScaleDiskInfo", req, cb);
|
|
421
494
|
}
|
|
422
495
|
/**
|
|
423
|
-
|
|
496
|
+
* 对集群进行节点规格变更,修改实例名称,修改配置,等操作。参数中InstanceId为必传参数,参数传递组合及含义如下:
|
|
497
|
+
- InstanceName:修改实例名称(仅用于标识实例)
|
|
498
|
+
- NodeNum: 修改实例节点数量(节点横向扩缩容,纵向扩缩容等)
|
|
499
|
+
- YMLConfig: 修改实例YML配置
|
|
500
|
+
- BindedES:修改绑定的ES集群配置
|
|
501
|
+
以上参数组合只能传递一种,多传或少传均会导致请求失败
|
|
502
|
+
*/
|
|
503
|
+
async UpdateLogstashInstance(req, cb) {
|
|
504
|
+
return this.request("UpdateLogstashInstance", req, cb);
|
|
505
|
+
}
|
|
506
|
+
/**
|
|
507
|
+
* space维度的kibana获取登录token
|
|
424
508
|
*/
|
|
425
|
-
async
|
|
426
|
-
return this.request("
|
|
509
|
+
async DescribeSpaceKibanaTools(req, cb) {
|
|
510
|
+
return this.request("DescribeSpaceKibanaTools", req, cb);
|
|
427
511
|
}
|
|
428
512
|
/**
|
|
429
|
-
*
|
|
513
|
+
* 查询集群各视图数据,包括集群维度、节点维度、Kibana维度
|
|
430
514
|
*/
|
|
431
|
-
async
|
|
432
|
-
return this.request("
|
|
515
|
+
async DescribeViews(req, cb) {
|
|
516
|
+
return this.request("DescribeViews", req, cb);
|
|
433
517
|
}
|
|
434
518
|
/**
|
|
435
|
-
*
|
|
519
|
+
* 更新Serverless索引
|
|
436
520
|
*/
|
|
437
|
-
async
|
|
438
|
-
return this.request("
|
|
521
|
+
async UpdateServerlessInstance(req, cb) {
|
|
522
|
+
return this.request("UpdateServerlessInstance", req, cb);
|
|
439
523
|
}
|
|
440
524
|
/**
|
|
441
|
-
*
|
|
525
|
+
* 用于批量删除Logstash管道
|
|
442
526
|
*/
|
|
443
|
-
async
|
|
444
|
-
return this.request("
|
|
527
|
+
async DeleteLogstashPipelines(req, cb) {
|
|
528
|
+
return this.request("DeleteLogstashPipelines", req, cb);
|
|
445
529
|
}
|
|
446
530
|
/**
|
|
447
|
-
*
|
|
531
|
+
* 查询事件详情
|
|
448
532
|
*/
|
|
449
|
-
async
|
|
450
|
-
return this.request("
|
|
533
|
+
async DescribeEventDataDetail(req, cb) {
|
|
534
|
+
return this.request("DescribeEventDataDetail", req, cb);
|
|
451
535
|
}
|
|
452
536
|
/**
|
|
453
|
-
*
|
|
537
|
+
* 获取集群节点磁盘大小上下限
|
|
454
538
|
*/
|
|
455
|
-
async
|
|
456
|
-
return this.request("
|
|
539
|
+
async DescribeClusterDiskRange(req, cb) {
|
|
540
|
+
return this.request("DescribeClusterDiskRange", req, cb);
|
|
457
541
|
}
|
|
458
542
|
/**
|
|
459
|
-
*
|
|
543
|
+
* 升级ES集群版本
|
|
460
544
|
*/
|
|
461
|
-
async
|
|
462
|
-
return this.request("
|
|
545
|
+
async UpgradeInstance(req, cb) {
|
|
546
|
+
return this.request("UpgradeInstance", req, cb);
|
|
463
547
|
}
|
|
464
548
|
/**
|
|
465
|
-
*
|
|
549
|
+
* 删除快照仓库里备份的快照
|
|
466
550
|
*/
|
|
467
|
-
async
|
|
468
|
-
return this.request("
|
|
551
|
+
async DeleteClusterSnapshot(req, cb) {
|
|
552
|
+
return this.request("DeleteClusterSnapshot", req, cb);
|
|
469
553
|
}
|
|
470
554
|
/**
|
|
471
|
-
*
|
|
555
|
+
* 获取集群自动备份策略概览
|
|
472
556
|
*/
|
|
473
|
-
async
|
|
474
|
-
return this.request("
|
|
557
|
+
async DescribeCosBackupStrategyViews(req, cb) {
|
|
558
|
+
return this.request("DescribeCosBackupStrategyViews", req, cb);
|
|
475
559
|
}
|
|
476
560
|
/**
|
|
477
|
-
*
|
|
561
|
+
* 获取索引元数据
|
|
478
562
|
*/
|
|
479
|
-
async
|
|
480
|
-
return this.request("
|
|
563
|
+
async DescribeIndexMeta(req, cb) {
|
|
564
|
+
return this.request("DescribeIndexMeta", req, cb);
|
|
481
565
|
}
|
|
482
566
|
}
|
|
483
567
|
exports.Client = Client;
|