tencentcloud-sdk-nodejs-cynosdb 4.0.623 → 4.0.625

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.
@@ -43,6 +43,76 @@ export interface ModifyClusterNameRequest {
43
43
  ClusterName: string
44
44
  }
45
45
 
46
+ /**
47
+ * ModifyProxyRwSplit请求参数结构体
48
+ */
49
+ export interface ModifyProxyRwSplitRequest {
50
+ /**
51
+ * 集群ID
52
+ */
53
+ ClusterId: string
54
+ /**
55
+ * 数据库代理组ID
56
+ */
57
+ ProxyGroupId: string
58
+ /**
59
+ * 一致性类型;“eventual"-最终一致性, "session"-会话一致性, "global"-全局一致性
60
+ */
61
+ ConsistencyType?: string
62
+ /**
63
+ * 一致性超时时间
64
+ */
65
+ ConsistencyTimeOut?: string
66
+ /**
67
+ * 读写权重分配模式;系统自动分配:"system", 自定义:"custom"
68
+ */
69
+ WeightMode?: string
70
+ /**
71
+ * 实例只读权重
72
+ */
73
+ InstanceWeights?: Array<ProxyInstanceWeight>
74
+ /**
75
+ * 是否开启故障转移,代理出现故障后,连接地址将路由到主实例,取值:"yes" , "no"
76
+ */
77
+ FailOver?: string
78
+ /**
79
+ * 是否自动添加只读实例,取值:"yes" , "no"
80
+ */
81
+ AutoAddRo?: string
82
+ /**
83
+ * 是否打开读写分离
84
+ */
85
+ OpenRw?: string
86
+ /**
87
+ * 读写类型:
88
+ READWRITE,READONLY
89
+ */
90
+ RwType?: string
91
+ /**
92
+ * 事务拆分
93
+ */
94
+ TransSplit?: boolean
95
+ /**
96
+ * 连接模式:
97
+ nearby,balance
98
+ */
99
+ AccessMode?: string
100
+ /**
101
+ * 是否打开连接池:
102
+ yes,no
103
+ */
104
+ OpenConnectionPool?: string
105
+ /**
106
+ * 连接池类型:
107
+ SessionConnectionPool
108
+ */
109
+ ConnectionPoolType?: string
110
+ /**
111
+ * 连接池时间
112
+ */
113
+ ConnectionPoolTimeOut?: number
114
+ }
115
+
46
116
  /**
47
117
  * DescribeRollbackTimeRange请求参数结构体
48
118
  */
@@ -124,6 +194,20 @@ export interface InstanceAuditRule {
124
194
  AuditRuleFilters: Array<AuditRuleFilters>
125
195
  }
126
196
 
197
+ /**
198
+ * 数据库代理,读写分离实例权重
199
+ */
200
+ export interface ProxyInstanceWeight {
201
+ /**
202
+ * 实例Id
203
+ */
204
+ InstanceId: string
205
+ /**
206
+ * 实例权重
207
+ */
208
+ Weight: number
209
+ }
210
+
127
211
  /**
128
212
  * CreateResourcePackage请求参数结构体
129
213
  */
@@ -335,6 +419,40 @@ export interface BillingResourceInfo {
335
419
  DealName: string
336
420
  }
337
421
 
422
+ /**
423
+ * DescribeProxies请求参数结构体
424
+ */
425
+ export interface DescribeProxiesRequest {
426
+ /**
427
+ * 集群ID
428
+ */
429
+ ClusterId?: string
430
+ /**
431
+ * 返回数量,默认为 20,最大值为 100
432
+ */
433
+ Limit?: number
434
+ /**
435
+ * 记录偏移量,默认值为0
436
+ */
437
+ Offset?: number
438
+ /**
439
+ * 排序字段,取值范围:
440
+ <li> CREATETIME:创建时间</li>
441
+ <li> PERIODENDTIME:过期时间</li>
442
+ */
443
+ OrderBy?: string
444
+ /**
445
+ * 排序类型,取值范围:
446
+ <li> ASC:升序排序 </li>
447
+ <li> DESC:降序排序 </li>
448
+ */
449
+ OrderByType?: string
450
+ /**
451
+ * 搜索条件,若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
452
+ */
453
+ Filters?: Array<QueryParamFilter>
454
+ }
455
+
338
456
  /**
339
457
  * ModifyClusterPasswordComplexity返回参数结构体
340
458
  */
@@ -451,6 +569,27 @@ export interface SwitchClusterZoneResponse {
451
569
  RequestId?: string
452
570
  }
453
571
 
572
+ /**
573
+ * 数据库代理连接池信息
574
+ */
575
+ export interface ProxyConnectionPoolInfo {
576
+ /**
577
+ * 连接池保持阈值:单位(秒)
578
+ 注意:此字段可能返回 null,表示取不到有效值。
579
+ */
580
+ ConnectionPoolTimeOut: number
581
+ /**
582
+ * 是否开启了连接池
583
+ 注意:此字段可能返回 null,表示取不到有效值。
584
+ */
585
+ OpenConnectionPool?: string
586
+ /**
587
+ * 连接池类型:SessionConnectionPool(会话级别连接池
588
+ 注意:此字段可能返回 null,表示取不到有效值。
589
+ */
590
+ ConnectionPoolType?: string
591
+ }
592
+
454
593
  /**
455
594
  * DescribeResourcePackageDetail返回参数结构体
456
595
  */
@@ -984,17 +1123,51 @@ export interface CopyClusterPasswordComplexityResponse {
984
1123
  }
985
1124
 
986
1125
  /**
987
- * 集群绑定的标签信息,包含标签键TagKey和标签值TagValue
1126
+ * UpgradeProxyVersion请求参数结构体
988
1127
  */
989
- export interface Tag {
1128
+ export interface UpgradeProxyVersionRequest {
990
1129
  /**
991
- * 标签键
1130
+ * 集群ID
992
1131
  */
993
- TagKey: string
1132
+ ClusterId: string
994
1133
  /**
995
- * 标签值
1134
+ * 数据库代理当前版本
996
1135
  */
997
- TagValue: string
1136
+ SrcProxyVersion: string
1137
+ /**
1138
+ * 数据库代理升级版本
1139
+ */
1140
+ DstProxyVersion: string
1141
+ /**
1142
+ * 数据库代理组ID
1143
+ */
1144
+ ProxyGroupId?: string
1145
+ /**
1146
+ * 升级时间 :no(升级完成时)yes(实例维护时间)
1147
+ */
1148
+ IsInMaintainPeriod?: string
1149
+ }
1150
+
1151
+ /**
1152
+ * SwitchClusterVpc请求参数结构体
1153
+ */
1154
+ export interface SwitchClusterVpcRequest {
1155
+ /**
1156
+ * 集群ID
1157
+ */
1158
+ ClusterId: string
1159
+ /**
1160
+ * 字符串vpc id
1161
+ */
1162
+ UniqVpcId: string
1163
+ /**
1164
+ * 字符串子网id
1165
+ */
1166
+ UniqSubnetId: string
1167
+ /**
1168
+ * 旧地址回收时间
1169
+ */
1170
+ OldIpReserveHours: number
998
1171
  }
999
1172
 
1000
1173
  /**
@@ -1035,28 +1208,27 @@ export interface DescribeInstanceParamsRequest {
1035
1208
  }
1036
1209
 
1037
1210
  /**
1038
- * SearchClusterTables请求参数结构体
1211
+ * DescribeProxies返回参数结构体
1039
1212
  */
1040
- export interface SearchClusterTablesRequest {
1213
+ export interface DescribeProxiesResponse {
1041
1214
  /**
1042
- * 集群id
1215
+ * 数据库代理组数
1043
1216
  */
1044
- ClusterId: string
1217
+ TotalCount?: number
1045
1218
  /**
1046
- * 数据库名
1219
+ * 数据库代理组列表
1220
+ 注意:此字段可能返回 null,表示取不到有效值。
1047
1221
  */
1048
- Database?: string
1222
+ ProxyGroupInfos?: Array<ProxyGroupInfo>
1049
1223
  /**
1050
- * 数据表名
1224
+ * 数据库代理节点
1225
+ 注意:此字段可能返回 null,表示取不到有效值。
1051
1226
  */
1052
- Table?: string
1227
+ ProxyNodeInfos?: Array<ProxyNodeInfo>
1053
1228
  /**
1054
- * 数据表类型:
1055
- view:只返回 view,
1056
- base_table: 只返回基本表,
1057
- all:返回 view 和表
1229
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1058
1230
  */
1059
- TableType?: string
1231
+ RequestId?: string
1060
1232
  }
1061
1233
 
1062
1234
  /**
@@ -1177,6 +1349,35 @@ export interface SetRenewFlagResponse {
1177
1349
  RequestId?: string
1178
1350
  }
1179
1351
 
1352
+ /**
1353
+ * DescribeResourcePackageSaleSpec请求参数结构体
1354
+ */
1355
+ export interface DescribeResourcePackageSaleSpecRequest {
1356
+ /**
1357
+ * 实例类型
1358
+ */
1359
+ InstanceType: string
1360
+ /**
1361
+ * 资源包使用地域
1362
+ china-中国内地通用,overseas-港澳台及海外通用
1363
+ */
1364
+ PackageRegion: string
1365
+ /**
1366
+ * 资源包类型
1367
+ CCU-计算资源包
1368
+ DISK-存储资源包
1369
+ */
1370
+ PackageType: string
1371
+ /**
1372
+ * 偏移量
1373
+ */
1374
+ Offset?: number
1375
+ /**
1376
+ * 限制
1377
+ */
1378
+ Limit?: number
1379
+ }
1380
+
1180
1381
  /**
1181
1382
  * ExportInstanceErrorLogs请求参数结构体
1182
1383
  */
@@ -1223,6 +1424,21 @@ export interface ExportInstanceErrorLogsRequest {
1223
1424
  OrderByType?: string
1224
1425
  }
1225
1426
 
1427
+ /**
1428
+ * SearchClusterTables返回参数结构体
1429
+ */
1430
+ export interface SearchClusterTablesResponse {
1431
+ /**
1432
+ * 数据表列表
1433
+ 注意:此字段可能返回 null,表示取不到有效值。
1434
+ */
1435
+ Tables: Array<DatabaseTables>
1436
+ /**
1437
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1438
+ */
1439
+ RequestId?: string
1440
+ }
1441
+
1226
1442
  /**
1227
1443
  * DescribeBackupConfig返回参数结构体
1228
1444
  */
@@ -1480,6 +1696,51 @@ export interface DatabaseTables {
1480
1696
  Tables?: Array<string>
1481
1697
  }
1482
1698
 
1699
+ /**
1700
+ * proxy组
1701
+ */
1702
+ export interface ProxyGroup {
1703
+ /**
1704
+ * 数据库代理组ID
1705
+ */
1706
+ ProxyGroupId: string
1707
+ /**
1708
+ * 数据库代理组节点个数
1709
+ */
1710
+ ProxyNodeCount: number
1711
+ /**
1712
+ * 数据库代理组状态
1713
+ */
1714
+ Status: string
1715
+ /**
1716
+ * 地域
1717
+ */
1718
+ Region: string
1719
+ /**
1720
+ * 可用区
1721
+ */
1722
+ Zone: string
1723
+ /**
1724
+ * 当前代理版本
1725
+ */
1726
+ CurrentProxyVersion: string
1727
+ /**
1728
+ * 集群ID
1729
+ 注意:此字段可能返回 null,表示取不到有效值。
1730
+ */
1731
+ ClusterId: string
1732
+ /**
1733
+ * 用户AppId
1734
+ 注意:此字段可能返回 null,表示取不到有效值。
1735
+ */
1736
+ AppId: number
1737
+ /**
1738
+ * 读写节点开通数据库代理
1739
+ 注意:此字段可能返回 null,表示取不到有效值。
1740
+ */
1741
+ OpenRw: string
1742
+ }
1743
+
1483
1744
  /**
1484
1745
  * AddClusterSlaveZone请求参数结构体
1485
1746
  */
@@ -1652,6 +1913,24 @@ export interface DescribeClustersRequest {
1652
1913
  Filters?: Array<QueryFilter>
1653
1914
  }
1654
1915
 
1916
+ /**
1917
+ * 修改参数时,传入参数描述
1918
+ */
1919
+ export interface ParamItem {
1920
+ /**
1921
+ * 参数名称
1922
+ */
1923
+ ParamName: string
1924
+ /**
1925
+ * 当前值
1926
+ */
1927
+ CurrentValue: string
1928
+ /**
1929
+ * 原有值
1930
+ */
1931
+ OldValue: string
1932
+ }
1933
+
1655
1934
  /**
1656
1935
  * ModifyClusterStorage返回参数结构体
1657
1936
  */
@@ -1964,6 +2243,20 @@ export interface InstanceParamItem {
1964
2243
  ParamsItems: Array<ParamItemDetail>
1965
2244
  }
1966
2245
 
2246
+ /**
2247
+ * ReloadBalanceProxyNode请求参数结构体
2248
+ */
2249
+ export interface ReloadBalanceProxyNodeRequest {
2250
+ /**
2251
+ * 集群ID
2252
+ */
2253
+ ClusterId: string
2254
+ /**
2255
+ * 数据库代理组ID
2256
+ */
2257
+ ProxyGroupId: string
2258
+ }
2259
+
1967
2260
  /**
1968
2261
  * DescribeInstanceDetail请求参数结构体
1969
2262
  */
@@ -1975,13 +2268,27 @@ export interface DescribeInstanceDetailRequest {
1975
2268
  }
1976
2269
 
1977
2270
  /**
1978
- * 集群支持的功能
2271
+ * proxy节点可用区内个数
1979
2272
  */
1980
- export interface Ability {
2273
+ export interface ProxyZone {
1981
2274
  /**
1982
- * 是否支持从可用区
2275
+ * proxy节点可用区
1983
2276
  */
1984
- IsSupportSlaveZone: string
2277
+ ProxyNodeZone?: string
2278
+ /**
2279
+ * proxy节点数量
2280
+ */
2281
+ ProxyNodeCount?: number
2282
+ }
2283
+
2284
+ /**
2285
+ * 集群支持的功能
2286
+ */
2287
+ export interface Ability {
2288
+ /**
2289
+ * 是否支持从可用区
2290
+ */
2291
+ IsSupportSlaveZone: string
1985
2292
  /**
1986
2293
  * 不支持从可用区的原因
1987
2294
  注意:此字段可能返回 null,表示取不到有效值。
@@ -2160,6 +2467,31 @@ export interface DescribeClusterDetailRequest {
2160
2467
  ClusterId: string
2161
2468
  }
2162
2469
 
2470
+ /**
2471
+ * SearchClusterTables请求参数结构体
2472
+ */
2473
+ export interface SearchClusterTablesRequest {
2474
+ /**
2475
+ * 集群id
2476
+ */
2477
+ ClusterId: string
2478
+ /**
2479
+ * 数据库名
2480
+ */
2481
+ Database?: string
2482
+ /**
2483
+ * 数据表名
2484
+ */
2485
+ Table?: string
2486
+ /**
2487
+ * 数据表类型:
2488
+ view:只返回 view,
2489
+ base_table: 只返回基本表,
2490
+ all:返回 view 和表
2491
+ */
2492
+ TableType?: string
2493
+ }
2494
+
2163
2495
  /**
2164
2496
  * DeleteBackup返回参数结构体
2165
2497
  */
@@ -2345,9 +2677,36 @@ export interface ParamDetail {
2345
2677
  }
2346
2678
 
2347
2679
  /**
2348
- * DeleteAccounts返回参数结构体
2680
+ * DescribeAuditRuleWithInstanceIds返回参数结构体
2349
2681
  */
2350
- export interface DeleteAccountsResponse {
2682
+ export interface DescribeAuditRuleWithInstanceIdsResponse {
2683
+ /**
2684
+ * 无
2685
+ */
2686
+ TotalCount: number
2687
+ /**
2688
+ * 实例审计规则信息。
2689
+ 注意:此字段可能返回 null,表示取不到有效值。
2690
+ */
2691
+ Items: Array<InstanceAuditRule>
2692
+ /**
2693
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2694
+ */
2695
+ RequestId?: string
2696
+ }
2697
+
2698
+ /**
2699
+ * UpgradeProxyVersion返回参数结构体
2700
+ */
2701
+ export interface UpgradeProxyVersionResponse {
2702
+ /**
2703
+ * 异步流程ID
2704
+ */
2705
+ FlowId?: number
2706
+ /**
2707
+ * 异步任务id
2708
+ */
2709
+ TaskId?: number
2351
2710
  /**
2352
2711
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2353
2712
  */
@@ -2465,6 +2824,44 @@ export interface TablePrivileges {
2465
2824
  Privileges: Array<string>
2466
2825
  }
2467
2826
 
2827
+ /**
2828
+ * UpgradeProxy请求参数结构体
2829
+ */
2830
+ export interface UpgradeProxyRequest {
2831
+ /**
2832
+ * 集群ID
2833
+ */
2834
+ ClusterId: string
2835
+ /**
2836
+ * cpu核数
2837
+ */
2838
+ Cpu: number
2839
+ /**
2840
+ * 内存
2841
+ */
2842
+ Mem: number
2843
+ /**
2844
+ * 数据库代理组节点个数
2845
+ */
2846
+ ProxyCount?: number
2847
+ /**
2848
+ * 数据库代理组ID(已废弃)
2849
+ */
2850
+ ProxyGroupId?: string
2851
+ /**
2852
+ * 重新负载均衡:auto(自动),manual(手动)
2853
+ */
2854
+ ReloadBalance?: string
2855
+ /**
2856
+ * 升级时间 :no(升级完成时)yes(实例维护时间)
2857
+ */
2858
+ IsInMaintainPeriod?: string
2859
+ /**
2860
+ * 数据库代理节点信息
2861
+ */
2862
+ ProxyZones?: Array<ProxyZone>
2863
+ }
2864
+
2468
2865
  /**
2469
2866
  * DescribeClusterDetailDatabases请求参数结构体
2470
2867
  */
@@ -2523,18 +2920,9 @@ export interface BindInstanceInfo {
2523
2920
  }
2524
2921
 
2525
2922
  /**
2526
- * DescribeAuditRuleWithInstanceIds返回参数结构体
2923
+ * DeleteAccounts返回参数结构体
2527
2924
  */
2528
- export interface DescribeAuditRuleWithInstanceIdsResponse {
2529
- /**
2530
- * 无
2531
- */
2532
- TotalCount: number
2533
- /**
2534
- * 实例审计规则信息。
2535
- 注意:此字段可能返回 null,表示取不到有效值。
2536
- */
2537
- Items: Array<InstanceAuditRule>
2925
+ export interface DeleteAccountsResponse {
2538
2926
  /**
2539
2927
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2540
2928
  */
@@ -2611,45 +2999,31 @@ export interface DescribeBackupListRequest {
2611
2999
  }
2612
3000
 
2613
3001
  /**
2614
- * SearchClusterDatabases请求参数结构体
3002
+ * CloseProxy请求参数结构体
2615
3003
  */
2616
- export interface SearchClusterDatabasesRequest {
3004
+ export interface CloseProxyRequest {
2617
3005
  /**
2618
- * 集群id
3006
+ * 集群ID
2619
3007
  */
2620
3008
  ClusterId: string
2621
3009
  /**
2622
- * 数据库名
3010
+ * 数据库代理组ID
2623
3011
  */
2624
- Database?: string
3012
+ ProxyGroupId?: string
2625
3013
  /**
2626
- * 是否精确搜索。
2627
- 0: 模糊搜索 1:精确搜索
2628
- 默认为0
3014
+ * 是否只关闭读写分离,取值:是 "true","false"
2629
3015
  */
2630
- MatchType?: number
3016
+ OnlyCloseRW?: boolean
2631
3017
  }
2632
3018
 
2633
3019
  /**
2634
- * SwitchClusterVpc请求参数结构体
3020
+ * ModifyProxyDesc返回参数结构体
2635
3021
  */
2636
- export interface SwitchClusterVpcRequest {
2637
- /**
2638
- * 集群ID
2639
- */
2640
- ClusterId: string
2641
- /**
2642
- * 字符串vpc id
2643
- */
2644
- UniqVpcId: string
3022
+ export interface ModifyProxyDescResponse {
2645
3023
  /**
2646
- * 字符串子网id
2647
- */
2648
- UniqSubnetId: string
2649
- /**
2650
- * 旧地址回收时间
3024
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2651
3025
  */
2652
- OldIpReserveHours: number
3026
+ RequestId?: string
2653
3027
  }
2654
3028
 
2655
3029
  /**
@@ -2895,6 +3269,26 @@ pause
2895
3269
  ResourcePackages?: Array<ResourcePackage>
2896
3270
  }
2897
3271
 
3272
+ /**
3273
+ * SearchClusterDatabases请求参数结构体
3274
+ */
3275
+ export interface SearchClusterDatabasesRequest {
3276
+ /**
3277
+ * 集群id
3278
+ */
3279
+ ClusterId: string
3280
+ /**
3281
+ * 数据库名
3282
+ */
3283
+ Database?: string
3284
+ /**
3285
+ * 是否精确搜索。
3286
+ 0: 模糊搜索 1:精确搜索
3287
+ 默认为0
3288
+ */
3289
+ MatchType?: number
3290
+ }
3291
+
2898
3292
  /**
2899
3293
  * DescribeClusterPasswordComplexity返回参数结构体
2900
3294
  */
@@ -3102,6 +3496,24 @@ export interface BinlogItem {
3102
3496
  BinlogId: number
3103
3497
  }
3104
3498
 
3499
+ /**
3500
+ * ModifyProxyDesc请求参数结构体
3501
+ */
3502
+ export interface ModifyProxyDescRequest {
3503
+ /**
3504
+ * 集群ID
3505
+ */
3506
+ ClusterId: string
3507
+ /**
3508
+ * 数据库代理组ID
3509
+ */
3510
+ ProxyGroupId: string
3511
+ /**
3512
+ * 数据库代理描述
3513
+ */
3514
+ Description: string
3515
+ }
3516
+
3105
3517
  /**
3106
3518
  * 修改的实例参数信息
3107
3519
  */
@@ -3356,6 +3768,53 @@ export interface RollbackTableInfo {
3356
3768
  NewTable: string
3357
3769
  }
3358
3770
 
3771
+ /**
3772
+ * 数据库代理组读写分离信息
3773
+ */
3774
+ export interface ProxyGroupRwInfo {
3775
+ /**
3776
+ * 一致性类型 eventual-最终一致性,global-全局一致性,session-会话一致性
3777
+ */
3778
+ ConsistencyType?: string
3779
+ /**
3780
+ * 一致性超时时间
3781
+ */
3782
+ ConsistencyTimeOut?: number
3783
+ /**
3784
+ * 权重模式 system-系统分配,custom-自定义
3785
+ */
3786
+ WeightMode?: string
3787
+ /**
3788
+ * 是否开启故障转移
3789
+ */
3790
+ FailOver?: string
3791
+ /**
3792
+ * 是否自动添加只读实例,yes-是,no-不自动添加
3793
+ */
3794
+ AutoAddRo?: string
3795
+ /**
3796
+ * 实例权重数组
3797
+ */
3798
+ InstanceWeights?: Array<ProxyInstanceWeight>
3799
+ /**
3800
+ * 是否开通读写节点,yse-是,no-否
3801
+ 注意:此字段可能返回 null,表示取不到有效值。
3802
+ */
3803
+ OpenRw?: string
3804
+ /**
3805
+ * 读写属性,可选值:READWRITE,READONLY
3806
+ */
3807
+ RwType?: string
3808
+ /**
3809
+ * 事务拆分
3810
+ */
3811
+ TransSplit?: boolean
3812
+ /**
3813
+ * 连接模式,可选值:balance,nearby
3814
+ */
3815
+ AccessMode?: string
3816
+ }
3817
+
3359
3818
  /**
3360
3819
  * DescribeClusters返回参数结构体
3361
3820
  */
@@ -3769,29 +4228,21 @@ export interface BindClusterResourcePackagesResponse {
3769
4228
  }
3770
4229
 
3771
4230
  /**
3772
- * SwitchProxyVpc请求参数结构体
4231
+ * 查询参数过滤器
3773
4232
  */
3774
- export interface SwitchProxyVpcRequest {
3775
- /**
3776
- * 集群ID
3777
- */
3778
- ClusterId: string
3779
- /**
3780
- * 字符串vpc id
3781
- */
3782
- UniqVpcId: string
4233
+ export interface QueryParamFilter {
3783
4234
  /**
3784
- * 字符串子网id
4235
+ * 搜索字段,目前支持:"InstanceId", "ProjectId", "InstanceName", "Vip"
3785
4236
  */
3786
- UniqSubnetId: string
4237
+ Names: Array<string>
3787
4238
  /**
3788
- * 旧地址回收时间
4239
+ * 搜索字符串
3789
4240
  */
3790
- OldIpReserveHours: number
4241
+ Values: Array<string>
3791
4242
  /**
3792
- * 数据库代理组Id(该参数为必填项,可以通过DescribeProxies接口获得)
4243
+ * 是否精确匹配
3793
4244
  */
3794
- ProxyGroupId?: string
4245
+ ExactMatch?: boolean
3795
4246
  }
3796
4247
 
3797
4248
  /**
@@ -3931,6 +4382,60 @@ export interface UnbindClusterResourcePackagesRequest {
3931
4382
  PackageIds?: Array<string>
3932
4383
  }
3933
4384
 
4385
+ /**
4386
+ * CreateProxy请求参数结构体
4387
+ */
4388
+ export interface CreateProxyRequest {
4389
+ /**
4390
+ * 集群ID
4391
+ */
4392
+ ClusterId: string
4393
+ /**
4394
+ * cpu核数
4395
+ */
4396
+ Cpu: number
4397
+ /**
4398
+ * 内存
4399
+ */
4400
+ Mem: number
4401
+ /**
4402
+ * 私有网络ID,默认与集群私有网络ID保持一致
4403
+ */
4404
+ UniqueVpcId?: string
4405
+ /**
4406
+ * 私有网络子网ID,默认与集群子网ID保持一致
4407
+ */
4408
+ UniqueSubnetId?: string
4409
+ /**
4410
+ * 数据库代理组节点个数
4411
+ */
4412
+ ProxyCount?: number
4413
+ /**
4414
+ * 连接池类型:SessionConnectionPool(会话级别连接池 )
4415
+ */
4416
+ ConnectionPoolType?: string
4417
+ /**
4418
+ * 是否开启连接池,yes-开启,no-不开启
4419
+ */
4420
+ OpenConnectionPool?: string
4421
+ /**
4422
+ * 连接池阀值:单位(秒)
4423
+ */
4424
+ ConnectionPoolTimeOut?: number
4425
+ /**
4426
+ * 安全组ID数组
4427
+ */
4428
+ SecurityGroupIds?: Array<string>
4429
+ /**
4430
+ * 描述说明
4431
+ */
4432
+ Description?: string
4433
+ /**
4434
+ * 数据库节点信息
4435
+ */
4436
+ ProxyZones?: Array<ProxyZone>
4437
+ }
4438
+
3934
4439
  /**
3935
4440
  * OpenClusterPasswordComplexity返回参数结构体
3936
4441
  */
@@ -3946,13 +4451,17 @@ export interface OpenClusterPasswordComplexityResponse {
3946
4451
  }
3947
4452
 
3948
4453
  /**
3949
- * DescribeInstanceDetail返回参数结构体
4454
+ * CreateProxyEndPoint返回参数结构体
3950
4455
  */
3951
- export interface DescribeInstanceDetailResponse {
4456
+ export interface CreateProxyEndPointResponse {
3952
4457
  /**
3953
- * 实例详情
4458
+ * 异步流程ID
3954
4459
  */
3955
- Detail: CynosdbInstanceDetail
4460
+ FlowId?: number
4461
+ /**
4462
+ * 异步任务ID
4463
+ */
4464
+ TaskId?: number
3956
4465
  /**
3957
4466
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3958
4467
  */
@@ -4097,57 +4606,119 @@ export interface NetAddr {
4097
4606
  * 外网状态
4098
4607
  注意:此字段可能返回 null,表示取不到有效值。
4099
4608
  */
4100
- WanStatus: string
4609
+ WanStatus: string
4610
+ /**
4611
+ * 实例组ID
4612
+ 注意:此字段可能返回 null,表示取不到有效值。
4613
+ */
4614
+ InstanceGroupId?: string
4615
+ }
4616
+
4617
+ /**
4618
+ * 资源包信息
4619
+ */
4620
+ export interface ResourcePackage {
4621
+ /**
4622
+ * 资源包的唯一ID
4623
+ 注意:此字段可能返回 null,表示取不到有效值。
4624
+ */
4625
+ PackageId?: string
4626
+ /**
4627
+ * 资源包类型:CCU:计算资源包
4628
+ DISK:存储资源包
4629
+ 注意:此字段可能返回 null,表示取不到有效值。
4630
+ */
4631
+ PackageType?: string
4632
+ }
4633
+
4634
+ /**
4635
+ * RestartInstance返回参数结构体
4636
+ */
4637
+ export interface RestartInstanceResponse {
4638
+ /**
4639
+ * 异步任务id
4640
+ */
4641
+ FlowId: number
4642
+ /**
4643
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4644
+ */
4645
+ RequestId?: string
4646
+ }
4647
+
4648
+ /**
4649
+ * CopyClusterPasswordComplexity请求参数结构体
4650
+ */
4651
+ export interface CopyClusterPasswordComplexityRequest {
4652
+ /**
4653
+ * 复制集群ID数组
4654
+ */
4655
+ ClusterIds: Array<string>
4656
+ /**
4657
+ * 集群id
4658
+ */
4659
+ SourceClusterId: string
4660
+ }
4661
+
4662
+ /**
4663
+ * SwitchProxyVpc请求参数结构体
4664
+ */
4665
+ export interface SwitchProxyVpcRequest {
4666
+ /**
4667
+ * 集群ID
4668
+ */
4669
+ ClusterId: string
4670
+ /**
4671
+ * 字符串vpc id
4672
+ */
4673
+ UniqVpcId: string
4674
+ /**
4675
+ * 字符串子网id
4676
+ */
4677
+ UniqSubnetId: string
4678
+ /**
4679
+ * 旧地址回收时间
4680
+ */
4681
+ OldIpReserveHours: number
4101
4682
  /**
4102
- * 实例组ID
4103
- 注意:此字段可能返回 null,表示取不到有效值。
4683
+ * 数据库代理组Id(该参数为必填项,可以通过DescribeProxies接口获得)
4104
4684
  */
4105
- InstanceGroupId?: string
4685
+ ProxyGroupId?: string
4106
4686
  }
4107
4687
 
4108
4688
  /**
4109
- * 资源包信息
4689
+ * 数据库代理组详细信息
4110
4690
  */
4111
- export interface ResourcePackage {
4691
+ export interface ProxyGroupInfo {
4112
4692
  /**
4113
- * 资源包的唯一ID
4693
+ * 数据库代理组
4114
4694
  注意:此字段可能返回 null,表示取不到有效值。
4115
4695
  */
4116
- PackageId?: string
4696
+ ProxyGroup: ProxyGroup
4117
4697
  /**
4118
- * 资源包类型:CCU:计算资源包
4119
- DISK:存储资源包
4698
+ * 数据库代理组读写分离信息
4120
4699
  注意:此字段可能返回 null,表示取不到有效值。
4121
4700
  */
4122
- PackageType?: string
4123
- }
4124
-
4125
- /**
4126
- * RestartInstance返回参数结构体
4127
- */
4128
- export interface RestartInstanceResponse {
4701
+ ProxyGroupRwInfo: ProxyGroupRwInfo
4129
4702
  /**
4130
- * 异步任务id
4703
+ * 数据库代理节点信息
4704
+ 注意:此字段可能返回 null,表示取不到有效值。
4131
4705
  */
4132
- FlowId: number
4706
+ ProxyNodes: Array<ProxyNodeInfo>
4133
4707
  /**
4134
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4708
+ * 数据库代理连接池信息
4709
+ 注意:此字段可能返回 null,表示取不到有效值。
4135
4710
  */
4136
- RequestId?: string
4137
- }
4138
-
4139
- /**
4140
- * CopyClusterPasswordComplexity请求参数结构体
4141
- */
4142
- export interface CopyClusterPasswordComplexityRequest {
4711
+ ConnectionPool: ProxyConnectionPoolInfo
4143
4712
  /**
4144
- * 复制集群ID数组
4713
+ * 数据库代理网络信息
4714
+ 注意:此字段可能返回 null,表示取不到有效值。
4145
4715
  */
4146
- ClusterIds: Array<string>
4716
+ NetAddrInfos: Array<NetAddr>
4147
4717
  /**
4148
- * 集群id
4718
+ * 数据库代理任务集
4719
+ 注意:此字段可能返回 null,表示取不到有效值。
4149
4720
  */
4150
- SourceClusterId: string
4721
+ Tasks: Array<ObjectTask>
4151
4722
  }
4152
4723
 
4153
4724
  /**
@@ -4219,6 +4790,20 @@ export interface DescribeResourcesByDealNameRequest {
4219
4790
  DealNames?: Array<string>
4220
4791
  }
4221
4792
 
4793
+ /**
4794
+ * DescribeInstanceDetail返回参数结构体
4795
+ */
4796
+ export interface DescribeInstanceDetailResponse {
4797
+ /**
4798
+ * 实例详情
4799
+ */
4800
+ Detail: CynosdbInstanceDetail
4801
+ /**
4802
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4803
+ */
4804
+ RequestId?: string
4805
+ }
4806
+
4222
4807
  /**
4223
4808
  * CreateBackup返回参数结构体
4224
4809
  */
@@ -4233,6 +4818,88 @@ export interface CreateBackupResponse {
4233
4818
  RequestId?: string
4234
4819
  }
4235
4820
 
4821
+ /**
4822
+ * CreateProxyEndPoint请求参数结构体
4823
+ */
4824
+ export interface CreateProxyEndPointRequest {
4825
+ /**
4826
+ * 集群ID
4827
+ */
4828
+ ClusterId: string
4829
+ /**
4830
+ * 私有网络ID,默认与集群私有网络ID保持一致
4831
+ */
4832
+ UniqueVpcId: string
4833
+ /**
4834
+ * 私有网络子网ID,默认与集群子网ID保持一致
4835
+ */
4836
+ UniqueSubnetId: string
4837
+ /**
4838
+ * 连接池类型:SessionConnectionPool(会话级别连接池 )
4839
+ */
4840
+ ConnectionPoolType?: string
4841
+ /**
4842
+ * 是否开启连接池,yes-开启,no-不开启
4843
+ */
4844
+ OpenConnectionPool?: string
4845
+ /**
4846
+ * 连接池阀值:单位(秒)
4847
+ */
4848
+ ConnectionPoolTimeOut?: number
4849
+ /**
4850
+ * 安全组ID数组
4851
+ */
4852
+ SecurityGroupIds?: Array<string>
4853
+ /**
4854
+ * 描述说明
4855
+ */
4856
+ Description?: string
4857
+ /**
4858
+ * vip信息
4859
+ */
4860
+ Vip?: string
4861
+ /**
4862
+ * 权重模式:
4863
+ system-系统分配,custom-自定义
4864
+ */
4865
+ WeightMode?: string
4866
+ /**
4867
+ * 是否自动添加只读实例,yes-是,no-不自动添加
4868
+ */
4869
+ AutoAddRo?: string
4870
+ /**
4871
+ * 是否开启故障转移
4872
+ */
4873
+ FailOver?: string
4874
+ /**
4875
+ * 一致性类型:
4876
+ eventual,global,session
4877
+ */
4878
+ ConsistencyType?: string
4879
+ /**
4880
+ * 读写属性:
4881
+ READWRITE,READONLY
4882
+ */
4883
+ RwType?: string
4884
+ /**
4885
+ * 一致性超时时间
4886
+ */
4887
+ ConsistencyTimeOut?: number
4888
+ /**
4889
+ * 事务拆分
4890
+ */
4891
+ TransSplit?: boolean
4892
+ /**
4893
+ * 连接模式:
4894
+ nearby,balance
4895
+ */
4896
+ AccessMode?: string
4897
+ /**
4898
+ * 实例权重
4899
+ */
4900
+ InstanceWeights?: Array<ProxyInstanceWeight>
4901
+ }
4902
+
4236
4903
  /**
4237
4904
  * 用户主机权限
4238
4905
  */
@@ -4603,6 +5270,24 @@ export interface CreateAuditRuleTemplateRequest {
4603
5270
  Description?: string
4604
5271
  }
4605
5272
 
5273
+ /**
5274
+ * UpgradeProxy返回参数结构体
5275
+ */
5276
+ export interface UpgradeProxyResponse {
5277
+ /**
5278
+ * 异步流程ID
5279
+ */
5280
+ FlowId?: number
5281
+ /**
5282
+ * 异步任务ID
5283
+ */
5284
+ TaskId?: number
5285
+ /**
5286
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5287
+ */
5288
+ RequestId?: string
5289
+ }
5290
+
4606
5291
  /**
4607
5292
  * GrantAccountPrivileges返回参数结构体
4608
5293
  */
@@ -4623,6 +5308,24 @@ export interface ModifyBackupConfigResponse {
4623
5308
  RequestId?: string
4624
5309
  }
4625
5310
 
5311
+ /**
5312
+ * ModifyProxyRwSplit返回参数结构体
5313
+ */
5314
+ export interface ModifyProxyRwSplitResponse {
5315
+ /**
5316
+ * 异步FlowId
5317
+ */
5318
+ FlowId?: number
5319
+ /**
5320
+ * 异步任务ID
5321
+ */
5322
+ TaskId?: number
5323
+ /**
5324
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5325
+ */
5326
+ RequestId?: string
5327
+ }
5328
+
4626
5329
  /**
4627
5330
  * DescribeInstanceSpecs请求参数结构体
4628
5331
  */
@@ -4703,21 +5406,21 @@ export interface ModifyAccountDescriptionRequest {
4703
5406
  }
4704
5407
 
4705
5408
  /**
4706
- * 修改参数时,传入参数描述
5409
+ * DescribeProxyNodes返回参数结构体
4707
5410
  */
4708
- export interface ParamItem {
5411
+ export interface DescribeProxyNodesResponse {
4709
5412
  /**
4710
- * 参数名称
5413
+ * 数据库代理节点总数
4711
5414
  */
4712
- ParamName: string
5415
+ TotalCount: number
4713
5416
  /**
4714
- * 当前值
5417
+ * 数据库代理节点列表
4715
5418
  */
4716
- CurrentValue: string
5419
+ ProxyNodeInfos: Array<ProxyNodeInfo>
4717
5420
  /**
4718
- * 原有值
5421
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4719
5422
  */
4720
- OldValue: string
5423
+ RequestId?: string
4721
5424
  }
4722
5425
 
4723
5426
  /**
@@ -5169,6 +5872,52 @@ export interface OpenAuditServiceResponse {
5169
5872
  RequestId?: string
5170
5873
  }
5171
5874
 
5875
+ /**
5876
+ * 数据库代理组节点
5877
+ */
5878
+ export interface ProxyNodeInfo {
5879
+ /**
5880
+ * 数据库代理节点ID
5881
+ */
5882
+ ProxyNodeId: string
5883
+ /**
5884
+ * 节点当前连接数, DescribeProxyNodes接口此字段值不返回
5885
+ */
5886
+ ProxyNodeConnections: number
5887
+ /**
5888
+ * 数据库代理节点cpu
5889
+ */
5890
+ Cpu: number
5891
+ /**
5892
+ * 数据库代理节点内存
5893
+ */
5894
+ Mem: number
5895
+ /**
5896
+ * 数据库代理节点状态
5897
+ */
5898
+ Status: string
5899
+ /**
5900
+ * 数据库代理组ID
5901
+ */
5902
+ ProxyGroupId: string
5903
+ /**
5904
+ * 集群ID
5905
+ */
5906
+ ClusterId: string
5907
+ /**
5908
+ * 用户AppID
5909
+ */
5910
+ AppId: number
5911
+ /**
5912
+ * 地域
5913
+ */
5914
+ Region: string
5915
+ /**
5916
+ * 可用区
5917
+ */
5918
+ Zone: string
5919
+ }
5920
+
5172
5921
  /**
5173
5922
  * OfflineCluster返回参数结构体
5174
5923
  */
@@ -5504,14 +6253,17 @@ export interface DescribeClusterParamLogsRequest {
5504
6253
  }
5505
6254
 
5506
6255
  /**
5507
- * SearchClusterTables返回参数结构体
6256
+ * CloseProxy返回参数结构体
5508
6257
  */
5509
- export interface SearchClusterTablesResponse {
6258
+ export interface CloseProxyResponse {
5510
6259
  /**
5511
- * 数据表列表
5512
- 注意:此字段可能返回 null,表示取不到有效值。
6260
+ * 异步流程ID
5513
6261
  */
5514
- Tables: Array<DatabaseTables>
6262
+ FlowId?: number
6263
+ /**
6264
+ * 异步任务ID
6265
+ */
6266
+ TaskId?: number
5515
6267
  /**
5516
6268
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5517
6269
  */
@@ -5533,32 +6285,33 @@ export interface Module {
5533
6285
  }
5534
6286
 
5535
6287
  /**
5536
- * DescribeResourcePackageSaleSpec请求参数结构体
6288
+ * DescribeProxyNodes请求参数结构体
5537
6289
  */
5538
- export interface DescribeResourcePackageSaleSpecRequest {
6290
+ export interface DescribeProxyNodesRequest {
5539
6291
  /**
5540
- * 实例类型
6292
+ * 返回数量,默认为 20,最大值为 100
5541
6293
  */
5542
- InstanceType: string
6294
+ Limit?: number
5543
6295
  /**
5544
- * 资源包使用地域
5545
- china-中国内地通用,overseas-港澳台及海外通用
6296
+ * 记录偏移量,默认值为0
5546
6297
  */
5547
- PackageRegion: string
6298
+ Offset?: number
5548
6299
  /**
5549
- * 资源包类型
5550
- CCU-计算资源包
5551
- DISK-存储资源包
6300
+ * 排序字段,取值范围:
6301
+ <li> CREATETIME:创建时间</li>
6302
+ <li> PERIODENDTIME:过期时间</li>
5552
6303
  */
5553
- PackageType: string
6304
+ OrderBy?: string
5554
6305
  /**
5555
- * 偏移量
6306
+ * 排序类型,取值范围:
6307
+ <li> ASC:升序排序 </li>
6308
+ <li> DESC:降序排序 </li>
5556
6309
  */
5557
- Offset?: number
6310
+ OrderByType?: string
5558
6311
  /**
5559
- * 限制
6312
+ * 搜索条件,若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
5560
6313
  */
5561
- Limit?: number
6314
+ Filters?: Array<QueryFilter>
5562
6315
  }
5563
6316
 
5564
6317
  /**
@@ -6773,6 +7526,24 @@ export interface ParamTemplateListInfo {
6773
7526
  ParamInfoSet: Array<TemplateParamInfo>
6774
7527
  }
6775
7528
 
7529
+ /**
7530
+ * ReloadBalanceProxyNode返回参数结构体
7531
+ */
7532
+ export interface ReloadBalanceProxyNodeResponse {
7533
+ /**
7534
+ * 异步流程ID
7535
+ */
7536
+ FlowId: number
7537
+ /**
7538
+ * 异步任务ID
7539
+ */
7540
+ TaskId: number
7541
+ /**
7542
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7543
+ */
7544
+ RequestId?: string
7545
+ }
7546
+
6776
7547
  /**
6777
7548
  * DescribeAccounts返回参数结构体
6778
7549
  */
@@ -7005,6 +7776,24 @@ export interface ErrorLogItemExport {
7005
7776
  Content?: string
7006
7777
  }
7007
7778
 
7779
+ /**
7780
+ * CreateProxy返回参数结构体
7781
+ */
7782
+ export interface CreateProxyResponse {
7783
+ /**
7784
+ * 异步流程ID
7785
+ */
7786
+ FlowId?: number
7787
+ /**
7788
+ * 异步任务ID
7789
+ */
7790
+ TaskId?: number
7791
+ /**
7792
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7793
+ */
7794
+ RequestId?: string
7795
+ }
7796
+
7008
7797
  /**
7009
7798
  * DescribeAccountAllGrantPrivileges请求参数结构体
7010
7799
  */
@@ -7277,6 +8066,20 @@ export interface InquirePriceRenewResponse {
7277
8066
  RequestId?: string
7278
8067
  }
7279
8068
 
8069
+ /**
8070
+ * 集群绑定的标签信息,包含标签键TagKey和标签值TagValue
8071
+ */
8072
+ export interface Tag {
8073
+ /**
8074
+ * 标签键
8075
+ */
8076
+ TagKey: string
8077
+ /**
8078
+ * 标签值
8079
+ */
8080
+ TagValue: string
8081
+ }
8082
+
7280
8083
  /**
7281
8084
  * ModifyAuditRuleTemplates返回参数结构体
7282
8085
  */