tencentcloud-sdk-nodejs-sqlserver 4.0.534 → 4.0.535

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-sqlserver",
3
- "version": "4.0.534",
3
+ "version": "4.0.535",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -16,13 +16,13 @@
16
16
  | apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2022-11-09 06:09:16 |
17
17
  | apm | [应用性能观测](https://cloud.tencent.com/document/product/1463) | 2022-12-06 06:16:29 |
18
18
  | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2023-02-06 01:03:29 |
19
- | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2023-02-03 01:03:46 |
19
+ | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2023-02-09 01:04:17 |
20
20
  | asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2022-04-04 06:08:40 |
21
21
  | ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2022-04-04 06:08:45 |
22
22
  | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2022-12-09 01:11:02 |
23
23
  | bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2022-12-15 01:09:06 |
24
24
  | bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2022-08-09 10:42:14 |
25
- | billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2023-02-03 01:04:31 |
25
+ | billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2023-02-09 01:05:16 |
26
26
  | bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
27
27
  | bm | [黑石物理服务器CPM](https://cloud.tencent.com/document/product/386) | 2023-01-11 11:01:36 |
28
28
  | bma | [品牌经营管家](https://cloud.tencent.com/document/product/1296) | 2023-01-17 01:09:15 |
@@ -38,11 +38,11 @@
38
38
  | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2023-01-09 01:07:04 |
39
39
  | casb | [云访问安全代理](https://cloud.tencent.com/document/product/1303) | 2022-12-26 10:53:16 |
40
40
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-12-12 01:11:14 |
41
- | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2022-12-28 01:04:48 |
42
- | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2023-02-07 01:08:44 |
43
- | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-02-08 01:12:48 |
41
+ | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-02-09 01:08:40 |
42
+ | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2023-02-09 01:09:05 |
43
+ | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-02-09 01:09:37 |
44
44
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2022-12-15 01:12:58 |
45
- | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-01-17 01:12:53 |
45
+ | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-02-09 01:11:01 |
46
46
  | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2022-10-31 06:15:53 |
47
47
  | cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2023-02-08 01:18:00 |
48
48
  | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2023-02-01 01:09:52 |
@@ -59,12 +59,12 @@
59
59
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2022-12-14 01:17:29 |
60
60
  | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2022-10-31 06:18:55 |
61
61
  | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2023-01-18 01:12:02 |
62
- | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2022-12-05 06:32:09 |
62
+ | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2023-02-09 01:15:56 |
63
63
  | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2022-11-16 06:15:44 |
64
64
  | cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
65
65
  | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-02-01 01:13:56 |
66
66
  | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
67
- | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-02-08 01:26:30 |
67
+ | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-02-09 01:18:12 |
68
68
  | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-02-06 01:16:27 |
69
69
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
70
70
  | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-02-07 01:22:36 |
@@ -75,8 +75,8 @@
75
75
  | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2022-11-23 06:23:05 |
76
76
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2022-10-26 06:29:47 |
77
77
  | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-02-02 01:18:41 |
78
- | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-02-08 01:31:40 |
79
- | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-02-07 01:26:07 |
78
+ | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-02-09 01:30:43 |
79
+ | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-02-09 01:32:08 |
80
80
  | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-02-08 01:32:53 |
81
81
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2022-04-04 06:38:48 |
82
82
  | ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2023-02-01 01:21:28 |
@@ -122,9 +122,9 @@
122
122
  | ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2022-10-28 11:32:11 |
123
123
  | keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2023-02-07 16:41:11 |
124
124
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2022-12-13 10:37:12 |
125
- | lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2023-02-03 01:30:11 |
125
+ | lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2023-02-09 01:47:12 |
126
126
  | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2023-02-02 01:35:45 |
127
- | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-02-07 01:40:55 |
127
+ | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-02-09 01:48:30 |
128
128
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
129
129
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
130
130
  | mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2023-01-31 01:40:45 |
@@ -163,7 +163,7 @@
163
163
  | sms | [短信](https://cloud.tencent.com/document/product/382) | 2022-12-28 01:09:31 |
164
164
  | soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2022-11-07 06:33:46 |
165
165
  | solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
166
- | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2022-12-07 06:58:03 |
166
+ | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2023-02-09 01:58:45 |
167
167
  | ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-01-05 01:39:20 |
168
168
  | ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2022-12-28 14:53:49 |
169
169
  | sslpod | [SSL证书监控SSLPod](https://cloud.tencent.com/document/product/1084) | 2022-10-31 06:47:43 |
@@ -178,7 +178,7 @@
178
178
  | tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 |
179
179
  | tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2022-04-04 07:09:07 |
180
180
  | tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2023-01-11 01:39:23 |
181
- | tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2023-02-08 02:00:35 |
181
+ | tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2023-02-09 02:02:20 |
182
182
  | tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2022-08-23 06:50:39 |
183
183
  | tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 |
184
184
  | tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
@@ -187,10 +187,10 @@
187
187
  | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2023-02-06 02:04:53 |
188
188
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-10-21 06:47:14 |
189
189
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2023-01-31 01:58:44 |
190
- | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-02-08 02:05:03 |
190
+ | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-02-09 02:10:16 |
191
191
  | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2022-12-06 07:10:10 |
192
- | tem | [弹性微服务 TEM](https://cloud.tencent.com/document/product/1371) | 2023-02-07 02:03:34 |
193
- | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-02-08 02:07:28 |
192
+ | tem | [弹性微服务 TEM](https://cloud.tencent.com/document/product/1371) | 2023-02-09 02:12:10 |
193
+ | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-02-09 02:15:06 |
194
194
  | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-02-08 02:08:58 |
195
195
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
196
196
  | tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2022-10-31 06:55:14 |
@@ -105,7 +105,7 @@ import {
105
105
  DescribeDBsResponse,
106
106
  DescribeDBInstancesRequest,
107
107
  DescribeDBSecurityGroupsRequest,
108
- SlowlogInfo,
108
+ MigrationStep,
109
109
  ModifyAccountRemarkResponse,
110
110
  DescribeMigrationsResponse,
111
111
  DescribeBackupFilesResponse,
@@ -260,7 +260,7 @@ import {
260
260
  DisassociateSecurityGroupsRequest,
261
261
  ModifyBackupNameRequest,
262
262
  StopMigrationResponse,
263
- MigrationStep,
263
+ DBRenameRes,
264
264
  CreatePublishSubscribeResponse,
265
265
  DescribeUploadBackupInfoRequest,
266
266
  DescribeAccountsResponse,
@@ -271,6 +271,7 @@ import {
271
271
  StartBackupMigrationRequest,
272
272
  DescribePublishSubscribeResponse,
273
273
  DescribeReadOnlyGroupListRequest,
274
+ SlowlogInfo,
274
275
  DescribeIncrementalMigrationResponse,
275
276
  ModifyDBRemarkResponse,
276
277
  MigrateTarget,
@@ -1605,6 +1605,12 @@ export interface Migration {
1605
1605
  注意:此字段可能返回 null,表示取不到有效值。
1606
1606
  */
1607
1607
  IsRecovery: string
1608
+
1609
+ /**
1610
+ * 重命名的数据库名称集合
1611
+ 注意:此字段可能返回 null,表示取不到有效值。
1612
+ */
1613
+ DBRename: Array<DBRenameRes>
1608
1614
  }
1609
1615
 
1610
1616
  /**
@@ -2332,48 +2338,27 @@ export interface DescribeDBSecurityGroupsRequest {
2332
2338
  }
2333
2339
 
2334
2340
  /**
2335
- * 慢查询日志文件信息
2341
+ * 冷备导入任务迁移步骤细节
2336
2342
  */
2337
- export interface SlowlogInfo {
2338
- /**
2339
- * 慢查询日志文件唯一标识
2340
- */
2341
- Id: number
2342
-
2343
- /**
2344
- * 文件生成的开始时间
2345
- */
2346
- StartTime: string
2347
-
2348
- /**
2349
- * 文件生成的结束时间
2350
- */
2351
- EndTime: string
2352
-
2343
+ export interface MigrationStep {
2353
2344
  /**
2354
- * 文件大小(KB)
2345
+ * 步骤序列
2355
2346
  */
2356
- Size: number
2347
+ StepNo: number
2357
2348
 
2358
2349
  /**
2359
- * 文件中log条数
2350
+ * 步骤展现名称
2360
2351
  */
2361
- Count: number
2352
+ StepName: string
2362
2353
 
2363
2354
  /**
2364
- * 内网下载地址
2355
+ * 英文ID标识
2365
2356
  */
2366
- InternalAddr: string
2357
+ StepId: string
2367
2358
 
2368
2359
  /**
2369
- * 外网下载地址
2360
+ * 步骤状态:0-默认值,1-成功,2-失败,3-执行中,4-未执行
2370
2361
  */
2371
- ExternalAddr: string
2372
-
2373
- /**
2374
- * 状态(1成功 2失败)
2375
- 注意:此字段可能返回 null,表示取不到有效值。
2376
- */
2377
2362
  Status: number
2378
2363
  }
2379
2364
 
@@ -2980,12 +2965,12 @@ export interface DescribeDBsNormalResponse {
2980
2965
  /**
2981
2966
  * 表示当前实例下的数据库总个数
2982
2967
  */
2983
- TotalCount: number
2968
+ TotalCount?: number
2984
2969
 
2985
2970
  /**
2986
2971
  * 返回数据库的详细配置信息,例如:数据库是否开启CDC、CT等
2987
2972
  */
2988
- DBList: Array<DbNormalDetail>
2973
+ DBList?: Array<DbNormalDetail>
2989
2974
 
2990
2975
  /**
2991
2976
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -3193,9 +3178,14 @@ export interface AccountPrivilege {
3193
3178
  UserName: string
3194
3179
 
3195
3180
  /**
3196
- * 数据库权限。ReadWrite表示可读写,ReadOnly表示只读
3181
+ * 数据库权限。ReadWrite表示可读写,ReadOnly表示只读,Delete表示删除DB对该账户的权限,DBOwner所有者
3197
3182
  */
3198
3183
  Privilege: string
3184
+
3185
+ /**
3186
+ * 账户名称,L0-超级权限(基础版独有),L1-高级权限,L2-特殊权限,L3-普通权限
3187
+ */
3188
+ AccountType?: string
3199
3189
  }
3200
3190
 
3201
3191
  /**
@@ -3278,7 +3268,7 @@ export interface DBPrivilegeModifyInfo {
3278
3268
  DBName: string
3279
3269
 
3280
3270
  /**
3281
- * 权限变更信息。ReadWrite表示可读写,ReadOnly表示只读,Delete表示删除账号对该DB的权限
3271
+ * 权限变更信息。ReadWrite表示可读写,ReadOnly表示只读,Delete表示删除账号对该DB的权限,DBOwner所有者
3282
3272
  */
3283
3273
  Privilege: string
3284
3274
  }
@@ -3479,7 +3469,7 @@ export interface DescribeBackupFilesRequest {
3479
3469
  }
3480
3470
 
3481
3471
  /**
3482
- * 用于RestoreInstance,RollbackInstance,CreateMigration、CloneDB 等接口;对恢复的库进行重命名,且支持选择要恢复的库。
3472
+ * 用于RestoreInstance,RollbackInstance,CreateMigration、CloneDB、ModifyBackupMigration 等接口;对恢复的库进行重命名,且支持选择要恢复的库。
3483
3473
  */
3484
3474
  export interface RenameRestoreDatabase {
3485
3475
  /**
@@ -4106,6 +4096,11 @@ export interface AccountDetail {
4106
4096
  * win-windows鉴权账户需要host
4107
4097
  */
4108
4098
  Host: string
4099
+
4100
+ /**
4101
+ * 账号类型。L0-超级权限(基础版独有),L1-高级权限,L2-特殊权限,L3-普通权限
4102
+ */
4103
+ AccountType: string
4109
4104
  }
4110
4105
 
4111
4106
  /**
@@ -4626,6 +4621,11 @@ export interface DbNormalDetail {
4626
4621
  * 用户类型
4627
4622
  */
4628
4623
  UserAccessDesc: string
4624
+
4625
+ /**
4626
+ * 数据库创建时间
4627
+ */
4628
+ CreateTime?: string
4629
4629
  }
4630
4630
 
4631
4631
  /**
@@ -4903,9 +4903,14 @@ export interface AccountPrivilegeModifyInfo {
4903
4903
  DBPrivileges: Array<DBPrivilegeModifyInfo>
4904
4904
 
4905
4905
  /**
4906
- * 是否为管理员账户
4906
+ * 是否为管理员账户,当值为true 等价于基础版AccountType=L0,高可用AccountType=L1,当值为false时,表示删除管理员权限,默认false
4907
4907
  */
4908
4908
  IsAdmin?: boolean
4909
+
4910
+ /**
4911
+ * 账号类型,IsAdmin字段的扩展字段。 L0-超级权限(基础版独有),L1-高级权限,L2-特殊权限,L3-普通权限,默认L3
4912
+ */
4913
+ AccountType?: string
4909
4914
  }
4910
4915
 
4911
4916
  /**
@@ -5206,7 +5211,7 @@ export interface AccountCreateInfo {
5206
5211
  Remark?: string
5207
5212
 
5208
5213
  /**
5209
- * 是否为管理员账户,默认为否
5214
+ * 是否为管理员账户,当值为true 等价于基础版AccountType=L0,高可用AccountType=L1,当值为false,等价于AccountType=L3
5210
5215
  */
5211
5216
  IsAdmin?: boolean
5212
5217
 
@@ -5214,6 +5219,11 @@ export interface AccountCreateInfo {
5214
5219
  * win-windows鉴权,sql-sqlserver鉴权,不填默认值为sql-sqlserver鉴权
5215
5220
  */
5216
5221
  Authentication?: string
5222
+
5223
+ /**
5224
+ * 账号类型,IsAdmin的扩展字段。 L0-超级权限(基础版独有),L1-高级权限,L2-特殊权限,L3-普通权限,默认L3
5225
+ */
5226
+ AccountType?: string
5217
5227
  }
5218
5228
 
5219
5229
  /**
@@ -5241,7 +5251,7 @@ export interface DBPrivilege {
5241
5251
  DBName: string
5242
5252
 
5243
5253
  /**
5244
- * 数据库权限,ReadWrite表示可读写,ReadOnly表示只读
5254
+ * 数据库权限,ReadWrite表示可读写,ReadOnly表示只读,DBOwner所有者
5245
5255
  */
5246
5256
  Privilege: string
5247
5257
  }
@@ -6403,28 +6413,18 @@ export interface StopMigrationResponse {
6403
6413
  }
6404
6414
 
6405
6415
  /**
6406
- * 冷备导入任务迁移步骤细节
6416
+ * 数据库重命名返回参数
6407
6417
  */
6408
- export interface MigrationStep {
6418
+ export interface DBRenameRes {
6409
6419
  /**
6410
- * 步骤序列
6411
- */
6412
- StepNo: number
6413
-
6414
- /**
6415
- * 步骤展现名称
6416
- */
6417
- StepName: string
6418
-
6419
- /**
6420
- * 英文ID标识
6420
+ * 新数据库名称
6421
6421
  */
6422
- StepId: string
6422
+ NewName: string
6423
6423
 
6424
6424
  /**
6425
- * 步骤状态:0-默认值,1-成功,2-失败,3-执行中,4-未执行
6425
+ * 老数据库名称
6426
6426
  */
6427
- Status: number
6427
+ OldName: string
6428
6428
  }
6429
6429
 
6430
6430
  /**
@@ -6587,6 +6587,52 @@ export interface DescribeReadOnlyGroupListRequest {
6587
6587
  InstanceId: string
6588
6588
  }
6589
6589
 
6590
+ /**
6591
+ * 慢查询日志文件信息
6592
+ */
6593
+ export interface SlowlogInfo {
6594
+ /**
6595
+ * 慢查询日志文件唯一标识
6596
+ */
6597
+ Id: number
6598
+
6599
+ /**
6600
+ * 文件生成的开始时间
6601
+ */
6602
+ StartTime: string
6603
+
6604
+ /**
6605
+ * 文件生成的结束时间
6606
+ */
6607
+ EndTime: string
6608
+
6609
+ /**
6610
+ * 文件大小(KB)
6611
+ */
6612
+ Size: number
6613
+
6614
+ /**
6615
+ * 文件中log条数
6616
+ */
6617
+ Count: number
6618
+
6619
+ /**
6620
+ * 内网下载地址
6621
+ */
6622
+ InternalAddr: string
6623
+
6624
+ /**
6625
+ * 外网下载地址
6626
+ */
6627
+ ExternalAddr: string
6628
+
6629
+ /**
6630
+ * 状态(1成功 2失败)
6631
+ 注意:此字段可能返回 null,表示取不到有效值。
6632
+ */
6633
+ Status: number
6634
+ }
6635
+
6590
6636
  /**
6591
6637
  * DescribeIncrementalMigration返回参数结构体
6592
6638
  */
@@ -6700,6 +6746,11 @@ export interface ModifyBackupMigrationRequest {
6700
6746
  * UploadType是COS_URL时这里时URL,COS_UPLOAD这里填备份文件的名字;只支持1个备份文件,但1个备份文件内可包含多个库
6701
6747
  */
6702
6748
  BackupFiles?: Array<string>
6749
+
6750
+ /**
6751
+ * 需要重命名的数据库名称集合
6752
+ */
6753
+ DBRename?: Array<RenameRestoreDatabase>
6703
6754
  }
6704
6755
 
6705
6756
  /**
@@ -1336,6 +1336,11 @@ export interface Migration {
1336
1336
  注意:此字段可能返回 null,表示取不到有效值。
1337
1337
  */
1338
1338
  IsRecovery: string;
1339
+ /**
1340
+ * 重命名的数据库名称集合
1341
+ 注意:此字段可能返回 null,表示取不到有效值。
1342
+ */
1343
+ DBRename: Array<DBRenameRes>;
1339
1344
  }
1340
1345
  /**
1341
1346
  * ModifyDBInstanceNetwork请求参数结构体
@@ -1943,41 +1948,24 @@ export interface DescribeDBSecurityGroupsRequest {
1943
1948
  InstanceId: string;
1944
1949
  }
1945
1950
  /**
1946
- * 慢查询日志文件信息
1951
+ * 冷备导入任务迁移步骤细节
1947
1952
  */
1948
- export interface SlowlogInfo {
1949
- /**
1950
- * 慢查询日志文件唯一标识
1951
- */
1952
- Id: number;
1953
- /**
1954
- * 文件生成的开始时间
1955
- */
1956
- StartTime: string;
1957
- /**
1958
- * 文件生成的结束时间
1959
- */
1960
- EndTime: string;
1953
+ export interface MigrationStep {
1961
1954
  /**
1962
- * 文件大小(KB)
1955
+ * 步骤序列
1963
1956
  */
1964
- Size: number;
1957
+ StepNo: number;
1965
1958
  /**
1966
- * 文件中log条数
1959
+ * 步骤展现名称
1967
1960
  */
1968
- Count: number;
1961
+ StepName: string;
1969
1962
  /**
1970
- * 内网下载地址
1963
+ * 英文ID标识
1971
1964
  */
1972
- InternalAddr: string;
1965
+ StepId: string;
1973
1966
  /**
1974
- * 外网下载地址
1967
+ * 步骤状态:0-默认值,1-成功,2-失败,3-执行中,4-未执行
1975
1968
  */
1976
- ExternalAddr: string;
1977
- /**
1978
- * 状态(1成功 2失败)
1979
- 注意:此字段可能返回 null,表示取不到有效值。
1980
- */
1981
1969
  Status: number;
1982
1970
  }
1983
1971
  /**
@@ -2485,11 +2473,11 @@ export interface DescribeDBsNormalResponse {
2485
2473
  /**
2486
2474
  * 表示当前实例下的数据库总个数
2487
2475
  */
2488
- TotalCount: number;
2476
+ TotalCount?: number;
2489
2477
  /**
2490
2478
  * 返回数据库的详细配置信息,例如:数据库是否开启CDC、CT等
2491
2479
  */
2492
- DBList: Array<DbNormalDetail>;
2480
+ DBList?: Array<DbNormalDetail>;
2493
2481
  /**
2494
2482
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2495
2483
  */
@@ -2667,9 +2655,13 @@ export interface AccountPrivilege {
2667
2655
  */
2668
2656
  UserName: string;
2669
2657
  /**
2670
- * 数据库权限。ReadWrite表示可读写,ReadOnly表示只读
2658
+ * 数据库权限。ReadWrite表示可读写,ReadOnly表示只读,Delete表示删除DB对该账户的权限,DBOwner所有者
2671
2659
  */
2672
2660
  Privilege: string;
2661
+ /**
2662
+ * 账户名称,L0-超级权限(基础版独有),L1-高级权限,L2-特殊权限,L3-普通权限
2663
+ */
2664
+ AccountType?: string;
2673
2665
  }
2674
2666
  /**
2675
2667
  * StopMigration请求参数结构体
@@ -2742,7 +2734,7 @@ export interface DBPrivilegeModifyInfo {
2742
2734
  */
2743
2735
  DBName: string;
2744
2736
  /**
2745
- * 权限变更信息。ReadWrite表示可读写,ReadOnly表示只读,Delete表示删除账号对该DB的权限
2737
+ * 权限变更信息。ReadWrite表示可读写,ReadOnly表示只读,Delete表示删除账号对该DB的权限,DBOwner所有者
2746
2738
  */
2747
2739
  Privilege: string;
2748
2740
  }
@@ -2912,7 +2904,7 @@ export interface DescribeBackupFilesRequest {
2912
2904
  OrderBy?: string;
2913
2905
  }
2914
2906
  /**
2915
- * 用于RestoreInstance,RollbackInstance,CreateMigration、CloneDB 等接口;对恢复的库进行重命名,且支持选择要恢复的库。
2907
+ * 用于RestoreInstance,RollbackInstance,CreateMigration、CloneDB、ModifyBackupMigration 等接口;对恢复的库进行重命名,且支持选择要恢复的库。
2916
2908
  */
2917
2909
  export interface RenameRestoreDatabase {
2918
2910
  /**
@@ -3441,6 +3433,10 @@ export interface AccountDetail {
3441
3433
  * win-windows鉴权账户需要host
3442
3434
  */
3443
3435
  Host: string;
3436
+ /**
3437
+ * 账号类型。L0-超级权限(基础版独有),L1-高级权限,L2-特殊权限,L3-普通权限
3438
+ */
3439
+ AccountType: string;
3444
3440
  }
3445
3441
  /**
3446
3442
  * ModifyDatabaseMdf返回参数结构体
@@ -3871,6 +3867,10 @@ export interface DbNormalDetail {
3871
3867
  * 用户类型
3872
3868
  */
3873
3869
  UserAccessDesc: string;
3870
+ /**
3871
+ * 数据库创建时间
3872
+ */
3873
+ CreateTime?: string;
3874
3874
  }
3875
3875
  /**
3876
3876
  * ModifyDBInstanceRenewFlag请求参数结构体
@@ -4103,9 +4103,13 @@ export interface AccountPrivilegeModifyInfo {
4103
4103
  */
4104
4104
  DBPrivileges: Array<DBPrivilegeModifyInfo>;
4105
4105
  /**
4106
- * 是否为管理员账户
4106
+ * 是否为管理员账户,当值为true 等价于基础版AccountType=L0,高可用AccountType=L1,当值为false时,表示删除管理员权限,默认false
4107
4107
  */
4108
4108
  IsAdmin?: boolean;
4109
+ /**
4110
+ * 账号类型,IsAdmin字段的扩展字段。 L0-超级权限(基础版独有),L1-高级权限,L2-特殊权限,L3-普通权限,默认L3
4111
+ */
4112
+ AccountType?: string;
4109
4113
  }
4110
4114
  /**
4111
4115
  * 实例详细信息
@@ -4349,13 +4353,17 @@ export interface AccountCreateInfo {
4349
4353
  */
4350
4354
  Remark?: string;
4351
4355
  /**
4352
- * 是否为管理员账户,默认为否
4356
+ * 是否为管理员账户,当值为true 等价于基础版AccountType=L0,高可用AccountType=L1,当值为false,等价于AccountType=L3
4353
4357
  */
4354
4358
  IsAdmin?: boolean;
4355
4359
  /**
4356
4360
  * win-windows鉴权,sql-sqlserver鉴权,不填默认值为sql-sqlserver鉴权
4357
4361
  */
4358
4362
  Authentication?: string;
4363
+ /**
4364
+ * 账号类型,IsAdmin的扩展字段。 L0-超级权限(基础版独有),L1-高级权限,L2-特殊权限,L3-普通权限,默认L3
4365
+ */
4366
+ AccountType?: string;
4359
4367
  }
4360
4368
  /**
4361
4369
  * RenewDBInstance返回参数结构体
@@ -4379,7 +4387,7 @@ export interface DBPrivilege {
4379
4387
  */
4380
4388
  DBName: string;
4381
4389
  /**
4382
- * 数据库权限,ReadWrite表示可读写,ReadOnly表示只读
4390
+ * 数据库权限,ReadWrite表示可读写,ReadOnly表示只读,DBOwner所有者
4383
4391
  */
4384
4392
  Privilege: string;
4385
4393
  }
@@ -5358,25 +5366,17 @@ export interface StopMigrationResponse {
5358
5366
  RequestId?: string;
5359
5367
  }
5360
5368
  /**
5361
- * 冷备导入任务迁移步骤细节
5369
+ * 数据库重命名返回参数
5362
5370
  */
5363
- export interface MigrationStep {
5371
+ export interface DBRenameRes {
5364
5372
  /**
5365
- * 步骤序列
5373
+ * 新数据库名称
5366
5374
  */
5367
- StepNo: number;
5375
+ NewName: string;
5368
5376
  /**
5369
- * 步骤展现名称
5370
- */
5371
- StepName: string;
5372
- /**
5373
- * 英文ID标识
5377
+ * 老数据库名称
5374
5378
  */
5375
- StepId: string;
5376
- /**
5377
- * 步骤状态:0-默认值,1-成功,2-失败,3-执行中,4-未执行
5378
- */
5379
- Status: number;
5379
+ OldName: string;
5380
5380
  }
5381
5381
  /**
5382
5382
  * CreatePublishSubscribe返回参数结构体
@@ -5516,6 +5516,44 @@ export interface DescribeReadOnlyGroupListRequest {
5516
5516
  */
5517
5517
  InstanceId: string;
5518
5518
  }
5519
+ /**
5520
+ * 慢查询日志文件信息
5521
+ */
5522
+ export interface SlowlogInfo {
5523
+ /**
5524
+ * 慢查询日志文件唯一标识
5525
+ */
5526
+ Id: number;
5527
+ /**
5528
+ * 文件生成的开始时间
5529
+ */
5530
+ StartTime: string;
5531
+ /**
5532
+ * 文件生成的结束时间
5533
+ */
5534
+ EndTime: string;
5535
+ /**
5536
+ * 文件大小(KB)
5537
+ */
5538
+ Size: number;
5539
+ /**
5540
+ * 文件中log条数
5541
+ */
5542
+ Count: number;
5543
+ /**
5544
+ * 内网下载地址
5545
+ */
5546
+ InternalAddr: string;
5547
+ /**
5548
+ * 外网下载地址
5549
+ */
5550
+ ExternalAddr: string;
5551
+ /**
5552
+ * 状态(1成功 2失败)
5553
+ 注意:此字段可能返回 null,表示取不到有效值。
5554
+ */
5555
+ Status: number;
5556
+ }
5519
5557
  /**
5520
5558
  * DescribeIncrementalMigration返回参数结构体
5521
5559
  */
@@ -5613,6 +5651,10 @@ export interface ModifyBackupMigrationRequest {
5613
5651
  * UploadType是COS_URL时这里时URL,COS_UPLOAD这里填备份文件的名字;只支持1个备份文件,但1个备份文件内可包含多个库
5614
5652
  */
5615
5653
  BackupFiles?: Array<string>;
5654
+ /**
5655
+ * 需要重命名的数据库名称集合
5656
+ */
5657
+ DBRename?: Array<RenameRestoreDatabase>;
5616
5658
  }
5617
5659
  /**
5618
5660
  * DeleteAccount返回参数结构体