tencentcloud-sdk-nodejs-cynosdb 4.1.155 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-cynosdb",
3
- "version": "4.1.155",
3
+ "version": "4.1.157",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -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
- * 是否开启连接池,yes-开启,no-不开启
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-系统分配,custom-自定义
1664
+ system:系统分配。
1665
+ custom:自定义。
1663
1666
  */
1664
1667
  WeightMode?: string;
1665
1668
  /**
1666
- * 是否自动添加只读实例,yes-是,no-不自动添加
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,global,session
1684
+ eventual:最终一致性。
1685
+ global:全局一致性。
1686
+ session:会话一致性。
1687
+ 说明:
1688
+ 仅当 RwType 参数值为 READWRITE 时,才支持设置此项。
1679
1689
  */
1680
1690
  ConsistencyType?: string;
1681
1691
  /**
1682
1692
  * 读写属性:
1683
- READWRITE,READONLY
1693
+ READWRITE:表示读写分离。当此参数值为 READWRITE 时,才支持设置 FailOver、ConsistencyType 参数。
1694
+ READONLY:表示只读。
1684
1695
  */
1685
1696
  RwType?: string;
1686
1697
  /**
1687
- * 一致性超时时间。取值范围:0~1000000(微秒),设置0则表示若只读实例出现延迟, 导致一致性策略不满足, 请求将一直等待
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,balance
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
  /**
@@ -4642,7 +4659,9 @@ export interface InquirePriceCreateRequest {
4642
4659
  */
4643
4660
  StoragePayMode: string;
4644
4661
  /**
4645
- * 实例设备类型
4662
+ * 实例设备类型,支持值如下:
4663
+ - common:表示通用型
4664
+ - exclusive:表示独享型
4646
4665
  */
4647
4666
  DeviceType?: string;
4648
4667
  /**
@@ -5156,7 +5175,9 @@ export interface AddInstancesRequest {
5156
5175
  */
5157
5176
  ReadOnlyCount: number;
5158
5177
  /**
5159
- * 实例机器类型
5178
+ * 实例机器类型,支持值如下:
5179
+ - common:表示通用型
5180
+ - exclusive:表示独享型
5160
5181
  */
5161
5182
  DeviceType?: string;
5162
5183
  /**
@@ -7408,6 +7429,10 @@ export interface BinlogItem {
7408
7429
  * Binlog文件ID
7409
7430
  */
7410
7431
  BinlogId?: number;
7432
+ /**
7433
+ * binlog所跨地域
7434
+ */
7435
+ CrossRegions?: Array<string>;
7411
7436
  }
7412
7437
  /**
7413
7438
  * ModifyProxyDesc请求参数结构体
@@ -8450,7 +8475,16 @@ export interface CynosdbClusterDetail {
8450
8475
  */
8451
8476
  PhysicalZone?: string;
8452
8477
  /**
8453
- * 状态
8478
+ * 状态,支持的值如下:
8479
+ - creating:创建中
8480
+ - running:运行中
8481
+ - isolating:隔离中
8482
+ - isolated:已隔离
8483
+ - activating:从回收站重新恢复
8484
+ - offlining:下线中
8485
+ - offlined:已下线
8486
+ - deleting:删除中
8487
+ - deleted:已删除
8454
8488
  */
8455
8489
  Status?: string;
8456
8490
  /**
@@ -9168,6 +9202,7 @@ export interface ClusterInstanceDetail {
9168
9202
  InstanceDeviceType?: string;
9169
9203
  /**
9170
9204
  * 实例存储类型
9205
+ 说明:仅当要查询的资源为 LibraDB 时,此参数才会返回值。
9171
9206
  */
9172
9207
  InstanceStorageType?: string;
9173
9208
  /**
@@ -9176,6 +9211,7 @@ export interface ClusterInstanceDetail {
9176
9211
  DbMode?: string;
9177
9212
  /**
9178
9213
  * 节点列表
9214
+ 说明:仅当要查询的资源为 LibraDB 时,此参数才会返回值。
9179
9215
  */
9180
9216
  NodeList?: Array<string>;
9181
9217
  }
@@ -11010,6 +11046,10 @@ export interface ModifyServerlessStrategyRequest {
11010
11046
  * 是否开启归档,可选范围<li>yes</li><li>no</li>默认值:yes
11011
11047
  */
11012
11048
  AutoArchive?: string;
11049
+ /**
11050
+ * 升级类型。 默认值:upgradeImmediate。 可选值: upgradeImmediate:立即完成修改 upgradeInMaintain:在维护时间窗口内完成修改
11051
+ */
11052
+ UpgradeType?: string;
11013
11053
  }
11014
11054
  /**
11015
11055
  * DescribeBinlogConfig返回参数结构体