tencentcloud-sdk-mariadb 3.0.574 → 3.0.576
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: 6b1a3bb0781d35fd046a10553dd227fd18d60747
|
4
|
+
data.tar.gz: a4f4b5a4517da2c014041c37f6b8c4715ccb3716
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7ba9118b323ebd8e4161458b7db7395fff6b9cce0146d10fab20fbfde97d3c8fdcf85c1cd1172ebfd3da15c7387807396639a4cd2004b2f9ce0dbcaacd895c5
|
7
|
+
data.tar.gz: 8627bdb6c225d7f007791c26935eaa626ede7f18b4683c5a35aa92065ebe26697c6fa362c61ef1ec3ff7fe03f8ce1f56f05523c665cd9b6d4f0719e87e5543ba
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.576
|
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.576
|
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-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|