tencentcloud-sdk-cynosdb 3.0.920 → 3.0.922

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 06fcfecc4607e7ac7a9346b841f9066e9558e70f
4
- data.tar.gz: 718ce4f5c9568eb835414999059c891082cf6aa8
3
+ metadata.gz: ed5944186e6fd8f27ea1e242adbc07effa5a8d41
4
+ data.tar.gz: 559139c01c984ce946b5622b3cec40d088dc581e
5
5
  SHA512:
6
- metadata.gz: 2ae2ddbe053fbb79a73d802702bdae7293d3f039e84b0758300c785a1d8dc5d6f01dd44eeb6ceff09dce20b0229fef0fd0515a52c9e50552d603493a67e00ace
7
- data.tar.gz: 80107752ca91d2e679ad79050607c24cfe6606e5f9dda48a1f437c39cee204954f49d96f69d0ea6e203f4fcadf7f3f83e9b727c238cf8f16efbb1583c60fb029
6
+ metadata.gz: e2154b0777b0d2480ebc77e92966cd99fc9f5f4fd1f67d529c23bb8fbccc15bcb86fd4387f2b07d03633d8b385fe44e480664eca766e6b551c741c8ab070d265
7
+ data.tar.gz: 3367170d2d03e371d0ab643845d6d4a20160b8dfa11fcde46670417e609970ff9eaed1f9b2f3b876de439b84a287e8a0a41c70d5f3d4bee1a6274a81dd2e1898
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.920
1
+ 3.0.922
@@ -2069,6 +2069,30 @@ module TencentCloud
2069
2069
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2070
2070
  end
2071
2071
 
2072
+ # 变配预付费集群询价
2073
+
2074
+ # @param request: Request instance for InquirePriceModify.
2075
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::InquirePriceModifyRequest`
2076
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::InquirePriceModifyResponse`
2077
+ def InquirePriceModify(request)
2078
+ body = send_request('InquirePriceModify', request.serialize)
2079
+ response = JSON.parse(body)
2080
+ if response['Response'].key?('Error') == false
2081
+ model = InquirePriceModifyResponse.new
2082
+ model.deserialize(response['Response'])
2083
+ model
2084
+ else
2085
+ code = response['Response']['Error']['Code']
2086
+ message = response['Response']['Error']['Message']
2087
+ reqid = response['Response']['RequestId']
2088
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2089
+ end
2090
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2091
+ raise e
2092
+ rescue StandardError => e
2093
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2094
+ end
2095
+
2072
2096
  # 查询续费集群价格
2073
2097
 
2074
2098
  # @param request: Request instance for InquirePriceRenew.
@@ -244,8 +244,8 @@ module TencentCloud
244
244
 
245
245
  attr_accessor :ClusterId, :Cpu, :Memory, :ReadOnlyCount, :DeviceType, :InstanceGrpId, :VpcId, :SubnetId, :Port, :InstanceName, :AutoVoucher, :DbType, :OrderSource, :DealMode, :ParamTemplateId, :InstanceParams, :SecurityGroupIds, :UpgradeProxy
246
246
  extend Gem::Deprecate
247
- deprecate :InstanceGrpId, :none, 2024, 9
248
- deprecate :InstanceGrpId=, :none, 2024, 9
247
+ deprecate :InstanceGrpId, :none, 2024, 10
248
+ deprecate :InstanceGrpId=, :none, 2024, 10
249
249
 
250
250
  def initialize(clusterid=nil, cpu=nil, memory=nil, readonlycount=nil, devicetype=nil, instancegrpid=nil, vpcid=nil, subnetid=nil, port=nil, instancename=nil, autovoucher=nil, dbtype=nil, ordersource=nil, dealmode=nil, paramtemplateid=nil, instanceparams=nil, securitygroupids=nil, upgradeproxy=nil)
251
251
  @ClusterId = clusterid
@@ -1066,8 +1066,8 @@ module TencentCloud
1066
1066
 
1067
1067
  attr_accessor :ID, :AppId, :ClusterId, :Region, :CreateTime, :DelayTime, :ErrMsg, :FlowId, :Input, :InstanceGrpId, :InstanceGroupId, :InstanceId, :ObjectId, :ObjectType, :Operator, :Output, :Status, :TaskType, :TriggerTaskId, :UpdateTime, :StartTime, :EndTime, :ClusterName, :InstanceName, :Process, :ModifyParamsData, :CreateClustersData, :RollbackData, :ModifyInstanceData, :ManualBackupData, :ModifyDbVersionData, :ClusterSlaveData, :SwitchClusterLogBin, :ModifyInstanceParamsData, :TaskMaintainInfo, :InstanceCLSDeliveryInfos
1068
1068
  extend Gem::Deprecate
1069
- deprecate :InstanceGrpId, :none, 2024, 9
1070
- deprecate :InstanceGrpId=, :none, 2024, 9
1069
+ deprecate :InstanceGrpId, :none, 2024, 10
1070
+ deprecate :InstanceGrpId=, :none, 2024, 10
1071
1071
 
1072
1072
  def initialize(id=nil, appid=nil, clusterid=nil, region=nil, createtime=nil, delaytime=nil, errmsg=nil, flowid=nil, input=nil, instancegrpid=nil, instancegroupid=nil, instanceid=nil, objectid=nil, objecttype=nil, operator=nil, output=nil, status=nil, tasktype=nil, triggertaskid=nil, updatetime=nil, starttime=nil, endtime=nil, clustername=nil, instancename=nil, process=nil, modifyparamsdata=nil, createclustersdata=nil, rollbackdata=nil, modifyinstancedata=nil, manualbackupdata=nil, modifydbversiondata=nil, clusterslavedata=nil, switchclusterlogbin=nil, modifyinstanceparamsdata=nil, taskmaintaininfo=nil, instanceclsdeliveryinfos=nil)
1073
1073
  @ID = id
@@ -1430,8 +1430,8 @@ module TencentCloud
1430
1430
 
1431
1431
  attr_accessor :InstanceGrpId, :InstanceGroupId, :InstanceId
1432
1432
  extend Gem::Deprecate
1433
- deprecate :InstanceGrpId, :none, 2024, 9
1434
- deprecate :InstanceGrpId=, :none, 2024, 9
1433
+ deprecate :InstanceGrpId, :none, 2024, 10
1434
+ deprecate :InstanceGrpId=, :none, 2024, 10
1435
1435
 
1436
1436
  def initialize(instancegrpid=nil, instancegroupid=nil, instanceid=nil)
1437
1437
  @InstanceGrpId = instancegrpid
@@ -5544,8 +5544,8 @@ module TencentCloud
5544
5544
 
5545
5545
  attr_accessor :TotalCount, :InstanceGrpInfoList, :InstanceGroupInfoList, :RequestId
5546
5546
  extend Gem::Deprecate
5547
- deprecate :InstanceGrpInfoList, :none, 2024, 9
5548
- deprecate :InstanceGrpInfoList=, :none, 2024, 9
5547
+ deprecate :InstanceGrpInfoList, :none, 2024, 10
5548
+ deprecate :InstanceGrpInfoList=, :none, 2024, 10
5549
5549
 
5550
5550
  def initialize(totalcount=nil, instancegrpinfolist=nil, instancegroupinfolist=nil, requestid=nil)
5551
5551
  @TotalCount = totalcount
@@ -5867,8 +5867,8 @@ module TencentCloud
5867
5867
 
5868
5868
  attr_accessor :InstanceId, :InstanceGroupId
5869
5869
  extend Gem::Deprecate
5870
- deprecate :InstanceId, :none, 2024, 9
5871
- deprecate :InstanceId=, :none, 2024, 9
5870
+ deprecate :InstanceId, :none, 2024, 10
5871
+ deprecate :InstanceId=, :none, 2024, 10
5872
5872
 
5873
5873
  def initialize(instanceid=nil, instancegroupid=nil)
5874
5874
  @InstanceId = instanceid
@@ -7996,6 +7996,78 @@ module TencentCloud
7996
7996
  end
7997
7997
  end
7998
7998
 
7999
+ # InquirePriceModify请求参数结构体
8000
+ class InquirePriceModifyRequest < TencentCloud::Common::AbstractModel
8001
+ # @param ClusterId: 集群ID
8002
+ # @type ClusterId: String
8003
+ # @param Cpu: CPU核数
8004
+ # @type Cpu: Integer
8005
+ # @param Memory: 内存大小
8006
+ # @type Memory: Integer
8007
+ # @param StorageLimit: 存储大小,存储资源变配:ClusterId,StorageLimit
8008
+ # @type StorageLimit: Integer
8009
+ # @param InstanceId: 实例ID,计算资源变配必传: ClusterId,InstanceId,Cpu,Memory
8010
+ # @type InstanceId: String
8011
+ # @param DeviceType: 实例设备类型
8012
+ # @type DeviceType: String
8013
+ # @param Ccu: serverless实例ccu大小
8014
+ # @type Ccu: Float
8015
+
8016
+ attr_accessor :ClusterId, :Cpu, :Memory, :StorageLimit, :InstanceId, :DeviceType, :Ccu
8017
+
8018
+ def initialize(clusterid=nil, cpu=nil, memory=nil, storagelimit=nil, instanceid=nil, devicetype=nil, ccu=nil)
8019
+ @ClusterId = clusterid
8020
+ @Cpu = cpu
8021
+ @Memory = memory
8022
+ @StorageLimit = storagelimit
8023
+ @InstanceId = instanceid
8024
+ @DeviceType = devicetype
8025
+ @Ccu = ccu
8026
+ end
8027
+
8028
+ def deserialize(params)
8029
+ @ClusterId = params['ClusterId']
8030
+ @Cpu = params['Cpu']
8031
+ @Memory = params['Memory']
8032
+ @StorageLimit = params['StorageLimit']
8033
+ @InstanceId = params['InstanceId']
8034
+ @DeviceType = params['DeviceType']
8035
+ @Ccu = params['Ccu']
8036
+ end
8037
+ end
8038
+
8039
+ # InquirePriceModify返回参数结构体
8040
+ class InquirePriceModifyResponse < TencentCloud::Common::AbstractModel
8041
+ # @param InstancePrice: 实例价格
8042
+ # 注意:此字段可能返回 null,表示取不到有效值。
8043
+ # @type InstancePrice: :class:`Tencentcloud::Cynosdb.v20190107.models.TradePrice`
8044
+ # @param StoragePrice: 存储价格
8045
+ # 注意:此字段可能返回 null,表示取不到有效值。
8046
+ # @type StoragePrice: :class:`Tencentcloud::Cynosdb.v20190107.models.TradePrice`
8047
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8048
+ # @type RequestId: String
8049
+
8050
+ attr_accessor :InstancePrice, :StoragePrice, :RequestId
8051
+
8052
+ def initialize(instanceprice=nil, storageprice=nil, requestid=nil)
8053
+ @InstancePrice = instanceprice
8054
+ @StoragePrice = storageprice
8055
+ @RequestId = requestid
8056
+ end
8057
+
8058
+ def deserialize(params)
8059
+ unless params['InstancePrice'].nil?
8060
+ @InstancePrice = TradePrice.new
8061
+ @InstancePrice.deserialize(params['InstancePrice'])
8062
+ end
8063
+ unless params['StoragePrice'].nil?
8064
+ @StoragePrice = TradePrice.new
8065
+ @StoragePrice.deserialize(params['StoragePrice'])
8066
+ end
8067
+ @RequestId = params['RequestId']
8068
+ end
8069
+ end
8070
+
7999
8071
  # InquirePriceRenew请求参数结构体
8000
8072
  class InquirePriceRenewRequest < TencentCloud::Common::AbstractModel
8001
8073
  # @param ClusterId: 集群ID
@@ -10338,8 +10410,8 @@ module TencentCloud
10338
10410
 
10339
10411
  attr_accessor :ClusterId, :InstanceGrpId, :InstanceGroupId, :Vip, :Vport, :DbType, :OldIpReserveHours
10340
10412
  extend Gem::Deprecate
10341
- deprecate :InstanceGrpId, :none, 2024, 9
10342
- deprecate :InstanceGrpId=, :none, 2024, 9
10413
+ deprecate :InstanceGrpId, :none, 2024, 10
10414
+ deprecate :InstanceGrpId=, :none, 2024, 10
10343
10415
 
10344
10416
  def initialize(clusterid=nil, instancegrpid=nil, instancegroupid=nil, vip=nil, vport=nil, dbtype=nil, oldipreservehours=nil)
10345
10417
  @ClusterId = clusterid
@@ -10871,8 +10943,8 @@ module TencentCloud
10871
10943
 
10872
10944
  attr_accessor :InstanceGrpId, :InstanceId, :InstanceGroupId
10873
10945
  extend Gem::Deprecate
10874
- deprecate :InstanceGrpId, :none, 2024, 9
10875
- deprecate :InstanceGrpId=, :none, 2024, 9
10946
+ deprecate :InstanceGrpId, :none, 2024, 10
10947
+ deprecate :InstanceGrpId=, :none, 2024, 10
10876
10948
 
10877
10949
  def initialize(instancegrpid=nil, instanceid=nil, instancegroupid=nil)
10878
10950
  @InstanceGrpId = instancegrpid
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.920
4
+ version: 3.0.922
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-10-09 00:00:00.000000000 Z
11
+ date: 2024-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common