tencentcloud-sdk-mariadb 3.0.444 → 3.0.446
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/client.rb +48 -0
- data/lib/v20170312/models.rb +76 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 592690c56ab3e85e770ea661d28eaf37fa28acf4
|
4
|
+
data.tar.gz: 0561505018242d41d3cf5e14903dc2ab1e2964aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 631bb421869a3c4b8549555df59ad8cf33b4e823d381e6b7f3fc16bc8b6ce04f638ae9f725a5a5f8b2de3ce75723d1abf1b279b4edfb4779a51852def281680e
|
7
|
+
data.tar.gz: 3d91c2d17cbdabb9892e22dd25ca62d828f5e665634431104f06aa99e00c9e775be03d8da96223ffcef7e85417a113ed4c003ad0f1d5c9b9a77378fd5fab1c32
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.446
|
data/lib/v20170312/client.rb
CHANGED
@@ -1017,6 +1017,30 @@ module TencentCloud
|
|
1017
1017
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1018
1018
|
end
|
1019
1019
|
|
1020
|
+
# 本接口(IsolateDBInstance)用于隔离云数据库实例(包年包月),隔离后不能通过IP和端口访问数据库。隔离的实例可在回收站中进行开机。若为欠费隔离,请尽快进行充值。
|
1021
|
+
|
1022
|
+
# @param request: Request instance for IsolateDBInstance.
|
1023
|
+
# @type request: :class:`Tencentcloud::mariadb::V20170312::IsolateDBInstanceRequest`
|
1024
|
+
# @rtype: :class:`Tencentcloud::mariadb::V20170312::IsolateDBInstanceResponse`
|
1025
|
+
def IsolateDBInstance(request)
|
1026
|
+
body = send_request('IsolateDBInstance', request.serialize)
|
1027
|
+
response = JSON.parse(body)
|
1028
|
+
if response['Response'].key?('Error') == false
|
1029
|
+
model = IsolateDBInstanceResponse.new
|
1030
|
+
model.deserialize(response['Response'])
|
1031
|
+
model
|
1032
|
+
else
|
1033
|
+
code = response['Response']['Error']['Code']
|
1034
|
+
message = response['Response']['Error']['Message']
|
1035
|
+
reqid = response['Response']['RequestId']
|
1036
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1037
|
+
end
|
1038
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1039
|
+
raise e
|
1040
|
+
rescue StandardError => e
|
1041
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1042
|
+
end
|
1043
|
+
|
1020
1044
|
# 本接口(IsolateDedicatedDBInstance)用于隔离独享云数据库实例。
|
1021
1045
|
|
1022
1046
|
# @param request: Request instance for IsolateDedicatedDBInstance.
|
@@ -1557,6 +1581,30 @@ module TencentCloud
|
|
1557
1581
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1558
1582
|
end
|
1559
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
|
+
|
1560
1608
|
# 本接口(UpgradeDBInstance)用于扩容云数据库实例。本接口完成下单和支付两个动作,如果发生支付失败的错误,调用用户账户相关接口中的支付订单接口(PayDeals)重新支付即可。
|
1561
1609
|
|
1562
1610
|
# @param request: Request instance for UpgradeDBInstance.
|
data/lib/v20170312/models.rb
CHANGED
@@ -3104,6 +3104,46 @@ module TencentCloud
|
|
3104
3104
|
end
|
3105
3105
|
end
|
3106
3106
|
|
3107
|
+
# IsolateDBInstance请求参数结构体
|
3108
|
+
class IsolateDBInstanceRequest < TencentCloud::Common::AbstractModel
|
3109
|
+
# @param InstanceIds: 实例 ID,格式如:tdsql-dasjkhd,与云数据库控制台页面中显示的实例 ID 相同,可使用 查询实例列表 接口获取,其值为输出参数中字段 InstanceId 的值。
|
3110
|
+
# @type InstanceIds: Array
|
3111
|
+
|
3112
|
+
attr_accessor :InstanceIds
|
3113
|
+
|
3114
|
+
def initialize(instanceids=nil)
|
3115
|
+
@InstanceIds = instanceids
|
3116
|
+
end
|
3117
|
+
|
3118
|
+
def deserialize(params)
|
3119
|
+
@InstanceIds = params['InstanceIds']
|
3120
|
+
end
|
3121
|
+
end
|
3122
|
+
|
3123
|
+
# IsolateDBInstance返回参数结构体
|
3124
|
+
class IsolateDBInstanceResponse < TencentCloud::Common::AbstractModel
|
3125
|
+
# @param SuccessInstanceIds: 隔离成功实例ID列表。
|
3126
|
+
# @type SuccessInstanceIds: Array
|
3127
|
+
# @param FailedInstanceIds: 隔离失败实例ID列表。
|
3128
|
+
# @type FailedInstanceIds: Array
|
3129
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3130
|
+
# @type RequestId: String
|
3131
|
+
|
3132
|
+
attr_accessor :SuccessInstanceIds, :FailedInstanceIds, :RequestId
|
3133
|
+
|
3134
|
+
def initialize(successinstanceids=nil, failedinstanceids=nil, requestid=nil)
|
3135
|
+
@SuccessInstanceIds = successinstanceids
|
3136
|
+
@FailedInstanceIds = failedinstanceids
|
3137
|
+
@RequestId = requestid
|
3138
|
+
end
|
3139
|
+
|
3140
|
+
def deserialize(params)
|
3141
|
+
@SuccessInstanceIds = params['SuccessInstanceIds']
|
3142
|
+
@FailedInstanceIds = params['FailedInstanceIds']
|
3143
|
+
@RequestId = params['RequestId']
|
3144
|
+
end
|
3145
|
+
end
|
3146
|
+
|
3107
3147
|
# IsolateDedicatedDBInstance请求参数结构体
|
3108
3148
|
class IsolateDedicatedDBInstanceRequest < TencentCloud::Common::AbstractModel
|
3109
3149
|
# @param InstanceId: 实例 Id,形如:tdsql-ow728lmc。
|
@@ -4605,6 +4645,42 @@ module TencentCloud
|
|
4605
4645
|
end
|
4606
4646
|
end
|
4607
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
|
+
|
4608
4684
|
# UpgradeDBInstance请求参数结构体
|
4609
4685
|
class UpgradeDBInstanceRequest < TencentCloud::Common::AbstractModel
|
4610
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.
|
4
|
+
version: 3.0.446
|
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-
|
11
|
+
date: 2022-11-07 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: '
|
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: '
|
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.
|