tencentcloud-sdk-nodejs-cdb 4.0.563 → 4.0.565
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 +428 -0
- package/SERVICE_CHANGELOG.md +515 -89
- package/package.json +1 -1
- package/products.md +37 -36
- package/src/services/cdb/v20170320/cdb_client.ts +25 -8
- package/src/services/cdb/v20170320/cdb_models.ts +255 -120
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +9 -3
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +10 -2
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +217 -103
|
@@ -762,17 +762,13 @@ export interface CdbRegionSellConf {
|
|
|
762
762
|
RegionConfig: Array<CdbZoneSellConf>;
|
|
763
763
|
}
|
|
764
764
|
/**
|
|
765
|
-
*
|
|
765
|
+
* DescribeRoGroups请求参数结构体
|
|
766
766
|
*/
|
|
767
|
-
export interface
|
|
768
|
-
/**
|
|
769
|
-
* 异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。
|
|
770
|
-
*/
|
|
771
|
-
AsyncRequestId: string;
|
|
767
|
+
export interface DescribeRoGroupsRequest {
|
|
772
768
|
/**
|
|
773
|
-
*
|
|
769
|
+
* 实例ID,格式如:cdb-c1nl9rpv或者cdb-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同。
|
|
774
770
|
*/
|
|
775
|
-
|
|
771
|
+
InstanceId: string;
|
|
776
772
|
}
|
|
777
773
|
/**
|
|
778
774
|
* 用于回档的数据库表名
|
|
@@ -875,6 +871,31 @@ export interface StopRollbackResponse {
|
|
|
875
871
|
*/
|
|
876
872
|
RequestId?: string;
|
|
877
873
|
}
|
|
874
|
+
/**
|
|
875
|
+
* AnalyzeAuditLogs请求参数结构体
|
|
876
|
+
*/
|
|
877
|
+
export interface AnalyzeAuditLogsRequest {
|
|
878
|
+
/**
|
|
879
|
+
* 实例ID。
|
|
880
|
+
*/
|
|
881
|
+
InstanceId: string;
|
|
882
|
+
/**
|
|
883
|
+
* 要分析的日志开始时间,格式为:"2023-02-16 00:00:20"。
|
|
884
|
+
*/
|
|
885
|
+
StartTime: string;
|
|
886
|
+
/**
|
|
887
|
+
* 要分析的日志结束时间,格式为:"2023-02-16 00:10:20"。
|
|
888
|
+
*/
|
|
889
|
+
EndTime: string;
|
|
890
|
+
/**
|
|
891
|
+
* 聚合维度的排序条件。
|
|
892
|
+
*/
|
|
893
|
+
AggregationConditions: Array<AggregationCondition>;
|
|
894
|
+
/**
|
|
895
|
+
* 该过滤条件下的审计日志结果集作为分析日志。
|
|
896
|
+
*/
|
|
897
|
+
AuditLogFilter?: AuditLogFilter;
|
|
898
|
+
}
|
|
878
899
|
/**
|
|
879
900
|
* StopReplication返回参数结构体
|
|
880
901
|
*/
|
|
@@ -1564,13 +1585,45 @@ export interface ModifyBackupConfigResponse {
|
|
|
1564
1585
|
RequestId?: string;
|
|
1565
1586
|
}
|
|
1566
1587
|
/**
|
|
1567
|
-
*
|
|
1588
|
+
* DescribeTimeWindow返回参数结构体
|
|
1568
1589
|
*/
|
|
1569
|
-
export interface
|
|
1590
|
+
export interface DescribeTimeWindowResponse {
|
|
1570
1591
|
/**
|
|
1571
|
-
*
|
|
1592
|
+
* 星期一的可维护时间列表。
|
|
1572
1593
|
*/
|
|
1573
|
-
|
|
1594
|
+
Monday: Array<string>;
|
|
1595
|
+
/**
|
|
1596
|
+
* 星期二的可维护时间列表。
|
|
1597
|
+
*/
|
|
1598
|
+
Tuesday: Array<string>;
|
|
1599
|
+
/**
|
|
1600
|
+
* 星期三的可维护时间列表。
|
|
1601
|
+
*/
|
|
1602
|
+
Wednesday: Array<string>;
|
|
1603
|
+
/**
|
|
1604
|
+
* 星期四的可维护时间列表。
|
|
1605
|
+
*/
|
|
1606
|
+
Thursday: Array<string>;
|
|
1607
|
+
/**
|
|
1608
|
+
* 星期五的可维护时间列表。
|
|
1609
|
+
*/
|
|
1610
|
+
Friday: Array<string>;
|
|
1611
|
+
/**
|
|
1612
|
+
* 星期六的可维护时间列表。
|
|
1613
|
+
*/
|
|
1614
|
+
Saturday: Array<string>;
|
|
1615
|
+
/**
|
|
1616
|
+
* 星期日的可维护时间列表。
|
|
1617
|
+
*/
|
|
1618
|
+
Sunday: Array<string>;
|
|
1619
|
+
/**
|
|
1620
|
+
* 最大数据延迟阈值
|
|
1621
|
+
*/
|
|
1622
|
+
MaxDelayTime: number;
|
|
1623
|
+
/**
|
|
1624
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1625
|
+
*/
|
|
1626
|
+
RequestId?: string;
|
|
1574
1627
|
}
|
|
1575
1628
|
/**
|
|
1576
1629
|
* DeleteAuditPolicy返回参数结构体
|
|
@@ -2647,13 +2700,17 @@ export interface DescribeAsyncRequestInfoResponse {
|
|
|
2647
2700
|
RequestId?: string;
|
|
2648
2701
|
}
|
|
2649
2702
|
/**
|
|
2650
|
-
*
|
|
2703
|
+
* DeleteAccounts返回参数结构体
|
|
2651
2704
|
*/
|
|
2652
|
-
export interface
|
|
2705
|
+
export interface DeleteAccountsResponse {
|
|
2653
2706
|
/**
|
|
2654
|
-
*
|
|
2707
|
+
* 异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。
|
|
2655
2708
|
*/
|
|
2656
|
-
|
|
2709
|
+
AsyncRequestId: string;
|
|
2710
|
+
/**
|
|
2711
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2712
|
+
*/
|
|
2713
|
+
RequestId?: string;
|
|
2657
2714
|
}
|
|
2658
2715
|
/**
|
|
2659
2716
|
* 参数模板信息
|
|
@@ -2752,45 +2809,13 @@ export interface CreateRoInstanceIpRequest {
|
|
|
2752
2809
|
UniqVpcId?: string;
|
|
2753
2810
|
}
|
|
2754
2811
|
/**
|
|
2755
|
-
*
|
|
2812
|
+
* OpenWanService请求参数结构体
|
|
2756
2813
|
*/
|
|
2757
|
-
export interface
|
|
2758
|
-
/**
|
|
2759
|
-
* 星期一的可维护时间列表。
|
|
2760
|
-
*/
|
|
2761
|
-
Monday: Array<string>;
|
|
2762
|
-
/**
|
|
2763
|
-
* 星期二的可维护时间列表。
|
|
2764
|
-
*/
|
|
2765
|
-
Tuesday: Array<string>;
|
|
2766
|
-
/**
|
|
2767
|
-
* 星期三的可维护时间列表。
|
|
2768
|
-
*/
|
|
2769
|
-
Wednesday: Array<string>;
|
|
2770
|
-
/**
|
|
2771
|
-
* 星期四的可维护时间列表。
|
|
2772
|
-
*/
|
|
2773
|
-
Thursday: Array<string>;
|
|
2774
|
-
/**
|
|
2775
|
-
* 星期五的可维护时间列表。
|
|
2776
|
-
*/
|
|
2777
|
-
Friday: Array<string>;
|
|
2778
|
-
/**
|
|
2779
|
-
* 星期六的可维护时间列表。
|
|
2780
|
-
*/
|
|
2781
|
-
Saturday: Array<string>;
|
|
2782
|
-
/**
|
|
2783
|
-
* 星期日的可维护时间列表。
|
|
2784
|
-
*/
|
|
2785
|
-
Sunday: Array<string>;
|
|
2786
|
-
/**
|
|
2787
|
-
* 最大数据延迟阈值
|
|
2788
|
-
*/
|
|
2789
|
-
MaxDelayTime: number;
|
|
2814
|
+
export interface OpenWanServiceRequest {
|
|
2790
2815
|
/**
|
|
2791
|
-
*
|
|
2816
|
+
* 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
|
|
2792
2817
|
*/
|
|
2793
|
-
|
|
2818
|
+
InstanceId: string;
|
|
2794
2819
|
}
|
|
2795
2820
|
/**
|
|
2796
2821
|
* DescribeBackupConfig返回参数结构体
|
|
@@ -3389,29 +3414,19 @@ export interface DeviceMemInfo {
|
|
|
3389
3414
|
Used: Array<number>;
|
|
3390
3415
|
}
|
|
3391
3416
|
/**
|
|
3392
|
-
*
|
|
3417
|
+
* 审计日志分析结果
|
|
3393
3418
|
*/
|
|
3394
|
-
export interface
|
|
3419
|
+
export interface AuditLogAggregationResult {
|
|
3395
3420
|
/**
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
* 主实例数据库引擎版本,支持值包括:5.6 和 5.7。
|
|
3401
|
-
*/
|
|
3402
|
-
EngineVersion: string;
|
|
3403
|
-
/**
|
|
3404
|
-
* 切换访问新实例的方式,默认为 0。支持值包括:0 - 立刻切换,1 - 时间窗切换;当该值为 1 时,升级中过程中,切换访问新实例的流程将会在时间窗内进行,或者用户主动调用接口 [切换访问新实例](https://cloud.tencent.com/document/product/236/15864) 触发该流程。
|
|
3405
|
-
*/
|
|
3406
|
-
WaitSwitch?: number;
|
|
3407
|
-
/**
|
|
3408
|
-
* 是否是内核子版本升级,支持的值:1 - 升级内核子版本;0 - 升级数据库引擎版本。
|
|
3409
|
-
*/
|
|
3410
|
-
UpgradeSubversion?: number;
|
|
3421
|
+
* 聚合维度
|
|
3422
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3423
|
+
*/
|
|
3424
|
+
AggregationField: string;
|
|
3411
3425
|
/**
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3426
|
+
* 聚合桶的结果集
|
|
3427
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3428
|
+
*/
|
|
3429
|
+
Buckets: Array<Bucket>;
|
|
3415
3430
|
}
|
|
3416
3431
|
/**
|
|
3417
3432
|
* 数据库名以及字符集
|
|
@@ -3670,44 +3685,21 @@ export interface DisassociateSecurityGroupsResponse {
|
|
|
3670
3685
|
RequestId?: string;
|
|
3671
3686
|
}
|
|
3672
3687
|
/**
|
|
3673
|
-
*
|
|
3688
|
+
* 审计日志聚合条件
|
|
3674
3689
|
*/
|
|
3675
|
-
export interface
|
|
3676
|
-
/**
|
|
3677
|
-
* 置放群组 ID。
|
|
3678
|
-
*/
|
|
3679
|
-
DeployGroupId: string;
|
|
3690
|
+
export interface AggregationCondition {
|
|
3680
3691
|
/**
|
|
3681
|
-
*
|
|
3692
|
+
* 聚合字段。目前仅支持host-源IP、user-用户名、dbName-数据库名、sqlType-sql类型。
|
|
3682
3693
|
*/
|
|
3683
|
-
|
|
3694
|
+
AggregationField: string;
|
|
3684
3695
|
/**
|
|
3685
|
-
*
|
|
3686
|
-
*/
|
|
3687
|
-
CreateTime: string;
|
|
3688
|
-
/**
|
|
3689
|
-
* 置放群组实例配额,表示一个置放群组中可容纳的最大实例数目。
|
|
3696
|
+
* 偏移量。
|
|
3690
3697
|
*/
|
|
3691
|
-
|
|
3692
|
-
/**
|
|
3693
|
-
* 置放群组亲和性策略,目前仅支持策略1,即在物理机纬度打散实例的分布。
|
|
3694
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3695
|
-
*/
|
|
3696
|
-
Affinity: string;
|
|
3697
|
-
/**
|
|
3698
|
-
* 置放群组亲和性策略1中,同台物理机上同个置放群组实例的限制个数。
|
|
3699
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3700
|
-
*/
|
|
3701
|
-
LimitNum: number;
|
|
3698
|
+
Offset?: number;
|
|
3702
3699
|
/**
|
|
3703
|
-
*
|
|
3700
|
+
* 该聚合字段下要返回聚合桶的数量,最大100。
|
|
3704
3701
|
*/
|
|
3705
|
-
|
|
3706
|
-
/**
|
|
3707
|
-
* 置放群组物理机型属性。
|
|
3708
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3709
|
-
*/
|
|
3710
|
-
DevClass: string;
|
|
3702
|
+
Limit?: number;
|
|
3711
3703
|
}
|
|
3712
3704
|
/**
|
|
3713
3705
|
* 本地binlog保留配置
|
|
@@ -4350,6 +4342,30 @@ export interface AuditLogFilter {
|
|
|
4350
4342
|
* SQL 语句。支持传递多个sql语句。
|
|
4351
4343
|
*/
|
|
4352
4344
|
Sqls?: Array<string>;
|
|
4345
|
+
/**
|
|
4346
|
+
* 影响行数,格式为M-N,例如:10-200
|
|
4347
|
+
*/
|
|
4348
|
+
AffectRowsSection?: string;
|
|
4349
|
+
/**
|
|
4350
|
+
* 返回行数,格式为M-N,例如:10-200
|
|
4351
|
+
*/
|
|
4352
|
+
SentRowsSection?: string;
|
|
4353
|
+
/**
|
|
4354
|
+
* 执行时间,格式为M-N,例如:10-200
|
|
4355
|
+
*/
|
|
4356
|
+
ExecTimeSection?: string;
|
|
4357
|
+
/**
|
|
4358
|
+
* 锁等待时间,格式为M-N,例如:10-200
|
|
4359
|
+
*/
|
|
4360
|
+
LockWaitTimeSection?: string;
|
|
4361
|
+
/**
|
|
4362
|
+
* IO等待时间,格式为M-N,例如:10-200
|
|
4363
|
+
*/
|
|
4364
|
+
IoWaitTimeSection?: string;
|
|
4365
|
+
/**
|
|
4366
|
+
* 事务持续时间,格式为M-N,例如:10-200
|
|
4367
|
+
*/
|
|
4368
|
+
TransactionLivingTimeSection?: string;
|
|
4353
4369
|
}
|
|
4354
4370
|
/**
|
|
4355
4371
|
* 连接池信息
|
|
@@ -6042,6 +6058,31 @@ export interface ModifyBackupEncryptionStatusResponse {
|
|
|
6042
6058
|
*/
|
|
6043
6059
|
RequestId?: string;
|
|
6044
6060
|
}
|
|
6061
|
+
/**
|
|
6062
|
+
* UpgradeDBInstanceEngineVersion请求参数结构体
|
|
6063
|
+
*/
|
|
6064
|
+
export interface UpgradeDBInstanceEngineVersionRequest {
|
|
6065
|
+
/**
|
|
6066
|
+
* 实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
|
|
6067
|
+
*/
|
|
6068
|
+
InstanceId: string;
|
|
6069
|
+
/**
|
|
6070
|
+
* 主实例数据库引擎版本,支持值包括:5.6 和 5.7。
|
|
6071
|
+
*/
|
|
6072
|
+
EngineVersion: string;
|
|
6073
|
+
/**
|
|
6074
|
+
* 切换访问新实例的方式,默认为 0。支持值包括:0 - 立刻切换,1 - 时间窗切换;当该值为 1 时,升级中过程中,切换访问新实例的流程将会在时间窗内进行,或者用户主动调用接口 [切换访问新实例](https://cloud.tencent.com/document/product/236/15864) 触发该流程。
|
|
6075
|
+
*/
|
|
6076
|
+
WaitSwitch?: number;
|
|
6077
|
+
/**
|
|
6078
|
+
* 是否是内核子版本升级,支持的值:1 - 升级内核子版本;0 - 升级数据库引擎版本。
|
|
6079
|
+
*/
|
|
6080
|
+
UpgradeSubversion?: number;
|
|
6081
|
+
/**
|
|
6082
|
+
* 延迟阈值。取值范围1~10
|
|
6083
|
+
*/
|
|
6084
|
+
MaxDelayTime?: number;
|
|
6085
|
+
}
|
|
6045
6086
|
/**
|
|
6046
6087
|
* DescribeDataBackupOverview请求参数结构体
|
|
6047
6088
|
*/
|
|
@@ -6086,6 +6127,20 @@ export interface ModifyDBInstanceProjectRequest {
|
|
|
6086
6127
|
*/
|
|
6087
6128
|
NewProjectId?: number;
|
|
6088
6129
|
}
|
|
6130
|
+
/**
|
|
6131
|
+
* 聚合桶的信息
|
|
6132
|
+
*/
|
|
6133
|
+
export interface Bucket {
|
|
6134
|
+
/**
|
|
6135
|
+
* 无
|
|
6136
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6137
|
+
*/
|
|
6138
|
+
Key: string;
|
|
6139
|
+
/**
|
|
6140
|
+
* ip等于10.0.0.8访问了26次实例,即桶内文档数量。
|
|
6141
|
+
*/
|
|
6142
|
+
Count: number;
|
|
6143
|
+
}
|
|
6089
6144
|
/**
|
|
6090
6145
|
* SwitchForUpgrade返回参数结构体
|
|
6091
6146
|
*/
|
|
@@ -7091,6 +7146,25 @@ export interface DescribeBackupSummariesRequest {
|
|
|
7091
7146
|
*/
|
|
7092
7147
|
OrderDirection?: string;
|
|
7093
7148
|
}
|
|
7149
|
+
/**
|
|
7150
|
+
* AnalyzeAuditLogs返回参数结构体
|
|
7151
|
+
*/
|
|
7152
|
+
export interface AnalyzeAuditLogsResponse {
|
|
7153
|
+
/**
|
|
7154
|
+
* 返回的聚合桶信息集
|
|
7155
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7156
|
+
*/
|
|
7157
|
+
Items?: Array<AuditLogAggregationResult>;
|
|
7158
|
+
/**
|
|
7159
|
+
* 扫描的日志条数
|
|
7160
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7161
|
+
*/
|
|
7162
|
+
TotalCount?: number;
|
|
7163
|
+
/**
|
|
7164
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7165
|
+
*/
|
|
7166
|
+
RequestId?: string;
|
|
7167
|
+
}
|
|
7094
7168
|
/**
|
|
7095
7169
|
* CreateDBInstance返回参数结构体
|
|
7096
7170
|
*/
|
|
@@ -7911,6 +7985,46 @@ export interface RestartDBInstancesRequest {
|
|
|
7911
7985
|
*/
|
|
7912
7986
|
InstanceIds: Array<string>;
|
|
7913
7987
|
}
|
|
7988
|
+
/**
|
|
7989
|
+
* 置放群组信息
|
|
7990
|
+
*/
|
|
7991
|
+
export interface DeployGroupInfo {
|
|
7992
|
+
/**
|
|
7993
|
+
* 置放群组 ID。
|
|
7994
|
+
*/
|
|
7995
|
+
DeployGroupId: string;
|
|
7996
|
+
/**
|
|
7997
|
+
* 置放群组名称。
|
|
7998
|
+
*/
|
|
7999
|
+
DeployGroupName: string;
|
|
8000
|
+
/**
|
|
8001
|
+
* 创建时间。
|
|
8002
|
+
*/
|
|
8003
|
+
CreateTime: string;
|
|
8004
|
+
/**
|
|
8005
|
+
* 置放群组实例配额,表示一个置放群组中可容纳的最大实例数目。
|
|
8006
|
+
*/
|
|
8007
|
+
Quota: number;
|
|
8008
|
+
/**
|
|
8009
|
+
* 置放群组亲和性策略,目前仅支持策略1,即在物理机纬度打散实例的分布。
|
|
8010
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8011
|
+
*/
|
|
8012
|
+
Affinity: string;
|
|
8013
|
+
/**
|
|
8014
|
+
* 置放群组亲和性策略1中,同台物理机上同个置放群组实例的限制个数。
|
|
8015
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8016
|
+
*/
|
|
8017
|
+
LimitNum: number;
|
|
8018
|
+
/**
|
|
8019
|
+
* 置放群组详细信息。
|
|
8020
|
+
*/
|
|
8021
|
+
Description: string;
|
|
8022
|
+
/**
|
|
8023
|
+
* 置放群组物理机型属性。
|
|
8024
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8025
|
+
*/
|
|
8026
|
+
DevClass: string;
|
|
8027
|
+
}
|
|
7914
8028
|
/**
|
|
7915
8029
|
* ModifyRemoteBackupConfig请求参数结构体
|
|
7916
8030
|
*/
|