tencentcloud-sdk-cynosdb 3.0.1181 → 3.0.1186

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190107/models.rb +51 -28
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6315f7f1fd9cc238fdf4cb3ab546ee2f4e41afb0
4
- data.tar.gz: dcf4f4d6364dbdfaeb1b436711c7f783406fb02d
3
+ metadata.gz: ecdef1e172e90e232fd87c082a9b98c85f2f9f6f
4
+ data.tar.gz: b1828a1fb51117202c6f1b6ed343503a2dff7604
5
5
  SHA512:
6
- metadata.gz: 9828584dd611f3196e8568103451121d6fb8e9a140cd1c7c43e6f0e3330d7a22b0489212bae5a7f7eeea483363305d7e7fad10dd602924ced67d9f634c7aff00
7
- data.tar.gz: 62a3df1eb450c178787926e8881cb0e5f85a131c2e81839cd339d536d52ecf22eafda6dd56f7d7baaf16ac9626089ebe770cee75b0009d8b48fe2d460e65f7c2
6
+ metadata.gz: 947931fda2d40b4f1de9e88287b30406dac2809c0e941f5dbcd4dde4d5b18b00638e8df2285385ef8fc6d6bd758060dac966538649dc84ff26758b9d60aa7cde
7
+ data.tar.gz: a3ac299e74effe589f234a7c61b03a58fc0524064492a12ebf53c1e8a5fa79592f31311490aac7bdb261433149c6e853cbbe02e0ed7f982133f663a875e6c8b0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1181
1
+ 3.0.1186
@@ -2831,48 +2831,60 @@ module TencentCloud
2831
2831
 
2832
2832
  # CreateProxyEndPoint请求参数结构体
2833
2833
  class CreateProxyEndPointRequest < TencentCloud::Common::AbstractModel
2834
- # @param ClusterId: 集群ID
2834
+ # @param ClusterId: 集群 ID
2835
2835
  # @type ClusterId: String
2836
- # @param UniqueVpcId: 私有网络ID,默认与集群私有网络ID保持一致
2836
+ # @param UniqueVpcId: 私有网络 ID,默认与集群私有网络 ID 保持一致。
2837
2837
  # @type UniqueVpcId: String
2838
- # @param UniqueSubnetId: 私有网络子网ID,默认与集群子网ID保持一致
2838
+ # @param UniqueSubnetId: 私有网络子网 ID,默认与集群子网 ID 保持一致。
2839
2839
  # @type UniqueSubnetId: String
2840
- # @param ConnectionPoolType: 连接池类型:SessionConnectionPool(会话级别连接池 )
2840
+ # @param ConnectionPoolType: 连接池类型:SessionConnectionPool(会话级别连接池)。
2841
2841
  # @type ConnectionPoolType: String
2842
- # @param OpenConnectionPool: 是否开启连接池,yes-开启,no-不开启
2842
+ # @param OpenConnectionPool: 是否开启连接池。
2843
+ # yes:表示开启。
2844
+ # no:表示不开启。
2843
2845
  # @type OpenConnectionPool: String
2844
- # @param ConnectionPoolTimeOut: 连接池阈值:单位(秒)
2846
+ # @param ConnectionPoolTimeOut: 连接池阈值:单位(秒),可选范围:0 - 300秒。
2845
2847
  # @type ConnectionPoolTimeOut: Integer
2846
- # @param SecurityGroupIds: 绑定的安全组ID数组
2848
+ # @param SecurityGroupIds: 绑定的安全组 ID 数组。
2847
2849
  # @type SecurityGroupIds: Array
2848
- # @param Description: 描述说明
2850
+ # @param Description: 描述说明。
2849
2851
  # @type Description: String
2850
- # @param Vip: 想要绑定的vip信息,需与UniqueVpcId对应。
2852
+ # @param Vip: 想要绑定的 vip 信息,需与 UniqueVpcId 对应。
2851
2853
  # @type Vip: String
2852
2854
  # @param WeightMode: 权重模式:
2853
- # system-系统分配,custom-自定义
2855
+ # system:系统分配。
2856
+ # custom:自定义。
2854
2857
  # @type WeightMode: String
2855
- # @param AutoAddRo: 是否自动添加只读实例,yes-是,no-不自动添加
2858
+ # @param AutoAddRo: 是否自动添加只读实例。
2859
+ # yes:表示自动添加只读实例。
2860
+ # no:表示不自动添加只读实例。
2856
2861
  # @type AutoAddRo: String
2857
2862
  # @param FailOver: 是否开启故障转移。
2858
- # yes:开启
2859
- # no:不开启。
2860
- # 数据库代理出现故障时,链接地址将会路由到主实例
2863
+ # yes:表示开启,开启后,当数据库代理出现故障时,连接地址将会路由到主实例。
2864
+ # no:表示不开启。
2865
+ # 说明:
2866
+ # 仅当 RwType 参数值为 READWRITE 时,才支持设置此项。
2861
2867
  # @type FailOver: String
2862
2868
  # @param ConsistencyType: 一致性类型:
2863
- # eventual,global,session
2869
+ # eventual:最终一致性。
2870
+ # global:全局一致性。
2871
+ # session:会话一致性。
2872
+ # 说明:
2873
+ # 仅当 RwType 参数值为 READWRITE 时,才支持设置此项。
2864
2874
  # @type ConsistencyType: String
2865
2875
  # @param RwType: 读写属性:
2866
- # READWRITE,READONLY
2876
+ # READWRITE:表示读写分离。当此参数值为 READWRITE 时,才支持设置 FailOver、ConsistencyType 参数。
2877
+ # READONLY:表示只读。
2867
2878
  # @type RwType: String
2868
- # @param ConsistencyTimeOut: 一致性超时时间。取值范围:0~1000000(微秒),设置0则表示若只读实例出现延迟, 导致一致性策略不满足, 请求将一直等待
2879
+ # @param ConsistencyTimeOut: 一致性超时时间。取值范围:0 ~ 1000000(微秒)。设置为0时,表示若只读实例出现延迟导致一致性策略不满足时,请求将一直等待。
2869
2880
  # @type ConsistencyTimeOut: Integer
2870
- # @param TransSplit: 是否开启事务拆分。在一个事务中拆分读和写到不同的实例上去执行
2881
+ # @param TransSplit: 是否开启事务拆分。开启后,在一个事务中拆分读和写到不同的实例上去执行。
2871
2882
  # @type TransSplit: Boolean
2872
- # @param AccessMode: 连接模式:
2873
- # nearby,balance
2883
+ # @param AccessMode: 接入模式:
2884
+ # nearby:就近访问。
2885
+ # balance:均衡分配。
2874
2886
  # @type AccessMode: String
2875
- # @param InstanceWeights: 实例权重
2887
+ # @param InstanceWeights: 实例权重。
2876
2888
  # @type InstanceWeights: Array
2877
2889
 
2878
2890
  attr_accessor :ClusterId, :UniqueVpcId, :UniqueSubnetId, :ConnectionPoolType, :OpenConnectionPool, :ConnectionPoolTimeOut, :SecurityGroupIds, :Description, :Vip, :WeightMode, :AutoAddRo, :FailOver, :ConsistencyType, :RwType, :ConsistencyTimeOut, :TransSplit, :AccessMode, :InstanceWeights
@@ -2929,11 +2941,11 @@ module TencentCloud
2929
2941
 
2930
2942
  # CreateProxyEndPoint返回参数结构体
2931
2943
  class CreateProxyEndPointResponse < TencentCloud::Common::AbstractModel
2932
- # @param FlowId: 异步流程ID
2944
+ # @param FlowId: 异步流程 ID
2933
2945
  # @type FlowId: Integer
2934
- # @param TaskId: 异步任务ID
2946
+ # @param TaskId: 异步任务 ID
2935
2947
  # @type TaskId: Integer
2936
- # @param ProxyGroupId: 数据库代理组ID
2948
+ # @param ProxyGroupId: 数据库代理组 ID
2937
2949
  # @type ProxyGroupId: String
2938
2950
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2939
2951
  # @type RequestId: String
@@ -11777,10 +11789,12 @@ module TencentCloud
11777
11789
  # @type MaxRoCount: Integer
11778
11790
  # @param AutoArchive: 是否开启归档,可选范围<li>yes</li><li>no</li>默认值:yes
11779
11791
  # @type AutoArchive: String
11792
+ # @param UpgradeType: 升级类型。 默认值:upgradeImmediate。 可选值: upgradeImmediate:立即完成修改 upgradeInMaintain:在维护时间窗口内完成修改
11793
+ # @type UpgradeType: String
11780
11794
 
11781
- attr_accessor :ClusterId, :AutoPause, :AutoPauseDelay, :AutoScaleUpDelay, :AutoScaleDownDelay, :MinCpu, :MaxCpu, :MinRoCpu, :MaxRoCpu, :MinRoCount, :MaxRoCount, :AutoArchive
11795
+ attr_accessor :ClusterId, :AutoPause, :AutoPauseDelay, :AutoScaleUpDelay, :AutoScaleDownDelay, :MinCpu, :MaxCpu, :MinRoCpu, :MaxRoCpu, :MinRoCount, :MaxRoCount, :AutoArchive, :UpgradeType
11782
11796
 
11783
- def initialize(clusterid=nil, autopause=nil, autopausedelay=nil, autoscaleupdelay=nil, autoscaledowndelay=nil, mincpu=nil, maxcpu=nil, minrocpu=nil, maxrocpu=nil, minrocount=nil, maxrocount=nil, autoarchive=nil)
11797
+ def initialize(clusterid=nil, autopause=nil, autopausedelay=nil, autoscaleupdelay=nil, autoscaledowndelay=nil, mincpu=nil, maxcpu=nil, minrocpu=nil, maxrocpu=nil, minrocount=nil, maxrocount=nil, autoarchive=nil, upgradetype=nil)
11784
11798
  @ClusterId = clusterid
11785
11799
  @AutoPause = autopause
11786
11800
  @AutoPauseDelay = autopausedelay
@@ -11793,6 +11807,7 @@ module TencentCloud
11793
11807
  @MinRoCount = minrocount
11794
11808
  @MaxRoCount = maxrocount
11795
11809
  @AutoArchive = autoarchive
11810
+ @UpgradeType = upgradetype
11796
11811
  end
11797
11812
 
11798
11813
  def deserialize(params)
@@ -11808,6 +11823,7 @@ module TencentCloud
11808
11823
  @MinRoCount = params['MinRoCount']
11809
11824
  @MaxRoCount = params['MaxRoCount']
11810
11825
  @AutoArchive = params['AutoArchive']
11826
+ @UpgradeType = params['UpgradeType']
11811
11827
  end
11812
11828
  end
11813
11829
 
@@ -11815,18 +11831,25 @@ module TencentCloud
11815
11831
  class ModifyServerlessStrategyResponse < TencentCloud::Common::AbstractModel
11816
11832
  # @param FlowId: 异步流程id
11817
11833
  # @type FlowId: Integer
11834
+ # @param TaskId: 任务id
11835
+ # @type TaskId: Integer
11818
11836
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11819
11837
  # @type RequestId: String
11820
11838
 
11821
- attr_accessor :FlowId, :RequestId
11839
+ attr_accessor :FlowId, :TaskId, :RequestId
11840
+ extend Gem::Deprecate
11841
+ deprecate :FlowId, :none, 2025, 12
11842
+ deprecate :FlowId=, :none, 2025, 12
11822
11843
 
11823
- def initialize(flowid=nil, requestid=nil)
11844
+ def initialize(flowid=nil, taskid=nil, requestid=nil)
11824
11845
  @FlowId = flowid
11846
+ @TaskId = taskid
11825
11847
  @RequestId = requestid
11826
11848
  end
11827
11849
 
11828
11850
  def deserialize(params)
11829
11851
  @FlowId = params['FlowId']
11852
+ @TaskId = params['TaskId']
11830
11853
  @RequestId = params['RequestId']
11831
11854
  end
11832
11855
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cynosdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1181
4
+ version: 3.0.1186
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-10 00:00:00.000000000 Z
11
+ date: 2025-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -34,8 +34,8 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - lib/tencentcloud-sdk-cynosdb.rb
37
- - lib/v20190107/models.rb
38
37
  - lib/v20190107/client.rb
38
+ - lib/v20190107/models.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: