tencentcloud-sdk-cynosdb 3.0.847 → 3.0.849

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: 47e7b01c3739276f6fcabf6dfdb06c74e491d09e
4
- data.tar.gz: 8e835fd6e6a18ad5c38f532529f79a472ec396e5
3
+ metadata.gz: 6e6376add5a01e1450a87cf61b7ac663a04bc965
4
+ data.tar.gz: b7ccbae9b2c2e6141d102d8b4eed2d7264bb4f97
5
5
  SHA512:
6
- metadata.gz: e0cba1c1035ff680e0ef51bc2818de10eae3a088a5bbdef1121ba6eb074e3370f67830552fcda55845a9ee1cfeb2b526836c1f8d47c4ebf42459f7af656c6058
7
- data.tar.gz: d4f19ef505ed930ba6b5f4abbc31db97f37d9734192cd84ba25023982ff4c41f36e8cf67ce9215ade85b4bdb815c9081146c3ee0472f93960519d152815b0980
6
+ metadata.gz: 84ff84dac75a04a1018083be454d7c2034586148600b5577dd41d1432dd77a3c4d32ad06eb2895f8f65757a88feb6952ca6b41a129e5d856ec17b79b4999e361
7
+ data.tar.gz: d0e0ad9775affc6d9d9ec70136abccf0f93433734b0f5329e34f629327bbb0739a62982314321d777eb4c6af2d42e46b1d418ad3f4b2530de5ec3c13637869e0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.847
1
+ 3.0.849
@@ -2959,6 +2959,30 @@ module TencentCloud
2959
2959
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2960
2960
  end
2961
2961
 
2962
+ # 续费集群
2963
+
2964
+ # @param request: Request instance for RenewClusters.
2965
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::RenewClustersRequest`
2966
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::RenewClustersResponse`
2967
+ def RenewClusters(request)
2968
+ body = send_request('RenewClusters', request.serialize)
2969
+ response = JSON.parse(body)
2970
+ if response['Response'].key?('Error') == false
2971
+ model = RenewClustersResponse.new
2972
+ model.deserialize(response['Response'])
2973
+ model
2974
+ else
2975
+ code = response['Response']['Error']['Code']
2976
+ message = response['Response']['Error']['Message']
2977
+ reqid = response['Response']['RequestId']
2978
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2979
+ end
2980
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2981
+ raise e
2982
+ rescue StandardError => e
2983
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2984
+ end
2985
+
2962
2986
  # 本接口(ResetAccountPassword)用于修改数据库账号密码
2963
2987
 
2964
2988
  # @param request: Request instance for ResetAccountPassword.
@@ -11521,6 +11521,75 @@ module TencentCloud
11521
11521
  end
11522
11522
  end
11523
11523
 
11524
+ # RenewClusters请求参数结构体
11525
+ class RenewClustersRequest < TencentCloud::Common::AbstractModel
11526
+ # @param ClusterId: 集群ID
11527
+ # @type ClusterId: String
11528
+ # @param TimeSpan: 续费时长
11529
+ # @type TimeSpan: Float
11530
+ # @param TimeUnit: 时间单位 y,m,d,h,i,s
11531
+ # @type TimeUnit: String
11532
+ # @param DealMode: 交易模式 0-下单并支付 1-下单
11533
+ # @type DealMode: Integer
11534
+
11535
+ attr_accessor :ClusterId, :TimeSpan, :TimeUnit, :DealMode
11536
+
11537
+ def initialize(clusterid=nil, timespan=nil, timeunit=nil, dealmode=nil)
11538
+ @ClusterId = clusterid
11539
+ @TimeSpan = timespan
11540
+ @TimeUnit = timeunit
11541
+ @DealMode = dealmode
11542
+ end
11543
+
11544
+ def deserialize(params)
11545
+ @ClusterId = params['ClusterId']
11546
+ @TimeSpan = params['TimeSpan']
11547
+ @TimeUnit = params['TimeUnit']
11548
+ @DealMode = params['DealMode']
11549
+ end
11550
+ end
11551
+
11552
+ # RenewClusters返回参数结构体
11553
+ class RenewClustersResponse < TencentCloud::Common::AbstractModel
11554
+ # @param BigDealIds: 预付费总订单号
11555
+ # 注意:此字段可能返回 null,表示取不到有效值。
11556
+ # @type BigDealIds: Array
11557
+ # @param DealNames: 退款订单号
11558
+ # 注意:此字段可能返回 null,表示取不到有效值。
11559
+ # @type DealNames: Array
11560
+ # @param TranId: 冻结流水,一次开通一个冻结流水
11561
+ # 注意:此字段可能返回 null,表示取不到有效值。
11562
+ # @type TranId: String
11563
+ # @param ResourceIds: 每个订单号对应的发货资源id列表
11564
+ # 注意:此字段可能返回 null,表示取不到有效值。
11565
+ # @type ResourceIds: Array
11566
+ # @param ClusterIds: 集群id列表
11567
+ # 注意:此字段可能返回 null,表示取不到有效值。
11568
+ # @type ClusterIds: Array
11569
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11570
+ # @type RequestId: String
11571
+
11572
+ attr_accessor :BigDealIds, :DealNames, :TranId, :ResourceIds, :ClusterIds, :RequestId
11573
+
11574
+ def initialize(bigdealids=nil, dealnames=nil, tranid=nil, resourceids=nil, clusterids=nil, requestid=nil)
11575
+ @BigDealIds = bigdealids
11576
+ @DealNames = dealnames
11577
+ @TranId = tranid
11578
+ @ResourceIds = resourceids
11579
+ @ClusterIds = clusterids
11580
+ @RequestId = requestid
11581
+ end
11582
+
11583
+ def deserialize(params)
11584
+ @BigDealIds = params['BigDealIds']
11585
+ @DealNames = params['DealNames']
11586
+ @TranId = params['TranId']
11587
+ @ResourceIds = params['ResourceIds']
11588
+ @ClusterIds = params['ClusterIds']
11589
+ @RequestId = params['RequestId']
11590
+ end
11591
+ end
11592
+
11524
11593
  # ResetAccountPassword请求参数结构体
11525
11594
  class ResetAccountPasswordRequest < TencentCloud::Common::AbstractModel
11526
11595
  # @param AccountName: 数据库账号名
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.847
4
+ version: 3.0.849
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-06-19 00:00:00.000000000 Z
11
+ date: 2024-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common