tencentcloud-sdk-cdb 3.0.466 → 3.0.468

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d2464d1ee367fa3fadb2e59d8df3ba900e30399
4
- data.tar.gz: 7d8535579e05ed8a2fe5c1f03c16dc6fdea9fda7
3
+ metadata.gz: 26d96deb559e36783921875917e7c28f7820dd7b
4
+ data.tar.gz: bfd057ef5cb31b9be430622951fe9ff3a2a057de
5
5
  SHA512:
6
- metadata.gz: 1ac18cdac4a05fd88c24436e39bde67ef54bc4874c7c11d22d7c5820c590f5f9da74f0ceb6c44f3a01b0ea2e2855aa2151eaf72ac93c07745fcd5e60bcaa5b05
7
- data.tar.gz: c4b659fc9f0ad69425c3ce17d99c39233fcb77c4c45a959a4418f3179c0e0815e3d4de83be73e3ba0846bc70fc2f36ec72cc143f1b6e034238f2538145848e04
6
+ metadata.gz: f471857bbf27d14addbcb92da18778f29786b15062db8a5b39fd722fd011103dc1d98cf5364f98764dfc94a019acc030051b664e14d9cee0a3586b085229629f
7
+ data.tar.gz: 932fcc04cb392864a75843175c0565e1f79caffac1765b4020e314fbee5c633eee7bad636731b0a93176dca3bb25bf8c6059ab70ec5cdc9936790e363f4dbe2b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.466
1
+ 3.0.468
@@ -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.
@@ -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.466
4
+ version: 3.0.468
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-06 00:00:00.000000000 Z
11
+ date: 2022-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common