tencentcloud-sdk-nodejs-cynosdb 4.0.397 → 4.0.433
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 +5514 -0
- package/README.md +3 -3
- package/SERVICE_CHANGELOG.md +3715 -47
- package/package.json +1 -1
- package/products.md +93 -93
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +85 -22
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +367 -57
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +27 -7
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +39 -9
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +317 -55
|
@@ -15,6 +15,21 @@
|
|
|
15
15
|
* under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
+
/**
|
|
19
|
+
* RemoveClusterSlaveZone请求参数结构体
|
|
20
|
+
*/
|
|
21
|
+
export interface RemoveClusterSlaveZoneRequest {
|
|
22
|
+
/**
|
|
23
|
+
* 集群ID
|
|
24
|
+
*/
|
|
25
|
+
ClusterId: string
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* 从可用区
|
|
29
|
+
*/
|
|
30
|
+
SlaveZone: string
|
|
31
|
+
}
|
|
32
|
+
|
|
18
33
|
/**
|
|
19
34
|
* ModifyClusterName请求参数结构体
|
|
20
35
|
*/
|
|
@@ -156,15 +171,20 @@ export interface ModifyMaintainPeriodConfigRequest {
|
|
|
156
171
|
*/
|
|
157
172
|
export interface DescribeRollbackTimeRangeResponse {
|
|
158
173
|
/**
|
|
159
|
-
*
|
|
174
|
+
* 有效回归时间范围开始时间点(已废弃)
|
|
160
175
|
*/
|
|
161
176
|
TimeRangeStart: string
|
|
162
177
|
|
|
163
178
|
/**
|
|
164
|
-
*
|
|
179
|
+
* 有效回归时间范围结束时间点(已废弃)
|
|
165
180
|
*/
|
|
166
181
|
TimeRangeEnd: string
|
|
167
182
|
|
|
183
|
+
/**
|
|
184
|
+
* 可回档时间范围
|
|
185
|
+
*/
|
|
186
|
+
RollbackTimeRanges: Array<RollbackTimeRange>
|
|
187
|
+
|
|
168
188
|
/**
|
|
169
189
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
170
190
|
*/
|
|
@@ -181,6 +201,21 @@ export interface ModifyBackupNameResponse {
|
|
|
181
201
|
RequestId?: string
|
|
182
202
|
}
|
|
183
203
|
|
|
204
|
+
/**
|
|
205
|
+
* SwitchClusterZone返回参数结构体
|
|
206
|
+
*/
|
|
207
|
+
export interface SwitchClusterZoneResponse {
|
|
208
|
+
/**
|
|
209
|
+
* 异步FlowId
|
|
210
|
+
*/
|
|
211
|
+
FlowId: number
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
215
|
+
*/
|
|
216
|
+
RequestId?: string
|
|
217
|
+
}
|
|
218
|
+
|
|
184
219
|
/**
|
|
185
220
|
* AssociateSecurityGroups请求参数结构体
|
|
186
221
|
*/
|
|
@@ -368,39 +403,44 @@ export interface ClusterInstanceDetail {
|
|
|
368
403
|
}
|
|
369
404
|
|
|
370
405
|
/**
|
|
371
|
-
*
|
|
406
|
+
* AddClusterSlaveZone返回参数结构体
|
|
372
407
|
*/
|
|
373
|
-
export interface
|
|
408
|
+
export interface AddClusterSlaveZoneResponse {
|
|
374
409
|
/**
|
|
375
|
-
*
|
|
410
|
+
* 异步FlowId
|
|
376
411
|
*/
|
|
377
|
-
|
|
412
|
+
FlowId: number
|
|
378
413
|
|
|
379
414
|
/**
|
|
380
|
-
*
|
|
415
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
381
416
|
*/
|
|
382
|
-
|
|
417
|
+
RequestId?: string
|
|
418
|
+
}
|
|
383
419
|
|
|
420
|
+
/**
|
|
421
|
+
* ModifyClusterName返回参数结构体
|
|
422
|
+
*/
|
|
423
|
+
export interface ModifyClusterNameResponse {
|
|
384
424
|
/**
|
|
385
|
-
*
|
|
425
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
386
426
|
*/
|
|
387
|
-
|
|
427
|
+
RequestId?: string
|
|
428
|
+
}
|
|
388
429
|
|
|
430
|
+
/**
|
|
431
|
+
* DescribeClusterParams返回参数结构体
|
|
432
|
+
*/
|
|
433
|
+
export interface DescribeClusterParamsResponse {
|
|
389
434
|
/**
|
|
390
|
-
*
|
|
435
|
+
* 参数个数
|
|
391
436
|
*/
|
|
392
|
-
|
|
437
|
+
TotalCount: number
|
|
393
438
|
|
|
394
439
|
/**
|
|
395
|
-
*
|
|
440
|
+
* 实例参数列表
|
|
396
441
|
*/
|
|
397
|
-
|
|
398
|
-
}
|
|
442
|
+
Items: Array<ParamInfo>
|
|
399
443
|
|
|
400
|
-
/**
|
|
401
|
-
* ModifyClusterName返回参数结构体
|
|
402
|
-
*/
|
|
403
|
-
export interface ModifyClusterNameResponse {
|
|
404
444
|
/**
|
|
405
445
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
406
446
|
*/
|
|
@@ -679,18 +719,18 @@ export interface ActivateInstanceRequest {
|
|
|
679
719
|
}
|
|
680
720
|
|
|
681
721
|
/**
|
|
682
|
-
*
|
|
722
|
+
* AddClusterSlaveZone请求参数结构体
|
|
683
723
|
*/
|
|
684
|
-
export interface
|
|
724
|
+
export interface AddClusterSlaveZoneRequest {
|
|
685
725
|
/**
|
|
686
|
-
*
|
|
726
|
+
* 集群ID
|
|
687
727
|
*/
|
|
688
|
-
|
|
728
|
+
ClusterId: string
|
|
689
729
|
|
|
690
730
|
/**
|
|
691
|
-
*
|
|
731
|
+
* 从可用区
|
|
692
732
|
*/
|
|
693
|
-
|
|
733
|
+
SlaveZone: string
|
|
694
734
|
}
|
|
695
735
|
|
|
696
736
|
/**
|
|
@@ -932,6 +972,31 @@ export interface ExportInstanceSlowQueriesResponse {
|
|
|
932
972
|
RequestId?: string
|
|
933
973
|
}
|
|
934
974
|
|
|
975
|
+
/**
|
|
976
|
+
* SwitchClusterZone请求参数结构体
|
|
977
|
+
*/
|
|
978
|
+
export interface SwitchClusterZoneRequest {
|
|
979
|
+
/**
|
|
980
|
+
* 集群Id
|
|
981
|
+
*/
|
|
982
|
+
ClusterId: string
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* 当前可用区
|
|
986
|
+
*/
|
|
987
|
+
OldZone: string
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* 要切换到的可用区
|
|
991
|
+
*/
|
|
992
|
+
NewZone: string
|
|
993
|
+
|
|
994
|
+
/**
|
|
995
|
+
* 维护期间执行-yes,立即执行-no
|
|
996
|
+
*/
|
|
997
|
+
IsInMaintainPeriod?: string
|
|
998
|
+
}
|
|
999
|
+
|
|
935
1000
|
/**
|
|
936
1001
|
* DescribeDBSecurityGroups请求参数结构体
|
|
937
1002
|
*/
|
|
@@ -1037,6 +1102,21 @@ export interface DescribeProjectSecurityGroupsResponse {
|
|
|
1037
1102
|
RequestId?: string
|
|
1038
1103
|
}
|
|
1039
1104
|
|
|
1105
|
+
/**
|
|
1106
|
+
* RemoveClusterSlaveZone返回参数结构体
|
|
1107
|
+
*/
|
|
1108
|
+
export interface RemoveClusterSlaveZoneResponse {
|
|
1109
|
+
/**
|
|
1110
|
+
* 异步FlowId
|
|
1111
|
+
*/
|
|
1112
|
+
FlowId: number
|
|
1113
|
+
|
|
1114
|
+
/**
|
|
1115
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1116
|
+
*/
|
|
1117
|
+
RequestId?: string
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1040
1120
|
/**
|
|
1041
1121
|
* PauseServerless返回参数结构体
|
|
1042
1122
|
*/
|
|
@@ -1431,6 +1511,21 @@ export interface DbTable {
|
|
|
1431
1511
|
TableName?: string
|
|
1432
1512
|
}
|
|
1433
1513
|
|
|
1514
|
+
/**
|
|
1515
|
+
* ModifyClusterSlaveZone返回参数结构体
|
|
1516
|
+
*/
|
|
1517
|
+
export interface ModifyClusterSlaveZoneResponse {
|
|
1518
|
+
/**
|
|
1519
|
+
* 异步FlowId
|
|
1520
|
+
*/
|
|
1521
|
+
FlowId: number
|
|
1522
|
+
|
|
1523
|
+
/**
|
|
1524
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1525
|
+
*/
|
|
1526
|
+
RequestId?: string
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1434
1529
|
/**
|
|
1435
1530
|
* GrantAccountPrivileges请求参数结构体
|
|
1436
1531
|
*/
|
|
@@ -1457,25 +1552,33 @@ export interface GrantAccountPrivilegesRequest {
|
|
|
1457
1552
|
}
|
|
1458
1553
|
|
|
1459
1554
|
/**
|
|
1460
|
-
*
|
|
1555
|
+
* Binlog描述
|
|
1461
1556
|
*/
|
|
1462
|
-
export interface
|
|
1557
|
+
export interface BinlogItem {
|
|
1463
1558
|
/**
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
FlowId: number
|
|
1559
|
+
* Binlog文件名称
|
|
1560
|
+
*/
|
|
1561
|
+
FileName: string
|
|
1468
1562
|
|
|
1469
1563
|
/**
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
DealNames: Array<string>
|
|
1564
|
+
* 文件大小,单位:字节
|
|
1565
|
+
*/
|
|
1566
|
+
FileSize: number
|
|
1474
1567
|
|
|
1475
1568
|
/**
|
|
1476
|
-
*
|
|
1569
|
+
* 事务最早时间
|
|
1477
1570
|
*/
|
|
1478
|
-
|
|
1571
|
+
StartTime: string
|
|
1572
|
+
|
|
1573
|
+
/**
|
|
1574
|
+
* 事务最晚时间
|
|
1575
|
+
*/
|
|
1576
|
+
FinishTime: string
|
|
1577
|
+
|
|
1578
|
+
/**
|
|
1579
|
+
* Binlog文件ID
|
|
1580
|
+
*/
|
|
1581
|
+
BinlogId: number
|
|
1479
1582
|
}
|
|
1480
1583
|
|
|
1481
1584
|
/**
|
|
@@ -1704,6 +1807,21 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
1704
1807
|
SlaveZone?: string
|
|
1705
1808
|
}
|
|
1706
1809
|
|
|
1810
|
+
/**
|
|
1811
|
+
* 回档表信息
|
|
1812
|
+
*/
|
|
1813
|
+
export interface RollbackTableInfo {
|
|
1814
|
+
/**
|
|
1815
|
+
* 旧表名称
|
|
1816
|
+
*/
|
|
1817
|
+
OldTable: string
|
|
1818
|
+
|
|
1819
|
+
/**
|
|
1820
|
+
* 新表名称
|
|
1821
|
+
*/
|
|
1822
|
+
NewTable: string
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1707
1825
|
/**
|
|
1708
1826
|
* DescribeClusters返回参数结构体
|
|
1709
1827
|
*/
|
|
@@ -1900,6 +2018,67 @@ export interface ParamTemplateListInfo {
|
|
|
1900
2018
|
EngineVersion: string
|
|
1901
2019
|
}
|
|
1902
2020
|
|
|
2021
|
+
/**
|
|
2022
|
+
* 参数信息
|
|
2023
|
+
*/
|
|
2024
|
+
export interface ParamInfo {
|
|
2025
|
+
/**
|
|
2026
|
+
* 当前值
|
|
2027
|
+
*/
|
|
2028
|
+
CurrentValue: string
|
|
2029
|
+
|
|
2030
|
+
/**
|
|
2031
|
+
* 默认值
|
|
2032
|
+
*/
|
|
2033
|
+
Default: string
|
|
2034
|
+
|
|
2035
|
+
/**
|
|
2036
|
+
* 参数为enum/string/bool时,可选值列表
|
|
2037
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2038
|
+
*/
|
|
2039
|
+
EnumValue: Array<string>
|
|
2040
|
+
|
|
2041
|
+
/**
|
|
2042
|
+
* 参数类型为float/integer时的最大值
|
|
2043
|
+
*/
|
|
2044
|
+
Max: string
|
|
2045
|
+
|
|
2046
|
+
/**
|
|
2047
|
+
* 参数类型为float/integer时的最小值
|
|
2048
|
+
*/
|
|
2049
|
+
Min: string
|
|
2050
|
+
|
|
2051
|
+
/**
|
|
2052
|
+
* 参数名称
|
|
2053
|
+
*/
|
|
2054
|
+
ParamName: string
|
|
2055
|
+
|
|
2056
|
+
/**
|
|
2057
|
+
* 是否需要重启生效
|
|
2058
|
+
*/
|
|
2059
|
+
NeedReboot: number
|
|
2060
|
+
|
|
2061
|
+
/**
|
|
2062
|
+
* 参数类型:integer/float/string/enum/bool
|
|
2063
|
+
*/
|
|
2064
|
+
ParamType: string
|
|
2065
|
+
|
|
2066
|
+
/**
|
|
2067
|
+
* 匹配类型,multiVal, regex在参数类型是string时使用
|
|
2068
|
+
*/
|
|
2069
|
+
MatchType: string
|
|
2070
|
+
|
|
2071
|
+
/**
|
|
2072
|
+
* 匹配目标值,当multiVal时,各个key用;分割
|
|
2073
|
+
*/
|
|
2074
|
+
MatchValue: string
|
|
2075
|
+
|
|
2076
|
+
/**
|
|
2077
|
+
* 参数描述
|
|
2078
|
+
*/
|
|
2079
|
+
Description: string
|
|
2080
|
+
}
|
|
2081
|
+
|
|
1903
2082
|
/**
|
|
1904
2083
|
* DescribeProjectSecurityGroups请求参数结构体
|
|
1905
2084
|
*/
|
|
@@ -1980,6 +2159,21 @@ export interface DescribeBackupDownloadUrlRequest {
|
|
|
1980
2159
|
BackupId: number
|
|
1981
2160
|
}
|
|
1982
2161
|
|
|
2162
|
+
/**
|
|
2163
|
+
* 可回档的时间范围
|
|
2164
|
+
*/
|
|
2165
|
+
export interface RollbackTimeRange {
|
|
2166
|
+
/**
|
|
2167
|
+
* 开始时间
|
|
2168
|
+
*/
|
|
2169
|
+
TimeRangeStart: string
|
|
2170
|
+
|
|
2171
|
+
/**
|
|
2172
|
+
* 结束时间
|
|
2173
|
+
*/
|
|
2174
|
+
TimeRangeEnd: string
|
|
2175
|
+
}
|
|
2176
|
+
|
|
1983
2177
|
/**
|
|
1984
2178
|
* 网络信息
|
|
1985
2179
|
*/
|
|
@@ -2013,6 +2207,24 @@ export interface NetAddr {
|
|
|
2013
2207
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2014
2208
|
*/
|
|
2015
2209
|
NetType: string
|
|
2210
|
+
|
|
2211
|
+
/**
|
|
2212
|
+
* 子网ID
|
|
2213
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2214
|
+
*/
|
|
2215
|
+
UniqSubnetId: string
|
|
2216
|
+
|
|
2217
|
+
/**
|
|
2218
|
+
* 私有网络ID
|
|
2219
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2220
|
+
*/
|
|
2221
|
+
UniqVpcId: string
|
|
2222
|
+
|
|
2223
|
+
/**
|
|
2224
|
+
* 描述信息
|
|
2225
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2226
|
+
*/
|
|
2227
|
+
Description: string
|
|
2016
2228
|
}
|
|
2017
2229
|
|
|
2018
2230
|
/**
|
|
@@ -2219,6 +2431,11 @@ export interface DescribeInstanceSpecsRequest {
|
|
|
2219
2431
|
<li> MYSQL </li>
|
|
2220
2432
|
*/
|
|
2221
2433
|
DbType: string
|
|
2434
|
+
|
|
2435
|
+
/**
|
|
2436
|
+
* 是否需要返回可用区信息
|
|
2437
|
+
*/
|
|
2438
|
+
IncludeZoneStocks?: boolean
|
|
2222
2439
|
}
|
|
2223
2440
|
|
|
2224
2441
|
/**
|
|
@@ -2505,33 +2722,25 @@ pause
|
|
|
2505
2722
|
}
|
|
2506
2723
|
|
|
2507
2724
|
/**
|
|
2508
|
-
*
|
|
2725
|
+
* IsolateCluster返回参数结构体
|
|
2509
2726
|
*/
|
|
2510
|
-
export interface
|
|
2511
|
-
/**
|
|
2512
|
-
* Binlog文件名称
|
|
2513
|
-
*/
|
|
2514
|
-
FileName: string
|
|
2515
|
-
|
|
2516
|
-
/**
|
|
2517
|
-
* 文件大小,单位:字节
|
|
2518
|
-
*/
|
|
2519
|
-
FileSize: number
|
|
2520
|
-
|
|
2727
|
+
export interface IsolateClusterResponse {
|
|
2521
2728
|
/**
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2729
|
+
* 任务流ID
|
|
2730
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2731
|
+
*/
|
|
2732
|
+
FlowId: number
|
|
2525
2733
|
|
|
2526
2734
|
/**
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2735
|
+
* 退款订单号
|
|
2736
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2737
|
+
*/
|
|
2738
|
+
DealNames: Array<string>
|
|
2530
2739
|
|
|
2531
2740
|
/**
|
|
2532
|
-
*
|
|
2741
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2533
2742
|
*/
|
|
2534
|
-
|
|
2743
|
+
RequestId?: string
|
|
2535
2744
|
}
|
|
2536
2745
|
|
|
2537
2746
|
/**
|
|
@@ -2597,6 +2806,32 @@ export interface InstanceSpec {
|
|
|
2597
2806
|
* 实例最小可用存储,单位:GB
|
|
2598
2807
|
*/
|
|
2599
2808
|
MinStorageSize: number
|
|
2809
|
+
|
|
2810
|
+
/**
|
|
2811
|
+
* 是否有库存
|
|
2812
|
+
*/
|
|
2813
|
+
HasStock: boolean
|
|
2814
|
+
|
|
2815
|
+
/**
|
|
2816
|
+
* 机器类型
|
|
2817
|
+
*/
|
|
2818
|
+
MachineType: string
|
|
2819
|
+
|
|
2820
|
+
/**
|
|
2821
|
+
* 最大IOPS
|
|
2822
|
+
*/
|
|
2823
|
+
MaxIops: number
|
|
2824
|
+
|
|
2825
|
+
/**
|
|
2826
|
+
* 最大IO带宽
|
|
2827
|
+
*/
|
|
2828
|
+
MaxIoBandWidth: number
|
|
2829
|
+
|
|
2830
|
+
/**
|
|
2831
|
+
* 地域库存信息
|
|
2832
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2833
|
+
*/
|
|
2834
|
+
ZoneStockInfos: Array<ZoneStockInfo>
|
|
2600
2835
|
}
|
|
2601
2836
|
|
|
2602
2837
|
/**
|
|
@@ -2634,6 +2869,36 @@ export interface SetRenewFlagResponse {
|
|
|
2634
2869
|
RequestId?: string
|
|
2635
2870
|
}
|
|
2636
2871
|
|
|
2872
|
+
/**
|
|
2873
|
+
* 数据库账号信息
|
|
2874
|
+
*/
|
|
2875
|
+
export interface Account {
|
|
2876
|
+
/**
|
|
2877
|
+
* 数据库账号名
|
|
2878
|
+
*/
|
|
2879
|
+
AccountName: string
|
|
2880
|
+
|
|
2881
|
+
/**
|
|
2882
|
+
* 数据库账号描述
|
|
2883
|
+
*/
|
|
2884
|
+
Description: string
|
|
2885
|
+
|
|
2886
|
+
/**
|
|
2887
|
+
* 创建时间
|
|
2888
|
+
*/
|
|
2889
|
+
CreateTime: string
|
|
2890
|
+
|
|
2891
|
+
/**
|
|
2892
|
+
* 更新时间
|
|
2893
|
+
*/
|
|
2894
|
+
UpdateTime: string
|
|
2895
|
+
|
|
2896
|
+
/**
|
|
2897
|
+
* 主机
|
|
2898
|
+
*/
|
|
2899
|
+
Host: string
|
|
2900
|
+
}
|
|
2901
|
+
|
|
2637
2902
|
/**
|
|
2638
2903
|
* DescribeClusterParamLogs请求参数结构体
|
|
2639
2904
|
*/
|
|
@@ -2945,6 +3210,26 @@ export interface AddInstancesRequest {
|
|
|
2945
3210
|
DealMode?: number
|
|
2946
3211
|
}
|
|
2947
3212
|
|
|
3213
|
+
/**
|
|
3214
|
+
* ModifyClusterSlaveZone请求参数结构体
|
|
3215
|
+
*/
|
|
3216
|
+
export interface ModifyClusterSlaveZoneRequest {
|
|
3217
|
+
/**
|
|
3218
|
+
* 集群Id
|
|
3219
|
+
*/
|
|
3220
|
+
ClusterId: string
|
|
3221
|
+
|
|
3222
|
+
/**
|
|
3223
|
+
* 旧从可用区
|
|
3224
|
+
*/
|
|
3225
|
+
OldSlaveZone: string
|
|
3226
|
+
|
|
3227
|
+
/**
|
|
3228
|
+
* 新从可用区
|
|
3229
|
+
*/
|
|
3230
|
+
NewSlaveZone: string
|
|
3231
|
+
}
|
|
3232
|
+
|
|
2948
3233
|
/**
|
|
2949
3234
|
* DescribeInstances请求参数结构体
|
|
2950
3235
|
*/
|
|
@@ -3516,6 +3801,16 @@ export interface TradePrice {
|
|
|
3516
3801
|
ChargeUnit: string
|
|
3517
3802
|
}
|
|
3518
3803
|
|
|
3804
|
+
/**
|
|
3805
|
+
* DescribeClusterParams请求参数结构体
|
|
3806
|
+
*/
|
|
3807
|
+
export interface DescribeClusterParamsRequest {
|
|
3808
|
+
/**
|
|
3809
|
+
* 集群ID
|
|
3810
|
+
*/
|
|
3811
|
+
ClusterId: string
|
|
3812
|
+
}
|
|
3813
|
+
|
|
3519
3814
|
/**
|
|
3520
3815
|
* DescribeInstanceSpecs返回参数结构体
|
|
3521
3816
|
*/
|
|
@@ -3751,6 +4046,21 @@ export interface DisassociateSecurityGroupsResponse {
|
|
|
3751
4046
|
RequestId?: string
|
|
3752
4047
|
}
|
|
3753
4048
|
|
|
4049
|
+
/**
|
|
4050
|
+
* 可用区库存信息
|
|
4051
|
+
*/
|
|
4052
|
+
export interface ZoneStockInfo {
|
|
4053
|
+
/**
|
|
4054
|
+
* 可用区
|
|
4055
|
+
*/
|
|
4056
|
+
Zone: string
|
|
4057
|
+
|
|
4058
|
+
/**
|
|
4059
|
+
* 是否有库存
|
|
4060
|
+
*/
|
|
4061
|
+
HasStock: boolean
|
|
4062
|
+
}
|
|
4063
|
+
|
|
3754
4064
|
/**
|
|
3755
4065
|
* InquirePriceRenew返回参数结构体
|
|
3756
4066
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { ModifyClusterNameRequest, DescribeRollbackTimeRangeRequest, InquirePriceRenewRequest, DescribeBackupConfigRequest, DescribeAccountsRequest, ModifyMaintainPeriodConfigRequest, DescribeRollbackTimeRangeResponse, ModifyBackupNameResponse, AssociateSecurityGroupsRequest, DescribeBinlogDownloadUrlRequest, CreateAccountsResponse, ModifyInstanceNameRequest, DescribeDBSecurityGroupsResponse, DescribeMaintainPeriodRequest, DescribeBinlogsResponse, DescribeInstancesResponse, ModifyClusterNameResponse, IsolateInstanceResponse, ModifyInstanceNameResponse, DescribeParamTemplatesRequest, PauseServerlessRequest, RevokeAccountPrivilegesResponse, CreateClustersResponse, SetRenewFlagRequest, ActivateInstanceRequest, DescribeAccountAllGrantPrivilegesResponse, DescribeClustersRequest, DescribeInstanceDetailResponse, ModifyDBInstanceSecurityGroupsResponse, DescribeClusterParamLogsResponse, DescribeClusterInstanceGrpsRequest, DescribeResourcesByDealNameResponse, ResumeServerlessResponse, CreateAccountsRequest, IsolateInstanceRequest, ExportInstanceSlowQueriesResponse, DescribeDBSecurityGroupsRequest, RollBackClusterRequest, DescribeClusterDetailRequest, DescribeProjectSecurityGroupsResponse, PauseServerlessResponse, OfflineClusterRequest, DescribeBinlogDownloadUrlResponse, DescribeBackupListRequest,
|
|
2
|
+
import { RemoveClusterSlaveZoneRequest, ModifyClusterNameRequest, DescribeRollbackTimeRangeRequest, InquirePriceRenewRequest, DescribeBackupConfigRequest, DescribeAccountsRequest, ModifyMaintainPeriodConfigRequest, DescribeRollbackTimeRangeResponse, ModifyBackupNameResponse, SwitchClusterZoneResponse, AssociateSecurityGroupsRequest, DescribeBinlogDownloadUrlRequest, CreateAccountsResponse, ModifyInstanceNameRequest, DescribeDBSecurityGroupsResponse, DescribeMaintainPeriodRequest, DescribeBinlogsResponse, DescribeInstancesResponse, AddClusterSlaveZoneResponse, ModifyClusterNameResponse, DescribeClusterParamsResponse, IsolateInstanceResponse, ModifyInstanceNameResponse, DescribeParamTemplatesRequest, PauseServerlessRequest, RevokeAccountPrivilegesResponse, CreateClustersResponse, SetRenewFlagRequest, ActivateInstanceRequest, AddClusterSlaveZoneRequest, DescribeAccountAllGrantPrivilegesResponse, DescribeClustersRequest, DescribeInstanceDetailResponse, ModifyDBInstanceSecurityGroupsResponse, DescribeClusterParamLogsResponse, DescribeClusterInstanceGrpsRequest, DescribeResourcesByDealNameResponse, ResumeServerlessResponse, CreateAccountsRequest, IsolateInstanceRequest, ExportInstanceSlowQueriesResponse, SwitchClusterZoneRequest, DescribeDBSecurityGroupsRequest, RollBackClusterRequest, DescribeClusterDetailRequest, DescribeProjectSecurityGroupsResponse, RemoveClusterSlaveZoneResponse, PauseServerlessResponse, OfflineClusterRequest, DescribeBinlogDownloadUrlResponse, DescribeBackupListRequest, ModifyClusterSlaveZoneResponse, GrantAccountPrivilegesRequest, CreateClustersRequest, DescribeClustersResponse, DescribeBackupConfigResponse, ModifyDBInstanceSecurityGroupsRequest, DescribeParamTemplatesResponse, AddInstancesResponse, DescribeProjectSecurityGroupsRequest, ModifyClusterParamResponse, DescribeBackupDownloadUrlRequest, AssociateSecurityGroupsResponse, DescribeResourcesByDealNameRequest, DescribeRollbackTimeValidityResponse, DescribeInstanceSlowQueriesResponse, GrantAccountPrivilegesResponse, DescribeBackupDownloadUrlResponse, ResumeServerlessRequest, InquirePriceCreateRequest, ModifyBackupConfigResponse, DescribeInstanceSpecsRequest, ExportInstanceSlowQueriesRequest, UpgradeInstanceResponse, ModifyAccountParamsRequest, IsolateClusterResponse, OfflineClusterResponse, RevokeAccountPrivilegesRequest, InquirePriceCreateResponse, SetRenewFlagResponse, DescribeClusterParamLogsRequest, UpgradeInstanceRequest, DescribeMaintainPeriodResponse, DescribeBackupListResponse, RollBackClusterResponse, DescribeBinlogSaveDaysRequest, ModifyBackupConfigRequest, ActivateInstanceResponse, DescribeRollbackTimeValidityRequest, IsolateClusterRequest, DescribeClusterInstanceGrpsResponse, AddInstancesRequest, ModifyClusterSlaveZoneRequest, DescribeInstancesRequest, DescribeInstanceDetailRequest, ModifyMaintainPeriodConfigResponse, DisassociateSecurityGroupsRequest, ModifyBackupNameRequest, DescribeBinlogSaveDaysResponse, ModifyClusterParamRequest, DescribeAccountsResponse, ModifyAccountParamsResponse, OfflineInstanceRequest, DescribeClusterParamsRequest, DescribeInstanceSpecsResponse, DescribeAccountAllGrantPrivilegesRequest, OfflineInstanceResponse, DescribeClusterDetailResponse, DescribeInstanceSlowQueriesRequest, DescribeBinlogsRequest, DisassociateSecurityGroupsResponse, InquirePriceRenewResponse } from "./cynosdb_models";
|
|
3
3
|
/**
|
|
4
4
|
* cynosdb client
|
|
5
5
|
* @class
|
|
@@ -31,13 +31,21 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
31
31
|
*/
|
|
32
32
|
DescribeBinlogSaveDays(req: DescribeBinlogSaveDaysRequest, cb?: (error: string, rep: DescribeBinlogSaveDaysResponse) => void): Promise<DescribeBinlogSaveDaysResponse>;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* 本接口(DescribeInstanceSpecs)用于查询实例规格
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
DescribeInstanceSpecs(req: DescribeInstanceSpecsRequest, cb?: (error: string, rep: DescribeInstanceSpecsResponse) => void): Promise<DescribeInstanceSpecsResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* 增加从可用区
|
|
39
|
+
*/
|
|
40
|
+
AddClusterSlaveZone(req: AddClusterSlaveZoneRequest, cb?: (error: string, rep: AddClusterSlaveZoneResponse) => void): Promise<AddClusterSlaveZoneResponse>;
|
|
37
41
|
/**
|
|
38
42
|
* 查询用户指定产品下的所有参数模板信息
|
|
39
43
|
*/
|
|
40
44
|
DescribeParamTemplates(req?: DescribeParamTemplatesRequest, cb?: (error: string, rep: DescribeParamTemplatesResponse) => void): Promise<DescribeParamTemplatesResponse>;
|
|
45
|
+
/**
|
|
46
|
+
* SetRenewFlag设置实例的自动续费功能
|
|
47
|
+
*/
|
|
48
|
+
SetRenewFlag(req: SetRenewFlagRequest, cb?: (error: string, rep: SetRenewFlagResponse) => void): Promise<SetRenewFlagResponse>;
|
|
41
49
|
/**
|
|
42
50
|
* 本接口(DescribeClusterInstanceGrps)用于查询实例组
|
|
43
51
|
*/
|
|
@@ -86,10 +94,18 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
86
94
|
* 修改维护时间配置
|
|
87
95
|
*/
|
|
88
96
|
ModifyMaintainPeriodConfig(req: ModifyMaintainPeriodConfigRequest, cb?: (error: string, rep: ModifyMaintainPeriodConfigResponse) => void): Promise<ModifyMaintainPeriodConfigResponse>;
|
|
97
|
+
/**
|
|
98
|
+
* 修改从可用区
|
|
99
|
+
*/
|
|
100
|
+
ModifyClusterSlaveZone(req: ModifyClusterSlaveZoneRequest, cb?: (error: string, rep: ModifyClusterSlaveZoneResponse) => void): Promise<ModifyClusterSlaveZoneResponse>;
|
|
89
101
|
/**
|
|
90
102
|
* 修改账号参数
|
|
91
103
|
*/
|
|
92
104
|
ModifyAccountParams(req: ModifyAccountParamsRequest, cb?: (error: string, rep: ModifyAccountParamsResponse) => void): Promise<ModifyAccountParamsResponse>;
|
|
105
|
+
/**
|
|
106
|
+
* 本接口(DescribeClusterParams)用于查询集群参数
|
|
107
|
+
*/
|
|
108
|
+
DescribeClusterParams(req: DescribeClusterParamsRequest, cb?: (error: string, rep: DescribeClusterParamsResponse) => void): Promise<DescribeClusterParamsResponse>;
|
|
93
109
|
/**
|
|
94
110
|
* 下线实例
|
|
95
111
|
*/
|
|
@@ -123,9 +139,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
123
139
|
*/
|
|
124
140
|
AssociateSecurityGroups(req: AssociateSecurityGroupsRequest, cb?: (error: string, rep: AssociateSecurityGroupsResponse) => void): Promise<AssociateSecurityGroupsResponse>;
|
|
125
141
|
/**
|
|
126
|
-
*
|
|
142
|
+
* 删除从可用区
|
|
127
143
|
*/
|
|
128
|
-
|
|
144
|
+
RemoveClusterSlaveZone(req: RemoveClusterSlaveZoneRequest, cb?: (error: string, rep: RemoveClusterSlaveZoneResponse) => void): Promise<RemoveClusterSlaveZoneResponse>;
|
|
129
145
|
/**
|
|
130
146
|
* 显示集群详情
|
|
131
147
|
*/
|
|
@@ -139,9 +155,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
139
155
|
*/
|
|
140
156
|
IsolateInstance(req: IsolateInstanceRequest, cb?: (error: string, rep: IsolateInstanceResponse) => void): Promise<IsolateInstanceResponse>;
|
|
141
157
|
/**
|
|
142
|
-
*
|
|
158
|
+
* 获取指定集群的备份配置信息,包括全量备份时间段,备份文件保留时间
|
|
143
159
|
*/
|
|
144
|
-
|
|
160
|
+
DescribeBackupConfig(req: DescribeBackupConfigRequest, cb?: (error: string, rep: DescribeBackupConfigResponse) => void): Promise<DescribeBackupConfigResponse>;
|
|
145
161
|
/**
|
|
146
162
|
* 此接口(DescribeInstanceSlowQueries)用于查询实例慢查询日志。
|
|
147
163
|
*/
|
|
@@ -198,6 +214,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
198
214
|
* 此接口(ExportInstanceSlowQueries)用于导出实例慢日志。
|
|
199
215
|
*/
|
|
200
216
|
ExportInstanceSlowQueries(req: ExportInstanceSlowQueriesRequest, cb?: (error: string, rep: ExportInstanceSlowQueriesResponse) => void): Promise<ExportInstanceSlowQueriesResponse>;
|
|
217
|
+
/**
|
|
218
|
+
* 切换到从可用区
|
|
219
|
+
*/
|
|
220
|
+
SwitchClusterZone(req: SwitchClusterZoneRequest, cb?: (error: string, rep: SwitchClusterZoneResponse) => void): Promise<SwitchClusterZoneResponse>;
|
|
201
221
|
/**
|
|
202
222
|
* 安全组批量解绑云资源
|
|
203
223
|
*/
|