tencentcloud-sdk-mariadb 3.0.445 → 3.0.447

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: 6c3d658435c365c1c49277bcfab339891fd58bb4
4
- data.tar.gz: 004b8baa607046a2cdd47c964c84141108c33fa9
3
+ metadata.gz: 1a5c1d3c3da4011316ab58b2db618dfb0afd3ac9
4
+ data.tar.gz: 4ff2236de92506c4203e938b710de68077a87166
5
5
  SHA512:
6
- metadata.gz: 7588a4a100cf5818bb4d65f5193685f4ef97fa7a07c5967692c5198ab36de2cfd0cf3e2f9f600b054aa2a1a2fd378885600f3c333071a3339ae68b925b4dc9cb
7
- data.tar.gz: 8f3b338ee169e4c7fb2ca85d60814eafa1d6ace023104d86bb1784911e8929bd62ac61d9a1a2d1af977b30b51e2b36250fd961796b1322de3020a831974fdc79
6
+ metadata.gz: 23bd782f5b512f897b259b845a72f297f230eb89b69c1f4b545eb4a22ce7878add17057cbbccfa0b0bfcb112146b29c6c327470a741b0e3d05373f6f41fcfeb7
7
+ data.tar.gz: de0f60f6e9e85676606f868a486c7f77c861d8b8b7c44eb0e2ae905e877685c787ea158e58f3ebc765b6332f9ec2265e9f44de7fc77fd3aa74a3eaa5f89c1371
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.445
1
+ 3.0.447
@@ -1581,6 +1581,30 @@ module TencentCloud
1581
1581
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1582
1582
  end
1583
1583
 
1584
+ # 本接口(IsolateDedicatedDBInstance)用于销毁已隔离的独享云数据库实例。
1585
+
1586
+ # @param request: Request instance for TerminateDedicatedDBInstance.
1587
+ # @type request: :class:`Tencentcloud::mariadb::V20170312::TerminateDedicatedDBInstanceRequest`
1588
+ # @rtype: :class:`Tencentcloud::mariadb::V20170312::TerminateDedicatedDBInstanceResponse`
1589
+ def TerminateDedicatedDBInstance(request)
1590
+ body = send_request('TerminateDedicatedDBInstance', request.serialize)
1591
+ response = JSON.parse(body)
1592
+ if response['Response'].key?('Error') == false
1593
+ model = TerminateDedicatedDBInstanceResponse.new
1594
+ model.deserialize(response['Response'])
1595
+ model
1596
+ else
1597
+ code = response['Response']['Error']['Code']
1598
+ message = response['Response']['Error']['Message']
1599
+ reqid = response['Response']['RequestId']
1600
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1601
+ end
1602
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1603
+ raise e
1604
+ rescue StandardError => e
1605
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1606
+ end
1607
+
1584
1608
  # 本接口(UpgradeDBInstance)用于扩容云数据库实例。本接口完成下单和支付两个动作,如果发生支付失败的错误,调用用户账户相关接口中的支付订单接口(PayDeals)重新支付即可。
1585
1609
 
1586
1610
  # @param request: Request instance for UpgradeDBInstance.
@@ -4645,6 +4645,42 @@ module TencentCloud
4645
4645
  end
4646
4646
  end
4647
4647
 
4648
+ # TerminateDedicatedDBInstance请求参数结构体
4649
+ class TerminateDedicatedDBInstanceRequest < TencentCloud::Common::AbstractModel
4650
+ # @param InstanceId: 实例 Id,形如:tdsql-ow728lmc。
4651
+ # @type InstanceId: String
4652
+
4653
+ attr_accessor :InstanceId
4654
+
4655
+ def initialize(instanceid=nil)
4656
+ @InstanceId = instanceid
4657
+ end
4658
+
4659
+ def deserialize(params)
4660
+ @InstanceId = params['InstanceId']
4661
+ end
4662
+ end
4663
+
4664
+ # TerminateDedicatedDBInstance返回参数结构体
4665
+ class TerminateDedicatedDBInstanceResponse < TencentCloud::Common::AbstractModel
4666
+ # @param FlowId: 异步流程Id
4667
+ # @type FlowId: Integer
4668
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4669
+ # @type RequestId: String
4670
+
4671
+ attr_accessor :FlowId, :RequestId
4672
+
4673
+ def initialize(flowid=nil, requestid=nil)
4674
+ @FlowId = flowid
4675
+ @RequestId = requestid
4676
+ end
4677
+
4678
+ def deserialize(params)
4679
+ @FlowId = params['FlowId']
4680
+ @RequestId = params['RequestId']
4681
+ end
4682
+ end
4683
+
4648
4684
  # UpgradeDBInstance请求参数结构体
4649
4685
  class UpgradeDBInstanceRequest < TencentCloud::Common::AbstractModel
4650
4686
  # @param InstanceId: 待升级的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mariadb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.445
4
+ version: 3.0.447
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-06 00:00:00.000000000 Z
11
+ date: 2022-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: '1.0'
19
+ version: '3.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: '1.0'
26
+ version: '3.0'
27
27
  description: Tencent Cloud Ruby SDK is the official software development kit, which
28
28
  allows Ruby developers to write software that makes use of Tencent Cloud service
29
29
  MARIADB.