tencentcloud-sdk-cynosdb 3.0.810 → 3.0.811

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 419f4a3a6659036e343d5ed0f45b154ab366d2fc
4
- data.tar.gz: ad2786173f72cb771c2c19669d6836f326653e55
3
+ metadata.gz: f9e33fb71fe983fb4371b6fae2808a15cd68cb4b
4
+ data.tar.gz: 0c91c3a033859589fd78c733b4ef2db119479142
5
5
  SHA512:
6
- metadata.gz: 3bccdeb476e7f721302c04a046ff74be9e7452c2096a428775c80677cacd3c420d827d8e02c1e799b2975b7ef15ce16677e26f722ba6524df53b328ae070f8a8
7
- data.tar.gz: 73d8c55e56acbe5821cc2e6ead7a7d524d9b6a94472030daa1e5ff4d56ba0c3720d2efa717ad6938c12110e3c054b0d97188019d42be589577a38ce47ad49f0f
6
+ metadata.gz: 209b5e414b949a81bab803f01c4ab8ab362285850b70f35853938e35ce8214b1a7d2711d8847df9762783f8cff22c4b0b541958df6d6cf22f623aa2523597307
7
+ data.tar.gz: a968dc667b2eb239bd193ca08b150b84fe68472961e572cdc395fea275b6ae06b90448ca41d7c092b2a0c586bfa4bb746ebfe77405944405a35f6b4db011c803
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.810
1
+ 3.0.811
@@ -989,6 +989,30 @@ module TencentCloud
989
989
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
990
990
  end
991
991
 
992
+ # 本接口(DescribeChangedParamsAfterUpgrade)用于查询升降配运行参数对比
993
+
994
+ # @param request: Request instance for DescribeChangedParamsAfterUpgrade.
995
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeChangedParamsAfterUpgradeRequest`
996
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeChangedParamsAfterUpgradeResponse`
997
+ def DescribeChangedParamsAfterUpgrade(request)
998
+ body = send_request('DescribeChangedParamsAfterUpgrade', request.serialize)
999
+ response = JSON.parse(body)
1000
+ if response['Response'].key?('Error') == false
1001
+ model = DescribeChangedParamsAfterUpgradeResponse.new
1002
+ model.deserialize(response['Response'])
1003
+ model
1004
+ else
1005
+ code = response['Response']['Error']['Code']
1006
+ message = response['Response']['Error']['Message']
1007
+ reqid = response['Response']['RequestId']
1008
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1009
+ end
1010
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1011
+ raise e
1012
+ rescue StandardError => e
1013
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1014
+ end
1015
+
992
1016
  # 获取集群数据库列表
993
1017
 
994
1018
  # @param request: Request instance for DescribeClusterDatabases.
@@ -2342,7 +2342,7 @@ module TencentCloud
2342
2342
  # @type UniqueVpcId: String
2343
2343
  # @param UniqueSubnetId: 私有网络子网ID,默认与集群子网ID保持一致
2344
2344
  # @type UniqueSubnetId: String
2345
- # @param ProxyCount: 数据库代理组节点个数
2345
+ # @param ProxyCount: 数据库代理组节点个数(该参数不再建议使用,建议使用ProxyZones)
2346
2346
  # @type ProxyCount: Integer
2347
2347
  # @param ConnectionPoolType: 连接池类型:SessionConnectionPool(会话级别连接池 )
2348
2348
  # @type ConnectionPoolType: String
@@ -2354,7 +2354,7 @@ module TencentCloud
2354
2354
  # @type SecurityGroupIds: Array
2355
2355
  # @param Description: 描述说明
2356
2356
  # @type Description: String
2357
- # @param ProxyZones: 数据库节点信息
2357
+ # @param ProxyZones: 数据库节点信息(该参数与ProxyCount需要任选一个输入)
2358
2358
  # @type ProxyZones: Array
2359
2359
 
2360
2360
  attr_accessor :ClusterId, :Cpu, :Mem, :UniqueVpcId, :UniqueSubnetId, :ProxyCount, :ConnectionPoolType, :OpenConnectionPool, :ConnectionPoolTimeOut, :SecurityGroupIds, :Description, :ProxyZones
@@ -4967,6 +4967,62 @@ module TencentCloud
4967
4967
  end
4968
4968
  end
4969
4969
 
4970
+ # DescribeChangedParamsAfterUpgrade请求参数结构体
4971
+ class DescribeChangedParamsAfterUpgradeRequest < TencentCloud::Common::AbstractModel
4972
+ # @param InstanceId: 集群ID
4973
+ # @type InstanceId: String
4974
+ # @param DstCpu: 变配后的CPU
4975
+ # @type DstCpu: Integer
4976
+ # @param DstMem: 变配后的MEM,单位G
4977
+ # @type DstMem: Integer
4978
+
4979
+ attr_accessor :InstanceId, :DstCpu, :DstMem
4980
+
4981
+ def initialize(instanceid=nil, dstcpu=nil, dstmem=nil)
4982
+ @InstanceId = instanceid
4983
+ @DstCpu = dstcpu
4984
+ @DstMem = dstmem
4985
+ end
4986
+
4987
+ def deserialize(params)
4988
+ @InstanceId = params['InstanceId']
4989
+ @DstCpu = params['DstCpu']
4990
+ @DstMem = params['DstMem']
4991
+ end
4992
+ end
4993
+
4994
+ # DescribeChangedParamsAfterUpgrade返回参数结构体
4995
+ class DescribeChangedParamsAfterUpgradeResponse < TencentCloud::Common::AbstractModel
4996
+ # @param TotalCount: 参数个数
4997
+ # @type TotalCount: Integer
4998
+ # @param Items: 实例参数列表
4999
+ # 注意:此字段可能返回 null,表示取不到有效值。
5000
+ # @type Items: Array
5001
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5002
+ # @type RequestId: String
5003
+
5004
+ attr_accessor :TotalCount, :Items, :RequestId
5005
+
5006
+ def initialize(totalcount=nil, items=nil, requestid=nil)
5007
+ @TotalCount = totalcount
5008
+ @Items = items
5009
+ @RequestId = requestid
5010
+ end
5011
+
5012
+ def deserialize(params)
5013
+ @TotalCount = params['TotalCount']
5014
+ unless params['Items'].nil?
5015
+ @Items = []
5016
+ params['Items'].each do |i|
5017
+ paramiteminfo_tmp = ParamItemInfo.new
5018
+ paramiteminfo_tmp.deserialize(i)
5019
+ @Items << paramiteminfo_tmp
5020
+ end
5021
+ end
5022
+ @RequestId = params['RequestId']
5023
+ end
5024
+ end
5025
+
4970
5026
  # DescribeClusterDatabases请求参数结构体
4971
5027
  class DescribeClusterDatabasesRequest < TencentCloud::Common::AbstractModel
4972
5028
  # @param ClusterId: 集群id
@@ -10430,6 +10486,41 @@ module TencentCloud
10430
10486
  end
10431
10487
  end
10432
10488
 
10489
+ # 参数变化信息
10490
+ class ParamItemInfo < TencentCloud::Common::AbstractModel
10491
+ # @param ParamName: 参数名字
10492
+ # 注意:此字段可能返回 null,表示取不到有效值。
10493
+ # @type ParamName: String
10494
+ # @param NewValue: 参数新值
10495
+
10496
+ # 注意:此字段可能返回 null,表示取不到有效值。
10497
+ # @type NewValue: String
10498
+ # @param OldValue: 参数旧值
10499
+
10500
+ # 注意:此字段可能返回 null,表示取不到有效值。
10501
+ # @type OldValue: String
10502
+ # @param ValueFunction: 参数公式
10503
+
10504
+ # 注意:此字段可能返回 null,表示取不到有效值。
10505
+ # @type ValueFunction: String
10506
+
10507
+ attr_accessor :ParamName, :NewValue, :OldValue, :ValueFunction
10508
+
10509
+ def initialize(paramname=nil, newvalue=nil, oldvalue=nil, valuefunction=nil)
10510
+ @ParamName = paramname
10511
+ @NewValue = newvalue
10512
+ @OldValue = oldvalue
10513
+ @ValueFunction = valuefunction
10514
+ end
10515
+
10516
+ def deserialize(params)
10517
+ @ParamName = params['ParamName']
10518
+ @NewValue = params['NewValue']
10519
+ @OldValue = params['OldValue']
10520
+ @ValueFunction = params['ValueFunction']
10521
+ end
10522
+ end
10523
+
10433
10524
  # 参数模板信息
10434
10525
  class ParamTemplateListInfo < TencentCloud::Common::AbstractModel
10435
10526
  # @param Id: 参数模板ID
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.810
4
+ version: 3.0.811
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-24 00:00:00.000000000 Z
11
+ date: 2024-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common