tencentcloud-sdk-nodejs-cynosdb 4.0.460 → 4.0.461

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.
@@ -76,38 +76,51 @@ export interface InquirePriceRenewRequest {
76
76
  }
77
77
 
78
78
  /**
79
- * 任务信息
79
+ * DescribeAuditLogs请求参数结构体
80
80
  */
81
- export interface ObjectTask {
81
+ export interface DescribeAuditLogsRequest {
82
82
  /**
83
- * 任务自增ID
84
- 注意:此字段可能返回 null,表示取不到有效值。
85
- */
86
- TaskId?: number
83
+ * 实例ID
84
+ */
85
+ InstanceId: string
87
86
 
88
87
  /**
89
- * 任务类型
90
- 注意:此字段可能返回 null,表示取不到有效值。
91
- */
92
- TaskType?: string
88
+ * 开始时间,格式为:"2017-07-12 10:29:20"。
89
+ */
90
+ StartTime: string
93
91
 
94
92
  /**
95
- * 任务状态
96
- 注意:此字段可能返回 null,表示取不到有效值。
97
- */
98
- TaskStatus?: string
93
+ * 结束时间,格式为:"2017-07-12 10:29:20"。
94
+ */
95
+ EndTime: string
99
96
 
100
97
  /**
101
- * 任务ID(集群ID|实例组ID|实例ID)
102
- 注意:此字段可能返回 null,表示取不到有效值。
103
- */
104
- ObjectId?: string
98
+ * 排序方式。支持值包括:"ASC" - 升序,"DESC" - 降序。
99
+ */
100
+ Order?: string
105
101
 
106
102
  /**
107
- * 任务类型
108
- 注意:此字段可能返回 null,表示取不到有效值。
103
+ * 排序字段。支持值包括:
104
+ "timestamp" - 时间戳;
105
+ "affectRows" - 影响行数;
106
+ "execTime" - 执行时间。
109
107
  */
110
- ObjectType?: string
108
+ OrderBy?: string
109
+
110
+ /**
111
+ * 过滤条件。可按设置的过滤条件过滤日志。
112
+ */
113
+ Filter?: AuditLogFilter
114
+
115
+ /**
116
+ * 分页参数,单次返回的数据条数。默认值为100,最大值为100。
117
+ */
118
+ Limit?: number
119
+
120
+ /**
121
+ * 分页偏移量。
122
+ */
123
+ Offset?: number
111
124
  }
112
125
 
113
126
  /**
@@ -226,6 +239,26 @@ export interface ModifyClusterStorageRequest {
226
239
  DealMode?: number
227
240
  }
228
241
 
242
+ /**
243
+ * DescribeAuditLogFiles返回参数结构体
244
+ */
245
+ export interface DescribeAuditLogFilesResponse {
246
+ /**
247
+ * 符合条件的审计日志文件个数。
248
+ */
249
+ TotalCount: number
250
+
251
+ /**
252
+ * 审计日志文件详情。
253
+ */
254
+ Items: Array<AuditLogFile>
255
+
256
+ /**
257
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
258
+ */
259
+ RequestId?: string
260
+ }
261
+
229
262
  /**
230
263
  * SwitchClusterZone返回参数结构体
231
264
  */
@@ -494,13 +527,63 @@ export interface IsolateInstanceResponse {
494
527
  }
495
528
 
496
529
  /**
497
- * ModifyInstanceName返回参数结构体
530
+ * 审计日志过滤条件。查询审计日志时,用户过滤返回的审计日志。
498
531
  */
499
- export interface ModifyInstanceNameResponse {
532
+ export interface AuditLogFilter {
500
533
  /**
501
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
534
+ * 客户端地址。
502
535
  */
503
- RequestId?: string
536
+ Host?: Array<string>
537
+
538
+ /**
539
+ * 用户名。
540
+ */
541
+ User?: Array<string>
542
+
543
+ /**
544
+ * 数据库名称。
545
+ */
546
+ DBName?: Array<string>
547
+
548
+ /**
549
+ * 表名称。
550
+ */
551
+ TableName?: Array<string>
552
+
553
+ /**
554
+ * 审计策略名称。
555
+ */
556
+ PolicyName?: Array<string>
557
+
558
+ /**
559
+ * SQL 语句。支持模糊匹配。
560
+ */
561
+ Sql?: string
562
+
563
+ /**
564
+ * SQL 类型。目前支持:"SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "ALTER", "SET", "REPLACE", "EXECUTE"。
565
+ */
566
+ SqlType?: string
567
+
568
+ /**
569
+ * 执行时间。单位为:ms。表示筛选执行时间大于该值的审计日志。
570
+ */
571
+ ExecTime?: number
572
+
573
+ /**
574
+ * 影响行数。表示筛选影响行数大于该值的审计日志。
575
+ */
576
+ AffectRows?: number
577
+
578
+ /**
579
+ * SQL 类型。支持多个类型同时查询。目前支持:"SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "ALTER", "SET", "REPLACE", "EXECUTE"。
580
+ */
581
+ SqlTypes?: Array<string>
582
+
583
+ /**
584
+ * SQL 语句。支持传递多个sql语句。
585
+ */
586
+ Sqls?: Array<string>
504
587
  }
505
588
 
506
589
  /**
@@ -508,6 +591,27 @@ export interface ModifyInstanceNameResponse {
508
591
  */
509
592
  export type DescribeParamTemplatesRequest = null
510
593
 
594
+ /**
595
+ * DescribeAuditLogs返回参数结构体
596
+ */
597
+ export interface DescribeAuditLogsResponse {
598
+ /**
599
+ * 符合条件的审计日志条数。
600
+ */
601
+ TotalCount: number
602
+
603
+ /**
604
+ * 审计日志详情。
605
+ 注意:此字段可能返回 null,表示取不到有效值。
606
+ */
607
+ Items: Array<AuditLog>
608
+
609
+ /**
610
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
611
+ */
612
+ RequestId?: string
613
+ }
614
+
511
615
  /**
512
616
  * PauseServerless请求参数结构体
513
617
  */
@@ -523,6 +627,41 @@ export interface PauseServerlessRequest {
523
627
  ForcePause?: number
524
628
  }
525
629
 
630
+ /**
631
+ * 任务信息
632
+ */
633
+ export interface ObjectTask {
634
+ /**
635
+ * 任务自增ID
636
+ 注意:此字段可能返回 null,表示取不到有效值。
637
+ */
638
+ TaskId?: number
639
+
640
+ /**
641
+ * 任务类型
642
+ 注意:此字段可能返回 null,表示取不到有效值。
643
+ */
644
+ TaskType?: string
645
+
646
+ /**
647
+ * 任务状态
648
+ 注意:此字段可能返回 null,表示取不到有效值。
649
+ */
650
+ TaskStatus?: string
651
+
652
+ /**
653
+ * 任务ID(集群ID|实例组ID|实例ID)
654
+ 注意:此字段可能返回 null,表示取不到有效值。
655
+ */
656
+ ObjectId?: string
657
+
658
+ /**
659
+ * 任务类型
660
+ 注意:此字段可能返回 null,表示取不到有效值。
661
+ */
662
+ ObjectType?: string
663
+ }
664
+
526
665
  /**
527
666
  * RevokeAccountPrivileges返回参数结构体
528
667
  */
@@ -931,6 +1070,16 @@ export interface ModifyDBInstanceSecurityGroupsResponse {
931
1070
  RequestId?: string
932
1071
  }
933
1072
 
1073
+ /**
1074
+ * DeleteAuditLogFile返回参数结构体
1075
+ */
1076
+ export interface DeleteAuditLogFileResponse {
1077
+ /**
1078
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1079
+ */
1080
+ RequestId?: string
1081
+ }
1082
+
934
1083
  /**
935
1084
  * DescribeClusterParamLogs返回参数结构体
936
1085
  */
@@ -1008,23 +1157,44 @@ export interface CreateAccountsRequest {
1008
1157
  }
1009
1158
 
1010
1159
  /**
1011
- * IsolateInstance请求参数结构体
1160
+ * 审计日志文件
1012
1161
  */
1013
- export interface IsolateInstanceRequest {
1162
+ export interface AuditLogFile {
1014
1163
  /**
1015
- * 集群ID
1164
+ * 审计日志文件名称
1016
1165
  */
1017
- ClusterId: string
1166
+ FileName: string
1018
1167
 
1019
1168
  /**
1020
- * 实例ID数组
1169
+ * 审计日志文件创建时间。格式为 : "2019-03-20 17:09:13"。
1021
1170
  */
1022
- InstanceIdList: Array<string>
1171
+ CreateTime: string
1023
1172
 
1024
1173
  /**
1025
- * 该参数已废弃
1026
- */
1027
- DbType?: string
1174
+ * 文件状态值。可能返回的值为:
1175
+ "creating" - 生成中;
1176
+ "failed" - 创建失败;
1177
+ "success" - 已生成;
1178
+ */
1179
+ Status: string
1180
+
1181
+ /**
1182
+ * 文件大小,单位为 KB。
1183
+ 注意:此字段可能返回 null,表示取不到有效值。
1184
+ */
1185
+ FileSize: number
1186
+
1187
+ /**
1188
+ * 审计日志下载地址。
1189
+ 注意:此字段可能返回 null,表示取不到有效值。
1190
+ */
1191
+ DownloadUrl: string
1192
+
1193
+ /**
1194
+ * 错误信息。
1195
+ 注意:此字段可能返回 null,表示取不到有效值。
1196
+ */
1197
+ ErrMsg: string
1028
1198
  }
1029
1199
 
1030
1200
  /**
@@ -1117,6 +1287,51 @@ export interface RollBackClusterRequest {
1117
1287
  RollbackTables?: Array<RollbackTable>
1118
1288
  }
1119
1289
 
1290
+ /**
1291
+ * UpgradeInstance请求参数结构体
1292
+ */
1293
+ export interface UpgradeInstanceRequest {
1294
+ /**
1295
+ * 实例ID
1296
+ */
1297
+ InstanceId: string
1298
+
1299
+ /**
1300
+ * 数据库CPU
1301
+ */
1302
+ Cpu: number
1303
+
1304
+ /**
1305
+ * 数据库内存,单位GB
1306
+ */
1307
+ Memory: number
1308
+
1309
+ /**
1310
+ * 升级类型:upgradeImmediate,upgradeInMaintain
1311
+ */
1312
+ UpgradeType: string
1313
+
1314
+ /**
1315
+ * 该参数已废弃
1316
+ */
1317
+ StorageLimit?: number
1318
+
1319
+ /**
1320
+ * 是否自动选择代金券 1是 0否 默认为0
1321
+ */
1322
+ AutoVoucher?: number
1323
+
1324
+ /**
1325
+ * 该参数已废弃
1326
+ */
1327
+ DbType?: string
1328
+
1329
+ /**
1330
+ * 交易模式 0-下单并支付 1-下单
1331
+ */
1332
+ DealMode?: number
1333
+ }
1334
+
1120
1335
  /**
1121
1336
  * 回档数据库及表
1122
1337
  */
@@ -1187,6 +1402,21 @@ export interface RemoveClusterSlaveZoneResponse {
1187
1402
  RequestId?: string
1188
1403
  }
1189
1404
 
1405
+ /**
1406
+ * CreateAuditLogFile返回参数结构体
1407
+ */
1408
+ export interface CreateAuditLogFileResponse {
1409
+ /**
1410
+ * 审计日志文件名称。
1411
+ */
1412
+ FileName: string
1413
+
1414
+ /**
1415
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1416
+ */
1417
+ RequestId?: string
1418
+ }
1419
+
1190
1420
  /**
1191
1421
  * PauseServerless返回参数结构体
1192
1422
  */
@@ -2451,32 +2681,78 @@ export interface DescribeInstanceSlowQueriesResponse {
2451
2681
  }
2452
2682
 
2453
2683
  /**
2454
- * GrantAccountPrivileges返回参数结构体
2684
+ * DescribeInstances请求参数结构体
2455
2685
  */
2456
- export interface GrantAccountPrivilegesResponse {
2686
+ export interface DescribeInstancesRequest {
2457
2687
  /**
2458
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2688
+ * 返回数量,默认为 20,最大值为 100
2459
2689
  */
2460
- RequestId?: string
2461
- }
2690
+ Limit?: number
2462
2691
 
2463
- /**
2464
- * DescribeBackupDownloadUrl返回参数结构体
2465
- */
2466
- export interface DescribeBackupDownloadUrlResponse {
2467
2692
  /**
2468
- * 备份下载地址
2693
+ * 记录偏移量,默认值为0
2469
2694
  */
2470
- DownloadUrl: string
2695
+ Offset?: number
2471
2696
 
2472
2697
  /**
2473
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2474
- */
2475
- RequestId?: string
2476
- }
2477
-
2478
- /**
2479
- * ResumeServerless请求参数结构体
2698
+ * 排序字段,取值范围:
2699
+ <li> CREATETIME:创建时间</li>
2700
+ <li> PERIODENDTIME:过期时间</li>
2701
+ */
2702
+ OrderBy?: string
2703
+
2704
+ /**
2705
+ * 排序类型,取值范围:
2706
+ <li> ASC:升序排序 </li>
2707
+ <li> DESC:降序排序 </li>
2708
+ */
2709
+ OrderByType?: string
2710
+
2711
+ /**
2712
+ * 搜索条件,若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
2713
+ */
2714
+ Filters?: Array<QueryFilter>
2715
+
2716
+ /**
2717
+ * 引擎类型:目前支持“MYSQL”, “POSTGRESQL”
2718
+ */
2719
+ DbType?: string
2720
+
2721
+ /**
2722
+ * 实例状态, 可选值:
2723
+ creating 创建中
2724
+ running 运行中
2725
+ isolating 隔离中
2726
+ isolated 已隔离
2727
+ activating 恢复中
2728
+ offlining 下线中
2729
+ offlined 已下线
2730
+ */
2731
+ Status?: string
2732
+
2733
+ /**
2734
+ * 实例id列表
2735
+ */
2736
+ InstanceIds?: Array<string>
2737
+ }
2738
+
2739
+ /**
2740
+ * DescribeBackupDownloadUrl返回参数结构体
2741
+ */
2742
+ export interface DescribeBackupDownloadUrlResponse {
2743
+ /**
2744
+ * 备份下载地址
2745
+ */
2746
+ DownloadUrl: string
2747
+
2748
+ /**
2749
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2750
+ */
2751
+ RequestId?: string
2752
+ }
2753
+
2754
+ /**
2755
+ * ResumeServerless请求参数结构体
2480
2756
  */
2481
2757
  export interface ResumeServerlessRequest {
2482
2758
  /**
@@ -3002,6 +3278,26 @@ export interface InquirePriceCreateResponse {
3002
3278
  RequestId?: string
3003
3279
  }
3004
3280
 
3281
+ /**
3282
+ * IsolateInstance请求参数结构体
3283
+ */
3284
+ export interface IsolateInstanceRequest {
3285
+ /**
3286
+ * 集群ID
3287
+ */
3288
+ ClusterId: string
3289
+
3290
+ /**
3291
+ * 实例ID数组
3292
+ */
3293
+ InstanceIdList: Array<string>
3294
+
3295
+ /**
3296
+ * 该参数已废弃
3297
+ */
3298
+ DbType?: string
3299
+ }
3300
+
3005
3301
  /**
3006
3302
  * SetRenewFlag返回参数结构体
3007
3303
  */
@@ -3098,48 +3394,48 @@ export interface DescribeClusterParamLogsRequest {
3098
3394
  }
3099
3395
 
3100
3396
  /**
3101
- * UpgradeInstance请求参数结构体
3397
+ * 安全组规则
3102
3398
  */
3103
- export interface UpgradeInstanceRequest {
3399
+ export interface PolicyRule {
3104
3400
  /**
3105
- * 实例ID
3401
+ * 策略,ACCEPT或者DROP
3106
3402
  */
3107
- InstanceId: string
3403
+ Action: string
3108
3404
 
3109
3405
  /**
3110
- * 数据库CPU
3406
+ * 来源Ip或Ip段,例如192.168.0.0/16
3111
3407
  */
3112
- Cpu: number
3408
+ CidrIp: string
3113
3409
 
3114
3410
  /**
3115
- * 数据库内存,单位GB
3411
+ * 端口
3116
3412
  */
3117
- Memory: number
3413
+ PortRange: string
3118
3414
 
3119
3415
  /**
3120
- * 升级类型:upgradeImmediate,upgradeInMaintain
3416
+ * 网络协议,支持udp、tcp等
3121
3417
  */
3122
- UpgradeType: string
3418
+ IpProtocol: string
3123
3419
 
3124
3420
  /**
3125
- * 该参数已废弃
3421
+ * 协议端口ID或者协议端口组ID。
3126
3422
  */
3127
- StorageLimit?: number
3423
+ ServiceModule: string
3128
3424
 
3129
3425
  /**
3130
- * 是否自动选择代金券 1是 0否 默认为0
3426
+ * IP地址ID或者ID地址组ID。
3131
3427
  */
3132
- AutoVoucher?: number
3428
+ AddressModule: string
3133
3429
 
3134
3430
  /**
3135
- * 该参数已废弃
3431
+ * id
3136
3432
  */
3137
- DbType?: string
3433
+ Id: string
3138
3434
 
3139
3435
  /**
3140
- * 交易模式 0-下单并支付 1-下单
3436
+ * 描述
3141
3437
  */
3142
- DealMode?: number
3438
+ Desc: string
3143
3439
  }
3144
3440
 
3145
3441
  /**
@@ -3283,38 +3579,56 @@ export interface DescribeRollbackTimeValidityRequest {
3283
3579
  }
3284
3580
 
3285
3581
  /**
3286
- * IsolateCluster请求参数结构体
3582
+ * CreateAuditLogFile请求参数结构体
3287
3583
  */
3288
- export interface IsolateClusterRequest {
3584
+ export interface CreateAuditLogFileRequest {
3289
3585
  /**
3290
- * 集群ID
3586
+ * 实例ID
3291
3587
  */
3292
- ClusterId: string
3588
+ InstanceId: string
3293
3589
 
3294
3590
  /**
3295
- * 该参数已废用
3591
+ * 开始时间,格式为:"2017-07-12 10:29:20"。
3296
3592
  */
3297
- DbType?: string
3298
- }
3593
+ StartTime: string
3299
3594
 
3300
- /**
3301
- * DescribeClusterInstanceGrps返回参数结构体
3302
- */
3303
- export interface DescribeClusterInstanceGrpsResponse {
3304
3595
  /**
3305
- * 实例组个数
3596
+ * 结束时间,格式为:"2017-07-12 10:29:20"。
3306
3597
  */
3307
- TotalCount: number
3598
+ EndTime: string
3308
3599
 
3309
3600
  /**
3310
- * 实例组列表
3601
+ * 排序方式。支持值包括:"ASC" - 升序,"DESC" - 降序。
3311
3602
  */
3312
- InstanceGrpInfoList: Array<CynosdbInstanceGrp>
3603
+ Order?: string
3313
3604
 
3314
3605
  /**
3315
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3606
+ * 排序字段。支持值包括:
3607
+ "timestamp" - 时间戳;
3608
+ "affectRows" - 影响行数;
3609
+ "execTime" - 执行时间。
3610
+ */
3611
+ OrderBy?: string
3612
+
3613
+ /**
3614
+ * 过滤条件。可按设置的过滤条件过滤日志。
3316
3615
  */
3317
- RequestId?: string
3616
+ Filter?: AuditLogFilter
3617
+ }
3618
+
3619
+ /**
3620
+ * DeleteAuditLogFile请求参数结构体
3621
+ */
3622
+ export interface DeleteAuditLogFileRequest {
3623
+ /**
3624
+ * 实例ID
3625
+ */
3626
+ InstanceId: string
3627
+
3628
+ /**
3629
+ * 审计日志文件名称。
3630
+ */
3631
+ FileName: string
3318
3632
  }
3319
3633
 
3320
3634
  /**
@@ -3409,94 +3723,103 @@ export interface ModifyClusterSlaveZoneRequest {
3409
3723
  }
3410
3724
 
3411
3725
  /**
3412
- * DescribeInstances请求参数结构体
3726
+ * GrantAccountPrivileges返回参数结构体
3413
3727
  */
3414
- export interface DescribeInstancesRequest {
3728
+ export interface GrantAccountPrivilegesResponse {
3415
3729
  /**
3416
- * 返回数量,默认为 20,最大值为 100
3730
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3417
3731
  */
3418
- Limit?: number
3732
+ RequestId?: string
3733
+ }
3419
3734
 
3735
+ /**
3736
+ * 参数修改记录
3737
+ */
3738
+ export interface ClusterParamModifyLog {
3420
3739
  /**
3421
- * 记录偏移量,默认值为0
3740
+ * 参数名称
3422
3741
  */
3423
- Offset?: number
3424
-
3425
- /**
3426
- * 排序字段,取值范围:
3427
- <li> CREATETIME:创建时间</li>
3428
- <li> PERIODENDTIME:过期时间</li>
3429
- */
3430
- OrderBy?: string
3742
+ ParamName: string
3431
3743
 
3432
3744
  /**
3433
- * 排序类型,取值范围:
3434
- <li> ASC:升序排序 </li>
3435
- <li> DESC:降序排序 </li>
3436
- */
3437
- OrderByType?: string
3745
+ * 当前值
3746
+ */
3747
+ CurrentValue: string
3438
3748
 
3439
3749
  /**
3440
- * 搜索条件,若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
3750
+ * 修改后的值
3441
3751
  */
3442
- Filters?: Array<QueryFilter>
3752
+ UpdateValue: string
3443
3753
 
3444
3754
  /**
3445
- * 引擎类型:目前支持“MYSQL”, “POSTGRESQL”
3755
+ * 修改状态
3446
3756
  */
3447
- DbType?: string
3757
+ Status: string
3448
3758
 
3449
3759
  /**
3450
- * 实例状态, 可选值:
3451
- creating 创建中
3452
- running 运行中
3453
- isolating 隔离中
3454
- isolated 已隔离
3455
- activating 恢复中
3456
- offlining 下线中
3457
- offlined 已下线
3458
- */
3459
- Status?: string
3760
+ * 创建时间
3761
+ */
3762
+ CreateTime: string
3460
3763
 
3461
3764
  /**
3462
- * 实例id列表
3765
+ * 更新时间
3463
3766
  */
3464
- InstanceIds?: Array<string>
3767
+ UpdateTime: string
3465
3768
  }
3466
3769
 
3467
3770
  /**
3468
- * 参数修改记录
3771
+ * DescribeInstanceSlowQueries请求参数结构体
3469
3772
  */
3470
- export interface ClusterParamModifyLog {
3773
+ export interface DescribeInstanceSlowQueriesRequest {
3471
3774
  /**
3472
- * 参数名称
3775
+ * 实例ID
3473
3776
  */
3474
- ParamName: string
3777
+ InstanceId: string
3475
3778
 
3476
3779
  /**
3477
- * 当前值
3780
+ * 事务开始最早时间
3478
3781
  */
3479
- CurrentValue: string
3782
+ StartTime?: string
3480
3783
 
3481
3784
  /**
3482
- * 修改后的值
3785
+ * 事务开始最晚时间
3483
3786
  */
3484
- UpdateValue: string
3787
+ EndTime?: string
3485
3788
 
3486
3789
  /**
3487
- * 修改状态
3790
+ * 限制条数
3488
3791
  */
3489
- Status: string
3792
+ Limit?: number
3490
3793
 
3491
3794
  /**
3492
- * 创建时间
3795
+ * 偏移量
3493
3796
  */
3494
- CreateTime: string
3797
+ Offset?: number
3495
3798
 
3496
3799
  /**
3497
- * 更新时间
3800
+ * 用户名
3498
3801
  */
3499
- UpdateTime: string
3802
+ Username?: string
3803
+
3804
+ /**
3805
+ * 客户端host
3806
+ */
3807
+ Host?: string
3808
+
3809
+ /**
3810
+ * 数据库名
3811
+ */
3812
+ Database?: string
3813
+
3814
+ /**
3815
+ * 排序字段,可选值:QueryTime,LockTime,RowsExamined,RowsSent
3816
+ */
3817
+ OrderBy?: string
3818
+
3819
+ /**
3820
+ * 排序类型,可选值:asc,desc
3821
+ */
3822
+ OrderByType?: string
3500
3823
  }
3501
3824
 
3502
3825
  /**
@@ -3865,6 +4188,16 @@ export interface ModifyBackupNameRequest {
3865
4188
  BackupName: string
3866
4189
  }
3867
4190
 
4191
+ /**
4192
+ * ModifyInstanceName返回参数结构体
4193
+ */
4194
+ export interface ModifyInstanceNameResponse {
4195
+ /**
4196
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4197
+ */
4198
+ RequestId?: string
4199
+ }
4200
+
3868
4201
  /**
3869
4202
  * DescribeBinlogSaveDays返回参数结构体
3870
4203
  */
@@ -3989,6 +4322,81 @@ export interface DescribeClusterParamsRequest {
3989
4322
  ClusterId: string
3990
4323
  }
3991
4324
 
4325
+ /**
4326
+ * 审计日志详细信息
4327
+ */
4328
+ export interface AuditLog {
4329
+ /**
4330
+ * 影响行数。
4331
+ */
4332
+ AffectRows: number
4333
+
4334
+ /**
4335
+ * 错误码。
4336
+ */
4337
+ ErrCode: number
4338
+
4339
+ /**
4340
+ * SQL类型。
4341
+ */
4342
+ SqlType: string
4343
+
4344
+ /**
4345
+ * 表名称。
4346
+ */
4347
+ TableName: string
4348
+
4349
+ /**
4350
+ * 实例名称。
4351
+ */
4352
+ InstanceName: string
4353
+
4354
+ /**
4355
+ * 审计策略名称。
4356
+ */
4357
+ PolicyName: string
4358
+
4359
+ /**
4360
+ * 数据库名称。
4361
+ */
4362
+ DBName: string
4363
+
4364
+ /**
4365
+ * SQL语句。
4366
+ */
4367
+ Sql: string
4368
+
4369
+ /**
4370
+ * 客户端地址。
4371
+ */
4372
+ Host: string
4373
+
4374
+ /**
4375
+ * 用户名。
4376
+ */
4377
+ User: string
4378
+
4379
+ /**
4380
+ * 执行时间。
4381
+ */
4382
+ ExecTime: number
4383
+
4384
+ /**
4385
+ * 时间戳。
4386
+ */
4387
+ Timestamp: string
4388
+
4389
+ /**
4390
+ * 发送行数。
4391
+ */
4392
+ SentRows: number
4393
+
4394
+ /**
4395
+ * 执行线程ID。
4396
+ */
4397
+ ThreadId: number
4398
+ }
4399
+
3992
4400
  /**
3993
4401
  * DescribeInstanceSpecs返回参数结构体
3994
4402
  */
@@ -4055,48 +4463,43 @@ export interface ParamItem {
4055
4463
  }
4056
4464
 
4057
4465
  /**
4058
- * 安全组规则
4466
+ * IsolateCluster请求参数结构体
4059
4467
  */
4060
- export interface PolicyRule {
4061
- /**
4062
- * 策略,ACCEPT或者DROP
4063
- */
4064
- Action: string
4065
-
4066
- /**
4067
- * 来源Ip或Ip段,例如192.168.0.0/16
4068
- */
4069
- CidrIp: string
4070
-
4468
+ export interface IsolateClusterRequest {
4071
4469
  /**
4072
- * 端口
4470
+ * 集群ID
4073
4471
  */
4074
- PortRange: string
4472
+ ClusterId: string
4075
4473
 
4076
4474
  /**
4077
- * 网络协议,支持udp、tcp等
4475
+ * 该参数已废用
4078
4476
  */
4079
- IpProtocol: string
4477
+ DbType?: string
4478
+ }
4080
4479
 
4480
+ /**
4481
+ * DescribeAuditLogFiles请求参数结构体
4482
+ */
4483
+ export interface DescribeAuditLogFilesRequest {
4081
4484
  /**
4082
- * 协议端口ID或者协议端口组ID。
4485
+ * 实例ID
4083
4486
  */
4084
- ServiceModule: string
4487
+ InstanceId: string
4085
4488
 
4086
4489
  /**
4087
- * IP地址ID或者ID地址组ID
4490
+ * 分页大小参数。默认值为 20,最小值为 1,最大值为 100
4088
4491
  */
4089
- AddressModule: string
4492
+ Limit?: number
4090
4493
 
4091
4494
  /**
4092
- * id
4495
+ * 分页偏移量。
4093
4496
  */
4094
- Id: string
4497
+ Offset?: number
4095
4498
 
4096
4499
  /**
4097
- * 描述
4500
+ * 审计日志文件名。
4098
4501
  */
4099
- Desc: string
4502
+ FileName?: string
4100
4503
  }
4101
4504
 
4102
4505
  /**
@@ -4115,58 +4518,23 @@ export interface DescribeClusterDetailResponse {
4115
4518
  }
4116
4519
 
4117
4520
  /**
4118
- * DescribeInstanceSlowQueries请求参数结构体
4521
+ * DescribeClusterInstanceGrps返回参数结构体
4119
4522
  */
4120
- export interface DescribeInstanceSlowQueriesRequest {
4121
- /**
4122
- * 实例ID
4123
- */
4124
- InstanceId: string
4125
-
4126
- /**
4127
- * 事务开始最早时间
4128
- */
4129
- StartTime?: string
4130
-
4131
- /**
4132
- * 事务开始最晚时间
4133
- */
4134
- EndTime?: string
4135
-
4136
- /**
4137
- * 限制条数
4138
- */
4139
- Limit?: number
4140
-
4141
- /**
4142
- * 偏移量
4143
- */
4144
- Offset?: number
4145
-
4146
- /**
4147
- * 用户名
4148
- */
4149
- Username?: string
4150
-
4151
- /**
4152
- * 客户端host
4153
- */
4154
- Host?: string
4155
-
4523
+ export interface DescribeClusterInstanceGrpsResponse {
4156
4524
  /**
4157
- * 数据库名
4525
+ * 实例组个数
4158
4526
  */
4159
- Database?: string
4527
+ TotalCount: number
4160
4528
 
4161
4529
  /**
4162
- * 排序字段,可选值:QueryTime,LockTime,RowsExamined,RowsSent
4530
+ * 实例组列表
4163
4531
  */
4164
- OrderBy?: string
4532
+ InstanceGrpInfoList: Array<CynosdbInstanceGrp>
4165
4533
 
4166
4534
  /**
4167
- * 排序类型,可选值:asc,desc
4535
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4168
4536
  */
4169
- OrderByType?: string
4537
+ RequestId?: string
4170
4538
  }
4171
4539
 
4172
4540
  /**