tencentcloud-sdk-mariadb 3.0.574 → 3.0.575

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: ac4761162f8f3cce85a0c6aa087c227fdab9a56c
4
- data.tar.gz: 919212d66bf0cf7df9cab8e6ed55be193f3a532a
3
+ metadata.gz: c89e7569d92c3f83e059093f0da717390e8e7da3
4
+ data.tar.gz: 995167c7cda867bac6052f426e834727c1da974d
5
5
  SHA512:
6
- metadata.gz: ccdcc6028fd22bfc64fef96d11fd779fb58d872a8f5c0aaf1229aed7160a7e3ee603ca4e1e947321f158c7f65cf0bf993f27fffb98c4def735a922026825a75e
7
- data.tar.gz: c659bccde9287041b00b4045631d7af57cef2ac2f62f9476025707844eb21c881f37cd5b0508796eaea66ca843e7900ad53825020785733ea7b06a76034e9a97
6
+ metadata.gz: 431332dac9531b28cbca2ac6b4a3afc0fc4df3371f999d0d853dbc31369cfa4bca853b7527c06972bb343471e1de5fbd356e873c31ca305f732274a903b1b17e
7
+ data.tar.gz: 0e11207a2cc4a7a447c4e7ca03dc0d6f2f76247170f547031a3324d9f14bcbee8b32de4588652d9bbd0740a1fa8f80c708be6ecbefceabe9a798f60f0f2358c6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.574
1
+ 3.0.575
@@ -1725,6 +1725,30 @@ module TencentCloud
1725
1725
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1726
1726
  end
1727
1727
 
1728
+ # 本接口(UpgradeDedicatedDBInstance)用于扩容独享云数据库实例。
1729
+
1730
+ # @param request: Request instance for UpgradeDedicatedDBInstance.
1731
+ # @type request: :class:`Tencentcloud::mariadb::V20170312::UpgradeDedicatedDBInstanceRequest`
1732
+ # @rtype: :class:`Tencentcloud::mariadb::V20170312::UpgradeDedicatedDBInstanceResponse`
1733
+ def UpgradeDedicatedDBInstance(request)
1734
+ body = send_request('UpgradeDedicatedDBInstance', request.serialize)
1735
+ response = JSON.parse(body)
1736
+ if response['Response'].key?('Error') == false
1737
+ model = UpgradeDedicatedDBInstanceResponse.new
1738
+ model.deserialize(response['Response'])
1739
+ model
1740
+ else
1741
+ code = response['Response']['Error']['Code']
1742
+ message = response['Response']['Error']['Message']
1743
+ reqid = response['Response']['RequestId']
1744
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1745
+ end
1746
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1747
+ raise e
1748
+ rescue StandardError => e
1749
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1750
+ end
1751
+
1728
1752
 
1729
1753
  end
1730
1754
  end
@@ -5345,6 +5345,64 @@ module TencentCloud
5345
5345
  end
5346
5346
  end
5347
5347
 
5348
+ # UpgradeDedicatedDBInstance请求参数结构体
5349
+ class UpgradeDedicatedDBInstanceRequest < TencentCloud::Common::AbstractModel
5350
+ # @param InstanceId: 待升级的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例获得。
5351
+ # @type InstanceId: String
5352
+ # @param Memory: 内存大小,单位:GB,可以通过 DescribeFenceDBInstanceSpecs
5353
+ # 查询实例规格获得。
5354
+ # @type Memory: Integer
5355
+ # @param Storage: 存储空间大小,单位:GB,可以通过 DescribeFenceDBInstanceSpecs
5356
+ # 查询实例规格获得不同内存大小对应的磁盘规格下限和上限。
5357
+ # @type Storage: Integer
5358
+ # @param SwitchAutoRetry: 错过切换时间窗口时,是否自动重试一次,0-否,1-是
5359
+ # @type SwitchAutoRetry: Integer
5360
+ # @param SwitchStartTime: 切换时间窗口开始时间
5361
+ # @type SwitchStartTime: String
5362
+ # @param SwitchEndTime: 切换时间窗口结束时间
5363
+ # @type SwitchEndTime: String
5364
+
5365
+ attr_accessor :InstanceId, :Memory, :Storage, :SwitchAutoRetry, :SwitchStartTime, :SwitchEndTime
5366
+
5367
+ def initialize(instanceid=nil, memory=nil, storage=nil, switchautoretry=nil, switchstarttime=nil, switchendtime=nil)
5368
+ @InstanceId = instanceid
5369
+ @Memory = memory
5370
+ @Storage = storage
5371
+ @SwitchAutoRetry = switchautoretry
5372
+ @SwitchStartTime = switchstarttime
5373
+ @SwitchEndTime = switchendtime
5374
+ end
5375
+
5376
+ def deserialize(params)
5377
+ @InstanceId = params['InstanceId']
5378
+ @Memory = params['Memory']
5379
+ @Storage = params['Storage']
5380
+ @SwitchAutoRetry = params['SwitchAutoRetry']
5381
+ @SwitchStartTime = params['SwitchStartTime']
5382
+ @SwitchEndTime = params['SwitchEndTime']
5383
+ end
5384
+ end
5385
+
5386
+ # UpgradeDedicatedDBInstance返回参数结构体
5387
+ class UpgradeDedicatedDBInstanceResponse < TencentCloud::Common::AbstractModel
5388
+ # @param FlowId: 异步流程Id
5389
+ # @type FlowId: Integer
5390
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5391
+ # @type RequestId: String
5392
+
5393
+ attr_accessor :FlowId, :RequestId
5394
+
5395
+ def initialize(flowid=nil, requestid=nil)
5396
+ @FlowId = flowid
5397
+ @RequestId = requestid
5398
+ end
5399
+
5400
+ def deserialize(params)
5401
+ @FlowId = params['FlowId']
5402
+ @RequestId = params['RequestId']
5403
+ end
5404
+ end
5405
+
5348
5406
  # 视图权限信息
5349
5407
  class ViewPrivileges < TencentCloud::Common::AbstractModel
5350
5408
  # @param Database: 数据库名
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mariadb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.574
4
+ version: 3.0.575
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-22 00:00:00.000000000 Z
11
+ date: 2023-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common