tencentcloud-sdk-nodejs 4.0.739 → 4.0.740
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 +224 -0
- package/SERVICE_CHANGELOG.md +314 -314
- package/package.json +1 -1
- package/products.md +11 -10
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdb/v20170320/cdb_client.ts +168 -54
- package/src/services/cdb/v20170320/cdb_models.ts +716 -135
- package/src/services/cfg/v20210820/cfg_client.ts +32 -7
- package/src/services/cfg/v20210820/cfg_models.ts +108 -3
- package/src/services/config/index.ts +5 -0
- package/src/services/config/v20220802/config_client.ts +62 -0
- package/src/services/config/v20220802/config_models.ts +424 -0
- package/src/services/config/v20220802/index.ts +6 -0
- package/src/services/hai/v20230812/hai_models.ts +5 -0
- package/src/services/index.ts +1 -0
- package/src/services/tdmq/v20200217/tdmq_models.ts +38 -28
- package/src/services/teo/v20220901/teo_client.ts +3 -3
- package/src/services/teo/v20220901/teo_models.ts +34 -33
- package/src/services/tke/v20180525/tke_models.ts +11 -6
- package/src/services/tse/v20201207/tse_client.ts +43 -7
- package/src/services/tse/v20201207/tse_models.ts +96 -8
- package/src/services/vod/v20180717/vod_client.ts +4 -1
- package/src/services/vod/v20180717/vod_models.ts +129 -19
- package/src/services/waf/v20180125/waf_models.ts +2 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +59 -23
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +82 -28
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +680 -123
- package/tencentcloud/services/cfg/v20210820/cfg_client.d.ts +11 -3
- package/tencentcloud/services/cfg/v20210820/cfg_client.js +15 -3
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +103 -3
- package/tencentcloud/services/config/index.d.ts +6 -0
- package/tencentcloud/services/config/index.js +7 -0
- package/tencentcloud/services/config/v20220802/config_client.d.ts +18 -0
- package/tencentcloud/services/config/v20220802/config_client.js +43 -0
- package/tencentcloud/services/config/v20220802/config_models.d.ts +397 -0
- package/tencentcloud/services/config/v20220802/config_models.js +18 -0
- package/tencentcloud/services/config/v20220802/index.d.ts +6 -0
- package/tencentcloud/services/config/v20220802/index.js +9 -0
- package/tencentcloud/services/hai/v20230812/hai_models.d.ts +5 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +38 -28
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +3 -3
- package/tencentcloud/services/teo/v20220901/teo_client.js +3 -3
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +34 -33
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +11 -6
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +15 -3
- package/tencentcloud/services/tse/v20201207/tse_client.js +21 -3
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +90 -8
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +126 -19
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +2 -2
- package/test/cdb.v20170320.test.js +102 -12
- package/test/cfg.v20210820.test.js +22 -2
- package/test/config.v20220802.test.js +41 -0
- package/test/tse.v20201207.test.js +32 -2
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2023-10-25 01:08:41 |
|
|
41
41
|
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-11-01 01:07:57 |
|
|
42
42
|
| ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2023-11-16 01:09:13 |
|
|
43
|
-
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-11-
|
|
43
|
+
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-11-22 01:30:13 |
|
|
44
44
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2023-09-12 01:18:51 |
|
|
45
45
|
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-10-27 01:17:34 |
|
|
46
46
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2023-08-17 01:43:06 |
|
|
47
47
|
| cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2023-09-08 01:20:53 |
|
|
48
48
|
| cdwpg | [云数据仓库 PostgreSQL](https://cloud.tencent.com/document/product/878) | 2023-10-24 01:08:56 |
|
|
49
|
-
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2023-11-
|
|
49
|
+
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2023-11-22 01:45:21 |
|
|
50
50
|
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2023-11-10 01:10:02 |
|
|
51
51
|
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2023-11-17 01:09:22 |
|
|
52
52
|
| chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2023-08-17 01:47:49 |
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2023-10-19 16:00:29 |
|
|
64
64
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2023-08-17 02:03:39 |
|
|
65
65
|
| cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2023-08-24 01:10:10 |
|
|
66
|
+
| config | [配置审计](https://cloud.tencent.com/document/product/1579) | 2023-11-21 15:26:06 |
|
|
66
67
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-09-21 02:09:54 |
|
|
67
68
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
68
69
|
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2023-11-17 01:10:47 |
|
|
@@ -107,7 +108,7 @@
|
|
|
107
108
|
| gs | [云游戏](https://cloud.tencent.com/document/product/1162) | 2023-05-18 01:29:42 |
|
|
108
109
|
| gse | [游戏服务器伸缩](https://cloud.tencent.com/document/product/1165) | 2022-07-11 06:12:44 |
|
|
109
110
|
| habo | [](https://cloud.tencent.com/document/product) | 2019-05-09 19:37:22 |
|
|
110
|
-
| hai | [高性能应用服务](https://cloud.tencent.com/document/product/1721) | 2023-11-
|
|
111
|
+
| hai | [高性能应用服务](https://cloud.tencent.com/document/product/1721) | 2023-11-22 04:14:20 |
|
|
111
112
|
| hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 |
|
|
112
113
|
| hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2023-11-01 01:14:52 |
|
|
113
114
|
| iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2023-10-24 01:16:21 |
|
|
@@ -183,7 +184,7 @@
|
|
|
183
184
|
| tan | [碳引擎](https://cloud.tencent.com/document/product/1498) | 2023-05-18 01:50:16 |
|
|
184
185
|
| tat | [自动化助手](https://cloud.tencent.com/document/product/1340) | 2023-10-25 01:24:40 |
|
|
185
186
|
| tav | [文件检测](https://cloud.tencent.com/document/product) | 2019-11-28 22:10:04 |
|
|
186
|
-
| tbaas | [腾讯云区块链服务平台 TBaaS](https://cloud.tencent.com/document/product/663) | 2023-11-
|
|
187
|
+
| tbaas | [腾讯云区块链服务平台 TBaaS](https://cloud.tencent.com/document/product/663) | 2023-11-22 05:58:47 |
|
|
187
188
|
| tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 |
|
|
188
189
|
| tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2023-08-17 04:48:55 |
|
|
189
190
|
| tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2023-09-25 01:25:42 |
|
|
@@ -197,10 +198,10 @@
|
|
|
197
198
|
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2023-11-21 01:33:13 |
|
|
198
199
|
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2023-06-21 01:36:25 |
|
|
199
200
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2023-07-24 01:49:20 |
|
|
200
|
-
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-11-
|
|
201
|
+
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-11-22 06:38:54 |
|
|
201
202
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2023-11-15 02:26:59 |
|
|
202
203
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-08-30 01:25:15 |
|
|
203
|
-
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-11-
|
|
204
|
+
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-11-22 06:42:38 |
|
|
204
205
|
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-11-06 00:21:33 |
|
|
205
206
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
206
207
|
| tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
|
|
@@ -210,7 +211,7 @@
|
|
|
210
211
|
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2023-09-01 01:23:47 |
|
|
211
212
|
| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2023-11-17 01:26:29 |
|
|
212
213
|
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2023-11-01 01:23:35 |
|
|
213
|
-
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-11-
|
|
214
|
+
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-11-22 06:54:10 |
|
|
214
215
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
|
215
216
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2023-11-17 01:27:28 |
|
|
216
217
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2023-09-27 01:26:36 |
|
|
@@ -220,17 +221,17 @@
|
|
|
220
221
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-10-26 14:46:10 |
|
|
221
222
|
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-07-18 01:53:24 |
|
|
222
223
|
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-11-16 01:34:14 |
|
|
223
|
-
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-11-
|
|
224
|
+
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-11-22 07:09:30 |
|
|
224
225
|
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-11-09 01:27:51 |
|
|
225
226
|
| tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2023-05-18 02:04:00 |
|
|
226
227
|
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2023-09-19 01:29:02 |
|
|
227
228
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2023-08-17 05:50:27 |
|
|
228
229
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2023-11-15 02:36:58 |
|
|
229
230
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2023-08-17 05:50:56 |
|
|
230
|
-
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-11-
|
|
231
|
+
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-11-22 07:26:03 |
|
|
231
232
|
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-11-15 02:39:18 |
|
|
232
233
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-11-21 01:41:45 |
|
|
233
|
-
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-11-
|
|
234
|
+
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-11-22 08:16:17 |
|
|
234
235
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2023-11-15 02:42:49 |
|
|
235
236
|
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-11-21 01:42:45 |
|
|
236
237
|
| weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2023-11-21 01:44:19 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.740"
|
|
@@ -27,12 +27,13 @@ import {
|
|
|
27
27
|
InstanceRollbackRangeTime,
|
|
28
28
|
DescribeTablesResponse,
|
|
29
29
|
ModifyBackupDownloadRestrictionResponse,
|
|
30
|
-
|
|
30
|
+
InstanceDbAuditStatus,
|
|
31
31
|
ModifyTimeWindowResponse,
|
|
32
32
|
ParamRecord,
|
|
33
33
|
ModifyTimeWindowRequest,
|
|
34
34
|
DescribeRollbackRangeTimeRequest,
|
|
35
35
|
DescribeBackupOverviewRequest,
|
|
36
|
+
DescribeAuditInstanceListResponse,
|
|
36
37
|
ModifyDBInstanceProjectResponse,
|
|
37
38
|
DescribeDataBackupOverviewResponse,
|
|
38
39
|
DeleteAuditPolicyRequest,
|
|
@@ -40,7 +41,7 @@ import {
|
|
|
40
41
|
CreateDatabaseRequest,
|
|
41
42
|
ModifyInstanceParamRequest,
|
|
42
43
|
CreateParamTemplateRequest,
|
|
43
|
-
|
|
44
|
+
RemoteBackupInfo,
|
|
44
45
|
DescribeParamTemplateInfoRequest,
|
|
45
46
|
ModifyCdbProxyAddressVipAndVPortResponse,
|
|
46
47
|
DescribeDBInstancesRequest,
|
|
@@ -95,6 +96,7 @@ import {
|
|
|
95
96
|
InitDBInstancesResponse,
|
|
96
97
|
DescribeParamTemplateInfoResponse,
|
|
97
98
|
DescribeInstanceParamsResponse,
|
|
99
|
+
DeleteDatabaseRequest,
|
|
98
100
|
UploadInfo,
|
|
99
101
|
DisassociateSecurityGroupsRequest,
|
|
100
102
|
AuditRuleFilters,
|
|
@@ -110,15 +112,18 @@ import {
|
|
|
110
112
|
DescribeCdbProxyInfoRequest,
|
|
111
113
|
RollbackDBName,
|
|
112
114
|
RuleFilters,
|
|
115
|
+
ModifyAuditRuleTemplatesRequest,
|
|
113
116
|
CreateAuditRuleResponse,
|
|
114
117
|
ModifyRemoteBackupConfigResponse,
|
|
115
118
|
DescribeDBInstanceInfoResponse,
|
|
116
119
|
AssociateSecurityGroupsRequest,
|
|
120
|
+
StartReplicationResponse,
|
|
117
121
|
DescribeDBFeaturesResponse,
|
|
118
122
|
ModifyAuditRuleRequest,
|
|
119
123
|
DescribeBinlogsResponse,
|
|
120
124
|
DescribeRoMinScaleRequest,
|
|
121
125
|
DescribeDefaultParamsRequest,
|
|
126
|
+
AuditInstanceInfo,
|
|
122
127
|
CustomConfig,
|
|
123
128
|
SwitchDBInstanceMasterSlaveResponse,
|
|
124
129
|
DescribeBackupsRequest,
|
|
@@ -141,11 +146,12 @@ import {
|
|
|
141
146
|
DescribeDBSecurityGroupsRequest,
|
|
142
147
|
DescribeDBSwitchRecordsResponse,
|
|
143
148
|
Tag,
|
|
149
|
+
RuleTemplateInfo,
|
|
144
150
|
CreateAuditLogFileResponse,
|
|
145
151
|
ModifyCdbProxyParamResponse,
|
|
146
152
|
ModifyInstanceTagResponse,
|
|
147
153
|
DescribeDBSwitchRecordsRequest,
|
|
148
|
-
|
|
154
|
+
DescribeSupportedPrivilegesRequest,
|
|
149
155
|
DescribeAsyncRequestInfoResponse,
|
|
150
156
|
DeleteAccountsResponse,
|
|
151
157
|
ParamTemplateInfo,
|
|
@@ -181,11 +187,13 @@ import {
|
|
|
181
187
|
LogToCLSConfig,
|
|
182
188
|
ResetRootAccountRequest,
|
|
183
189
|
DescribeDBInstanceConfigRequest,
|
|
190
|
+
ModifyAuditServiceRequest,
|
|
184
191
|
DescribeProxyCustomConfResponse,
|
|
185
192
|
ModifyAuditConfigResponse,
|
|
186
193
|
SwitchDrInstanceToMasterResponse,
|
|
187
194
|
ModifyDBInstanceNameResponse,
|
|
188
195
|
VerifyRootAccountRequest,
|
|
196
|
+
RuleTemplateRecordInfo,
|
|
189
197
|
DescribeCloneListResponse,
|
|
190
198
|
DescribeDBInstanceLogToCLSRequest,
|
|
191
199
|
DescribeDBInstanceConfigResponse,
|
|
@@ -206,6 +214,7 @@ import {
|
|
|
206
214
|
DescribeAccountsResponse,
|
|
207
215
|
RollbackTimeRange,
|
|
208
216
|
AuditLog,
|
|
217
|
+
DescribeAuditRuleTemplateModifyHistoryResponse,
|
|
209
218
|
DescribeAuditLogFilesRequest,
|
|
210
219
|
ModifyBackupConfigRequest,
|
|
211
220
|
DisassociateSecurityGroupsResponse,
|
|
@@ -244,12 +253,15 @@ import {
|
|
|
244
253
|
CloneItem,
|
|
245
254
|
ModifyDBInstanceSecurityGroupsResponse,
|
|
246
255
|
CreateAccountsRequest,
|
|
256
|
+
DeleteAuditRuleTemplatesRequest,
|
|
257
|
+
CreateAuditRuleTemplateResponse,
|
|
247
258
|
DescribeDeployGroupListRequest,
|
|
248
259
|
BackupInfo,
|
|
249
260
|
CloseWanServiceResponse,
|
|
250
261
|
RenewDBInstanceRequest,
|
|
251
262
|
SlowLogInfo,
|
|
252
263
|
ModifyLocalBinlogConfigResponse,
|
|
264
|
+
DeleteDatabaseResponse,
|
|
253
265
|
DescribeCloneListRequest,
|
|
254
266
|
ModifyInstanceTagRequest,
|
|
255
267
|
DescribeProxySupportParamRequest,
|
|
@@ -258,12 +270,14 @@ import {
|
|
|
258
270
|
StartReplicationRequest,
|
|
259
271
|
ProxyInst,
|
|
260
272
|
ReloadBalanceProxyNodeResponse,
|
|
261
|
-
|
|
273
|
+
DescribeRemoteBackupConfigResponse,
|
|
262
274
|
DescribeDBImportRecordsResponse,
|
|
263
275
|
BackupItem,
|
|
264
276
|
AuditFilter,
|
|
265
277
|
DescribeProxySupportParamResponse,
|
|
278
|
+
CloseAuditServiceResponse,
|
|
266
279
|
DescribeRollbackTaskDetailRequest,
|
|
280
|
+
AdjustCdbProxyResponse,
|
|
267
281
|
ModifyParamTemplateResponse,
|
|
268
282
|
BalanceRoGroupLoadResponse,
|
|
269
283
|
DeviceNetInfo,
|
|
@@ -277,11 +291,13 @@ import {
|
|
|
277
291
|
DescribeTagsOfInstanceIdsResponse,
|
|
278
292
|
DescribeDeployGroupListResponse,
|
|
279
293
|
OfflineIsolatedInstancesResponse,
|
|
294
|
+
CreateAuditRuleTemplateRequest,
|
|
280
295
|
DatabasePrivilege,
|
|
281
296
|
DescribeAuditPoliciesRequest,
|
|
282
297
|
AdjustCdbProxyAddressRequest,
|
|
283
298
|
DescribeDatabasesResponse,
|
|
284
299
|
DescribeRoGroupsResponse,
|
|
300
|
+
CloseCdbProxyAddressResponse,
|
|
285
301
|
DescribeAuditRulesResponse,
|
|
286
302
|
RoInstanceInfo,
|
|
287
303
|
ModifyAccountHostRequest,
|
|
@@ -290,7 +306,7 @@ import {
|
|
|
290
306
|
ModifyAccountPrivilegesRequest,
|
|
291
307
|
CreateBackupRequest,
|
|
292
308
|
AccountInfo,
|
|
293
|
-
|
|
309
|
+
DescribeTimeWindowRequest,
|
|
294
310
|
AdjustCdbProxyAddressResponse,
|
|
295
311
|
ModifyDBInstanceVipVportRequest,
|
|
296
312
|
DescribeDBImportRecordsRequest,
|
|
@@ -312,6 +328,7 @@ import {
|
|
|
312
328
|
DescribeSupportedPrivilegesResponse,
|
|
313
329
|
SlowLogItem,
|
|
314
330
|
DescribeLocalBinlogConfigResponse,
|
|
331
|
+
ModifyAuditServiceResponse,
|
|
315
332
|
ModifyInstancePasswordComplexityRequest,
|
|
316
333
|
OpenWanServiceResponse,
|
|
317
334
|
DescribeDBInstanceGTIDRequest,
|
|
@@ -333,6 +350,7 @@ import {
|
|
|
333
350
|
DeleteAuditRuleRequest,
|
|
334
351
|
DeleteParamTemplateResponse,
|
|
335
352
|
DBSwitchInfo,
|
|
353
|
+
DescribeAuditRuleTemplateModifyHistoryRequest,
|
|
336
354
|
DescribeTasksResponse,
|
|
337
355
|
DescribeAuditLogsResponse,
|
|
338
356
|
DescribeAuditPoliciesResponse,
|
|
@@ -348,6 +366,7 @@ import {
|
|
|
348
366
|
ModifyBackupEncryptionStatusRequest,
|
|
349
367
|
DescribeRollbackTaskDetailResponse,
|
|
350
368
|
CreateDBInstanceHourRequest,
|
|
369
|
+
DescribeAuditRuleTemplatesResponse,
|
|
351
370
|
RollbackInstancesInfo,
|
|
352
371
|
CreateCloneInstanceRequest,
|
|
353
372
|
CloseCDBProxyRequest,
|
|
@@ -362,9 +381,11 @@ import {
|
|
|
362
381
|
DescribeBackupSummariesResponse,
|
|
363
382
|
DescribeBinlogBackupOverviewRequest,
|
|
364
383
|
ModifyDBInstanceSecurityGroupsRequest,
|
|
384
|
+
CloseAuditServiceRequest,
|
|
365
385
|
AutoStrategy,
|
|
366
386
|
ModifyAccountMaxUserConnectionsResponse,
|
|
367
387
|
Outbound,
|
|
388
|
+
AuditInstanceFilters,
|
|
368
389
|
ParamInfo,
|
|
369
390
|
DescribeBackupDecryptionKeyResponse,
|
|
370
391
|
SecurityGroup,
|
|
@@ -388,12 +409,13 @@ import {
|
|
|
388
409
|
RenewDBInstanceResponse,
|
|
389
410
|
TablePrivilege,
|
|
390
411
|
AddTimeWindowResponse,
|
|
391
|
-
|
|
412
|
+
DescribeAuditInstanceListRequest,
|
|
392
413
|
DescribeBackupEncryptionStatusRequest,
|
|
393
414
|
ModifyDBInstanceLogToCLSResponse,
|
|
394
415
|
AuditLogFile,
|
|
395
|
-
|
|
416
|
+
DescribeAuditRuleTemplatesRequest,
|
|
396
417
|
RollbackTables,
|
|
418
|
+
AuditRuleTemplateInfo,
|
|
397
419
|
LocalBinlogConfigDefault,
|
|
398
420
|
DescribeSlowLogDataRequest,
|
|
399
421
|
ReleaseIsolatedDBInstancesResponse,
|
|
@@ -408,7 +430,9 @@ import {
|
|
|
408
430
|
ModifyNameOrDescByDpIdRequest,
|
|
409
431
|
UpgradeDBInstanceResponse,
|
|
410
432
|
UpgradeCDBProxyVersionRequest,
|
|
433
|
+
DeleteAuditRuleTemplatesResponse,
|
|
411
434
|
DescribeDeviceMonitorInfoResponse,
|
|
435
|
+
ModifyAuditRuleTemplatesResponse,
|
|
412
436
|
} from "./cdb_models"
|
|
413
437
|
|
|
414
438
|
/**
|
|
@@ -461,13 +485,13 @@ export class Client extends AbstractClient {
|
|
|
461
485
|
}
|
|
462
486
|
|
|
463
487
|
/**
|
|
464
|
-
*
|
|
488
|
+
* 创建审计规则模板
|
|
465
489
|
*/
|
|
466
|
-
async
|
|
467
|
-
req:
|
|
468
|
-
cb?: (error: string, rep:
|
|
469
|
-
): Promise<
|
|
470
|
-
return this.request("
|
|
490
|
+
async CreateAuditRuleTemplate(
|
|
491
|
+
req: CreateAuditRuleTemplateRequest,
|
|
492
|
+
cb?: (error: string, rep: CreateAuditRuleTemplateResponse) => void
|
|
493
|
+
): Promise<CreateAuditRuleTemplateResponse> {
|
|
494
|
+
return this.request("CreateAuditRuleTemplate", req, cb)
|
|
471
495
|
}
|
|
472
496
|
|
|
473
497
|
/**
|
|
@@ -584,6 +608,16 @@ export class Client extends AbstractClient {
|
|
|
584
608
|
return this.request("DescribeCdbZoneConfig", req, cb)
|
|
585
609
|
}
|
|
586
610
|
|
|
611
|
+
/**
|
|
612
|
+
* 实例关闭审计服务
|
|
613
|
+
*/
|
|
614
|
+
async CloseAuditService(
|
|
615
|
+
req: CloseAuditServiceRequest,
|
|
616
|
+
cb?: (error: string, rep: CloseAuditServiceResponse) => void
|
|
617
|
+
): Promise<CloseAuditServiceResponse> {
|
|
618
|
+
return this.request("CloseAuditService", req, cb)
|
|
619
|
+
}
|
|
620
|
+
|
|
587
621
|
/**
|
|
588
622
|
* 本接口(StopRollback) 用于撤销实例正在进行的回档任务,该接口返回一个异步任务id。 撤销结果可以通过 DescribeAsyncRequestInfo 查询任务的执行情况。
|
|
589
623
|
*/
|
|
@@ -688,6 +722,26 @@ export class Client extends AbstractClient {
|
|
|
688
722
|
return this.request("DescribeBackupConfig", req, cb)
|
|
689
723
|
}
|
|
690
724
|
|
|
725
|
+
/**
|
|
726
|
+
* 本接口(OpenDBInstanceEncryption)用于启用实例数据存储加密功能,支持用户指定自定义密钥。
|
|
727
|
+
|
|
728
|
+
注意,启用实例数据存储加密之前,需要进行以下操作:
|
|
729
|
+
|
|
730
|
+
1、进行 [实例初始化](https://cloud.tencent.com/document/api/236/15873) 操作;
|
|
731
|
+
|
|
732
|
+
2、开启 [KMS服务](https://console.cloud.tencent.com/kms2);
|
|
733
|
+
|
|
734
|
+
3、对云数据库(MySQL)[授予访问KMS密钥的权限](https://console.cloud.tencent.com/cam/role),角色名为MySQL_QCSRole,预设策略名为QcloudAccessForMySQLRole;
|
|
735
|
+
|
|
736
|
+
该 API 耗时可能到10s,客户端可能超时,如果调用 API 返回 InternalError ,请您调用DescribeDBInstanceInfo 确认后端加密是否开通成功。
|
|
737
|
+
*/
|
|
738
|
+
async OpenDBInstanceEncryption(
|
|
739
|
+
req: OpenDBInstanceEncryptionRequest,
|
|
740
|
+
cb?: (error: string, rep: OpenDBInstanceEncryptionResponse) => void
|
|
741
|
+
): Promise<OpenDBInstanceEncryptionResponse> {
|
|
742
|
+
return this.request("OpenDBInstanceEncryption", req, cb)
|
|
743
|
+
}
|
|
744
|
+
|
|
691
745
|
/**
|
|
692
746
|
* 本接口(CloseWanService)用于关闭云数据库实例的外网访问。关闭外网访问后,外网地址将不可访问。
|
|
693
747
|
*/
|
|
@@ -719,23 +773,13 @@ export class Client extends AbstractClient {
|
|
|
719
773
|
}
|
|
720
774
|
|
|
721
775
|
/**
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
3、对云数据库(MySQL)[授予访问KMS密钥的权限](https://console.cloud.tencent.com/cam/role),角色名为MySQL_QCSRole,预设策略名为QcloudAccessForMySQLRole;
|
|
731
|
-
|
|
732
|
-
该 API 耗时可能到10s,客户端可能超时,如果调用 API 返回 InternalError ,请您调用DescribeDBInstanceInfo 确认后端加密是否开通成功。
|
|
733
|
-
*/
|
|
734
|
-
async OpenDBInstanceEncryption(
|
|
735
|
-
req: OpenDBInstanceEncryptionRequest,
|
|
736
|
-
cb?: (error: string, rep: OpenDBInstanceEncryptionResponse) => void
|
|
737
|
-
): Promise<OpenDBInstanceEncryptionResponse> {
|
|
738
|
-
return this.request("OpenDBInstanceEncryption", req, cb)
|
|
776
|
+
* 本接口(DeleteDatabase)用于在云数据库实例中删除数据库。
|
|
777
|
+
*/
|
|
778
|
+
async DeleteDatabase(
|
|
779
|
+
req: DeleteDatabaseRequest,
|
|
780
|
+
cb?: (error: string, rep: DeleteDatabaseResponse) => void
|
|
781
|
+
): Promise<DeleteDatabaseResponse> {
|
|
782
|
+
return this.request("DeleteDatabase", req, cb)
|
|
739
783
|
}
|
|
740
784
|
|
|
741
785
|
/**
|
|
@@ -780,13 +824,13 @@ export class Client extends AbstractClient {
|
|
|
780
824
|
}
|
|
781
825
|
|
|
782
826
|
/**
|
|
783
|
-
* 本接口(
|
|
827
|
+
* 本接口(CreateDatabase)用于在云数据库实例中创建数据库。
|
|
784
828
|
*/
|
|
785
|
-
async
|
|
786
|
-
req:
|
|
787
|
-
cb?: (error: string, rep:
|
|
788
|
-
): Promise<
|
|
789
|
-
return this.request("
|
|
829
|
+
async CreateDatabase(
|
|
830
|
+
req: CreateDatabaseRequest,
|
|
831
|
+
cb?: (error: string, rep: CreateDatabaseResponse) => void
|
|
832
|
+
): Promise<CreateDatabaseResponse> {
|
|
833
|
+
return this.request("CreateDatabase", req, cb)
|
|
790
834
|
}
|
|
791
835
|
|
|
792
836
|
/**
|
|
@@ -829,6 +873,16 @@ export class Client extends AbstractClient {
|
|
|
829
873
|
return this.request("DescribeAccountPrivileges", req, cb)
|
|
830
874
|
}
|
|
831
875
|
|
|
876
|
+
/**
|
|
877
|
+
* 本接口(DescribeDataBackupOverview)用于查询用户在当前地域总的数据备份概览。
|
|
878
|
+
*/
|
|
879
|
+
async DescribeDataBackupOverview(
|
|
880
|
+
req: DescribeDataBackupOverviewRequest,
|
|
881
|
+
cb?: (error: string, rep: DescribeDataBackupOverviewResponse) => void
|
|
882
|
+
): Promise<DescribeDataBackupOverviewResponse> {
|
|
883
|
+
return this.request("DescribeDataBackupOverview", req, cb)
|
|
884
|
+
}
|
|
885
|
+
|
|
832
886
|
/**
|
|
833
887
|
* 本接口(ReleaseIsolatedDBInstances)用于恢复已隔离云数据库实例。
|
|
834
888
|
*/
|
|
@@ -900,13 +954,13 @@ export class Client extends AbstractClient {
|
|
|
900
954
|
}
|
|
901
955
|
|
|
902
956
|
/**
|
|
903
|
-
*
|
|
957
|
+
* 删除审计规则模版
|
|
904
958
|
*/
|
|
905
|
-
async
|
|
906
|
-
req:
|
|
907
|
-
cb?: (error: string, rep:
|
|
908
|
-
): Promise<
|
|
909
|
-
return this.request("
|
|
959
|
+
async DeleteAuditRuleTemplates(
|
|
960
|
+
req: DeleteAuditRuleTemplatesRequest,
|
|
961
|
+
cb?: (error: string, rep: DeleteAuditRuleTemplatesResponse) => void
|
|
962
|
+
): Promise<DeleteAuditRuleTemplatesResponse> {
|
|
963
|
+
return this.request("DeleteAuditRuleTemplates", req, cb)
|
|
910
964
|
}
|
|
911
965
|
|
|
912
966
|
/**
|
|
@@ -919,6 +973,16 @@ export class Client extends AbstractClient {
|
|
|
919
973
|
return this.request("DescribeBackups", req, cb)
|
|
920
974
|
}
|
|
921
975
|
|
|
976
|
+
/**
|
|
977
|
+
* 查询数据库代理详情信息
|
|
978
|
+
*/
|
|
979
|
+
async DescribeCdbProxyInfo(
|
|
980
|
+
req: DescribeCdbProxyInfoRequest,
|
|
981
|
+
cb?: (error: string, rep: DescribeCdbProxyInfoResponse) => void
|
|
982
|
+
): Promise<DescribeCdbProxyInfoResponse> {
|
|
983
|
+
return this.request("DescribeCdbProxyInfo", req, cb)
|
|
984
|
+
}
|
|
985
|
+
|
|
922
986
|
/**
|
|
923
987
|
* 该接口(CreateParamTemplate)用于创建参数模板,全地域公共参数Region均为ap-guangzhou。
|
|
924
988
|
*/
|
|
@@ -1018,13 +1082,13 @@ export class Client extends AbstractClient {
|
|
|
1018
1082
|
}
|
|
1019
1083
|
|
|
1020
1084
|
/**
|
|
1021
|
-
* 本接口(
|
|
1085
|
+
* 本接口(DeleteAuditPolicy)用于删除用户的审计策略。
|
|
1022
1086
|
*/
|
|
1023
|
-
async
|
|
1024
|
-
req:
|
|
1025
|
-
cb?: (error: string, rep:
|
|
1026
|
-
): Promise<
|
|
1027
|
-
return this.request("
|
|
1087
|
+
async DeleteAuditPolicy(
|
|
1088
|
+
req: DeleteAuditPolicyRequest,
|
|
1089
|
+
cb?: (error: string, rep: DeleteAuditPolicyResponse) => void
|
|
1090
|
+
): Promise<DeleteAuditPolicyResponse> {
|
|
1091
|
+
return this.request("DeleteAuditPolicy", req, cb)
|
|
1028
1092
|
}
|
|
1029
1093
|
|
|
1030
1094
|
/**
|
|
@@ -1357,13 +1421,13 @@ export class Client extends AbstractClient {
|
|
|
1357
1421
|
}
|
|
1358
1422
|
|
|
1359
1423
|
/**
|
|
1360
|
-
*
|
|
1424
|
+
* 获取审计实例列表
|
|
1361
1425
|
*/
|
|
1362
|
-
async
|
|
1363
|
-
req:
|
|
1364
|
-
cb?: (error: string, rep:
|
|
1365
|
-
): Promise<
|
|
1366
|
-
return this.request("
|
|
1426
|
+
async DescribeAuditInstanceList(
|
|
1427
|
+
req: DescribeAuditInstanceListRequest,
|
|
1428
|
+
cb?: (error: string, rep: DescribeAuditInstanceListResponse) => void
|
|
1429
|
+
): Promise<DescribeAuditInstanceListResponse> {
|
|
1430
|
+
return this.request("DescribeAuditInstanceList", req, cb)
|
|
1367
1431
|
}
|
|
1368
1432
|
|
|
1369
1433
|
/**
|
|
@@ -1603,6 +1667,16 @@ export class Client extends AbstractClient {
|
|
|
1603
1667
|
return this.request("ResetRootAccount", req, cb)
|
|
1604
1668
|
}
|
|
1605
1669
|
|
|
1670
|
+
/**
|
|
1671
|
+
* 修改审计规则模板
|
|
1672
|
+
*/
|
|
1673
|
+
async ModifyAuditRuleTemplates(
|
|
1674
|
+
req: ModifyAuditRuleTemplatesRequest,
|
|
1675
|
+
cb?: (error: string, rep: ModifyAuditRuleTemplatesResponse) => void
|
|
1676
|
+
): Promise<ModifyAuditRuleTemplatesResponse> {
|
|
1677
|
+
return this.request("ModifyAuditRuleTemplates", req, cb)
|
|
1678
|
+
}
|
|
1679
|
+
|
|
1606
1680
|
/**
|
|
1607
1681
|
* 本接口(ModifyAccountPassword)用于修改云数据库账户的密码。
|
|
1608
1682
|
*/
|
|
@@ -1664,6 +1738,16 @@ export class Client extends AbstractClient {
|
|
|
1664
1738
|
return this.request("DeleteAuditLogFile", req, cb)
|
|
1665
1739
|
}
|
|
1666
1740
|
|
|
1741
|
+
/**
|
|
1742
|
+
* 查询审计规则模板信息
|
|
1743
|
+
*/
|
|
1744
|
+
async DescribeAuditRuleTemplates(
|
|
1745
|
+
req: DescribeAuditRuleTemplatesRequest,
|
|
1746
|
+
cb?: (error: string, rep: DescribeAuditRuleTemplatesResponse) => void
|
|
1747
|
+
): Promise<DescribeAuditRuleTemplatesResponse> {
|
|
1748
|
+
return this.request("DescribeAuditRuleTemplates", req, cb)
|
|
1749
|
+
}
|
|
1750
|
+
|
|
1667
1751
|
/**
|
|
1668
1752
|
* 本接口(ModifyBackupConfig)用于修改数据库备份配置信息。
|
|
1669
1753
|
*/
|
|
@@ -1726,6 +1810,16 @@ export class Client extends AbstractClient {
|
|
|
1726
1810
|
return this.request("DescribeDBInstanceLogToCLS", req, cb)
|
|
1727
1811
|
}
|
|
1728
1812
|
|
|
1813
|
+
/**
|
|
1814
|
+
* 查询规则模板变更记录
|
|
1815
|
+
*/
|
|
1816
|
+
async DescribeAuditRuleTemplateModifyHistory(
|
|
1817
|
+
req: DescribeAuditRuleTemplateModifyHistoryRequest,
|
|
1818
|
+
cb?: (error: string, rep: DescribeAuditRuleTemplateModifyHistoryResponse) => void
|
|
1819
|
+
): Promise<DescribeAuditRuleTemplateModifyHistoryResponse> {
|
|
1820
|
+
return this.request("DescribeAuditRuleTemplateModifyHistory", req, cb)
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1729
1823
|
/**
|
|
1730
1824
|
* 主实例创建数据库代理
|
|
1731
1825
|
*/
|
|
@@ -1756,6 +1850,16 @@ export class Client extends AbstractClient {
|
|
|
1756
1850
|
return this.request("SwitchCDBProxy", req, cb)
|
|
1757
1851
|
}
|
|
1758
1852
|
|
|
1853
|
+
/**
|
|
1854
|
+
* 本接口(ModifyAuditService)用于修改云数据库审计日志保存时长、审计规则等服务配置
|
|
1855
|
+
*/
|
|
1856
|
+
async ModifyAuditService(
|
|
1857
|
+
req: ModifyAuditServiceRequest,
|
|
1858
|
+
cb?: (error: string, rep: ModifyAuditServiceResponse) => void
|
|
1859
|
+
): Promise<ModifyAuditServiceResponse> {
|
|
1860
|
+
return this.request("ModifyAuditService", req, cb)
|
|
1861
|
+
}
|
|
1862
|
+
|
|
1759
1863
|
/**
|
|
1760
1864
|
* 配置数据库代理参数
|
|
1761
1865
|
*/
|
|
@@ -1858,6 +1962,16 @@ export class Client extends AbstractClient {
|
|
|
1858
1962
|
return this.request("DescribeSupportedPrivileges", req, cb)
|
|
1859
1963
|
}
|
|
1860
1964
|
|
|
1965
|
+
/**
|
|
1966
|
+
* 该接口(DeleteParamTemplate)用于删除参数模板,全地域公共参数Region均为ap-guangzhou。
|
|
1967
|
+
*/
|
|
1968
|
+
async DeleteParamTemplate(
|
|
1969
|
+
req: DeleteParamTemplateRequest,
|
|
1970
|
+
cb?: (error: string, rep: DeleteParamTemplateResponse) => void
|
|
1971
|
+
): Promise<DeleteParamTemplateResponse> {
|
|
1972
|
+
return this.request("DeleteParamTemplate", req, cb)
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1861
1975
|
/**
|
|
1862
1976
|
* 升级数据库代理版本
|
|
1863
1977
|
*/
|