tencentcloud-sdk-nodejs 4.1.64 → 4.1.65
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/es/common/sdk_version.js +1 -1
- package/es/services/bh/v20230418/bh_client.js +20 -2
- package/es/services/kms/v20190118/kms_client.js +59 -14
- package/es/services/lke/v20231130/lke_client.js +16 -4
- package/es/services/trocket/v20230308/trocket_client.js +5 -2
- package/es/services/wedata/v20210820/wedata_client.js +10 -4
- package/package.json +1 -1
- package/tencentcloud/common/abstract_client.d.ts +111 -13
- package/tencentcloud/common/abstract_client.js +82 -15
- package/tencentcloud/common/common_client.d.ts +7 -0
- package/tencentcloud/common/common_client.js +7 -0
- package/tencentcloud/common/cvm_role_credential.d.ts +6 -0
- package/tencentcloud/common/cvm_role_credential.js +10 -1
- package/tencentcloud/common/http/http_connection.js +1 -2
- package/tencentcloud/common/interface.d.ts +35 -36
- package/tencentcloud/common/interface.js +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/common/sign.js +1 -1
- package/tencentcloud/common/sse_response_model.d.ts +26 -2
- package/tencentcloud/common/sse_response_model.js +17 -2
- package/tencentcloud/services/bh/v20230418/bh_client.d.ts +27 -3
- package/tencentcloud/services/bh/v20230418/bh_client.js +39 -3
- package/tencentcloud/services/bh/v20230418/bh_models.d.ts +311 -56
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +25 -19
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +25 -19
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +143 -107
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +44 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +12 -0
- package/tencentcloud/services/dsgc/v20190723/dsgc_client.d.ts +1 -3
- package/tencentcloud/services/dsgc/v20190723/dsgc_client.js +1 -3
- package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +93 -6
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +1 -1
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +5703 -5666
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +12 -2
- package/tencentcloud/services/kms/v20190118/kms_client.d.ts +76 -16
- package/tencentcloud/services/kms/v20190118/kms_client.js +112 -22
- package/tencentcloud/services/kms/v20190118/kms_models.d.ts +572 -53
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +21 -5
- package/tencentcloud/services/lke/v20231130/lke_client.js +30 -6
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +5094 -4554
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +0 -4
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +4 -0
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +14 -2
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +4 -0
- package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +10 -6
- package/tencentcloud/services/trocket/v20230308/trocket_client.js +12 -6
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +195 -117
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +33 -9
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +15 -7
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +20 -8
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +256 -54
|
@@ -242,15 +242,15 @@ export interface ModifyDBInstanceReadOnlyStatusResponse {
|
|
|
242
242
|
*/
|
|
243
243
|
export interface CreateCdbProxyRequest {
|
|
244
244
|
/**
|
|
245
|
-
* 实例ID
|
|
245
|
+
* 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
246
246
|
*/
|
|
247
247
|
InstanceId: string;
|
|
248
248
|
/**
|
|
249
|
-
* 私有网络ID
|
|
249
|
+
* 私有网络 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
250
250
|
*/
|
|
251
251
|
UniqVpcId: string;
|
|
252
252
|
/**
|
|
253
|
-
* 私有子网ID
|
|
253
|
+
* 私有子网 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
254
254
|
*/
|
|
255
255
|
UniqSubnetId: string;
|
|
256
256
|
/**
|
|
@@ -983,11 +983,11 @@ export interface CreateRotationPasswordResponse {
|
|
|
983
983
|
*/
|
|
984
984
|
export interface ModifyCdbProxyAddressDescRequest {
|
|
985
985
|
/**
|
|
986
|
-
* 代理组ID
|
|
986
|
+
* 代理组 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585) 接口获取。
|
|
987
987
|
*/
|
|
988
988
|
ProxyGroupId: string;
|
|
989
989
|
/**
|
|
990
|
-
* 代理组地址ID
|
|
990
|
+
* 代理组地址 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585) 接口获取。
|
|
991
991
|
*/
|
|
992
992
|
ProxyAddressId: string;
|
|
993
993
|
/**
|
|
@@ -1137,11 +1137,11 @@ export interface CreateRoInstanceIpResponse {
|
|
|
1137
1137
|
*/
|
|
1138
1138
|
export interface CloseSSLRequest {
|
|
1139
1139
|
/**
|
|
1140
|
-
* 实例 ID
|
|
1140
|
+
* 实例 ID。只读组 ID 为空时必填。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
1141
1141
|
*/
|
|
1142
1142
|
InstanceId?: string;
|
|
1143
1143
|
/**
|
|
1144
|
-
* 只读组 ID。实例 ID
|
|
1144
|
+
* 只读组 ID。实例 ID 为空时必填。可通过 [DescribeRoGroups](https://cloud.tencent.com/document/api/236/40939) 接口获取。
|
|
1145
1145
|
*/
|
|
1146
1146
|
RoGroupId?: string;
|
|
1147
1147
|
}
|
|
@@ -1214,7 +1214,7 @@ export interface StopRollbackResponse {
|
|
|
1214
1214
|
*/
|
|
1215
1215
|
export interface CreateCdbProxyAddressRequest {
|
|
1216
1216
|
/**
|
|
1217
|
-
* 代理组ID
|
|
1217
|
+
* 代理组 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585) 接口获取。
|
|
1218
1218
|
*/
|
|
1219
1219
|
ProxyGroupId: string;
|
|
1220
1220
|
/**
|
|
@@ -1231,7 +1231,7 @@ export interface CreateCdbProxyAddressRequest {
|
|
|
1231
1231
|
*/
|
|
1232
1232
|
MinCount: number;
|
|
1233
1233
|
/**
|
|
1234
|
-
* 延迟剔除阈值,最小取值:
|
|
1234
|
+
* 延迟剔除阈值,最小取值:1,范围:1 - 10000,整数。
|
|
1235
1235
|
*/
|
|
1236
1236
|
MaxDelay: number;
|
|
1237
1237
|
/**
|
|
@@ -1255,15 +1255,15 @@ export interface CreateCdbProxyAddressRequest {
|
|
|
1255
1255
|
*/
|
|
1256
1256
|
ProxyAllocation: Array<ProxyAllocation>;
|
|
1257
1257
|
/**
|
|
1258
|
-
* 私有网络ID
|
|
1258
|
+
* 私有网络 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
1259
1259
|
*/
|
|
1260
1260
|
UniqVpcId: string;
|
|
1261
1261
|
/**
|
|
1262
|
-
* 私有子网ID
|
|
1262
|
+
* 私有子网 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
1263
1263
|
*/
|
|
1264
1264
|
UniqSubnetId: string;
|
|
1265
1265
|
/**
|
|
1266
|
-
*
|
|
1266
|
+
* 是否开启连接池。默认关闭。
|
|
1267
1267
|
注意:如需使用数据库代理连接池能力,MySQL 8.0 主实例的内核小版本要大于等于 MySQL 8.0 20230630。
|
|
1268
1268
|
*/
|
|
1269
1269
|
ConnectionPool?: boolean;
|
|
@@ -1272,11 +1272,11 @@ export interface CreateCdbProxyAddressRequest {
|
|
|
1272
1272
|
*/
|
|
1273
1273
|
Desc?: string;
|
|
1274
1274
|
/**
|
|
1275
|
-
* IP
|
|
1275
|
+
* IP 地址。不填则默认为所选 VPC 下支持的随机一个 IP。
|
|
1276
1276
|
*/
|
|
1277
1277
|
Vip?: string;
|
|
1278
1278
|
/**
|
|
1279
|
-
*
|
|
1279
|
+
* 端口。默认值3306。
|
|
1280
1280
|
*/
|
|
1281
1281
|
VPort?: number;
|
|
1282
1282
|
/**
|
|
@@ -1284,15 +1284,15 @@ export interface CreateCdbProxyAddressRequest {
|
|
|
1284
1284
|
*/
|
|
1285
1285
|
SecurityGroup?: Array<string>;
|
|
1286
1286
|
/**
|
|
1287
|
-
* 连接池类型。可选值 transaction(事务级别连接池),connection(会话级别连接池),ConnectionPool为true
|
|
1287
|
+
* 连接池类型。可选值 transaction(事务级别连接池),connection(会话级别连接池),ConnectionPool 为 true 时生效。默认值:connection。
|
|
1288
1288
|
*/
|
|
1289
1289
|
ConnectionPoolType?: string;
|
|
1290
1290
|
/**
|
|
1291
|
-
*
|
|
1291
|
+
* 是否开启自适应负载均衡。默认关闭。
|
|
1292
1292
|
*/
|
|
1293
1293
|
AutoLoadBalance?: boolean;
|
|
1294
1294
|
/**
|
|
1295
|
-
*
|
|
1295
|
+
* 接入模式。nearBy - 就近访问,balance - 均衡分配,默认值:nearBy。
|
|
1296
1296
|
*/
|
|
1297
1297
|
AccessMode?: string;
|
|
1298
1298
|
}
|
|
@@ -1310,7 +1310,7 @@ export interface DeleteRotationPasswordResponse {
|
|
|
1310
1310
|
*/
|
|
1311
1311
|
export interface AnalyzeAuditLogsRequest {
|
|
1312
1312
|
/**
|
|
1313
|
-
* 实例ID
|
|
1313
|
+
* 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
1314
1314
|
*/
|
|
1315
1315
|
InstanceId: string;
|
|
1316
1316
|
/**
|
|
@@ -1546,12 +1546,13 @@ export interface AssociateSecurityGroupsResponse {
|
|
|
1546
1546
|
*/
|
|
1547
1547
|
export interface DescribeCPUExpandStrategyInfoResponse {
|
|
1548
1548
|
/**
|
|
1549
|
-
*
|
|
1549
|
+
* 策略类型。输出值:auto、manual、timeInterval、period。
|
|
1550
|
+
说明:1. auto 表示自动扩容。2. manual 表示自定义扩容,扩容时间为立即生效。3. timeInterval 表示自定义扩容,扩容时间为按时间段。4. period 表示自定义扩容,扩容时间为按周期。5. 如果返回为 NULL 说明尚未开通弹性扩容策略。
|
|
1550
1551
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1551
1552
|
*/
|
|
1552
1553
|
Type?: string;
|
|
1553
1554
|
/**
|
|
1554
|
-
*
|
|
1555
|
+
* 自定义扩容,且扩容时间为立即生效时的 CPU。Type 为 manual 时有效。
|
|
1555
1556
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1556
1557
|
*/
|
|
1557
1558
|
ExpandCpu?: number;
|
|
@@ -1561,11 +1562,11 @@ export interface DescribeCPUExpandStrategyInfoResponse {
|
|
|
1561
1562
|
*/
|
|
1562
1563
|
AutoStrategy?: AutoStrategy;
|
|
1563
1564
|
/**
|
|
1564
|
-
*
|
|
1565
|
+
* 按周期扩容策略。当 Type 为 period 时有效。
|
|
1565
1566
|
*/
|
|
1566
1567
|
PeriodStrategy?: PeriodStrategy;
|
|
1567
1568
|
/**
|
|
1568
|
-
*
|
|
1569
|
+
* 按时间段扩容策略。当 Type 为 timeInterval 时有效。
|
|
1569
1570
|
*/
|
|
1570
1571
|
TimeIntervalStrategy?: TimeIntervalStrategy;
|
|
1571
1572
|
/**
|
|
@@ -1749,7 +1750,8 @@ export interface UpgradeDBInstanceRequest {
|
|
|
1749
1750
|
*/
|
|
1750
1751
|
SlaveZone?: string;
|
|
1751
1752
|
/**
|
|
1752
|
-
* 主实例数据库引擎版本,支持值包括:5.5、5.6
|
|
1753
|
+
* 主实例数据库引擎版本,支持值包括:5.5、5.6、5.7、8.0。
|
|
1754
|
+
说明:升级数据库版本请使用 [UpgradeDBInstanceEngineVersion](https://cloud.tencent.com/document/api/236/15870) 接口。
|
|
1753
1755
|
*/
|
|
1754
1756
|
EngineVersion?: string;
|
|
1755
1757
|
/**
|
|
@@ -1757,7 +1759,7 @@ export interface UpgradeDBInstanceRequest {
|
|
|
1757
1759
|
*/
|
|
1758
1760
|
WaitSwitch?: number;
|
|
1759
1761
|
/**
|
|
1760
|
-
* 备库
|
|
1762
|
+
* 备库2的可用区信息,默认为空,升级主实例时可指定该参数,升级只读实例或者灾备实例时指定该参数无意义。可通过 [获取云数据库可售卖规格](https://cloud.tencent.com/document/product/236/17229) 接口查询支持的可用区。
|
|
1761
1763
|
备注:如您要将三节点降级至双节点,将该参数设置为空值即可实现。
|
|
1762
1764
|
*/
|
|
1763
1765
|
BackupZone?: string;
|
|
@@ -1931,31 +1933,31 @@ export interface SwitchDBInstanceMasterSlaveRequest {
|
|
|
1931
1933
|
*/
|
|
1932
1934
|
export interface ModifyCdbProxyAddressVipAndVPortRequest {
|
|
1933
1935
|
/**
|
|
1934
|
-
* 代理组ID
|
|
1936
|
+
* 代理组 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585) 接口获取。
|
|
1935
1937
|
*/
|
|
1936
1938
|
ProxyGroupId: string;
|
|
1937
1939
|
/**
|
|
1938
|
-
* 代理组地址ID
|
|
1940
|
+
* 代理组地址 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585) 接口获取。
|
|
1939
1941
|
*/
|
|
1940
1942
|
ProxyAddressId: string;
|
|
1941
1943
|
/**
|
|
1942
|
-
* 私有网络ID
|
|
1944
|
+
* 私有网络 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
1943
1945
|
*/
|
|
1944
1946
|
UniqVpcId: string;
|
|
1945
1947
|
/**
|
|
1946
|
-
* 私有子网ID
|
|
1948
|
+
* 私有子网 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
1947
1949
|
*/
|
|
1948
1950
|
UniqSubnetId: string;
|
|
1949
1951
|
/**
|
|
1950
|
-
* IP
|
|
1952
|
+
* IP 地址。若不填写则自动分配子网下的可用 IP。
|
|
1951
1953
|
*/
|
|
1952
1954
|
Vip?: string;
|
|
1953
1955
|
/**
|
|
1954
|
-
*
|
|
1956
|
+
* 端口。默认值3306,取值范围:1024 - 65535。
|
|
1955
1957
|
*/
|
|
1956
1958
|
VPort?: number;
|
|
1957
1959
|
/**
|
|
1958
|
-
* 旧IP
|
|
1960
|
+
* 旧 IP 地址回收时间。单位:小时,默认值:24,取值范围:0 - 168。
|
|
1959
1961
|
*/
|
|
1960
1962
|
ReleaseDuration?: number;
|
|
1961
1963
|
}
|
|
@@ -1982,11 +1984,11 @@ export interface ModifyAutoRenewFlagRequest {
|
|
|
1982
1984
|
*/
|
|
1983
1985
|
export interface OpenSSLRequest {
|
|
1984
1986
|
/**
|
|
1985
|
-
* 实例 ID
|
|
1987
|
+
* 实例 ID。只读组 ID 为空时必填。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
1986
1988
|
*/
|
|
1987
1989
|
InstanceId?: string;
|
|
1988
1990
|
/**
|
|
1989
|
-
* 只读组 ID
|
|
1991
|
+
* 只读组 ID。实例 ID 为空时必填。可通过 [DescribeRoGroups](https://cloud.tencent.com/document/api/236/40939) 接口获取。
|
|
1990
1992
|
*/
|
|
1991
1993
|
RoGroupId?: string;
|
|
1992
1994
|
}
|
|
@@ -2038,7 +2040,7 @@ export interface ModifyBackupConfigResponse {
|
|
|
2038
2040
|
*/
|
|
2039
2041
|
export interface OpenWanServiceRequest {
|
|
2040
2042
|
/**
|
|
2041
|
-
* 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId
|
|
2043
|
+
* 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。可以传入只读组 ID。
|
|
2042
2044
|
*/
|
|
2043
2045
|
InstanceId: string;
|
|
2044
2046
|
/**
|
|
@@ -2170,11 +2172,12 @@ export interface AuditRuleFilters {
|
|
|
2170
2172
|
*/
|
|
2171
2173
|
export interface SubmitInstanceUpgradeCheckJobRequest {
|
|
2172
2174
|
/**
|
|
2173
|
-
* 实例 ID
|
|
2175
|
+
* 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
2174
2176
|
*/
|
|
2175
2177
|
InstanceId: string;
|
|
2176
2178
|
/**
|
|
2177
2179
|
* 目标数据库版本。
|
|
2180
|
+
说明:可选值5.6、5.7、8.0,不支持跨版本升级,升级后不支持版本降级。
|
|
2178
2181
|
*/
|
|
2179
2182
|
DstMysqlVersion: string;
|
|
2180
2183
|
}
|
|
@@ -2491,7 +2494,7 @@ export interface RuleFilters {
|
|
|
2491
2494
|
*/
|
|
2492
2495
|
export interface ModifyAuditRuleTemplatesRequest {
|
|
2493
2496
|
/**
|
|
2494
|
-
* 审计规则模板ID
|
|
2497
|
+
* 审计规则模板 ID。可通过 [DescribeAuditRuleTemplates](https://cloud.tencent.com/document/api/236/101811) 接口获取。
|
|
2495
2498
|
*/
|
|
2496
2499
|
RuleTemplateIds: Array<string>;
|
|
2497
2500
|
/**
|
|
@@ -2601,11 +2604,12 @@ export interface AssociateSecurityGroupsRequest {
|
|
|
2601
2604
|
*/
|
|
2602
2605
|
export interface DescribeInstanceUpgradeCheckJobRequest {
|
|
2603
2606
|
/**
|
|
2604
|
-
* 实例ID
|
|
2607
|
+
* 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
2605
2608
|
*/
|
|
2606
2609
|
InstanceId: string;
|
|
2607
2610
|
/**
|
|
2608
|
-
*
|
|
2611
|
+
* 目标数据库版本。
|
|
2612
|
+
说明:可选值5.6、5.7、8.0,不支持跨版本升级,升级后不支持版本降级。
|
|
2609
2613
|
*/
|
|
2610
2614
|
DstMysqlVersion: string;
|
|
2611
2615
|
}
|
|
@@ -3187,7 +3191,7 @@ export interface DescribeSlowLogsResponse {
|
|
|
3187
3191
|
*/
|
|
3188
3192
|
export interface DescribeCPUExpandStrategyInfoRequest {
|
|
3189
3193
|
/**
|
|
3190
|
-
* 实例 ID
|
|
3194
|
+
* 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
3191
3195
|
*/
|
|
3192
3196
|
InstanceId: string;
|
|
3193
3197
|
}
|
|
@@ -3726,7 +3730,7 @@ export interface SlaveInstanceInfo {
|
|
|
3726
3730
|
*/
|
|
3727
3731
|
export interface DescribeProjectSecurityGroupsRequest {
|
|
3728
3732
|
/**
|
|
3729
|
-
* 项目ID
|
|
3733
|
+
* 项目 ID。可通过 [DescribeProjects](https://cloud.tencent.com/document/api/651/78725) 接口获取。
|
|
3730
3734
|
*/
|
|
3731
3735
|
ProjectId?: number;
|
|
3732
3736
|
}
|
|
@@ -3744,7 +3748,7 @@ export interface StopReplicationRequest {
|
|
|
3744
3748
|
*/
|
|
3745
3749
|
export interface StartCpuExpandResponse {
|
|
3746
3750
|
/**
|
|
3747
|
-
* 异步任务 ID 。可以调用DescribeAsyncRequest 传入该 ID
|
|
3751
|
+
* 异步任务 ID 。可以调用 DescribeAsyncRequest 传入该 ID,进行任务执行进度的查询。
|
|
3748
3752
|
*/
|
|
3749
3753
|
AsyncRequestId?: string;
|
|
3750
3754
|
/**
|
|
@@ -4268,7 +4272,7 @@ export interface StartBatchRollbackRequest {
|
|
|
4268
4272
|
*/
|
|
4269
4273
|
export interface OpenDBInstanceEncryptionRequest {
|
|
4270
4274
|
/**
|
|
4271
|
-
* 云数据库实例 ID
|
|
4275
|
+
* 云数据库实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
4272
4276
|
*/
|
|
4273
4277
|
InstanceId: string;
|
|
4274
4278
|
/**
|
|
@@ -4619,7 +4623,7 @@ export interface DescribeAuditLogFilesRequest {
|
|
|
4619
4623
|
*/
|
|
4620
4624
|
InstanceId: string;
|
|
4621
4625
|
/**
|
|
4622
|
-
* 分页大小参数。默认值为
|
|
4626
|
+
* 分页大小参数。默认值为20,最小值为1,最大值为300。
|
|
4623
4627
|
*/
|
|
4624
4628
|
Limit?: number;
|
|
4625
4629
|
/**
|
|
@@ -4980,19 +4984,19 @@ export interface DescribeAccountPrivilegesResponse {
|
|
|
4980
4984
|
/**
|
|
4981
4985
|
* 全局权限数组。
|
|
4982
4986
|
*/
|
|
4983
|
-
GlobalPrivileges
|
|
4987
|
+
GlobalPrivileges?: Array<string>;
|
|
4984
4988
|
/**
|
|
4985
4989
|
* 数据库权限数组。
|
|
4986
4990
|
*/
|
|
4987
|
-
DatabasePrivileges
|
|
4991
|
+
DatabasePrivileges?: Array<DatabasePrivilege>;
|
|
4988
4992
|
/**
|
|
4989
4993
|
* 数据库中的表权限数组。
|
|
4990
4994
|
*/
|
|
4991
|
-
TablePrivileges
|
|
4995
|
+
TablePrivileges?: Array<TablePrivilege>;
|
|
4992
4996
|
/**
|
|
4993
4997
|
* 数据库表中的列权限数组。
|
|
4994
4998
|
*/
|
|
4995
|
-
ColumnPrivileges
|
|
4999
|
+
ColumnPrivileges?: Array<ColumnPrivilege>;
|
|
4996
5000
|
/**
|
|
4997
5001
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4998
5002
|
*/
|
|
@@ -5098,15 +5102,30 @@ export interface DescribeAccountsRequest {
|
|
|
5098
5102
|
*/
|
|
5099
5103
|
export interface ModifyAuditServiceRequest {
|
|
5100
5104
|
/**
|
|
5101
|
-
* 实例ID
|
|
5105
|
+
* 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
5102
5106
|
*/
|
|
5103
5107
|
InstanceId: string;
|
|
5104
5108
|
/**
|
|
5105
|
-
*
|
|
5109
|
+
* 日志保留时长。支持值包括:
|
|
5110
|
+
7 - 一周;
|
|
5111
|
+
30 - 一个月;
|
|
5112
|
+
90 - 三个月;
|
|
5113
|
+
180 - 六个月;
|
|
5114
|
+
365 - 一年;
|
|
5115
|
+
1095 - 三年;
|
|
5116
|
+
1825 - 五年。
|
|
5106
5117
|
*/
|
|
5107
5118
|
LogExpireDay?: number;
|
|
5108
5119
|
/**
|
|
5109
|
-
*
|
|
5120
|
+
* 高频日志保留时长。默认值为7,此项取值需小于等于 LogExpireDay,支持值包括:
|
|
5121
|
+
3 - 3天;
|
|
5122
|
+
7 - 一周;
|
|
5123
|
+
30 - 一个月;
|
|
5124
|
+
90 - 三个月;
|
|
5125
|
+
180 - 六个月;
|
|
5126
|
+
365 - 一年;
|
|
5127
|
+
1095 - 三年;
|
|
5128
|
+
1825 - 五年。
|
|
5110
5129
|
*/
|
|
5111
5130
|
HighLogExpireDay?: number;
|
|
5112
5131
|
/**
|
|
@@ -5119,7 +5138,7 @@ export interface ModifyAuditServiceRequest {
|
|
|
5119
5138
|
*/
|
|
5120
5139
|
AuditRuleFilters?: Array<AuditRuleFilters>;
|
|
5121
5140
|
/**
|
|
5122
|
-
* 规则模板ID
|
|
5141
|
+
* 规则模板 ID。可通过 [DescribeAuditRuleTemplates](https://cloud.tencent.com/document/api/236/101811) 接口获取。
|
|
5123
5142
|
*/
|
|
5124
5143
|
RuleTemplateIds?: Array<string>;
|
|
5125
5144
|
}
|
|
@@ -5345,11 +5364,14 @@ export interface ResetRootAccountResponse {
|
|
|
5345
5364
|
*/
|
|
5346
5365
|
export interface Account {
|
|
5347
5366
|
/**
|
|
5348
|
-
*
|
|
5367
|
+
* 账号名,可输入1 - 32个字符。
|
|
5349
5368
|
*/
|
|
5350
5369
|
User: string;
|
|
5351
5370
|
/**
|
|
5352
|
-
*
|
|
5371
|
+
* 账号的主机。
|
|
5372
|
+
说明:
|
|
5373
|
+
1. IP 形式,支持填入%。
|
|
5374
|
+
2. 多个主机以分隔符分隔,分隔符支持;,|换行符和空格。
|
|
5353
5375
|
*/
|
|
5354
5376
|
Host: string;
|
|
5355
5377
|
}
|
|
@@ -5367,7 +5389,8 @@ export interface ModifyNameOrDescByDpIdResponse {
|
|
|
5367
5389
|
*/
|
|
5368
5390
|
export interface DescribeClusterInfoRequest {
|
|
5369
5391
|
/**
|
|
5370
|
-
* 实例 ID
|
|
5392
|
+
* 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
5393
|
+
说明:仅能输入实例架构为云盘版的实例 ID,对应控制台实例配置显示为“云盘版(云盘)”的实例。
|
|
5371
5394
|
*/
|
|
5372
5395
|
InstanceId: string;
|
|
5373
5396
|
}
|
|
@@ -5534,15 +5557,15 @@ export interface SwitchDrInstanceToMasterRequest {
|
|
|
5534
5557
|
*/
|
|
5535
5558
|
export interface ModifyCdbProxyParamRequest {
|
|
5536
5559
|
/**
|
|
5537
|
-
* 实例ID
|
|
5560
|
+
* 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
5538
5561
|
*/
|
|
5539
5562
|
InstanceId: string;
|
|
5540
5563
|
/**
|
|
5541
|
-
* 代理组ID
|
|
5564
|
+
* 代理组 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585) 接口获取。
|
|
5542
5565
|
*/
|
|
5543
5566
|
ProxyGroupId: string;
|
|
5544
5567
|
/**
|
|
5545
|
-
*
|
|
5568
|
+
* 连接池阈值。取值范围:大于0,小于等于300。
|
|
5546
5569
|
注意:如需使用数据库代理连接池能力,MySQL 8.0 主实例的内核小版本要大于等于 MySQL 8.0 20230630。
|
|
5547
5570
|
*/
|
|
5548
5571
|
ConnectionPoolLimit: number;
|
|
@@ -6148,7 +6171,7 @@ export interface MigrateClusterRoInfo {
|
|
|
6148
6171
|
*/
|
|
6149
6172
|
export interface DescribeProxySupportParamRequest {
|
|
6150
6173
|
/**
|
|
6151
|
-
* 实例ID
|
|
6174
|
+
* 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
6152
6175
|
*/
|
|
6153
6176
|
InstanceId: string;
|
|
6154
6177
|
}
|
|
@@ -6823,11 +6846,11 @@ export interface DescribeDefaultParamsResponse {
|
|
|
6823
6846
|
*/
|
|
6824
6847
|
export interface SwitchCDBProxyRequest {
|
|
6825
6848
|
/**
|
|
6826
|
-
* 实例ID
|
|
6849
|
+
* 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
6827
6850
|
*/
|
|
6828
6851
|
InstanceId: string;
|
|
6829
6852
|
/**
|
|
6830
|
-
* 数据库代理ID
|
|
6853
|
+
* 数据库代理 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585) 接口获取。
|
|
6831
6854
|
*/
|
|
6832
6855
|
ProxyGroupId: string;
|
|
6833
6856
|
}
|
|
@@ -6896,23 +6919,23 @@ export interface OfflineIsolatedInstancesResponse {
|
|
|
6896
6919
|
*/
|
|
6897
6920
|
export interface CreateAuditRuleTemplateRequest {
|
|
6898
6921
|
/**
|
|
6899
|
-
*
|
|
6922
|
+
* 审计规则。
|
|
6900
6923
|
*/
|
|
6901
6924
|
RuleFilters: Array<RuleFilters>;
|
|
6902
6925
|
/**
|
|
6903
|
-
*
|
|
6926
|
+
* 规则模板名称。最多支持输入30个字符。
|
|
6904
6927
|
*/
|
|
6905
6928
|
RuleTemplateName: string;
|
|
6906
6929
|
/**
|
|
6907
|
-
*
|
|
6930
|
+
* 规则模板描述。最多支持输入200个字符。
|
|
6908
6931
|
*/
|
|
6909
6932
|
Description?: string;
|
|
6910
6933
|
/**
|
|
6911
|
-
* 告警等级。1
|
|
6934
|
+
* 告警等级。1 - 低风险,2 - 中风险,3 - 高风险。默认值为1。
|
|
6912
6935
|
*/
|
|
6913
6936
|
AlarmLevel?: number;
|
|
6914
6937
|
/**
|
|
6915
|
-
* 告警策略。0
|
|
6938
|
+
* 告警策略。0 - 不告警,1 - 告警。默认值为0。
|
|
6916
6939
|
*/
|
|
6917
6940
|
AlarmPolicy?: number;
|
|
6918
6941
|
}
|
|
@@ -6968,7 +6991,7 @@ export interface DescribeAuditPoliciesRequest {
|
|
|
6968
6991
|
*/
|
|
6969
6992
|
export interface AdjustCdbProxyAddressRequest {
|
|
6970
6993
|
/**
|
|
6971
|
-
* 代理组ID
|
|
6994
|
+
* 代理组 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585) 接口获取。
|
|
6972
6995
|
*/
|
|
6973
6996
|
ProxyGroupId: string;
|
|
6974
6997
|
/**
|
|
@@ -6981,11 +7004,12 @@ export interface AdjustCdbProxyAddressRequest {
|
|
|
6981
7004
|
*/
|
|
6982
7005
|
IsKickOut: boolean;
|
|
6983
7006
|
/**
|
|
6984
|
-
* 最小保留数量,最小取值:0
|
|
7007
|
+
* 最小保留数量,最小取值:0。
|
|
7008
|
+
说明:当 IsKickOut 为 true 时才有效。
|
|
6985
7009
|
*/
|
|
6986
7010
|
MinCount: number;
|
|
6987
7011
|
/**
|
|
6988
|
-
* 延迟剔除阈值,最小取值:
|
|
7012
|
+
* 延迟剔除阈值,最小取值:1,取值范围:[1,10000],整数。
|
|
6989
7013
|
*/
|
|
6990
7014
|
MaxDelay: number;
|
|
6991
7015
|
/**
|
|
@@ -7001,15 +7025,15 @@ export interface AdjustCdbProxyAddressRequest {
|
|
|
7001
7025
|
*/
|
|
7002
7026
|
ReadOnly: boolean;
|
|
7003
7027
|
/**
|
|
7004
|
-
* 代理组地址ID
|
|
7028
|
+
* 代理组地址 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585) 接口获取。
|
|
7005
7029
|
*/
|
|
7006
7030
|
ProxyAddressId: string;
|
|
7007
7031
|
/**
|
|
7008
|
-
* 是否开启事务分离,取值:"true" | "false"
|
|
7032
|
+
* 是否开启事务分离,取值:"true" | "false",默认值 false。
|
|
7009
7033
|
*/
|
|
7010
7034
|
TransSplit?: boolean;
|
|
7011
7035
|
/**
|
|
7012
|
-
*
|
|
7036
|
+
* 是否开启连接池。默认关闭。
|
|
7013
7037
|
注意:如需使用数据库代理连接池能力,MySQL 8.0 主实例的内核小版本要大于等于 MySQL 8.0 20230630。
|
|
7014
7038
|
*/
|
|
7015
7039
|
ConnectionPool?: boolean;
|
|
@@ -7018,11 +7042,11 @@ export interface AdjustCdbProxyAddressRequest {
|
|
|
7018
7042
|
*/
|
|
7019
7043
|
ProxyAllocation?: Array<ProxyAllocation>;
|
|
7020
7044
|
/**
|
|
7021
|
-
*
|
|
7045
|
+
* 是否开启自适应负载均衡。默认关闭。
|
|
7022
7046
|
*/
|
|
7023
7047
|
AutoLoadBalance?: boolean;
|
|
7024
7048
|
/**
|
|
7025
|
-
*
|
|
7049
|
+
* 访问模式:nearby - 就近访问,balance - 均衡分配,默认就近访问。
|
|
7026
7050
|
*/
|
|
7027
7051
|
AccessMode?: string;
|
|
7028
7052
|
}
|
|
@@ -7212,15 +7236,15 @@ export interface ModifyAccountHostRequest {
|
|
|
7212
7236
|
*/
|
|
7213
7237
|
InstanceId: string;
|
|
7214
7238
|
/**
|
|
7215
|
-
*
|
|
7239
|
+
* 账户的名称。可通过 [DescribeAccounts](https://cloud.tencent.com/document/api/236/17499) 接口获取。
|
|
7216
7240
|
*/
|
|
7217
7241
|
User: string;
|
|
7218
7242
|
/**
|
|
7219
|
-
*
|
|
7243
|
+
* 账户的旧主机。格式:IP 形式,支持单个 IP 地址或者%。
|
|
7220
7244
|
*/
|
|
7221
7245
|
Host: string;
|
|
7222
7246
|
/**
|
|
7223
|
-
*
|
|
7247
|
+
* 账户的新主机。格式:IP 形式,支持单个 IP 地址或者%。
|
|
7224
7248
|
*/
|
|
7225
7249
|
NewHost: string;
|
|
7226
7250
|
}
|
|
@@ -7491,7 +7515,7 @@ export interface DescribeTagsOfInstanceIdsRequest {
|
|
|
7491
7515
|
*/
|
|
7492
7516
|
export interface StartCpuExpandRequest {
|
|
7493
7517
|
/**
|
|
7494
|
-
* 实例 ID
|
|
7518
|
+
* 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
7495
7519
|
*/
|
|
7496
7520
|
InstanceId: string;
|
|
7497
7521
|
/**
|
|
@@ -7510,10 +7534,12 @@ export interface StartCpuExpandRequest {
|
|
|
7510
7534
|
AutoStrategy?: AutoStrategy;
|
|
7511
7535
|
/**
|
|
7512
7536
|
* 按时间段扩容策略。
|
|
7537
|
+
说明:当 Type 为 timeInterval 时,TimeIntervalStrategy 必填。
|
|
7513
7538
|
*/
|
|
7514
7539
|
TimeIntervalStrategy?: TimeIntervalStrategy;
|
|
7515
7540
|
/**
|
|
7516
7541
|
* 按周期扩容策略。
|
|
7542
|
+
说明:当 Type 为 period 时,PeriodStrategy 必填。
|
|
7517
7543
|
*/
|
|
7518
7544
|
PeriodStrategy?: PeriodStrategy;
|
|
7519
7545
|
}
|
|
@@ -7666,11 +7692,11 @@ export interface DescribeAccountPrivilegesRequest {
|
|
|
7666
7692
|
*/
|
|
7667
7693
|
InstanceId: string;
|
|
7668
7694
|
/**
|
|
7669
|
-
*
|
|
7695
|
+
* 数据库的账号名称。可通过 [DescribeAccounts](https://cloud.tencent.com/document/api/236/17499) 接口获取。
|
|
7670
7696
|
*/
|
|
7671
7697
|
User: string;
|
|
7672
7698
|
/**
|
|
7673
|
-
*
|
|
7699
|
+
* 数据库的账号域名。可通过 [DescribeAccounts](https://cloud.tencent.com/document/api/236/17499) 接口获取。
|
|
7674
7700
|
*/
|
|
7675
7701
|
Host: string;
|
|
7676
7702
|
}
|
|
@@ -7838,7 +7864,7 @@ export interface OpenSSLResponse {
|
|
|
7838
7864
|
/**
|
|
7839
7865
|
* 异步请求 ID。
|
|
7840
7866
|
*/
|
|
7841
|
-
AsyncRequestId
|
|
7867
|
+
AsyncRequestId?: string;
|
|
7842
7868
|
/**
|
|
7843
7869
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7844
7870
|
*/
|
|
@@ -7974,7 +8000,7 @@ export interface DescribeCdbProxyInfoResponse {
|
|
|
7974
8000
|
*/
|
|
7975
8001
|
export interface ModifyAuditConfigRequest {
|
|
7976
8002
|
/**
|
|
7977
|
-
* 实例 ID
|
|
8003
|
+
* 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
7978
8004
|
*/
|
|
7979
8005
|
InstanceId: string;
|
|
7980
8006
|
/**
|
|
@@ -7989,8 +8015,10 @@ export interface ModifyAuditConfigRequest {
|
|
|
7989
8015
|
LogExpireDay?: number;
|
|
7990
8016
|
/**
|
|
7991
8017
|
* 是否关闭审计服务。可选值:true - 关闭审计服务;false - 不关闭审计服务。默认值为 false。
|
|
7992
|
-
|
|
7993
|
-
|
|
8018
|
+
说明:
|
|
8019
|
+
1. 当关闭审计服务时,会删除用户的审计日志和文件,并删除该实例的所有审计策略。
|
|
8020
|
+
2. CloseAudit、LogExpireDay 必须至少提供一个,如果两个都提供则按照 CloseAudit 优先的逻辑处理。
|
|
8021
|
+
3. 可通过设置此参数来关闭审计服务,已关闭后不能通过此接口来开启审计服务。
|
|
7994
8022
|
*/
|
|
7995
8023
|
CloseAudit?: boolean;
|
|
7996
8024
|
/**
|
|
@@ -8204,11 +8232,11 @@ export interface DescribeDBSecurityGroupsResponse {
|
|
|
8204
8232
|
*/
|
|
8205
8233
|
export interface CloseCdbProxyAddressRequest {
|
|
8206
8234
|
/**
|
|
8207
|
-
* 代理组ID
|
|
8235
|
+
* 代理组 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585) 接口获取。
|
|
8208
8236
|
*/
|
|
8209
8237
|
ProxyGroupId: string;
|
|
8210
8238
|
/**
|
|
8211
|
-
* 代理组地址ID
|
|
8239
|
+
* 代理组地址 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585) 接口获取。
|
|
8212
8240
|
*/
|
|
8213
8241
|
ProxyAddressId: string;
|
|
8214
8242
|
}
|
|
@@ -8378,11 +8406,11 @@ export interface IsolateDBInstanceResponse {
|
|
|
8378
8406
|
*/
|
|
8379
8407
|
export interface AdjustCdbProxyRequest {
|
|
8380
8408
|
/**
|
|
8381
|
-
* 实例ID
|
|
8409
|
+
* 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
8382
8410
|
*/
|
|
8383
8411
|
InstanceId: string;
|
|
8384
8412
|
/**
|
|
8385
|
-
* 代理组ID
|
|
8413
|
+
* 代理组 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585) 接口获取。
|
|
8386
8414
|
*/
|
|
8387
8415
|
ProxyGroupId: string;
|
|
8388
8416
|
/**
|
|
@@ -9014,11 +9042,11 @@ export interface ClusterInfo {
|
|
|
9014
9042
|
*/
|
|
9015
9043
|
export interface CloseCDBProxyRequest {
|
|
9016
9044
|
/**
|
|
9017
|
-
* 实例ID
|
|
9045
|
+
* 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
9018
9046
|
*/
|
|
9019
9047
|
InstanceId: string;
|
|
9020
9048
|
/**
|
|
9021
|
-
* 代理组ID
|
|
9049
|
+
* 代理组 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585) 接口获取。
|
|
9022
9050
|
*/
|
|
9023
9051
|
ProxyGroupId?: string;
|
|
9024
9052
|
/**
|
|
@@ -9116,24 +9144,30 @@ export interface CreateDBInstanceResponse {
|
|
|
9116
9144
|
*/
|
|
9117
9145
|
export interface OpenAuditServiceRequest {
|
|
9118
9146
|
/**
|
|
9119
|
-
* CDB实例ID
|
|
9147
|
+
* CDB 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
9120
9148
|
*/
|
|
9121
9149
|
InstanceId: string;
|
|
9122
9150
|
/**
|
|
9123
9151
|
* 审计日志保存时长。支持值包括:
|
|
9124
|
-
7 -
|
|
9152
|
+
7 - 一周;
|
|
9125
9153
|
30 - 一个月;
|
|
9126
9154
|
90 - 三个月;
|
|
9127
9155
|
180 - 六个月;
|
|
9128
9156
|
365 - 一年;
|
|
9129
9157
|
1095 - 三年;
|
|
9130
|
-
1825 -
|
|
9158
|
+
1825 - 五年。
|
|
9131
9159
|
*/
|
|
9132
9160
|
LogExpireDay: number;
|
|
9133
9161
|
/**
|
|
9134
|
-
*
|
|
9135
|
-
|
|
9162
|
+
* 高频审计日志保存时长。默认值为7,此项取值需小于等于 LogExpireDay,支持值包括:
|
|
9163
|
+
3 - 3天;
|
|
9164
|
+
7 - 一周;
|
|
9136
9165
|
30 - 一个月;
|
|
9166
|
+
90 - 三个月;
|
|
9167
|
+
180 - 六个月;
|
|
9168
|
+
365 - 一年;
|
|
9169
|
+
1095 - 三年;
|
|
9170
|
+
1825 - 五年。
|
|
9137
9171
|
*/
|
|
9138
9172
|
HighLogExpireDay?: number;
|
|
9139
9173
|
/**
|
|
@@ -9142,11 +9176,11 @@ export interface OpenAuditServiceRequest {
|
|
|
9142
9176
|
*/
|
|
9143
9177
|
AuditRuleFilters?: Array<AuditRuleFilters>;
|
|
9144
9178
|
/**
|
|
9145
|
-
* 规则模板ID
|
|
9179
|
+
* 规则模板 ID。
|
|
9146
9180
|
*/
|
|
9147
9181
|
RuleTemplateIds?: Array<string>;
|
|
9148
9182
|
/**
|
|
9149
|
-
* 审计类型。true
|
|
9183
|
+
* 审计类型。true - 全审计;默认 false - 规则审计。
|
|
9150
9184
|
*/
|
|
9151
9185
|
AuditAll?: boolean;
|
|
9152
9186
|
}
|
|
@@ -9303,7 +9337,7 @@ export interface ModifyDBInstanceSecurityGroupsRequest {
|
|
|
9303
9337
|
*/
|
|
9304
9338
|
export interface CloseAuditServiceRequest {
|
|
9305
9339
|
/**
|
|
9306
|
-
* 实例ID
|
|
9340
|
+
* 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
9307
9341
|
*/
|
|
9308
9342
|
InstanceId: string;
|
|
9309
9343
|
}
|
|
@@ -9748,7 +9782,8 @@ export interface RoGroupAttr {
|
|
|
9748
9782
|
*/
|
|
9749
9783
|
RoGroupName?: string;
|
|
9750
9784
|
/**
|
|
9751
|
-
* RO 实例最大延迟阈值。单位为秒,最小值为 1
|
|
9785
|
+
* RO 实例最大延迟阈值。单位为秒,最小值为 1。范围:[1,10000],整数。
|
|
9786
|
+
注意:RO 组必须设置了开启实例延迟剔除策略,该值才有效。
|
|
9752
9787
|
*/
|
|
9753
9788
|
RoMaxDelayTime?: number;
|
|
9754
9789
|
/**
|
|
@@ -9756,7 +9791,8 @@ export interface RoGroupAttr {
|
|
|
9756
9791
|
*/
|
|
9757
9792
|
RoOfflineDelay?: number;
|
|
9758
9793
|
/**
|
|
9759
|
-
* 最少保留实例数。可设置为小于或等于该 RO 组下 RO
|
|
9794
|
+
* 最少保留实例数。可设置为小于或等于该 RO 组下 RO 实例个数的任意值。默认值为1。
|
|
9795
|
+
注意:若设置值大于 RO 实例数量将不做剔除;若设置为 0,所有实例延迟超限都会被剔除。
|
|
9760
9796
|
*/
|
|
9761
9797
|
MinRoInGroup?: number;
|
|
9762
9798
|
/**
|
|
@@ -9764,7 +9800,7 @@ export interface RoGroupAttr {
|
|
|
9764
9800
|
*/
|
|
9765
9801
|
WeightMode?: string;
|
|
9766
9802
|
/**
|
|
9767
|
-
*
|
|
9803
|
+
* 延迟复制时间。单位:秒,范围:1 - 259200秒,不传此参数表示不开启实例延迟复制。
|
|
9768
9804
|
*/
|
|
9769
9805
|
ReplicationDelayTime?: number;
|
|
9770
9806
|
}
|
|
@@ -9874,7 +9910,7 @@ export interface CloseSSLResponse {
|
|
|
9874
9910
|
/**
|
|
9875
9911
|
* 异步请求 ID。
|
|
9876
9912
|
*/
|
|
9877
|
-
AsyncRequestId
|
|
9913
|
+
AsyncRequestId?: string;
|
|
9878
9914
|
/**
|
|
9879
9915
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9880
9916
|
*/
|
|
@@ -10044,7 +10080,7 @@ export interface DescribeAuditRuleTemplatesRequest {
|
|
|
10044
10080
|
*/
|
|
10045
10081
|
RuleTemplateNames?: Array<string>;
|
|
10046
10082
|
/**
|
|
10047
|
-
* 单次请求返回的数量。默认值20。
|
|
10083
|
+
* 单次请求返回的数量。默认值20,最大值为1000。
|
|
10048
10084
|
*/
|
|
10049
10085
|
Limit?: number;
|
|
10050
10086
|
/**
|
|
@@ -10195,11 +10231,11 @@ export interface ReleaseIsolatedDBInstancesResponse {
|
|
|
10195
10231
|
*/
|
|
10196
10232
|
export interface DeleteAuditLogFileRequest {
|
|
10197
10233
|
/**
|
|
10198
|
-
*
|
|
10234
|
+
* 审计日志文件名称。可通过 [DescribeAuditLogFiles](https://cloud.tencent.com/document/api/236/45454) 接口获取。
|
|
10199
10235
|
*/
|
|
10200
10236
|
FileName: string;
|
|
10201
10237
|
/**
|
|
10202
|
-
* 实例 ID
|
|
10238
|
+
* 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
10203
10239
|
*/
|
|
10204
10240
|
InstanceId: string;
|
|
10205
10241
|
}
|
|
@@ -10349,7 +10385,7 @@ export interface UpgradeDBInstanceResponse {
|
|
|
10349
10385
|
*/
|
|
10350
10386
|
DealIds?: Array<string>;
|
|
10351
10387
|
/**
|
|
10352
|
-
* 异步任务的请求 ID,可使用此 ID
|
|
10388
|
+
* 异步任务的请求 ID,可使用此 ID [查询异步任务的执行结果](https://cloud.tencent.com/document/product/236/20410)。
|
|
10353
10389
|
*/
|
|
10354
10390
|
AsyncRequestId?: string;
|
|
10355
10391
|
/**
|
|
@@ -10362,11 +10398,11 @@ export interface UpgradeDBInstanceResponse {
|
|
|
10362
10398
|
*/
|
|
10363
10399
|
export interface UpgradeCDBProxyVersionRequest {
|
|
10364
10400
|
/**
|
|
10365
|
-
* 实例ID
|
|
10401
|
+
* 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
|
10366
10402
|
*/
|
|
10367
10403
|
InstanceId: string;
|
|
10368
10404
|
/**
|
|
10369
|
-
* 数据库代理ID
|
|
10405
|
+
* 数据库代理 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585) 接口获取。
|
|
10370
10406
|
*/
|
|
10371
10407
|
ProxyGroupId: string;
|
|
10372
10408
|
/**
|