tencentcloud-sdk-dcdb 1.0.321 → 1.0.324

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: 55a40301ceb19f1432896c6d67fb0502cb20979d
4
- data.tar.gz: 6a4c078bd63f2e9483a42b8454865ada57d5c970
3
+ metadata.gz: 5074f448d297c30817dfa30f766f2c98ec1b3b73
4
+ data.tar.gz: 153db15b17431b62ee6921e3d515fe422397df9c
5
5
  SHA512:
6
- metadata.gz: 426cc1e5ffb9e0c64f0f5e02f73088e10dba4306c66afb3793a1044fe856d3253bd4c9b99b202abb0551dcbce9b73d5046ca7f09463abede984bad1bfdd31042
7
- data.tar.gz: 94a2bdb10a1c0bff903fd32665e16c5755faa867febcada10b6a233e4cf73fadbc82643da912bff0e9204f84864d82328c27862a2ef807c95cbfa8c8a690583e
6
+ metadata.gz: 8892212bec504f9ed6ad5ab7dbf5c803edbe83d8fee8c259887564437db8eb99a19001896f3811c2bb77c832b73895f5f15419bf09ff16c0e8aea5320061d645
7
+ data.tar.gz: be6fd37872b6035262c12c4c7ef5c7012501ef75710a56d72aab5fd0d1f4038b198b3680554295a9e08213aba974e634c13c24a1f7b4d83e2a724e8ef04088e0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.321
1
+ 1.0.324
@@ -1384,6 +1384,30 @@ module TencentCloud
1384
1384
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1385
1385
  end
1386
1386
 
1387
+ # 本接口(IsolateDedicatedDBInstance)用于销毁已隔离的独享分布式数据库实例。
1388
+
1389
+ # @param request: Request instance for TerminateDedicatedDBInstance.
1390
+ # @type request: :class:`Tencentcloud::dcdb::V20180411::TerminateDedicatedDBInstanceRequest`
1391
+ # @rtype: :class:`Tencentcloud::dcdb::V20180411::TerminateDedicatedDBInstanceResponse`
1392
+ def TerminateDedicatedDBInstance(request)
1393
+ body = send_request('TerminateDedicatedDBInstance', request.serialize)
1394
+ response = JSON.parse(body)
1395
+ if response['Response'].key?('Error') == false
1396
+ model = TerminateDedicatedDBInstanceResponse.new
1397
+ model.deserialize(response['Response'])
1398
+ model
1399
+ else
1400
+ code = response['Response']['Error']['Code']
1401
+ message = response['Response']['Error']['Message']
1402
+ reqid = response['Response']['RequestId']
1403
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1404
+ end
1405
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1406
+ raise e
1407
+ rescue StandardError => e
1408
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1409
+ end
1410
+
1387
1411
  # 本接口(UpgradeDCDBInstance)用于升级分布式数据库实例。本接口完成下单和支付两个动作,如果发生支付失败的错误,调用用户账户相关接口中的支付订单接口(PayDeals)重新支付即可。
1388
1412
 
1389
1413
  # @param request: Request instance for UpgradeDCDBInstance.
@@ -4576,6 +4576,42 @@ module TencentCloud
4576
4576
  end
4577
4577
  end
4578
4578
 
4579
+ # TerminateDedicatedDBInstance请求参数结构体
4580
+ class TerminateDedicatedDBInstanceRequest < TencentCloud::Common::AbstractModel
4581
+ # @param InstanceId: 实例 Id,形如:dcdbt-ow728lmc。
4582
+ # @type InstanceId: String
4583
+
4584
+ attr_accessor :InstanceId
4585
+
4586
+ def initialize(instanceid=nil)
4587
+ @InstanceId = instanceid
4588
+ end
4589
+
4590
+ def deserialize(params)
4591
+ @InstanceId = params['InstanceId']
4592
+ end
4593
+ end
4594
+
4595
+ # TerminateDedicatedDBInstance返回参数结构体
4596
+ class TerminateDedicatedDBInstanceResponse < TencentCloud::Common::AbstractModel
4597
+ # @param FlowId: 异步流程Id
4598
+ # @type FlowId: Integer
4599
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4600
+ # @type RequestId: String
4601
+
4602
+ attr_accessor :FlowId, :RequestId
4603
+
4604
+ def initialize(flowid=nil, requestid=nil)
4605
+ @FlowId = flowid
4606
+ @RequestId = requestid
4607
+ end
4608
+
4609
+ def deserialize(params)
4610
+ @FlowId = params['FlowId']
4611
+ @RequestId = params['RequestId']
4612
+ end
4613
+ end
4614
+
4579
4615
  # UpgradeDCDBInstance请求参数结构体
4580
4616
  class UpgradeDCDBInstanceRequest < TencentCloud::Common::AbstractModel
4581
4617
  # @param InstanceId: 待升级的实例ID。形如:dcdbt-ow728lmc,可以通过 DescribeDCDBInstances 查询实例详情获得。
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: 1.0.321
4
+ version: 1.0.324
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-05-27 00:00:00.000000000 Z
11
+ date: 2022-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common