tencentcloud-sdk-cdb 3.0.813 → 3.0.815
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/v20170320/client.rb +72 -0
- data/lib/v20170320/models.rb +126 -2
- 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: 8a749636bbd0ee69e9980c3ed6ae66ae0ab73cd0
|
4
|
+
data.tar.gz: 8e827c33318d32c6960695715d1616f43eb9a788
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7b783dba9ca58dee171f907e85d92aaacece61c2be27ccf494efdb5b6534d58a1d3c60a12222ea190d803b936d161b24f2bab39390a9522281f1882797810b2
|
7
|
+
data.tar.gz: 084207f55ac89e35d415a2c0c42a305588250e9f655aa44b5cd91c10536dd451f32b2ac9b0697244d62d1701d7814dd914803f8d4f5d1559a5276e5556f0c52a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.815
|
data/lib/v20170320/client.rb
CHANGED
@@ -269,6 +269,30 @@ module TencentCloud
|
|
269
269
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
270
|
end
|
271
271
|
|
272
|
+
# 关闭SSL连接功能。
|
273
|
+
|
274
|
+
# @param request: Request instance for CloseSSL.
|
275
|
+
# @type request: :class:`Tencentcloud::cdb::V20170320::CloseSSLRequest`
|
276
|
+
# @rtype: :class:`Tencentcloud::cdb::V20170320::CloseSSLResponse`
|
277
|
+
def CloseSSL(request)
|
278
|
+
body = send_request('CloseSSL', request.serialize)
|
279
|
+
response = JSON.parse(body)
|
280
|
+
if response['Response'].key?('Error') == false
|
281
|
+
model = CloseSSLResponse.new
|
282
|
+
model.deserialize(response['Response'])
|
283
|
+
model
|
284
|
+
else
|
285
|
+
code = response['Response']['Error']['Code']
|
286
|
+
message = response['Response']['Error']['Message']
|
287
|
+
reqid = response['Response']['RequestId']
|
288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
289
|
+
end
|
290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
291
|
+
raise e
|
292
|
+
rescue StandardError => e
|
293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
|
+
end
|
295
|
+
|
272
296
|
# 本接口(CloseWanService)用于关闭云数据库实例的外网访问。关闭外网访问后,外网地址将不可访问。
|
273
297
|
|
274
298
|
# @param request: Request instance for CloseWanService.
|
@@ -2307,6 +2331,30 @@ module TencentCloud
|
|
2307
2331
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2308
2332
|
end
|
2309
2333
|
|
2334
|
+
# 查询 SSL 开通情况。如果已经开通 SSL ,会同步返回证书下载链接。
|
2335
|
+
|
2336
|
+
# @param request: Request instance for DescribeSSLStatus.
|
2337
|
+
# @type request: :class:`Tencentcloud::cdb::V20170320::DescribeSSLStatusRequest`
|
2338
|
+
# @rtype: :class:`Tencentcloud::cdb::V20170320::DescribeSSLStatusResponse`
|
2339
|
+
def DescribeSSLStatus(request)
|
2340
|
+
body = send_request('DescribeSSLStatus', request.serialize)
|
2341
|
+
response = JSON.parse(body)
|
2342
|
+
if response['Response'].key?('Error') == false
|
2343
|
+
model = DescribeSSLStatusResponse.new
|
2344
|
+
model.deserialize(response['Response'])
|
2345
|
+
model
|
2346
|
+
else
|
2347
|
+
code = response['Response']['Error']['Code']
|
2348
|
+
message = response['Response']['Error']['Message']
|
2349
|
+
reqid = response['Response']['RequestId']
|
2350
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2351
|
+
end
|
2352
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2353
|
+
raise e
|
2354
|
+
rescue StandardError => e
|
2355
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2356
|
+
end
|
2357
|
+
|
2310
2358
|
# 条件检索实例的慢日志。只允许查看一个月之内的慢日志。
|
2311
2359
|
# 使用时需要注意:可能存在单条慢日志太大,导致整个http请求的回包太大,进而引发接口超时。一旦发生超时,建议您缩小查询时的Limit参数值,从而降低包的大小,让接口能够及时返回内容。
|
2312
2360
|
|
@@ -3431,6 +3479,30 @@ module TencentCloud
|
|
3431
3479
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3432
3480
|
end
|
3433
3481
|
|
3482
|
+
# 开启SSL连接功能。
|
3483
|
+
|
3484
|
+
# @param request: Request instance for OpenSSL.
|
3485
|
+
# @type request: :class:`Tencentcloud::cdb::V20170320::OpenSSLRequest`
|
3486
|
+
# @rtype: :class:`Tencentcloud::cdb::V20170320::OpenSSLResponse`
|
3487
|
+
def OpenSSL(request)
|
3488
|
+
body = send_request('OpenSSL', request.serialize)
|
3489
|
+
response = JSON.parse(body)
|
3490
|
+
if response['Response'].key?('Error') == false
|
3491
|
+
model = OpenSSLResponse.new
|
3492
|
+
model.deserialize(response['Response'])
|
3493
|
+
model
|
3494
|
+
else
|
3495
|
+
code = response['Response']['Error']['Code']
|
3496
|
+
message = response['Response']['Error']['Message']
|
3497
|
+
reqid = response['Response']['RequestId']
|
3498
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3499
|
+
end
|
3500
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3501
|
+
raise e
|
3502
|
+
rescue StandardError => e
|
3503
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3504
|
+
end
|
3505
|
+
|
3434
3506
|
# 本接口(OpenWanService)用于开通实例外网访问。
|
3435
3507
|
|
3436
3508
|
# 注意,实例开通外网访问之前,需要先将实例进行 [实例初始化](https://cloud.tencent.com/document/api/236/15873) 操作。
|
data/lib/v20170320/models.rb
CHANGED
@@ -1863,6 +1863,46 @@ module TencentCloud
|
|
1863
1863
|
end
|
1864
1864
|
end
|
1865
1865
|
|
1866
|
+
# CloseSSL请求参数结构体
|
1867
|
+
class CloseSSLRequest < TencentCloud::Common::AbstractModel
|
1868
|
+
# @param InstanceId: 实例 ID 。只读组 ID为空时必填。
|
1869
|
+
# @type InstanceId: String
|
1870
|
+
# @param RoGroupId: 只读组 ID。实例 ID为空时必填。
|
1871
|
+
# @type RoGroupId: String
|
1872
|
+
|
1873
|
+
attr_accessor :InstanceId, :RoGroupId
|
1874
|
+
|
1875
|
+
def initialize(instanceid=nil, rogroupid=nil)
|
1876
|
+
@InstanceId = instanceid
|
1877
|
+
@RoGroupId = rogroupid
|
1878
|
+
end
|
1879
|
+
|
1880
|
+
def deserialize(params)
|
1881
|
+
@InstanceId = params['InstanceId']
|
1882
|
+
@RoGroupId = params['RoGroupId']
|
1883
|
+
end
|
1884
|
+
end
|
1885
|
+
|
1886
|
+
# CloseSSL返回参数结构体
|
1887
|
+
class CloseSSLResponse < TencentCloud::Common::AbstractModel
|
1888
|
+
# @param AsyncRequestId: 异步请求 ID。
|
1889
|
+
# @type AsyncRequestId: String
|
1890
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1891
|
+
# @type RequestId: String
|
1892
|
+
|
1893
|
+
attr_accessor :AsyncRequestId, :RequestId
|
1894
|
+
|
1895
|
+
def initialize(asyncrequestid=nil, requestid=nil)
|
1896
|
+
@AsyncRequestId = asyncrequestid
|
1897
|
+
@RequestId = requestid
|
1898
|
+
end
|
1899
|
+
|
1900
|
+
def deserialize(params)
|
1901
|
+
@AsyncRequestId = params['AsyncRequestId']
|
1902
|
+
@RequestId = params['RequestId']
|
1903
|
+
end
|
1904
|
+
end
|
1905
|
+
|
1866
1906
|
# CloseWanService请求参数结构体
|
1867
1907
|
class CloseWanServiceRequest < TencentCloud::Common::AbstractModel
|
1868
1908
|
# @param InstanceId: 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
|
@@ -7343,6 +7383,50 @@ module TencentCloud
|
|
7343
7383
|
end
|
7344
7384
|
end
|
7345
7385
|
|
7386
|
+
# DescribeSSLStatus请求参数结构体
|
7387
|
+
class DescribeSSLStatusRequest < TencentCloud::Common::AbstractModel
|
7388
|
+
# @param InstanceId: 实例 ID 。只读组 ID为空时必填。
|
7389
|
+
# @type InstanceId: String
|
7390
|
+
# @param RoGroupId: 只读组 ID。实例 ID为空时必填。
|
7391
|
+
# @type RoGroupId: String
|
7392
|
+
|
7393
|
+
attr_accessor :InstanceId, :RoGroupId
|
7394
|
+
|
7395
|
+
def initialize(instanceid=nil, rogroupid=nil)
|
7396
|
+
@InstanceId = instanceid
|
7397
|
+
@RoGroupId = rogroupid
|
7398
|
+
end
|
7399
|
+
|
7400
|
+
def deserialize(params)
|
7401
|
+
@InstanceId = params['InstanceId']
|
7402
|
+
@RoGroupId = params['RoGroupId']
|
7403
|
+
end
|
7404
|
+
end
|
7405
|
+
|
7406
|
+
# DescribeSSLStatus返回参数结构体
|
7407
|
+
class DescribeSSLStatusResponse < TencentCloud::Common::AbstractModel
|
7408
|
+
# @param Status: 是否开通 SSL 。ON 代表开通 ,OFF 代表未开通。
|
7409
|
+
# @type Status: String
|
7410
|
+
# @param Url: 证书下载链接。
|
7411
|
+
# @type Url: String
|
7412
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7413
|
+
# @type RequestId: String
|
7414
|
+
|
7415
|
+
attr_accessor :Status, :Url, :RequestId
|
7416
|
+
|
7417
|
+
def initialize(status=nil, url=nil, requestid=nil)
|
7418
|
+
@Status = status
|
7419
|
+
@Url = url
|
7420
|
+
@RequestId = requestid
|
7421
|
+
end
|
7422
|
+
|
7423
|
+
def deserialize(params)
|
7424
|
+
@Status = params['Status']
|
7425
|
+
@Url = params['Url']
|
7426
|
+
@RequestId = params['RequestId']
|
7427
|
+
end
|
7428
|
+
end
|
7429
|
+
|
7346
7430
|
# DescribeSlowLogData请求参数结构体
|
7347
7431
|
class DescribeSlowLogDataRequest < TencentCloud::Common::AbstractModel
|
7348
7432
|
# @param InstanceId: 实例 ID。
|
@@ -10749,6 +10833,46 @@ module TencentCloud
|
|
10749
10833
|
end
|
10750
10834
|
end
|
10751
10835
|
|
10836
|
+
# OpenSSL请求参数结构体
|
10837
|
+
class OpenSSLRequest < TencentCloud::Common::AbstractModel
|
10838
|
+
# @param InstanceId: 实例 ID 。
|
10839
|
+
# @type InstanceId: String
|
10840
|
+
# @param RoGroupId: 只读组 ID。
|
10841
|
+
# @type RoGroupId: String
|
10842
|
+
|
10843
|
+
attr_accessor :InstanceId, :RoGroupId
|
10844
|
+
|
10845
|
+
def initialize(instanceid=nil, rogroupid=nil)
|
10846
|
+
@InstanceId = instanceid
|
10847
|
+
@RoGroupId = rogroupid
|
10848
|
+
end
|
10849
|
+
|
10850
|
+
def deserialize(params)
|
10851
|
+
@InstanceId = params['InstanceId']
|
10852
|
+
@RoGroupId = params['RoGroupId']
|
10853
|
+
end
|
10854
|
+
end
|
10855
|
+
|
10856
|
+
# OpenSSL返回参数结构体
|
10857
|
+
class OpenSSLResponse < TencentCloud::Common::AbstractModel
|
10858
|
+
# @param AsyncRequestId: 异步请求 ID。
|
10859
|
+
# @type AsyncRequestId: String
|
10860
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10861
|
+
# @type RequestId: String
|
10862
|
+
|
10863
|
+
attr_accessor :AsyncRequestId, :RequestId
|
10864
|
+
|
10865
|
+
def initialize(asyncrequestid=nil, requestid=nil)
|
10866
|
+
@AsyncRequestId = asyncrequestid
|
10867
|
+
@RequestId = requestid
|
10868
|
+
end
|
10869
|
+
|
10870
|
+
def deserialize(params)
|
10871
|
+
@AsyncRequestId = params['AsyncRequestId']
|
10872
|
+
@RequestId = params['RequestId']
|
10873
|
+
end
|
10874
|
+
end
|
10875
|
+
|
10752
10876
|
# OpenWanService请求参数结构体
|
10753
10877
|
class OpenWanServiceRequest < TencentCloud::Common::AbstractModel
|
10754
10878
|
# @param InstanceId: 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
|
@@ -10864,8 +10988,8 @@ module TencentCloud
|
|
10864
10988
|
|
10865
10989
|
attr_accessor :InstanceId, :ParamName, :OldValue, :NewValue, :IsSucess, :ModifyTime, :IsSuccess
|
10866
10990
|
extend Gem::Deprecate
|
10867
|
-
deprecate :IsSucess, :none, 2024,
|
10868
|
-
deprecate :IsSucess=, :none, 2024,
|
10991
|
+
deprecate :IsSucess, :none, 2024, 5
|
10992
|
+
deprecate :IsSucess=, :none, 2024, 5
|
10869
10993
|
|
10870
10994
|
def initialize(instanceid=nil, paramname=nil, oldvalue=nil, newvalue=nil, issucess=nil, modifytime=nil, issuccess=nil)
|
10871
10995
|
@InstanceId = instanceid
|
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.815
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|