tencentcloud-sdk-nodejs 4.0.587 → 4.0.588
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 +216 -0
- package/SERVICE_CHANGELOG.md +250 -211
- package/package.json +1 -1
- package/products.md +16 -16
- package/src/common/sdk_version.ts +1 -1
- package/src/services/billing/v20180709/billing_models.ts +6 -0
- package/src/services/cbs/v20170312/cbs_models.ts +8 -8
- package/src/services/cdb/v20170320/cdb_client.ts +173 -47
- package/src/services/cdb/v20170320/cdb_models.ts +1198 -362
- package/src/services/cfs/v20190719/cfs_client.ts +12 -0
- package/src/services/cfs/v20190719/cfs_models.ts +56 -0
- package/src/services/clb/v20180317/clb_models.ts +6 -6
- package/src/services/cls/v20201016/cls_models.ts +1 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +6 -0
- package/src/services/gaap/v20180529/gaap_client.ts +1 -0
- package/src/services/gaap/v20180529/gaap_models.ts +16 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +6 -0
- package/src/services/mps/v20190612/mps_models.ts +28 -19
- package/src/services/tdmq/v20200217/tdmq_models.ts +43 -1
- package/src/services/teo/v20220901/teo_models.ts +3 -3
- package/src/services/tione/v20211111/tione_models.ts +41 -10
- package/src/services/tmt/v20180321/tmt_client.ts +1 -2
- package/src/services/tmt/v20180321/tmt_models.ts +13 -13
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +5 -0
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +8 -8
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +53 -13
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +77 -17
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +991 -286
- package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +5 -1
- package/tencentcloud/services/cfs/v20190719/cfs_client.js +6 -0
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +47 -0
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +6 -6
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +5 -0
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +14 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +5 -0
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +10 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +36 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +3 -3
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +35 -9
- package/tencentcloud/services/tmt/v20180321/tmt_client.d.ts +1 -2
- package/tencentcloud/services/tmt/v20180321/tmt_client.js +1 -2
- package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +13 -13
- package/test/cdb.v20170320.test.js +110 -10
- package/test/cfs.v20190719.test.js +10 -0
|
@@ -208,6 +208,53 @@ export interface DescribeDatabasesRequest {
|
|
|
208
208
|
*/
|
|
209
209
|
DatabaseRegexp?: string;
|
|
210
210
|
}
|
|
211
|
+
/**
|
|
212
|
+
* CreateCdbProxy请求参数结构体
|
|
213
|
+
*/
|
|
214
|
+
export interface CreateCdbProxyRequest {
|
|
215
|
+
/**
|
|
216
|
+
* 实例ID
|
|
217
|
+
*/
|
|
218
|
+
InstanceId: string;
|
|
219
|
+
/**
|
|
220
|
+
* 私有网络ID
|
|
221
|
+
*/
|
|
222
|
+
UniqVpcId: string;
|
|
223
|
+
/**
|
|
224
|
+
* 私有子网ID
|
|
225
|
+
*/
|
|
226
|
+
UniqSubnetId: string;
|
|
227
|
+
/**
|
|
228
|
+
* 节点规格配置
|
|
229
|
+
*/
|
|
230
|
+
ProxyNodeCustom: Array<ProxyNodeCustom>;
|
|
231
|
+
/**
|
|
232
|
+
* 安全组
|
|
233
|
+
*/
|
|
234
|
+
SecurityGroup?: Array<string>;
|
|
235
|
+
/**
|
|
236
|
+
* 描述
|
|
237
|
+
*/
|
|
238
|
+
Desc?: string;
|
|
239
|
+
/**
|
|
240
|
+
* 连接池阈值
|
|
241
|
+
*/
|
|
242
|
+
ConnectionPoolLimit?: number;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* CreateCdbProxy返回参数结构体
|
|
246
|
+
*/
|
|
247
|
+
export interface CreateCdbProxyResponse {
|
|
248
|
+
/**
|
|
249
|
+
* 异步任务ID
|
|
250
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
251
|
+
*/
|
|
252
|
+
AsyncRequestId: string;
|
|
253
|
+
/**
|
|
254
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
255
|
+
*/
|
|
256
|
+
RequestId?: string;
|
|
257
|
+
}
|
|
211
258
|
/**
|
|
212
259
|
* proxy读写分离信息
|
|
213
260
|
*/
|
|
@@ -301,6 +348,20 @@ export interface ModifyBackupDownloadRestrictionResponse {
|
|
|
301
348
|
*/
|
|
302
349
|
RequestId?: string;
|
|
303
350
|
}
|
|
351
|
+
/**
|
|
352
|
+
* StartReplication返回参数结构体
|
|
353
|
+
*/
|
|
354
|
+
export interface StartReplicationResponse {
|
|
355
|
+
/**
|
|
356
|
+
* 异步任务 ID。
|
|
357
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
358
|
+
*/
|
|
359
|
+
AsyncRequestId: string;
|
|
360
|
+
/**
|
|
361
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
362
|
+
*/
|
|
363
|
+
RequestId?: string;
|
|
364
|
+
}
|
|
304
365
|
/**
|
|
305
366
|
* ModifyTimeWindow返回参数结构体
|
|
306
367
|
*/
|
|
@@ -586,6 +647,15 @@ export interface DescribeParamTemplateInfoRequest {
|
|
|
586
647
|
*/
|
|
587
648
|
TemplateId: number;
|
|
588
649
|
}
|
|
650
|
+
/**
|
|
651
|
+
* ModifyCdbProxyAddressVipAndVPort返回参数结构体
|
|
652
|
+
*/
|
|
653
|
+
export interface ModifyCdbProxyAddressVipAndVPortResponse {
|
|
654
|
+
/**
|
|
655
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
656
|
+
*/
|
|
657
|
+
RequestId?: string;
|
|
658
|
+
}
|
|
589
659
|
/**
|
|
590
660
|
* DescribeDBInstances请求参数结构体
|
|
591
661
|
*/
|
|
@@ -731,6 +801,23 @@ export interface DescribeDBInstancesRequest {
|
|
|
731
801
|
*/
|
|
732
802
|
EngineTypes?: Array<string>;
|
|
733
803
|
}
|
|
804
|
+
/**
|
|
805
|
+
* ModifyCdbProxyAddressDesc请求参数结构体
|
|
806
|
+
*/
|
|
807
|
+
export interface ModifyCdbProxyAddressDescRequest {
|
|
808
|
+
/**
|
|
809
|
+
* 代理组ID
|
|
810
|
+
*/
|
|
811
|
+
ProxyGroupId: string;
|
|
812
|
+
/**
|
|
813
|
+
* 代理组地址ID
|
|
814
|
+
*/
|
|
815
|
+
ProxyAddressId: string;
|
|
816
|
+
/**
|
|
817
|
+
* 描述
|
|
818
|
+
*/
|
|
819
|
+
Desc?: string;
|
|
820
|
+
}
|
|
734
821
|
/**
|
|
735
822
|
* 表名
|
|
736
823
|
*/
|
|
@@ -774,6 +861,20 @@ export interface DescribeRoGroupsRequest {
|
|
|
774
861
|
*/
|
|
775
862
|
InstanceId: string;
|
|
776
863
|
}
|
|
864
|
+
/**
|
|
865
|
+
* CreateCdbProxyAddress返回参数结构体
|
|
866
|
+
*/
|
|
867
|
+
export interface CreateCdbProxyAddressResponse {
|
|
868
|
+
/**
|
|
869
|
+
* 异步任务ID
|
|
870
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
871
|
+
*/
|
|
872
|
+
AsyncRequestId: string;
|
|
873
|
+
/**
|
|
874
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
875
|
+
*/
|
|
876
|
+
RequestId?: string;
|
|
877
|
+
}
|
|
777
878
|
/**
|
|
778
879
|
* 用于回档的数据库表名
|
|
779
880
|
*/
|
|
@@ -799,13 +900,13 @@ export interface CloseWanServiceRequest {
|
|
|
799
900
|
InstanceId: string;
|
|
800
901
|
}
|
|
801
902
|
/**
|
|
802
|
-
*
|
|
903
|
+
* DescribeAuditConfig请求参数结构体
|
|
803
904
|
*/
|
|
804
|
-
export interface
|
|
905
|
+
export interface DescribeAuditConfigRequest {
|
|
805
906
|
/**
|
|
806
|
-
*
|
|
907
|
+
* 实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
|
807
908
|
*/
|
|
808
|
-
|
|
909
|
+
InstanceId: string;
|
|
809
910
|
}
|
|
810
911
|
/**
|
|
811
912
|
* CreateRoInstanceIp返回参数结构体
|
|
@@ -875,6 +976,80 @@ export interface StopRollbackResponse {
|
|
|
875
976
|
*/
|
|
876
977
|
RequestId?: string;
|
|
877
978
|
}
|
|
979
|
+
/**
|
|
980
|
+
* CreateCdbProxyAddress请求参数结构体
|
|
981
|
+
*/
|
|
982
|
+
export interface CreateCdbProxyAddressRequest {
|
|
983
|
+
/**
|
|
984
|
+
* 代理组ID
|
|
985
|
+
*/
|
|
986
|
+
ProxyGroupId: string;
|
|
987
|
+
/**
|
|
988
|
+
* 权重分配模式,
|
|
989
|
+
系统自动分配:"system", 自定义:"custom"
|
|
990
|
+
*/
|
|
991
|
+
WeightMode: string;
|
|
992
|
+
/**
|
|
993
|
+
* 是否开启延迟剔除,取值:"true" | "false"
|
|
994
|
+
*/
|
|
995
|
+
IsKickOut: boolean;
|
|
996
|
+
/**
|
|
997
|
+
* 最小保留数量,最小取值:0
|
|
998
|
+
*/
|
|
999
|
+
MinCount: number;
|
|
1000
|
+
/**
|
|
1001
|
+
* 延迟剔除阈值,最小取值:0
|
|
1002
|
+
*/
|
|
1003
|
+
MaxDelay: number;
|
|
1004
|
+
/**
|
|
1005
|
+
* 是否开启故障转移,取值:"true" | "false"
|
|
1006
|
+
*/
|
|
1007
|
+
FailOver: boolean;
|
|
1008
|
+
/**
|
|
1009
|
+
* 是否自动添加RO,取值:"true" | "false"
|
|
1010
|
+
*/
|
|
1011
|
+
AutoAddRo: boolean;
|
|
1012
|
+
/**
|
|
1013
|
+
* 是否是只读,取值:"true" | "false"
|
|
1014
|
+
*/
|
|
1015
|
+
ReadOnly: boolean;
|
|
1016
|
+
/**
|
|
1017
|
+
* 是否开启事务分离,取值:"true" | "false"
|
|
1018
|
+
*/
|
|
1019
|
+
TransSplit: boolean;
|
|
1020
|
+
/**
|
|
1021
|
+
* 读写权重分配
|
|
1022
|
+
*/
|
|
1023
|
+
ProxyAllocation: Array<ProxyAllocation>;
|
|
1024
|
+
/**
|
|
1025
|
+
* 私有网络ID
|
|
1026
|
+
*/
|
|
1027
|
+
UniqVpcId: string;
|
|
1028
|
+
/**
|
|
1029
|
+
* 私有子网ID
|
|
1030
|
+
*/
|
|
1031
|
+
UniqSubnetId: string;
|
|
1032
|
+
/**
|
|
1033
|
+
* 是否开启连接池
|
|
1034
|
+
*/
|
|
1035
|
+
ConnectionPool?: boolean;
|
|
1036
|
+
/**
|
|
1037
|
+
* 描述
|
|
1038
|
+
*/
|
|
1039
|
+
Desc?: string;
|
|
1040
|
+
/**
|
|
1041
|
+
* IP地址
|
|
1042
|
+
*/
|
|
1043
|
+
Vip?: string;
|
|
1044
|
+
/**
|
|
1045
|
+
* 端口
|
|
1046
|
+
*/
|
|
1047
|
+
VPort?: number;
|
|
1048
|
+
/**
|
|
1049
|
+
* 安全组
|
|
1050
|
+
*/
|
|
1051
|
+
SecurityGroup?: Array<string>;
|
|
1052
|
+
}
|
|
878
1053
|
/**
|
|
879
1054
|
* AnalyzeAuditLogs请求参数结构体
|
|
880
1055
|
*/
|
|
@@ -953,6 +1128,23 @@ export interface StopDBImportJobResponse {
|
|
|
953
1128
|
*/
|
|
954
1129
|
RequestId?: string;
|
|
955
1130
|
}
|
|
1131
|
+
/**
|
|
1132
|
+
* 代理节点权重分布
|
|
1133
|
+
*/
|
|
1134
|
+
export interface ProxyAllocation {
|
|
1135
|
+
/**
|
|
1136
|
+
* 代理节点所属地域
|
|
1137
|
+
*/
|
|
1138
|
+
Region: string;
|
|
1139
|
+
/**
|
|
1140
|
+
* 代理节点所属可用区
|
|
1141
|
+
*/
|
|
1142
|
+
Zone: string;
|
|
1143
|
+
/**
|
|
1144
|
+
* 代理实例分布
|
|
1145
|
+
*/
|
|
1146
|
+
ProxyInstance: Array<ProxyInst>;
|
|
1147
|
+
}
|
|
956
1148
|
/**
|
|
957
1149
|
* ModifyDBInstanceName请求参数结构体
|
|
958
1150
|
*/
|
|
@@ -988,40 +1180,6 @@ export interface ModifyAuditRuleResponse {
|
|
|
988
1180
|
*/
|
|
989
1181
|
RequestId?: string;
|
|
990
1182
|
}
|
|
991
|
-
/**
|
|
992
|
-
* OpenAuditService请求参数结构体
|
|
993
|
-
*/
|
|
994
|
-
export interface OpenAuditServiceRequest {
|
|
995
|
-
/**
|
|
996
|
-
* CDB实例ID
|
|
997
|
-
*/
|
|
998
|
-
InstanceId: string;
|
|
999
|
-
/**
|
|
1000
|
-
* 审计日志保存时长。支持值包括:
|
|
1001
|
-
7 - 一周
|
|
1002
|
-
30 - 一个月;
|
|
1003
|
-
90 - 三个月;
|
|
1004
|
-
180 - 六个月;
|
|
1005
|
-
365 - 一年;
|
|
1006
|
-
1095 - 三年;
|
|
1007
|
-
1825 - 五年;
|
|
1008
|
-
*/
|
|
1009
|
-
LogExpireDay: number;
|
|
1010
|
-
/**
|
|
1011
|
-
* 高频审计日志保存时长。支持值包括:
|
|
1012
|
-
7 - 一周
|
|
1013
|
-
30 - 一个月;
|
|
1014
|
-
*/
|
|
1015
|
-
HighLogExpireDay?: number;
|
|
1016
|
-
/**
|
|
1017
|
-
* 审计规则。同RuleTemplateIds都不填是全审计。
|
|
1018
|
-
*/
|
|
1019
|
-
AuditRuleFilters?: Array<AuditRuleFilters>;
|
|
1020
|
-
/**
|
|
1021
|
-
* 规则模版ID。同AuditRuleFilters都不填是全审计。
|
|
1022
|
-
*/
|
|
1023
|
-
RuleTemplateIds?: Array<string>;
|
|
1024
|
-
}
|
|
1025
1183
|
/**
|
|
1026
1184
|
* DescribeAuditRules请求参数结构体
|
|
1027
1185
|
*/
|
|
@@ -1071,6 +1229,60 @@ export interface ErrlogItem {
|
|
|
1071
1229
|
*/
|
|
1072
1230
|
Content: string;
|
|
1073
1231
|
}
|
|
1232
|
+
/**
|
|
1233
|
+
* 代理组详情
|
|
1234
|
+
*/
|
|
1235
|
+
export interface ProxyGroupInfo {
|
|
1236
|
+
/**
|
|
1237
|
+
* 代理组ID
|
|
1238
|
+
*/
|
|
1239
|
+
ProxyGroupId: string;
|
|
1240
|
+
/**
|
|
1241
|
+
* 代理版本
|
|
1242
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1243
|
+
*/
|
|
1244
|
+
ProxyVersion: string;
|
|
1245
|
+
/**
|
|
1246
|
+
* 代理支持升级版本
|
|
1247
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1248
|
+
*/
|
|
1249
|
+
SupportUpgradeProxyVersion: string;
|
|
1250
|
+
/**
|
|
1251
|
+
* 代理状态
|
|
1252
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1253
|
+
*/
|
|
1254
|
+
Status: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* 代理任务状态
|
|
1257
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1258
|
+
*/
|
|
1259
|
+
TaskStatus: string;
|
|
1260
|
+
/**
|
|
1261
|
+
* 代理组节点信息
|
|
1262
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1263
|
+
*/
|
|
1264
|
+
ProxyNode: Array<ProxyNode>;
|
|
1265
|
+
/**
|
|
1266
|
+
* 代理组地址信息
|
|
1267
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1268
|
+
*/
|
|
1269
|
+
ProxyAddress: Array<ProxyAddress>;
|
|
1270
|
+
/**
|
|
1271
|
+
* 连接池阈值
|
|
1272
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1273
|
+
*/
|
|
1274
|
+
ConnectionPoolLimit: number;
|
|
1275
|
+
/**
|
|
1276
|
+
* 支持创建地址
|
|
1277
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1278
|
+
*/
|
|
1279
|
+
SupportCreateProxyAddress: boolean;
|
|
1280
|
+
/**
|
|
1281
|
+
* 支持升级代理版本所需的cdb版本
|
|
1282
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1283
|
+
*/
|
|
1284
|
+
SupportUpgradeProxyMysqlVersion: string;
|
|
1285
|
+
}
|
|
1074
1286
|
/**
|
|
1075
1287
|
* AssociateSecurityGroups返回参数结构体
|
|
1076
1288
|
*/
|
|
@@ -1253,6 +1465,46 @@ export interface DescribeBackupTablesRequest {
|
|
|
1253
1465
|
*/
|
|
1254
1466
|
Limit?: number;
|
|
1255
1467
|
}
|
|
1468
|
+
/**
|
|
1469
|
+
* 代理节点
|
|
1470
|
+
*/
|
|
1471
|
+
export interface ProxyNode {
|
|
1472
|
+
/**
|
|
1473
|
+
* 代理节点ID
|
|
1474
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1475
|
+
*/
|
|
1476
|
+
ProxyId: string;
|
|
1477
|
+
/**
|
|
1478
|
+
* CPU核数
|
|
1479
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1480
|
+
*/
|
|
1481
|
+
Cpu: number;
|
|
1482
|
+
/**
|
|
1483
|
+
* 内存大小
|
|
1484
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1485
|
+
*/
|
|
1486
|
+
Mem: number;
|
|
1487
|
+
/**
|
|
1488
|
+
* 节点状态
|
|
1489
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1490
|
+
*/
|
|
1491
|
+
Status: string;
|
|
1492
|
+
/**
|
|
1493
|
+
* 代理节点可用区
|
|
1494
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1495
|
+
*/
|
|
1496
|
+
Zone: string;
|
|
1497
|
+
/**
|
|
1498
|
+
* 代理节点地域
|
|
1499
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1500
|
+
*/
|
|
1501
|
+
Region: string;
|
|
1502
|
+
/**
|
|
1503
|
+
* 连接数
|
|
1504
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1505
|
+
*/
|
|
1506
|
+
Connection: number;
|
|
1507
|
+
}
|
|
1256
1508
|
/**
|
|
1257
1509
|
* DescribeCdbZoneConfig返回参数结构体
|
|
1258
1510
|
*/
|
|
@@ -1386,14 +1638,9 @@ export interface ModifyParamTemplateRequest {
|
|
|
1386
1638
|
ParamList?: Array<Parameter>;
|
|
1387
1639
|
}
|
|
1388
1640
|
/**
|
|
1389
|
-
*
|
|
1641
|
+
* OpenAuditService返回参数结构体
|
|
1390
1642
|
*/
|
|
1391
|
-
export interface
|
|
1392
|
-
/**
|
|
1393
|
-
* 异步任务 ID。
|
|
1394
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1395
|
-
*/
|
|
1396
|
-
AsyncRequestId: string;
|
|
1643
|
+
export interface OpenAuditServiceResponse {
|
|
1397
1644
|
/**
|
|
1398
1645
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1399
1646
|
*/
|
|
@@ -1469,27 +1716,6 @@ export interface DescribeBinlogBackupOverviewResponse {
|
|
|
1469
1716
|
*/
|
|
1470
1717
|
RequestId?: string;
|
|
1471
1718
|
}
|
|
1472
|
-
/**
|
|
1473
|
-
* InitDBInstances请求参数结构体
|
|
1474
|
-
*/
|
|
1475
|
-
export interface InitDBInstancesRequest {
|
|
1476
|
-
/**
|
|
1477
|
-
* 实例ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同,可使用[查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
|
|
1478
|
-
*/
|
|
1479
|
-
InstanceIds: Array<string>;
|
|
1480
|
-
/**
|
|
1481
|
-
* 实例新的密码,密码规则:8-64个字符,至少包含字母、数字、字符(支持的字符:!@#$%^*())中的两种。
|
|
1482
|
-
*/
|
|
1483
|
-
NewPassword: string;
|
|
1484
|
-
/**
|
|
1485
|
-
* 实例的参数列表,目前支持设置“character_set_server”、“lower_case_table_names”参数。其中,“character_set_server”参数可选值为["utf8","latin1","gbk","utf8mb4"];“lower_case_table_names”可选值为[“0”,“1”]。
|
|
1486
|
-
*/
|
|
1487
|
-
Parameters: Array<ParamInfo>;
|
|
1488
|
-
/**
|
|
1489
|
-
* 实例的端口,取值范围为[1024, 65535]
|
|
1490
|
-
*/
|
|
1491
|
-
Vport?: number;
|
|
1492
|
-
}
|
|
1493
1719
|
/**
|
|
1494
1720
|
* SwitchDBInstanceMasterSlave请求参数结构体
|
|
1495
1721
|
*/
|
|
@@ -1534,6 +1760,39 @@ export interface ModifyCDBProxyConnectionPoolRequest {
|
|
|
1534
1760
|
*/
|
|
1535
1761
|
PoolConnectionTimeOut?: number;
|
|
1536
1762
|
}
|
|
1763
|
+
/**
|
|
1764
|
+
* ModifyCdbProxyAddressVipAndVPort请求参数结构体
|
|
1765
|
+
*/
|
|
1766
|
+
export interface ModifyCdbProxyAddressVipAndVPortRequest {
|
|
1767
|
+
/**
|
|
1768
|
+
* 代理组ID
|
|
1769
|
+
*/
|
|
1770
|
+
ProxyGroupId: string;
|
|
1771
|
+
/**
|
|
1772
|
+
* 代理组地址ID
|
|
1773
|
+
*/
|
|
1774
|
+
ProxyAddressId: string;
|
|
1775
|
+
/**
|
|
1776
|
+
* 私有网络ID
|
|
1777
|
+
*/
|
|
1778
|
+
UniqVpcId: string;
|
|
1779
|
+
/**
|
|
1780
|
+
* 私有子网ID
|
|
1781
|
+
*/
|
|
1782
|
+
UniqSubnetId: string;
|
|
1783
|
+
/**
|
|
1784
|
+
* IP地址
|
|
1785
|
+
*/
|
|
1786
|
+
Vip?: string;
|
|
1787
|
+
/**
|
|
1788
|
+
* 端口
|
|
1789
|
+
*/
|
|
1790
|
+
VPort?: number;
|
|
1791
|
+
/**
|
|
1792
|
+
* 旧IP地址回收时间
|
|
1793
|
+
*/
|
|
1794
|
+
ReleaseDuration?: number;
|
|
1795
|
+
}
|
|
1537
1796
|
/**
|
|
1538
1797
|
* ModifyAutoRenewFlag请求参数结构体
|
|
1539
1798
|
*/
|
|
@@ -1934,6 +2193,19 @@ export interface DescribeBinlogsRequest {
|
|
|
1934
2193
|
*/
|
|
1935
2194
|
Limit?: number;
|
|
1936
2195
|
}
|
|
2196
|
+
/**
|
|
2197
|
+
* DescribeCdbProxyInfo请求参数结构体
|
|
2198
|
+
*/
|
|
2199
|
+
export interface DescribeCdbProxyInfoRequest {
|
|
2200
|
+
/**
|
|
2201
|
+
* 实例ID
|
|
2202
|
+
*/
|
|
2203
|
+
InstanceId: string;
|
|
2204
|
+
/**
|
|
2205
|
+
* 代理组ID
|
|
2206
|
+
*/
|
|
2207
|
+
ProxyGroupId?: string;
|
|
2208
|
+
}
|
|
1937
2209
|
/**
|
|
1938
2210
|
* 用于回档的数据库名
|
|
1939
2211
|
*/
|
|
@@ -2664,6 +2936,15 @@ export interface CreateAuditLogFileResponse {
|
|
|
2664
2936
|
*/
|
|
2665
2937
|
RequestId?: string;
|
|
2666
2938
|
}
|
|
2939
|
+
/**
|
|
2940
|
+
* ModifyCdbProxyParam返回参数结构体
|
|
2941
|
+
*/
|
|
2942
|
+
export interface ModifyCdbProxyParamResponse {
|
|
2943
|
+
/**
|
|
2944
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2945
|
+
*/
|
|
2946
|
+
RequestId?: string;
|
|
2947
|
+
}
|
|
2667
2948
|
/**
|
|
2668
2949
|
* ModifyInstanceTag返回参数结构体
|
|
2669
2950
|
*/
|
|
@@ -2776,6 +3057,15 @@ export interface ParamTemplateInfo {
|
|
|
2776
3057
|
*/
|
|
2777
3058
|
TemplateType: string;
|
|
2778
3059
|
}
|
|
3060
|
+
/**
|
|
3061
|
+
* ModifyCdbProxyAddressDesc返回参数结构体
|
|
3062
|
+
*/
|
|
3063
|
+
export interface ModifyCdbProxyAddressDescResponse {
|
|
3064
|
+
/**
|
|
3065
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3066
|
+
*/
|
|
3067
|
+
RequestId?: string;
|
|
3068
|
+
}
|
|
2779
3069
|
/**
|
|
2780
3070
|
* DeleteTimeWindow返回参数结构体
|
|
2781
3071
|
*/
|
|
@@ -3036,17 +3326,13 @@ export interface CreateCloneInstanceResponse {
|
|
|
3036
3326
|
*/
|
|
3037
3327
|
export declare type DescribeCdbZoneConfigRequest = null;
|
|
3038
3328
|
/**
|
|
3039
|
-
*
|
|
3329
|
+
* OpenDBInstanceGTID请求参数结构体
|
|
3040
3330
|
*/
|
|
3041
|
-
export interface
|
|
3042
|
-
/**
|
|
3043
|
-
* 实例CPU平均使用率
|
|
3044
|
-
*/
|
|
3045
|
-
Rate: Array<DeviceCpuRateInfo>;
|
|
3331
|
+
export interface OpenDBInstanceGTIDRequest {
|
|
3046
3332
|
/**
|
|
3047
|
-
* 实例
|
|
3333
|
+
* 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
|
3048
3334
|
*/
|
|
3049
|
-
|
|
3335
|
+
InstanceId: string;
|
|
3050
3336
|
}
|
|
3051
3337
|
/**
|
|
3052
3338
|
* DescribeAsyncRequestInfo请求参数结构体
|
|
@@ -3161,52 +3447,70 @@ export interface DescribeDeviceMonitorInfoRequest {
|
|
|
3161
3447
|
Count?: number;
|
|
3162
3448
|
}
|
|
3163
3449
|
/**
|
|
3164
|
-
*
|
|
3450
|
+
* StopDBImportJob请求参数结构体
|
|
3165
3451
|
*/
|
|
3166
|
-
export interface
|
|
3452
|
+
export interface StopDBImportJobRequest {
|
|
3167
3453
|
/**
|
|
3168
|
-
* 异步任务的请求ID
|
|
3454
|
+
* 异步任务的请求 ID。
|
|
3169
3455
|
*/
|
|
3170
3456
|
AsyncRequestId: string;
|
|
3171
|
-
/**
|
|
3172
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3173
|
-
*/
|
|
3174
|
-
RequestId?: string;
|
|
3175
3457
|
}
|
|
3176
3458
|
/**
|
|
3177
|
-
*
|
|
3459
|
+
* DescribeDBPrice请求参数结构体
|
|
3178
3460
|
*/
|
|
3179
|
-
export interface
|
|
3461
|
+
export interface DescribeDBPriceRequest {
|
|
3180
3462
|
/**
|
|
3181
|
-
*
|
|
3463
|
+
* 实例时长,单位:月,最小值 1,最大值为 36;查询按量计费价格时,该字段无效。
|
|
3182
3464
|
*/
|
|
3183
|
-
|
|
3465
|
+
Period: number;
|
|
3184
3466
|
/**
|
|
3185
|
-
*
|
|
3467
|
+
* 可用区信息,格式如 "ap-guangzhou-2"。具体能设置的值请通过 <a href="https://cloud.tencent.com/document/api/236/17229">DescribeDBZoneConfig</a> 接口查询。InstanceId为空时该参数为必填项。
|
|
3186
3468
|
*/
|
|
3187
|
-
|
|
3469
|
+
Zone?: string;
|
|
3188
3470
|
/**
|
|
3189
|
-
*
|
|
3471
|
+
* 实例数量,默认值为 1,最小值 1,最大值为 100。InstanceId为空时该参数为必填项。
|
|
3190
3472
|
*/
|
|
3191
|
-
|
|
3473
|
+
GoodsNum?: number;
|
|
3192
3474
|
/**
|
|
3193
|
-
*
|
|
3194
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3475
|
+
* 实例内存大小,单位:MB。InstanceId为空时该参数为必填项。
|
|
3195
3476
|
*/
|
|
3196
|
-
|
|
3477
|
+
Memory?: number;
|
|
3197
3478
|
/**
|
|
3198
|
-
*
|
|
3199
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3479
|
+
* 实例硬盘大小,单位:GB。InstanceId为空时该参数为必填项。
|
|
3200
3480
|
*/
|
|
3201
|
-
|
|
3481
|
+
Volume?: number;
|
|
3202
3482
|
/**
|
|
3203
|
-
*
|
|
3483
|
+
* 实例类型,默认为 master,支持值包括:master - 表示主实例,ro - 表示只读实例,dr - 表示灾备实例。InstanceId为空时该参数为必填项。
|
|
3204
3484
|
*/
|
|
3205
|
-
|
|
3485
|
+
InstanceRole?: string;
|
|
3206
3486
|
/**
|
|
3207
|
-
*
|
|
3487
|
+
* 付费类型,支持值包括:PRE_PAID - 包年包月,HOUR_PAID - 按量计费。InstanceId为空时该参数为必填项。
|
|
3208
3488
|
*/
|
|
3209
|
-
|
|
3489
|
+
PayType?: string;
|
|
3490
|
+
/**
|
|
3491
|
+
* 数据复制方式,默认为 0,支持值包括:0 - 表示异步复制,1 - 表示半同步复制,2 - 表示强同步复制。
|
|
3492
|
+
*/
|
|
3493
|
+
ProtectMode?: number;
|
|
3494
|
+
/**
|
|
3495
|
+
* 实例隔离类型。支持值包括: "UNIVERSAL" - 通用型实例, "EXCLUSIVE" - 独享型实例, "BASIC" - 基础版实例。 不指定则默认为通用型实例。
|
|
3496
|
+
*/
|
|
3497
|
+
DeviceType?: string;
|
|
3498
|
+
/**
|
|
3499
|
+
* 实例节点数。对于 RO 和 基础版实例, 该值默认为1。 如果需要询价三节点实例, 请将该值设置为3。其余主实例该值默认为2。
|
|
3500
|
+
*/
|
|
3501
|
+
InstanceNodes?: number;
|
|
3502
|
+
/**
|
|
3503
|
+
* 询价实例的CPU核心数目,单位:核,为保证传入 CPU 值有效,请使用 [获取云数据库可售卖规格](https://cloud.tencent.com/document/product/236/17229) 接口获取可售卖的核心数目,当未指定该值时,将按照 Memory 大小补全一个默认值。
|
|
3504
|
+
*/
|
|
3505
|
+
Cpu?: number;
|
|
3506
|
+
/**
|
|
3507
|
+
* 询价续费实例ID。如需查询实例续费价格,填写InstanceId和Period即可。
|
|
3508
|
+
*/
|
|
3509
|
+
InstanceId?: string;
|
|
3510
|
+
/**
|
|
3511
|
+
* 按量计费阶梯。仅PayType=HOUR_PAID有效,支持值包括:1,2,3。阶梯时长见https://cloud.tencent.com/document/product/236/18335。
|
|
3512
|
+
*/
|
|
3513
|
+
Ladder?: number;
|
|
3210
3514
|
}
|
|
3211
3515
|
/**
|
|
3212
3516
|
* 从库的配置信息
|
|
@@ -3332,6 +3636,19 @@ export interface ModifyAuditConfigResponse {
|
|
|
3332
3636
|
*/
|
|
3333
3637
|
RequestId?: string;
|
|
3334
3638
|
}
|
|
3639
|
+
/**
|
|
3640
|
+
* SwitchDrInstanceToMaster返回参数结构体
|
|
3641
|
+
*/
|
|
3642
|
+
export interface SwitchDrInstanceToMasterResponse {
|
|
3643
|
+
/**
|
|
3644
|
+
* 异步任务的请求ID,可使用此ID查询异步任务的执行结果。
|
|
3645
|
+
*/
|
|
3646
|
+
AsyncRequestId: string;
|
|
3647
|
+
/**
|
|
3648
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3649
|
+
*/
|
|
3650
|
+
RequestId?: string;
|
|
3651
|
+
}
|
|
3335
3652
|
/**
|
|
3336
3653
|
* ModifyDBInstanceName返回参数结构体
|
|
3337
3654
|
*/
|
|
@@ -3391,6 +3708,41 @@ export interface DescribeCloneListResponse {
|
|
|
3391
3708
|
*/
|
|
3392
3709
|
RequestId?: string;
|
|
3393
3710
|
}
|
|
3711
|
+
/**
|
|
3712
|
+
* DescribeDBInstanceConfig返回参数结构体
|
|
3713
|
+
*/
|
|
3714
|
+
export interface DescribeDBInstanceConfigResponse {
|
|
3715
|
+
/**
|
|
3716
|
+
* 主实例数据保护方式,可能的返回值:0 - 异步复制方式,1 - 半同步复制方式,2 - 强同步复制方式。
|
|
3717
|
+
*/
|
|
3718
|
+
ProtectMode: number;
|
|
3719
|
+
/**
|
|
3720
|
+
* 主实例部署方式,可能的返回值:0 - 单可用部署,1 - 多可用区部署。
|
|
3721
|
+
*/
|
|
3722
|
+
DeployMode: number;
|
|
3723
|
+
/**
|
|
3724
|
+
* 实例可用区信息,格式如 "ap-shanghai-1"。
|
|
3725
|
+
*/
|
|
3726
|
+
Zone: string;
|
|
3727
|
+
/**
|
|
3728
|
+
* 备库的配置信息。
|
|
3729
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3730
|
+
*/
|
|
3731
|
+
SlaveConfig: SlaveConfig;
|
|
3732
|
+
/**
|
|
3733
|
+
* 强同步实例第二备库的配置信息。
|
|
3734
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3735
|
+
*/
|
|
3736
|
+
BackupConfig: BackupConfig;
|
|
3737
|
+
/**
|
|
3738
|
+
* 是否切换备库。
|
|
3739
|
+
*/
|
|
3740
|
+
Switched: boolean;
|
|
3741
|
+
/**
|
|
3742
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3743
|
+
*/
|
|
3744
|
+
RequestId?: string;
|
|
3745
|
+
}
|
|
3394
3746
|
/**
|
|
3395
3747
|
* StartBatchRollback请求参数结构体
|
|
3396
3748
|
*/
|
|
@@ -3724,21 +4076,44 @@ export interface DisassociateSecurityGroupsResponse {
|
|
|
3724
4076
|
RequestId?: string;
|
|
3725
4077
|
}
|
|
3726
4078
|
/**
|
|
3727
|
-
*
|
|
4079
|
+
* 置放群组信息
|
|
3728
4080
|
*/
|
|
3729
|
-
export interface
|
|
4081
|
+
export interface DeployGroupInfo {
|
|
3730
4082
|
/**
|
|
3731
|
-
*
|
|
4083
|
+
* 置放群组 ID。
|
|
3732
4084
|
*/
|
|
3733
|
-
|
|
4085
|
+
DeployGroupId: string;
|
|
3734
4086
|
/**
|
|
3735
|
-
*
|
|
4087
|
+
* 置放群组名称。
|
|
3736
4088
|
*/
|
|
3737
|
-
|
|
4089
|
+
DeployGroupName: string;
|
|
3738
4090
|
/**
|
|
3739
|
-
*
|
|
4091
|
+
* 创建时间。
|
|
3740
4092
|
*/
|
|
3741
|
-
|
|
4093
|
+
CreateTime: string;
|
|
4094
|
+
/**
|
|
4095
|
+
* 置放群组实例配额,表示一个置放群组中可容纳的最大实例数目。
|
|
4096
|
+
*/
|
|
4097
|
+
Quota: number;
|
|
4098
|
+
/**
|
|
4099
|
+
* 置放群组亲和性策略,目前仅支持策略1,即在物理机纬度打散实例的分布。
|
|
4100
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4101
|
+
*/
|
|
4102
|
+
Affinity: string;
|
|
4103
|
+
/**
|
|
4104
|
+
* 置放群组亲和性策略1中,同台物理机上同个置放群组实例的限制个数。
|
|
4105
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4106
|
+
*/
|
|
4107
|
+
LimitNum: number;
|
|
4108
|
+
/**
|
|
4109
|
+
* 置放群组详细信息。
|
|
4110
|
+
*/
|
|
4111
|
+
Description: string;
|
|
4112
|
+
/**
|
|
4113
|
+
* 置放群组物理机型属性。
|
|
4114
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4115
|
+
*/
|
|
4116
|
+
DevClass: string;
|
|
3742
4117
|
}
|
|
3743
4118
|
/**
|
|
3744
4119
|
* 本地binlog保留配置
|
|
@@ -3770,15 +4145,6 @@ export interface InquiryPriceUpgradeInstancesResponse {
|
|
|
3770
4145
|
*/
|
|
3771
4146
|
RequestId?: string;
|
|
3772
4147
|
}
|
|
3773
|
-
/**
|
|
3774
|
-
* DescribeAuditConfig请求参数结构体
|
|
3775
|
-
*/
|
|
3776
|
-
export interface DescribeAuditConfigRequest {
|
|
3777
|
-
/**
|
|
3778
|
-
* 实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
|
3779
|
-
*/
|
|
3780
|
-
InstanceId: string;
|
|
3781
|
-
}
|
|
3782
4148
|
/**
|
|
3783
4149
|
* CreateDBInstance请求参数结构体
|
|
3784
4150
|
*/
|
|
@@ -4490,6 +4856,23 @@ export interface SwitchDrInstanceToMasterRequest {
|
|
|
4490
4856
|
*/
|
|
4491
4857
|
InstanceId: string;
|
|
4492
4858
|
}
|
|
4859
|
+
/**
|
|
4860
|
+
* ModifyCdbProxyParam请求参数结构体
|
|
4861
|
+
*/
|
|
4862
|
+
export interface ModifyCdbProxyParamRequest {
|
|
4863
|
+
/**
|
|
4864
|
+
* 实例ID
|
|
4865
|
+
*/
|
|
4866
|
+
InstanceId: string;
|
|
4867
|
+
/**
|
|
4868
|
+
* 代理组ID
|
|
4869
|
+
*/
|
|
4870
|
+
ProxyGroupId: string;
|
|
4871
|
+
/**
|
|
4872
|
+
* 连接池阈值
|
|
4873
|
+
*/
|
|
4874
|
+
ConnectionPoolLimit: number;
|
|
4875
|
+
}
|
|
4493
4876
|
/**
|
|
4494
4877
|
* 只读组参数
|
|
4495
4878
|
*/
|
|
@@ -4646,96 +5029,36 @@ export interface CreateDBInstanceHourResponse {
|
|
|
4646
5029
|
/**
|
|
4647
5030
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4648
5031
|
*/
|
|
4649
|
-
RequestId?: string;
|
|
4650
|
-
}
|
|
4651
|
-
/**
|
|
4652
|
-
* DescribeBackupDownloadRestriction返回参数结构体
|
|
4653
|
-
*/
|
|
4654
|
-
export interface DescribeBackupDownloadRestrictionResponse {
|
|
4655
|
-
/**
|
|
4656
|
-
* NoLimit 不限制,内外网都可以下载; LimitOnlyIntranet 仅内网可下载; Customize 用户自定义vpc:ip可下载。 只有该值为 Customize 时, LimitVpc 和 LimitIp 才有意义。
|
|
4657
|
-
*/
|
|
4658
|
-
LimitType: string;
|
|
4659
|
-
/**
|
|
4660
|
-
* 该参数仅支持 In, 表示 LimitVpc 指定的vpc可以下载。
|
|
4661
|
-
*/
|
|
4662
|
-
VpcComparisonSymbol: string;
|
|
4663
|
-
/**
|
|
4664
|
-
* In: 指定的ip可以下载; NotIn: 指定的ip不可以下载。
|
|
4665
|
-
*/
|
|
4666
|
-
IpComparisonSymbol: string;
|
|
4667
|
-
/**
|
|
4668
|
-
* 限制下载的vpc设置。
|
|
4669
|
-
*/
|
|
4670
|
-
LimitVpc: Array<BackupLimitVpcItem>;
|
|
4671
|
-
/**
|
|
4672
|
-
* 限制下载的ip设置。
|
|
4673
|
-
*/
|
|
4674
|
-
LimitIp: Array<string>;
|
|
4675
|
-
/**
|
|
4676
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4677
|
-
*/
|
|
4678
|
-
RequestId?: string;
|
|
4679
|
-
}
|
|
4680
|
-
/**
|
|
4681
|
-
* 结构化的慢日志详情
|
|
4682
|
-
*/
|
|
4683
|
-
export interface SlowLogItem {
|
|
4684
|
-
/**
|
|
4685
|
-
* Sql的执行时间。
|
|
4686
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4687
|
-
*/
|
|
4688
|
-
Timestamp: number;
|
|
4689
|
-
/**
|
|
4690
|
-
* Sql的执行时长(秒)。
|
|
4691
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4692
|
-
*/
|
|
4693
|
-
QueryTime: number;
|
|
4694
|
-
/**
|
|
4695
|
-
* Sql语句。
|
|
4696
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4697
|
-
*/
|
|
4698
|
-
SqlText: string;
|
|
4699
|
-
/**
|
|
4700
|
-
* 客户端地址。
|
|
4701
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4702
|
-
*/
|
|
4703
|
-
UserHost: string;
|
|
4704
|
-
/**
|
|
4705
|
-
* 用户名。
|
|
4706
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4707
|
-
*/
|
|
4708
|
-
UserName: string;
|
|
5032
|
+
RequestId?: string;
|
|
5033
|
+
}
|
|
5034
|
+
/**
|
|
5035
|
+
* DescribeBackupDownloadRestriction返回参数结构体
|
|
5036
|
+
*/
|
|
5037
|
+
export interface DescribeBackupDownloadRestrictionResponse {
|
|
4709
5038
|
/**
|
|
4710
|
-
*
|
|
4711
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5039
|
+
* NoLimit 不限制,内外网都可以下载; LimitOnlyIntranet 仅内网可下载; Customize 用户自定义vpc:ip可下载。 只有该值为 Customize 时, LimitVpc 和 LimitIp 才有意义。
|
|
4712
5040
|
*/
|
|
4713
|
-
|
|
5041
|
+
LimitType: string;
|
|
4714
5042
|
/**
|
|
4715
|
-
*
|
|
4716
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5043
|
+
* 该参数仅支持 In, 表示 LimitVpc 指定的vpc可以下载。
|
|
4717
5044
|
*/
|
|
4718
|
-
|
|
5045
|
+
VpcComparisonSymbol: string;
|
|
4719
5046
|
/**
|
|
4720
|
-
*
|
|
4721
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5047
|
+
* In: 指定的ip可以下载; NotIn: 指定的ip不可以下载。
|
|
4722
5048
|
*/
|
|
4723
|
-
|
|
5049
|
+
IpComparisonSymbol: string;
|
|
4724
5050
|
/**
|
|
4725
|
-
*
|
|
4726
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5051
|
+
* 限制下载的vpc设置。
|
|
4727
5052
|
*/
|
|
4728
|
-
|
|
5053
|
+
LimitVpc: Array<BackupLimitVpcItem>;
|
|
4729
5054
|
/**
|
|
4730
|
-
*
|
|
4731
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5055
|
+
* 限制下载的ip设置。
|
|
4732
5056
|
*/
|
|
4733
|
-
|
|
5057
|
+
LimitIp: Array<string>;
|
|
4734
5058
|
/**
|
|
4735
|
-
*
|
|
4736
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5059
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4737
5060
|
*/
|
|
4738
|
-
|
|
5061
|
+
RequestId?: string;
|
|
4739
5062
|
}
|
|
4740
5063
|
/**
|
|
4741
5064
|
* 克隆任务记录。
|
|
@@ -5025,6 +5348,15 @@ export interface ModifyInstanceTagRequest {
|
|
|
5025
5348
|
*/
|
|
5026
5349
|
DeleteTags?: Array<TagInfo>;
|
|
5027
5350
|
}
|
|
5351
|
+
/**
|
|
5352
|
+
* DescribeProxySupportParam请求参数结构体
|
|
5353
|
+
*/
|
|
5354
|
+
export interface DescribeProxySupportParamRequest {
|
|
5355
|
+
/**
|
|
5356
|
+
* 实例ID
|
|
5357
|
+
*/
|
|
5358
|
+
InstanceId: string;
|
|
5359
|
+
}
|
|
5028
5360
|
/**
|
|
5029
5361
|
* ModifyAutoRenewFlag返回参数结构体
|
|
5030
5362
|
*/
|
|
@@ -5064,6 +5396,55 @@ export interface RollbackTask {
|
|
|
5064
5396
|
*/
|
|
5065
5397
|
Detail: Array<RollbackInstancesInfo>;
|
|
5066
5398
|
}
|
|
5399
|
+
/**
|
|
5400
|
+
* StartReplication请求参数结构体
|
|
5401
|
+
*/
|
|
5402
|
+
export interface StartReplicationRequest {
|
|
5403
|
+
/**
|
|
5404
|
+
* 实例 ID。仅支持只读实例。
|
|
5405
|
+
*/
|
|
5406
|
+
InstanceId: string;
|
|
5407
|
+
}
|
|
5408
|
+
/**
|
|
5409
|
+
* 代理实例
|
|
5410
|
+
*/
|
|
5411
|
+
export interface ProxyInst {
|
|
5412
|
+
/**
|
|
5413
|
+
* 实例ID
|
|
5414
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5415
|
+
*/
|
|
5416
|
+
InstanceId?: string;
|
|
5417
|
+
/**
|
|
5418
|
+
* 实例名称
|
|
5419
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5420
|
+
*/
|
|
5421
|
+
InstanceName?: string;
|
|
5422
|
+
/**
|
|
5423
|
+
* 实例类型
|
|
5424
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5425
|
+
*/
|
|
5426
|
+
InstanceType?: string;
|
|
5427
|
+
/**
|
|
5428
|
+
* 实例状态,可能的返回值:0-创建中;1-运行中;4-隔离中;5-已隔离
|
|
5429
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5430
|
+
*/
|
|
5431
|
+
Status?: number;
|
|
5432
|
+
/**
|
|
5433
|
+
* 只读权重,如果权重为系统自动分配,改值不生效,只代表是否启用该实例
|
|
5434
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5435
|
+
*/
|
|
5436
|
+
Weight?: number;
|
|
5437
|
+
/**
|
|
5438
|
+
* 实例所属地域
|
|
5439
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5440
|
+
*/
|
|
5441
|
+
Region?: string;
|
|
5442
|
+
/**
|
|
5443
|
+
* 实例所属可用区
|
|
5444
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5445
|
+
*/
|
|
5446
|
+
Zone?: string;
|
|
5447
|
+
}
|
|
5067
5448
|
/**
|
|
5068
5449
|
* ReloadBalanceProxyNode返回参数结构体
|
|
5069
5450
|
*/
|
|
@@ -5153,6 +5534,55 @@ NEQ – 不等于;
|
|
|
5153
5534
|
*/
|
|
5154
5535
|
Value: string;
|
|
5155
5536
|
}
|
|
5537
|
+
/**
|
|
5538
|
+
* DescribeProxySupportParam返回参数结构体
|
|
5539
|
+
*/
|
|
5540
|
+
export interface DescribeProxySupportParamResponse {
|
|
5541
|
+
/**
|
|
5542
|
+
* 支持最大代理版本
|
|
5543
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5544
|
+
*/
|
|
5545
|
+
ProxyVersion: string;
|
|
5546
|
+
/**
|
|
5547
|
+
* 是否支持连接池
|
|
5548
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5549
|
+
*/
|
|
5550
|
+
SupportPool: boolean;
|
|
5551
|
+
/**
|
|
5552
|
+
* 连接池最小值
|
|
5553
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5554
|
+
*/
|
|
5555
|
+
PoolMin: number;
|
|
5556
|
+
/**
|
|
5557
|
+
* 连接池最大值
|
|
5558
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5559
|
+
*/
|
|
5560
|
+
PoolMax: number;
|
|
5561
|
+
/**
|
|
5562
|
+
* 是否支持事务拆分
|
|
5563
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5564
|
+
*/
|
|
5565
|
+
SupportTransSplit: boolean;
|
|
5566
|
+
/**
|
|
5567
|
+
* 支持连接池的最小代理版本
|
|
5568
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5569
|
+
*/
|
|
5570
|
+
SupportPoolMinVersion: string;
|
|
5571
|
+
/**
|
|
5572
|
+
* 支持事务拆分的最小代理版本
|
|
5573
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5574
|
+
*/
|
|
5575
|
+
SupportTransSplitMinVersion: string;
|
|
5576
|
+
/**
|
|
5577
|
+
* 是否支持设置只读
|
|
5578
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5579
|
+
*/
|
|
5580
|
+
SupportReadOnly: boolean;
|
|
5581
|
+
/**
|
|
5582
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5583
|
+
*/
|
|
5584
|
+
RequestId?: string;
|
|
5585
|
+
}
|
|
5156
5586
|
/**
|
|
5157
5587
|
* DescribeRollbackTaskDetail请求参数结构体
|
|
5158
5588
|
*/
|
|
@@ -5599,6 +6029,60 @@ export interface DescribeAuditPoliciesRequest {
|
|
|
5599
6029
|
*/
|
|
5600
6030
|
InstanceName?: string;
|
|
5601
6031
|
}
|
|
6032
|
+
/**
|
|
6033
|
+
* AdjustCdbProxyAddress请求参数结构体
|
|
6034
|
+
*/
|
|
6035
|
+
export interface AdjustCdbProxyAddressRequest {
|
|
6036
|
+
/**
|
|
6037
|
+
* 代理组ID
|
|
6038
|
+
*/
|
|
6039
|
+
ProxyGroupId: string;
|
|
6040
|
+
/**
|
|
6041
|
+
* 权重分配模式,
|
|
6042
|
+
系统自动分配:"system", 自定义:"custom"
|
|
6043
|
+
*/
|
|
6044
|
+
WeightMode: string;
|
|
6045
|
+
/**
|
|
6046
|
+
* 是否开启延迟剔除,取值:"true" | "false"
|
|
6047
|
+
*/
|
|
6048
|
+
IsKickOut: boolean;
|
|
6049
|
+
/**
|
|
6050
|
+
* 最小保留数量,最小取值:0
|
|
6051
|
+
*/
|
|
6052
|
+
MinCount: number;
|
|
6053
|
+
/**
|
|
6054
|
+
* 延迟剔除阈值,最小取值:0
|
|
6055
|
+
*/
|
|
6056
|
+
MaxDelay: number;
|
|
6057
|
+
/**
|
|
6058
|
+
* 是否开启故障转移,取值:"true" | "false"
|
|
6059
|
+
*/
|
|
6060
|
+
FailOver: boolean;
|
|
6061
|
+
/**
|
|
6062
|
+
* 是否自动添加RO,取值:"true" | "false"
|
|
6063
|
+
*/
|
|
6064
|
+
AutoAddRo: boolean;
|
|
6065
|
+
/**
|
|
6066
|
+
* 是否是只读,取值:"true" | "false"
|
|
6067
|
+
*/
|
|
6068
|
+
ReadOnly: boolean;
|
|
6069
|
+
/**
|
|
6070
|
+
* 代理组地址ID
|
|
6071
|
+
*/
|
|
6072
|
+
ProxyAddressId: string;
|
|
6073
|
+
/**
|
|
6074
|
+
* 是否开启事务分离,取值:"true" | "false"
|
|
6075
|
+
*/
|
|
6076
|
+
TransSplit?: boolean;
|
|
6077
|
+
/**
|
|
6078
|
+
* 是否开启连接池
|
|
6079
|
+
*/
|
|
6080
|
+
ConnectionPool?: boolean;
|
|
6081
|
+
/**
|
|
6082
|
+
* 读写权重分配。如果 WeightMode 传的是 system ,则传入的权重不生效,由系统分配默认权重。
|
|
6083
|
+
*/
|
|
6084
|
+
ProxyAllocation?: Array<ProxyAllocation>;
|
|
6085
|
+
}
|
|
5602
6086
|
/**
|
|
5603
6087
|
* DescribeDatabases返回参数结构体
|
|
5604
6088
|
*/
|
|
@@ -5965,6 +6449,20 @@ export interface ModifyCDBProxyDescResponse {
|
|
|
5965
6449
|
*/
|
|
5966
6450
|
RequestId?: string;
|
|
5967
6451
|
}
|
|
6452
|
+
/**
|
|
6453
|
+
* AdjustCdbProxyAddress返回参数结构体
|
|
6454
|
+
*/
|
|
6455
|
+
export interface AdjustCdbProxyAddressResponse {
|
|
6456
|
+
/**
|
|
6457
|
+
* 异步任务ID
|
|
6458
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6459
|
+
*/
|
|
6460
|
+
AsyncRequestId: string;
|
|
6461
|
+
/**
|
|
6462
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6463
|
+
*/
|
|
6464
|
+
RequestId?: string;
|
|
6465
|
+
}
|
|
5968
6466
|
/**
|
|
5969
6467
|
* ModifyDBInstanceVipVport请求参数结构体
|
|
5970
6468
|
*/
|
|
@@ -6316,13 +6814,64 @@ export interface DescribeSupportedPrivilegesResponse {
|
|
|
6316
6814
|
RequestId?: string;
|
|
6317
6815
|
}
|
|
6318
6816
|
/**
|
|
6319
|
-
*
|
|
6817
|
+
* 结构化的慢日志详情
|
|
6320
6818
|
*/
|
|
6321
|
-
export interface
|
|
6819
|
+
export interface SlowLogItem {
|
|
6322
6820
|
/**
|
|
6323
|
-
*
|
|
6821
|
+
* Sql的执行时间。
|
|
6822
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6324
6823
|
*/
|
|
6325
|
-
|
|
6824
|
+
Timestamp: number;
|
|
6825
|
+
/**
|
|
6826
|
+
* Sql的执行时长(秒)。
|
|
6827
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6828
|
+
*/
|
|
6829
|
+
QueryTime: number;
|
|
6830
|
+
/**
|
|
6831
|
+
* Sql语句。
|
|
6832
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6833
|
+
*/
|
|
6834
|
+
SqlText: string;
|
|
6835
|
+
/**
|
|
6836
|
+
* 客户端地址。
|
|
6837
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6838
|
+
*/
|
|
6839
|
+
UserHost: string;
|
|
6840
|
+
/**
|
|
6841
|
+
* 用户名。
|
|
6842
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6843
|
+
*/
|
|
6844
|
+
UserName: string;
|
|
6845
|
+
/**
|
|
6846
|
+
* 数据库名。
|
|
6847
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6848
|
+
*/
|
|
6849
|
+
Database: string;
|
|
6850
|
+
/**
|
|
6851
|
+
* 锁时长(秒)。
|
|
6852
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6853
|
+
*/
|
|
6854
|
+
LockTime: number;
|
|
6855
|
+
/**
|
|
6856
|
+
* 扫描行数。
|
|
6857
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6858
|
+
*/
|
|
6859
|
+
RowsExamined: number;
|
|
6860
|
+
/**
|
|
6861
|
+
* 结果集行数。
|
|
6862
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6863
|
+
*/
|
|
6864
|
+
RowsSent: number;
|
|
6865
|
+
/**
|
|
6866
|
+
* Sql模板。
|
|
6867
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6868
|
+
*/
|
|
6869
|
+
SqlTemplate: string;
|
|
6870
|
+
/**
|
|
6871
|
+
* Sql语句的md5。
|
|
6872
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6873
|
+
*/
|
|
6874
|
+
Md5: string;
|
|
6326
6875
|
}
|
|
6327
6876
|
/**
|
|
6328
6877
|
* DescribeLocalBinlogConfig返回参数结构体
|
|
@@ -6389,6 +6938,25 @@ export interface DescribeBackupEncryptionStatusResponse {
|
|
|
6389
6938
|
*/
|
|
6390
6939
|
RequestId?: string;
|
|
6391
6940
|
}
|
|
6941
|
+
/**
|
|
6942
|
+
* DescribeCdbProxyInfo返回参数结构体
|
|
6943
|
+
*/
|
|
6944
|
+
export interface DescribeCdbProxyInfoResponse {
|
|
6945
|
+
/**
|
|
6946
|
+
* 代理组数量
|
|
6947
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6948
|
+
*/
|
|
6949
|
+
Count: number;
|
|
6950
|
+
/**
|
|
6951
|
+
* 代理组信息
|
|
6952
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6953
|
+
*/
|
|
6954
|
+
ProxyInfos: Array<ProxyGroupInfo>;
|
|
6955
|
+
/**
|
|
6956
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6957
|
+
*/
|
|
6958
|
+
RequestId?: string;
|
|
6959
|
+
}
|
|
6392
6960
|
/**
|
|
6393
6961
|
* ModifyAuditConfig请求参数结构体
|
|
6394
6962
|
*/
|
|
@@ -6518,12 +7086,37 @@ export interface TagInfoItem {
|
|
|
6518
7086
|
* 标签键
|
|
6519
7087
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6520
7088
|
*/
|
|
6521
|
-
TagKey: string;
|
|
7089
|
+
TagKey: string;
|
|
7090
|
+
/**
|
|
7091
|
+
* 标签值
|
|
7092
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7093
|
+
*/
|
|
7094
|
+
TagValue: string;
|
|
7095
|
+
}
|
|
7096
|
+
/**
|
|
7097
|
+
* 节点规格配置
|
|
7098
|
+
*/
|
|
7099
|
+
export interface ProxyNodeCustom {
|
|
7100
|
+
/**
|
|
7101
|
+
* 节点个数
|
|
7102
|
+
*/
|
|
7103
|
+
NodeCount: number;
|
|
7104
|
+
/**
|
|
7105
|
+
* CPU核数
|
|
7106
|
+
*/
|
|
7107
|
+
Cpu: number;
|
|
7108
|
+
/**
|
|
7109
|
+
* 内存大小
|
|
7110
|
+
*/
|
|
7111
|
+
Mem: number;
|
|
7112
|
+
/**
|
|
7113
|
+
* 地域
|
|
7114
|
+
*/
|
|
7115
|
+
Region: string;
|
|
6522
7116
|
/**
|
|
6523
|
-
*
|
|
6524
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7117
|
+
* 可用区
|
|
6525
7118
|
*/
|
|
6526
|
-
|
|
7119
|
+
Zone: string;
|
|
6527
7120
|
}
|
|
6528
7121
|
/**
|
|
6529
7122
|
* DescribeProxyCustomConf请求参数结构体
|
|
@@ -6555,6 +7148,19 @@ export interface DescribeDBSecurityGroupsResponse {
|
|
|
6555
7148
|
*/
|
|
6556
7149
|
RequestId?: string;
|
|
6557
7150
|
}
|
|
7151
|
+
/**
|
|
7152
|
+
* CloseCdbProxyAddress请求参数结构体
|
|
7153
|
+
*/
|
|
7154
|
+
export interface CloseCdbProxyAddressRequest {
|
|
7155
|
+
/**
|
|
7156
|
+
* 代理组ID
|
|
7157
|
+
*/
|
|
7158
|
+
ProxyGroupId: string;
|
|
7159
|
+
/**
|
|
7160
|
+
* 代理组地址ID
|
|
7161
|
+
*/
|
|
7162
|
+
ProxyAddressId: string;
|
|
7163
|
+
}
|
|
6558
7164
|
/**
|
|
6559
7165
|
* ModifyRoGroupInfo返回参数结构体
|
|
6560
7166
|
*/
|
|
@@ -6649,6 +7255,31 @@ export interface IsolateDBInstanceResponse {
|
|
|
6649
7255
|
*/
|
|
6650
7256
|
RequestId?: string;
|
|
6651
7257
|
}
|
|
7258
|
+
/**
|
|
7259
|
+
* AdjustCdbProxy请求参数结构体
|
|
7260
|
+
*/
|
|
7261
|
+
export interface AdjustCdbProxyRequest {
|
|
7262
|
+
/**
|
|
7263
|
+
* 实例ID
|
|
7264
|
+
*/
|
|
7265
|
+
InstanceId: string;
|
|
7266
|
+
/**
|
|
7267
|
+
* 代理组ID
|
|
7268
|
+
*/
|
|
7269
|
+
ProxyGroupId: string;
|
|
7270
|
+
/**
|
|
7271
|
+
* 节点规格配置
|
|
7272
|
+
*/
|
|
7273
|
+
ProxyNodeCustom: Array<ProxyNodeCustom>;
|
|
7274
|
+
/**
|
|
7275
|
+
* 重新负载均衡:auto(自动),manual(手动)
|
|
7276
|
+
*/
|
|
7277
|
+
ReloadBalance: string;
|
|
7278
|
+
/**
|
|
7279
|
+
* 升级切换时间:nowTime(升级完成时),timeWindow(维护时间内)
|
|
7280
|
+
*/
|
|
7281
|
+
UpgradeTime: string;
|
|
7282
|
+
}
|
|
6652
7283
|
/**
|
|
6653
7284
|
* ModifyAccountDescription返回参数结构体
|
|
6654
7285
|
*/
|
|
@@ -6662,6 +7293,87 @@ export interface ModifyAccountDescriptionResponse {
|
|
|
6662
7293
|
*/
|
|
6663
7294
|
RequestId?: string;
|
|
6664
7295
|
}
|
|
7296
|
+
/**
|
|
7297
|
+
* 数据库代理地址信息
|
|
7298
|
+
*/
|
|
7299
|
+
export interface ProxyAddress {
|
|
7300
|
+
/**
|
|
7301
|
+
* 代理组地址ID
|
|
7302
|
+
*/
|
|
7303
|
+
ProxyAddressId: string;
|
|
7304
|
+
/**
|
|
7305
|
+
* 私有网络ID
|
|
7306
|
+
*/
|
|
7307
|
+
UniqVpcId: string;
|
|
7308
|
+
/**
|
|
7309
|
+
* 私有子网ID
|
|
7310
|
+
*/
|
|
7311
|
+
UniqSubnetId: string;
|
|
7312
|
+
/**
|
|
7313
|
+
* IP地址
|
|
7314
|
+
*/
|
|
7315
|
+
Vip: string;
|
|
7316
|
+
/**
|
|
7317
|
+
* 端口
|
|
7318
|
+
*/
|
|
7319
|
+
VPort: number;
|
|
7320
|
+
/**
|
|
7321
|
+
* 权重分配模式;
|
|
7322
|
+
系统自动分配:"system", 自定义:"custom"
|
|
7323
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7324
|
+
*/
|
|
7325
|
+
WeightMode: string;
|
|
7326
|
+
/**
|
|
7327
|
+
* 是否开启延迟剔除,取值:"true" | "false"
|
|
7328
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7329
|
+
*/
|
|
7330
|
+
IsKickOut: boolean;
|
|
7331
|
+
/**
|
|
7332
|
+
* 最小保留数量,最小取值:0
|
|
7333
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7334
|
+
*/
|
|
7335
|
+
MinCount: number;
|
|
7336
|
+
/**
|
|
7337
|
+
* 延迟剔除阈值,最小取值:0
|
|
7338
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7339
|
+
*/
|
|
7340
|
+
MaxDelay: number;
|
|
7341
|
+
/**
|
|
7342
|
+
* 是否自动添加RO,取值:"true" | "false"
|
|
7343
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7344
|
+
*/
|
|
7345
|
+
AutoAddRo: boolean;
|
|
7346
|
+
/**
|
|
7347
|
+
* 是否是只读,取值:"true" | "false"
|
|
7348
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7349
|
+
*/
|
|
7350
|
+
ReadOnly: boolean;
|
|
7351
|
+
/**
|
|
7352
|
+
* 是否开启事务分离
|
|
7353
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7354
|
+
*/
|
|
7355
|
+
TransSplit: boolean;
|
|
7356
|
+
/**
|
|
7357
|
+
* 是否开启故障转移
|
|
7358
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7359
|
+
*/
|
|
7360
|
+
FailOver: boolean;
|
|
7361
|
+
/**
|
|
7362
|
+
* 是否开启连接池
|
|
7363
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7364
|
+
*/
|
|
7365
|
+
ConnectionPool: boolean;
|
|
7366
|
+
/**
|
|
7367
|
+
* 描述
|
|
7368
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7369
|
+
*/
|
|
7370
|
+
Desc: string;
|
|
7371
|
+
/**
|
|
7372
|
+
* 实例读权重分配
|
|
7373
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7374
|
+
*/
|
|
7375
|
+
ProxyAllocation: Array<ProxyAllocation>;
|
|
7376
|
+
}
|
|
6665
7377
|
/**
|
|
6666
7378
|
* 通用时间窗
|
|
6667
7379
|
*/
|
|
@@ -7243,13 +7955,38 @@ export interface CreateDBInstanceResponse {
|
|
|
7243
7955
|
RequestId?: string;
|
|
7244
7956
|
}
|
|
7245
7957
|
/**
|
|
7246
|
-
*
|
|
7958
|
+
* OpenAuditService请求参数结构体
|
|
7247
7959
|
*/
|
|
7248
|
-
export interface
|
|
7960
|
+
export interface OpenAuditServiceRequest {
|
|
7249
7961
|
/**
|
|
7250
|
-
* 实例
|
|
7962
|
+
* CDB实例ID
|
|
7251
7963
|
*/
|
|
7252
7964
|
InstanceId: string;
|
|
7965
|
+
/**
|
|
7966
|
+
* 审计日志保存时长。支持值包括:
|
|
7967
|
+
7 - 一周
|
|
7968
|
+
30 - 一个月;
|
|
7969
|
+
90 - 三个月;
|
|
7970
|
+
180 - 六个月;
|
|
7971
|
+
365 - 一年;
|
|
7972
|
+
1095 - 三年;
|
|
7973
|
+
1825 - 五年;
|
|
7974
|
+
*/
|
|
7975
|
+
LogExpireDay: number;
|
|
7976
|
+
/**
|
|
7977
|
+
* 高频审计日志保存时长。支持值包括:
|
|
7978
|
+
7 - 一周
|
|
7979
|
+
30 - 一个月;
|
|
7980
|
+
*/
|
|
7981
|
+
HighLogExpireDay?: number;
|
|
7982
|
+
/**
|
|
7983
|
+
* 审计规则。同RuleTemplateIds都不填是全审计。
|
|
7984
|
+
*/
|
|
7985
|
+
AuditRuleFilters?: Array<AuditRuleFilters>;
|
|
7986
|
+
/**
|
|
7987
|
+
* 规则模版ID。同AuditRuleFilters都不填是全审计。
|
|
7988
|
+
*/
|
|
7989
|
+
RuleTemplateIds?: Array<string>;
|
|
7253
7990
|
}
|
|
7254
7991
|
/**
|
|
7255
7992
|
* DescribeDBInstanceCharset返回参数结构体
|
|
@@ -7517,61 +8254,25 @@ export interface DescribeUploadedFilesResponse {
|
|
|
7517
8254
|
RequestId?: string;
|
|
7518
8255
|
}
|
|
7519
8256
|
/**
|
|
7520
|
-
*
|
|
8257
|
+
* InitDBInstances请求参数结构体
|
|
7521
8258
|
*/
|
|
7522
|
-
export interface
|
|
7523
|
-
/**
|
|
7524
|
-
* 实例时长,单位:月,最小值 1,最大值为 36;查询按量计费价格时,该字段无效。
|
|
7525
|
-
*/
|
|
7526
|
-
Period: number;
|
|
7527
|
-
/**
|
|
7528
|
-
* 可用区信息,格式如 "ap-guangzhou-2"。具体能设置的值请通过 <a href="https://cloud.tencent.com/document/api/236/17229">DescribeDBZoneConfig</a> 接口查询。InstanceId为空时该参数为必填项。
|
|
7529
|
-
*/
|
|
7530
|
-
Zone?: string;
|
|
7531
|
-
/**
|
|
7532
|
-
* 实例数量,默认值为 1,最小值 1,最大值为 100。InstanceId为空时该参数为必填项。
|
|
7533
|
-
*/
|
|
7534
|
-
GoodsNum?: number;
|
|
7535
|
-
/**
|
|
7536
|
-
* 实例内存大小,单位:MB。InstanceId为空时该参数为必填项。
|
|
7537
|
-
*/
|
|
7538
|
-
Memory?: number;
|
|
7539
|
-
/**
|
|
7540
|
-
* 实例硬盘大小,单位:GB。InstanceId为空时该参数为必填项。
|
|
7541
|
-
*/
|
|
7542
|
-
Volume?: number;
|
|
7543
|
-
/**
|
|
7544
|
-
* 实例类型,默认为 master,支持值包括:master - 表示主实例,ro - 表示只读实例,dr - 表示灾备实例。InstanceId为空时该参数为必填项。
|
|
7545
|
-
*/
|
|
7546
|
-
InstanceRole?: string;
|
|
7547
|
-
/**
|
|
7548
|
-
* 付费类型,支持值包括:PRE_PAID - 包年包月,HOUR_PAID - 按量计费。InstanceId为空时该参数为必填项。
|
|
7549
|
-
*/
|
|
7550
|
-
PayType?: string;
|
|
7551
|
-
/**
|
|
7552
|
-
* 数据复制方式,默认为 0,支持值包括:0 - 表示异步复制,1 - 表示半同步复制,2 - 表示强同步复制。
|
|
7553
|
-
*/
|
|
7554
|
-
ProtectMode?: number;
|
|
7555
|
-
/**
|
|
7556
|
-
* 实例隔离类型。支持值包括: "UNIVERSAL" - 通用型实例, "EXCLUSIVE" - 独享型实例, "BASIC" - 基础版实例。 不指定则默认为通用型实例。
|
|
7557
|
-
*/
|
|
7558
|
-
DeviceType?: string;
|
|
8259
|
+
export interface InitDBInstancesRequest {
|
|
7559
8260
|
/**
|
|
7560
|
-
*
|
|
8261
|
+
* 实例ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同,可使用[查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
|
|
7561
8262
|
*/
|
|
7562
|
-
|
|
8263
|
+
InstanceIds: Array<string>;
|
|
7563
8264
|
/**
|
|
7564
|
-
*
|
|
8265
|
+
* 实例新的密码,密码规则:8-64个字符,至少包含字母、数字、字符(支持的字符:!@#$%^*())中的两种。
|
|
7565
8266
|
*/
|
|
7566
|
-
|
|
8267
|
+
NewPassword: string;
|
|
7567
8268
|
/**
|
|
7568
|
-
*
|
|
8269
|
+
* 实例的参数列表,目前支持设置“character_set_server”、“lower_case_table_names”参数。其中,“character_set_server”参数可选值为["utf8","latin1","gbk","utf8mb4"];“lower_case_table_names”可选值为[“0”,“1”]。
|
|
7569
8270
|
*/
|
|
7570
|
-
|
|
8271
|
+
Parameters: Array<ParamInfo>;
|
|
7571
8272
|
/**
|
|
7572
|
-
*
|
|
8273
|
+
* 实例的端口,取值范围为[1024, 65535]
|
|
7573
8274
|
*/
|
|
7574
|
-
|
|
8275
|
+
Vport?: number;
|
|
7575
8276
|
}
|
|
7576
8277
|
/**
|
|
7577
8278
|
* CreateBackup返回参数结构体
|
|
@@ -7587,13 +8288,17 @@ export interface CreateBackupResponse {
|
|
|
7587
8288
|
RequestId?: string;
|
|
7588
8289
|
}
|
|
7589
8290
|
/**
|
|
7590
|
-
*
|
|
8291
|
+
* CPU负载
|
|
7591
8292
|
*/
|
|
7592
|
-
export interface
|
|
8293
|
+
export interface DeviceCpuInfo {
|
|
7593
8294
|
/**
|
|
7594
|
-
* 实例
|
|
8295
|
+
* 实例CPU平均使用率
|
|
7595
8296
|
*/
|
|
7596
|
-
|
|
8297
|
+
Rate: Array<DeviceCpuRateInfo>;
|
|
8298
|
+
/**
|
|
8299
|
+
* 实例CPU监控数据
|
|
8300
|
+
*/
|
|
8301
|
+
Load: Array<number>;
|
|
7597
8302
|
}
|
|
7598
8303
|
/**
|
|
7599
8304
|
* OpenDBInstanceEncryption返回参数结构体
|
|
@@ -7820,6 +8525,20 @@ export interface BaseGroupInfo {
|
|
|
7820
8525
|
*/
|
|
7821
8526
|
SupportUpgradeProxyVersion: string;
|
|
7822
8527
|
}
|
|
8528
|
+
/**
|
|
8529
|
+
* AdjustCdbProxy返回参数结构体
|
|
8530
|
+
*/
|
|
8531
|
+
export interface AdjustCdbProxyResponse {
|
|
8532
|
+
/**
|
|
8533
|
+
* 异步任务ID
|
|
8534
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8535
|
+
*/
|
|
8536
|
+
AsyncRequestId: string;
|
|
8537
|
+
/**
|
|
8538
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8539
|
+
*/
|
|
8540
|
+
RequestId?: string;
|
|
8541
|
+
}
|
|
7823
8542
|
/**
|
|
7824
8543
|
* DescribeBackupEncryptionStatus请求参数结构体
|
|
7825
8544
|
*/
|
|
@@ -7873,6 +8592,15 @@ export interface AuditLogFile {
|
|
|
7873
8592
|
*/
|
|
7874
8593
|
ErrMsg: string;
|
|
7875
8594
|
}
|
|
8595
|
+
/**
|
|
8596
|
+
* CloseCdbProxyAddress返回参数结构体
|
|
8597
|
+
*/
|
|
8598
|
+
export interface CloseCdbProxyAddressResponse {
|
|
8599
|
+
/**
|
|
8600
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8601
|
+
*/
|
|
8602
|
+
RequestId?: string;
|
|
8603
|
+
}
|
|
7876
8604
|
/**
|
|
7877
8605
|
* 用于回档的数据库表详情
|
|
7878
8606
|
*/
|
|
@@ -8046,44 +8774,21 @@ export interface RestartDBInstancesRequest {
|
|
|
8046
8774
|
InstanceIds: Array<string>;
|
|
8047
8775
|
}
|
|
8048
8776
|
/**
|
|
8049
|
-
*
|
|
8777
|
+
* 审计日志聚合条件
|
|
8050
8778
|
*/
|
|
8051
|
-
export interface
|
|
8052
|
-
/**
|
|
8053
|
-
* 置放群组 ID。
|
|
8054
|
-
*/
|
|
8055
|
-
DeployGroupId: string;
|
|
8056
|
-
/**
|
|
8057
|
-
* 置放群组名称。
|
|
8058
|
-
*/
|
|
8059
|
-
DeployGroupName: string;
|
|
8060
|
-
/**
|
|
8061
|
-
* 创建时间。
|
|
8062
|
-
*/
|
|
8063
|
-
CreateTime: string;
|
|
8064
|
-
/**
|
|
8065
|
-
* 置放群组实例配额,表示一个置放群组中可容纳的最大实例数目。
|
|
8066
|
-
*/
|
|
8067
|
-
Quota: number;
|
|
8068
|
-
/**
|
|
8069
|
-
* 置放群组亲和性策略,目前仅支持策略1,即在物理机纬度打散实例的分布。
|
|
8070
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8071
|
-
*/
|
|
8072
|
-
Affinity: string;
|
|
8779
|
+
export interface AggregationCondition {
|
|
8073
8780
|
/**
|
|
8074
|
-
*
|
|
8075
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8781
|
+
* 聚合字段。目前仅支持host-源IP、user-用户名、dbName-数据库名、sqlType-sql类型。
|
|
8076
8782
|
*/
|
|
8077
|
-
|
|
8783
|
+
AggregationField: string;
|
|
8078
8784
|
/**
|
|
8079
|
-
*
|
|
8785
|
+
* 偏移量。
|
|
8080
8786
|
*/
|
|
8081
|
-
|
|
8787
|
+
Offset?: number;
|
|
8082
8788
|
/**
|
|
8083
|
-
*
|
|
8084
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8789
|
+
* 该聚合字段下要返回聚合桶的数量,最大100。
|
|
8085
8790
|
*/
|
|
8086
|
-
|
|
8791
|
+
Limit?: number;
|
|
8087
8792
|
}
|
|
8088
8793
|
/**
|
|
8089
8794
|
* ModifyRemoteBackupConfig请求参数结构体
|