tencentcloud-sdk-dcdb 1.0.322 → 1.0.325

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: 9ee582a04a10c4eccbd4c1864998bdf6435634c5
4
- data.tar.gz: 98568f06bca1abcc9b4c85ab24019d3baad2bbf9
3
+ metadata.gz: bce436d8b63506cc0559b81ff7dbe2de620b0e12
4
+ data.tar.gz: 3e8a7831e829b1a4eab11023d7d009734637fd8b
5
5
  SHA512:
6
- metadata.gz: fab5370227d437cfc51a620a581074de319656146bb6a47e0d32eb14a5ead18b11c576505c63886eae29c303c5cfc18317e33fb282dd7d35404e85e49e502d28
7
- data.tar.gz: 88228a1dc0e460eb68abbd3417b8bfc4ba7f2cfd4595096f6542bf1e4bd13e4692cca9de39bef8fe697aea4a9ad176cf81a01e2273017e87c6b380be5ddd0400
6
+ metadata.gz: 7e1e5a7f56d6f8a53f3cc43ee83d2f166ab4dd214f6b594ad20cafc4e8e1761d579e2e9a015e287afbfbc5cf1cd4e3d77ffb40a775af130a2d06ba7b87afcabd
7
+ data.tar.gz: 126f698260d45e1a6894a40873007ddf7fc42b9a53c7d2256ff7894d2ee94678d9f4580b9c2014fdaf312c74bece61464ce320e9eb99ffbf32004d79569d5a8a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.322
1
+ 1.0.325
@@ -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.322
4
+ version: 1.0.325
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-29 00:00:00.000000000 Z
11
+ date: 2022-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common