tencentcloud-sdk-mariadb 3.0.442 → 3.0.444
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 +38 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d4e1a4bbe88017208d7505dc4c0628d86024b1a
|
4
|
+
data.tar.gz: 89cd30e74528a84973611cba2a88569267b4d08a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a89ff0e9fed757859ad22eb4f4373bee4770cd38a0f63b8866a1a7f88cf2027a3684285d4e52f26fb352a06db1febe6dc053c8fb4e40527295d93b2e7bb91118
|
7
|
+
data.tar.gz: 26314ae96e537dcd79df88bac65f42507faa713d217916d1b552d265ceea93c2f8e37040bd320b5e4c859824381df402a6def146faf442d564061edb1254a9ed
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.444
|
data/lib/v20170312/client.rb
CHANGED
@@ -1017,6 +1017,30 @@ module TencentCloud
|
|
1017
1017
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1018
1018
|
end
|
1019
1019
|
|
1020
|
+
# 本接口(IsolateDedicatedDBInstance)用于隔离独享云数据库实例。
|
1021
|
+
|
1022
|
+
# @param request: Request instance for IsolateDedicatedDBInstance.
|
1023
|
+
# @type request: :class:`Tencentcloud::mariadb::V20170312::IsolateDedicatedDBInstanceRequest`
|
1024
|
+
# @rtype: :class:`Tencentcloud::mariadb::V20170312::IsolateDedicatedDBInstanceResponse`
|
1025
|
+
def IsolateDedicatedDBInstance(request)
|
1026
|
+
body = send_request('IsolateDedicatedDBInstance', request.serialize)
|
1027
|
+
response = JSON.parse(body)
|
1028
|
+
if response['Response'].key?('Error') == false
|
1029
|
+
model = IsolateDedicatedDBInstanceResponse.new
|
1030
|
+
model.deserialize(response['Response'])
|
1031
|
+
model
|
1032
|
+
else
|
1033
|
+
code = response['Response']['Error']['Code']
|
1034
|
+
message = response['Response']['Error']['Message']
|
1035
|
+
reqid = response['Response']['RequestId']
|
1036
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1037
|
+
end
|
1038
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1039
|
+
raise e
|
1040
|
+
rescue StandardError => e
|
1041
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1042
|
+
end
|
1043
|
+
|
1020
1044
|
# 隔离后付费实例
|
1021
1045
|
|
1022
1046
|
# @param request: Request instance for IsolateHourDBInstance.
|
data/lib/v20170312/models.rb
CHANGED
@@ -3104,6 +3104,38 @@ module TencentCloud
|
|
3104
3104
|
end
|
3105
3105
|
end
|
3106
3106
|
|
3107
|
+
# IsolateDedicatedDBInstance请求参数结构体
|
3108
|
+
class IsolateDedicatedDBInstanceRequest < TencentCloud::Common::AbstractModel
|
3109
|
+
# @param InstanceId: 实例 Id,形如:tdsql-ow728lmc。
|
3110
|
+
# @type InstanceId: String
|
3111
|
+
|
3112
|
+
attr_accessor :InstanceId
|
3113
|
+
|
3114
|
+
def initialize(instanceid=nil)
|
3115
|
+
@InstanceId = instanceid
|
3116
|
+
end
|
3117
|
+
|
3118
|
+
def deserialize(params)
|
3119
|
+
@InstanceId = params['InstanceId']
|
3120
|
+
end
|
3121
|
+
end
|
3122
|
+
|
3123
|
+
# IsolateDedicatedDBInstance返回参数结构体
|
3124
|
+
class IsolateDedicatedDBInstanceResponse < TencentCloud::Common::AbstractModel
|
3125
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3126
|
+
# @type RequestId: String
|
3127
|
+
|
3128
|
+
attr_accessor :RequestId
|
3129
|
+
|
3130
|
+
def initialize(requestid=nil)
|
3131
|
+
@RequestId = requestid
|
3132
|
+
end
|
3133
|
+
|
3134
|
+
def deserialize(params)
|
3135
|
+
@RequestId = params['RequestId']
|
3136
|
+
end
|
3137
|
+
end
|
3138
|
+
|
3107
3139
|
# IsolateHourDBInstance请求参数结构体
|
3108
3140
|
class IsolateHourDBInstanceRequest < TencentCloud::Common::AbstractModel
|
3109
3141
|
# @param InstanceIds: 实例ID列表
|
@@ -4694,19 +4726,23 @@ module TencentCloud
|
|
4694
4726
|
# @type ZoneId: Integer
|
4695
4727
|
# @param ZoneName: 可用区中文名
|
4696
4728
|
# @type ZoneName: String
|
4729
|
+
# @param OnSale: 是否在售
|
4730
|
+
# @type OnSale: Boolean
|
4697
4731
|
|
4698
|
-
attr_accessor :Zone, :ZoneId, :ZoneName
|
4732
|
+
attr_accessor :Zone, :ZoneId, :ZoneName, :OnSale
|
4699
4733
|
|
4700
|
-
def initialize(zone=nil, zoneid=nil, zonename=nil)
|
4734
|
+
def initialize(zone=nil, zoneid=nil, zonename=nil, onsale=nil)
|
4701
4735
|
@Zone = zone
|
4702
4736
|
@ZoneId = zoneid
|
4703
4737
|
@ZoneName = zonename
|
4738
|
+
@OnSale = onsale
|
4704
4739
|
end
|
4705
4740
|
|
4706
4741
|
def deserialize(params)
|
4707
4742
|
@Zone = params['Zone']
|
4708
4743
|
@ZoneId = params['ZoneId']
|
4709
4744
|
@ZoneName = params['ZoneName']
|
4745
|
+
@OnSale = params['OnSale']
|
4710
4746
|
end
|
4711
4747
|
end
|
4712
4748
|
|
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.444
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,9 +33,9 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/tencentcloud-sdk-mariadb.rb
|
37
36
|
- lib/v20170312/models.rb
|
38
37
|
- lib/v20170312/client.rb
|
38
|
+
- lib/tencentcloud-sdk-mariadb.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|