tencentcloud-sdk-cdb 3.0.510 → 3.0.511
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 +0 -26
- data/lib/v20170320/models.rb +4 -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: f69eabd8411aba16eac241076e5fa7e6c50adf6c
|
4
|
+
data.tar.gz: e1fb25343c16623c271f6aa97cec2de8412799a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 644508556e654976671cc6de108310c5829bc55b1bb54b3f8a694990a514625fbbfbaa2af84619894a65da564af97b85bb873f28852836a26d7316e5c8f8d69b
|
7
|
+
data.tar.gz: cd2cffbfb422404e07c55dce55b4ba60485cdaf2caaf4ef0f6a0556e6a30dab17fcf52411be571db0aff5632efcb79d7d2204b81244c306c45d41809f9d4b321
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.511
|
data/lib/v20170320/client.rb
CHANGED
@@ -3295,32 +3295,6 @@ module TencentCloud
|
|
3295
3295
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3296
3296
|
end
|
3297
3297
|
|
3298
|
-
# 接口已经废弃,请使用AdjustCdbProxy进行数据库代理的配置
|
3299
|
-
|
3300
|
-
# 调整数据库代理配置
|
3301
|
-
|
3302
|
-
# @param request: Request instance for UpgradeCDBProxy.
|
3303
|
-
# @type request: :class:`Tencentcloud::cdb::V20170320::UpgradeCDBProxyRequest`
|
3304
|
-
# @rtype: :class:`Tencentcloud::cdb::V20170320::UpgradeCDBProxyResponse`
|
3305
|
-
def UpgradeCDBProxy(request)
|
3306
|
-
body = send_request('UpgradeCDBProxy', request.serialize)
|
3307
|
-
response = JSON.parse(body)
|
3308
|
-
if response['Response'].key?('Error') == false
|
3309
|
-
model = UpgradeCDBProxyResponse.new
|
3310
|
-
model.deserialize(response['Response'])
|
3311
|
-
model
|
3312
|
-
else
|
3313
|
-
code = response['Response']['Error']['Code']
|
3314
|
-
message = response['Response']['Error']['Message']
|
3315
|
-
reqid = response['Response']['RequestId']
|
3316
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3317
|
-
end
|
3318
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3319
|
-
raise e
|
3320
|
-
rescue StandardError => e
|
3321
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3322
|
-
end
|
3323
|
-
|
3324
3298
|
# 升级数据库代理版本
|
3325
3299
|
|
3326
3300
|
# @param request: Request instance for UpgradeCDBProxyVersion.
|
data/lib/v20170320/models.rb
CHANGED
@@ -5122,9 +5122,9 @@ module TencentCloud
|
|
5122
5122
|
class DescribeErrorLogDataRequest < TencentCloud::Common::AbstractModel
|
5123
5123
|
# @param InstanceId: 实例 ID 。
|
5124
5124
|
# @type InstanceId: String
|
5125
|
-
# @param StartTime:
|
5125
|
+
# @param StartTime: 开始时间戳。例如 1585142640 。
|
5126
5126
|
# @type StartTime: Integer
|
5127
|
-
# @param EndTime:
|
5127
|
+
# @param EndTime: 结束时间戳。例如 1585142640 。
|
5128
5128
|
# @type EndTime: Integer
|
5129
5129
|
# @param KeyWords: 要匹配的关键字列表,最多支持15个关键字。
|
5130
5130
|
# @type KeyWords: Array
|
@@ -5875,9 +5875,9 @@ module TencentCloud
|
|
5875
5875
|
class DescribeSlowLogDataRequest < TencentCloud::Common::AbstractModel
|
5876
5876
|
# @param InstanceId: 实例 ID。
|
5877
5877
|
# @type InstanceId: String
|
5878
|
-
# @param StartTime:
|
5878
|
+
# @param StartTime: 开始时间戳。例如 1585142640 。
|
5879
5879
|
# @type StartTime: Integer
|
5880
|
-
# @param EndTime:
|
5880
|
+
# @param EndTime: 结束时间戳。例如 1585142640 。
|
5881
5881
|
# @type EndTime: Integer
|
5882
5882
|
# @param UserHosts: 客户端 Host 列表。
|
5883
5883
|
# @type UserHosts: Array
|
@@ -11039,67 +11039,6 @@ module TencentCloud
|
|
11039
11039
|
end
|
11040
11040
|
end
|
11041
11041
|
|
11042
|
-
# UpgradeCDBProxy请求参数结构体
|
11043
|
-
class UpgradeCDBProxyRequest < TencentCloud::Common::AbstractModel
|
11044
|
-
# @param InstanceId: 实例ID
|
11045
|
-
# @type InstanceId: String
|
11046
|
-
# @param ProxyGroupId: 数据库代理ID
|
11047
|
-
# @type ProxyGroupId: String
|
11048
|
-
# @param ProxyCount: 代理节点个数
|
11049
|
-
# @type ProxyCount: Integer
|
11050
|
-
# @param Cpu: 代理节点核数
|
11051
|
-
# @type Cpu: Integer
|
11052
|
-
# @param Mem: 代理节点内存大小
|
11053
|
-
# @type Mem: Integer
|
11054
|
-
# @param ReloadBalance: 重新负载均衡:auto(自动),manual(手动)
|
11055
|
-
# @type ReloadBalance: String
|
11056
|
-
# @param UpgradeTime: 升级时间 nowTime(升级完成时)timeWindow(实例维护时间)
|
11057
|
-
# @type UpgradeTime: String
|
11058
|
-
|
11059
|
-
attr_accessor :InstanceId, :ProxyGroupId, :ProxyCount, :Cpu, :Mem, :ReloadBalance, :UpgradeTime
|
11060
|
-
|
11061
|
-
def initialize(instanceid=nil, proxygroupid=nil, proxycount=nil, cpu=nil, mem=nil, reloadbalance=nil, upgradetime=nil)
|
11062
|
-
@InstanceId = instanceid
|
11063
|
-
@ProxyGroupId = proxygroupid
|
11064
|
-
@ProxyCount = proxycount
|
11065
|
-
@Cpu = cpu
|
11066
|
-
@Mem = mem
|
11067
|
-
@ReloadBalance = reloadbalance
|
11068
|
-
@UpgradeTime = upgradetime
|
11069
|
-
end
|
11070
|
-
|
11071
|
-
def deserialize(params)
|
11072
|
-
@InstanceId = params['InstanceId']
|
11073
|
-
@ProxyGroupId = params['ProxyGroupId']
|
11074
|
-
@ProxyCount = params['ProxyCount']
|
11075
|
-
@Cpu = params['Cpu']
|
11076
|
-
@Mem = params['Mem']
|
11077
|
-
@ReloadBalance = params['ReloadBalance']
|
11078
|
-
@UpgradeTime = params['UpgradeTime']
|
11079
|
-
end
|
11080
|
-
end
|
11081
|
-
|
11082
|
-
# UpgradeCDBProxy返回参数结构体
|
11083
|
-
class UpgradeCDBProxyResponse < TencentCloud::Common::AbstractModel
|
11084
|
-
# @param AsyncRequestId: 异步处理ID
|
11085
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11086
|
-
# @type AsyncRequestId: String
|
11087
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
11088
|
-
# @type RequestId: String
|
11089
|
-
|
11090
|
-
attr_accessor :AsyncRequestId, :RequestId
|
11091
|
-
|
11092
|
-
def initialize(asyncrequestid=nil, requestid=nil)
|
11093
|
-
@AsyncRequestId = asyncrequestid
|
11094
|
-
@RequestId = requestid
|
11095
|
-
end
|
11096
|
-
|
11097
|
-
def deserialize(params)
|
11098
|
-
@AsyncRequestId = params['AsyncRequestId']
|
11099
|
-
@RequestId = params['RequestId']
|
11100
|
-
end
|
11101
|
-
end
|
11102
|
-
|
11103
11042
|
# UpgradeCDBProxyVersion请求参数结构体
|
11104
11043
|
class UpgradeCDBProxyVersionRequest < TencentCloud::Common::AbstractModel
|
11105
11044
|
# @param InstanceId: 实例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.511
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|