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
|
@@ -267,6 +267,62 @@ export interface DescribeDatabasesRequest {
|
|
|
267
267
|
DatabaseRegexp?: string
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
+
/**
|
|
271
|
+
* CreateCdbProxy请求参数结构体
|
|
272
|
+
*/
|
|
273
|
+
export interface CreateCdbProxyRequest {
|
|
274
|
+
/**
|
|
275
|
+
* 实例ID
|
|
276
|
+
*/
|
|
277
|
+
InstanceId: string
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* 私有网络ID
|
|
281
|
+
*/
|
|
282
|
+
UniqVpcId: string
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* 私有子网ID
|
|
286
|
+
*/
|
|
287
|
+
UniqSubnetId: string
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* 节点规格配置
|
|
291
|
+
*/
|
|
292
|
+
ProxyNodeCustom: Array<ProxyNodeCustom>
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* 安全组
|
|
296
|
+
*/
|
|
297
|
+
SecurityGroup?: Array<string>
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* 描述
|
|
301
|
+
*/
|
|
302
|
+
Desc?: string
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* 连接池阈值
|
|
306
|
+
*/
|
|
307
|
+
ConnectionPoolLimit?: number
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* CreateCdbProxy返回参数结构体
|
|
312
|
+
*/
|
|
313
|
+
export interface CreateCdbProxyResponse {
|
|
314
|
+
/**
|
|
315
|
+
* 异步任务ID
|
|
316
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
317
|
+
*/
|
|
318
|
+
AsyncRequestId: string
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
322
|
+
*/
|
|
323
|
+
RequestId?: string
|
|
324
|
+
}
|
|
325
|
+
|
|
270
326
|
/**
|
|
271
327
|
* proxy读写分离信息
|
|
272
328
|
*/
|
|
@@ -376,6 +432,22 @@ export interface ModifyBackupDownloadRestrictionResponse {
|
|
|
376
432
|
RequestId?: string
|
|
377
433
|
}
|
|
378
434
|
|
|
435
|
+
/**
|
|
436
|
+
* StartReplication返回参数结构体
|
|
437
|
+
*/
|
|
438
|
+
export interface StartReplicationResponse {
|
|
439
|
+
/**
|
|
440
|
+
* 异步任务 ID。
|
|
441
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
442
|
+
*/
|
|
443
|
+
AsyncRequestId: string
|
|
444
|
+
|
|
445
|
+
/**
|
|
446
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
447
|
+
*/
|
|
448
|
+
RequestId?: string
|
|
449
|
+
}
|
|
450
|
+
|
|
379
451
|
/**
|
|
380
452
|
* ModifyTimeWindow返回参数结构体
|
|
381
453
|
*/
|
|
@@ -716,6 +788,16 @@ export interface DescribeParamTemplateInfoRequest {
|
|
|
716
788
|
TemplateId: number
|
|
717
789
|
}
|
|
718
790
|
|
|
791
|
+
/**
|
|
792
|
+
* ModifyCdbProxyAddressVipAndVPort返回参数结构体
|
|
793
|
+
*/
|
|
794
|
+
export interface ModifyCdbProxyAddressVipAndVPortResponse {
|
|
795
|
+
/**
|
|
796
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
797
|
+
*/
|
|
798
|
+
RequestId?: string
|
|
799
|
+
}
|
|
800
|
+
|
|
719
801
|
/**
|
|
720
802
|
* DescribeDBInstances请求参数结构体
|
|
721
803
|
*/
|
|
@@ -896,6 +978,26 @@ export interface DescribeDBInstancesRequest {
|
|
|
896
978
|
EngineTypes?: Array<string>
|
|
897
979
|
}
|
|
898
980
|
|
|
981
|
+
/**
|
|
982
|
+
* ModifyCdbProxyAddressDesc请求参数结构体
|
|
983
|
+
*/
|
|
984
|
+
export interface ModifyCdbProxyAddressDescRequest {
|
|
985
|
+
/**
|
|
986
|
+
* 代理组ID
|
|
987
|
+
*/
|
|
988
|
+
ProxyGroupId: string
|
|
989
|
+
|
|
990
|
+
/**
|
|
991
|
+
* 代理组地址ID
|
|
992
|
+
*/
|
|
993
|
+
ProxyAddressId: string
|
|
994
|
+
|
|
995
|
+
/**
|
|
996
|
+
* 描述
|
|
997
|
+
*/
|
|
998
|
+
Desc?: string
|
|
999
|
+
}
|
|
1000
|
+
|
|
899
1001
|
/**
|
|
900
1002
|
* 表名
|
|
901
1003
|
*/
|
|
@@ -946,6 +1048,22 @@ export interface DescribeRoGroupsRequest {
|
|
|
946
1048
|
InstanceId: string
|
|
947
1049
|
}
|
|
948
1050
|
|
|
1051
|
+
/**
|
|
1052
|
+
* CreateCdbProxyAddress返回参数结构体
|
|
1053
|
+
*/
|
|
1054
|
+
export interface CreateCdbProxyAddressResponse {
|
|
1055
|
+
/**
|
|
1056
|
+
* 异步任务ID
|
|
1057
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1058
|
+
*/
|
|
1059
|
+
AsyncRequestId: string
|
|
1060
|
+
|
|
1061
|
+
/**
|
|
1062
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1063
|
+
*/
|
|
1064
|
+
RequestId?: string
|
|
1065
|
+
}
|
|
1066
|
+
|
|
949
1067
|
/**
|
|
950
1068
|
* 用于回档的数据库表名
|
|
951
1069
|
*/
|
|
@@ -974,13 +1092,13 @@ export interface CloseWanServiceRequest {
|
|
|
974
1092
|
}
|
|
975
1093
|
|
|
976
1094
|
/**
|
|
977
|
-
*
|
|
1095
|
+
* DescribeAuditConfig请求参数结构体
|
|
978
1096
|
*/
|
|
979
|
-
export interface
|
|
1097
|
+
export interface DescribeAuditConfigRequest {
|
|
980
1098
|
/**
|
|
981
|
-
*
|
|
1099
|
+
* 实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
|
982
1100
|
*/
|
|
983
|
-
|
|
1101
|
+
InstanceId: string
|
|
984
1102
|
}
|
|
985
1103
|
|
|
986
1104
|
/**
|
|
@@ -1063,6 +1181,97 @@ export interface StopRollbackResponse {
|
|
|
1063
1181
|
RequestId?: string
|
|
1064
1182
|
}
|
|
1065
1183
|
|
|
1184
|
+
/**
|
|
1185
|
+
* CreateCdbProxyAddress请求参数结构体
|
|
1186
|
+
*/
|
|
1187
|
+
export interface CreateCdbProxyAddressRequest {
|
|
1188
|
+
/**
|
|
1189
|
+
* 代理组ID
|
|
1190
|
+
*/
|
|
1191
|
+
ProxyGroupId: string
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* 权重分配模式,
|
|
1195
|
+
系统自动分配:"system", 自定义:"custom"
|
|
1196
|
+
*/
|
|
1197
|
+
WeightMode: string
|
|
1198
|
+
|
|
1199
|
+
/**
|
|
1200
|
+
* 是否开启延迟剔除,取值:"true" | "false"
|
|
1201
|
+
*/
|
|
1202
|
+
IsKickOut: boolean
|
|
1203
|
+
|
|
1204
|
+
/**
|
|
1205
|
+
* 最小保留数量,最小取值:0
|
|
1206
|
+
*/
|
|
1207
|
+
MinCount: number
|
|
1208
|
+
|
|
1209
|
+
/**
|
|
1210
|
+
* 延迟剔除阈值,最小取值:0
|
|
1211
|
+
*/
|
|
1212
|
+
MaxDelay: number
|
|
1213
|
+
|
|
1214
|
+
/**
|
|
1215
|
+
* 是否开启故障转移,取值:"true" | "false"
|
|
1216
|
+
*/
|
|
1217
|
+
FailOver: boolean
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
* 是否自动添加RO,取值:"true" | "false"
|
|
1221
|
+
*/
|
|
1222
|
+
AutoAddRo: boolean
|
|
1223
|
+
|
|
1224
|
+
/**
|
|
1225
|
+
* 是否是只读,取值:"true" | "false"
|
|
1226
|
+
*/
|
|
1227
|
+
ReadOnly: boolean
|
|
1228
|
+
|
|
1229
|
+
/**
|
|
1230
|
+
* 是否开启事务分离,取值:"true" | "false"
|
|
1231
|
+
*/
|
|
1232
|
+
TransSplit: boolean
|
|
1233
|
+
|
|
1234
|
+
/**
|
|
1235
|
+
* 读写权重分配
|
|
1236
|
+
*/
|
|
1237
|
+
ProxyAllocation: Array<ProxyAllocation>
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* 私有网络ID
|
|
1241
|
+
*/
|
|
1242
|
+
UniqVpcId: string
|
|
1243
|
+
|
|
1244
|
+
/**
|
|
1245
|
+
* 私有子网ID
|
|
1246
|
+
*/
|
|
1247
|
+
UniqSubnetId: string
|
|
1248
|
+
|
|
1249
|
+
/**
|
|
1250
|
+
* 是否开启连接池
|
|
1251
|
+
*/
|
|
1252
|
+
ConnectionPool?: boolean
|
|
1253
|
+
|
|
1254
|
+
/**
|
|
1255
|
+
* 描述
|
|
1256
|
+
*/
|
|
1257
|
+
Desc?: string
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* IP地址
|
|
1261
|
+
*/
|
|
1262
|
+
Vip?: string
|
|
1263
|
+
|
|
1264
|
+
/**
|
|
1265
|
+
* 端口
|
|
1266
|
+
*/
|
|
1267
|
+
VPort?: number
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* 安全组
|
|
1271
|
+
*/
|
|
1272
|
+
SecurityGroup?: Array<string>
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1066
1275
|
/**
|
|
1067
1276
|
* AnalyzeAuditLogs请求参数结构体
|
|
1068
1277
|
*/
|
|
@@ -1153,6 +1362,26 @@ export interface StopDBImportJobResponse {
|
|
|
1153
1362
|
RequestId?: string
|
|
1154
1363
|
}
|
|
1155
1364
|
|
|
1365
|
+
/**
|
|
1366
|
+
* 代理节点权重分布
|
|
1367
|
+
*/
|
|
1368
|
+
export interface ProxyAllocation {
|
|
1369
|
+
/**
|
|
1370
|
+
* 代理节点所属地域
|
|
1371
|
+
*/
|
|
1372
|
+
Region: string
|
|
1373
|
+
|
|
1374
|
+
/**
|
|
1375
|
+
* 代理节点所属可用区
|
|
1376
|
+
*/
|
|
1377
|
+
Zone: string
|
|
1378
|
+
|
|
1379
|
+
/**
|
|
1380
|
+
* 代理实例分布
|
|
1381
|
+
*/
|
|
1382
|
+
ProxyInstance: Array<ProxyInst>
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1156
1385
|
/**
|
|
1157
1386
|
* ModifyDBInstanceName请求参数结构体
|
|
1158
1387
|
*/
|
|
@@ -1193,45 +1422,6 @@ export interface ModifyAuditRuleResponse {
|
|
|
1193
1422
|
RequestId?: string
|
|
1194
1423
|
}
|
|
1195
1424
|
|
|
1196
|
-
/**
|
|
1197
|
-
* OpenAuditService请求参数结构体
|
|
1198
|
-
*/
|
|
1199
|
-
export interface OpenAuditServiceRequest {
|
|
1200
|
-
/**
|
|
1201
|
-
* CDB实例ID
|
|
1202
|
-
*/
|
|
1203
|
-
InstanceId: string
|
|
1204
|
-
|
|
1205
|
-
/**
|
|
1206
|
-
* 审计日志保存时长。支持值包括:
|
|
1207
|
-
7 - 一周
|
|
1208
|
-
30 - 一个月;
|
|
1209
|
-
90 - 三个月;
|
|
1210
|
-
180 - 六个月;
|
|
1211
|
-
365 - 一年;
|
|
1212
|
-
1095 - 三年;
|
|
1213
|
-
1825 - 五年;
|
|
1214
|
-
*/
|
|
1215
|
-
LogExpireDay: number
|
|
1216
|
-
|
|
1217
|
-
/**
|
|
1218
|
-
* 高频审计日志保存时长。支持值包括:
|
|
1219
|
-
7 - 一周
|
|
1220
|
-
30 - 一个月;
|
|
1221
|
-
*/
|
|
1222
|
-
HighLogExpireDay?: number
|
|
1223
|
-
|
|
1224
|
-
/**
|
|
1225
|
-
* 审计规则。同RuleTemplateIds都不填是全审计。
|
|
1226
|
-
*/
|
|
1227
|
-
AuditRuleFilters?: Array<AuditRuleFilters>
|
|
1228
|
-
|
|
1229
|
-
/**
|
|
1230
|
-
* 规则模版ID。同AuditRuleFilters都不填是全审计。
|
|
1231
|
-
*/
|
|
1232
|
-
RuleTemplateIds?: Array<string>
|
|
1233
|
-
}
|
|
1234
|
-
|
|
1235
1425
|
/**
|
|
1236
1426
|
* DescribeAuditRules请求参数结构体
|
|
1237
1427
|
*/
|
|
@@ -1289,6 +1479,70 @@ export interface ErrlogItem {
|
|
|
1289
1479
|
Content: string
|
|
1290
1480
|
}
|
|
1291
1481
|
|
|
1482
|
+
/**
|
|
1483
|
+
* 代理组详情
|
|
1484
|
+
*/
|
|
1485
|
+
export interface ProxyGroupInfo {
|
|
1486
|
+
/**
|
|
1487
|
+
* 代理组ID
|
|
1488
|
+
*/
|
|
1489
|
+
ProxyGroupId: string
|
|
1490
|
+
|
|
1491
|
+
/**
|
|
1492
|
+
* 代理版本
|
|
1493
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1494
|
+
*/
|
|
1495
|
+
ProxyVersion: string
|
|
1496
|
+
|
|
1497
|
+
/**
|
|
1498
|
+
* 代理支持升级版本
|
|
1499
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1500
|
+
*/
|
|
1501
|
+
SupportUpgradeProxyVersion: string
|
|
1502
|
+
|
|
1503
|
+
/**
|
|
1504
|
+
* 代理状态
|
|
1505
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1506
|
+
*/
|
|
1507
|
+
Status: string
|
|
1508
|
+
|
|
1509
|
+
/**
|
|
1510
|
+
* 代理任务状态
|
|
1511
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1512
|
+
*/
|
|
1513
|
+
TaskStatus: string
|
|
1514
|
+
|
|
1515
|
+
/**
|
|
1516
|
+
* 代理组节点信息
|
|
1517
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1518
|
+
*/
|
|
1519
|
+
ProxyNode: Array<ProxyNode>
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* 代理组地址信息
|
|
1523
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1524
|
+
*/
|
|
1525
|
+
ProxyAddress: Array<ProxyAddress>
|
|
1526
|
+
|
|
1527
|
+
/**
|
|
1528
|
+
* 连接池阈值
|
|
1529
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1530
|
+
*/
|
|
1531
|
+
ConnectionPoolLimit: number
|
|
1532
|
+
|
|
1533
|
+
/**
|
|
1534
|
+
* 支持创建地址
|
|
1535
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1536
|
+
*/
|
|
1537
|
+
SupportCreateProxyAddress: boolean
|
|
1538
|
+
|
|
1539
|
+
/**
|
|
1540
|
+
* 支持升级代理版本所需的cdb版本
|
|
1541
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1542
|
+
*/
|
|
1543
|
+
SupportUpgradeProxyMysqlVersion: string
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1292
1546
|
/**
|
|
1293
1547
|
* AssociateSecurityGroups返回参数结构体
|
|
1294
1548
|
*/
|
|
@@ -1504,6 +1758,53 @@ export interface DescribeBackupTablesRequest {
|
|
|
1504
1758
|
Limit?: number
|
|
1505
1759
|
}
|
|
1506
1760
|
|
|
1761
|
+
/**
|
|
1762
|
+
* 代理节点
|
|
1763
|
+
*/
|
|
1764
|
+
export interface ProxyNode {
|
|
1765
|
+
/**
|
|
1766
|
+
* 代理节点ID
|
|
1767
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1768
|
+
*/
|
|
1769
|
+
ProxyId: string
|
|
1770
|
+
|
|
1771
|
+
/**
|
|
1772
|
+
* CPU核数
|
|
1773
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1774
|
+
*/
|
|
1775
|
+
Cpu: number
|
|
1776
|
+
|
|
1777
|
+
/**
|
|
1778
|
+
* 内存大小
|
|
1779
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1780
|
+
*/
|
|
1781
|
+
Mem: number
|
|
1782
|
+
|
|
1783
|
+
/**
|
|
1784
|
+
* 节点状态
|
|
1785
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1786
|
+
*/
|
|
1787
|
+
Status: string
|
|
1788
|
+
|
|
1789
|
+
/**
|
|
1790
|
+
* 代理节点可用区
|
|
1791
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1792
|
+
*/
|
|
1793
|
+
Zone: string
|
|
1794
|
+
|
|
1795
|
+
/**
|
|
1796
|
+
* 代理节点地域
|
|
1797
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1798
|
+
*/
|
|
1799
|
+
Region: string
|
|
1800
|
+
|
|
1801
|
+
/**
|
|
1802
|
+
* 连接数
|
|
1803
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1804
|
+
*/
|
|
1805
|
+
Connection: number
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1507
1808
|
/**
|
|
1508
1809
|
* DescribeCdbZoneConfig返回参数结构体
|
|
1509
1810
|
*/
|
|
@@ -1665,15 +1966,9 @@ export interface ModifyParamTemplateRequest {
|
|
|
1665
1966
|
}
|
|
1666
1967
|
|
|
1667
1968
|
/**
|
|
1668
|
-
*
|
|
1969
|
+
* OpenAuditService返回参数结构体
|
|
1669
1970
|
*/
|
|
1670
|
-
export interface
|
|
1671
|
-
/**
|
|
1672
|
-
* 异步任务 ID。
|
|
1673
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1674
|
-
*/
|
|
1675
|
-
AsyncRequestId: string
|
|
1676
|
-
|
|
1971
|
+
export interface OpenAuditServiceResponse {
|
|
1677
1972
|
/**
|
|
1678
1973
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1679
1974
|
*/
|
|
@@ -1750,44 +2045,19 @@ export interface DescribeBinlogBackupOverviewResponse {
|
|
|
1750
2045
|
BinlogArchiveCount: number
|
|
1751
2046
|
|
|
1752
2047
|
/**
|
|
1753
|
-
* 标准存储日志备份容量(单位为字节)。
|
|
1754
|
-
*/
|
|
1755
|
-
BinlogStandbyVolume: number
|
|
1756
|
-
|
|
1757
|
-
/**
|
|
1758
|
-
* 标准存储日志备份个数。
|
|
1759
|
-
*/
|
|
1760
|
-
BinlogStandbyCount: number
|
|
1761
|
-
|
|
1762
|
-
/**
|
|
1763
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1764
|
-
*/
|
|
1765
|
-
RequestId?: string
|
|
1766
|
-
}
|
|
1767
|
-
|
|
1768
|
-
/**
|
|
1769
|
-
* InitDBInstances请求参数结构体
|
|
1770
|
-
*/
|
|
1771
|
-
export interface InitDBInstancesRequest {
|
|
1772
|
-
/**
|
|
1773
|
-
* 实例ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同,可使用[查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
|
|
1774
|
-
*/
|
|
1775
|
-
InstanceIds: Array<string>
|
|
1776
|
-
|
|
1777
|
-
/**
|
|
1778
|
-
* 实例新的密码,密码规则:8-64个字符,至少包含字母、数字、字符(支持的字符:!@#$%^*())中的两种。
|
|
2048
|
+
* 标准存储日志备份容量(单位为字节)。
|
|
1779
2049
|
*/
|
|
1780
|
-
|
|
2050
|
+
BinlogStandbyVolume: number
|
|
1781
2051
|
|
|
1782
2052
|
/**
|
|
1783
|
-
*
|
|
2053
|
+
* 标准存储日志备份个数。
|
|
1784
2054
|
*/
|
|
1785
|
-
|
|
2055
|
+
BinlogStandbyCount: number
|
|
1786
2056
|
|
|
1787
2057
|
/**
|
|
1788
|
-
*
|
|
2058
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1789
2059
|
*/
|
|
1790
|
-
|
|
2060
|
+
RequestId?: string
|
|
1791
2061
|
}
|
|
1792
2062
|
|
|
1793
2063
|
/**
|
|
@@ -1842,6 +2112,46 @@ export interface ModifyCDBProxyConnectionPoolRequest {
|
|
|
1842
2112
|
PoolConnectionTimeOut?: number
|
|
1843
2113
|
}
|
|
1844
2114
|
|
|
2115
|
+
/**
|
|
2116
|
+
* ModifyCdbProxyAddressVipAndVPort请求参数结构体
|
|
2117
|
+
*/
|
|
2118
|
+
export interface ModifyCdbProxyAddressVipAndVPortRequest {
|
|
2119
|
+
/**
|
|
2120
|
+
* 代理组ID
|
|
2121
|
+
*/
|
|
2122
|
+
ProxyGroupId: string
|
|
2123
|
+
|
|
2124
|
+
/**
|
|
2125
|
+
* 代理组地址ID
|
|
2126
|
+
*/
|
|
2127
|
+
ProxyAddressId: string
|
|
2128
|
+
|
|
2129
|
+
/**
|
|
2130
|
+
* 私有网络ID
|
|
2131
|
+
*/
|
|
2132
|
+
UniqVpcId: string
|
|
2133
|
+
|
|
2134
|
+
/**
|
|
2135
|
+
* 私有子网ID
|
|
2136
|
+
*/
|
|
2137
|
+
UniqSubnetId: string
|
|
2138
|
+
|
|
2139
|
+
/**
|
|
2140
|
+
* IP地址
|
|
2141
|
+
*/
|
|
2142
|
+
Vip?: string
|
|
2143
|
+
|
|
2144
|
+
/**
|
|
2145
|
+
* 端口
|
|
2146
|
+
*/
|
|
2147
|
+
VPort?: number
|
|
2148
|
+
|
|
2149
|
+
/**
|
|
2150
|
+
* 旧IP地址回收时间
|
|
2151
|
+
*/
|
|
2152
|
+
ReleaseDuration?: number
|
|
2153
|
+
}
|
|
2154
|
+
|
|
1845
2155
|
/**
|
|
1846
2156
|
* ModifyAutoRenewFlag请求参数结构体
|
|
1847
2157
|
*/
|
|
@@ -2313,6 +2623,21 @@ export interface DescribeBinlogsRequest {
|
|
|
2313
2623
|
Limit?: number
|
|
2314
2624
|
}
|
|
2315
2625
|
|
|
2626
|
+
/**
|
|
2627
|
+
* DescribeCdbProxyInfo请求参数结构体
|
|
2628
|
+
*/
|
|
2629
|
+
export interface DescribeCdbProxyInfoRequest {
|
|
2630
|
+
/**
|
|
2631
|
+
* 实例ID
|
|
2632
|
+
*/
|
|
2633
|
+
InstanceId: string
|
|
2634
|
+
|
|
2635
|
+
/**
|
|
2636
|
+
* 代理组ID
|
|
2637
|
+
*/
|
|
2638
|
+
ProxyGroupId?: string
|
|
2639
|
+
}
|
|
2640
|
+
|
|
2316
2641
|
/**
|
|
2317
2642
|
* 用于回档的数据库名
|
|
2318
2643
|
*/
|
|
@@ -3176,6 +3501,16 @@ export interface CreateAuditLogFileResponse {
|
|
|
3176
3501
|
RequestId?: string
|
|
3177
3502
|
}
|
|
3178
3503
|
|
|
3504
|
+
/**
|
|
3505
|
+
* ModifyCdbProxyParam返回参数结构体
|
|
3506
|
+
*/
|
|
3507
|
+
export interface ModifyCdbProxyParamResponse {
|
|
3508
|
+
/**
|
|
3509
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3510
|
+
*/
|
|
3511
|
+
RequestId?: string
|
|
3512
|
+
}
|
|
3513
|
+
|
|
3179
3514
|
/**
|
|
3180
3515
|
* ModifyInstanceTag返回参数结构体
|
|
3181
3516
|
*/
|
|
@@ -3308,6 +3643,16 @@ export interface ParamTemplateInfo {
|
|
|
3308
3643
|
TemplateType: string
|
|
3309
3644
|
}
|
|
3310
3645
|
|
|
3646
|
+
/**
|
|
3647
|
+
* ModifyCdbProxyAddressDesc返回参数结构体
|
|
3648
|
+
*/
|
|
3649
|
+
export interface ModifyCdbProxyAddressDescResponse {
|
|
3650
|
+
/**
|
|
3651
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3652
|
+
*/
|
|
3653
|
+
RequestId?: string
|
|
3654
|
+
}
|
|
3655
|
+
|
|
3311
3656
|
/**
|
|
3312
3657
|
* DeleteTimeWindow返回参数结构体
|
|
3313
3658
|
*/
|
|
@@ -3616,18 +3961,13 @@ export interface CreateCloneInstanceResponse {
|
|
|
3616
3961
|
export type DescribeCdbZoneConfigRequest = null
|
|
3617
3962
|
|
|
3618
3963
|
/**
|
|
3619
|
-
*
|
|
3964
|
+
* OpenDBInstanceGTID请求参数结构体
|
|
3620
3965
|
*/
|
|
3621
|
-
export interface
|
|
3622
|
-
/**
|
|
3623
|
-
* 实例CPU平均使用率
|
|
3624
|
-
*/
|
|
3625
|
-
Rate: Array<DeviceCpuRateInfo>
|
|
3626
|
-
|
|
3966
|
+
export interface OpenDBInstanceGTIDRequest {
|
|
3627
3967
|
/**
|
|
3628
|
-
* 实例
|
|
3968
|
+
* 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
|
3629
3969
|
*/
|
|
3630
|
-
|
|
3970
|
+
InstanceId: string
|
|
3631
3971
|
}
|
|
3632
3972
|
|
|
3633
3973
|
/**
|
|
@@ -3761,60 +4101,83 @@ export interface DescribeDeviceMonitorInfoRequest {
|
|
|
3761
4101
|
}
|
|
3762
4102
|
|
|
3763
4103
|
/**
|
|
3764
|
-
*
|
|
4104
|
+
* StopDBImportJob请求参数结构体
|
|
3765
4105
|
*/
|
|
3766
|
-
export interface
|
|
4106
|
+
export interface StopDBImportJobRequest {
|
|
3767
4107
|
/**
|
|
3768
|
-
* 异步任务的请求ID
|
|
4108
|
+
* 异步任务的请求 ID。
|
|
3769
4109
|
*/
|
|
3770
4110
|
AsyncRequestId: string
|
|
3771
|
-
|
|
3772
|
-
/**
|
|
3773
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3774
|
-
*/
|
|
3775
|
-
RequestId?: string
|
|
3776
4111
|
}
|
|
3777
4112
|
|
|
3778
4113
|
/**
|
|
3779
|
-
*
|
|
4114
|
+
* DescribeDBPrice请求参数结构体
|
|
3780
4115
|
*/
|
|
3781
|
-
export interface
|
|
4116
|
+
export interface DescribeDBPriceRequest {
|
|
3782
4117
|
/**
|
|
3783
|
-
*
|
|
4118
|
+
* 实例时长,单位:月,最小值 1,最大值为 36;查询按量计费价格时,该字段无效。
|
|
3784
4119
|
*/
|
|
3785
|
-
|
|
4120
|
+
Period: number
|
|
3786
4121
|
|
|
3787
4122
|
/**
|
|
3788
|
-
*
|
|
4123
|
+
* 可用区信息,格式如 "ap-guangzhou-2"。具体能设置的值请通过 <a href="https://cloud.tencent.com/document/api/236/17229">DescribeDBZoneConfig</a> 接口查询。InstanceId为空时该参数为必填项。
|
|
3789
4124
|
*/
|
|
3790
|
-
|
|
4125
|
+
Zone?: string
|
|
3791
4126
|
|
|
3792
4127
|
/**
|
|
3793
|
-
*
|
|
4128
|
+
* 实例数量,默认值为 1,最小值 1,最大值为 100。InstanceId为空时该参数为必填项。
|
|
3794
4129
|
*/
|
|
3795
|
-
|
|
4130
|
+
GoodsNum?: number
|
|
3796
4131
|
|
|
3797
4132
|
/**
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
SlaveConfig: SlaveConfig
|
|
4133
|
+
* 实例内存大小,单位:MB。InstanceId为空时该参数为必填项。
|
|
4134
|
+
*/
|
|
4135
|
+
Memory?: number
|
|
3802
4136
|
|
|
3803
4137
|
/**
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
BackupConfig: BackupConfig
|
|
4138
|
+
* 实例硬盘大小,单位:GB。InstanceId为空时该参数为必填项。
|
|
4139
|
+
*/
|
|
4140
|
+
Volume?: number
|
|
3808
4141
|
|
|
3809
4142
|
/**
|
|
3810
|
-
*
|
|
4143
|
+
* 实例类型,默认为 master,支持值包括:master - 表示主实例,ro - 表示只读实例,dr - 表示灾备实例。InstanceId为空时该参数为必填项。
|
|
3811
4144
|
*/
|
|
3812
|
-
|
|
4145
|
+
InstanceRole?: string
|
|
3813
4146
|
|
|
3814
4147
|
/**
|
|
3815
|
-
*
|
|
4148
|
+
* 付费类型,支持值包括:PRE_PAID - 包年包月,HOUR_PAID - 按量计费。InstanceId为空时该参数为必填项。
|
|
3816
4149
|
*/
|
|
3817
|
-
|
|
4150
|
+
PayType?: string
|
|
4151
|
+
|
|
4152
|
+
/**
|
|
4153
|
+
* 数据复制方式,默认为 0,支持值包括:0 - 表示异步复制,1 - 表示半同步复制,2 - 表示强同步复制。
|
|
4154
|
+
*/
|
|
4155
|
+
ProtectMode?: number
|
|
4156
|
+
|
|
4157
|
+
/**
|
|
4158
|
+
* 实例隔离类型。支持值包括: "UNIVERSAL" - 通用型实例, "EXCLUSIVE" - 独享型实例, "BASIC" - 基础版实例。 不指定则默认为通用型实例。
|
|
4159
|
+
*/
|
|
4160
|
+
DeviceType?: string
|
|
4161
|
+
|
|
4162
|
+
/**
|
|
4163
|
+
* 实例节点数。对于 RO 和 基础版实例, 该值默认为1。 如果需要询价三节点实例, 请将该值设置为3。其余主实例该值默认为2。
|
|
4164
|
+
*/
|
|
4165
|
+
InstanceNodes?: number
|
|
4166
|
+
|
|
4167
|
+
/**
|
|
4168
|
+
* 询价实例的CPU核心数目,单位:核,为保证传入 CPU 值有效,请使用 [获取云数据库可售卖规格](https://cloud.tencent.com/document/product/236/17229) 接口获取可售卖的核心数目,当未指定该值时,将按照 Memory 大小补全一个默认值。
|
|
4169
|
+
*/
|
|
4170
|
+
Cpu?: number
|
|
4171
|
+
|
|
4172
|
+
/**
|
|
4173
|
+
* 询价续费实例ID。如需查询实例续费价格,填写InstanceId和Period即可。
|
|
4174
|
+
*/
|
|
4175
|
+
InstanceId?: string
|
|
4176
|
+
|
|
4177
|
+
/**
|
|
4178
|
+
* 按量计费阶梯。仅PayType=HOUR_PAID有效,支持值包括:1,2,3。阶梯时长见https://cloud.tencent.com/document/product/236/18335。
|
|
4179
|
+
*/
|
|
4180
|
+
Ladder?: number
|
|
3818
4181
|
}
|
|
3819
4182
|
|
|
3820
4183
|
/**
|
|
@@ -3960,6 +4323,21 @@ export interface ModifyAuditConfigResponse {
|
|
|
3960
4323
|
RequestId?: string
|
|
3961
4324
|
}
|
|
3962
4325
|
|
|
4326
|
+
/**
|
|
4327
|
+
* SwitchDrInstanceToMaster返回参数结构体
|
|
4328
|
+
*/
|
|
4329
|
+
export interface SwitchDrInstanceToMasterResponse {
|
|
4330
|
+
/**
|
|
4331
|
+
* 异步任务的请求ID,可使用此ID查询异步任务的执行结果。
|
|
4332
|
+
*/
|
|
4333
|
+
AsyncRequestId: string
|
|
4334
|
+
|
|
4335
|
+
/**
|
|
4336
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4337
|
+
*/
|
|
4338
|
+
RequestId?: string
|
|
4339
|
+
}
|
|
4340
|
+
|
|
3963
4341
|
/**
|
|
3964
4342
|
* ModifyDBInstanceName返回参数结构体
|
|
3965
4343
|
*/
|
|
@@ -4028,6 +4406,48 @@ export interface DescribeCloneListResponse {
|
|
|
4028
4406
|
RequestId?: string
|
|
4029
4407
|
}
|
|
4030
4408
|
|
|
4409
|
+
/**
|
|
4410
|
+
* DescribeDBInstanceConfig返回参数结构体
|
|
4411
|
+
*/
|
|
4412
|
+
export interface DescribeDBInstanceConfigResponse {
|
|
4413
|
+
/**
|
|
4414
|
+
* 主实例数据保护方式,可能的返回值:0 - 异步复制方式,1 - 半同步复制方式,2 - 强同步复制方式。
|
|
4415
|
+
*/
|
|
4416
|
+
ProtectMode: number
|
|
4417
|
+
|
|
4418
|
+
/**
|
|
4419
|
+
* 主实例部署方式,可能的返回值:0 - 单可用部署,1 - 多可用区部署。
|
|
4420
|
+
*/
|
|
4421
|
+
DeployMode: number
|
|
4422
|
+
|
|
4423
|
+
/**
|
|
4424
|
+
* 实例可用区信息,格式如 "ap-shanghai-1"。
|
|
4425
|
+
*/
|
|
4426
|
+
Zone: string
|
|
4427
|
+
|
|
4428
|
+
/**
|
|
4429
|
+
* 备库的配置信息。
|
|
4430
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4431
|
+
*/
|
|
4432
|
+
SlaveConfig: SlaveConfig
|
|
4433
|
+
|
|
4434
|
+
/**
|
|
4435
|
+
* 强同步实例第二备库的配置信息。
|
|
4436
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4437
|
+
*/
|
|
4438
|
+
BackupConfig: BackupConfig
|
|
4439
|
+
|
|
4440
|
+
/**
|
|
4441
|
+
* 是否切换备库。
|
|
4442
|
+
*/
|
|
4443
|
+
Switched: boolean
|
|
4444
|
+
|
|
4445
|
+
/**
|
|
4446
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4447
|
+
*/
|
|
4448
|
+
RequestId?: string
|
|
4449
|
+
}
|
|
4450
|
+
|
|
4031
4451
|
/**
|
|
4032
4452
|
* StartBatchRollback请求参数结构体
|
|
4033
4453
|
*/
|
|
@@ -4421,23 +4841,51 @@ export interface DisassociateSecurityGroupsResponse {
|
|
|
4421
4841
|
}
|
|
4422
4842
|
|
|
4423
4843
|
/**
|
|
4424
|
-
*
|
|
4844
|
+
* 置放群组信息
|
|
4425
4845
|
*/
|
|
4426
|
-
export interface
|
|
4846
|
+
export interface DeployGroupInfo {
|
|
4427
4847
|
/**
|
|
4428
|
-
*
|
|
4848
|
+
* 置放群组 ID。
|
|
4429
4849
|
*/
|
|
4430
|
-
|
|
4850
|
+
DeployGroupId: string
|
|
4431
4851
|
|
|
4432
4852
|
/**
|
|
4433
|
-
*
|
|
4853
|
+
* 置放群组名称。
|
|
4434
4854
|
*/
|
|
4435
|
-
|
|
4855
|
+
DeployGroupName: string
|
|
4856
|
+
|
|
4857
|
+
/**
|
|
4858
|
+
* 创建时间。
|
|
4859
|
+
*/
|
|
4860
|
+
CreateTime: string
|
|
4861
|
+
|
|
4862
|
+
/**
|
|
4863
|
+
* 置放群组实例配额,表示一个置放群组中可容纳的最大实例数目。
|
|
4864
|
+
*/
|
|
4865
|
+
Quota: number
|
|
4866
|
+
|
|
4867
|
+
/**
|
|
4868
|
+
* 置放群组亲和性策略,目前仅支持策略1,即在物理机纬度打散实例的分布。
|
|
4869
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4870
|
+
*/
|
|
4871
|
+
Affinity: string
|
|
4872
|
+
|
|
4873
|
+
/**
|
|
4874
|
+
* 置放群组亲和性策略1中,同台物理机上同个置放群组实例的限制个数。
|
|
4875
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4876
|
+
*/
|
|
4877
|
+
LimitNum: number
|
|
4436
4878
|
|
|
4437
4879
|
/**
|
|
4438
|
-
*
|
|
4880
|
+
* 置放群组详细信息。
|
|
4439
4881
|
*/
|
|
4440
|
-
|
|
4882
|
+
Description: string
|
|
4883
|
+
|
|
4884
|
+
/**
|
|
4885
|
+
* 置放群组物理机型属性。
|
|
4886
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4887
|
+
*/
|
|
4888
|
+
DevClass: string
|
|
4441
4889
|
}
|
|
4442
4890
|
|
|
4443
4891
|
/**
|
|
@@ -4475,16 +4923,6 @@ export interface InquiryPriceUpgradeInstancesResponse {
|
|
|
4475
4923
|
RequestId?: string
|
|
4476
4924
|
}
|
|
4477
4925
|
|
|
4478
|
-
/**
|
|
4479
|
-
* DescribeAuditConfig请求参数结构体
|
|
4480
|
-
*/
|
|
4481
|
-
export interface DescribeAuditConfigRequest {
|
|
4482
|
-
/**
|
|
4483
|
-
* 实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
|
4484
|
-
*/
|
|
4485
|
-
InstanceId: string
|
|
4486
|
-
}
|
|
4487
|
-
|
|
4488
4926
|
/**
|
|
4489
4927
|
* CreateDBInstance请求参数结构体
|
|
4490
4928
|
*/
|
|
@@ -5339,6 +5777,26 @@ export interface SwitchDrInstanceToMasterRequest {
|
|
|
5339
5777
|
InstanceId: string
|
|
5340
5778
|
}
|
|
5341
5779
|
|
|
5780
|
+
/**
|
|
5781
|
+
* ModifyCdbProxyParam请求参数结构体
|
|
5782
|
+
*/
|
|
5783
|
+
export interface ModifyCdbProxyParamRequest {
|
|
5784
|
+
/**
|
|
5785
|
+
* 实例ID
|
|
5786
|
+
*/
|
|
5787
|
+
InstanceId: string
|
|
5788
|
+
|
|
5789
|
+
/**
|
|
5790
|
+
* 代理组ID
|
|
5791
|
+
*/
|
|
5792
|
+
ProxyGroupId: string
|
|
5793
|
+
|
|
5794
|
+
/**
|
|
5795
|
+
* 连接池阈值
|
|
5796
|
+
*/
|
|
5797
|
+
ConnectionPoolLimit: number
|
|
5798
|
+
}
|
|
5799
|
+
|
|
5342
5800
|
/**
|
|
5343
5801
|
* 只读组参数
|
|
5344
5802
|
*/
|
|
@@ -5564,77 +6022,6 @@ export interface DescribeBackupDownloadRestrictionResponse {
|
|
|
5564
6022
|
RequestId?: string
|
|
5565
6023
|
}
|
|
5566
6024
|
|
|
5567
|
-
/**
|
|
5568
|
-
* 结构化的慢日志详情
|
|
5569
|
-
*/
|
|
5570
|
-
export interface SlowLogItem {
|
|
5571
|
-
/**
|
|
5572
|
-
* Sql的执行时间。
|
|
5573
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5574
|
-
*/
|
|
5575
|
-
Timestamp: number
|
|
5576
|
-
|
|
5577
|
-
/**
|
|
5578
|
-
* Sql的执行时长(秒)。
|
|
5579
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5580
|
-
*/
|
|
5581
|
-
QueryTime: number
|
|
5582
|
-
|
|
5583
|
-
/**
|
|
5584
|
-
* Sql语句。
|
|
5585
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5586
|
-
*/
|
|
5587
|
-
SqlText: string
|
|
5588
|
-
|
|
5589
|
-
/**
|
|
5590
|
-
* 客户端地址。
|
|
5591
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5592
|
-
*/
|
|
5593
|
-
UserHost: string
|
|
5594
|
-
|
|
5595
|
-
/**
|
|
5596
|
-
* 用户名。
|
|
5597
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5598
|
-
*/
|
|
5599
|
-
UserName: string
|
|
5600
|
-
|
|
5601
|
-
/**
|
|
5602
|
-
* 数据库名。
|
|
5603
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5604
|
-
*/
|
|
5605
|
-
Database: string
|
|
5606
|
-
|
|
5607
|
-
/**
|
|
5608
|
-
* 锁时长(秒)。
|
|
5609
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5610
|
-
*/
|
|
5611
|
-
LockTime: number
|
|
5612
|
-
|
|
5613
|
-
/**
|
|
5614
|
-
* 扫描行数。
|
|
5615
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5616
|
-
*/
|
|
5617
|
-
RowsExamined: number
|
|
5618
|
-
|
|
5619
|
-
/**
|
|
5620
|
-
* 结果集行数。
|
|
5621
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5622
|
-
*/
|
|
5623
|
-
RowsSent: number
|
|
5624
|
-
|
|
5625
|
-
/**
|
|
5626
|
-
* Sql模板。
|
|
5627
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5628
|
-
*/
|
|
5629
|
-
SqlTemplate: string
|
|
5630
|
-
|
|
5631
|
-
/**
|
|
5632
|
-
* Sql语句的md5。
|
|
5633
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5634
|
-
*/
|
|
5635
|
-
Md5: string
|
|
5636
|
-
}
|
|
5637
|
-
|
|
5638
6025
|
/**
|
|
5639
6026
|
* 克隆任务记录。
|
|
5640
6027
|
*/
|
|
@@ -5981,6 +6368,16 @@ export interface ModifyInstanceTagRequest {
|
|
|
5981
6368
|
DeleteTags?: Array<TagInfo>
|
|
5982
6369
|
}
|
|
5983
6370
|
|
|
6371
|
+
/**
|
|
6372
|
+
* DescribeProxySupportParam请求参数结构体
|
|
6373
|
+
*/
|
|
6374
|
+
export interface DescribeProxySupportParamRequest {
|
|
6375
|
+
/**
|
|
6376
|
+
* 实例ID
|
|
6377
|
+
*/
|
|
6378
|
+
InstanceId: string
|
|
6379
|
+
}
|
|
6380
|
+
|
|
5984
6381
|
/**
|
|
5985
6382
|
* ModifyAutoRenewFlag返回参数结构体
|
|
5986
6383
|
*/
|
|
@@ -6027,6 +6424,63 @@ export interface RollbackTask {
|
|
|
6027
6424
|
Detail: Array<RollbackInstancesInfo>
|
|
6028
6425
|
}
|
|
6029
6426
|
|
|
6427
|
+
/**
|
|
6428
|
+
* StartReplication请求参数结构体
|
|
6429
|
+
*/
|
|
6430
|
+
export interface StartReplicationRequest {
|
|
6431
|
+
/**
|
|
6432
|
+
* 实例 ID。仅支持只读实例。
|
|
6433
|
+
*/
|
|
6434
|
+
InstanceId: string
|
|
6435
|
+
}
|
|
6436
|
+
|
|
6437
|
+
/**
|
|
6438
|
+
* 代理实例
|
|
6439
|
+
*/
|
|
6440
|
+
export interface ProxyInst {
|
|
6441
|
+
/**
|
|
6442
|
+
* 实例ID
|
|
6443
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6444
|
+
*/
|
|
6445
|
+
InstanceId?: string
|
|
6446
|
+
|
|
6447
|
+
/**
|
|
6448
|
+
* 实例名称
|
|
6449
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6450
|
+
*/
|
|
6451
|
+
InstanceName?: string
|
|
6452
|
+
|
|
6453
|
+
/**
|
|
6454
|
+
* 实例类型
|
|
6455
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6456
|
+
*/
|
|
6457
|
+
InstanceType?: string
|
|
6458
|
+
|
|
6459
|
+
/**
|
|
6460
|
+
* 实例状态,可能的返回值:0-创建中;1-运行中;4-隔离中;5-已隔离
|
|
6461
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6462
|
+
*/
|
|
6463
|
+
Status?: number
|
|
6464
|
+
|
|
6465
|
+
/**
|
|
6466
|
+
* 只读权重,如果权重为系统自动分配,改值不生效,只代表是否启用该实例
|
|
6467
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6468
|
+
*/
|
|
6469
|
+
Weight?: number
|
|
6470
|
+
|
|
6471
|
+
/**
|
|
6472
|
+
* 实例所属地域
|
|
6473
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6474
|
+
*/
|
|
6475
|
+
Region?: string
|
|
6476
|
+
|
|
6477
|
+
/**
|
|
6478
|
+
* 实例所属可用区
|
|
6479
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6480
|
+
*/
|
|
6481
|
+
Zone?: string
|
|
6482
|
+
}
|
|
6483
|
+
|
|
6030
6484
|
/**
|
|
6031
6485
|
* ReloadBalanceProxyNode返回参数结构体
|
|
6032
6486
|
*/
|
|
@@ -6129,6 +6583,64 @@ NEQ – 不等于;
|
|
|
6129
6583
|
Value: string
|
|
6130
6584
|
}
|
|
6131
6585
|
|
|
6586
|
+
/**
|
|
6587
|
+
* DescribeProxySupportParam返回参数结构体
|
|
6588
|
+
*/
|
|
6589
|
+
export interface DescribeProxySupportParamResponse {
|
|
6590
|
+
/**
|
|
6591
|
+
* 支持最大代理版本
|
|
6592
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6593
|
+
*/
|
|
6594
|
+
ProxyVersion: string
|
|
6595
|
+
|
|
6596
|
+
/**
|
|
6597
|
+
* 是否支持连接池
|
|
6598
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6599
|
+
*/
|
|
6600
|
+
SupportPool: boolean
|
|
6601
|
+
|
|
6602
|
+
/**
|
|
6603
|
+
* 连接池最小值
|
|
6604
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6605
|
+
*/
|
|
6606
|
+
PoolMin: number
|
|
6607
|
+
|
|
6608
|
+
/**
|
|
6609
|
+
* 连接池最大值
|
|
6610
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6611
|
+
*/
|
|
6612
|
+
PoolMax: number
|
|
6613
|
+
|
|
6614
|
+
/**
|
|
6615
|
+
* 是否支持事务拆分
|
|
6616
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6617
|
+
*/
|
|
6618
|
+
SupportTransSplit: boolean
|
|
6619
|
+
|
|
6620
|
+
/**
|
|
6621
|
+
* 支持连接池的最小代理版本
|
|
6622
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6623
|
+
*/
|
|
6624
|
+
SupportPoolMinVersion: string
|
|
6625
|
+
|
|
6626
|
+
/**
|
|
6627
|
+
* 支持事务拆分的最小代理版本
|
|
6628
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6629
|
+
*/
|
|
6630
|
+
SupportTransSplitMinVersion: string
|
|
6631
|
+
|
|
6632
|
+
/**
|
|
6633
|
+
* 是否支持设置只读
|
|
6634
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6635
|
+
*/
|
|
6636
|
+
SupportReadOnly: boolean
|
|
6637
|
+
|
|
6638
|
+
/**
|
|
6639
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6640
|
+
*/
|
|
6641
|
+
RequestId?: string
|
|
6642
|
+
}
|
|
6643
|
+
|
|
6132
6644
|
/**
|
|
6133
6645
|
* DescribeRollbackTaskDetail请求参数结构体
|
|
6134
6646
|
*/
|
|
@@ -6644,23 +7156,89 @@ export interface DescribeAuditPoliciesRequest {
|
|
|
6644
7156
|
/**
|
|
6645
7157
|
* 分页大小参数。默认值为 20,最小值为 1,最大值为 100。
|
|
6646
7158
|
*/
|
|
6647
|
-
Limit?: number
|
|
7159
|
+
Limit?: number
|
|
7160
|
+
|
|
7161
|
+
/**
|
|
7162
|
+
* 分页偏移量。
|
|
7163
|
+
*/
|
|
7164
|
+
Offset?: number
|
|
7165
|
+
|
|
7166
|
+
/**
|
|
7167
|
+
* 审计规则 ID。可使用该审计规则 ID 查询到其关联的审计策略。
|
|
7168
|
+
注意,参数 RuleId,InstanceId,PolicyId,PolicyName 必须至少传一个。
|
|
7169
|
+
*/
|
|
7170
|
+
RuleId?: string
|
|
7171
|
+
|
|
7172
|
+
/**
|
|
7173
|
+
* 实例名称
|
|
7174
|
+
*/
|
|
7175
|
+
InstanceName?: string
|
|
7176
|
+
}
|
|
7177
|
+
|
|
7178
|
+
/**
|
|
7179
|
+
* AdjustCdbProxyAddress请求参数结构体
|
|
7180
|
+
*/
|
|
7181
|
+
export interface AdjustCdbProxyAddressRequest {
|
|
7182
|
+
/**
|
|
7183
|
+
* 代理组ID
|
|
7184
|
+
*/
|
|
7185
|
+
ProxyGroupId: string
|
|
7186
|
+
|
|
7187
|
+
/**
|
|
7188
|
+
* 权重分配模式,
|
|
7189
|
+
系统自动分配:"system", 自定义:"custom"
|
|
7190
|
+
*/
|
|
7191
|
+
WeightMode: string
|
|
7192
|
+
|
|
7193
|
+
/**
|
|
7194
|
+
* 是否开启延迟剔除,取值:"true" | "false"
|
|
7195
|
+
*/
|
|
7196
|
+
IsKickOut: boolean
|
|
7197
|
+
|
|
7198
|
+
/**
|
|
7199
|
+
* 最小保留数量,最小取值:0
|
|
7200
|
+
*/
|
|
7201
|
+
MinCount: number
|
|
7202
|
+
|
|
7203
|
+
/**
|
|
7204
|
+
* 延迟剔除阈值,最小取值:0
|
|
7205
|
+
*/
|
|
7206
|
+
MaxDelay: number
|
|
7207
|
+
|
|
7208
|
+
/**
|
|
7209
|
+
* 是否开启故障转移,取值:"true" | "false"
|
|
7210
|
+
*/
|
|
7211
|
+
FailOver: boolean
|
|
7212
|
+
|
|
7213
|
+
/**
|
|
7214
|
+
* 是否自动添加RO,取值:"true" | "false"
|
|
7215
|
+
*/
|
|
7216
|
+
AutoAddRo: boolean
|
|
7217
|
+
|
|
7218
|
+
/**
|
|
7219
|
+
* 是否是只读,取值:"true" | "false"
|
|
7220
|
+
*/
|
|
7221
|
+
ReadOnly: boolean
|
|
7222
|
+
|
|
7223
|
+
/**
|
|
7224
|
+
* 代理组地址ID
|
|
7225
|
+
*/
|
|
7226
|
+
ProxyAddressId: string
|
|
6648
7227
|
|
|
6649
7228
|
/**
|
|
6650
|
-
*
|
|
7229
|
+
* 是否开启事务分离,取值:"true" | "false"
|
|
6651
7230
|
*/
|
|
6652
|
-
|
|
7231
|
+
TransSplit?: boolean
|
|
6653
7232
|
|
|
6654
7233
|
/**
|
|
6655
|
-
|
|
6656
|
-
|
|
6657
|
-
|
|
6658
|
-
RuleId?: string
|
|
7234
|
+
* 是否开启连接池
|
|
7235
|
+
*/
|
|
7236
|
+
ConnectionPool?: boolean
|
|
6659
7237
|
|
|
6660
7238
|
/**
|
|
6661
|
-
*
|
|
7239
|
+
* 读写权重分配。如果 WeightMode 传的是 system ,则传入的权重不生效,由系统分配默认权重。
|
|
6662
7240
|
*/
|
|
6663
|
-
|
|
7241
|
+
ProxyAllocation?: Array<ProxyAllocation>
|
|
6664
7242
|
}
|
|
6665
7243
|
|
|
6666
7244
|
/**
|
|
@@ -7102,6 +7680,22 @@ export interface ModifyCDBProxyDescResponse {
|
|
|
7102
7680
|
RequestId?: string
|
|
7103
7681
|
}
|
|
7104
7682
|
|
|
7683
|
+
/**
|
|
7684
|
+
* AdjustCdbProxyAddress返回参数结构体
|
|
7685
|
+
*/
|
|
7686
|
+
export interface AdjustCdbProxyAddressResponse {
|
|
7687
|
+
/**
|
|
7688
|
+
* 异步任务ID
|
|
7689
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7690
|
+
*/
|
|
7691
|
+
AsyncRequestId: string
|
|
7692
|
+
|
|
7693
|
+
/**
|
|
7694
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7695
|
+
*/
|
|
7696
|
+
RequestId?: string
|
|
7697
|
+
}
|
|
7698
|
+
|
|
7105
7699
|
/**
|
|
7106
7700
|
* ModifyDBInstanceVipVport请求参数结构体
|
|
7107
7701
|
*/
|
|
@@ -7515,13 +8109,74 @@ export interface DescribeSupportedPrivilegesResponse {
|
|
|
7515
8109
|
}
|
|
7516
8110
|
|
|
7517
8111
|
/**
|
|
7518
|
-
*
|
|
8112
|
+
* 结构化的慢日志详情
|
|
7519
8113
|
*/
|
|
7520
|
-
export interface
|
|
8114
|
+
export interface SlowLogItem {
|
|
7521
8115
|
/**
|
|
7522
|
-
|
|
7523
|
-
|
|
7524
|
-
|
|
8116
|
+
* Sql的执行时间。
|
|
8117
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8118
|
+
*/
|
|
8119
|
+
Timestamp: number
|
|
8120
|
+
|
|
8121
|
+
/**
|
|
8122
|
+
* Sql的执行时长(秒)。
|
|
8123
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8124
|
+
*/
|
|
8125
|
+
QueryTime: number
|
|
8126
|
+
|
|
8127
|
+
/**
|
|
8128
|
+
* Sql语句。
|
|
8129
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8130
|
+
*/
|
|
8131
|
+
SqlText: string
|
|
8132
|
+
|
|
8133
|
+
/**
|
|
8134
|
+
* 客户端地址。
|
|
8135
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8136
|
+
*/
|
|
8137
|
+
UserHost: string
|
|
8138
|
+
|
|
8139
|
+
/**
|
|
8140
|
+
* 用户名。
|
|
8141
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8142
|
+
*/
|
|
8143
|
+
UserName: string
|
|
8144
|
+
|
|
8145
|
+
/**
|
|
8146
|
+
* 数据库名。
|
|
8147
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8148
|
+
*/
|
|
8149
|
+
Database: string
|
|
8150
|
+
|
|
8151
|
+
/**
|
|
8152
|
+
* 锁时长(秒)。
|
|
8153
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8154
|
+
*/
|
|
8155
|
+
LockTime: number
|
|
8156
|
+
|
|
8157
|
+
/**
|
|
8158
|
+
* 扫描行数。
|
|
8159
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8160
|
+
*/
|
|
8161
|
+
RowsExamined: number
|
|
8162
|
+
|
|
8163
|
+
/**
|
|
8164
|
+
* 结果集行数。
|
|
8165
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8166
|
+
*/
|
|
8167
|
+
RowsSent: number
|
|
8168
|
+
|
|
8169
|
+
/**
|
|
8170
|
+
* Sql模板。
|
|
8171
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8172
|
+
*/
|
|
8173
|
+
SqlTemplate: string
|
|
8174
|
+
|
|
8175
|
+
/**
|
|
8176
|
+
* Sql语句的md5。
|
|
8177
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8178
|
+
*/
|
|
8179
|
+
Md5: string
|
|
7525
8180
|
}
|
|
7526
8181
|
|
|
7527
8182
|
/**
|
|
@@ -7599,6 +8254,28 @@ export interface DescribeBackupEncryptionStatusResponse {
|
|
|
7599
8254
|
RequestId?: string
|
|
7600
8255
|
}
|
|
7601
8256
|
|
|
8257
|
+
/**
|
|
8258
|
+
* DescribeCdbProxyInfo返回参数结构体
|
|
8259
|
+
*/
|
|
8260
|
+
export interface DescribeCdbProxyInfoResponse {
|
|
8261
|
+
/**
|
|
8262
|
+
* 代理组数量
|
|
8263
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8264
|
+
*/
|
|
8265
|
+
Count: number
|
|
8266
|
+
|
|
8267
|
+
/**
|
|
8268
|
+
* 代理组信息
|
|
8269
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8270
|
+
*/
|
|
8271
|
+
ProxyInfos: Array<ProxyGroupInfo>
|
|
8272
|
+
|
|
8273
|
+
/**
|
|
8274
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8275
|
+
*/
|
|
8276
|
+
RequestId?: string
|
|
8277
|
+
}
|
|
8278
|
+
|
|
7602
8279
|
/**
|
|
7603
8280
|
* ModifyAuditConfig请求参数结构体
|
|
7604
8281
|
*/
|
|
@@ -7756,6 +8433,36 @@ export interface TagInfoItem {
|
|
|
7756
8433
|
TagValue: string
|
|
7757
8434
|
}
|
|
7758
8435
|
|
|
8436
|
+
/**
|
|
8437
|
+
* 节点规格配置
|
|
8438
|
+
*/
|
|
8439
|
+
export interface ProxyNodeCustom {
|
|
8440
|
+
/**
|
|
8441
|
+
* 节点个数
|
|
8442
|
+
*/
|
|
8443
|
+
NodeCount: number
|
|
8444
|
+
|
|
8445
|
+
/**
|
|
8446
|
+
* CPU核数
|
|
8447
|
+
*/
|
|
8448
|
+
Cpu: number
|
|
8449
|
+
|
|
8450
|
+
/**
|
|
8451
|
+
* 内存大小
|
|
8452
|
+
*/
|
|
8453
|
+
Mem: number
|
|
8454
|
+
|
|
8455
|
+
/**
|
|
8456
|
+
* 地域
|
|
8457
|
+
*/
|
|
8458
|
+
Region: string
|
|
8459
|
+
|
|
8460
|
+
/**
|
|
8461
|
+
* 可用区
|
|
8462
|
+
*/
|
|
8463
|
+
Zone: string
|
|
8464
|
+
}
|
|
8465
|
+
|
|
7759
8466
|
/**
|
|
7760
8467
|
* DescribeProxyCustomConf请求参数结构体
|
|
7761
8468
|
*/
|
|
@@ -7791,6 +8498,21 @@ export interface DescribeDBSecurityGroupsResponse {
|
|
|
7791
8498
|
RequestId?: string
|
|
7792
8499
|
}
|
|
7793
8500
|
|
|
8501
|
+
/**
|
|
8502
|
+
* CloseCdbProxyAddress请求参数结构体
|
|
8503
|
+
*/
|
|
8504
|
+
export interface CloseCdbProxyAddressRequest {
|
|
8505
|
+
/**
|
|
8506
|
+
* 代理组ID
|
|
8507
|
+
*/
|
|
8508
|
+
ProxyGroupId: string
|
|
8509
|
+
|
|
8510
|
+
/**
|
|
8511
|
+
* 代理组地址ID
|
|
8512
|
+
*/
|
|
8513
|
+
ProxyAddressId: string
|
|
8514
|
+
}
|
|
8515
|
+
|
|
7794
8516
|
/**
|
|
7795
8517
|
* ModifyRoGroupInfo返回参数结构体
|
|
7796
8518
|
*/
|
|
@@ -7847,71 +8569,198 @@ export interface DBSwitchInfo {
|
|
|
7847
8569
|
*/
|
|
7848
8570
|
export interface DescribeTasksResponse {
|
|
7849
8571
|
/**
|
|
7850
|
-
* 符合查询条件的实例总数。
|
|
8572
|
+
* 符合查询条件的实例总数。
|
|
8573
|
+
*/
|
|
8574
|
+
TotalCount?: number
|
|
8575
|
+
|
|
8576
|
+
/**
|
|
8577
|
+
* 返回的实例任务信息。
|
|
8578
|
+
*/
|
|
8579
|
+
Items?: Array<TaskDetail>
|
|
8580
|
+
|
|
8581
|
+
/**
|
|
8582
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8583
|
+
*/
|
|
8584
|
+
RequestId?: string
|
|
8585
|
+
}
|
|
8586
|
+
|
|
8587
|
+
/**
|
|
8588
|
+
* DescribeAuditPolicies返回参数结构体
|
|
8589
|
+
*/
|
|
8590
|
+
export interface DescribeAuditPoliciesResponse {
|
|
8591
|
+
/**
|
|
8592
|
+
* 符合条件的审计策略个数。
|
|
8593
|
+
*/
|
|
8594
|
+
TotalCount: number
|
|
8595
|
+
|
|
8596
|
+
/**
|
|
8597
|
+
* 审计策略详情。
|
|
8598
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8599
|
+
*/
|
|
8600
|
+
Items: Array<AuditPolicy>
|
|
8601
|
+
|
|
8602
|
+
/**
|
|
8603
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8604
|
+
*/
|
|
8605
|
+
RequestId?: string
|
|
8606
|
+
}
|
|
8607
|
+
|
|
8608
|
+
/**
|
|
8609
|
+
* IsolateDBInstance返回参数结构体
|
|
8610
|
+
*/
|
|
8611
|
+
export interface IsolateDBInstanceResponse {
|
|
8612
|
+
/**
|
|
8613
|
+
* 异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。(该返回字段目前已废弃,可以通过 DescribeDBInstances 接口查询实例的隔离状态)
|
|
8614
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8615
|
+
*/
|
|
8616
|
+
AsyncRequestId: string
|
|
8617
|
+
|
|
8618
|
+
/**
|
|
8619
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8620
|
+
*/
|
|
8621
|
+
RequestId?: string
|
|
8622
|
+
}
|
|
8623
|
+
|
|
8624
|
+
/**
|
|
8625
|
+
* AdjustCdbProxy请求参数结构体
|
|
8626
|
+
*/
|
|
8627
|
+
export interface AdjustCdbProxyRequest {
|
|
8628
|
+
/**
|
|
8629
|
+
* 实例ID
|
|
8630
|
+
*/
|
|
8631
|
+
InstanceId: string
|
|
8632
|
+
|
|
8633
|
+
/**
|
|
8634
|
+
* 代理组ID
|
|
8635
|
+
*/
|
|
8636
|
+
ProxyGroupId: string
|
|
8637
|
+
|
|
8638
|
+
/**
|
|
8639
|
+
* 节点规格配置
|
|
8640
|
+
*/
|
|
8641
|
+
ProxyNodeCustom: Array<ProxyNodeCustom>
|
|
8642
|
+
|
|
8643
|
+
/**
|
|
8644
|
+
* 重新负载均衡:auto(自动),manual(手动)
|
|
8645
|
+
*/
|
|
8646
|
+
ReloadBalance: string
|
|
8647
|
+
|
|
8648
|
+
/**
|
|
8649
|
+
* 升级切换时间:nowTime(升级完成时),timeWindow(维护时间内)
|
|
8650
|
+
*/
|
|
8651
|
+
UpgradeTime: string
|
|
8652
|
+
}
|
|
8653
|
+
|
|
8654
|
+
/**
|
|
8655
|
+
* ModifyAccountDescription返回参数结构体
|
|
8656
|
+
*/
|
|
8657
|
+
export interface ModifyAccountDescriptionResponse {
|
|
8658
|
+
/**
|
|
8659
|
+
* 异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。
|
|
8660
|
+
*/
|
|
8661
|
+
AsyncRequestId: string
|
|
8662
|
+
|
|
8663
|
+
/**
|
|
8664
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8665
|
+
*/
|
|
8666
|
+
RequestId?: string
|
|
8667
|
+
}
|
|
8668
|
+
|
|
8669
|
+
/**
|
|
8670
|
+
* 数据库代理地址信息
|
|
8671
|
+
*/
|
|
8672
|
+
export interface ProxyAddress {
|
|
8673
|
+
/**
|
|
8674
|
+
* 代理组地址ID
|
|
8675
|
+
*/
|
|
8676
|
+
ProxyAddressId: string
|
|
8677
|
+
|
|
8678
|
+
/**
|
|
8679
|
+
* 私有网络ID
|
|
8680
|
+
*/
|
|
8681
|
+
UniqVpcId: string
|
|
8682
|
+
|
|
8683
|
+
/**
|
|
8684
|
+
* 私有子网ID
|
|
8685
|
+
*/
|
|
8686
|
+
UniqSubnetId: string
|
|
8687
|
+
|
|
8688
|
+
/**
|
|
8689
|
+
* IP地址
|
|
8690
|
+
*/
|
|
8691
|
+
Vip: string
|
|
8692
|
+
|
|
8693
|
+
/**
|
|
8694
|
+
* 端口
|
|
7851
8695
|
*/
|
|
7852
|
-
|
|
8696
|
+
VPort: number
|
|
7853
8697
|
|
|
7854
8698
|
/**
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
|
|
8699
|
+
* 权重分配模式;
|
|
8700
|
+
系统自动分配:"system", 自定义:"custom"
|
|
8701
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8702
|
+
*/
|
|
8703
|
+
WeightMode: string
|
|
7858
8704
|
|
|
7859
8705
|
/**
|
|
7860
|
-
|
|
7861
|
-
|
|
7862
|
-
|
|
7863
|
-
|
|
8706
|
+
* 是否开启延迟剔除,取值:"true" | "false"
|
|
8707
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8708
|
+
*/
|
|
8709
|
+
IsKickOut: boolean
|
|
7864
8710
|
|
|
7865
|
-
/**
|
|
7866
|
-
* DescribeAuditPolicies返回参数结构体
|
|
7867
|
-
*/
|
|
7868
|
-
export interface DescribeAuditPoliciesResponse {
|
|
7869
8711
|
/**
|
|
7870
|
-
|
|
7871
|
-
|
|
7872
|
-
|
|
8712
|
+
* 最小保留数量,最小取值:0
|
|
8713
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8714
|
+
*/
|
|
8715
|
+
MinCount: number
|
|
7873
8716
|
|
|
7874
8717
|
/**
|
|
7875
|
-
*
|
|
8718
|
+
* 延迟剔除阈值,最小取值:0
|
|
7876
8719
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7877
8720
|
*/
|
|
7878
|
-
|
|
8721
|
+
MaxDelay: number
|
|
7879
8722
|
|
|
7880
8723
|
/**
|
|
7881
|
-
|
|
7882
|
-
|
|
7883
|
-
|
|
7884
|
-
|
|
8724
|
+
* 是否自动添加RO,取值:"true" | "false"
|
|
8725
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8726
|
+
*/
|
|
8727
|
+
AutoAddRo: boolean
|
|
7885
8728
|
|
|
7886
|
-
/**
|
|
7887
|
-
* IsolateDBInstance返回参数结构体
|
|
7888
|
-
*/
|
|
7889
|
-
export interface IsolateDBInstanceResponse {
|
|
7890
8729
|
/**
|
|
7891
|
-
*
|
|
8730
|
+
* 是否是只读,取值:"true" | "false"
|
|
7892
8731
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7893
8732
|
*/
|
|
7894
|
-
|
|
8733
|
+
ReadOnly: boolean
|
|
7895
8734
|
|
|
7896
8735
|
/**
|
|
7897
|
-
|
|
7898
|
-
|
|
7899
|
-
|
|
7900
|
-
|
|
8736
|
+
* 是否开启事务分离
|
|
8737
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8738
|
+
*/
|
|
8739
|
+
TransSplit: boolean
|
|
7901
8740
|
|
|
7902
|
-
/**
|
|
7903
|
-
* ModifyAccountDescription返回参数结构体
|
|
7904
|
-
*/
|
|
7905
|
-
export interface ModifyAccountDescriptionResponse {
|
|
7906
8741
|
/**
|
|
7907
|
-
|
|
7908
|
-
|
|
7909
|
-
|
|
8742
|
+
* 是否开启故障转移
|
|
8743
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8744
|
+
*/
|
|
8745
|
+
FailOver: boolean
|
|
7910
8746
|
|
|
7911
8747
|
/**
|
|
7912
|
-
|
|
7913
|
-
|
|
7914
|
-
|
|
8748
|
+
* 是否开启连接池
|
|
8749
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8750
|
+
*/
|
|
8751
|
+
ConnectionPool: boolean
|
|
8752
|
+
|
|
8753
|
+
/**
|
|
8754
|
+
* 描述
|
|
8755
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8756
|
+
*/
|
|
8757
|
+
Desc: string
|
|
8758
|
+
|
|
8759
|
+
/**
|
|
8760
|
+
* 实例读权重分配
|
|
8761
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8762
|
+
*/
|
|
8763
|
+
ProxyAllocation: Array<ProxyAllocation>
|
|
7915
8764
|
}
|
|
7916
8765
|
|
|
7917
8766
|
/**
|
|
@@ -8611,13 +9460,42 @@ export interface CreateDBInstanceResponse {
|
|
|
8611
9460
|
}
|
|
8612
9461
|
|
|
8613
9462
|
/**
|
|
8614
|
-
*
|
|
9463
|
+
* OpenAuditService请求参数结构体
|
|
8615
9464
|
*/
|
|
8616
|
-
export interface
|
|
9465
|
+
export interface OpenAuditServiceRequest {
|
|
8617
9466
|
/**
|
|
8618
|
-
* 实例
|
|
9467
|
+
* CDB实例ID
|
|
8619
9468
|
*/
|
|
8620
9469
|
InstanceId: string
|
|
9470
|
+
|
|
9471
|
+
/**
|
|
9472
|
+
* 审计日志保存时长。支持值包括:
|
|
9473
|
+
7 - 一周
|
|
9474
|
+
30 - 一个月;
|
|
9475
|
+
90 - 三个月;
|
|
9476
|
+
180 - 六个月;
|
|
9477
|
+
365 - 一年;
|
|
9478
|
+
1095 - 三年;
|
|
9479
|
+
1825 - 五年;
|
|
9480
|
+
*/
|
|
9481
|
+
LogExpireDay: number
|
|
9482
|
+
|
|
9483
|
+
/**
|
|
9484
|
+
* 高频审计日志保存时长。支持值包括:
|
|
9485
|
+
7 - 一周
|
|
9486
|
+
30 - 一个月;
|
|
9487
|
+
*/
|
|
9488
|
+
HighLogExpireDay?: number
|
|
9489
|
+
|
|
9490
|
+
/**
|
|
9491
|
+
* 审计规则。同RuleTemplateIds都不填是全审计。
|
|
9492
|
+
*/
|
|
9493
|
+
AuditRuleFilters?: Array<AuditRuleFilters>
|
|
9494
|
+
|
|
9495
|
+
/**
|
|
9496
|
+
* 规则模版ID。同AuditRuleFilters都不填是全审计。
|
|
9497
|
+
*/
|
|
9498
|
+
RuleTemplateIds?: Array<string>
|
|
8621
9499
|
}
|
|
8622
9500
|
|
|
8623
9501
|
/**
|
|
@@ -8933,73 +9811,28 @@ export interface DescribeUploadedFilesResponse {
|
|
|
8933
9811
|
}
|
|
8934
9812
|
|
|
8935
9813
|
/**
|
|
8936
|
-
*
|
|
9814
|
+
* InitDBInstances请求参数结构体
|
|
8937
9815
|
*/
|
|
8938
|
-
export interface
|
|
8939
|
-
/**
|
|
8940
|
-
* 实例时长,单位:月,最小值 1,最大值为 36;查询按量计费价格时,该字段无效。
|
|
8941
|
-
*/
|
|
8942
|
-
Period: number
|
|
8943
|
-
|
|
8944
|
-
/**
|
|
8945
|
-
* 可用区信息,格式如 "ap-guangzhou-2"。具体能设置的值请通过 <a href="https://cloud.tencent.com/document/api/236/17229">DescribeDBZoneConfig</a> 接口查询。InstanceId为空时该参数为必填项。
|
|
8946
|
-
*/
|
|
8947
|
-
Zone?: string
|
|
8948
|
-
|
|
8949
|
-
/**
|
|
8950
|
-
* 实例数量,默认值为 1,最小值 1,最大值为 100。InstanceId为空时该参数为必填项。
|
|
8951
|
-
*/
|
|
8952
|
-
GoodsNum?: number
|
|
8953
|
-
|
|
8954
|
-
/**
|
|
8955
|
-
* 实例内存大小,单位:MB。InstanceId为空时该参数为必填项。
|
|
8956
|
-
*/
|
|
8957
|
-
Memory?: number
|
|
8958
|
-
|
|
8959
|
-
/**
|
|
8960
|
-
* 实例硬盘大小,单位:GB。InstanceId为空时该参数为必填项。
|
|
8961
|
-
*/
|
|
8962
|
-
Volume?: number
|
|
8963
|
-
|
|
8964
|
-
/**
|
|
8965
|
-
* 实例类型,默认为 master,支持值包括:master - 表示主实例,ro - 表示只读实例,dr - 表示灾备实例。InstanceId为空时该参数为必填项。
|
|
8966
|
-
*/
|
|
8967
|
-
InstanceRole?: string
|
|
8968
|
-
|
|
8969
|
-
/**
|
|
8970
|
-
* 付费类型,支持值包括:PRE_PAID - 包年包月,HOUR_PAID - 按量计费。InstanceId为空时该参数为必填项。
|
|
8971
|
-
*/
|
|
8972
|
-
PayType?: string
|
|
8973
|
-
|
|
8974
|
-
/**
|
|
8975
|
-
* 数据复制方式,默认为 0,支持值包括:0 - 表示异步复制,1 - 表示半同步复制,2 - 表示强同步复制。
|
|
8976
|
-
*/
|
|
8977
|
-
ProtectMode?: number
|
|
8978
|
-
|
|
8979
|
-
/**
|
|
8980
|
-
* 实例隔离类型。支持值包括: "UNIVERSAL" - 通用型实例, "EXCLUSIVE" - 独享型实例, "BASIC" - 基础版实例。 不指定则默认为通用型实例。
|
|
8981
|
-
*/
|
|
8982
|
-
DeviceType?: string
|
|
8983
|
-
|
|
9816
|
+
export interface InitDBInstancesRequest {
|
|
8984
9817
|
/**
|
|
8985
|
-
*
|
|
9818
|
+
* 实例ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同,可使用[查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
|
|
8986
9819
|
*/
|
|
8987
|
-
|
|
9820
|
+
InstanceIds: Array<string>
|
|
8988
9821
|
|
|
8989
9822
|
/**
|
|
8990
|
-
*
|
|
9823
|
+
* 实例新的密码,密码规则:8-64个字符,至少包含字母、数字、字符(支持的字符:!@#$%^*())中的两种。
|
|
8991
9824
|
*/
|
|
8992
|
-
|
|
9825
|
+
NewPassword: string
|
|
8993
9826
|
|
|
8994
9827
|
/**
|
|
8995
|
-
*
|
|
9828
|
+
* 实例的参数列表,目前支持设置“character_set_server”、“lower_case_table_names”参数。其中,“character_set_server”参数可选值为["utf8","latin1","gbk","utf8mb4"];“lower_case_table_names”可选值为[“0”,“1”]。
|
|
8996
9829
|
*/
|
|
8997
|
-
|
|
9830
|
+
Parameters: Array<ParamInfo>
|
|
8998
9831
|
|
|
8999
9832
|
/**
|
|
9000
|
-
*
|
|
9833
|
+
* 实例的端口,取值范围为[1024, 65535]
|
|
9001
9834
|
*/
|
|
9002
|
-
|
|
9835
|
+
Vport?: number
|
|
9003
9836
|
}
|
|
9004
9837
|
|
|
9005
9838
|
/**
|
|
@@ -9018,13 +9851,18 @@ export interface CreateBackupResponse {
|
|
|
9018
9851
|
}
|
|
9019
9852
|
|
|
9020
9853
|
/**
|
|
9021
|
-
*
|
|
9854
|
+
* CPU负载
|
|
9022
9855
|
*/
|
|
9023
|
-
export interface
|
|
9856
|
+
export interface DeviceCpuInfo {
|
|
9024
9857
|
/**
|
|
9025
|
-
* 实例
|
|
9858
|
+
* 实例CPU平均使用率
|
|
9026
9859
|
*/
|
|
9027
|
-
|
|
9860
|
+
Rate: Array<DeviceCpuRateInfo>
|
|
9861
|
+
|
|
9862
|
+
/**
|
|
9863
|
+
* 实例CPU监控数据
|
|
9864
|
+
*/
|
|
9865
|
+
Load: Array<number>
|
|
9028
9866
|
}
|
|
9029
9867
|
|
|
9030
9868
|
/**
|
|
@@ -9291,6 +10129,22 @@ export interface BaseGroupInfo {
|
|
|
9291
10129
|
SupportUpgradeProxyVersion: string
|
|
9292
10130
|
}
|
|
9293
10131
|
|
|
10132
|
+
/**
|
|
10133
|
+
* AdjustCdbProxy返回参数结构体
|
|
10134
|
+
*/
|
|
10135
|
+
export interface AdjustCdbProxyResponse {
|
|
10136
|
+
/**
|
|
10137
|
+
* 异步任务ID
|
|
10138
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10139
|
+
*/
|
|
10140
|
+
AsyncRequestId: string
|
|
10141
|
+
|
|
10142
|
+
/**
|
|
10143
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
10144
|
+
*/
|
|
10145
|
+
RequestId?: string
|
|
10146
|
+
}
|
|
10147
|
+
|
|
9294
10148
|
/**
|
|
9295
10149
|
* DescribeBackupEncryptionStatus请求参数结构体
|
|
9296
10150
|
*/
|
|
@@ -9352,6 +10206,16 @@ export interface AuditLogFile {
|
|
|
9352
10206
|
ErrMsg: string
|
|
9353
10207
|
}
|
|
9354
10208
|
|
|
10209
|
+
/**
|
|
10210
|
+
* CloseCdbProxyAddress返回参数结构体
|
|
10211
|
+
*/
|
|
10212
|
+
export interface CloseCdbProxyAddressResponse {
|
|
10213
|
+
/**
|
|
10214
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
10215
|
+
*/
|
|
10216
|
+
RequestId?: string
|
|
10217
|
+
}
|
|
10218
|
+
|
|
9355
10219
|
/**
|
|
9356
10220
|
* 用于回档的数据库表详情
|
|
9357
10221
|
*/
|
|
@@ -9555,51 +10419,23 @@ export interface RestartDBInstancesRequest {
|
|
|
9555
10419
|
}
|
|
9556
10420
|
|
|
9557
10421
|
/**
|
|
9558
|
-
*
|
|
10422
|
+
* 审计日志聚合条件
|
|
9559
10423
|
*/
|
|
9560
|
-
export interface
|
|
9561
|
-
/**
|
|
9562
|
-
* 置放群组 ID。
|
|
9563
|
-
*/
|
|
9564
|
-
DeployGroupId: string
|
|
9565
|
-
|
|
9566
|
-
/**
|
|
9567
|
-
* 置放群组名称。
|
|
9568
|
-
*/
|
|
9569
|
-
DeployGroupName: string
|
|
9570
|
-
|
|
10424
|
+
export interface AggregationCondition {
|
|
9571
10425
|
/**
|
|
9572
|
-
*
|
|
10426
|
+
* 聚合字段。目前仅支持host-源IP、user-用户名、dbName-数据库名、sqlType-sql类型。
|
|
9573
10427
|
*/
|
|
9574
|
-
|
|
10428
|
+
AggregationField: string
|
|
9575
10429
|
|
|
9576
10430
|
/**
|
|
9577
|
-
*
|
|
10431
|
+
* 偏移量。
|
|
9578
10432
|
*/
|
|
9579
|
-
|
|
9580
|
-
|
|
9581
|
-
/**
|
|
9582
|
-
* 置放群组亲和性策略,目前仅支持策略1,即在物理机纬度打散实例的分布。
|
|
9583
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9584
|
-
*/
|
|
9585
|
-
Affinity: string
|
|
9586
|
-
|
|
9587
|
-
/**
|
|
9588
|
-
* 置放群组亲和性策略1中,同台物理机上同个置放群组实例的限制个数。
|
|
9589
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9590
|
-
*/
|
|
9591
|
-
LimitNum: number
|
|
10433
|
+
Offset?: number
|
|
9592
10434
|
|
|
9593
10435
|
/**
|
|
9594
|
-
*
|
|
10436
|
+
* 该聚合字段下要返回聚合桶的数量,最大100。
|
|
9595
10437
|
*/
|
|
9596
|
-
|
|
9597
|
-
|
|
9598
|
-
/**
|
|
9599
|
-
* 置放群组物理机型属性。
|
|
9600
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9601
|
-
*/
|
|
9602
|
-
DevClass: string
|
|
10438
|
+
Limit?: number
|
|
9603
10439
|
}
|
|
9604
10440
|
|
|
9605
10441
|
/**
|