tencentcloud-sdk-nodejs 4.0.375 → 4.0.376

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 (58) hide show
  1. package/CHANGELOG.md +340 -0
  2. package/SERVICE_CHANGELOG.md +521 -95
  3. package/package.json +1 -1
  4. package/products.md +15 -15
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cat/v20180409/cat_client.ts +1 -1
  7. package/src/services/cat/v20180409/cat_models.ts +17 -10
  8. package/src/services/cdb/v20170320/cdb_client.ts +21 -9
  9. package/src/services/cdb/v20170320/cdb_models.ts +95 -42
  10. package/src/services/ckafka/v20190819/ckafka_client.ts +1 -1
  11. package/src/services/ckafka/v20190819/ckafka_models.ts +17 -1
  12. package/src/services/cpdp/v20190820/cpdp_client.ts +80 -29
  13. package/src/services/cpdp/v20190820/cpdp_models.ts +325 -33
  14. package/src/services/cvm/v20170312/cvm_client.ts +721 -661
  15. package/src/services/cvm/v20170312/cvm_models.ts +220 -65
  16. package/src/services/dcdb/v20180411/dcdb_models.ts +15 -0
  17. package/src/services/dlc/v20210125/dlc_models.ts +5 -0
  18. package/src/services/es/v20180416/es_models.ts +12 -0
  19. package/src/services/ess/v20201111/ess_client.ts +36 -16
  20. package/src/services/ess/v20201111/ess_models.ts +9 -12
  21. package/src/services/ie/v20200304/ie_client.ts +5 -0
  22. package/src/services/ie/v20200304/ie_models.ts +260 -14
  23. package/src/services/mariadb/v20170312/mariadb_models.ts +15 -0
  24. package/src/services/tdcpg/v20211118/tdcpg_models.ts +42 -6
  25. package/src/services/teo/v20220106/teo_client.ts +7 -2
  26. package/src/services/teo/v20220106/teo_models.ts +236 -93
  27. package/src/services/vpc/v20170312/vpc_client.ts +1 -1
  28. package/tencentcloud/common/sdk_version.d.ts +1 -1
  29. package/tencentcloud/common/sdk_version.js +1 -1
  30. package/tencentcloud/services/cat/v20180409/cat_client.d.ts +1 -1
  31. package/tencentcloud/services/cat/v20180409/cat_client.js +1 -1
  32. package/tencentcloud/services/cat/v20180409/cat_models.d.ts +14 -7
  33. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +7 -3
  34. package/tencentcloud/services/cdb/v20170320/cdb_client.js +9 -3
  35. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +82 -34
  36. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +1 -1
  37. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +15 -1
  38. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +26 -10
  39. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +37 -13
  40. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +278 -29
  41. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +335 -315
  42. package/tencentcloud/services/cvm/v20170312/cvm_client.js +430 -400
  43. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +191 -57
  44. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +12 -0
  45. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +4 -0
  46. package/tencentcloud/services/es/v20180416/es_models.d.ts +10 -0
  47. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +21 -1
  48. package/tencentcloud/services/ess/v20201111/ess_client.js +21 -1
  49. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +8 -11
  50. package/tencentcloud/services/ie/v20200304/ie_models.d.ts +222 -13
  51. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +12 -0
  52. package/tencentcloud/services/tdcpg/v20211118/tdcpg_models.d.ts +35 -5
  53. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +205 -82
  54. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1 -1
  55. package/tencentcloud/services/vpc/v20170312/vpc_client.js +1 -1
  56. package/test/cdb.v20170320.test.js +12 -2
  57. package/test/cpdp.v20190820.test.js +48 -8
  58. package/test/cvm.v20170312.test.js +206 -156
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.0.375",
3
+ "version": "4.0.376",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -34,10 +34,10 @@
34
34
  | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2022-04-12 06:07:13 |
35
35
  | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2022-04-27 06:05:49 |
36
36
  | casb | [云数据加密代理网关](https://cloud.tencent.com/document/product/1303) | 2022-04-04 06:11:55 |
37
- | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-06-30 06:01:55 |
37
+ | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-07-04 17:57:38 |
38
38
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2022-07-04 06:03:33 |
39
39
  | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-07-01 06:06:59 |
40
- | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-06-27 06:05:09 |
40
+ | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-07-05 06:08:02 |
41
41
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2022-05-16 17:18:07 |
42
42
  | cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-06-30 06:02:27 |
43
43
  | cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2022-04-04 06:17:07 |
@@ -49,7 +49,7 @@
49
49
  | cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2022-06-27 06:06:02 |
50
50
  | cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
51
51
  | cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
52
- | ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2022-05-31 06:07:03 |
52
+ | ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2022-07-05 06:09:16 |
53
53
  | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2022-07-04 06:04:52 |
54
54
  | cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2022-05-25 06:05:44 |
55
55
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2022-06-22 06:04:38 |
@@ -57,9 +57,9 @@
57
57
  | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2022-06-24 06:09:00 |
58
58
  | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2022-04-04 06:23:04 |
59
59
  | cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
60
- | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-07-04 06:05:30 |
60
+ | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-07-05 06:10:03 |
61
61
  | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
62
- | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-07-04 06:06:18 |
62
+ | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-07-05 06:10:41 |
63
63
  | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-07-01 06:09:29 |
64
64
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
65
65
  | cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-07-04 06:07:00 |
@@ -68,8 +68,8 @@
68
68
  | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2022-06-22 06:06:28 |
69
69
  | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2022-07-01 11:26:52 |
70
70
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2022-04-13 06:36:47 |
71
- | dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2022-05-31 06:09:47 |
72
- | dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-07-04 06:07:50 |
71
+ | dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2022-07-05 06:12:03 |
72
+ | dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-07-05 06:12:13 |
73
73
  | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2022-06-23 06:11:27 |
74
74
  | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2022-05-24 06:11:36 |
75
75
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2022-04-04 06:38:48 |
@@ -83,8 +83,8 @@
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
85
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-06-09 06:11:36 |
86
- | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-06-20 06:08:20 |
87
- | ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-07-01 06:11:57 |
86
+ | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-07-05 06:13:25 |
87
+ | ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-07-05 06:13:29 |
88
88
  | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-06-30 16:47:49 |
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 |
@@ -100,7 +100,7 @@
100
100
  | iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2022-05-24 06:13:22 |
101
101
  | ic | [物联卡](https://cloud.tencent.com/document/product/636) | 2022-04-04 06:46:38 |
102
102
  | icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2022-04-13 06:46:31 |
103
- | ie | [智能编辑](https://cloud.tencent.com/document/product/1186) | 2022-04-04 06:46:42 |
103
+ | ie | [智能编辑](https://cloud.tencent.com/document/product/1186) | 2022-07-05 06:14:24 |
104
104
  | iecp | [物联网边缘计算平台](https://cloud.tencent.com/document/product/1118) | 2022-04-12 06:15:04 |
105
105
  | iir | [智能识图](https://cloud.tencent.com/document/product/1217) | 2022-04-04 06:48:05 |
106
106
  | ims | [图片内容检测](https://cloud.tencent.com/document/product/1125) | 2022-05-26 06:12:53 |
@@ -116,7 +116,7 @@
116
116
  | live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-06-22 06:10:05 |
117
117
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
118
118
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
119
- | mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2022-06-15 06:11:30 |
119
+ | mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2022-07-05 06:18:01 |
120
120
  | market | [云市场](https://cloud.tencent.com/document/product/306) | 2022-04-04 06:57:43 |
121
121
  | memcached | [云数据库 Memcached](https://cloud.tencent.com/document/product/241) | 2022-04-04 06:57:44 |
122
122
  | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-04-04 06:57:46 |
@@ -166,17 +166,17 @@
166
166
  | tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2022-04-04 07:09:07 |
167
167
  | tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2022-04-08 06:12:54 |
168
168
  | tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2022-04-26 06:16:06 |
169
- | tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2022-07-01 06:17:30 |
169
+ | tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2022-07-05 06:21:12 |
170
170
  | tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-04-04 07:10:49 |
171
171
  | tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
172
172
  | tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2022-06-08 06:15:21 |
173
173
  | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2022-06-13 06:17:36 |
174
174
  | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2022-06-21 06:13:45 |
175
- | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-04-04 07:15:36 |
175
+ | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-07-05 06:21:49 |
176
176
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2022-04-04 07:15:50 |
177
177
  | tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2022-06-29 06:13:55 |
178
178
  | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2022-06-20 06:14:36 |
179
- | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-07-01 06:18:27 |
179
+ | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-07-05 06:22:14 |
180
180
  | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2022-06-02 06:15:03 |
181
181
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
182
182
  | tic | [腾讯云IaC平台](https://cloud.tencent.com/document/product/1213) | 2022-04-04 07:16:52 |
@@ -200,7 +200,7 @@
200
200
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-06-23 06:20:49 |
201
201
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
202
202
  | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-06-30 10:45:16 |
203
- | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-07-01 06:20:43 |
203
+ | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-07-05 06:24:34 |
204
204
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-06-23 06:22:00 |
205
205
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-04-04 07:39:05 |
206
206
  | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2022-07-04 06:20:00 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.375"
1
+ export const sdkVersion = "4.0.376"
@@ -67,7 +67,7 @@ export class Client extends AbstractClient {
67
67
  }
68
68
 
69
69
  /**
70
- * 列出云拨测指标详细数据
70
+ * 查询云拨测指标数据,指标支持使用sum,avg,max,min聚合函数进行指标数据查询
71
71
  */
72
72
  async DescribeProbeMetricData(
73
73
  req: DescribeProbeMetricDataRequest,
@@ -159,8 +159,9 @@ export interface ProbeTaskBasicConfiguration {
159
159
  */
160
160
  export interface DescribeProbeMetricDataResponse {
161
161
  /**
162
- * 指标 JSON 序列化后的字符串
163
- */
162
+ * 返回指标 JSON 序列化后的字符串,具体如下所示:
163
+ "[{\"name\":\"task_navigate_request_gauge\",\"columns\":[\"time\",\"avg(first_screen_time) / 1000\"],\"values\":[[1641571200,6.756600000000001]],\"tags\":null}]"
164
+ */
164
165
  MetricSet: string
165
166
 
166
167
  /**
@@ -305,33 +306,39 @@ export interface SuspendProbeTaskRequest {
305
306
  */
306
307
  export interface DescribeProbeMetricDataRequest {
307
308
  /**
308
- * 分析任务类型
309
- */
309
+ * 分析任务类型,支持以下几种类型:
310
+ AnalyzeTaskType_Network:网络质量
311
+ AnalyzeTaskType_Browse:页面性能
312
+ AnalyzeTaskType_Transport:端口性能
313
+ AnalyzeTaskType_UploadDownload:文件传输
314
+ AnalyzeTaskType_MediaStream:音视频体验
315
+ */
310
316
  AnalyzeTaskType?: string
311
317
 
312
318
  /**
313
- * 指标类型,counter 或者 gauge
319
+ * 指标类型,指标查询默认传gauge
314
320
  */
315
321
  MetricType?: string
316
322
 
317
323
  /**
318
- * 指标详细字段
324
+ * 指标详细字段,可以传递传具体的指标也可以对指标进行聚合查询例如:"avg(ping_time)"代表整体时延(ms)
319
325
  */
320
326
  Field?: string
321
327
 
322
328
  /**
323
- * 过滤条件
329
+ * 过滤条件可以传单个过滤条件也可以拼接多个参数
324
330
  */
325
331
  Filter?: string
326
332
 
327
333
  /**
328
- * 聚合时间, 1m、1d、100d 等等
334
+ * 聚合时间, 1m、1d、30d 等等
329
335
  */
330
336
  GroupBy?: string
331
337
 
332
338
  /**
333
- * 过滤条件数组
334
- */
339
+ * 多条件过滤,支持多个过滤条件组合查询
340
+ 例如:[""host" = 'www.test.com'", "time >= now()-1h"]
341
+ */
335
342
  Filters?: Array<string>
336
343
  }
337
344
 
@@ -43,9 +43,9 @@ import {
43
43
  DescribeDBInstancesRequest,
44
44
  TableName,
45
45
  DeleteAccountsResponse,
46
- SlowLogInfo,
46
+ RollbackTableName,
47
47
  CloseWanServiceRequest,
48
- DescribeAuditConfigRequest,
48
+ OpenAuditServiceResponse,
49
49
  CreateRoInstanceIpResponse,
50
50
  CreateAuditPolicyResponse,
51
51
  DescribeInstanceParamRecordsRequest,
@@ -58,6 +58,7 @@ import {
58
58
  ModifyDBInstanceNameRequest,
59
59
  TagInfoUnit,
60
60
  ModifyAuditRuleResponse,
61
+ OpenAuditServiceRequest,
61
62
  DescribeAuditRulesRequest,
62
63
  UpgradeDBInstanceEngineVersionResponse,
63
64
  ErrlogItem,
@@ -194,6 +195,7 @@ import {
194
195
  DeployGroupInfo,
195
196
  LocalBinlogConfig,
196
197
  InquiryPriceUpgradeInstancesResponse,
198
+ DescribeAuditConfigRequest,
197
199
  CreateDBInstanceRequest,
198
200
  DescribeProxyConnectionPoolConfRequest,
199
201
  DescribeParamTemplatesRequest,
@@ -235,7 +237,7 @@ import {
235
237
  CloseWanServiceResponse,
236
238
  RoWeight,
237
239
  RenewDBInstanceRequest,
238
- RollbackTableName,
240
+ SlowLogInfo,
239
241
  ModifyLocalBinlogConfigResponse,
240
242
  DescribeCloneListRequest,
241
243
  ModifyInstanceTagRequest,
@@ -1181,6 +1183,16 @@ export class Client extends AbstractClient {
1181
1183
  return this.request("ModifyAccountHost", req, cb)
1182
1184
  }
1183
1185
 
1186
+ /**
1187
+ * 开启 RO 复制,从主实例同步数据。
1188
+ */
1189
+ async StartReplication(
1190
+ req: StartReplicationRequest,
1191
+ cb?: (error: string, rep: StartReplicationResponse) => void
1192
+ ): Promise<StartReplicationResponse> {
1193
+ return this.request("StartReplication", req, cb)
1194
+ }
1195
+
1184
1196
  /**
1185
1197
  * 本接口(DescribeAuditConfig)用于查询云数据库审计策略的服务配置,包括审计日志保存时长等。
1186
1198
  */
@@ -1458,13 +1470,13 @@ export class Client extends AbstractClient {
1458
1470
  }
1459
1471
 
1460
1472
  /**
1461
- * 开启 RO 复制,从主实例同步数据。
1473
+ * CDB实例开通审计服务
1462
1474
  */
1463
- async StartReplication(
1464
- req: StartReplicationRequest,
1465
- cb?: (error: string, rep: StartReplicationResponse) => void
1466
- ): Promise<StartReplicationResponse> {
1467
- return this.request("StartReplication", req, cb)
1475
+ async OpenAuditService(
1476
+ req: OpenAuditServiceRequest,
1477
+ cb?: (error: string, rep: OpenAuditServiceResponse) => void
1478
+ ): Promise<OpenAuditServiceResponse> {
1479
+ return this.request("OpenAuditService", req, cb)
1468
1480
  }
1469
1481
 
1470
1482
  /**
@@ -773,38 +773,20 @@ export interface DeleteAccountsResponse {
773
773
  }
774
774
 
775
775
  /**
776
- * 慢查询日志详情
776
+ * 用于回档的数据库表名
777
777
  */
778
- export interface SlowLogInfo {
779
- /**
780
- * 备份文件名
781
- */
782
- Name: string
783
-
784
- /**
785
- * 备份文件大小,单位:Byte
786
- */
787
- Size: number
788
-
789
- /**
790
- * 备份快照时间,时间格式:2016-03-17 02:10:37
791
- */
792
- Date: string
793
-
794
- /**
795
- * 内网下载地址
796
- */
797
- IntranetUrl: string
798
-
778
+ export interface RollbackTableName {
799
779
  /**
800
- * 外网下载地址
801
- */
802
- InternetUrl: string
780
+ * 回档前的原数据库表名
781
+ 注意:此字段可能返回 null,表示取不到有效值。
782
+ */
783
+ TableName: string
803
784
 
804
785
  /**
805
- * 日志具体类型,可能的值:slowlog - 慢日志
806
- */
807
- Type: string
786
+ * 回档后的新数据库表名
787
+ 注意:此字段可能返回 null,表示取不到有效值。
788
+ */
789
+ NewTableName: string
808
790
  }
809
791
 
810
792
  /**
@@ -818,13 +800,13 @@ export interface CloseWanServiceRequest {
818
800
  }
819
801
 
820
802
  /**
821
- * DescribeAuditConfig请求参数结构体
803
+ * OpenAuditService返回参数结构体
822
804
  */
823
- export interface DescribeAuditConfigRequest {
805
+ export interface OpenAuditServiceResponse {
824
806
  /**
825
- * 实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
807
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
826
808
  */
827
- InstanceId: string
809
+ RequestId?: string
828
810
  }
829
811
 
830
812
  /**
@@ -1013,6 +995,38 @@ export interface ModifyAuditRuleResponse {
1013
995
  RequestId?: string
1014
996
  }
1015
997
 
998
+ /**
999
+ * OpenAuditService请求参数结构体
1000
+ */
1001
+ export interface OpenAuditServiceRequest {
1002
+ /**
1003
+ * CDB实例ID
1004
+ */
1005
+ InstanceId: string
1006
+
1007
+ /**
1008
+ * 审计日志保存时长。支持值包括:
1009
+ 7 - 一周
1010
+ 30 - 一个月;
1011
+ 180 - 六个月;
1012
+ 365 - 一年;
1013
+ 1095 - 三年;
1014
+ 1825 - 五年;
1015
+ */
1016
+ LogExpireDay: number
1017
+
1018
+ /**
1019
+ * 高频审计日志保存时长。支持值包括:
1020
+ 7 - 一周
1021
+ 30 - 一个月;
1022
+ 180 - 六个月;
1023
+ 365 - 一年;
1024
+ 1095 - 三年;
1025
+ 1825 - 五年;
1026
+ */
1027
+ HighLogExpireDay?: number
1028
+ }
1029
+
1016
1030
  /**
1017
1031
  * DescribeAuditRules请求参数结构体
1018
1032
  */
@@ -4198,6 +4212,16 @@ export interface InquiryPriceUpgradeInstancesResponse {
4198
4212
  RequestId?: string
4199
4213
  }
4200
4214
 
4215
+ /**
4216
+ * DescribeAuditConfig请求参数结构体
4217
+ */
4218
+ export interface DescribeAuditConfigRequest {
4219
+ /**
4220
+ * 实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
4221
+ */
4222
+ InstanceId: string
4223
+ }
4224
+
4201
4225
  /**
4202
4226
  * CreateDBInstance请求参数结构体
4203
4227
  */
@@ -5551,20 +5575,38 @@ export interface RenewDBInstanceRequest {
5551
5575
  }
5552
5576
 
5553
5577
  /**
5554
- * 用于回档的数据库表名
5578
+ * 慢查询日志详情
5555
5579
  */
5556
- export interface RollbackTableName {
5580
+ export interface SlowLogInfo {
5557
5581
  /**
5558
- * 回档前的原数据库表名
5559
- 注意:此字段可能返回 null,表示取不到有效值。
5560
- */
5561
- TableName: string
5582
+ * 备份文件名
5583
+ */
5584
+ Name: string
5562
5585
 
5563
5586
  /**
5564
- * 回档后的新数据库表名
5565
- 注意:此字段可能返回 null,表示取不到有效值。
5566
- */
5567
- NewTableName: string
5587
+ * 备份文件大小,单位:Byte
5588
+ */
5589
+ Size: number
5590
+
5591
+ /**
5592
+ * 备份快照时间,时间格式:2016-03-17 02:10:37
5593
+ */
5594
+ Date: string
5595
+
5596
+ /**
5597
+ * 内网下载地址
5598
+ */
5599
+ IntranetUrl: string
5600
+
5601
+ /**
5602
+ * 外网下载地址
5603
+ */
5604
+ InternetUrl: string
5605
+
5606
+ /**
5607
+ * 日志具体类型,可能的值:slowlog - 慢日志
5608
+ */
5609
+ Type: string
5568
5610
  }
5569
5611
 
5570
5612
  /**
@@ -7111,6 +7153,17 @@ export interface ModifyAuditConfigRequest {
7111
7153
  CloseAudit、LogExpireDay必须至少提供一个,如果两个都提供则按照CloseAudit优先的逻辑处理。
7112
7154
  */
7113
7155
  CloseAudit?: boolean
7156
+
7157
+ /**
7158
+ * 高频审计日志保存时长。支持值包括:
7159
+ 7 - 一周
7160
+ 30 - 一个月;
7161
+ 180 - 六个月;
7162
+ 365 - 一年;
7163
+ 1095 - 三年;
7164
+ 1825 - 五年;
7165
+ */
7166
+ HighLogExpireDay?: number
7114
7167
  }
7115
7168
 
7116
7169
  /**
@@ -636,7 +636,7 @@ export class Client extends AbstractClient {
636
636
  * 用于查看ckafka的可用区列表
637
637
  */
638
638
  async DescribeCkafkaZone(
639
- req?: DescribeCkafkaZoneRequest,
639
+ req: DescribeCkafkaZoneRequest,
640
640
  cb?: (error: string, rep: DescribeCkafkaZoneResponse) => void
641
641
  ): Promise<DescribeCkafkaZoneResponse> {
642
642
  return this.request("DescribeCkafkaZone", req, cb)
@@ -899,7 +899,12 @@ export interface DescribeTopicSubscribeGroupResponse {
899
899
  /**
900
900
  * DescribeCkafkaZone请求参数结构体
901
901
  */
902
- export type DescribeCkafkaZoneRequest = null
902
+ export interface DescribeCkafkaZoneRequest {
903
+ /**
904
+ * cdc专业集群业务参数
905
+ */
906
+ CdcId?: string
907
+ }
903
908
 
904
909
  /**
905
910
  * 标准版销售信息
@@ -1756,6 +1761,11 @@ export interface DescribeRegionRequest {
1756
1761
  * 业务字段,可忽略
1757
1762
  */
1758
1763
  Business?: string
1764
+
1765
+ /**
1766
+ * cdc专有集群业务字段,可忽略
1767
+ */
1768
+ CdcId?: string
1759
1769
  }
1760
1770
 
1761
1771
  /**
@@ -4136,6 +4146,12 @@ export interface InstanceDetail {
4136
4146
  注意:此字段可能返回 null,表示取不到有效值。
4137
4147
  */
4138
4148
  PublicNetwork: number
4149
+
4150
+ /**
4151
+ * 实例类型
4152
+ 注意:此字段可能返回 null,表示取不到有效值。
4153
+ */
4154
+ ClusterType: string
4139
4155
  }
4140
4156
 
4141
4157
  /**