tencentcloud-sdk-cynosdb 3.0.807 → 3.0.809

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: 9757e20dce5735b77bf082e0ebbc31edbc34908c
4
- data.tar.gz: 36b71b1d6cd4f4c71678a01bd48c53469c7fb075
3
+ metadata.gz: 2f1913f6e0e8ed013da2cc9184a44efb766cd604
4
+ data.tar.gz: 5a8a1b78d0c4e822743851b666aa869ba824f9fc
5
5
  SHA512:
6
- metadata.gz: 6c718fb3282e5ecdbc2510a2c8292e488b01d7ba480335963e9ec2bbfc4fcdda9be421d5293449b815d23fb72e0458fab893a69d0950d2a7f2e76b5fdccceeba
7
- data.tar.gz: 0f11cb65b0c8eec1617760b57d395323877baa06058d2fe6a0883501a2f7e3f0cd6f23af43bf297fc4426b3bcd3d4db606c4be9395e94ca0a54091c59f73690d
6
+ metadata.gz: 89c57ffaff422ab270e5ec4b074db07ad349c7c016d044a15d0edf5baa6d72eb96d3c5c69dc7fb06892344e72acab4ad15fbc93dcdd1a87ce912d2cab931a2b6
7
+ data.tar.gz: 127c762f5f570c2b8d5d9521b40265b2f75c05290af37669d74c4119fa91dc56a7b4579af3a123c735c345a0ff658f365c9bfd271c76aa54fd8ee27dc19c14ab
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.807
1
+ 3.0.809
@@ -2405,6 +2405,30 @@ module TencentCloud
2405
2405
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2406
2406
  end
2407
2407
 
2408
+ # 修改实例小版本升级限制时间
2409
+
2410
+ # @param request: Request instance for ModifyInstanceUpgradeLimitDays.
2411
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::ModifyInstanceUpgradeLimitDaysRequest`
2412
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::ModifyInstanceUpgradeLimitDaysResponse`
2413
+ def ModifyInstanceUpgradeLimitDays(request)
2414
+ body = send_request('ModifyInstanceUpgradeLimitDays', request.serialize)
2415
+ response = JSON.parse(body)
2416
+ if response['Response'].key?('Error') == false
2417
+ model = ModifyInstanceUpgradeLimitDaysResponse.new
2418
+ model.deserialize(response['Response'])
2419
+ model
2420
+ else
2421
+ code = response['Response']['Error']['Code']
2422
+ message = response['Response']['Error']['Message']
2423
+ reqid = response['Response']['RequestId']
2424
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2425
+ end
2426
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2427
+ raise e
2428
+ rescue StandardError => e
2429
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2430
+ end
2431
+
2408
2432
  # 修改维护时间配置
2409
2433
 
2410
2434
  # @param request: Request instance for ModifyMaintainPeriodConfig.
@@ -9046,6 +9046,46 @@ module TencentCloud
9046
9046
  end
9047
9047
  end
9048
9048
 
9049
+ # ModifyInstanceUpgradeLimitDays请求参数结构体
9050
+ class ModifyInstanceUpgradeLimitDaysRequest < TencentCloud::Common::AbstractModel
9051
+ # @param ClusterId: 集群ID
9052
+ # @type ClusterId: String
9053
+ # @param InstanceId: 实例ID
9054
+ # @type InstanceId: String
9055
+ # @param UpgradeLimitDays: 升级限制时间
9056
+ # @type UpgradeLimitDays: Integer
9057
+
9058
+ attr_accessor :ClusterId, :InstanceId, :UpgradeLimitDays
9059
+
9060
+ def initialize(clusterid=nil, instanceid=nil, upgradelimitdays=nil)
9061
+ @ClusterId = clusterid
9062
+ @InstanceId = instanceid
9063
+ @UpgradeLimitDays = upgradelimitdays
9064
+ end
9065
+
9066
+ def deserialize(params)
9067
+ @ClusterId = params['ClusterId']
9068
+ @InstanceId = params['InstanceId']
9069
+ @UpgradeLimitDays = params['UpgradeLimitDays']
9070
+ end
9071
+ end
9072
+
9073
+ # ModifyInstanceUpgradeLimitDays返回参数结构体
9074
+ class ModifyInstanceUpgradeLimitDaysResponse < TencentCloud::Common::AbstractModel
9075
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9076
+ # @type RequestId: String
9077
+
9078
+ attr_accessor :RequestId
9079
+
9080
+ def initialize(requestid=nil)
9081
+ @RequestId = requestid
9082
+ end
9083
+
9084
+ def deserialize(params)
9085
+ @RequestId = params['RequestId']
9086
+ end
9087
+ end
9088
+
9049
9089
  # ModifyMaintainPeriodConfig请求参数结构体
9050
9090
  class ModifyMaintainPeriodConfigRequest < TencentCloud::Common::AbstractModel
9051
9091
  # @param InstanceId: 实例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.807
4
+ version: 3.0.809
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-21 00:00:00.000000000 Z
11
+ date: 2024-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common