tencentcloud-sdk-dcdb 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 426dacbae3d80a3d626fe1d39471536f89dcd15e
4
- data.tar.gz: 169f5872ddb76de0765d7b0c50230b232b6fd6d4
3
+ metadata.gz: 855fbf4db54a82500a28a561cca3d91e86a1ab20
4
+ data.tar.gz: 66e71c7aa464d9099779e2e894262265b5d29be7
5
5
  SHA512:
6
- metadata.gz: 75dbee3d3b5f5ab935294d238d1eb1b614a2bad349ab480285ee54279321beccc1d8b7c3384411262d2cecbaf77a17203f1b6a09c344dd1299d2bce40ccda4c7
7
- data.tar.gz: bc3d7901c35dbd4055631adc88fbb26c37a5010a796ec914e03a23bdf2f61d98bcd678efc9293b57ecb47855ac02e0bb1ef06c3945cf89963ab8c7f7ac84a2bc
6
+ metadata.gz: 20f3153cfcb11b7649f8a52fb901a7ee2716e1184adad9deab70bf2935dc354d5c5ecbfdb50fb1f9b6e4d6a66a2c14a7cd76c253c2d96a773707dc5bc6fe0265
7
+ data.tar.gz: 333a7c40343e92970c193b4061106b7a85c706b3c642bc4dd905f64689f4e644e7c4c294c4cddd4a917e489f7de4e04b984c34b831558b37c29ab259a3bd02e9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.442
1
+ 3.0.444
@@ -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.
@@ -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.442
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-01 00:00:00.000000000 Z
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