tencentcloud-sdk-dcdb 1.0.320 → 1.0.323

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: 58fd84e65560da19ddb2bece1b2558940a6d6075
4
- data.tar.gz: 86ce7b4329e51803f4a23cce27c409b66990b28e
3
+ metadata.gz: c8757c3928c6223a6666bf87d429eb294c7495dc
4
+ data.tar.gz: cae8b782428610986c417c2fa19f2fb487c2a8f4
5
5
  SHA512:
6
- metadata.gz: f8c15380d503990f3c8fba8c047f435cea4b7cf91f0f6c97ac046bf20f7f1effdef2422108c32148ae47a4c83a74d4def4f0d4e09a1d75728824aedbb923121b
7
- data.tar.gz: 758285d71a428189c275dd01c66dfd8ebf660645ab74ac90186267af4b11aebc86c03c21863995d4505638fa6a2a0a832224b6b613bd713fe9a69be70b28c889
6
+ metadata.gz: 81335fa7e2bda9eb7b464165cdb290c4492a45d45837b9d838df6b7b1d169b7dff2be9a2e739e0b915df23c0ee2e8977f4c295bca5bcf552b49c62666a6aedce
7
+ data.tar.gz: e1b8a214d42cc6d208294becea76c0af76d49b61c0eefea32cd5e914d5ee6d39fdd43840e6e437d28eb89cd24fad68474439302f973ba204793c3593954d0520
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.320
1
+ 1.0.323
@@ -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.320
4
+ version: 1.0.323
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-26 00:00:00.000000000 Z
11
+ date: 2022-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common