tencentcloud-sdk-cynosdb 3.0.888 → 3.0.890
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/v20190107/client.rb +48 -0
- data/lib/v20190107/models.rb +111 -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: b803baab5a9777811109acc15e0509e025df319b
|
4
|
+
data.tar.gz: 1a11730b5ae7183e34e483efbe5bdab37c377a79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a10475adc0083582e65cb8ac9d18c028c54685e6f62e1b4390f0eebf1c1d207830baafca5e013aee9d6a5bb1a3ce5ecb68e83756d3b8be161e379dc644c700c
|
7
|
+
data.tar.gz: 64e9a7c04a98b1563dbd0763c809955a2d6bba84a6f12c38ef3922be3575ce7375a3c8fcbe1c0014d86c6dc9f71b0321e16cbf5b58d06731d9c942a1ad5fbfa2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.890
|
data/lib/v20190107/client.rb
CHANGED
@@ -965,6 +965,30 @@ module TencentCloud
|
|
965
965
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
966
966
|
end
|
967
967
|
|
968
|
+
# 该接口(DescribeBinlogConfig)用于查询binlog配置
|
969
|
+
|
970
|
+
# @param request: Request instance for DescribeBinlogConfig.
|
971
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeBinlogConfigRequest`
|
972
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeBinlogConfigResponse`
|
973
|
+
def DescribeBinlogConfig(request)
|
974
|
+
body = send_request('DescribeBinlogConfig', request.serialize)
|
975
|
+
response = JSON.parse(body)
|
976
|
+
if response['Response'].key?('Error') == false
|
977
|
+
model = DescribeBinlogConfigResponse.new
|
978
|
+
model.deserialize(response['Response'])
|
979
|
+
model
|
980
|
+
else
|
981
|
+
code = response['Response']['Error']['Code']
|
982
|
+
message = response['Response']['Error']['Message']
|
983
|
+
reqid = response['Response']['RequestId']
|
984
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
985
|
+
end
|
986
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
987
|
+
raise e
|
988
|
+
rescue StandardError => e
|
989
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
990
|
+
end
|
991
|
+
|
968
992
|
# 此接口(DescribeBinlogDownloadUrl)用于查询Binlog的下载地址。
|
969
993
|
|
970
994
|
# @param request: Request instance for DescribeBinlogDownloadUrl.
|
@@ -2287,6 +2311,30 @@ module TencentCloud
|
|
2287
2311
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2288
2312
|
end
|
2289
2313
|
|
2314
|
+
# 该接口(ModifyBinlogConfig)用于修改Binlog配置
|
2315
|
+
|
2316
|
+
# @param request: Request instance for ModifyBinlogConfig.
|
2317
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::ModifyBinlogConfigRequest`
|
2318
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::ModifyBinlogConfigResponse`
|
2319
|
+
def ModifyBinlogConfig(request)
|
2320
|
+
body = send_request('ModifyBinlogConfig', request.serialize)
|
2321
|
+
response = JSON.parse(body)
|
2322
|
+
if response['Response'].key?('Error') == false
|
2323
|
+
model = ModifyBinlogConfigResponse.new
|
2324
|
+
model.deserialize(response['Response'])
|
2325
|
+
model
|
2326
|
+
else
|
2327
|
+
code = response['Response']['Error']['Code']
|
2328
|
+
message = response['Response']['Error']['Message']
|
2329
|
+
reqid = response['Response']['RequestId']
|
2330
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2331
|
+
end
|
2332
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2333
|
+
raise e
|
2334
|
+
rescue StandardError => e
|
2335
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2336
|
+
end
|
2337
|
+
|
2290
2338
|
# 此接口(ModifyBinlogSaveDays)用于修改集群Binlog保留天数。
|
2291
2339
|
|
2292
2340
|
# @param request: Request instance for ModifyBinlogSaveDays.
|
data/lib/v20190107/models.rb
CHANGED
@@ -914,6 +914,33 @@ module TencentCloud
|
|
914
914
|
end
|
915
915
|
end
|
916
916
|
|
917
|
+
# binlog配置信息
|
918
|
+
class BinlogConfigInfo < TencentCloud::Common::AbstractModel
|
919
|
+
# @param BinlogSaveDays: binlog保留时间
|
920
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
921
|
+
# @type BinlogSaveDays: Integer
|
922
|
+
# @param BinlogCrossRegionsEnable: binlog异地地域备份是否开启
|
923
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
924
|
+
# @type BinlogCrossRegionsEnable: String
|
925
|
+
# @param BinlogCrossRegions: binlog异地地域
|
926
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
927
|
+
# @type BinlogCrossRegions: Array
|
928
|
+
|
929
|
+
attr_accessor :BinlogSaveDays, :BinlogCrossRegionsEnable, :BinlogCrossRegions
|
930
|
+
|
931
|
+
def initialize(binlogsavedays=nil, binlogcrossregionsenable=nil, binlogcrossregions=nil)
|
932
|
+
@BinlogSaveDays = binlogsavedays
|
933
|
+
@BinlogCrossRegionsEnable = binlogcrossregionsenable
|
934
|
+
@BinlogCrossRegions = binlogcrossregions
|
935
|
+
end
|
936
|
+
|
937
|
+
def deserialize(params)
|
938
|
+
@BinlogSaveDays = params['BinlogSaveDays']
|
939
|
+
@BinlogCrossRegionsEnable = params['BinlogCrossRegionsEnable']
|
940
|
+
@BinlogCrossRegions = params['BinlogCrossRegions']
|
941
|
+
end
|
942
|
+
end
|
943
|
+
|
917
944
|
# Binlog描述
|
918
945
|
class BinlogItem < TencentCloud::Common::AbstractModel
|
919
946
|
# @param FileName: Binlog文件名称
|
@@ -5035,6 +5062,51 @@ module TencentCloud
|
|
5035
5062
|
end
|
5036
5063
|
end
|
5037
5064
|
|
5065
|
+
# DescribeBinlogConfig请求参数结构体
|
5066
|
+
class DescribeBinlogConfigRequest < TencentCloud::Common::AbstractModel
|
5067
|
+
# @param ClusterId: 集群ID
|
5068
|
+
# @type ClusterId: String
|
5069
|
+
|
5070
|
+
attr_accessor :ClusterId
|
5071
|
+
|
5072
|
+
def initialize(clusterid=nil)
|
5073
|
+
@ClusterId = clusterid
|
5074
|
+
end
|
5075
|
+
|
5076
|
+
def deserialize(params)
|
5077
|
+
@ClusterId = params['ClusterId']
|
5078
|
+
end
|
5079
|
+
end
|
5080
|
+
|
5081
|
+
# DescribeBinlogConfig返回参数结构体
|
5082
|
+
class DescribeBinlogConfigResponse < TencentCloud::Common::AbstractModel
|
5083
|
+
# @param BinlogCrossRegionsConfigUpdateTime: Binlog跨地域配置更新时间
|
5084
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5085
|
+
# @type BinlogCrossRegionsConfigUpdateTime: String
|
5086
|
+
# @param BinlogConfig: Binlog配置信息
|
5087
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5088
|
+
# @type BinlogConfig: :class:`Tencentcloud::Cynosdb.v20190107.models.BinlogConfigInfo`
|
5089
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5090
|
+
# @type RequestId: String
|
5091
|
+
|
5092
|
+
attr_accessor :BinlogCrossRegionsConfigUpdateTime, :BinlogConfig, :RequestId
|
5093
|
+
|
5094
|
+
def initialize(binlogcrossregionsconfigupdatetime=nil, binlogconfig=nil, requestid=nil)
|
5095
|
+
@BinlogCrossRegionsConfigUpdateTime = binlogcrossregionsconfigupdatetime
|
5096
|
+
@BinlogConfig = binlogconfig
|
5097
|
+
@RequestId = requestid
|
5098
|
+
end
|
5099
|
+
|
5100
|
+
def deserialize(params)
|
5101
|
+
@BinlogCrossRegionsConfigUpdateTime = params['BinlogCrossRegionsConfigUpdateTime']
|
5102
|
+
unless params['BinlogConfig'].nil?
|
5103
|
+
@BinlogConfig = BinlogConfigInfo.new
|
5104
|
+
@BinlogConfig.deserialize(params['BinlogConfig'])
|
5105
|
+
end
|
5106
|
+
@RequestId = params['RequestId']
|
5107
|
+
end
|
5108
|
+
end
|
5109
|
+
|
5038
5110
|
# DescribeBinlogDownloadUrl请求参数结构体
|
5039
5111
|
class DescribeBinlogDownloadUrlRequest < TencentCloud::Common::AbstractModel
|
5040
5112
|
# @param ClusterId: 集群ID
|
@@ -9002,6 +9074,45 @@ module TencentCloud
|
|
9002
9074
|
end
|
9003
9075
|
end
|
9004
9076
|
|
9077
|
+
# ModifyBinlogConfig请求参数结构体
|
9078
|
+
class ModifyBinlogConfigRequest < TencentCloud::Common::AbstractModel
|
9079
|
+
# @param ClusterId: 集群ID
|
9080
|
+
# @type ClusterId: String
|
9081
|
+
# @param BinlogConfig: Binlog配置信息
|
9082
|
+
# @type BinlogConfig: :class:`Tencentcloud::Cynosdb.v20190107.models.BinlogConfigInfo`
|
9083
|
+
|
9084
|
+
attr_accessor :ClusterId, :BinlogConfig
|
9085
|
+
|
9086
|
+
def initialize(clusterid=nil, binlogconfig=nil)
|
9087
|
+
@ClusterId = clusterid
|
9088
|
+
@BinlogConfig = binlogconfig
|
9089
|
+
end
|
9090
|
+
|
9091
|
+
def deserialize(params)
|
9092
|
+
@ClusterId = params['ClusterId']
|
9093
|
+
unless params['BinlogConfig'].nil?
|
9094
|
+
@BinlogConfig = BinlogConfigInfo.new
|
9095
|
+
@BinlogConfig.deserialize(params['BinlogConfig'])
|
9096
|
+
end
|
9097
|
+
end
|
9098
|
+
end
|
9099
|
+
|
9100
|
+
# ModifyBinlogConfig返回参数结构体
|
9101
|
+
class ModifyBinlogConfigResponse < TencentCloud::Common::AbstractModel
|
9102
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9103
|
+
# @type RequestId: String
|
9104
|
+
|
9105
|
+
attr_accessor :RequestId
|
9106
|
+
|
9107
|
+
def initialize(requestid=nil)
|
9108
|
+
@RequestId = requestid
|
9109
|
+
end
|
9110
|
+
|
9111
|
+
def deserialize(params)
|
9112
|
+
@RequestId = params['RequestId']
|
9113
|
+
end
|
9114
|
+
end
|
9115
|
+
|
9005
9116
|
# ModifyBinlogSaveDays请求参数结构体
|
9006
9117
|
class ModifyBinlogSaveDaysRequest < TencentCloud::Common::AbstractModel
|
9007
9118
|
# @param ClusterId: 集群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.890
|
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-08-
|
11
|
+
date: 2024-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|