tencentcloud-sdk-cynosdb 3.0.1042 → 3.0.1043
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/v20190107/client.rb +72 -0
- data/lib/v20190107/models.rb +131 -0
- 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: fe3fb4a64a7d2cb2c59440f047895315d533dc82
|
4
|
+
data.tar.gz: 8ed49361644e655abd807cc70dfedd1178fca745
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd2531789387bc6075fb0defa0bb04e1a1a973f1f1967252850caab023a14c1f15abd4517116ffb74510f0b61a8c8a9869835e0632e234d10d04923c6d834b14
|
7
|
+
data.tar.gz: c81216c6563bf67461e9119dc3ee7fecc30aa4856243046ecf6b5fb4ad10656e631389c5470386e71a451c3b63c7c97203d3b5c1eecf430464a9a45aa927b2de
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1043
|
data/lib/v20190107/client.rb
CHANGED
@@ -1925,6 +1925,30 @@ module TencentCloud
|
|
1925
1925
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1926
1926
|
end
|
1927
1927
|
|
1928
|
+
# 查询实例SSL状态
|
1929
|
+
|
1930
|
+
# @param request: Request instance for DescribeSSLStatus.
|
1931
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeSSLStatusRequest`
|
1932
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeSSLStatusResponse`
|
1933
|
+
def DescribeSSLStatus(request)
|
1934
|
+
body = send_request('DescribeSSLStatus', request.serialize)
|
1935
|
+
response = JSON.parse(body)
|
1936
|
+
if response['Response'].key?('Error') == false
|
1937
|
+
model = DescribeSSLStatusResponse.new
|
1938
|
+
model.deserialize(response['Response'])
|
1939
|
+
model
|
1940
|
+
else
|
1941
|
+
code = response['Response']['Error']['Code']
|
1942
|
+
message = response['Response']['Error']['Message']
|
1943
|
+
reqid = response['Response']['RequestId']
|
1944
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1945
|
+
end
|
1946
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1947
|
+
raise e
|
1948
|
+
rescue StandardError => e
|
1949
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1950
|
+
end
|
1951
|
+
|
1928
1952
|
# 查询Serverless实例可选规格
|
1929
1953
|
|
1930
1954
|
# @param request: Request instance for DescribeServerlessInstanceSpecs.
|
@@ -1973,6 +1997,30 @@ module TencentCloud
|
|
1973
1997
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1974
1998
|
end
|
1975
1999
|
|
2000
|
+
# 查询从可用区
|
2001
|
+
|
2002
|
+
# @param request: Request instance for DescribeSlaveZones.
|
2003
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeSlaveZonesRequest`
|
2004
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeSlaveZonesResponse`
|
2005
|
+
def DescribeSlaveZones(request)
|
2006
|
+
body = send_request('DescribeSlaveZones', request.serialize)
|
2007
|
+
response = JSON.parse(body)
|
2008
|
+
if response['Response'].key?('Error') == false
|
2009
|
+
model = DescribeSlaveZonesResponse.new
|
2010
|
+
model.deserialize(response['Response'])
|
2011
|
+
model
|
2012
|
+
else
|
2013
|
+
code = response['Response']['Error']['Code']
|
2014
|
+
message = response['Response']['Error']['Message']
|
2015
|
+
reqid = response['Response']['RequestId']
|
2016
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2017
|
+
end
|
2018
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2019
|
+
raise e
|
2020
|
+
rescue StandardError => e
|
2021
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2022
|
+
end
|
2023
|
+
|
1976
2024
|
# 本接口(DescribeSupportProxyVersion)用于查询支持的数据库代理版本。
|
1977
2025
|
|
1978
2026
|
# @param request: Request instance for DescribeSupportProxyVersion.
|
@@ -3149,6 +3197,30 @@ module TencentCloud
|
|
3149
3197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3150
3198
|
end
|
3151
3199
|
|
3200
|
+
# 开启SSL加密
|
3201
|
+
|
3202
|
+
# @param request: Request instance for OpenSSL.
|
3203
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::OpenSSLRequest`
|
3204
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::OpenSSLResponse`
|
3205
|
+
def OpenSSL(request)
|
3206
|
+
body = send_request('OpenSSL', request.serialize)
|
3207
|
+
response = JSON.parse(body)
|
3208
|
+
if response['Response'].key?('Error') == false
|
3209
|
+
model = OpenSSLResponse.new
|
3210
|
+
model.deserialize(response['Response'])
|
3211
|
+
model
|
3212
|
+
else
|
3213
|
+
code = response['Response']['Error']['Code']
|
3214
|
+
message = response['Response']['Error']['Message']
|
3215
|
+
reqid = response['Response']['RequestId']
|
3216
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3217
|
+
end
|
3218
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3219
|
+
raise e
|
3220
|
+
rescue StandardError => e
|
3221
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3222
|
+
end
|
3223
|
+
|
3152
3224
|
# 本接口(OpenWan)用于开通外网。
|
3153
3225
|
|
3154
3226
|
# @param request: Request instance for OpenWan.
|
data/lib/v20190107/models.rb
CHANGED
@@ -7383,6 +7383,51 @@ module TencentCloud
|
|
7383
7383
|
end
|
7384
7384
|
end
|
7385
7385
|
|
7386
|
+
# DescribeSSLStatus请求参数结构体
|
7387
|
+
class DescribeSSLStatusRequest < TencentCloud::Common::AbstractModel
|
7388
|
+
# @param ClusterId: 集群ID
|
7389
|
+
# @type ClusterId: String
|
7390
|
+
# @param InstanceId: 实例ID
|
7391
|
+
# @type InstanceId: String
|
7392
|
+
|
7393
|
+
attr_accessor :ClusterId, :InstanceId
|
7394
|
+
|
7395
|
+
def initialize(clusterid=nil, instanceid=nil)
|
7396
|
+
@ClusterId = clusterid
|
7397
|
+
@InstanceId = instanceid
|
7398
|
+
end
|
7399
|
+
|
7400
|
+
def deserialize(params)
|
7401
|
+
@ClusterId = params['ClusterId']
|
7402
|
+
@InstanceId = params['InstanceId']
|
7403
|
+
end
|
7404
|
+
end
|
7405
|
+
|
7406
|
+
# DescribeSSLStatus返回参数结构体
|
7407
|
+
class DescribeSSLStatusResponse < TencentCloud::Common::AbstractModel
|
7408
|
+
# @param IsOpenSSL: yes-开启,no-关闭
|
7409
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7410
|
+
# @type IsOpenSSL: String
|
7411
|
+
# @param DownloadUrl: 证书下载地址
|
7412
|
+
# @type DownloadUrl: String
|
7413
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7414
|
+
# @type RequestId: String
|
7415
|
+
|
7416
|
+
attr_accessor :IsOpenSSL, :DownloadUrl, :RequestId
|
7417
|
+
|
7418
|
+
def initialize(isopenssl=nil, downloadurl=nil, requestid=nil)
|
7419
|
+
@IsOpenSSL = isopenssl
|
7420
|
+
@DownloadUrl = downloadurl
|
7421
|
+
@RequestId = requestid
|
7422
|
+
end
|
7423
|
+
|
7424
|
+
def deserialize(params)
|
7425
|
+
@IsOpenSSL = params['IsOpenSSL']
|
7426
|
+
@DownloadUrl = params['DownloadUrl']
|
7427
|
+
@RequestId = params['RequestId']
|
7428
|
+
end
|
7429
|
+
end
|
7430
|
+
|
7386
7431
|
# DescribeServerlessInstanceSpecs请求参数结构体
|
7387
7432
|
class DescribeServerlessInstanceSpecsRequest < TencentCloud::Common::AbstractModel
|
7388
7433
|
# @param Zone: 可用区
|
@@ -7484,6 +7529,46 @@ module TencentCloud
|
|
7484
7529
|
end
|
7485
7530
|
end
|
7486
7531
|
|
7532
|
+
# DescribeSlaveZones请求参数结构体
|
7533
|
+
class DescribeSlaveZonesRequest < TencentCloud::Common::AbstractModel
|
7534
|
+
# @param Zone: 可用区
|
7535
|
+
# @type Zone: String
|
7536
|
+
# @param OssClusterId: 云架集群ID
|
7537
|
+
# @type OssClusterId: Integer
|
7538
|
+
|
7539
|
+
attr_accessor :Zone, :OssClusterId
|
7540
|
+
|
7541
|
+
def initialize(zone=nil, ossclusterid=nil)
|
7542
|
+
@Zone = zone
|
7543
|
+
@OssClusterId = ossclusterid
|
7544
|
+
end
|
7545
|
+
|
7546
|
+
def deserialize(params)
|
7547
|
+
@Zone = params['Zone']
|
7548
|
+
@OssClusterId = params['OssClusterId']
|
7549
|
+
end
|
7550
|
+
end
|
7551
|
+
|
7552
|
+
# DescribeSlaveZones返回参数结构体
|
7553
|
+
class DescribeSlaveZonesResponse < TencentCloud::Common::AbstractModel
|
7554
|
+
# @param SlaveZones: 从可用区
|
7555
|
+
# @type SlaveZones: Array
|
7556
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7557
|
+
# @type RequestId: String
|
7558
|
+
|
7559
|
+
attr_accessor :SlaveZones, :RequestId
|
7560
|
+
|
7561
|
+
def initialize(slavezones=nil, requestid=nil)
|
7562
|
+
@SlaveZones = slavezones
|
7563
|
+
@RequestId = requestid
|
7564
|
+
end
|
7565
|
+
|
7566
|
+
def deserialize(params)
|
7567
|
+
@SlaveZones = params['SlaveZones']
|
7568
|
+
@RequestId = params['RequestId']
|
7569
|
+
end
|
7570
|
+
end
|
7571
|
+
|
7487
7572
|
# DescribeSupportProxyVersion请求参数结构体
|
7488
7573
|
class DescribeSupportProxyVersionRequest < TencentCloud::Common::AbstractModel
|
7489
7574
|
# @param ClusterId: 集群ID
|
@@ -11094,6 +11179,52 @@ module TencentCloud
|
|
11094
11179
|
end
|
11095
11180
|
end
|
11096
11181
|
|
11182
|
+
# OpenSSL请求参数结构体
|
11183
|
+
class OpenSSLRequest < TencentCloud::Common::AbstractModel
|
11184
|
+
# @param ClusterId: 集群ID
|
11185
|
+
# @type ClusterId: String
|
11186
|
+
# @param InstanceId: 实例ID
|
11187
|
+
# @type InstanceId: String
|
11188
|
+
|
11189
|
+
attr_accessor :ClusterId, :InstanceId
|
11190
|
+
|
11191
|
+
def initialize(clusterid=nil, instanceid=nil)
|
11192
|
+
@ClusterId = clusterid
|
11193
|
+
@InstanceId = instanceid
|
11194
|
+
end
|
11195
|
+
|
11196
|
+
def deserialize(params)
|
11197
|
+
@ClusterId = params['ClusterId']
|
11198
|
+
@InstanceId = params['InstanceId']
|
11199
|
+
end
|
11200
|
+
end
|
11201
|
+
|
11202
|
+
# OpenSSL返回参数结构体
|
11203
|
+
class OpenSSLResponse < TencentCloud::Common::AbstractModel
|
11204
|
+
# @param FlowId: 任务流ID
|
11205
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11206
|
+
# @type FlowId: Integer
|
11207
|
+
# @param TaskId: 任务id
|
11208
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11209
|
+
# @type TaskId: Integer
|
11210
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11211
|
+
# @type RequestId: String
|
11212
|
+
|
11213
|
+
attr_accessor :FlowId, :TaskId, :RequestId
|
11214
|
+
|
11215
|
+
def initialize(flowid=nil, taskid=nil, requestid=nil)
|
11216
|
+
@FlowId = flowid
|
11217
|
+
@TaskId = taskid
|
11218
|
+
@RequestId = requestid
|
11219
|
+
end
|
11220
|
+
|
11221
|
+
def deserialize(params)
|
11222
|
+
@FlowId = params['FlowId']
|
11223
|
+
@TaskId = params['TaskId']
|
11224
|
+
@RequestId = params['RequestId']
|
11225
|
+
end
|
11226
|
+
end
|
11227
|
+
|
11097
11228
|
# OpenWan请求参数结构体
|
11098
11229
|
class OpenWanRequest < TencentCloud::Common::AbstractModel
|
11099
11230
|
# @param InstanceGrpId: 实例组id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cynosdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1043
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|