tencentcloud-sdk-mariadb 3.0.573 → 3.0.575
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/client.rb +24 -0
- data/lib/v20170312/models.rb +58 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c89e7569d92c3f83e059093f0da717390e8e7da3
|
4
|
+
data.tar.gz: 995167c7cda867bac6052f426e834727c1da974d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 431332dac9531b28cbca2ac6b4a3afc0fc4df3371f999d0d853dbc31369cfa4bca853b7527c06972bb343471e1de5fbd356e873c31ca305f732274a903b1b17e
|
7
|
+
data.tar.gz: 0e11207a2cc4a7a447c4e7ca03dc0d6f2f76247170f547031a3324d9f14bcbee8b32de4588652d9bbd0740a1fa8f80c708be6ecbefceabe9a798f60f0f2358c6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.575
|
data/lib/v20170312/client.rb
CHANGED
@@ -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
|
data/lib/v20170312/models.rb
CHANGED
@@ -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.
|
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-
|
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
|