tencentcloud-sdk-mariadb 3.0.862 → 3.0.863
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 +56 -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: 0c10b04fc33c95f3c56dc3f54d81669d7654ee38
|
4
|
+
data.tar.gz: d6d3a4aa95efbcc112bca59e0ddae17670ac1b90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b39ada5265cc79fd65f3d9f30ecffa1d83a6b3c33bfdd67981a896eaaab765bdf5153d35d0fe3f593a2f6737ecdf40503639e28ecc2fc34214009348dc4bebf5
|
7
|
+
data.tar.gz: ad8ecbcf9f7c9992d7a566df2b0bb561a5735d598941442e40baa96b80fc30e599becc3b36fb508203e17b9b73260f5b4973dc7062d67d758dd314e280d0a3a5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.863
|
data/lib/v20170312/client.rb
CHANGED
@@ -1773,6 +1773,30 @@ module TencentCloud
|
|
1773
1773
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1774
1774
|
end
|
1775
1775
|
|
1776
|
+
# 升级MariaDB按量计费实例
|
1777
|
+
|
1778
|
+
# @param request: Request instance for UpgradeHourDBInstance.
|
1779
|
+
# @type request: :class:`Tencentcloud::mariadb::V20170312::UpgradeHourDBInstanceRequest`
|
1780
|
+
# @rtype: :class:`Tencentcloud::mariadb::V20170312::UpgradeHourDBInstanceResponse`
|
1781
|
+
def UpgradeHourDBInstance(request)
|
1782
|
+
body = send_request('UpgradeHourDBInstance', request.serialize)
|
1783
|
+
response = JSON.parse(body)
|
1784
|
+
if response['Response'].key?('Error') == false
|
1785
|
+
model = UpgradeHourDBInstanceResponse.new
|
1786
|
+
model.deserialize(response['Response'])
|
1787
|
+
model
|
1788
|
+
else
|
1789
|
+
code = response['Response']['Error']['Code']
|
1790
|
+
message = response['Response']['Error']['Message']
|
1791
|
+
reqid = response['Response']['RequestId']
|
1792
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1793
|
+
end
|
1794
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1795
|
+
raise e
|
1796
|
+
rescue StandardError => e
|
1797
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1798
|
+
end
|
1799
|
+
|
1776
1800
|
|
1777
1801
|
end
|
1778
1802
|
end
|
data/lib/v20170312/models.rb
CHANGED
@@ -5679,6 +5679,62 @@ module TencentCloud
|
|
5679
5679
|
end
|
5680
5680
|
end
|
5681
5681
|
|
5682
|
+
# UpgradeHourDBInstance请求参数结构体
|
5683
|
+
class UpgradeHourDBInstanceRequest < TencentCloud::Common::AbstractModel
|
5684
|
+
# @param InstanceId: 实例ID
|
5685
|
+
# @type InstanceId: String
|
5686
|
+
# @param Memory: 内存大小,单位:GB
|
5687
|
+
# @type Memory: Integer
|
5688
|
+
# @param Storage: 存储大小,单位:GB
|
5689
|
+
# @type Storage: Integer
|
5690
|
+
# @param SwitchStartTime: 切换开始时间,格式如: "2019-12-12 07:00:00"。开始时间必须在当前时间一个小时以后,3天以内。
|
5691
|
+
# @type SwitchStartTime: String
|
5692
|
+
# @param SwitchEndTime: 切换结束时间, 格式如: "2019-12-12 07:15:00",结束时间必须大于开始时间。
|
5693
|
+
# @type SwitchEndTime: String
|
5694
|
+
# @param SwitchAutoRetry: 是否自动重试。 0:不自动重试 1:自动重试
|
5695
|
+
# @type SwitchAutoRetry: Integer
|
5696
|
+
# @param Zones: 变更部署时指定的新可用区列表,第1个为主可用区,其余为从可用区
|
5697
|
+
# @type Zones: Array
|
5698
|
+
|
5699
|
+
attr_accessor :InstanceId, :Memory, :Storage, :SwitchStartTime, :SwitchEndTime, :SwitchAutoRetry, :Zones
|
5700
|
+
|
5701
|
+
def initialize(instanceid=nil, memory=nil, storage=nil, switchstarttime=nil, switchendtime=nil, switchautoretry=nil, zones=nil)
|
5702
|
+
@InstanceId = instanceid
|
5703
|
+
@Memory = memory
|
5704
|
+
@Storage = storage
|
5705
|
+
@SwitchStartTime = switchstarttime
|
5706
|
+
@SwitchEndTime = switchendtime
|
5707
|
+
@SwitchAutoRetry = switchautoretry
|
5708
|
+
@Zones = zones
|
5709
|
+
end
|
5710
|
+
|
5711
|
+
def deserialize(params)
|
5712
|
+
@InstanceId = params['InstanceId']
|
5713
|
+
@Memory = params['Memory']
|
5714
|
+
@Storage = params['Storage']
|
5715
|
+
@SwitchStartTime = params['SwitchStartTime']
|
5716
|
+
@SwitchEndTime = params['SwitchEndTime']
|
5717
|
+
@SwitchAutoRetry = params['SwitchAutoRetry']
|
5718
|
+
@Zones = params['Zones']
|
5719
|
+
end
|
5720
|
+
end
|
5721
|
+
|
5722
|
+
# UpgradeHourDBInstance返回参数结构体
|
5723
|
+
class UpgradeHourDBInstanceResponse < TencentCloud::Common::AbstractModel
|
5724
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5725
|
+
# @type RequestId: String
|
5726
|
+
|
5727
|
+
attr_accessor :RequestId
|
5728
|
+
|
5729
|
+
def initialize(requestid=nil)
|
5730
|
+
@RequestId = requestid
|
5731
|
+
end
|
5732
|
+
|
5733
|
+
def deserialize(params)
|
5734
|
+
@RequestId = params['RequestId']
|
5735
|
+
end
|
5736
|
+
end
|
5737
|
+
|
5682
5738
|
# 视图权限信息
|
5683
5739
|
class ViewPrivileges < TencentCloud::Common::AbstractModel
|
5684
5740
|
# @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.863
|
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-07-
|
11
|
+
date: 2024-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|