tencentcloud-sdk-nodejs 4.0.268 → 4.0.269

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.
Files changed (36) hide show
  1. package/CHANGELOG.md +179 -0
  2. package/SERVICE_CHANGELOG.md +260 -195
  3. package/package.json +1 -1
  4. package/products.md +11 -11
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/apigateway/v20180808/apigateway_client.ts +3 -2
  7. package/src/services/apigateway/v20180808/apigateway_models.ts +56 -22
  8. package/src/services/cdb/v20170320/cdb_models.ts +6 -1
  9. package/src/services/cwp/v20180228/cwp_client.ts +1 -1
  10. package/src/services/cwp/v20180228/cwp_models.ts +44 -2
  11. package/src/services/dbbrain/v20210527/dbbrain_client.ts +28 -4
  12. package/src/services/dbbrain/v20210527/dbbrain_models.ts +166 -71
  13. package/src/services/ocr/v20181119/ocr_models.ts +1 -0
  14. package/src/services/postgres/v20170312/postgres_client.ts +1 -0
  15. package/src/services/postgres/v20170312/postgres_models.ts +43 -3
  16. package/src/services/rce/v20201103/rce_models.ts +5 -0
  17. package/src/services/sqlserver/v20180328/sqlserver_models.ts +6 -1
  18. package/src/services/wav/v20210129/wav_client.ts +2 -2
  19. package/tencentcloud/common/sdk_version.d.ts +1 -1
  20. package/tencentcloud/common/sdk_version.js +1 -1
  21. package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +1 -1
  22. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +48 -18
  23. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +5 -1
  24. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -1
  25. package/tencentcloud/services/cwp/v20180228/cwp_client.js +1 -1
  26. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +37 -2
  27. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +9 -1
  28. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +12 -0
  29. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +143 -63
  30. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -0
  31. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +37 -3
  32. package/tencentcloud/services/rce/v20201103/rce_models.d.ts +4 -0
  33. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +5 -1
  34. package/tencentcloud/services/wav/v20210129/wav_client.d.ts +2 -2
  35. package/tencentcloud/services/wav/v20210129/wav_client.js +2 -2
  36. package/test/dbbrain.v20210527.test.js +20 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.0.268",
3
+ "version": "4.0.269",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -11,7 +11,7 @@
11
11
  | apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2021-11-10 08:02:02 |
12
12
  | ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2021-11-10 08:02:03 |
13
13
  | api | [云 API](https://cloud.tencent.com/document/product/546) | 2021-04-25 10:09:57 |
14
- | apigateway | [API网关](https://cloud.tencent.com/document/product/628) | 2021-12-08 08:05:34 |
14
+ | apigateway | [API网关](https://cloud.tencent.com/document/product/628) | 2022-01-10 08:05:32 |
15
15
  | apm | [应用性能观测](https://cloud.tencent.com/document/product/1463) | 2022-01-05 08:03:38 |
16
16
  | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2022-01-07 08:03:22 |
17
17
  | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2021-12-22 08:06:39 |
@@ -32,7 +32,7 @@
32
32
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2021-12-22 08:07:25 |
33
33
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2021-12-21 08:01:42 |
34
34
  | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2021-12-10 08:02:29 |
35
- | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-01-06 08:05:45 |
35
+ | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-01-10 08:06:53 |
36
36
  | cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-01-05 08:05:09 |
37
37
  | cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2021-12-24 08:06:33 |
38
38
  | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2021-12-06 08:02:54 |
@@ -52,11 +52,11 @@
52
52
  | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2021-12-09 08:03:47 |
53
53
  | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
54
54
  | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-01-07 08:06:20 |
55
- | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2021-12-10 08:04:29 |
55
+ | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-01-10 08:08:49 |
56
56
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
57
57
  | cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2021-11-17 08:10:15 |
58
58
  | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2021-11-10 08:05:47 |
59
- | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2021-12-15 08:06:44 |
59
+ | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2022-01-10 08:09:43 |
60
60
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2021-11-10 08:06:00 |
61
61
  | dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2021-12-17 08:10:31 |
62
62
  | dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-01-07 08:07:28 |
@@ -66,7 +66,7 @@
66
66
  | ds | [电子合同服务](https://cloud.tencent.com/document/product/869) | 2021-11-10 08:06:24 |
67
67
  | dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2021-11-10 08:06:26 |
68
68
  | dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2021-12-21 08:05:11 |
69
- | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2022-01-07 08:07:51 |
69
+ | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2022-01-10 08:10:21 |
70
70
  | ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2021-11-10 08:06:30 |
71
71
  | ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2021-12-22 08:11:17 |
72
72
  | ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2021-12-06 08:05:41 |
@@ -75,7 +75,7 @@
75
75
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2021-12-10 08:06:20 |
76
76
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2021-12-30 08:09:09 |
77
77
  | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-01-07 08:08:29 |
78
- | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-01-05 08:08:53 |
78
+ | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-01-10 08:11:01 |
79
79
  | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-01-07 08:08:34 |
80
80
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2021-12-14 08:10:17 |
81
81
  | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2021-12-08 08:10:45 |
@@ -118,13 +118,13 @@
118
118
  | nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2021-12-21 16:54:01 |
119
119
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
120
120
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2021-12-21 08:08:44 |
121
- | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-01-06 08:13:41 |
121
+ | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-01-10 08:14:08 |
122
122
  | organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2021-12-30 08:12:38 |
123
123
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2021-11-18 08:11:02 |
124
124
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2021-11-10 08:09:50 |
125
- | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2021-12-24 08:13:26 |
125
+ | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2022-01-10 08:14:24 |
126
126
  | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2021-12-23 08:13:49 |
127
- | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2021-12-29 08:11:26 |
127
+ | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2022-01-10 08:14:37 |
128
128
  | redis | [云数据库 Redis](https://cloud.tencent.com/document/product/239) | 2021-12-07 13:09:58 |
129
129
  | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2021-11-10 08:10:03 |
130
130
  | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2021-11-10 08:10:04 |
@@ -135,7 +135,7 @@
135
135
  | sms | [短信](https://cloud.tencent.com/document/product/382) | 2022-01-05 08:12:50 |
136
136
  | soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2021-11-18 08:11:34 |
137
137
  | solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
138
- | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2021-12-17 08:15:35 |
138
+ | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2022-01-10 08:15:07 |
139
139
  | ssa | [态势感知](https://cloud.tencent.com/document/product/664) | 2021-11-22 08:10:13 |
140
140
  | ssl | [证书](https://cloud.tencent.com/document/product/400) | 2021-12-22 08:15:53 |
141
141
  | sslpod | [SSL 证书监控](https://cloud.tencent.com/document/product/1084) | 2021-11-10 08:10:37 |
@@ -182,7 +182,7 @@
182
182
  | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2021-12-22 08:18:35 |
183
183
  | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2021-12-23 08:17:39 |
184
184
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2021-12-02 08:14:23 |
185
- | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-01-06 08:18:21 |
185
+ | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-01-10 08:18:57 |
186
186
  | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
187
187
  | youmall | [](https://cloud.tencent.com/document/product) | 2019-01-11 11:24:15 |
188
188
  | yunjing | [主机安全](https://cloud.tencent.com/document/product) | 2020-09-15 08:08:47 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.268"
1
+ export const sdkVersion = "4.0.269"
@@ -95,6 +95,7 @@ import {
95
95
  OauthConfig,
96
96
  ModifyApiEnvironmentStrategyRequest,
97
97
  NetworkConfig,
98
+ ServiceReleaseHistory,
98
99
  ModifyUsagePlanResponse,
99
100
  CreateUsagePlanResponse,
100
101
  DomainSets,
@@ -114,8 +115,8 @@ import {
114
115
  CreateServiceRequest,
115
116
  DescribeIPStrategysStatusRequest,
116
117
  DemoteServiceUsagePlanResponse,
118
+ DescribePluginApisResponse,
117
119
  EnableApiKeyResponse,
118
- ServiceReleaseHistory,
119
120
  DeleteApiAppRequest,
120
121
  UnReleaseServiceResponse,
121
122
  CreateAPIDocResponse,
@@ -159,7 +160,7 @@ import {
159
160
  DescribePluginsResponse,
160
161
  ReleaseServiceResponse,
161
162
  APIDocInfo,
162
- DescribePluginApisResponse,
163
+ CosConfig,
163
164
  ModifyApiIncrementRequest,
164
165
  GenerateApiDocumentRequest,
165
166
  ServiceUsagePlanSet,
@@ -1370,6 +1370,12 @@ export interface ServiceConfig {
1370
1370
  * API的后端服务请求方法,如 GET。如果 ServiceType 是 HTTP,则此参数必传。前后端方法可不同。
1371
1371
  */
1372
1372
  Method?: string
1373
+
1374
+ /**
1375
+ * API后端COS配置。如果 ServiceType 是 COS,则此参数必传。
1376
+ 注意:此字段可能返回 null,表示取不到有效值。
1377
+ */
1378
+ CosConfig?: CosConfig
1373
1379
  }
1374
1380
 
1375
1381
  /**
@@ -2276,6 +2282,23 @@ export interface NetworkConfig {
2276
2282
  OutboundIpAddresses: Array<string>
2277
2283
  }
2278
2284
 
2285
+ /**
2286
+ * 服务发布历史
2287
+ */
2288
+ export interface ServiceReleaseHistory {
2289
+ /**
2290
+ * 发布版本总数。
2291
+ 注意:此字段可能返回 null,表示取不到有效值。
2292
+ */
2293
+ TotalCount: number
2294
+
2295
+ /**
2296
+ * 历史版本列表。
2297
+ 注意:此字段可能返回 null,表示取不到有效值。
2298
+ */
2299
+ VersionList: Array<ServiceReleaseHistoryInfo>
2300
+ }
2301
+
2279
2302
  /**
2280
2303
  * ModifyUsagePlan返回参数结构体
2281
2304
  */
@@ -2735,14 +2758,13 @@ export interface DemoteServiceUsagePlanResponse {
2735
2758
  }
2736
2759
 
2737
2760
  /**
2738
- * EnableApiKey返回参数结构体
2761
+ * DescribePluginApis返回参数结构体
2739
2762
  */
2740
- export interface EnableApiKeyResponse {
2763
+ export interface DescribePluginApisResponse {
2741
2764
  /**
2742
- * 启动密钥操作是否成功。
2743
- 注意:此字段可能返回 null,表示取不到有效值。
2744
- */
2745
- Result?: boolean
2765
+ * 插件绑定的API列表信息。
2766
+ */
2767
+ Result: AttachedApiSummary
2746
2768
 
2747
2769
  /**
2748
2770
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -2751,20 +2773,19 @@ export interface EnableApiKeyResponse {
2751
2773
  }
2752
2774
 
2753
2775
  /**
2754
- * 服务发布历史
2776
+ * EnableApiKey返回参数结构体
2755
2777
  */
2756
- export interface ServiceReleaseHistory {
2778
+ export interface EnableApiKeyResponse {
2757
2779
  /**
2758
- * 发布版本总数。
2780
+ * 启动密钥操作是否成功。
2759
2781
  注意:此字段可能返回 null,表示取不到有效值。
2760
2782
  */
2761
- TotalCount: number
2783
+ Result?: boolean
2762
2784
 
2763
2785
  /**
2764
- * 历史版本列表。
2765
- 注意:此字段可能返回 null,表示取不到有效值。
2766
- */
2767
- VersionList: Array<ServiceReleaseHistoryInfo>
2786
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2787
+ */
2788
+ RequestId?: string
2768
2789
  }
2769
2790
 
2770
2791
  /**
@@ -4258,18 +4279,31 @@ export interface APIDocInfo {
4258
4279
  }
4259
4280
 
4260
4281
  /**
4261
- * DescribePluginApis返回参数结构体
4282
+ * cos类型的api配置
4262
4283
  */
4263
- export interface DescribePluginApisResponse {
4284
+ export interface CosConfig {
4264
4285
  /**
4265
- * 插件绑定的API列表信息。
4266
- */
4267
- Result: AttachedApiSummary
4286
+ * API调用后端COS的方式,前端请求方法与Action的可选值为:
4287
+ GET:GetObject
4288
+ PUT:PutObject
4289
+ POST:PostObject、AppendObject
4290
+ HEAD: HeadObject
4291
+ DELETE: DeleteObject。
4292
+ 注意:此字段可能返回 null,表示取不到有效值。
4293
+ */
4294
+ Action: string
4268
4295
 
4269
4296
  /**
4270
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4271
- */
4272
- RequestId?: string
4297
+ * API后端COS的存储桶名。
4298
+ 注意:此字段可能返回 null,表示取不到有效值。
4299
+ */
4300
+ BucketName: string
4301
+
4302
+ /**
4303
+ * API调用后端COS的签名开关,默认为false。
4304
+ 注意:此字段可能返回 null,表示取不到有效值。
4305
+ */
4306
+ Authorization?: boolean
4273
4307
  }
4274
4308
 
4275
4309
  /**
@@ -223,7 +223,7 @@ export interface CreateDBInstanceRequest {
223
223
  CageId?: string
224
224
 
225
225
  /**
226
- * 默认参数模板类型。支持值包括:"HIGH_STABILITY" - 高稳定模版,"HIGH_PERFORMANCE" - 高性能模版。
226
+ * 默认参数模板类型。支持值包括:"HIGH_STABILITY" - 高稳定模板,"HIGH_PERFORMANCE" - 高性能模板。
227
227
  */
228
228
  ParamTemplateType?: string
229
229
 
@@ -2527,6 +2527,11 @@ export interface CreateDBInstanceHourRequest {
2527
2527
  */
2528
2528
  CageId?: string
2529
2529
 
2530
+ /**
2531
+ * 默认参数模板类型。支持值包括:"HIGH_STABILITY" - 高稳定模板,"HIGH_PERFORMANCE" - 高性能模板。
2532
+ */
2533
+ ParamTemplateType?: string
2534
+
2530
2535
  /**
2531
2536
  * 告警策略名数组,例如:["policy-uyoee9wg"],AlarmPolicyList不为空时该参数无效。
2532
2537
  */
@@ -1965,7 +1965,7 @@ export class Client extends AbstractClient {
1965
1965
  }
1966
1966
 
1967
1967
  /**
1968
- * 用于设置新增主机自动开通专业版配置。
1968
+ * 用于设置新增主机自动开通专业防护配置。
1969
1969
  */
1970
1970
  async ModifyAutoOpenProVersionConfig(
1971
1971
  req: ModifyAutoOpenProVersionConfigRequest,
@@ -2962,10 +2962,11 @@ Other 混合云专区
2962
2962
  * 过滤条件。
2963
2963
  <li>Keywords - String - 是否必填:否 - 查询关键字 </li>
2964
2964
  <li>Status - String - 是否必填:否 - 客户端在线状态(OFFLINE: 离线/关机 | ONLINE: 在线 | UNINSTALLED:未安装 | AGENT_OFFLINE 离线| AGENT_SHUTDOWN 已关机)</li>
2965
- <li>Version - String 是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION:基础版)</li>
2965
+ <li>Version - String 是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION:基础版 | Flagship : 旗舰版 | ProtectedMachines: 专业版+旗舰版)</li>
2966
2966
  <li>Risk - String 是否必填: 否 - 风险主机( yes ) </li>
2967
2967
  <li>Os -String 是否必填: 否 - 操作系统( DescribeMachineOsList 接口 值 )
2968
2968
  每个过滤条件只支持一个值,暂不支持多个值“或”关系查询
2969
+ <li>Quuid - String - 是否必填: 否 - 云服务器uuid 最大100条.</li>
2969
2970
  */
2970
2971
  Filters?: Array<Filter>
2971
2972
 
@@ -6033,6 +6034,7 @@ export interface Machine {
6033
6034
  <li>OFFLINE: 离线 </li>
6034
6035
  <li>ONLINE: 在线</li>
6035
6036
  <li>SHUTDOWN: 已关机</li>
6037
+ <li>UNINSTALLED: 未防护</li>
6036
6038
  */
6037
6039
  MachineStatus: string
6038
6040
 
@@ -6142,6 +6144,11 @@ export interface Machine {
6142
6144
  * 内核版本
6143
6145
  */
6144
6146
  KernelVersion: string
6147
+
6148
+ /**
6149
+ * 防护版本 BASIC_VERSION 基础版, PRO_VERSION 专业版 Flagship 旗舰版.
6150
+ */
6151
+ ProtectType: string
6145
6152
  }
6146
6153
 
6147
6154
  /**
@@ -8217,6 +8224,11 @@ export interface DescribeMachineInfoResponse {
8217
8224
  */
8218
8225
  HasAssetScan: number
8219
8226
 
8227
+ /**
8228
+ * 防护版本 BASIC_VERSION 基础版, PRO_VERSION 专业版 Flagship 旗舰版.
8229
+ */
8230
+ ProtectType: string
8231
+
8220
8232
  /**
8221
8233
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8222
8234
  */
@@ -8267,9 +8279,15 @@ export interface DescribeImportMachineInfoRequest {
8267
8279
  ImportType: string
8268
8280
 
8269
8281
  /**
8270
- * 是否仅支持专业版机器的查询(true:仅专业版 false:专业版+基础版)
8282
+ * 该参数已作废.
8271
8283
  */
8272
8284
  IsQueryProMachine?: boolean
8285
+
8286
+ /**
8287
+ * 过滤条件。
8288
+ <li>Version - String 是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION:基础版 | Flagship : 旗舰版 | ProtectedMachines: 专业版+旗舰版)</li>
8289
+ */
8290
+ Filters?: Array<Filters>
8273
8291
  }
8274
8292
 
8275
8293
  /**
@@ -12352,6 +12370,18 @@ export interface MalwareInfo {
12352
12370
  注意:此字段可能返回 null,表示取不到有效值。
12353
12371
  */
12354
12372
  Level: number
12373
+
12374
+ /**
12375
+ * 木马检测平台用,分割 1云查杀引擎、2TAV、3binaryAi、4异常行为、5威胁情报
12376
+ 注意:此字段可能返回 null,表示取不到有效值。
12377
+ */
12378
+ CheckPlatform: string
12379
+
12380
+ /**
12381
+ * 主机uuid
12382
+ 注意:此字段可能返回 null,表示取不到有效值。
12383
+ */
12384
+ Uuid: string
12355
12385
  }
12356
12386
 
12357
12387
  /**
@@ -13984,6 +14014,18 @@ export interface DescribeGeneralStatResponse {
13984
14014
  */
13985
14015
  Offline: number
13986
14016
 
14017
+ /**
14018
+ * 旗舰版主机数
14019
+ 注意:此字段可能返回 null,表示取不到有效值。
14020
+ */
14021
+ FlagshipMachineCnt: number
14022
+
14023
+ /**
14024
+ * 保护天数
14025
+ 注意:此字段可能返回 null,表示取不到有效值。
14026
+ */
14027
+ ProtectDays: number
14028
+
13987
14029
  /**
13988
14030
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
13989
14031
  */
@@ -20,6 +20,7 @@ import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
21
  SchemaSpaceTimeSeries,
22
22
  HealthReportTask,
23
+ CreateDBDiagReportTaskResponse,
23
24
  CreateDBDiagReportTaskRequest,
24
25
  TableSpaceTimeSeries,
25
26
  DescribeTopSpaceTablesRequest,
@@ -46,10 +47,12 @@ import {
46
47
  MySqlProcess,
47
48
  CreateMailProfileResponse,
48
49
  DescribeSlowLogTimeSeriesStatsRequest,
49
- CreateDBDiagReportUrlResponse,
50
- DescribeDBDiagHistoryRequest,
51
- CreateDBDiagReportTaskResponse,
52
50
  DiagHistoryEventItem,
51
+ DescribeDBDiagHistoryRequest,
52
+ CreateKillTaskResponse,
53
+ DescribeDBDiagEventsRequest,
54
+ CreateDBDiagReportUrlResponse,
55
+ CreateKillTaskRequest,
53
56
  SlowLogHost,
54
57
  CreateMailProfileRequest,
55
58
  MonitorFloatMetricSeriesData,
@@ -86,16 +89,17 @@ import {
86
89
  IssueTypeInfo,
87
90
  DescribeDiagDBInstancesResponse,
88
91
  DescribeAllUserGroupRequest,
92
+ CreateProxySessionKillTaskRequest,
89
93
  CreateSecurityAuditLogExportTaskResponse,
90
94
  SchemaItem,
91
95
  DescribeSlowLogUserHostStatsRequest,
92
96
  DescribeTopSpaceSchemasResponse,
97
+ CreateProxySessionKillTaskResponse,
93
98
  DescribeSlowLogTimeSeriesStatsResponse,
94
99
  MonitorFloatMetric,
95
100
  DescribeAllUserGroupResponse,
96
101
  DescribeUserSqlAdviceResponse,
97
102
  DescribeDBSpaceStatusResponse,
98
- DescribeDBDiagEventsRequest,
99
103
  GroupItem,
100
104
  DescribeTopSpaceTableTimeSeriesRequest,
101
105
  DescribeDBDiagReportTasksRequest,
@@ -169,6 +173,16 @@ export class Client extends AbstractClient {
169
173
  return this.request("DescribeMySqlProcessList", req, cb)
170
174
  }
171
175
 
176
+ /**
177
+ * 创建中止所有代理节点连接会话的异步任务。当前仅支持 Redis。得到的返回值为异步任务 id,可以作为参数传入接口 DescribeProxySessionKillTasks 查询kill会话任务执行状态。
178
+ */
179
+ async CreateProxySessionKillTask(
180
+ req: CreateProxySessionKillTaskRequest,
181
+ cb?: (error: string, rep: CreateProxySessionKillTaskResponse) => void
182
+ ): Promise<CreateProxySessionKillTaskResponse> {
183
+ return this.request("CreateProxySessionKillTask", req, cb)
184
+ }
185
+
172
186
  /**
173
187
  * 查询健康报告生成任务列表。
174
188
  */
@@ -369,6 +383,16 @@ export class Client extends AbstractClient {
369
383
  return this.request("DescribeTopSpaceSchemaTimeSeries", req, cb)
370
384
  }
371
385
 
386
+ /**
387
+ * 创建中断会话的任务。
388
+ */
389
+ async CreateKillTask(
390
+ req: CreateKillTaskRequest,
391
+ cb?: (error: string, rep: CreateKillTaskResponse) => void
392
+ ): Promise<CreateKillTaskResponse> {
393
+ return this.request("CreateKillTask", req, cb)
394
+ }
395
+
372
396
  /**
373
397
  * 获取SQL优化建议。
374
398
  */