tencentcloud-sdk-cdb 3.0.465 → 3.0.467
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170320/client.rb +0 -24
- data/lib/v20170320/models.rb +0 -65
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d02b851d7a50bd3add9a421fc3808a1b5d78051f
|
4
|
+
data.tar.gz: 44f87bea52ff61e6decffc7090e2bb9951bc06ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0faf3fa890366d8b61bcd49a8473ad920476d14d0562768bc9508ea0c4fd85738385fa3320c323ae24ecc3bd0b452f187c1defa2c9ceed8af892d1acd1a73602
|
7
|
+
data.tar.gz: 6f4d4ee3c34257c3253d084397df40cc81532730a05a4efacbfee0378e3e376933282a195d9bf1203ad293382edb26795e2b71fb39225209a11f39e33feabf77
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.467
|
data/lib/v20170320/client.rb
CHANGED
@@ -53,30 +53,6 @@ module TencentCloud
|
|
53
53
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
54
|
end
|
55
55
|
|
56
|
-
# 针对主实例申请创建数据库代理。
|
57
|
-
|
58
|
-
# @param request: Request instance for ApplyCDBProxy.
|
59
|
-
# @type request: :class:`Tencentcloud::cdb::V20170320::ApplyCDBProxyRequest`
|
60
|
-
# @rtype: :class:`Tencentcloud::cdb::V20170320::ApplyCDBProxyResponse`
|
61
|
-
def ApplyCDBProxy(request)
|
62
|
-
body = send_request('ApplyCDBProxy', request.serialize)
|
63
|
-
response = JSON.parse(body)
|
64
|
-
if response['Response'].key?('Error') == false
|
65
|
-
model = ApplyCDBProxyResponse.new
|
66
|
-
model.deserialize(response['Response'])
|
67
|
-
model
|
68
|
-
else
|
69
|
-
code = response['Response']['Error']['Code']
|
70
|
-
message = response['Response']['Error']['Message']
|
71
|
-
reqid = response['Response']['RequestId']
|
72
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
73
|
-
end
|
74
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
75
|
-
raise e
|
76
|
-
rescue StandardError => e
|
77
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
|
-
end
|
79
|
-
|
80
56
|
# 本接口(AssociateSecurityGroups)用于安全组批量绑定实例。
|
81
57
|
|
82
58
|
# @param request: Request instance for AssociateSecurityGroups.
|
data/lib/v20170320/models.rb
CHANGED
@@ -178,71 +178,6 @@ module TencentCloud
|
|
178
178
|
end
|
179
179
|
end
|
180
180
|
|
181
|
-
# ApplyCDBProxy请求参数结构体
|
182
|
-
class ApplyCDBProxyRequest < TencentCloud::Common::AbstractModel
|
183
|
-
# @param InstanceId: 主实例唯一标识ID
|
184
|
-
# @type InstanceId: String
|
185
|
-
# @param UniqVpcId: 私有网络ID
|
186
|
-
# @type UniqVpcId: String
|
187
|
-
# @param UniqSubnetId: 私有网络子网ID
|
188
|
-
# @type UniqSubnetId: String
|
189
|
-
# @param ProxyCount: 代理组节点个数
|
190
|
-
# @type ProxyCount: Integer
|
191
|
-
# @param Cpu: cpu核数
|
192
|
-
# @type Cpu: Integer
|
193
|
-
# @param Mem: 内存
|
194
|
-
# @type Mem: Integer
|
195
|
-
# @param SecurityGroup: 安全组
|
196
|
-
# @type SecurityGroup: Array
|
197
|
-
# @param Desc: 描述说明,最大支持256位。
|
198
|
-
# @type Desc: String
|
199
|
-
|
200
|
-
attr_accessor :InstanceId, :UniqVpcId, :UniqSubnetId, :ProxyCount, :Cpu, :Mem, :SecurityGroup, :Desc
|
201
|
-
|
202
|
-
def initialize(instanceid=nil, uniqvpcid=nil, uniqsubnetid=nil, proxycount=nil, cpu=nil, mem=nil, securitygroup=nil, desc=nil)
|
203
|
-
@InstanceId = instanceid
|
204
|
-
@UniqVpcId = uniqvpcid
|
205
|
-
@UniqSubnetId = uniqsubnetid
|
206
|
-
@ProxyCount = proxycount
|
207
|
-
@Cpu = cpu
|
208
|
-
@Mem = mem
|
209
|
-
@SecurityGroup = securitygroup
|
210
|
-
@Desc = desc
|
211
|
-
end
|
212
|
-
|
213
|
-
def deserialize(params)
|
214
|
-
@InstanceId = params['InstanceId']
|
215
|
-
@UniqVpcId = params['UniqVpcId']
|
216
|
-
@UniqSubnetId = params['UniqSubnetId']
|
217
|
-
@ProxyCount = params['ProxyCount']
|
218
|
-
@Cpu = params['Cpu']
|
219
|
-
@Mem = params['Mem']
|
220
|
-
@SecurityGroup = params['SecurityGroup']
|
221
|
-
@Desc = params['Desc']
|
222
|
-
end
|
223
|
-
end
|
224
|
-
|
225
|
-
# ApplyCDBProxy返回参数结构体
|
226
|
-
class ApplyCDBProxyResponse < TencentCloud::Common::AbstractModel
|
227
|
-
# @param AsyncRequestId: 异步处理ID
|
228
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
229
|
-
# @type AsyncRequestId: String
|
230
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
231
|
-
# @type RequestId: String
|
232
|
-
|
233
|
-
attr_accessor :AsyncRequestId, :RequestId
|
234
|
-
|
235
|
-
def initialize(asyncrequestid=nil, requestid=nil)
|
236
|
-
@AsyncRequestId = asyncrequestid
|
237
|
-
@RequestId = requestid
|
238
|
-
end
|
239
|
-
|
240
|
-
def deserialize(params)
|
241
|
-
@AsyncRequestId = params['AsyncRequestId']
|
242
|
-
@RequestId = params['RequestId']
|
243
|
-
end
|
244
|
-
end
|
245
|
-
|
246
181
|
# AssociateSecurityGroups请求参数结构体
|
247
182
|
class AssociateSecurityGroupsRequest < TencentCloud::Common::AbstractModel
|
248
183
|
# @param SecurityGroupId: 安全组 ID。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.467
|
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-12-
|
11
|
+
date: 2022-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|