tencentcloud-sdk-dcdb 3.0.443 → 3.0.445
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/v20180411/client.rb +24 -0
- data/lib/v20180411/models.rb +38 -2
- 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: ee7e99b43fdd260705eab2109ec1326a1ebbeaab
|
4
|
+
data.tar.gz: ee8bfb0d5022e989fab78258e71cd6e47ad05669
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aeedcd26480cf113b630b2f4b0dc14c51d063848db3bdd3caf6a34c66bb4db899906f1f38117cad36e16792b69996af75d0333a00f0ad61d07611433385c2b6b
|
7
|
+
data.tar.gz: ada1d41d291526ad037cc3b1ead8f4760f26bc631183a0a40e8157b6386b99a9c459207a05e72f55c0b19dc50edc838a2718499696465aab45776af0d9e2319c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.445
|
data/lib/v20180411/client.rb
CHANGED
@@ -1041,6 +1041,30 @@ module TencentCloud
|
|
1041
1041
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1042
1042
|
end
|
1043
1043
|
|
1044
|
+
# 本接口(IsolateDedicatedDBInstance)用于隔离独享云数据库实例。
|
1045
|
+
|
1046
|
+
# @param request: Request instance for IsolateDedicatedDBInstance.
|
1047
|
+
# @type request: :class:`Tencentcloud::dcdb::V20180411::IsolateDedicatedDBInstanceRequest`
|
1048
|
+
# @rtype: :class:`Tencentcloud::dcdb::V20180411::IsolateDedicatedDBInstanceResponse`
|
1049
|
+
def IsolateDedicatedDBInstance(request)
|
1050
|
+
body = send_request('IsolateDedicatedDBInstance', request.serialize)
|
1051
|
+
response = JSON.parse(body)
|
1052
|
+
if response['Response'].key?('Error') == false
|
1053
|
+
model = IsolateDedicatedDBInstanceResponse.new
|
1054
|
+
model.deserialize(response['Response'])
|
1055
|
+
model
|
1056
|
+
else
|
1057
|
+
code = response['Response']['Error']['Code']
|
1058
|
+
message = response['Response']['Error']['Message']
|
1059
|
+
reqid = response['Response']['RequestId']
|
1060
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1061
|
+
end
|
1062
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1063
|
+
raise e
|
1064
|
+
rescue StandardError => e
|
1065
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1066
|
+
end
|
1067
|
+
|
1044
1068
|
# 隔离DCDB后付费实例
|
1045
1069
|
|
1046
1070
|
# @param request: Request instance for IsolateHourDCDBInstance.
|
data/lib/v20180411/models.rb
CHANGED
@@ -3224,6 +3224,38 @@ module TencentCloud
|
|
3224
3224
|
end
|
3225
3225
|
end
|
3226
3226
|
|
3227
|
+
# IsolateDedicatedDBInstance请求参数结构体
|
3228
|
+
class IsolateDedicatedDBInstanceRequest < TencentCloud::Common::AbstractModel
|
3229
|
+
# @param InstanceId: 实例 Id,形如:dcdbt-ow728lmc。
|
3230
|
+
# @type InstanceId: String
|
3231
|
+
|
3232
|
+
attr_accessor :InstanceId
|
3233
|
+
|
3234
|
+
def initialize(instanceid=nil)
|
3235
|
+
@InstanceId = instanceid
|
3236
|
+
end
|
3237
|
+
|
3238
|
+
def deserialize(params)
|
3239
|
+
@InstanceId = params['InstanceId']
|
3240
|
+
end
|
3241
|
+
end
|
3242
|
+
|
3243
|
+
# IsolateDedicatedDBInstance返回参数结构体
|
3244
|
+
class IsolateDedicatedDBInstanceResponse < TencentCloud::Common::AbstractModel
|
3245
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3246
|
+
# @type RequestId: String
|
3247
|
+
|
3248
|
+
attr_accessor :RequestId
|
3249
|
+
|
3250
|
+
def initialize(requestid=nil)
|
3251
|
+
@RequestId = requestid
|
3252
|
+
end
|
3253
|
+
|
3254
|
+
def deserialize(params)
|
3255
|
+
@RequestId = params['RequestId']
|
3256
|
+
end
|
3257
|
+
end
|
3258
|
+
|
3227
3259
|
# IsolateHourDCDBInstance请求参数结构体
|
3228
3260
|
class IsolateHourDCDBInstanceRequest < TencentCloud::Common::AbstractModel
|
3229
3261
|
# @param InstanceIds: 实例uuid列表
|
@@ -4768,19 +4800,23 @@ module TencentCloud
|
|
4768
4800
|
# @type ZoneId: Integer
|
4769
4801
|
# @param ZoneName: 可用区中文名
|
4770
4802
|
# @type ZoneName: String
|
4803
|
+
# @param OnSale: 是否在售
|
4804
|
+
# @type OnSale: Boolean
|
4771
4805
|
|
4772
|
-
attr_accessor :Zone, :ZoneId, :ZoneName
|
4806
|
+
attr_accessor :Zone, :ZoneId, :ZoneName, :OnSale
|
4773
4807
|
|
4774
|
-
def initialize(zone=nil, zoneid=nil, zonename=nil)
|
4808
|
+
def initialize(zone=nil, zoneid=nil, zonename=nil, onsale=nil)
|
4775
4809
|
@Zone = zone
|
4776
4810
|
@ZoneId = zoneid
|
4777
4811
|
@ZoneName = zonename
|
4812
|
+
@OnSale = onsale
|
4778
4813
|
end
|
4779
4814
|
|
4780
4815
|
def deserialize(params)
|
4781
4816
|
@Zone = params['Zone']
|
4782
4817
|
@ZoneId = params['ZoneId']
|
4783
4818
|
@ZoneName = params['ZoneName']
|
4819
|
+
@OnSale = params['OnSale']
|
4784
4820
|
end
|
4785
4821
|
end
|
4786
4822
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-dcdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.445
|
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-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|