tencentcloud-sdk-nodejs-cynosdb 4.1.156 → 4.1.157
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/package.json
CHANGED
|
@@ -1622,82 +1622,94 @@ export interface AssociateSecurityGroupsResponse {
|
|
|
1622
1622
|
*/
|
|
1623
1623
|
export interface CreateProxyEndPointRequest {
|
|
1624
1624
|
/**
|
|
1625
|
-
* 集群ID
|
|
1625
|
+
* 集群 ID。
|
|
1626
1626
|
*/
|
|
1627
1627
|
ClusterId: string;
|
|
1628
1628
|
/**
|
|
1629
|
-
* 私有网络ID,默认与集群私有网络ID
|
|
1629
|
+
* 私有网络 ID,默认与集群私有网络 ID 保持一致。
|
|
1630
1630
|
*/
|
|
1631
1631
|
UniqueVpcId: string;
|
|
1632
1632
|
/**
|
|
1633
|
-
* 私有网络子网ID,默认与集群子网ID
|
|
1633
|
+
* 私有网络子网 ID,默认与集群子网 ID 保持一致。
|
|
1634
1634
|
*/
|
|
1635
1635
|
UniqueSubnetId: string;
|
|
1636
1636
|
/**
|
|
1637
|
-
* 连接池类型:SessionConnectionPool
|
|
1637
|
+
* 连接池类型:SessionConnectionPool(会话级别连接池)。
|
|
1638
1638
|
*/
|
|
1639
1639
|
ConnectionPoolType?: string;
|
|
1640
1640
|
/**
|
|
1641
|
-
*
|
|
1641
|
+
* 是否开启连接池。
|
|
1642
|
+
yes:表示开启。
|
|
1643
|
+
no:表示不开启。
|
|
1642
1644
|
*/
|
|
1643
1645
|
OpenConnectionPool?: string;
|
|
1644
1646
|
/**
|
|
1645
|
-
*
|
|
1647
|
+
* 连接池阈值:单位(秒),可选范围:0 - 300秒。
|
|
1646
1648
|
*/
|
|
1647
1649
|
ConnectionPoolTimeOut?: number;
|
|
1648
1650
|
/**
|
|
1649
|
-
* 绑定的安全组ID
|
|
1651
|
+
* 绑定的安全组 ID 数组。
|
|
1650
1652
|
*/
|
|
1651
1653
|
SecurityGroupIds?: Array<string>;
|
|
1652
1654
|
/**
|
|
1653
|
-
*
|
|
1655
|
+
* 描述说明。
|
|
1654
1656
|
*/
|
|
1655
1657
|
Description?: string;
|
|
1656
1658
|
/**
|
|
1657
|
-
* 想要绑定的vip信息,需与UniqueVpcId对应。
|
|
1659
|
+
* 想要绑定的 vip 信息,需与 UniqueVpcId 对应。
|
|
1658
1660
|
*/
|
|
1659
1661
|
Vip?: string;
|
|
1660
1662
|
/**
|
|
1661
1663
|
* 权重模式:
|
|
1662
|
-
system
|
|
1664
|
+
system:系统分配。
|
|
1665
|
+
custom:自定义。
|
|
1663
1666
|
*/
|
|
1664
1667
|
WeightMode?: string;
|
|
1665
1668
|
/**
|
|
1666
|
-
*
|
|
1669
|
+
* 是否自动添加只读实例。
|
|
1670
|
+
yes:表示自动添加只读实例。
|
|
1671
|
+
no:表示不自动添加只读实例。
|
|
1667
1672
|
*/
|
|
1668
1673
|
AutoAddRo?: string;
|
|
1669
1674
|
/**
|
|
1670
1675
|
* 是否开启故障转移。
|
|
1671
|
-
yes
|
|
1672
|
-
no
|
|
1673
|
-
|
|
1676
|
+
yes:表示开启,开启后,当数据库代理出现故障时,连接地址将会路由到主实例。
|
|
1677
|
+
no:表示不开启。
|
|
1678
|
+
说明:
|
|
1679
|
+
仅当 RwType 参数值为 READWRITE 时,才支持设置此项。
|
|
1674
1680
|
*/
|
|
1675
1681
|
FailOver?: string;
|
|
1676
1682
|
/**
|
|
1677
1683
|
* 一致性类型:
|
|
1678
|
-
eventual
|
|
1684
|
+
eventual:最终一致性。
|
|
1685
|
+
global:全局一致性。
|
|
1686
|
+
session:会话一致性。
|
|
1687
|
+
说明:
|
|
1688
|
+
仅当 RwType 参数值为 READWRITE 时,才支持设置此项。
|
|
1679
1689
|
*/
|
|
1680
1690
|
ConsistencyType?: string;
|
|
1681
1691
|
/**
|
|
1682
1692
|
* 读写属性:
|
|
1683
|
-
READWRITE
|
|
1693
|
+
READWRITE:表示读写分离。当此参数值为 READWRITE 时,才支持设置 FailOver、ConsistencyType 参数。
|
|
1694
|
+
READONLY:表示只读。
|
|
1684
1695
|
*/
|
|
1685
1696
|
RwType?: string;
|
|
1686
1697
|
/**
|
|
1687
|
-
* 一致性超时时间。取值范围:0~1000000
|
|
1698
|
+
* 一致性超时时间。取值范围:0 ~ 1000000(微秒)。设置为0时,表示若只读实例出现延迟导致一致性策略不满足时,请求将一直等待。
|
|
1688
1699
|
*/
|
|
1689
1700
|
ConsistencyTimeOut?: number;
|
|
1690
1701
|
/**
|
|
1691
|
-
*
|
|
1702
|
+
* 是否开启事务拆分。开启后,在一个事务中拆分读和写到不同的实例上去执行。
|
|
1692
1703
|
*/
|
|
1693
1704
|
TransSplit?: boolean;
|
|
1694
1705
|
/**
|
|
1695
|
-
*
|
|
1696
|
-
nearby
|
|
1706
|
+
* 接入模式:
|
|
1707
|
+
nearby:就近访问。
|
|
1708
|
+
balance:均衡分配。
|
|
1697
1709
|
*/
|
|
1698
1710
|
AccessMode?: string;
|
|
1699
1711
|
/**
|
|
1700
|
-
*
|
|
1712
|
+
* 实例权重。
|
|
1701
1713
|
*/
|
|
1702
1714
|
InstanceWeights?: Array<ProxyInstanceWeight>;
|
|
1703
1715
|
}
|
|
@@ -2198,8 +2210,13 @@ export interface DescribeChangedParamsAfterUpgradeResponse {
|
|
|
2198
2210
|
export interface ModifyServerlessStrategyResponse {
|
|
2199
2211
|
/**
|
|
2200
2212
|
* 异步流程id
|
|
2213
|
+
* @deprecated
|
|
2201
2214
|
*/
|
|
2202
2215
|
FlowId?: number;
|
|
2216
|
+
/**
|
|
2217
|
+
* 任务id
|
|
2218
|
+
*/
|
|
2219
|
+
TaskId?: number;
|
|
2203
2220
|
/**
|
|
2204
2221
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2205
2222
|
*/
|
|
@@ -3063,7 +3080,7 @@ export interface DescribeBinlogsRequest {
|
|
|
3063
3080
|
*/
|
|
3064
3081
|
Offset?: number;
|
|
3065
3082
|
/**
|
|
3066
|
-
*
|
|
3083
|
+
* 限制条数,默认值为20
|
|
3067
3084
|
*/
|
|
3068
3085
|
Limit?: number;
|
|
3069
3086
|
}
|
|
@@ -4496,15 +4513,15 @@ export interface DescribeClusterInstanceGroupsResponse {
|
|
|
4496
4513
|
*/
|
|
4497
4514
|
export interface CreateProxyEndPointResponse {
|
|
4498
4515
|
/**
|
|
4499
|
-
* 异步流程ID
|
|
4516
|
+
* 异步流程 ID。
|
|
4500
4517
|
*/
|
|
4501
4518
|
FlowId?: number;
|
|
4502
4519
|
/**
|
|
4503
|
-
* 异步任务ID
|
|
4520
|
+
* 异步任务 ID。
|
|
4504
4521
|
*/
|
|
4505
4522
|
TaskId?: number;
|
|
4506
4523
|
/**
|
|
4507
|
-
* 数据库代理组ID
|
|
4524
|
+
* 数据库代理组 ID。
|
|
4508
4525
|
*/
|
|
4509
4526
|
ProxyGroupId?: string;
|
|
4510
4527
|
/**
|
|
@@ -9185,6 +9202,7 @@ export interface ClusterInstanceDetail {
|
|
|
9185
9202
|
InstanceDeviceType?: string;
|
|
9186
9203
|
/**
|
|
9187
9204
|
* 实例存储类型
|
|
9205
|
+
说明:仅当要查询的资源为 LibraDB 时,此参数才会返回值。
|
|
9188
9206
|
*/
|
|
9189
9207
|
InstanceStorageType?: string;
|
|
9190
9208
|
/**
|
|
@@ -9193,6 +9211,7 @@ export interface ClusterInstanceDetail {
|
|
|
9193
9211
|
DbMode?: string;
|
|
9194
9212
|
/**
|
|
9195
9213
|
* 节点列表
|
|
9214
|
+
说明:仅当要查询的资源为 LibraDB 时,此参数才会返回值。
|
|
9196
9215
|
*/
|
|
9197
9216
|
NodeList?: Array<string>;
|
|
9198
9217
|
}
|
|
@@ -11027,6 +11046,10 @@ export interface ModifyServerlessStrategyRequest {
|
|
|
11027
11046
|
* 是否开启归档,可选范围<li>yes</li><li>no</li>默认值:yes
|
|
11028
11047
|
*/
|
|
11029
11048
|
AutoArchive?: string;
|
|
11049
|
+
/**
|
|
11050
|
+
* 升级类型。 默认值:upgradeImmediate。 可选值: upgradeImmediate:立即完成修改 upgradeInMaintain:在维护时间窗口内完成修改
|
|
11051
|
+
*/
|
|
11052
|
+
UpgradeType?: string;
|
|
11030
11053
|
}
|
|
11031
11054
|
/**
|
|
11032
11055
|
* DescribeBinlogConfig返回参数结构体
|