tencentcloud-sdk-nodejs-cynosdb 4.0.605 → 4.0.607
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 +337 -0
- package/SERVICE_CHANGELOG.md +312 -108
- package/package.json +1 -1
- package/products.md +30 -30
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +772 -479
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +1407 -234
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +249 -153
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +372 -228
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +1189 -193
@@ -75,6 +75,21 @@ export interface InquirePriceRenewRequest {
|
|
75
75
|
TimeUnit: string
|
76
76
|
}
|
77
77
|
|
78
|
+
/**
|
79
|
+
* DescribeAccountPrivileges返回参数结构体
|
80
|
+
*/
|
81
|
+
export interface DescribeAccountPrivilegesResponse {
|
82
|
+
/**
|
83
|
+
* 权限列表,示例值为:["select","update","delete","create","drop","references","index","alter","show_db","create_tmp_table","lock_tables","execute","create_view","show_view","create_routine","alter_routine","event","trigger"]
|
84
|
+
*/
|
85
|
+
Privileges: Array<string>
|
86
|
+
|
87
|
+
/**
|
88
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
89
|
+
*/
|
90
|
+
RequestId?: string
|
91
|
+
}
|
92
|
+
|
78
93
|
/**
|
79
94
|
* 实例的审计规则详情,DescribeAuditRuleWithInstanceIds接口的出参。
|
80
95
|
*/
|
@@ -289,6 +304,21 @@ export interface BillingResourceInfo {
|
|
289
304
|
DealName: string
|
290
305
|
}
|
291
306
|
|
307
|
+
/**
|
308
|
+
* ModifyClusterPasswordComplexity返回参数结构体
|
309
|
+
*/
|
310
|
+
export interface ModifyClusterPasswordComplexityResponse {
|
311
|
+
/**
|
312
|
+
* 任务流ID
|
313
|
+
*/
|
314
|
+
FlowId: number
|
315
|
+
|
316
|
+
/**
|
317
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
318
|
+
*/
|
319
|
+
RequestId?: string
|
320
|
+
}
|
321
|
+
|
292
322
|
/**
|
293
323
|
* ModifyBackupName返回参数结构体
|
294
324
|
*/
|
@@ -405,24 +435,13 @@ export interface SwitchClusterZoneResponse {
|
|
405
435
|
}
|
406
436
|
|
407
437
|
/**
|
408
|
-
*
|
438
|
+
* DescribeClusterPasswordComplexity请求参数结构体
|
409
439
|
*/
|
410
|
-
export interface
|
411
|
-
/**
|
412
|
-
* 参数名
|
413
|
-
*/
|
414
|
-
ParamName: string
|
415
|
-
|
440
|
+
export interface DescribeClusterPasswordComplexityRequest {
|
416
441
|
/**
|
417
|
-
*
|
442
|
+
* 集群ID
|
418
443
|
*/
|
419
|
-
|
420
|
-
|
421
|
-
/**
|
422
|
-
* 参数旧值(只在出参时有用)
|
423
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
424
|
-
*/
|
425
|
-
OldValue?: string
|
444
|
+
ClusterId: string
|
426
445
|
}
|
427
446
|
|
428
447
|
/**
|
@@ -485,6 +504,31 @@ export interface ModifyInstanceNameRequest {
|
|
485
504
|
InstanceName: string
|
486
505
|
}
|
487
506
|
|
507
|
+
/**
|
508
|
+
* ModifyClusterDatabase返回参数结构体
|
509
|
+
*/
|
510
|
+
export interface ModifyClusterDatabaseResponse {
|
511
|
+
/**
|
512
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
513
|
+
*/
|
514
|
+
RequestId?: string
|
515
|
+
}
|
516
|
+
|
517
|
+
/**
|
518
|
+
* UpgradeClusterVersion返回参数结构体
|
519
|
+
*/
|
520
|
+
export interface UpgradeClusterVersionResponse {
|
521
|
+
/**
|
522
|
+
* 异步任务id
|
523
|
+
*/
|
524
|
+
FlowId: number
|
525
|
+
|
526
|
+
/**
|
527
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
528
|
+
*/
|
529
|
+
RequestId?: string
|
530
|
+
}
|
531
|
+
|
488
532
|
/**
|
489
533
|
* DescribeDBSecurityGroups返回参数结构体
|
490
534
|
*/
|
@@ -501,13 +545,18 @@ export interface DescribeDBSecurityGroupsResponse {
|
|
501
545
|
}
|
502
546
|
|
503
547
|
/**
|
504
|
-
*
|
548
|
+
* CloseWan返回参数结构体
|
505
549
|
*/
|
506
|
-
export interface
|
550
|
+
export interface CloseWanResponse {
|
507
551
|
/**
|
508
|
-
*
|
552
|
+
* 任务流ID
|
509
553
|
*/
|
510
|
-
|
554
|
+
FlowId: number
|
555
|
+
|
556
|
+
/**
|
557
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
558
|
+
*/
|
559
|
+
RequestId?: string
|
511
560
|
}
|
512
561
|
|
513
562
|
/**
|
@@ -546,6 +595,16 @@ export interface DescribeBinlogsResponse {
|
|
546
595
|
RequestId?: string
|
547
596
|
}
|
548
597
|
|
598
|
+
/**
|
599
|
+
* DeleteParamTemplate返回参数结构体
|
600
|
+
*/
|
601
|
+
export interface DeleteParamTemplateResponse {
|
602
|
+
/**
|
603
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
604
|
+
*/
|
605
|
+
RequestId?: string
|
606
|
+
}
|
607
|
+
|
549
608
|
/**
|
550
609
|
* DescribeInstances返回参数结构体
|
551
610
|
*/
|
@@ -679,6 +738,66 @@ export interface ModifyClusterNameResponse {
|
|
679
738
|
RequestId?: string
|
680
739
|
}
|
681
740
|
|
741
|
+
/**
|
742
|
+
* 实例慢查询信息
|
743
|
+
*/
|
744
|
+
export interface SlowQueriesItem {
|
745
|
+
/**
|
746
|
+
* 执行时间戳
|
747
|
+
*/
|
748
|
+
Timestamp: number
|
749
|
+
|
750
|
+
/**
|
751
|
+
* 执行时长,单位秒
|
752
|
+
*/
|
753
|
+
QueryTime: number
|
754
|
+
|
755
|
+
/**
|
756
|
+
* sql语句
|
757
|
+
*/
|
758
|
+
SqlText: string
|
759
|
+
|
760
|
+
/**
|
761
|
+
* 客户端host
|
762
|
+
*/
|
763
|
+
UserHost: string
|
764
|
+
|
765
|
+
/**
|
766
|
+
* 用户名
|
767
|
+
*/
|
768
|
+
UserName: string
|
769
|
+
|
770
|
+
/**
|
771
|
+
* 数据库名
|
772
|
+
*/
|
773
|
+
Database: string
|
774
|
+
|
775
|
+
/**
|
776
|
+
* 锁时长,单位秒
|
777
|
+
*/
|
778
|
+
LockTime: number
|
779
|
+
|
780
|
+
/**
|
781
|
+
* 扫描行数
|
782
|
+
*/
|
783
|
+
RowsExamined: number
|
784
|
+
|
785
|
+
/**
|
786
|
+
* 返回行数
|
787
|
+
*/
|
788
|
+
RowsSent: number
|
789
|
+
|
790
|
+
/**
|
791
|
+
* sql模版
|
792
|
+
*/
|
793
|
+
SqlTemplate: string
|
794
|
+
|
795
|
+
/**
|
796
|
+
* sql语句md5
|
797
|
+
*/
|
798
|
+
SqlMd5: string
|
799
|
+
}
|
800
|
+
|
682
801
|
/**
|
683
802
|
* DescribeClusterParams返回参数结构体
|
684
803
|
*/
|
@@ -700,6 +819,16 @@ export interface DescribeClusterParamsResponse {
|
|
700
819
|
RequestId?: string
|
701
820
|
}
|
702
821
|
|
822
|
+
/**
|
823
|
+
* CloseWan请求参数结构体
|
824
|
+
*/
|
825
|
+
export interface CloseWanRequest {
|
826
|
+
/**
|
827
|
+
* 实例组id
|
828
|
+
*/
|
829
|
+
InstanceGrpId: string
|
830
|
+
}
|
831
|
+
|
703
832
|
/**
|
704
833
|
* IsolateInstance返回参数结构体
|
705
834
|
*/
|
@@ -851,6 +980,36 @@ export interface DescribeParamTemplatesRequest {
|
|
851
980
|
OrderDirection?: string
|
852
981
|
}
|
853
982
|
|
983
|
+
/**
|
984
|
+
* CopyClusterPasswordComplexity返回参数结构体
|
985
|
+
*/
|
986
|
+
export interface CopyClusterPasswordComplexityResponse {
|
987
|
+
/**
|
988
|
+
* 任务流ID
|
989
|
+
*/
|
990
|
+
FlowId: number
|
991
|
+
|
992
|
+
/**
|
993
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
994
|
+
*/
|
995
|
+
RequestId?: string
|
996
|
+
}
|
997
|
+
|
998
|
+
/**
|
999
|
+
* 集群绑定的标签信息,包含标签键TagKey和标签值TagValue
|
1000
|
+
*/
|
1001
|
+
export interface Tag {
|
1002
|
+
/**
|
1003
|
+
* 标签键
|
1004
|
+
*/
|
1005
|
+
TagKey: string
|
1006
|
+
|
1007
|
+
/**
|
1008
|
+
* 标签值
|
1009
|
+
*/
|
1010
|
+
TagValue: string
|
1011
|
+
}
|
1012
|
+
|
854
1013
|
/**
|
855
1014
|
* DescribeAuditLogs返回参数结构体
|
856
1015
|
*/
|
@@ -872,6 +1031,26 @@ export interface DescribeAuditLogsResponse {
|
|
872
1031
|
RequestId?: string
|
873
1032
|
}
|
874
1033
|
|
1034
|
+
/**
|
1035
|
+
* DescribeInstanceParams请求参数结构体
|
1036
|
+
*/
|
1037
|
+
export interface DescribeInstanceParamsRequest {
|
1038
|
+
/**
|
1039
|
+
* 集群ID
|
1040
|
+
*/
|
1041
|
+
ClusterId: string
|
1042
|
+
|
1043
|
+
/**
|
1044
|
+
* 实例ID,支持批量查询
|
1045
|
+
*/
|
1046
|
+
InstanceIds: Array<string>
|
1047
|
+
|
1048
|
+
/**
|
1049
|
+
* 参数名搜索条件,支持模糊匹配
|
1050
|
+
*/
|
1051
|
+
ParamKeyword?: string
|
1052
|
+
}
|
1053
|
+
|
875
1054
|
/**
|
876
1055
|
* SearchClusterTables请求参数结构体
|
877
1056
|
*/
|
@@ -901,24 +1080,39 @@ all:返回 view 和表
|
|
901
1080
|
}
|
902
1081
|
|
903
1082
|
/**
|
904
|
-
*
|
1083
|
+
* DeleteParamTemplate请求参数结构体
|
905
1084
|
*/
|
906
|
-
export interface
|
1085
|
+
export interface DeleteParamTemplateRequest {
|
1086
|
+
/**
|
1087
|
+
* 参数模版ID
|
1088
|
+
*/
|
1089
|
+
TemplateId: number
|
1090
|
+
}
|
1091
|
+
|
1092
|
+
/**
|
1093
|
+
* DescribeClusterDetailDatabases请求参数结构体
|
1094
|
+
*/
|
1095
|
+
export interface DescribeClusterDetailDatabasesRequest {
|
907
1096
|
/**
|
908
1097
|
* 集群ID
|
909
1098
|
*/
|
910
1099
|
ClusterId: string
|
911
1100
|
|
912
1101
|
/**
|
913
|
-
*
|
1102
|
+
* 偏移量,默认0
|
914
1103
|
*/
|
915
|
-
|
916
|
-
}
|
1104
|
+
Offset?: number
|
917
1105
|
|
918
|
-
/**
|
919
|
-
|
920
|
-
|
921
|
-
|
1106
|
+
/**
|
1107
|
+
* 返回数量,默认20,最大100
|
1108
|
+
*/
|
1109
|
+
Limit?: number
|
1110
|
+
|
1111
|
+
/**
|
1112
|
+
* 数据库名称
|
1113
|
+
*/
|
1114
|
+
DbName?: string
|
1115
|
+
}
|
922
1116
|
|
923
1117
|
/**
|
924
1118
|
* DescribeFlow返回参数结构体
|
@@ -1070,6 +1264,37 @@ export interface SetRenewFlagRequest {
|
|
1070
1264
|
AutoRenewFlag: number
|
1071
1265
|
}
|
1072
1266
|
|
1267
|
+
/**
|
1268
|
+
* OfflineCluster请求参数结构体
|
1269
|
+
*/
|
1270
|
+
export interface OfflineClusterRequest {
|
1271
|
+
/**
|
1272
|
+
* 集群ID
|
1273
|
+
*/
|
1274
|
+
ClusterId: string
|
1275
|
+
}
|
1276
|
+
|
1277
|
+
/**
|
1278
|
+
* DescribeClusterDetailDatabases返回参数结构体
|
1279
|
+
*/
|
1280
|
+
export interface DescribeClusterDetailDatabasesResponse {
|
1281
|
+
/**
|
1282
|
+
* 数据库信息
|
1283
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1284
|
+
*/
|
1285
|
+
DbInfos: Array<DbInfo>
|
1286
|
+
|
1287
|
+
/**
|
1288
|
+
* 总数
|
1289
|
+
*/
|
1290
|
+
TotalCount: number
|
1291
|
+
|
1292
|
+
/**
|
1293
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1294
|
+
*/
|
1295
|
+
RequestId?: string
|
1296
|
+
}
|
1297
|
+
|
1073
1298
|
/**
|
1074
1299
|
* 实例组信息
|
1075
1300
|
*/
|
@@ -1184,64 +1409,19 @@ export interface CynosdbInstanceGrp {
|
|
1184
1409
|
}
|
1185
1410
|
|
1186
1411
|
/**
|
1187
|
-
*
|
1412
|
+
* CreateParamTemplate返回参数结构体
|
1188
1413
|
*/
|
1189
|
-
export interface
|
1414
|
+
export interface CreateParamTemplateResponse {
|
1190
1415
|
/**
|
1191
|
-
*
|
1416
|
+
* 模版ID
|
1192
1417
|
*/
|
1193
|
-
|
1418
|
+
TemplateId: number
|
1194
1419
|
|
1195
1420
|
/**
|
1196
|
-
*
|
1421
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1197
1422
|
*/
|
1198
|
-
|
1199
|
-
|
1200
|
-
/**
|
1201
|
-
* sql语句
|
1202
|
-
*/
|
1203
|
-
SqlText: string
|
1204
|
-
|
1205
|
-
/**
|
1206
|
-
* 客户端host
|
1207
|
-
*/
|
1208
|
-
UserHost: string
|
1209
|
-
|
1210
|
-
/**
|
1211
|
-
* 用户名
|
1212
|
-
*/
|
1213
|
-
UserName: string
|
1214
|
-
|
1215
|
-
/**
|
1216
|
-
* 数据库名
|
1217
|
-
*/
|
1218
|
-
Database: string
|
1219
|
-
|
1220
|
-
/**
|
1221
|
-
* 锁时长,单位秒
|
1222
|
-
*/
|
1223
|
-
LockTime: number
|
1224
|
-
|
1225
|
-
/**
|
1226
|
-
* 扫描行数
|
1227
|
-
*/
|
1228
|
-
RowsExamined: number
|
1229
|
-
|
1230
|
-
/**
|
1231
|
-
* 返回行数
|
1232
|
-
*/
|
1233
|
-
RowsSent: number
|
1234
|
-
|
1235
|
-
/**
|
1236
|
-
* sql模版
|
1237
|
-
*/
|
1238
|
-
SqlTemplate: string
|
1239
|
-
|
1240
|
-
/**
|
1241
|
-
* sql语句md5
|
1242
|
-
*/
|
1243
|
-
SqlMd5: string
|
1244
|
-
}
|
1423
|
+
RequestId?: string
|
1424
|
+
}
|
1245
1425
|
|
1246
1426
|
/**
|
1247
1427
|
* ActivateInstance请求参数结构体
|
@@ -1481,18 +1661,13 @@ export interface ModifyClusterStorageResponse {
|
|
1481
1661
|
}
|
1482
1662
|
|
1483
1663
|
/**
|
1484
|
-
*
|
1664
|
+
* CloseClusterPasswordComplexity请求参数结构体
|
1485
1665
|
*/
|
1486
|
-
export interface
|
1487
|
-
/**
|
1488
|
-
* 实例详情
|
1489
|
-
*/
|
1490
|
-
Detail: CynosdbInstanceDetail
|
1491
|
-
|
1666
|
+
export interface CloseClusterPasswordComplexityRequest {
|
1492
1667
|
/**
|
1493
|
-
*
|
1668
|
+
* 集群ID数组
|
1494
1669
|
*/
|
1495
|
-
|
1670
|
+
ClusterIds: Array<string>
|
1496
1671
|
}
|
1497
1672
|
|
1498
1673
|
/**
|
@@ -1704,11 +1879,26 @@ export interface SwitchClusterZoneRequest {
|
|
1704
1879
|
}
|
1705
1880
|
|
1706
1881
|
/**
|
1707
|
-
*
|
1882
|
+
* 实例参数信息
|
1708
1883
|
*/
|
1709
|
-
export interface
|
1884
|
+
export interface InstanceParamItem {
|
1710
1885
|
/**
|
1711
|
-
* 实例
|
1886
|
+
* 实例ID
|
1887
|
+
*/
|
1888
|
+
InstanceId: string
|
1889
|
+
|
1890
|
+
/**
|
1891
|
+
* 实例参数列表
|
1892
|
+
*/
|
1893
|
+
ParamsItems: Array<ParamItemDetail>
|
1894
|
+
}
|
1895
|
+
|
1896
|
+
/**
|
1897
|
+
* DescribeInstanceDetail请求参数结构体
|
1898
|
+
*/
|
1899
|
+
export interface DescribeInstanceDetailRequest {
|
1900
|
+
/**
|
1901
|
+
* 实例ID
|
1712
1902
|
*/
|
1713
1903
|
InstanceId: string
|
1714
1904
|
}
|
@@ -1816,18 +2006,13 @@ export interface UpgradeInstanceRequest {
|
|
1816
2006
|
}
|
1817
2007
|
|
1818
2008
|
/**
|
1819
|
-
*
|
2009
|
+
* ModifyMaintainPeriodConfig返回参数结构体
|
1820
2010
|
*/
|
1821
|
-
export interface
|
1822
|
-
/**
|
1823
|
-
* 数据库名称
|
1824
|
-
*/
|
1825
|
-
Database: string
|
1826
|
-
|
2011
|
+
export interface ModifyMaintainPeriodConfigResponse {
|
1827
2012
|
/**
|
1828
|
-
*
|
2013
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1829
2014
|
*/
|
1830
|
-
|
2015
|
+
RequestId?: string
|
1831
2016
|
}
|
1832
2017
|
|
1833
2018
|
/**
|
@@ -1886,18 +2071,33 @@ export interface DeleteBackupResponse {
|
|
1886
2071
|
}
|
1887
2072
|
|
1888
2073
|
/**
|
1889
|
-
*
|
2074
|
+
* ModifyInstanceParam请求参数结构体
|
1890
2075
|
*/
|
1891
|
-
export interface
|
2076
|
+
export interface ModifyInstanceParamRequest {
|
1892
2077
|
/**
|
1893
|
-
*
|
2078
|
+
* 集群ID
|
1894
2079
|
*/
|
1895
|
-
|
2080
|
+
ClusterId: string
|
1896
2081
|
|
1897
2082
|
/**
|
1898
|
-
*
|
2083
|
+
* 实例ID
|
1899
2084
|
*/
|
1900
|
-
|
2085
|
+
InstanceIds?: Array<string>
|
2086
|
+
|
2087
|
+
/**
|
2088
|
+
* 集群参数列表
|
2089
|
+
*/
|
2090
|
+
ClusterParamList?: Array<ModifyParamItem>
|
2091
|
+
|
2092
|
+
/**
|
2093
|
+
* 实例参数列表
|
2094
|
+
*/
|
2095
|
+
InstanceParamList?: Array<ModifyParamItem>
|
2096
|
+
|
2097
|
+
/**
|
2098
|
+
* yes:在运维时间窗内修改,no:立即执行(默认值)
|
2099
|
+
*/
|
2100
|
+
IsInMaintainPeriod?: string
|
1901
2101
|
}
|
1902
2102
|
|
1903
2103
|
/**
|
@@ -1950,6 +2150,21 @@ export interface CreateAuditLogFileResponse {
|
|
1950
2150
|
RequestId?: string
|
1951
2151
|
}
|
1952
2152
|
|
2153
|
+
/**
|
2154
|
+
* OpenWan返回参数结构体
|
2155
|
+
*/
|
2156
|
+
export interface OpenWanResponse {
|
2157
|
+
/**
|
2158
|
+
* 任务流ID
|
2159
|
+
*/
|
2160
|
+
FlowId: number
|
2161
|
+
|
2162
|
+
/**
|
2163
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2164
|
+
*/
|
2165
|
+
RequestId?: string
|
2166
|
+
}
|
2167
|
+
|
1953
2168
|
/**
|
1954
2169
|
* PauseServerless返回参数结构体
|
1955
2170
|
*/
|
@@ -1966,13 +2181,113 @@ export interface PauseServerlessResponse {
|
|
1966
2181
|
}
|
1967
2182
|
|
1968
2183
|
/**
|
1969
|
-
*
|
2184
|
+
* 实例参数详细描述
|
1970
2185
|
*/
|
1971
|
-
export interface
|
2186
|
+
export interface ParamDetail {
|
1972
2187
|
/**
|
1973
|
-
*
|
2188
|
+
* 参数名称
|
1974
2189
|
*/
|
1975
|
-
|
2190
|
+
ParamName: string
|
2191
|
+
|
2192
|
+
/**
|
2193
|
+
* 参数类型:integer,enum,float,string,func
|
2194
|
+
*/
|
2195
|
+
ParamType: string
|
2196
|
+
|
2197
|
+
/**
|
2198
|
+
* true-支持"func",false-不支持公式
|
2199
|
+
*/
|
2200
|
+
SupportFunc: boolean
|
2201
|
+
|
2202
|
+
/**
|
2203
|
+
* 默认值
|
2204
|
+
*/
|
2205
|
+
Default: string
|
2206
|
+
|
2207
|
+
/**
|
2208
|
+
* 参数描述
|
2209
|
+
*/
|
2210
|
+
Description: string
|
2211
|
+
|
2212
|
+
/**
|
2213
|
+
* 参数当前值
|
2214
|
+
*/
|
2215
|
+
CurrentValue: string
|
2216
|
+
|
2217
|
+
/**
|
2218
|
+
* 修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。
|
2219
|
+
*/
|
2220
|
+
NeedReboot: number
|
2221
|
+
|
2222
|
+
/**
|
2223
|
+
* 参数容许的最大值
|
2224
|
+
*/
|
2225
|
+
Max: string
|
2226
|
+
|
2227
|
+
/**
|
2228
|
+
* 参数容许的最小值
|
2229
|
+
*/
|
2230
|
+
Min: string
|
2231
|
+
|
2232
|
+
/**
|
2233
|
+
* 参数的可选枚举值。如果为非枚举值,则为空
|
2234
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2235
|
+
*/
|
2236
|
+
EnumValue: Array<string>
|
2237
|
+
|
2238
|
+
/**
|
2239
|
+
* 1:全局参数,0:非全局参数
|
2240
|
+
*/
|
2241
|
+
IsGlobal: number
|
2242
|
+
|
2243
|
+
/**
|
2244
|
+
* 匹配类型,multiVal
|
2245
|
+
*/
|
2246
|
+
MatchType: string
|
2247
|
+
|
2248
|
+
/**
|
2249
|
+
* 匹配目标值,当multiVal时,各个key用,分割
|
2250
|
+
*/
|
2251
|
+
MatchValue: string
|
2252
|
+
|
2253
|
+
/**
|
2254
|
+
* true-为公式,false-非公式
|
2255
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2256
|
+
*/
|
2257
|
+
IsFunc: boolean
|
2258
|
+
|
2259
|
+
/**
|
2260
|
+
* 参数设置为公式时,Func返回设置的公式内容
|
2261
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2262
|
+
*/
|
2263
|
+
Func: string
|
2264
|
+
|
2265
|
+
/**
|
2266
|
+
* 参数是否可修改
|
2267
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2268
|
+
*/
|
2269
|
+
ModifiableInfo: ModifiableInfo
|
2270
|
+
}
|
2271
|
+
|
2272
|
+
/**
|
2273
|
+
* DescribeAuditRuleWithInstanceIds返回参数结构体
|
2274
|
+
*/
|
2275
|
+
export interface DescribeAuditRuleWithInstanceIdsResponse {
|
2276
|
+
/**
|
2277
|
+
* 无
|
2278
|
+
*/
|
2279
|
+
TotalCount: number
|
2280
|
+
|
2281
|
+
/**
|
2282
|
+
* 实例审计规则信息。
|
2283
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2284
|
+
*/
|
2285
|
+
Items: Array<InstanceAuditRule>
|
2286
|
+
|
2287
|
+
/**
|
2288
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2289
|
+
*/
|
2290
|
+
RequestId?: string
|
1976
2291
|
}
|
1977
2292
|
|
1978
2293
|
/**
|
@@ -2119,20 +2434,29 @@ export interface DescribeBinlogDownloadUrlResponse {
|
|
2119
2434
|
}
|
2120
2435
|
|
2121
2436
|
/**
|
2122
|
-
*
|
2437
|
+
* ModifyClusterParam请求参数结构体
|
2123
2438
|
*/
|
2124
|
-
export interface
|
2439
|
+
export interface ModifyClusterParamRequest {
|
2125
2440
|
/**
|
2126
|
-
*
|
2441
|
+
* 集群ID
|
2127
2442
|
*/
|
2128
|
-
|
2443
|
+
ClusterId: string
|
2129
2444
|
|
2130
2445
|
/**
|
2131
|
-
|
2132
|
-
|
2133
|
-
|
2134
|
-
|
2446
|
+
* 要修改的参数列表。每一个元素是ParamName、CurrentValue和OldValue的组合。ParamName是参数名称,CurrentValue是当前值,OldValue是之前值且不做校验
|
2447
|
+
*/
|
2448
|
+
ParamList: Array<ParamItem>
|
2449
|
+
|
2450
|
+
/**
|
2451
|
+
* 维护期间执行-yes,立即执行-no
|
2452
|
+
*/
|
2453
|
+
IsInMaintainPeriod?: string
|
2454
|
+
}
|
2135
2455
|
|
2456
|
+
/**
|
2457
|
+
* DeleteAccounts返回参数结构体
|
2458
|
+
*/
|
2459
|
+
export interface DeleteAccountsResponse {
|
2136
2460
|
/**
|
2137
2461
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2138
2462
|
*/
|
@@ -2550,34 +2874,80 @@ pause
|
|
2550
2874
|
}
|
2551
2875
|
|
2552
2876
|
/**
|
2553
|
-
*
|
2877
|
+
* DescribeClusterPasswordComplexity返回参数结构体
|
2554
2878
|
*/
|
2555
|
-
export interface
|
2879
|
+
export interface DescribeClusterPasswordComplexityResponse {
|
2556
2880
|
/**
|
2557
|
-
|
2558
|
-
|
2559
|
-
|
2560
|
-
|
2881
|
+
* 数据字典参数
|
2882
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2883
|
+
*/
|
2884
|
+
ValidatePasswordDictionary: ParamInfo
|
2561
2885
|
|
2562
|
-
/**
|
2563
|
-
* ExportInstanceErrorLogs返回参数结构体
|
2564
|
-
*/
|
2565
|
-
export interface ExportInstanceErrorLogsResponse {
|
2566
2886
|
/**
|
2567
|
-
*
|
2887
|
+
* 密码长度
|
2568
2888
|
注意:此字段可能返回 null,表示取不到有效值。
|
2569
2889
|
*/
|
2570
|
-
|
2890
|
+
ValidatePasswordLength: ParamInfo
|
2571
2891
|
|
2572
2892
|
/**
|
2573
|
-
|
2574
|
-
|
2575
|
-
|
2576
|
-
|
2893
|
+
* 大小写敏感字符个数
|
2894
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2895
|
+
*/
|
2896
|
+
ValidatePasswordMixedCaseCount: ParamInfo
|
2577
2897
|
|
2578
|
-
/**
|
2579
|
-
|
2580
|
-
|
2898
|
+
/**
|
2899
|
+
* 数字个数
|
2900
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2901
|
+
*/
|
2902
|
+
ValidatePasswordNumberCount: ParamInfo
|
2903
|
+
|
2904
|
+
/**
|
2905
|
+
* 密码等级
|
2906
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2907
|
+
*/
|
2908
|
+
ValidatePasswordPolicy: ParamInfo
|
2909
|
+
|
2910
|
+
/**
|
2911
|
+
* 特殊字符个数
|
2912
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2913
|
+
*/
|
2914
|
+
ValidatePasswordSpecialCharCount: ParamInfo
|
2915
|
+
|
2916
|
+
/**
|
2917
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2918
|
+
*/
|
2919
|
+
RequestId?: string
|
2920
|
+
}
|
2921
|
+
|
2922
|
+
/**
|
2923
|
+
* DescribeAuditRuleWithInstanceIds请求参数结构体
|
2924
|
+
*/
|
2925
|
+
export interface DescribeAuditRuleWithInstanceIdsRequest {
|
2926
|
+
/**
|
2927
|
+
* 实例ID。目前仅支持单个实例的查询。
|
2928
|
+
*/
|
2929
|
+
InstanceIds: Array<string>
|
2930
|
+
}
|
2931
|
+
|
2932
|
+
/**
|
2933
|
+
* ExportInstanceErrorLogs返回参数结构体
|
2934
|
+
*/
|
2935
|
+
export interface ExportInstanceErrorLogsResponse {
|
2936
|
+
/**
|
2937
|
+
* 错误日志导出内容
|
2938
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2939
|
+
*/
|
2940
|
+
ErrorLogItems?: Array<ErrorLogItemExport>
|
2941
|
+
|
2942
|
+
/**
|
2943
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2944
|
+
*/
|
2945
|
+
RequestId?: string
|
2946
|
+
}
|
2947
|
+
|
2948
|
+
/**
|
2949
|
+
* 数据库表
|
2950
|
+
*/
|
2581
2951
|
export interface DbTable {
|
2582
2952
|
/**
|
2583
2953
|
* 数据库名称
|
@@ -2605,6 +2975,73 @@ export interface ModifyClusterSlaveZoneResponse {
|
|
2605
2975
|
RequestId?: string
|
2606
2976
|
}
|
2607
2977
|
|
2978
|
+
/**
|
2979
|
+
* 实例参数信息
|
2980
|
+
*/
|
2981
|
+
export interface ParamItemDetail {
|
2982
|
+
/**
|
2983
|
+
* 当前值
|
2984
|
+
*/
|
2985
|
+
CurrentValue: string
|
2986
|
+
|
2987
|
+
/**
|
2988
|
+
* 默认值
|
2989
|
+
*/
|
2990
|
+
Default: string
|
2991
|
+
|
2992
|
+
/**
|
2993
|
+
* 参数的可选枚举值。如果为非枚举值,则为空
|
2994
|
+
*/
|
2995
|
+
EnumValue: Array<string>
|
2996
|
+
|
2997
|
+
/**
|
2998
|
+
* 1:全局参数,0:非全局参数
|
2999
|
+
*/
|
3000
|
+
IsGlobal: number
|
3001
|
+
|
3002
|
+
/**
|
3003
|
+
* 最大值
|
3004
|
+
*/
|
3005
|
+
Max: string
|
3006
|
+
|
3007
|
+
/**
|
3008
|
+
* 最小值
|
3009
|
+
*/
|
3010
|
+
Min: string
|
3011
|
+
|
3012
|
+
/**
|
3013
|
+
* 修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。
|
3014
|
+
*/
|
3015
|
+
NeedReboot: number
|
3016
|
+
|
3017
|
+
/**
|
3018
|
+
* 参数名称
|
3019
|
+
*/
|
3020
|
+
ParamName: string
|
3021
|
+
|
3022
|
+
/**
|
3023
|
+
* 参数类型:integer,enum,float,string,func
|
3024
|
+
*/
|
3025
|
+
ParamType: string
|
3026
|
+
|
3027
|
+
/**
|
3028
|
+
* 参数描述
|
3029
|
+
*/
|
3030
|
+
Description: string
|
3031
|
+
|
3032
|
+
/**
|
3033
|
+
* 类型是否为公式
|
3034
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3035
|
+
*/
|
3036
|
+
IsFunc: boolean
|
3037
|
+
|
3038
|
+
/**
|
3039
|
+
* 参数配置公式
|
3040
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3041
|
+
*/
|
3042
|
+
Func: string
|
3043
|
+
}
|
3044
|
+
|
2608
3045
|
/**
|
2609
3046
|
* GrantAccountPrivileges请求参数结构体
|
2610
3047
|
*/
|
@@ -2660,6 +3097,27 @@ export interface BinlogItem {
|
|
2660
3097
|
BinlogId: number
|
2661
3098
|
}
|
2662
3099
|
|
3100
|
+
/**
|
3101
|
+
* 修改的实例参数信息
|
3102
|
+
*/
|
3103
|
+
export interface ModifyParamItem {
|
3104
|
+
/**
|
3105
|
+
* 参数名
|
3106
|
+
*/
|
3107
|
+
ParamName: string
|
3108
|
+
|
3109
|
+
/**
|
3110
|
+
* 参数当前值
|
3111
|
+
*/
|
3112
|
+
CurrentValue: string
|
3113
|
+
|
3114
|
+
/**
|
3115
|
+
* 参数旧值(只在出参时有用)
|
3116
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3117
|
+
*/
|
3118
|
+
OldValue?: string
|
3119
|
+
}
|
3120
|
+
|
2663
3121
|
/**
|
2664
3122
|
* ModifyAuditService请求参数结构体
|
2665
3123
|
*/
|
@@ -2961,6 +3419,36 @@ export interface DescribeClustersResponse {
|
|
2961
3419
|
RequestId?: string
|
2962
3420
|
}
|
2963
3421
|
|
3422
|
+
/**
|
3423
|
+
* OpenAuditService请求参数结构体
|
3424
|
+
*/
|
3425
|
+
export interface OpenAuditServiceRequest {
|
3426
|
+
/**
|
3427
|
+
* 实例ID。
|
3428
|
+
*/
|
3429
|
+
InstanceId: string
|
3430
|
+
|
3431
|
+
/**
|
3432
|
+
* 日志保留时长。
|
3433
|
+
*/
|
3434
|
+
LogExpireDay: number
|
3435
|
+
|
3436
|
+
/**
|
3437
|
+
* 高频日志保留时长。
|
3438
|
+
*/
|
3439
|
+
HighLogExpireDay?: number
|
3440
|
+
|
3441
|
+
/**
|
3442
|
+
* 审计规则。同RuleTemplateIds都不填是全审计。
|
3443
|
+
*/
|
3444
|
+
AuditRuleFilters?: Array<AuditRuleFilters>
|
3445
|
+
|
3446
|
+
/**
|
3447
|
+
* 规则模版ID。同AuditRuleFilters都不填是全审计。
|
3448
|
+
*/
|
3449
|
+
RuleTemplateIds?: Array<string>
|
3450
|
+
}
|
3451
|
+
|
2964
3452
|
/**
|
2965
3453
|
* 查询过滤器
|
2966
3454
|
*/
|
@@ -3029,11 +3517,26 @@ export interface DescribeBackupConfigResponse {
|
|
3029
3517
|
}
|
3030
3518
|
|
3031
3519
|
/**
|
3032
|
-
*
|
3520
|
+
* ModifyBinlogSaveDays请求参数结构体
|
3033
3521
|
*/
|
3034
|
-
export interface
|
3522
|
+
export interface ModifyBinlogSaveDaysRequest {
|
3035
3523
|
/**
|
3036
|
-
*
|
3524
|
+
* 集群ID
|
3525
|
+
*/
|
3526
|
+
ClusterId: string
|
3527
|
+
|
3528
|
+
/**
|
3529
|
+
* Binlog保留天数
|
3530
|
+
*/
|
3531
|
+
BinlogSaveDays: number
|
3532
|
+
}
|
3533
|
+
|
3534
|
+
/**
|
3535
|
+
* ResumeServerless返回参数结构体
|
3536
|
+
*/
|
3537
|
+
export interface ResumeServerlessResponse {
|
3538
|
+
/**
|
3539
|
+
* 异步流程ID
|
3037
3540
|
*/
|
3038
3541
|
FlowId: number
|
3039
3542
|
|
@@ -3143,39 +3646,28 @@ export interface Addr {
|
|
3143
3646
|
}
|
3144
3647
|
|
3145
3648
|
/**
|
3146
|
-
*
|
3649
|
+
* PauseServerless请求参数结构体
|
3147
3650
|
*/
|
3148
|
-
export interface
|
3149
|
-
/**
|
3150
|
-
* 参数模板ID
|
3151
|
-
*/
|
3152
|
-
Id: number
|
3153
|
-
|
3154
|
-
/**
|
3155
|
-
* 参数模板名称
|
3156
|
-
*/
|
3157
|
-
TemplateName: string
|
3158
|
-
|
3651
|
+
export interface PauseServerlessRequest {
|
3159
3652
|
/**
|
3160
|
-
*
|
3653
|
+
* 集群ID
|
3161
3654
|
*/
|
3162
|
-
|
3655
|
+
ClusterId: string
|
3163
3656
|
|
3164
3657
|
/**
|
3165
|
-
*
|
3658
|
+
* 是否强制暂停,忽略当前的用户链接 0:不强制 1:强制, 默认为1
|
3166
3659
|
*/
|
3167
|
-
|
3660
|
+
ForcePause?: number
|
3661
|
+
}
|
3168
3662
|
|
3663
|
+
/**
|
3664
|
+
* ModifyParamTemplate返回参数结构体
|
3665
|
+
*/
|
3666
|
+
export interface ModifyParamTemplateResponse {
|
3169
3667
|
/**
|
3170
|
-
*
|
3668
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3171
3669
|
*/
|
3172
|
-
|
3173
|
-
|
3174
|
-
/**
|
3175
|
-
* 参数模板详情
|
3176
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3177
|
-
*/
|
3178
|
-
ParamInfoSet: Array<TemplateParamInfo>
|
3670
|
+
RequestId?: string
|
3179
3671
|
}
|
3180
3672
|
|
3181
3673
|
/**
|
@@ -3343,6 +3835,79 @@ export interface SecurityGroup {
|
|
3343
3835
|
SecurityGroupRemark: string
|
3344
3836
|
}
|
3345
3837
|
|
3838
|
+
/**
|
3839
|
+
* 数据库详细信息
|
3840
|
+
*/
|
3841
|
+
export interface DbInfo {
|
3842
|
+
/**
|
3843
|
+
* 数据库名称
|
3844
|
+
*/
|
3845
|
+
DbName: string
|
3846
|
+
|
3847
|
+
/**
|
3848
|
+
* 字符集类型
|
3849
|
+
*/
|
3850
|
+
CharacterSet: string
|
3851
|
+
|
3852
|
+
/**
|
3853
|
+
* 数据库状态
|
3854
|
+
*/
|
3855
|
+
Status: string
|
3856
|
+
|
3857
|
+
/**
|
3858
|
+
* 拍讯规则
|
3859
|
+
*/
|
3860
|
+
CollateRule: string
|
3861
|
+
|
3862
|
+
/**
|
3863
|
+
* 数据库备注
|
3864
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3865
|
+
*/
|
3866
|
+
Description: string
|
3867
|
+
|
3868
|
+
/**
|
3869
|
+
* 用户权限
|
3870
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3871
|
+
*/
|
3872
|
+
UserHostPrivileges: Array<UserHostPrivilege>
|
3873
|
+
|
3874
|
+
/**
|
3875
|
+
* 数据库ID
|
3876
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3877
|
+
*/
|
3878
|
+
DbId: number
|
3879
|
+
|
3880
|
+
/**
|
3881
|
+
* 创建时间
|
3882
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3883
|
+
*/
|
3884
|
+
CreateTime: string
|
3885
|
+
|
3886
|
+
/**
|
3887
|
+
* 更新时间
|
3888
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3889
|
+
*/
|
3890
|
+
UpdateTime: string
|
3891
|
+
|
3892
|
+
/**
|
3893
|
+
* 用户appid
|
3894
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3895
|
+
*/
|
3896
|
+
AppId: number
|
3897
|
+
|
3898
|
+
/**
|
3899
|
+
* 用户Uin
|
3900
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3901
|
+
*/
|
3902
|
+
Uin: string
|
3903
|
+
|
3904
|
+
/**
|
3905
|
+
* 集群Id
|
3906
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3907
|
+
*/
|
3908
|
+
ClusterId: string
|
3909
|
+
}
|
3910
|
+
|
3346
3911
|
/**
|
3347
3912
|
* DescribeBackupDownloadUrl请求参数结构体
|
3348
3913
|
*/
|
@@ -3392,46 +3957,151 @@ export interface RollbackTimeRange {
|
|
3392
3957
|
/**
|
3393
3958
|
* OfflineInstance请求参数结构体
|
3394
3959
|
*/
|
3395
|
-
export interface OfflineInstanceRequest {
|
3960
|
+
export interface OfflineInstanceRequest {
|
3961
|
+
/**
|
3962
|
+
* 集群ID
|
3963
|
+
*/
|
3964
|
+
ClusterId: string
|
3965
|
+
|
3966
|
+
/**
|
3967
|
+
* 实例ID数组
|
3968
|
+
*/
|
3969
|
+
InstanceIdList: Array<string>
|
3970
|
+
}
|
3971
|
+
|
3972
|
+
/**
|
3973
|
+
* ModifyClusterPasswordComplexity请求参数结构体
|
3974
|
+
*/
|
3975
|
+
export interface ModifyClusterPasswordComplexityRequest {
|
3976
|
+
/**
|
3977
|
+
* 集群id
|
3978
|
+
*/
|
3979
|
+
ClusterId: string
|
3980
|
+
|
3981
|
+
/**
|
3982
|
+
* 密码长度
|
3983
|
+
*/
|
3984
|
+
ValidatePasswordLength: number
|
3985
|
+
|
3986
|
+
/**
|
3987
|
+
* 大小写字符个数
|
3988
|
+
*/
|
3989
|
+
ValidatePasswordMixedCaseCount: number
|
3990
|
+
|
3991
|
+
/**
|
3992
|
+
* 特殊字符个数
|
3993
|
+
*/
|
3994
|
+
ValidatePasswordSpecialCharCount: number
|
3995
|
+
|
3996
|
+
/**
|
3997
|
+
* 数字个数
|
3998
|
+
*/
|
3999
|
+
ValidatePasswordNumberCount: number
|
4000
|
+
|
4001
|
+
/**
|
4002
|
+
* 密码强度("MEDIUM", "STRONG")
|
4003
|
+
*/
|
4004
|
+
ValidatePasswordPolicy: string
|
4005
|
+
|
4006
|
+
/**
|
4007
|
+
* 数据字典
|
4008
|
+
*/
|
4009
|
+
ValidatePasswordDictionary?: Array<string>
|
4010
|
+
}
|
4011
|
+
|
4012
|
+
/**
|
4013
|
+
* RevokeAccountPrivileges请求参数结构体
|
4014
|
+
*/
|
4015
|
+
export interface RevokeAccountPrivilegesRequest {
|
4016
|
+
/**
|
4017
|
+
* 集群id
|
4018
|
+
*/
|
4019
|
+
ClusterId: string
|
4020
|
+
|
4021
|
+
/**
|
4022
|
+
* 账号信息
|
4023
|
+
*/
|
4024
|
+
Account: InputAccount
|
4025
|
+
|
4026
|
+
/**
|
4027
|
+
* 数据库表权限数组
|
4028
|
+
*/
|
4029
|
+
DbTablePrivileges: Array<string>
|
4030
|
+
|
4031
|
+
/**
|
4032
|
+
* 数据库表信息
|
4033
|
+
*/
|
4034
|
+
DbTables: Array<DbTable>
|
4035
|
+
}
|
4036
|
+
|
4037
|
+
/**
|
4038
|
+
* OpenWan请求参数结构体
|
4039
|
+
*/
|
4040
|
+
export interface OpenWanRequest {
|
4041
|
+
/**
|
4042
|
+
* 实例组id
|
4043
|
+
*/
|
4044
|
+
InstanceGrpId: string
|
4045
|
+
}
|
4046
|
+
|
4047
|
+
/**
|
4048
|
+
* OpenClusterPasswordComplexity返回参数结构体
|
4049
|
+
*/
|
4050
|
+
export interface OpenClusterPasswordComplexityResponse {
|
4051
|
+
/**
|
4052
|
+
* 任务流ID
|
4053
|
+
*/
|
4054
|
+
FlowId: number
|
4055
|
+
|
4056
|
+
/**
|
4057
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4058
|
+
*/
|
4059
|
+
RequestId?: string
|
4060
|
+
}
|
4061
|
+
|
4062
|
+
/**
|
4063
|
+
* DescribeInstanceDetail返回参数结构体
|
4064
|
+
*/
|
4065
|
+
export interface DescribeInstanceDetailResponse {
|
3396
4066
|
/**
|
3397
|
-
*
|
4067
|
+
* 实例详情
|
3398
4068
|
*/
|
3399
|
-
|
4069
|
+
Detail: CynosdbInstanceDetail
|
3400
4070
|
|
3401
4071
|
/**
|
3402
|
-
*
|
4072
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3403
4073
|
*/
|
3404
|
-
|
4074
|
+
RequestId?: string
|
3405
4075
|
}
|
3406
4076
|
|
3407
4077
|
/**
|
3408
|
-
*
|
4078
|
+
* OfflineInstance返回参数结构体
|
3409
4079
|
*/
|
3410
|
-
export interface
|
3411
|
-
/**
|
3412
|
-
* 实例ID。
|
3413
|
-
*/
|
3414
|
-
InstanceId: string
|
3415
|
-
|
4080
|
+
export interface OfflineInstanceResponse {
|
3416
4081
|
/**
|
3417
|
-
*
|
4082
|
+
* 任务流ID
|
3418
4083
|
*/
|
3419
|
-
|
4084
|
+
FlowId: number
|
3420
4085
|
|
3421
4086
|
/**
|
3422
|
-
*
|
4087
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3423
4088
|
*/
|
3424
|
-
|
4089
|
+
RequestId?: string
|
4090
|
+
}
|
3425
4091
|
|
4092
|
+
/**
|
4093
|
+
* ModifyInstanceParam返回参数结构体
|
4094
|
+
*/
|
4095
|
+
export interface ModifyInstanceParamResponse {
|
3426
4096
|
/**
|
3427
|
-
*
|
4097
|
+
* 任务ID
|
3428
4098
|
*/
|
3429
|
-
|
4099
|
+
FlowId: number
|
3430
4100
|
|
3431
4101
|
/**
|
3432
|
-
*
|
4102
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3433
4103
|
*/
|
3434
|
-
|
4104
|
+
RequestId?: string
|
3435
4105
|
}
|
3436
4106
|
|
3437
4107
|
/**
|
@@ -3550,6 +4220,21 @@ export interface NetAddr {
|
|
3550
4220
|
InstanceGroupId?: string
|
3551
4221
|
}
|
3552
4222
|
|
4223
|
+
/**
|
4224
|
+
* CopyClusterPasswordComplexity请求参数结构体
|
4225
|
+
*/
|
4226
|
+
export interface CopyClusterPasswordComplexityRequest {
|
4227
|
+
/**
|
4228
|
+
* 复制集群ID数组
|
4229
|
+
*/
|
4230
|
+
ClusterIds: Array<string>
|
4231
|
+
|
4232
|
+
/**
|
4233
|
+
* 集群id
|
4234
|
+
*/
|
4235
|
+
SourceClusterId: string
|
4236
|
+
}
|
4237
|
+
|
3553
4238
|
/**
|
3554
4239
|
* 参数模板详情
|
3555
4240
|
*/
|
@@ -3653,6 +4338,38 @@ export interface CreateBackupResponse {
|
|
3653
4338
|
RequestId?: string
|
3654
4339
|
}
|
3655
4340
|
|
4341
|
+
/**
|
4342
|
+
* 用户主机权限
|
4343
|
+
*/
|
4344
|
+
export interface UserHostPrivilege {
|
4345
|
+
/**
|
4346
|
+
* 授权用户
|
4347
|
+
*/
|
4348
|
+
DbUserName: string
|
4349
|
+
|
4350
|
+
/**
|
4351
|
+
* 客户端ip
|
4352
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4353
|
+
*/
|
4354
|
+
DbHost: string
|
4355
|
+
|
4356
|
+
/**
|
4357
|
+
* 用户权限
|
4358
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4359
|
+
*/
|
4360
|
+
DbPrivilege: string
|
4361
|
+
}
|
4362
|
+
|
4363
|
+
/**
|
4364
|
+
* ModifyAccountPrivileges返回参数结构体
|
4365
|
+
*/
|
4366
|
+
export interface ModifyAccountPrivilegesResponse {
|
4367
|
+
/**
|
4368
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4369
|
+
*/
|
4370
|
+
RequestId?: string
|
4371
|
+
}
|
4372
|
+
|
3656
4373
|
/**
|
3657
4374
|
* DescribeRollbackTimeValidity返回参数结构体
|
3658
4375
|
*/
|
@@ -3734,6 +4451,16 @@ export interface DescribeInstanceSlowQueriesResponse {
|
|
3734
4451
|
RequestId?: string
|
3735
4452
|
}
|
3736
4453
|
|
4454
|
+
/**
|
4455
|
+
* ModifyAccountHost返回参数结构体
|
4456
|
+
*/
|
4457
|
+
export interface ModifyAccountHostResponse {
|
4458
|
+
/**
|
4459
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4460
|
+
*/
|
4461
|
+
RequestId?: string
|
4462
|
+
}
|
4463
|
+
|
3737
4464
|
/**
|
3738
4465
|
* DescribeInstances请求参数结构体
|
3739
4466
|
*/
|
@@ -3790,6 +4517,66 @@ offlined 已下线
|
|
3790
4517
|
InstanceIds?: Array<string>
|
3791
4518
|
}
|
3792
4519
|
|
4520
|
+
/**
|
4521
|
+
* OpenReadOnlyInstanceExclusiveAccess请求参数结构体
|
4522
|
+
*/
|
4523
|
+
export interface OpenReadOnlyInstanceExclusiveAccessRequest {
|
4524
|
+
/**
|
4525
|
+
* 集群ID
|
4526
|
+
*/
|
4527
|
+
ClusterId: string
|
4528
|
+
|
4529
|
+
/**
|
4530
|
+
* 需要开通独有访问的只读实例ID
|
4531
|
+
*/
|
4532
|
+
InstanceId: string
|
4533
|
+
|
4534
|
+
/**
|
4535
|
+
* 指定的vpc ID
|
4536
|
+
*/
|
4537
|
+
VpcId: string
|
4538
|
+
|
4539
|
+
/**
|
4540
|
+
* 指定的子网ID
|
4541
|
+
*/
|
4542
|
+
SubnetId: string
|
4543
|
+
|
4544
|
+
/**
|
4545
|
+
* 端口
|
4546
|
+
*/
|
4547
|
+
Port: number
|
4548
|
+
|
4549
|
+
/**
|
4550
|
+
* 安全组
|
4551
|
+
*/
|
4552
|
+
SecurityGroupIds?: Array<string>
|
4553
|
+
}
|
4554
|
+
|
4555
|
+
/**
|
4556
|
+
* CloseClusterPasswordComplexity返回参数结构体
|
4557
|
+
*/
|
4558
|
+
export interface CloseClusterPasswordComplexityResponse {
|
4559
|
+
/**
|
4560
|
+
* 任务流ID
|
4561
|
+
*/
|
4562
|
+
FlowId: number
|
4563
|
+
|
4564
|
+
/**
|
4565
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4566
|
+
*/
|
4567
|
+
RequestId?: string
|
4568
|
+
}
|
4569
|
+
|
4570
|
+
/**
|
4571
|
+
* DescribeMaintainPeriod请求参数结构体
|
4572
|
+
*/
|
4573
|
+
export interface DescribeMaintainPeriodRequest {
|
4574
|
+
/**
|
4575
|
+
* 实例ID
|
4576
|
+
*/
|
4577
|
+
InstanceId: string
|
4578
|
+
}
|
4579
|
+
|
3793
4580
|
/**
|
3794
4581
|
* DescribeBackupDownloadUrl返回参数结构体
|
3795
4582
|
*/
|
@@ -3870,6 +4657,46 @@ export interface InquirePriceCreateRequest {
|
|
3870
4657
|
TimeUnit?: string
|
3871
4658
|
}
|
3872
4659
|
|
4660
|
+
/**
|
4661
|
+
* OpenClusterPasswordComplexity请求参数结构体
|
4662
|
+
*/
|
4663
|
+
export interface OpenClusterPasswordComplexityRequest {
|
4664
|
+
/**
|
4665
|
+
* 集群id
|
4666
|
+
*/
|
4667
|
+
ClusterId: string
|
4668
|
+
|
4669
|
+
/**
|
4670
|
+
* 密码长度
|
4671
|
+
*/
|
4672
|
+
ValidatePasswordLength: number
|
4673
|
+
|
4674
|
+
/**
|
4675
|
+
* 大小写字符个数
|
4676
|
+
*/
|
4677
|
+
ValidatePasswordMixedCaseCount: number
|
4678
|
+
|
4679
|
+
/**
|
4680
|
+
* 特殊字符个数
|
4681
|
+
*/
|
4682
|
+
ValidatePasswordSpecialCharCount: number
|
4683
|
+
|
4684
|
+
/**
|
4685
|
+
* 数字个数
|
4686
|
+
*/
|
4687
|
+
ValidatePasswordNumberCount: number
|
4688
|
+
|
4689
|
+
/**
|
4690
|
+
* 密码强度("MEDIUM", "STRONG")
|
4691
|
+
*/
|
4692
|
+
ValidatePasswordPolicy: string
|
4693
|
+
|
4694
|
+
/**
|
4695
|
+
* 数据字典
|
4696
|
+
*/
|
4697
|
+
ValidatePasswordDictionary?: Array<string>
|
4698
|
+
}
|
4699
|
+
|
3873
4700
|
/**
|
3874
4701
|
* CreateAuditRuleTemplate请求参数结构体
|
3875
4702
|
*/
|
@@ -3976,6 +4803,31 @@ export interface ExportInstanceSlowQueriesRequest {
|
|
3976
4803
|
FileType?: string
|
3977
4804
|
}
|
3978
4805
|
|
4806
|
+
/**
|
4807
|
+
* ModifyAccountDescription请求参数结构体
|
4808
|
+
*/
|
4809
|
+
export interface ModifyAccountDescriptionRequest {
|
4810
|
+
/**
|
4811
|
+
* 数据库账号名
|
4812
|
+
*/
|
4813
|
+
AccountName: string
|
4814
|
+
|
4815
|
+
/**
|
4816
|
+
* 数据库账号描述信息
|
4817
|
+
*/
|
4818
|
+
Description: string
|
4819
|
+
|
4820
|
+
/**
|
4821
|
+
* 集群ID
|
4822
|
+
*/
|
4823
|
+
ClusterId: string
|
4824
|
+
|
4825
|
+
/**
|
4826
|
+
* 主机,默认为"%"
|
4827
|
+
*/
|
4828
|
+
Host?: string
|
4829
|
+
}
|
4830
|
+
|
3979
4831
|
/**
|
3980
4832
|
* 修改参数时,传入参数描述
|
3981
4833
|
*/
|
@@ -4379,6 +5231,31 @@ export interface SaleZone {
|
|
4379
5231
|
IsWholeRdmaZone?: string
|
4380
5232
|
}
|
4381
5233
|
|
5234
|
+
/**
|
5235
|
+
* ModifyParamTemplate请求参数结构体
|
5236
|
+
*/
|
5237
|
+
export interface ModifyParamTemplateRequest {
|
5238
|
+
/**
|
5239
|
+
* 模版ID
|
5240
|
+
*/
|
5241
|
+
TemplateId: number
|
5242
|
+
|
5243
|
+
/**
|
5244
|
+
* 模版名
|
5245
|
+
*/
|
5246
|
+
TemplateName?: string
|
5247
|
+
|
5248
|
+
/**
|
5249
|
+
* 模版描述
|
5250
|
+
*/
|
5251
|
+
TemplateDescription?: string
|
5252
|
+
|
5253
|
+
/**
|
5254
|
+
* 参数列表
|
5255
|
+
*/
|
5256
|
+
ParamList?: Array<ModifyParamItem>
|
5257
|
+
}
|
5258
|
+
|
4382
5259
|
/**
|
4383
5260
|
* 任务信息
|
4384
5261
|
*/
|
@@ -4455,43 +5332,68 @@ export interface SwitchProxyVpcResponse {
|
|
4455
5332
|
}
|
4456
5333
|
|
4457
5334
|
/**
|
4458
|
-
*
|
5335
|
+
* DescribeParamTemplateDetail请求参数结构体
|
4459
5336
|
*/
|
4460
|
-
export interface
|
5337
|
+
export interface DescribeParamTemplateDetailRequest {
|
5338
|
+
/**
|
5339
|
+
* 参数模版ID
|
5340
|
+
*/
|
5341
|
+
TemplateId: number
|
5342
|
+
}
|
5343
|
+
|
5344
|
+
/**
|
5345
|
+
* ModifyAccountHost请求参数结构体
|
5346
|
+
*/
|
5347
|
+
export interface ModifyAccountHostRequest {
|
4461
5348
|
/**
|
4462
5349
|
* 集群id
|
4463
5350
|
*/
|
4464
5351
|
ClusterId: string
|
4465
5352
|
|
5353
|
+
/**
|
5354
|
+
* 新主机
|
5355
|
+
*/
|
5356
|
+
NewHost: string
|
5357
|
+
|
4466
5358
|
/**
|
4467
5359
|
* 账号信息
|
4468
5360
|
*/
|
4469
5361
|
Account: InputAccount
|
5362
|
+
}
|
4470
5363
|
|
5364
|
+
/**
|
5365
|
+
* CreateParamTemplate请求参数结构体
|
5366
|
+
*/
|
5367
|
+
export interface CreateParamTemplateRequest {
|
4471
5368
|
/**
|
4472
|
-
*
|
5369
|
+
* 模版名称
|
4473
5370
|
*/
|
4474
|
-
|
5371
|
+
TemplateName: string
|
4475
5372
|
|
4476
5373
|
/**
|
4477
|
-
*
|
5374
|
+
* mysql版本号
|
4478
5375
|
*/
|
4479
|
-
|
4480
|
-
}
|
5376
|
+
EngineVersion: string
|
4481
5377
|
|
4482
|
-
/**
|
4483
|
-
* ResumeServerless返回参数结构体
|
4484
|
-
*/
|
4485
|
-
export interface ResumeServerlessResponse {
|
4486
5378
|
/**
|
4487
|
-
*
|
5379
|
+
* 模版描述
|
4488
5380
|
*/
|
4489
|
-
|
5381
|
+
TemplateDescription?: string
|
4490
5382
|
|
4491
5383
|
/**
|
4492
|
-
*
|
5384
|
+
* 可选参数,需要复制的模版ID
|
4493
5385
|
*/
|
4494
|
-
|
5386
|
+
TemplateId?: number
|
5387
|
+
|
5388
|
+
/**
|
5389
|
+
* 数据库类型,可选值:NORMAL(默认值),SERVERLESS
|
5390
|
+
*/
|
5391
|
+
DbMode?: string
|
5392
|
+
|
5393
|
+
/**
|
5394
|
+
* 参数列表
|
5395
|
+
*/
|
5396
|
+
ParamList?: Array<ParamItem>
|
4495
5397
|
}
|
4496
5398
|
|
4497
5399
|
/**
|
@@ -4586,6 +5488,16 @@ export interface DescribeFlowRequest {
|
|
4586
5488
|
FlowId: number
|
4587
5489
|
}
|
4588
5490
|
|
5491
|
+
/**
|
5492
|
+
* RestartInstance请求参数结构体
|
5493
|
+
*/
|
5494
|
+
export interface RestartInstanceRequest {
|
5495
|
+
/**
|
5496
|
+
* 实例id
|
5497
|
+
*/
|
5498
|
+
InstanceId: string
|
5499
|
+
}
|
5500
|
+
|
4589
5501
|
/**
|
4590
5502
|
* 审计日志文件
|
4591
5503
|
*/
|
@@ -4628,38 +5540,33 @@ export interface AuditLogFile {
|
|
4628
5540
|
}
|
4629
5541
|
|
4630
5542
|
/**
|
4631
|
-
*
|
5543
|
+
* ModifyAccountPrivileges请求参数结构体
|
4632
5544
|
*/
|
4633
|
-
export interface
|
5545
|
+
export interface ModifyAccountPrivilegesRequest {
|
4634
5546
|
/**
|
4635
|
-
* 集群
|
4636
|
-
*/
|
4637
|
-
ClusterId: string
|
4638
|
-
|
4639
|
-
/**
|
4640
|
-
* 需要开通独有访问的只读实例ID
|
5547
|
+
* 集群id
|
4641
5548
|
*/
|
4642
|
-
|
5549
|
+
ClusterId: string
|
4643
5550
|
|
4644
5551
|
/**
|
4645
|
-
*
|
5552
|
+
* 账号信息
|
4646
5553
|
*/
|
4647
|
-
|
5554
|
+
Account: InputAccount
|
4648
5555
|
|
4649
5556
|
/**
|
4650
|
-
*
|
5557
|
+
* 全局权限数组
|
4651
5558
|
*/
|
4652
|
-
|
5559
|
+
GlobalPrivileges?: Array<string>
|
4653
5560
|
|
4654
5561
|
/**
|
4655
|
-
*
|
5562
|
+
* 数据库权限数组
|
4656
5563
|
*/
|
4657
|
-
|
5564
|
+
DatabasePrivileges?: Array<DatabasePrivileges>
|
4658
5565
|
|
4659
5566
|
/**
|
4660
|
-
*
|
5567
|
+
* 表权限数组
|
4661
5568
|
*/
|
4662
|
-
|
5569
|
+
TablePrivileges?: Array<TablePrivileges>
|
4663
5570
|
}
|
4664
5571
|
|
4665
5572
|
/**
|
@@ -4727,6 +5634,16 @@ export interface CreateBackupRequest {
|
|
4727
5634
|
BackupName?: string
|
4728
5635
|
}
|
4729
5636
|
|
5637
|
+
/**
|
5638
|
+
* CreateClusterDatabase返回参数结构体
|
5639
|
+
*/
|
5640
|
+
export interface CreateClusterDatabaseResponse {
|
5641
|
+
/**
|
5642
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5643
|
+
*/
|
5644
|
+
RequestId?: string
|
5645
|
+
}
|
5646
|
+
|
4730
5647
|
/**
|
4731
5648
|
* DescribeClusterParamLogs请求参数结构体
|
4732
5649
|
*/
|
@@ -4793,6 +5710,21 @@ export interface Module {
|
|
4793
5710
|
ModuleName: string
|
4794
5711
|
}
|
4795
5712
|
|
5713
|
+
/**
|
5714
|
+
* 回档数据库及表
|
5715
|
+
*/
|
5716
|
+
export interface RollbackTable {
|
5717
|
+
/**
|
5718
|
+
* 数据库名称
|
5719
|
+
*/
|
5720
|
+
Database: string
|
5721
|
+
|
5722
|
+
/**
|
5723
|
+
* 数据库表
|
5724
|
+
*/
|
5725
|
+
Tables: Array<RollbackTableInfo>
|
5726
|
+
}
|
5727
|
+
|
4796
5728
|
/**
|
4797
5729
|
* DescribeMaintainPeriod返回参数结构体
|
4798
5730
|
*/
|
@@ -4993,6 +5925,16 @@ export interface ActivateInstanceResponse {
|
|
4993
5925
|
RequestId?: string
|
4994
5926
|
}
|
4995
5927
|
|
5928
|
+
/**
|
5929
|
+
* ModifyAccountDescription返回参数结构体
|
5930
|
+
*/
|
5931
|
+
export interface ModifyAccountDescriptionResponse {
|
5932
|
+
/**
|
5933
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5934
|
+
*/
|
5935
|
+
RequestId?: string
|
5936
|
+
}
|
5937
|
+
|
4996
5938
|
/**
|
4997
5939
|
* DescribeRollbackTimeValidity请求参数结构体
|
4998
5940
|
*/
|
@@ -5152,6 +6094,36 @@ export interface AddInstancesRequest {
|
|
5152
6094
|
SecurityGroupIds?: Array<string>
|
5153
6095
|
}
|
5154
6096
|
|
6097
|
+
/**
|
6098
|
+
* ModifyClusterDatabase请求参数结构体
|
6099
|
+
*/
|
6100
|
+
export interface ModifyClusterDatabaseRequest {
|
6101
|
+
/**
|
6102
|
+
* 集群ID
|
6103
|
+
*/
|
6104
|
+
ClusterId: string
|
6105
|
+
|
6106
|
+
/**
|
6107
|
+
* 数据库名
|
6108
|
+
*/
|
6109
|
+
DbName: string
|
6110
|
+
|
6111
|
+
/**
|
6112
|
+
* 新授权用户主机权限
|
6113
|
+
*/
|
6114
|
+
NewUserHostPrivileges?: Array<UserHostPrivilege>
|
6115
|
+
|
6116
|
+
/**
|
6117
|
+
* 备注
|
6118
|
+
*/
|
6119
|
+
Description?: string
|
6120
|
+
|
6121
|
+
/**
|
6122
|
+
* 历史授权用户主机权限
|
6123
|
+
*/
|
6124
|
+
OldUserHostPrivileges?: Array<UserHostPrivilege>
|
6125
|
+
}
|
6126
|
+
|
5155
6127
|
/**
|
5156
6128
|
* InquirePriceCreate返回参数结构体
|
5157
6129
|
*/
|
@@ -5511,6 +6483,26 @@ export interface RuleFilters {
|
|
5511
6483
|
Value: Array<string>
|
5512
6484
|
}
|
5513
6485
|
|
6486
|
+
/**
|
6487
|
+
* UpgradeClusterVersion请求参数结构体
|
6488
|
+
*/
|
6489
|
+
export interface UpgradeClusterVersionRequest {
|
6490
|
+
/**
|
6491
|
+
* 集群id
|
6492
|
+
*/
|
6493
|
+
ClusterId: string
|
6494
|
+
|
6495
|
+
/**
|
6496
|
+
* 内核版本
|
6497
|
+
*/
|
6498
|
+
CynosVersion: string
|
6499
|
+
|
6500
|
+
/**
|
6501
|
+
* 升级时间类型,可选:upgradeImmediate,upgradeInMaintain
|
6502
|
+
*/
|
6503
|
+
UpgradeType: string
|
6504
|
+
}
|
6505
|
+
|
5514
6506
|
/**
|
5515
6507
|
* ExportInstanceSlowQueries返回参数结构体
|
5516
6508
|
*/
|
@@ -5526,6 +6518,16 @@ export interface ExportInstanceSlowQueriesResponse {
|
|
5526
6518
|
RequestId?: string
|
5527
6519
|
}
|
5528
6520
|
|
6521
|
+
/**
|
6522
|
+
* DeleteClusterDatabase返回参数结构体
|
6523
|
+
*/
|
6524
|
+
export interface DeleteClusterDatabaseResponse {
|
6525
|
+
/**
|
6526
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6527
|
+
*/
|
6528
|
+
RequestId?: string
|
6529
|
+
}
|
6530
|
+
|
5529
6531
|
/**
|
5530
6532
|
* 集群详情详细信息
|
5531
6533
|
*/
|
@@ -5863,19 +6865,34 @@ export interface DescribeInstanceErrorLogsRequest {
|
|
5863
6865
|
}
|
5864
6866
|
|
5865
6867
|
/**
|
5866
|
-
*
|
6868
|
+
* DeleteClusterDatabase请求参数结构体
|
5867
6869
|
*/
|
5868
|
-
export interface
|
6870
|
+
export interface DeleteClusterDatabaseRequest {
|
5869
6871
|
/**
|
5870
|
-
*
|
6872
|
+
* 集群ID
|
5871
6873
|
*/
|
5872
|
-
|
6874
|
+
ClusterId: string
|
6875
|
+
|
6876
|
+
/**
|
6877
|
+
* 数据库名
|
6878
|
+
*/
|
6879
|
+
DbNames: Array<string>
|
5873
6880
|
}
|
5874
6881
|
|
5875
6882
|
/**
|
5876
|
-
*
|
6883
|
+
* 参数是否可修改的详细信息
|
5877
6884
|
*/
|
5878
|
-
export
|
6885
|
+
export type ModifiableInfo = null
|
6886
|
+
|
6887
|
+
/**
|
6888
|
+
* DescribeInstanceParams返回参数结构体
|
6889
|
+
*/
|
6890
|
+
export interface DescribeInstanceParamsResponse {
|
6891
|
+
/**
|
6892
|
+
* 实例参数列表
|
6893
|
+
*/
|
6894
|
+
Items: Array<InstanceParamItem>
|
6895
|
+
|
5879
6896
|
/**
|
5880
6897
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5881
6898
|
*/
|
@@ -5937,6 +6954,21 @@ export interface ModifyBackupNameRequest {
|
|
5937
6954
|
BackupName: string
|
5938
6955
|
}
|
5939
6956
|
|
6957
|
+
/**
|
6958
|
+
* DeleteAccounts请求参数结构体
|
6959
|
+
*/
|
6960
|
+
export interface DeleteAccountsRequest {
|
6961
|
+
/**
|
6962
|
+
* 集群ID
|
6963
|
+
*/
|
6964
|
+
ClusterId: string
|
6965
|
+
|
6966
|
+
/**
|
6967
|
+
* 账号数组,包含account和host
|
6968
|
+
*/
|
6969
|
+
Accounts?: Array<InputAccount>
|
6970
|
+
}
|
6971
|
+
|
5940
6972
|
/**
|
5941
6973
|
* ModifyInstanceName返回参数结构体
|
5942
6974
|
*/
|
@@ -5973,23 +7005,74 @@ export interface DescribeBinlogSaveDaysResponse {
|
|
5973
7005
|
}
|
5974
7006
|
|
5975
7007
|
/**
|
5976
|
-
*
|
7008
|
+
* DescribeAccountPrivileges请求参数结构体
|
5977
7009
|
*/
|
5978
|
-
export interface
|
7010
|
+
export interface DescribeAccountPrivilegesRequest {
|
5979
7011
|
/**
|
5980
|
-
* 集群
|
7012
|
+
* 集群id
|
5981
7013
|
*/
|
5982
7014
|
ClusterId: string
|
5983
7015
|
|
5984
7016
|
/**
|
5985
|
-
*
|
7017
|
+
* 账户名
|
5986
7018
|
*/
|
5987
|
-
|
7019
|
+
AccountName: string
|
5988
7020
|
|
5989
7021
|
/**
|
5990
|
-
*
|
7022
|
+
* 主机
|
5991
7023
|
*/
|
5992
|
-
|
7024
|
+
Host: string
|
7025
|
+
|
7026
|
+
/**
|
7027
|
+
* 数据库名,为*时,忽略Type/TableName, 表示修改用户全局权限;
|
7028
|
+
*/
|
7029
|
+
Db: string
|
7030
|
+
|
7031
|
+
/**
|
7032
|
+
* 指定数据库下的对象类型,可选"table","*"
|
7033
|
+
*/
|
7034
|
+
Type: string
|
7035
|
+
|
7036
|
+
/**
|
7037
|
+
* 当Type="table"时,用来指定表名
|
7038
|
+
*/
|
7039
|
+
TableName?: string
|
7040
|
+
}
|
7041
|
+
|
7042
|
+
/**
|
7043
|
+
* 参数模板信息
|
7044
|
+
*/
|
7045
|
+
export interface ParamTemplateListInfo {
|
7046
|
+
/**
|
7047
|
+
* 参数模板ID
|
7048
|
+
*/
|
7049
|
+
Id: number
|
7050
|
+
|
7051
|
+
/**
|
7052
|
+
* 参数模板名称
|
7053
|
+
*/
|
7054
|
+
TemplateName: string
|
7055
|
+
|
7056
|
+
/**
|
7057
|
+
* 参数模板描述
|
7058
|
+
*/
|
7059
|
+
TemplateDescription: string
|
7060
|
+
|
7061
|
+
/**
|
7062
|
+
* 引擎版本
|
7063
|
+
*/
|
7064
|
+
EngineVersion: string
|
7065
|
+
|
7066
|
+
/**
|
7067
|
+
* 数据库类型,可选值:NORMAL,SERVERLESS
|
7068
|
+
*/
|
7069
|
+
DbMode: string
|
7070
|
+
|
7071
|
+
/**
|
7072
|
+
* 参数模板详情
|
7073
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7074
|
+
*/
|
7075
|
+
ParamInfoSet: Array<TemplateParamInfo>
|
5993
7076
|
}
|
5994
7077
|
|
5995
7078
|
/**
|
@@ -6023,6 +7106,41 @@ export interface ModifyAccountParamsResponse {
|
|
6023
7106
|
RequestId?: string
|
6024
7107
|
}
|
6025
7108
|
|
7109
|
+
/**
|
7110
|
+
* CreateClusterDatabase请求参数结构体
|
7111
|
+
*/
|
7112
|
+
export interface CreateClusterDatabaseRequest {
|
7113
|
+
/**
|
7114
|
+
* 集群ID
|
7115
|
+
*/
|
7116
|
+
ClusterId: string
|
7117
|
+
|
7118
|
+
/**
|
7119
|
+
* 数据库名
|
7120
|
+
*/
|
7121
|
+
DbName: string
|
7122
|
+
|
7123
|
+
/**
|
7124
|
+
* 字符集类型
|
7125
|
+
*/
|
7126
|
+
CharacterSet: string
|
7127
|
+
|
7128
|
+
/**
|
7129
|
+
* 排序规则
|
7130
|
+
*/
|
7131
|
+
CollateRule: string
|
7132
|
+
|
7133
|
+
/**
|
7134
|
+
* 授权用户主机权限
|
7135
|
+
*/
|
7136
|
+
UserHostPrivileges?: Array<UserHostPrivilege>
|
7137
|
+
|
7138
|
+
/**
|
7139
|
+
* 备注
|
7140
|
+
*/
|
7141
|
+
Description?: string
|
7142
|
+
}
|
7143
|
+
|
6026
7144
|
/**
|
6027
7145
|
* DeleteBackup请求参数结构体
|
6028
7146
|
*/
|
@@ -6236,14 +7354,54 @@ export interface DescribeAccountAllGrantPrivilegesRequest {
|
|
6236
7354
|
}
|
6237
7355
|
|
6238
7356
|
/**
|
6239
|
-
*
|
7357
|
+
* DescribeParamTemplateDetail返回参数结构体
|
6240
7358
|
*/
|
6241
|
-
export interface
|
7359
|
+
export interface DescribeParamTemplateDetailResponse {
|
6242
7360
|
/**
|
6243
|
-
*
|
7361
|
+
* 参数模版ID
|
6244
7362
|
*/
|
6245
|
-
|
7363
|
+
TemplateId: number
|
7364
|
+
|
7365
|
+
/**
|
7366
|
+
* 参数模版名称
|
7367
|
+
*/
|
7368
|
+
TemplateName: string
|
7369
|
+
|
7370
|
+
/**
|
7371
|
+
* 参数模版描述
|
7372
|
+
*/
|
7373
|
+
TemplateDescription: string
|
7374
|
+
|
7375
|
+
/**
|
7376
|
+
* 引擎版本
|
7377
|
+
*/
|
7378
|
+
EngineVersion: string
|
7379
|
+
|
7380
|
+
/**
|
7381
|
+
* 参数总条数
|
7382
|
+
*/
|
7383
|
+
TotalCount: number
|
7384
|
+
|
7385
|
+
/**
|
7386
|
+
* 参数列表
|
7387
|
+
*/
|
7388
|
+
Items: Array<ParamDetail>
|
7389
|
+
|
7390
|
+
/**
|
7391
|
+
* 数据库类型,可选值:NORMAL,SERVERLESS
|
7392
|
+
*/
|
7393
|
+
DbMode: string
|
7394
|
+
|
7395
|
+
/**
|
7396
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7397
|
+
*/
|
7398
|
+
RequestId?: string
|
7399
|
+
}
|
6246
7400
|
|
7401
|
+
/**
|
7402
|
+
* ModifyBinlogSaveDays返回参数结构体
|
7403
|
+
*/
|
7404
|
+
export interface ModifyBinlogSaveDaysResponse {
|
6247
7405
|
/**
|
6248
7406
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6249
7407
|
*/
|
@@ -6310,6 +7468,21 @@ export interface DescribeAuditLogFilesRequest {
|
|
6310
7468
|
FileName?: string
|
6311
7469
|
}
|
6312
7470
|
|
7471
|
+
/**
|
7472
|
+
* ModifyVipVport返回参数结构体
|
7473
|
+
*/
|
7474
|
+
export interface ModifyVipVportResponse {
|
7475
|
+
/**
|
7476
|
+
* 异步任务id
|
7477
|
+
*/
|
7478
|
+
FlowId: number
|
7479
|
+
|
7480
|
+
/**
|
7481
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7482
|
+
*/
|
7483
|
+
RequestId?: string
|
7484
|
+
}
|
7485
|
+
|
6313
7486
|
/**
|
6314
7487
|
* DescribeClusterDetail返回参数结构体
|
6315
7488
|
*/
|