tencentcloud-sdk-nodejs 4.0.379 → 4.0.380
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 +166 -0
- package/SERVICE_CHANGELOG.md +204 -136
- package/package.json +1 -1
- package/products.md +11 -11
- package/src/common/sdk_version.ts +1 -1
- package/src/services/acp/v20220105/acp_models.ts +16 -16
- package/src/services/emr/v20190103/emr_models.ts +5 -0
- package/src/services/es/v20180416/es_client.ts +248 -81
- package/src/services/es/v20180416/es_models.ts +2027 -1170
- package/src/services/gaap/v20180529/gaap_client.ts +25 -1
- package/src/services/gaap/v20180529/gaap_models.ts +62 -32
- package/src/services/iotvideo/v20211125/iotvideo_client.ts +38 -12
- package/src/services/iotvideo/v20211125/iotvideo_models.ts +206 -20
- package/src/services/mmps/v20200710/mmps_models.ts +6 -6
- package/src/services/rum/v20210622/rum_models.ts +1 -1
- package/src/services/ssl/v20191205/ssl_models.ts +12 -1
- package/src/services/tan/v20220420/tan_client.ts +1 -1
- package/src/services/waf/v20180125/waf_client.ts +14 -28
- package/src/services/waf/v20180125/waf_models.ts +27 -147
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/acp/v20220105/acp_models.d.ts +16 -16
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +4 -0
- package/tencentcloud/services/es/v20180416/es_client.d.ts +66 -9
- package/tencentcloud/services/es/v20180416/es_client.js +95 -12
- package/tencentcloud/services/es/v20180416/es_models.d.ts +2000 -1278
- package/tencentcloud/services/gaap/v20180529/gaap_client.d.ts +9 -1
- package/tencentcloud/services/gaap/v20180529/gaap_client.js +12 -0
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +53 -27
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_client.d.ts +13 -5
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_client.js +18 -6
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +172 -17
- package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +6 -6
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +1 -1
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +10 -1
- package/tencentcloud/services/tan/v20220420/tan_client.d.ts +1 -1
- package/tencentcloud/services/tan/v20220420/tan_client.js +1 -1
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -9
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -12
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +24 -124
- package/test/es.v20180416.test.js +138 -8
- package/test/gaap.v20180529.test.js +20 -0
- package/test/iotvideo.v20211125.test.js +26 -6
- package/test/waf.v20180125.test.js +4 -14
package/products.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|-|-|-|
|
|
3
3
|
| aa | [活动防刷](https://cloud.tencent.com/document/product/1189) | 2022-04-04 06:03:06 |
|
|
4
4
|
| aai | [](https://cloud.tencent.com/document/product) | 2019-08-08 23:15:13 |
|
|
5
|
-
| acp | [应用合规平台](https://cloud.tencent.com/document/product/1553) | 2022-
|
|
5
|
+
| acp | [应用合规平台](https://cloud.tencent.com/document/product/1553) | 2022-07-13 17:28:40 |
|
|
6
6
|
| advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2022-06-08 06:03:05 |
|
|
7
7
|
| af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2022-05-23 06:01:54 |
|
|
8
8
|
| afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-05-23 06:01:56 |
|
|
@@ -82,15 +82,15 @@
|
|
|
82
82
|
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2022-06-24 06:11:32 |
|
|
83
83
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2022-05-13 06:11:29 |
|
|
84
84
|
| eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2022-06-16 06:06:58 |
|
|
85
|
-
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-
|
|
86
|
-
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-07-
|
|
85
|
+
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-07-14 06:10:00 |
|
|
86
|
+
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-07-14 06:10:06 |
|
|
87
87
|
| ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-07-12 06:11:06 |
|
|
88
88
|
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-07-11 06:12:12 |
|
|
89
89
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-06-15 06:09:10 |
|
|
90
90
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-06-02 06:08:18 |
|
|
91
91
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2022-04-04 06:43:06 |
|
|
92
92
|
| ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2022-04-04 06:43:12 |
|
|
93
|
-
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2022-07-
|
|
93
|
+
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2022-07-14 06:10:30 |
|
|
94
94
|
| gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2022-04-04 06:44:28 |
|
|
95
95
|
| gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-07-11 06:12:36 |
|
|
96
96
|
| gs | [云游戏解决方案](https://cloud.tencent.com/document/product/1162) | 2022-04-08 06:07:59 |
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2022-05-27 06:10:42 |
|
|
109
109
|
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2022-06-08 06:10:59 |
|
|
110
110
|
| iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2022-04-04 06:49:46 |
|
|
111
|
-
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2022-07-
|
|
111
|
+
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2022-07-13 11:20:10 |
|
|
112
112
|
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2022-04-04 06:51:27 |
|
|
113
113
|
| irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2022-07-13 06:13:00 |
|
|
114
114
|
| ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2022-06-10 17:14:46 |
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
| market | [云市场](https://cloud.tencent.com/document/product/306) | 2022-04-04 06:57:43 |
|
|
122
122
|
| memcached | [云数据库 Memcached](https://cloud.tencent.com/document/product/241) | 2022-04-04 06:57:44 |
|
|
123
123
|
| mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 |
|
|
124
|
-
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2022-
|
|
124
|
+
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2022-07-13 17:35:00 |
|
|
125
125
|
| mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2022-04-04 06:57:51 |
|
|
126
126
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-06-07 06:10:21 |
|
|
127
127
|
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-06-28 06:13:35 |
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
| redis | [云数据库 Redis](https://cloud.tencent.com/document/product/239) | 2022-07-13 06:15:09 |
|
|
144
144
|
| rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2022-04-04 07:04:04 |
|
|
145
145
|
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
|
|
146
|
-
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2022-07-
|
|
146
|
+
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2022-07-14 06:14:27 |
|
|
147
147
|
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2022-05-19 06:16:44 |
|
|
148
148
|
| ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2022-06-15 06:13:30 |
|
|
149
149
|
| smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2022-04-25 06:11:28 |
|
|
@@ -153,13 +153,13 @@
|
|
|
153
153
|
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
|
|
154
154
|
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2022-06-07 06:12:09 |
|
|
155
155
|
| ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2022-04-22 06:14:46 |
|
|
156
|
-
| ssl | [证书](https://cloud.tencent.com/document/product/400) | 2022-
|
|
156
|
+
| ssl | [证书](https://cloud.tencent.com/document/product/400) | 2022-07-14 06:15:09 |
|
|
157
157
|
| sslpod | [SSL 证书监控](https://cloud.tencent.com/document/product/1084) | 2022-04-04 07:07:55 |
|
|
158
158
|
| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2022-04-04 07:08:00 |
|
|
159
159
|
| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2022-07-07 06:15:25 |
|
|
160
|
-
| taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2022-07-
|
|
160
|
+
| taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2022-07-14 06:15:21 |
|
|
161
161
|
| tag | [标签](https://cloud.tencent.com/document/product/651) | 2022-04-08 06:12:35 |
|
|
162
|
-
| tan | [碳引擎](https://cloud.tencent.com/document/product/1498) | 2022-
|
|
162
|
+
| tan | [碳引擎](https://cloud.tencent.com/document/product/1498) | 2022-07-13 15:54:56 |
|
|
163
163
|
| tat | [腾讯云自动化助手](https://cloud.tencent.com/document/product/1340) | 2022-04-08 06:12:44 |
|
|
164
164
|
| tav | [文件检测](https://cloud.tencent.com/document/product) | 2019-11-28 22:10:04 |
|
|
165
165
|
| tbaas | [TBaaS](https://cloud.tencent.com/document/product/663) | 2022-06-20 15:31:45 |
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
|
|
203
203
|
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-07-12 06:19:53 |
|
|
204
204
|
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-07-05 06:24:34 |
|
|
205
|
-
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-
|
|
205
|
+
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-07-14 06:19:27 |
|
|
206
206
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-04-04 07:39:05 |
|
|
207
207
|
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2022-07-04 06:20:00 |
|
|
208
208
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.380"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
*/
|
|
21
21
|
export interface CreateAppScanTaskRepeatRequest {
|
|
22
22
|
/**
|
|
23
|
-
* 任务来源, 0
|
|
23
|
+
* 任务来源, 0:小程序诊断, 1:预留字段(暂未使用), 2:app诊断(android);
|
|
24
24
|
*/
|
|
25
25
|
Source: number
|
|
26
26
|
|
|
@@ -45,17 +45,17 @@ export interface CreateAppScanTaskRepeatRequest {
|
|
|
45
45
|
AppPackage?: string
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* 上传的文件ID(
|
|
48
|
+
* 上传的文件ID(任务来源为1时必填)
|
|
49
49
|
*/
|
|
50
50
|
FileID?: string
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
|
-
* 软件下载链接地址(
|
|
53
|
+
* 软件下载链接地址(任务来源为2时必填)
|
|
54
54
|
*/
|
|
55
55
|
AppDownloadUrl?: string
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
* 隐私文本下载地址(
|
|
58
|
+
* 隐私文本下载地址(任务来源为2时必填)
|
|
59
59
|
*/
|
|
60
60
|
PrivacyTextUrl?: string
|
|
61
61
|
|
|
@@ -196,7 +196,7 @@ export interface DescribeResourceUsageInfoResponse {
|
|
|
196
196
|
*/
|
|
197
197
|
export interface DescribeScanTaskListRequest {
|
|
198
198
|
/**
|
|
199
|
-
* 任务来源, -1:所有, 0
|
|
199
|
+
* 任务来源, -1:所有, 0:小程序诊断, 1:预留字段(暂未使用), 2:app诊断(android);
|
|
200
200
|
*/
|
|
201
201
|
Source: number
|
|
202
202
|
|
|
@@ -310,7 +310,7 @@ export interface CreateAppScanTaskRequest {
|
|
|
310
310
|
TaskType: number
|
|
311
311
|
|
|
312
312
|
/**
|
|
313
|
-
* 任务来源, 0
|
|
313
|
+
* 任务来源, 0:小程序诊断, 1:预留字段(暂未使用), 2:app诊断(android);
|
|
314
314
|
*/
|
|
315
315
|
Source: number
|
|
316
316
|
|
|
@@ -335,17 +335,17 @@ export interface CreateAppScanTaskRequest {
|
|
|
335
335
|
AppVersion?: string
|
|
336
336
|
|
|
337
337
|
/**
|
|
338
|
-
* 上传的软件文件ID(
|
|
338
|
+
* 上传的软件文件ID(任务来源为1时必填)
|
|
339
339
|
*/
|
|
340
340
|
FileID?: string
|
|
341
341
|
|
|
342
342
|
/**
|
|
343
|
-
* 软件下载链接地址(
|
|
343
|
+
* 软件下载链接地址(任务来源为2时必填)
|
|
344
344
|
*/
|
|
345
345
|
AppDownloadUrl?: string
|
|
346
346
|
|
|
347
347
|
/**
|
|
348
|
-
* 隐私文本下载地址(
|
|
348
|
+
* 隐私文本下载地址(任务来源为2时必填)
|
|
349
349
|
*/
|
|
350
350
|
PrivacyTextUrl?: string
|
|
351
351
|
|
|
@@ -432,18 +432,18 @@ export interface DescribeFileTicketResponse {
|
|
|
432
432
|
Result: number
|
|
433
433
|
|
|
434
434
|
/**
|
|
435
|
-
* 上传url(
|
|
435
|
+
* 上传url(任务来源为2时:Post方法(100:apk,101:txt), 任务来源为1时:put方法)
|
|
436
436
|
*/
|
|
437
437
|
UploadUrl: string
|
|
438
438
|
|
|
439
439
|
/**
|
|
440
|
-
* 上传url鉴权信息(
|
|
440
|
+
* 上传url鉴权信息(任务来源为1时上传需要, Authorization参数值)
|
|
441
441
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
442
442
|
*/
|
|
443
443
|
UploadSign: string
|
|
444
444
|
|
|
445
445
|
/**
|
|
446
|
-
* 上传文件ID(
|
|
446
|
+
* 上传文件ID(任务来源为1时提交诊断任务需要)
|
|
447
447
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
448
448
|
*/
|
|
449
449
|
FildID: string
|
|
@@ -459,7 +459,7 @@ export interface DescribeFileTicketResponse {
|
|
|
459
459
|
*/
|
|
460
460
|
export interface DescribeScanTaskReportUrlRequest {
|
|
461
461
|
/**
|
|
462
|
-
* 任务来源, 0
|
|
462
|
+
* 任务来源, 0:小程序诊断, 1:预留字段(暂未使用), 2:app诊断(android);
|
|
463
463
|
*/
|
|
464
464
|
Source: number
|
|
465
465
|
|
|
@@ -510,7 +510,7 @@ export interface AppTaskData {
|
|
|
510
510
|
TaskErrMsg: string
|
|
511
511
|
|
|
512
512
|
/**
|
|
513
|
-
* 任务来源,0
|
|
513
|
+
* 任务来源,0:小程序诊断, 1:预留字段(暂未使用), 2:app诊断(android)
|
|
514
514
|
*/
|
|
515
515
|
Source: number
|
|
516
516
|
|
|
@@ -541,7 +541,7 @@ export interface AppTaskData {
|
|
|
541
541
|
*/
|
|
542
542
|
export interface DescribeScanTaskStatusRequest {
|
|
543
543
|
/**
|
|
544
|
-
* 任务来源, 0
|
|
544
|
+
* 任务来源, 0:小程序诊断, 1:预留字段(暂未使用), 2:app诊断(android);
|
|
545
545
|
*/
|
|
546
546
|
Source: number
|
|
547
547
|
|
|
@@ -566,7 +566,7 @@ export interface DescribeScanTaskStatusRequest {
|
|
|
566
566
|
*/
|
|
567
567
|
export interface DescribeFileTicketRequest {
|
|
568
568
|
/**
|
|
569
|
-
* 任务来源, 0
|
|
569
|
+
* 任务来源, 0:小程序诊断, 1:预留字段(暂未使用), 2:app诊断(android);
|
|
570
570
|
*/
|
|
571
571
|
Source: number
|
|
572
572
|
|
|
@@ -18,84 +18,116 @@
|
|
|
18
18
|
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
LocalDiskInfo,
|
|
24
|
-
IndexPolicyField,
|
|
25
|
-
NodeInfo,
|
|
26
|
-
UpgradeInstanceResponse,
|
|
27
|
-
UpdateDiagnoseSettingsResponse,
|
|
28
|
-
DescribeIndexMetaResponse,
|
|
29
|
-
UpdateInstanceResponse,
|
|
21
|
+
TaskDetail,
|
|
22
|
+
RestartLogstashInstanceRequest,
|
|
30
23
|
DescribeInstanceOperationsRequest,
|
|
31
|
-
|
|
32
|
-
CreateIndexResponse,
|
|
24
|
+
LogstashInstanceInfo,
|
|
33
25
|
OperationDetail,
|
|
34
|
-
|
|
35
|
-
KibanaView,
|
|
26
|
+
StartLogstashPipelinesRequest,
|
|
36
27
|
EsPublicAcl,
|
|
37
|
-
BackingIndexMetaField,
|
|
38
28
|
DictInfo,
|
|
39
|
-
|
|
40
|
-
RestartKibanaRequest,
|
|
29
|
+
DescribeLogstashInstanceLogsResponse,
|
|
41
30
|
CreateInstanceResponse,
|
|
42
|
-
IndexSettingsField,
|
|
43
31
|
DescribeInstanceLogsRequest,
|
|
44
|
-
|
|
45
|
-
|
|
32
|
+
DeleteLogstashPipelinesResponse,
|
|
33
|
+
KeyValue,
|
|
34
|
+
UpdateLogstashPipelineDescResponse,
|
|
35
|
+
DescribeInstancesResponse,
|
|
36
|
+
DescribeInstanceLogsResponse,
|
|
37
|
+
IndexMetaField,
|
|
38
|
+
DiagnoseInstanceRequest,
|
|
39
|
+
LogstashBindedES,
|
|
40
|
+
UpdateDiagnoseSettingsRequest,
|
|
41
|
+
DescribeInstanceOperationsResponse,
|
|
42
|
+
IndexOptionsField,
|
|
43
|
+
UpdateRequestTargetNodeTypesResponse,
|
|
44
|
+
DeleteLogstashInstanceResponse,
|
|
45
|
+
LogstashPipeline,
|
|
46
|
+
SubTaskDetail,
|
|
47
|
+
EsConfigSetInfo,
|
|
48
|
+
GetRequestTargetNodeTypesResponse,
|
|
49
|
+
Operation,
|
|
50
|
+
InstanceLog,
|
|
51
|
+
NodeInfo,
|
|
52
|
+
DescribeIndexMetaResponse,
|
|
53
|
+
DiagnoseInstanceResponse,
|
|
54
|
+
LogstashNodeInfo,
|
|
55
|
+
IndexSettingsField,
|
|
56
|
+
UpgradeLicenseResponse,
|
|
57
|
+
LogstashExtendedFile,
|
|
58
|
+
UpdateLogstashInstanceRequest,
|
|
46
59
|
UpdateRequestTargetNodeTypesRequest,
|
|
47
|
-
|
|
48
|
-
|
|
60
|
+
DescribeLogstashInstancesResponse,
|
|
61
|
+
DeleteInstanceResponse,
|
|
62
|
+
DescribeLogstashInstanceOperationsResponse,
|
|
63
|
+
CreateIndexRequest,
|
|
64
|
+
LogstashPipelineInfo,
|
|
65
|
+
UpdatePluginsRequest,
|
|
66
|
+
UpgradeLicenseRequest,
|
|
67
|
+
UpdateJdkResponse,
|
|
68
|
+
UpdateInstanceResponse,
|
|
69
|
+
DeleteIndexRequest,
|
|
70
|
+
DescribeViewsRequest,
|
|
71
|
+
DescribeIndexListResponse,
|
|
72
|
+
StartLogstashPipelinesResponse,
|
|
73
|
+
DescribeLogstashInstanceOperationsRequest,
|
|
74
|
+
CreateLogstashInstanceResponse,
|
|
75
|
+
SaveAndDeployLogstashPipelineRequest,
|
|
76
|
+
ClusterView,
|
|
77
|
+
CreateIndexResponse,
|
|
78
|
+
DeleteLogstashPipelinesRequest,
|
|
79
|
+
RestartKibanaRequest,
|
|
49
80
|
DescribeIndexListRequest,
|
|
81
|
+
UpdateDictionariesRequest,
|
|
50
82
|
CosBackup,
|
|
51
|
-
|
|
52
|
-
|
|
83
|
+
SaveAndDeployLogstashPipelineResponse,
|
|
84
|
+
OperationDuration,
|
|
85
|
+
DescribeLogstashPipelinesResponse,
|
|
86
|
+
OperationDurationUpdated,
|
|
53
87
|
CreateInstanceRequest,
|
|
88
|
+
CreateLogstashInstanceRequest,
|
|
54
89
|
UpdateDictionariesResponse,
|
|
55
90
|
InstanceInfo,
|
|
56
|
-
|
|
57
|
-
DescribeInstancesResponse,
|
|
58
|
-
DescribeInstanceLogsResponse,
|
|
59
|
-
IndexMetaField,
|
|
91
|
+
DeleteIndexResponse,
|
|
60
92
|
UpdatePluginsResponse,
|
|
61
|
-
DiagnoseInstanceRequest,
|
|
62
|
-
RestartInstanceRequest,
|
|
63
|
-
RestartKibanaResponse,
|
|
64
93
|
DescribeInstancesRequest,
|
|
65
|
-
CreateIndexRequest,
|
|
66
|
-
ClusterView,
|
|
67
|
-
UpdateInstanceRequest,
|
|
68
94
|
EsDictionaryInfo,
|
|
69
|
-
|
|
95
|
+
DescribeLogstashPipelinesRequest,
|
|
70
96
|
RestartNodesRequest,
|
|
71
|
-
UpdatePluginsRequest,
|
|
72
97
|
GetRequestTargetNodeTypesRequest,
|
|
73
|
-
|
|
74
|
-
OperationDurationUpdated,
|
|
75
|
-
UpgradeLicenseResponse,
|
|
76
|
-
EsAcl,
|
|
77
|
-
UpdateIndexRequest,
|
|
98
|
+
DescribeLogstashInstancesRequest,
|
|
78
99
|
MasterNodeInfo,
|
|
79
|
-
IndexOptionsField,
|
|
80
|
-
TaskDetail,
|
|
81
100
|
DeleteInstanceRequest,
|
|
82
|
-
|
|
83
|
-
UpdateJdkResponse,
|
|
84
|
-
RestartNodesResponse,
|
|
85
|
-
SubTaskDetail,
|
|
101
|
+
UpgradeInstanceResponse,
|
|
86
102
|
DescribeIndexMetaRequest,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
DeleteIndexRequest,
|
|
90
|
-
EsConfigSetInfo,
|
|
91
|
-
DescribeViewsRequest,
|
|
92
|
-
GetRequestTargetNodeTypesResponse,
|
|
93
|
-
UpdateDiagnoseSettingsRequest,
|
|
94
|
-
DescribeIndexListResponse,
|
|
95
|
-
Operation,
|
|
103
|
+
RestartKibanaResponse,
|
|
104
|
+
UpdateIndexRequest,
|
|
96
105
|
UpdateIndexResponse,
|
|
97
|
-
|
|
98
|
-
|
|
106
|
+
WebNodeTypeInfo,
|
|
107
|
+
LocalDiskInfo,
|
|
108
|
+
IndexPolicyField,
|
|
109
|
+
UpdateJdkRequest,
|
|
110
|
+
UpdateLogstashInstanceResponse,
|
|
111
|
+
StopLogstashPipelinesRequest,
|
|
112
|
+
KibanaView,
|
|
113
|
+
RestartInstanceResponse,
|
|
114
|
+
BackingIndexMetaField,
|
|
115
|
+
UpdateLogstashPipelineDescRequest,
|
|
116
|
+
NodeView,
|
|
117
|
+
TagInfo,
|
|
118
|
+
UpdateInstanceRequest,
|
|
119
|
+
DescribeLogstashInstanceLogsRequest,
|
|
120
|
+
RestartInstanceRequest,
|
|
121
|
+
ZoneDetail,
|
|
122
|
+
StopLogstashPipelinesResponse,
|
|
123
|
+
KibanaNodeInfo,
|
|
124
|
+
UpdateDiagnoseSettingsResponse,
|
|
125
|
+
EsAcl,
|
|
126
|
+
RestartNodesResponse,
|
|
127
|
+
DeleteLogstashInstanceRequest,
|
|
128
|
+
UpgradeInstanceRequest,
|
|
129
|
+
DescribeViewsResponse,
|
|
130
|
+
RestartLogstashInstanceResponse,
|
|
99
131
|
} from "./es_models"
|
|
100
132
|
|
|
101
133
|
/**
|
|
@@ -117,6 +149,26 @@ export class Client extends AbstractClient {
|
|
|
117
149
|
return this.request("DiagnoseInstance", req, cb)
|
|
118
150
|
}
|
|
119
151
|
|
|
152
|
+
/**
|
|
153
|
+
* 用于删除Logstash实例
|
|
154
|
+
*/
|
|
155
|
+
async DeleteLogstashInstance(
|
|
156
|
+
req: DeleteLogstashInstanceRequest,
|
|
157
|
+
cb?: (error: string, rep: DeleteLogstashInstanceResponse) => void
|
|
158
|
+
): Promise<DeleteLogstashInstanceResponse> {
|
|
159
|
+
return this.request("DeleteLogstashInstance", req, cb)
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* 更新索引
|
|
164
|
+
*/
|
|
165
|
+
async UpdateIndex(
|
|
166
|
+
req: UpdateIndexRequest,
|
|
167
|
+
cb?: (error: string, rep: UpdateIndexResponse) => void
|
|
168
|
+
): Promise<UpdateIndexResponse> {
|
|
169
|
+
return this.request("UpdateIndex", req, cb)
|
|
170
|
+
}
|
|
171
|
+
|
|
120
172
|
/**
|
|
121
173
|
* 获取接收客户端请求的节点类型
|
|
122
174
|
*/
|
|
@@ -127,6 +179,16 @@ export class Client extends AbstractClient {
|
|
|
127
179
|
return this.request("GetRequestTargetNodeTypes", req, cb)
|
|
128
180
|
}
|
|
129
181
|
|
|
182
|
+
/**
|
|
183
|
+
* 用于批量停止Logstash管道
|
|
184
|
+
*/
|
|
185
|
+
async StopLogstashPipelines(
|
|
186
|
+
req: StopLogstashPipelinesRequest,
|
|
187
|
+
cb?: (error: string, rep: StopLogstashPipelinesResponse) => void
|
|
188
|
+
): Promise<StopLogstashPipelinesResponse> {
|
|
189
|
+
return this.request("StopLogstashPipelines", req, cb)
|
|
190
|
+
}
|
|
191
|
+
|
|
130
192
|
/**
|
|
131
193
|
* 获取索引列表
|
|
132
194
|
*/
|
|
@@ -157,6 +219,16 @@ export class Client extends AbstractClient {
|
|
|
157
219
|
return this.request("CreateIndex", req, cb)
|
|
158
220
|
}
|
|
159
221
|
|
|
222
|
+
/**
|
|
223
|
+
* 更新接收客户端请求的节点类型
|
|
224
|
+
*/
|
|
225
|
+
async UpdateRequestTargetNodeTypes(
|
|
226
|
+
req: UpdateRequestTargetNodeTypesRequest,
|
|
227
|
+
cb?: (error: string, rep: UpdateRequestTargetNodeTypesResponse) => void
|
|
228
|
+
): Promise<UpdateRequestTargetNodeTypesResponse> {
|
|
229
|
+
return this.request("UpdateRequestTargetNodeTypes", req, cb)
|
|
230
|
+
}
|
|
231
|
+
|
|
160
232
|
/**
|
|
161
233
|
* 更新智能运维配置
|
|
162
234
|
*/
|
|
@@ -187,6 +259,21 @@ export class Client extends AbstractClient {
|
|
|
187
259
|
return this.request("UpdatePlugins", req, cb)
|
|
188
260
|
}
|
|
189
261
|
|
|
262
|
+
/**
|
|
263
|
+
* 对集群进行节点规格变更,修改实例名称,修改配置,等操作。参数中InstanceId为必传参数,参数传递组合及含义如下:
|
|
264
|
+
- InstanceName:修改实例名称(仅用于标识实例)
|
|
265
|
+
- NodeNum: 修改实例节点数量(节点横向扩缩容,纵向扩缩容等)
|
|
266
|
+
- YMLConfig: 修改实例YML配置
|
|
267
|
+
- BindedES:修改绑定的ES集群配置
|
|
268
|
+
以上参数组合只能传递一种,多传或少传均会导致请求失败
|
|
269
|
+
*/
|
|
270
|
+
async UpdateLogstashInstance(
|
|
271
|
+
req: UpdateLogstashInstanceRequest,
|
|
272
|
+
cb?: (error: string, rep: UpdateLogstashInstanceResponse) => void
|
|
273
|
+
): Promise<UpdateLogstashInstanceResponse> {
|
|
274
|
+
return this.request("UpdateLogstashInstance", req, cb)
|
|
275
|
+
}
|
|
276
|
+
|
|
190
277
|
/**
|
|
191
278
|
* 更新实例Jdk配置
|
|
192
279
|
*/
|
|
@@ -214,6 +301,16 @@ export class Client extends AbstractClient {
|
|
|
214
301
|
return this.request("UpdateInstance", req, cb)
|
|
215
302
|
}
|
|
216
303
|
|
|
304
|
+
/**
|
|
305
|
+
* 用于创建Logstash实例
|
|
306
|
+
*/
|
|
307
|
+
async CreateLogstashInstance(
|
|
308
|
+
req: CreateLogstashInstanceRequest,
|
|
309
|
+
cb?: (error: string, rep: CreateLogstashInstanceResponse) => void
|
|
310
|
+
): Promise<CreateLogstashInstanceResponse> {
|
|
311
|
+
return this.request("CreateLogstashInstance", req, cb)
|
|
312
|
+
}
|
|
313
|
+
|
|
217
314
|
/**
|
|
218
315
|
* 重启ES集群实例(用于系统版本更新等操作)
|
|
219
316
|
*/
|
|
@@ -245,23 +342,33 @@ export class Client extends AbstractClient {
|
|
|
245
342
|
}
|
|
246
343
|
|
|
247
344
|
/**
|
|
248
|
-
*
|
|
345
|
+
* 用于下发并且部署管道
|
|
249
346
|
*/
|
|
250
|
-
async
|
|
251
|
-
req:
|
|
252
|
-
cb?: (error: string, rep:
|
|
253
|
-
): Promise<
|
|
254
|
-
return this.request("
|
|
347
|
+
async SaveAndDeployLogstashPipeline(
|
|
348
|
+
req: SaveAndDeployLogstashPipelineRequest,
|
|
349
|
+
cb?: (error: string, rep: SaveAndDeployLogstashPipelineResponse) => void
|
|
350
|
+
): Promise<SaveAndDeployLogstashPipelineResponse> {
|
|
351
|
+
return this.request("SaveAndDeployLogstashPipeline", req, cb)
|
|
255
352
|
}
|
|
256
353
|
|
|
257
354
|
/**
|
|
258
|
-
*
|
|
355
|
+
* 查询实例指定条件下的操作记录
|
|
259
356
|
*/
|
|
260
|
-
async
|
|
261
|
-
req:
|
|
262
|
-
cb?: (error: string, rep:
|
|
263
|
-
): Promise<
|
|
264
|
-
return this.request("
|
|
357
|
+
async DescribeLogstashInstanceOperations(
|
|
358
|
+
req: DescribeLogstashInstanceOperationsRequest,
|
|
359
|
+
cb?: (error: string, rep: DescribeLogstashInstanceOperationsResponse) => void
|
|
360
|
+
): Promise<DescribeLogstashInstanceOperationsResponse> {
|
|
361
|
+
return this.request("DescribeLogstashInstanceOperations", req, cb)
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* 用于启动Logstash管道
|
|
366
|
+
*/
|
|
367
|
+
async StartLogstashPipelines(
|
|
368
|
+
req: StartLogstashPipelinesRequest,
|
|
369
|
+
cb?: (error: string, rep: StartLogstashPipelinesResponse) => void
|
|
370
|
+
): Promise<StartLogstashPipelinesResponse> {
|
|
371
|
+
return this.request("StartLogstashPipelines", req, cb)
|
|
265
372
|
}
|
|
266
373
|
|
|
267
374
|
/**
|
|
@@ -274,6 +381,36 @@ export class Client extends AbstractClient {
|
|
|
274
381
|
return this.request("DescribeInstanceOperations", req, cb)
|
|
275
382
|
}
|
|
276
383
|
|
|
384
|
+
/**
|
|
385
|
+
* 用于获取Logstash实例管道列表
|
|
386
|
+
*/
|
|
387
|
+
async DescribeLogstashPipelines(
|
|
388
|
+
req: DescribeLogstashPipelinesRequest,
|
|
389
|
+
cb?: (error: string, rep: DescribeLogstashPipelinesResponse) => void
|
|
390
|
+
): Promise<DescribeLogstashPipelinesResponse> {
|
|
391
|
+
return this.request("DescribeLogstashPipelines", req, cb)
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* 查询用户该地域下符合条件的所有Logstash实例
|
|
396
|
+
*/
|
|
397
|
+
async DescribeLogstashInstances(
|
|
398
|
+
req: DescribeLogstashInstancesRequest,
|
|
399
|
+
cb?: (error: string, rep: DescribeLogstashInstancesResponse) => void
|
|
400
|
+
): Promise<DescribeLogstashInstancesResponse> {
|
|
401
|
+
return this.request("DescribeLogstashInstances", req, cb)
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* 用于更新管道描述信息
|
|
406
|
+
*/
|
|
407
|
+
async UpdateLogstashPipelineDesc(
|
|
408
|
+
req: UpdateLogstashPipelineDescRequest,
|
|
409
|
+
cb?: (error: string, rep: UpdateLogstashPipelineDescResponse) => void
|
|
410
|
+
): Promise<UpdateLogstashPipelineDescResponse> {
|
|
411
|
+
return this.request("UpdateLogstashPipelineDesc", req, cb)
|
|
412
|
+
}
|
|
413
|
+
|
|
277
414
|
/**
|
|
278
415
|
* 查询集群各视图数据,包括集群维度、节点维度、Kibana维度
|
|
279
416
|
*/
|
|
@@ -295,13 +432,23 @@ export class Client extends AbstractClient {
|
|
|
295
432
|
}
|
|
296
433
|
|
|
297
434
|
/**
|
|
298
|
-
*
|
|
435
|
+
* 升级ES集群版本
|
|
299
436
|
*/
|
|
300
|
-
async
|
|
301
|
-
req:
|
|
302
|
-
cb?: (error: string, rep:
|
|
303
|
-
): Promise<
|
|
304
|
-
return this.request("
|
|
437
|
+
async UpgradeInstance(
|
|
438
|
+
req: UpgradeInstanceRequest,
|
|
439
|
+
cb?: (error: string, rep: UpgradeInstanceResponse) => void
|
|
440
|
+
): Promise<UpgradeInstanceResponse> {
|
|
441
|
+
return this.request("UpgradeInstance", req, cb)
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* 用于批量删除Logstash管道
|
|
446
|
+
*/
|
|
447
|
+
async DeleteLogstashPipelines(
|
|
448
|
+
req: DeleteLogstashPipelinesRequest,
|
|
449
|
+
cb?: (error: string, rep: DeleteLogstashPipelinesResponse) => void
|
|
450
|
+
): Promise<DeleteLogstashPipelinesResponse> {
|
|
451
|
+
return this.request("DeleteLogstashPipelines", req, cb)
|
|
305
452
|
}
|
|
306
453
|
|
|
307
454
|
/**
|
|
@@ -325,13 +472,33 @@ export class Client extends AbstractClient {
|
|
|
325
472
|
}
|
|
326
473
|
|
|
327
474
|
/**
|
|
328
|
-
*
|
|
475
|
+
* 用于重启Logstash实例
|
|
329
476
|
*/
|
|
330
|
-
async
|
|
331
|
-
req:
|
|
332
|
-
cb?: (error: string, rep:
|
|
333
|
-
): Promise<
|
|
334
|
-
return this.request("
|
|
477
|
+
async RestartLogstashInstance(
|
|
478
|
+
req: RestartLogstashInstanceRequest,
|
|
479
|
+
cb?: (error: string, rep: RestartLogstashInstanceResponse) => void
|
|
480
|
+
): Promise<RestartLogstashInstanceResponse> {
|
|
481
|
+
return this.request("RestartLogstashInstance", req, cb)
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* 查询用户该地域下符合条件的Logstash实例的日志
|
|
486
|
+
*/
|
|
487
|
+
async DescribeLogstashInstanceLogs(
|
|
488
|
+
req: DescribeLogstashInstanceLogsRequest,
|
|
489
|
+
cb?: (error: string, rep: DescribeLogstashInstanceLogsResponse) => void
|
|
490
|
+
): Promise<DescribeLogstashInstanceLogsResponse> {
|
|
491
|
+
return this.request("DescribeLogstashInstanceLogs", req, cb)
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* 更新ES集群词典
|
|
496
|
+
*/
|
|
497
|
+
async UpdateDictionaries(
|
|
498
|
+
req: UpdateDictionariesRequest,
|
|
499
|
+
cb?: (error: string, rep: UpdateDictionariesResponse) => void
|
|
500
|
+
): Promise<UpdateDictionariesResponse> {
|
|
501
|
+
return this.request("UpdateDictionaries", req, cb)
|
|
335
502
|
}
|
|
336
503
|
|
|
337
504
|
/**
|