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.
@@ -51,34 +51,44 @@ export interface InquirePriceRenewRequest {
51
51
  TimeUnit: string;
52
52
  }
53
53
  /**
54
- * 任务信息
54
+ * DescribeAuditLogs请求参数结构体
55
55
  */
56
- export interface ObjectTask {
56
+ export interface DescribeAuditLogsRequest {
57
57
  /**
58
- * 任务自增ID
59
- 注意:此字段可能返回 null,表示取不到有效值。
60
- */
61
- TaskId?: number;
58
+ * 实例ID
59
+ */
60
+ InstanceId: string;
62
61
  /**
63
- * 任务类型
64
- 注意:此字段可能返回 null,表示取不到有效值。
65
- */
66
- TaskType?: string;
62
+ * 开始时间,格式为:"2017-07-12 10:29:20"。
63
+ */
64
+ StartTime: string;
67
65
  /**
68
- * 任务状态
69
- 注意:此字段可能返回 null,表示取不到有效值。
70
- */
71
- TaskStatus?: string;
66
+ * 结束时间,格式为:"2017-07-12 10:29:20"。
67
+ */
68
+ EndTime: string;
72
69
  /**
73
- * 任务ID(集群ID|实例组ID|实例ID)
74
- 注意:此字段可能返回 null,表示取不到有效值。
75
- */
76
- ObjectId?: string;
70
+ * 排序方式。支持值包括:"ASC" - 升序,"DESC" - 降序。
71
+ */
72
+ Order?: string;
77
73
  /**
78
- * 任务类型
79
- 注意:此字段可能返回 null,表示取不到有效值。
74
+ * 排序字段。支持值包括:
75
+ "timestamp" - 时间戳;
76
+ "affectRows" - 影响行数;
77
+ "execTime" - 执行时间。
80
78
  */
81
- ObjectType?: string;
79
+ OrderBy?: string;
80
+ /**
81
+ * 过滤条件。可按设置的过滤条件过滤日志。
82
+ */
83
+ Filter?: AuditLogFilter;
84
+ /**
85
+ * 分页参数,单次返回的数据条数。默认值为100,最大值为100。
86
+ */
87
+ Limit?: number;
88
+ /**
89
+ * 分页偏移量。
90
+ */
91
+ Offset?: number;
82
92
  }
83
93
  /**
84
94
  * DescribeBackupConfig请求参数结构体
@@ -179,6 +189,23 @@ export interface ModifyClusterStorageRequest {
179
189
  */
180
190
  DealMode?: number;
181
191
  }
192
+ /**
193
+ * DescribeAuditLogFiles返回参数结构体
194
+ */
195
+ export interface DescribeAuditLogFilesResponse {
196
+ /**
197
+ * 符合条件的审计日志文件个数。
198
+ */
199
+ TotalCount: number;
200
+ /**
201
+ * 审计日志文件详情。
202
+ */
203
+ Items: Array<AuditLogFile>;
204
+ /**
205
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
206
+ */
207
+ RequestId?: string;
208
+ }
182
209
  /**
183
210
  * SwitchClusterZone返回参数结构体
184
211
  */
@@ -409,18 +436,76 @@ export interface IsolateInstanceResponse {
409
436
  RequestId?: string;
410
437
  }
411
438
  /**
412
- * ModifyInstanceName返回参数结构体
439
+ * 审计日志过滤条件。查询审计日志时,用户过滤返回的审计日志。
413
440
  */
414
- export interface ModifyInstanceNameResponse {
441
+ export interface AuditLogFilter {
415
442
  /**
416
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
443
+ * 客户端地址。
417
444
  */
418
- RequestId?: string;
445
+ Host?: Array<string>;
446
+ /**
447
+ * 用户名。
448
+ */
449
+ User?: Array<string>;
450
+ /**
451
+ * 数据库名称。
452
+ */
453
+ DBName?: Array<string>;
454
+ /**
455
+ * 表名称。
456
+ */
457
+ TableName?: Array<string>;
458
+ /**
459
+ * 审计策略名称。
460
+ */
461
+ PolicyName?: Array<string>;
462
+ /**
463
+ * SQL 语句。支持模糊匹配。
464
+ */
465
+ Sql?: string;
466
+ /**
467
+ * SQL 类型。目前支持:"SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "ALTER", "SET", "REPLACE", "EXECUTE"。
468
+ */
469
+ SqlType?: string;
470
+ /**
471
+ * 执行时间。单位为:ms。表示筛选执行时间大于该值的审计日志。
472
+ */
473
+ ExecTime?: number;
474
+ /**
475
+ * 影响行数。表示筛选影响行数大于该值的审计日志。
476
+ */
477
+ AffectRows?: number;
478
+ /**
479
+ * SQL 类型。支持多个类型同时查询。目前支持:"SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "ALTER", "SET", "REPLACE", "EXECUTE"。
480
+ */
481
+ SqlTypes?: Array<string>;
482
+ /**
483
+ * SQL 语句。支持传递多个sql语句。
484
+ */
485
+ Sqls?: Array<string>;
419
486
  }
420
487
  /**
421
488
  * DescribeParamTemplates请求参数结构体
422
489
  */
423
490
  export declare type DescribeParamTemplatesRequest = null;
491
+ /**
492
+ * DescribeAuditLogs返回参数结构体
493
+ */
494
+ export interface DescribeAuditLogsResponse {
495
+ /**
496
+ * 符合条件的审计日志条数。
497
+ */
498
+ TotalCount: number;
499
+ /**
500
+ * 审计日志详情。
501
+ 注意:此字段可能返回 null,表示取不到有效值。
502
+ */
503
+ Items: Array<AuditLog>;
504
+ /**
505
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
506
+ */
507
+ RequestId?: string;
508
+ }
424
509
  /**
425
510
  * PauseServerless请求参数结构体
426
511
  */
@@ -434,6 +519,36 @@ export interface PauseServerlessRequest {
434
519
  */
435
520
  ForcePause?: number;
436
521
  }
522
+ /**
523
+ * 任务信息
524
+ */
525
+ export interface ObjectTask {
526
+ /**
527
+ * 任务自增ID
528
+ 注意:此字段可能返回 null,表示取不到有效值。
529
+ */
530
+ TaskId?: number;
531
+ /**
532
+ * 任务类型
533
+ 注意:此字段可能返回 null,表示取不到有效值。
534
+ */
535
+ TaskType?: string;
536
+ /**
537
+ * 任务状态
538
+ 注意:此字段可能返回 null,表示取不到有效值。
539
+ */
540
+ TaskStatus?: string;
541
+ /**
542
+ * 任务ID(集群ID|实例组ID|实例ID)
543
+ 注意:此字段可能返回 null,表示取不到有效值。
544
+ */
545
+ ObjectId?: string;
546
+ /**
547
+ * 任务类型
548
+ 注意:此字段可能返回 null,表示取不到有效值。
549
+ */
550
+ ObjectType?: string;
551
+ }
437
552
  /**
438
553
  * RevokeAccountPrivileges返回参数结构体
439
554
  */
@@ -779,6 +894,15 @@ export interface ModifyDBInstanceSecurityGroupsResponse {
779
894
  */
780
895
  RequestId?: string;
781
896
  }
897
+ /**
898
+ * DeleteAuditLogFile返回参数结构体
899
+ */
900
+ export interface DeleteAuditLogFileResponse {
901
+ /**
902
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
903
+ */
904
+ RequestId?: string;
905
+ }
782
906
  /**
783
907
  * DescribeClusterParamLogs返回参数结构体
784
908
  */
@@ -846,21 +970,39 @@ export interface CreateAccountsRequest {
846
970
  Accounts: Array<NewAccount>;
847
971
  }
848
972
  /**
849
- * IsolateInstance请求参数结构体
973
+ * 审计日志文件
850
974
  */
851
- export interface IsolateInstanceRequest {
975
+ export interface AuditLogFile {
852
976
  /**
853
- * 集群ID
977
+ * 审计日志文件名称
854
978
  */
855
- ClusterId: string;
979
+ FileName: string;
856
980
  /**
857
- * 实例ID数组
981
+ * 审计日志文件创建时间。格式为 : "2019-03-20 17:09:13"。
858
982
  */
859
- InstanceIdList: Array<string>;
983
+ CreateTime: string;
860
984
  /**
861
- * 该参数已废弃
862
- */
863
- DbType?: string;
985
+ * 文件状态值。可能返回的值为:
986
+ "creating" - 生成中;
987
+ "failed" - 创建失败;
988
+ "success" - 已生成;
989
+ */
990
+ Status: string;
991
+ /**
992
+ * 文件大小,单位为 KB。
993
+ 注意:此字段可能返回 null,表示取不到有效值。
994
+ */
995
+ FileSize: number;
996
+ /**
997
+ * 审计日志下载地址。
998
+ 注意:此字段可能返回 null,表示取不到有效值。
999
+ */
1000
+ DownloadUrl: string;
1001
+ /**
1002
+ * 错误信息。
1003
+ 注意:此字段可能返回 null,表示取不到有效值。
1004
+ */
1005
+ ErrMsg: string;
864
1006
  }
865
1007
  /**
866
1008
  * ExportInstanceSlowQueries返回参数结构体
@@ -938,6 +1080,43 @@ export interface RollBackClusterRequest {
938
1080
  */
939
1081
  RollbackTables?: Array<RollbackTable>;
940
1082
  }
1083
+ /**
1084
+ * UpgradeInstance请求参数结构体
1085
+ */
1086
+ export interface UpgradeInstanceRequest {
1087
+ /**
1088
+ * 实例ID
1089
+ */
1090
+ InstanceId: string;
1091
+ /**
1092
+ * 数据库CPU
1093
+ */
1094
+ Cpu: number;
1095
+ /**
1096
+ * 数据库内存,单位GB
1097
+ */
1098
+ Memory: number;
1099
+ /**
1100
+ * 升级类型:upgradeImmediate,upgradeInMaintain
1101
+ */
1102
+ UpgradeType: string;
1103
+ /**
1104
+ * 该参数已废弃
1105
+ */
1106
+ StorageLimit?: number;
1107
+ /**
1108
+ * 是否自动选择代金券 1是 0否 默认为0
1109
+ */
1110
+ AutoVoucher?: number;
1111
+ /**
1112
+ * 该参数已废弃
1113
+ */
1114
+ DbType?: string;
1115
+ /**
1116
+ * 交易模式 0-下单并支付 1-下单
1117
+ */
1118
+ DealMode?: number;
1119
+ }
941
1120
  /**
942
1121
  * 回档数据库及表
943
1122
  */
@@ -999,6 +1178,19 @@ export interface RemoveClusterSlaveZoneResponse {
999
1178
  */
1000
1179
  RequestId?: string;
1001
1180
  }
1181
+ /**
1182
+ * CreateAuditLogFile返回参数结构体
1183
+ */
1184
+ export interface CreateAuditLogFileResponse {
1185
+ /**
1186
+ * 审计日志文件名称。
1187
+ */
1188
+ FileName: string;
1189
+ /**
1190
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1191
+ */
1192
+ RequestId?: string;
1193
+ }
1002
1194
  /**
1003
1195
  * PauseServerless返回参数结构体
1004
1196
  */
@@ -2053,13 +2245,52 @@ export interface DescribeInstanceSlowQueriesResponse {
2053
2245
  RequestId?: string;
2054
2246
  }
2055
2247
  /**
2056
- * GrantAccountPrivileges返回参数结构体
2248
+ * DescribeInstances请求参数结构体
2057
2249
  */
2058
- export interface GrantAccountPrivilegesResponse {
2250
+ export interface DescribeInstancesRequest {
2059
2251
  /**
2060
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2252
+ * 返回数量,默认为 20,最大值为 100
2061
2253
  */
2062
- RequestId?: string;
2254
+ Limit?: number;
2255
+ /**
2256
+ * 记录偏移量,默认值为0
2257
+ */
2258
+ Offset?: number;
2259
+ /**
2260
+ * 排序字段,取值范围:
2261
+ <li> CREATETIME:创建时间</li>
2262
+ <li> PERIODENDTIME:过期时间</li>
2263
+ */
2264
+ OrderBy?: string;
2265
+ /**
2266
+ * 排序类型,取值范围:
2267
+ <li> ASC:升序排序 </li>
2268
+ <li> DESC:降序排序 </li>
2269
+ */
2270
+ OrderByType?: string;
2271
+ /**
2272
+ * 搜索条件,若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
2273
+ */
2274
+ Filters?: Array<QueryFilter>;
2275
+ /**
2276
+ * 引擎类型:目前支持“MYSQL”, “POSTGRESQL”
2277
+ */
2278
+ DbType?: string;
2279
+ /**
2280
+ * 实例状态, 可选值:
2281
+ creating 创建中
2282
+ running 运行中
2283
+ isolating 隔离中
2284
+ isolated 已隔离
2285
+ activating 恢复中
2286
+ offlining 下线中
2287
+ offlined 已下线
2288
+ */
2289
+ Status?: string;
2290
+ /**
2291
+ * 实例id列表
2292
+ */
2293
+ InstanceIds?: Array<string>;
2063
2294
  }
2064
2295
  /**
2065
2296
  * DescribeBackupDownloadUrl返回参数结构体
@@ -2514,21 +2745,38 @@ export interface InquirePriceCreateResponse {
2514
2745
  RequestId?: string;
2515
2746
  }
2516
2747
  /**
2517
- * SetRenewFlag返回参数结构体
2748
+ * IsolateInstance请求参数结构体
2518
2749
  */
2519
- export interface SetRenewFlagResponse {
2750
+ export interface IsolateInstanceRequest {
2520
2751
  /**
2521
- * 操作成功实例数
2752
+ * 集群ID
2522
2753
  */
2523
- Count: number;
2754
+ ClusterId: string;
2524
2755
  /**
2525
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2756
+ * 实例ID数组
2526
2757
  */
2527
- RequestId?: string;
2528
- }
2529
- /**
2530
- * 数据库账号信息
2531
- */
2758
+ InstanceIdList: Array<string>;
2759
+ /**
2760
+ * 该参数已废弃
2761
+ */
2762
+ DbType?: string;
2763
+ }
2764
+ /**
2765
+ * SetRenewFlag返回参数结构体
2766
+ */
2767
+ export interface SetRenewFlagResponse {
2768
+ /**
2769
+ * 操作成功实例数
2770
+ */
2771
+ Count: number;
2772
+ /**
2773
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2774
+ */
2775
+ RequestId?: string;
2776
+ }
2777
+ /**
2778
+ * 数据库账号信息
2779
+ */
2532
2780
  export interface Account {
2533
2781
  /**
2534
2782
  * 数据库账号名
@@ -2594,41 +2842,41 @@ export interface DescribeClusterParamLogsRequest {
2594
2842
  Offset?: number;
2595
2843
  }
2596
2844
  /**
2597
- * UpgradeInstance请求参数结构体
2845
+ * 安全组规则
2598
2846
  */
2599
- export interface UpgradeInstanceRequest {
2847
+ export interface PolicyRule {
2600
2848
  /**
2601
- * 实例ID
2849
+ * 策略,ACCEPT或者DROP
2602
2850
  */
2603
- InstanceId: string;
2851
+ Action: string;
2604
2852
  /**
2605
- * 数据库CPU
2853
+ * 来源Ip或Ip段,例如192.168.0.0/16
2606
2854
  */
2607
- Cpu: number;
2855
+ CidrIp: string;
2608
2856
  /**
2609
- * 数据库内存,单位GB
2857
+ * 端口
2610
2858
  */
2611
- Memory: number;
2859
+ PortRange: string;
2612
2860
  /**
2613
- * 升级类型:upgradeImmediate,upgradeInMaintain
2861
+ * 网络协议,支持udp、tcp等
2614
2862
  */
2615
- UpgradeType: string;
2863
+ IpProtocol: string;
2616
2864
  /**
2617
- * 该参数已废弃
2865
+ * 协议端口ID或者协议端口组ID。
2618
2866
  */
2619
- StorageLimit?: number;
2867
+ ServiceModule: string;
2620
2868
  /**
2621
- * 是否自动选择代金券 1是 0否 默认为0
2869
+ * IP地址ID或者ID地址组ID。
2622
2870
  */
2623
- AutoVoucher?: number;
2871
+ AddressModule: string;
2624
2872
  /**
2625
- * 该参数已废弃
2873
+ * id
2626
2874
  */
2627
- DbType?: string;
2875
+ Id: string;
2628
2876
  /**
2629
- * 交易模式 0-下单并支付 1-下单
2877
+ * 描述
2630
2878
  */
2631
- DealMode?: number;
2879
+ Desc: string;
2632
2880
  }
2633
2881
  /**
2634
2882
  * DescribeMaintainPeriod返回参数结构体
@@ -2750,34 +2998,49 @@ export interface DescribeRollbackTimeValidityRequest {
2750
2998
  ExpectTimeThresh: number;
2751
2999
  }
2752
3000
  /**
2753
- * IsolateCluster请求参数结构体
3001
+ * CreateAuditLogFile请求参数结构体
2754
3002
  */
2755
- export interface IsolateClusterRequest {
3003
+ export interface CreateAuditLogFileRequest {
2756
3004
  /**
2757
- * 集群ID
3005
+ * 实例ID
2758
3006
  */
2759
- ClusterId: string;
3007
+ InstanceId: string;
2760
3008
  /**
2761
- * 该参数已废用
3009
+ * 开始时间,格式为:"2017-07-12 10:29:20"。
2762
3010
  */
2763
- DbType?: string;
3011
+ StartTime: string;
3012
+ /**
3013
+ * 结束时间,格式为:"2017-07-12 10:29:20"。
3014
+ */
3015
+ EndTime: string;
3016
+ /**
3017
+ * 排序方式。支持值包括:"ASC" - 升序,"DESC" - 降序。
3018
+ */
3019
+ Order?: string;
3020
+ /**
3021
+ * 排序字段。支持值包括:
3022
+ "timestamp" - 时间戳;
3023
+ "affectRows" - 影响行数;
3024
+ "execTime" - 执行时间。
3025
+ */
3026
+ OrderBy?: string;
3027
+ /**
3028
+ * 过滤条件。可按设置的过滤条件过滤日志。
3029
+ */
3030
+ Filter?: AuditLogFilter;
2764
3031
  }
2765
3032
  /**
2766
- * DescribeClusterInstanceGrps返回参数结构体
3033
+ * DeleteAuditLogFile请求参数结构体
2767
3034
  */
2768
- export interface DescribeClusterInstanceGrpsResponse {
3035
+ export interface DeleteAuditLogFileRequest {
2769
3036
  /**
2770
- * 实例组个数
3037
+ * 实例ID
2771
3038
  */
2772
- TotalCount: number;
3039
+ InstanceId: string;
2773
3040
  /**
2774
- * 实例组列表
3041
+ * 审计日志文件名称。
2775
3042
  */
2776
- InstanceGrpInfoList: Array<CynosdbInstanceGrp>;
2777
- /**
2778
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2779
- */
2780
- RequestId?: string;
3043
+ FileName: string;
2781
3044
  }
2782
3045
  /**
2783
3046
  * AddInstances请求参数结构体
@@ -2855,52 +3118,13 @@ export interface ModifyClusterSlaveZoneRequest {
2855
3118
  NewSlaveZone: string;
2856
3119
  }
2857
3120
  /**
2858
- * DescribeInstances请求参数结构体
3121
+ * GrantAccountPrivileges返回参数结构体
2859
3122
  */
2860
- export interface DescribeInstancesRequest {
2861
- /**
2862
- * 返回数量,默认为 20,最大值为 100
2863
- */
2864
- Limit?: number;
2865
- /**
2866
- * 记录偏移量,默认值为0
2867
- */
2868
- Offset?: number;
2869
- /**
2870
- * 排序字段,取值范围:
2871
- <li> CREATETIME:创建时间</li>
2872
- <li> PERIODENDTIME:过期时间</li>
2873
- */
2874
- OrderBy?: string;
2875
- /**
2876
- * 排序类型,取值范围:
2877
- <li> ASC:升序排序 </li>
2878
- <li> DESC:降序排序 </li>
2879
- */
2880
- OrderByType?: string;
2881
- /**
2882
- * 搜索条件,若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
2883
- */
2884
- Filters?: Array<QueryFilter>;
2885
- /**
2886
- * 引擎类型:目前支持“MYSQL”, “POSTGRESQL”
2887
- */
2888
- DbType?: string;
2889
- /**
2890
- * 实例状态, 可选值:
2891
- creating 创建中
2892
- running 运行中
2893
- isolating 隔离中
2894
- isolated 已隔离
2895
- activating 恢复中
2896
- offlining 下线中
2897
- offlined 已下线
2898
- */
2899
- Status?: string;
3123
+ export interface GrantAccountPrivilegesResponse {
2900
3124
  /**
2901
- * 实例id列表
3125
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2902
3126
  */
2903
- InstanceIds?: Array<string>;
3127
+ RequestId?: string;
2904
3128
  }
2905
3129
  /**
2906
3130
  * 参数修改记录
@@ -2931,6 +3155,51 @@ export interface ClusterParamModifyLog {
2931
3155
  */
2932
3156
  UpdateTime: string;
2933
3157
  }
3158
+ /**
3159
+ * DescribeInstanceSlowQueries请求参数结构体
3160
+ */
3161
+ export interface DescribeInstanceSlowQueriesRequest {
3162
+ /**
3163
+ * 实例ID
3164
+ */
3165
+ InstanceId: string;
3166
+ /**
3167
+ * 事务开始最早时间
3168
+ */
3169
+ StartTime?: string;
3170
+ /**
3171
+ * 事务开始最晚时间
3172
+ */
3173
+ EndTime?: string;
3174
+ /**
3175
+ * 限制条数
3176
+ */
3177
+ Limit?: number;
3178
+ /**
3179
+ * 偏移量
3180
+ */
3181
+ Offset?: number;
3182
+ /**
3183
+ * 用户名
3184
+ */
3185
+ Username?: string;
3186
+ /**
3187
+ * 客户端host
3188
+ */
3189
+ Host?: string;
3190
+ /**
3191
+ * 数据库名
3192
+ */
3193
+ Database?: string;
3194
+ /**
3195
+ * 排序字段,可选值:QueryTime,LockTime,RowsExamined,RowsSent
3196
+ */
3197
+ OrderBy?: string;
3198
+ /**
3199
+ * 排序类型,可选值:asc,desc
3200
+ */
3201
+ OrderByType?: string;
3202
+ }
2934
3203
  /**
2935
3204
  * 实例详情
2936
3205
  */
@@ -3231,6 +3500,15 @@ export interface ModifyBackupNameRequest {
3231
3500
  */
3232
3501
  BackupName: string;
3233
3502
  }
3503
+ /**
3504
+ * ModifyInstanceName返回参数结构体
3505
+ */
3506
+ export interface ModifyInstanceNameResponse {
3507
+ /**
3508
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3509
+ */
3510
+ RequestId?: string;
3511
+ }
3234
3512
  /**
3235
3513
  * DescribeBinlogSaveDays返回参数结构体
3236
3514
  */
@@ -3338,6 +3616,67 @@ export interface DescribeClusterParamsRequest {
3338
3616
  */
3339
3617
  ClusterId: string;
3340
3618
  }
3619
+ /**
3620
+ * 审计日志详细信息
3621
+ */
3622
+ export interface AuditLog {
3623
+ /**
3624
+ * 影响行数。
3625
+ */
3626
+ AffectRows: number;
3627
+ /**
3628
+ * 错误码。
3629
+ */
3630
+ ErrCode: number;
3631
+ /**
3632
+ * SQL类型。
3633
+ */
3634
+ SqlType: string;
3635
+ /**
3636
+ * 表名称。
3637
+ */
3638
+ TableName: string;
3639
+ /**
3640
+ * 实例名称。
3641
+ */
3642
+ InstanceName: string;
3643
+ /**
3644
+ * 审计策略名称。
3645
+ */
3646
+ PolicyName: string;
3647
+ /**
3648
+ * 数据库名称。
3649
+ */
3650
+ DBName: string;
3651
+ /**
3652
+ * SQL语句。
3653
+ */
3654
+ Sql: string;
3655
+ /**
3656
+ * 客户端地址。
3657
+ */
3658
+ Host: string;
3659
+ /**
3660
+ * 用户名。
3661
+ */
3662
+ User: string;
3663
+ /**
3664
+ * 执行时间。
3665
+ */
3666
+ ExecTime: number;
3667
+ /**
3668
+ * 时间戳。
3669
+ */
3670
+ Timestamp: string;
3671
+ /**
3672
+ * 发送行数。
3673
+ */
3674
+ SentRows: number;
3675
+ /**
3676
+ * 执行线程ID。
3677
+ */
3678
+ ThreadId: number;
3679
+ }
3341
3680
  /**
3342
3681
  * DescribeInstanceSpecs返回参数结构体
3343
3682
  */
@@ -3395,41 +3734,38 @@ export interface ParamItem {
3395
3734
  OldValue: string;
3396
3735
  }
3397
3736
  /**
3398
- * 安全组规则
3737
+ * IsolateCluster请求参数结构体
3399
3738
  */
3400
- export interface PolicyRule {
3401
- /**
3402
- * 策略,ACCEPT或者DROP
3403
- */
3404
- Action: string;
3405
- /**
3406
- * 来源Ip或Ip段,例如192.168.0.0/16
3407
- */
3408
- CidrIp: string;
3739
+ export interface IsolateClusterRequest {
3409
3740
  /**
3410
- * 端口
3741
+ * 集群ID
3411
3742
  */
3412
- PortRange: string;
3743
+ ClusterId: string;
3413
3744
  /**
3414
- * 网络协议,支持udp、tcp等
3745
+ * 该参数已废用
3415
3746
  */
3416
- IpProtocol: string;
3747
+ DbType?: string;
3748
+ }
3749
+ /**
3750
+ * DescribeAuditLogFiles请求参数结构体
3751
+ */
3752
+ export interface DescribeAuditLogFilesRequest {
3417
3753
  /**
3418
- * 协议端口ID或者协议端口组ID。
3754
+ * 实例ID
3419
3755
  */
3420
- ServiceModule: string;
3756
+ InstanceId: string;
3421
3757
  /**
3422
- * IP地址ID或者ID地址组ID
3758
+ * 分页大小参数。默认值为 20,最小值为 1,最大值为 100
3423
3759
  */
3424
- AddressModule: string;
3760
+ Limit?: number;
3425
3761
  /**
3426
- * id
3762
+ * 分页偏移量。
3427
3763
  */
3428
- Id: string;
3764
+ Offset?: number;
3429
3765
  /**
3430
- * 描述
3766
+ * 审计日志文件名。
3431
3767
  */
3432
- Desc: string;
3768
+ FileName?: string;
3433
3769
  }
3434
3770
  /**
3435
3771
  * DescribeClusterDetail返回参数结构体
@@ -3445,49 +3781,21 @@ export interface DescribeClusterDetailResponse {
3445
3781
  RequestId?: string;
3446
3782
  }
3447
3783
  /**
3448
- * DescribeInstanceSlowQueries请求参数结构体
3784
+ * DescribeClusterInstanceGrps返回参数结构体
3449
3785
  */
3450
- export interface DescribeInstanceSlowQueriesRequest {
3451
- /**
3452
- * 实例ID
3453
- */
3454
- InstanceId: string;
3455
- /**
3456
- * 事务开始最早时间
3457
- */
3458
- StartTime?: string;
3459
- /**
3460
- * 事务开始最晚时间
3461
- */
3462
- EndTime?: string;
3463
- /**
3464
- * 限制条数
3465
- */
3466
- Limit?: number;
3467
- /**
3468
- * 偏移量
3469
- */
3470
- Offset?: number;
3471
- /**
3472
- * 用户名
3473
- */
3474
- Username?: string;
3475
- /**
3476
- * 客户端host
3477
- */
3478
- Host?: string;
3786
+ export interface DescribeClusterInstanceGrpsResponse {
3479
3787
  /**
3480
- * 数据库名
3788
+ * 实例组个数
3481
3789
  */
3482
- Database?: string;
3790
+ TotalCount: number;
3483
3791
  /**
3484
- * 排序字段,可选值:QueryTime,LockTime,RowsExamined,RowsSent
3792
+ * 实例组列表
3485
3793
  */
3486
- OrderBy?: string;
3794
+ InstanceGrpInfoList: Array<CynosdbInstanceGrp>;
3487
3795
  /**
3488
- * 排序类型,可选值:asc,desc
3796
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3489
3797
  */
3490
- OrderByType?: string;
3798
+ RequestId?: string;
3491
3799
  }
3492
3800
  /**
3493
3801
  * DescribeBinlogs请求参数结构体