tencentcloud-sdk-cdb 3.0.616 → 3.0.617
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 +1 -41
- 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: 9b5d92bebb7e776a9f3487e039e218df6ddda73c
|
4
|
+
data.tar.gz: a2dc47a483ed6b566935faf4c5325074290d56a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ec6e757e87b2495adbbd596a49ad2cfe2ddc81d452df9af3f8966eba2e05479aec7a03e8033821342f43fb6b6a947c2b700ec8fc5a9bedc03996aa5766c5920
|
7
|
+
data.tar.gz: b976a9e6740d196f468556e2fc754ca1e1dc96374fa4e07e6655f73b3b11271ebcb7e7422d8553c221734427acf0e6211141aeca52747f7e845c3583442413e2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.617
|
data/lib/v20170320/client.rb
CHANGED
@@ -2683,32 +2683,6 @@ module TencentCloud
|
|
2683
2683
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2684
2684
|
end
|
2685
2685
|
|
2686
|
-
# 当前接口已经废弃,请使用+ModifyCdbProxyAddressDesc+进行替代。
|
2687
|
-
|
2688
|
-
# 修改数据库代理描述
|
2689
|
-
|
2690
|
-
# @param request: Request instance for ModifyCDBProxyDesc.
|
2691
|
-
# @type request: :class:`Tencentcloud::cdb::V20170320::ModifyCDBProxyDescRequest`
|
2692
|
-
# @rtype: :class:`Tencentcloud::cdb::V20170320::ModifyCDBProxyDescResponse`
|
2693
|
-
def ModifyCDBProxyDesc(request)
|
2694
|
-
body = send_request('ModifyCDBProxyDesc', request.serialize)
|
2695
|
-
response = JSON.parse(body)
|
2696
|
-
if response['Response'].key?('Error') == false
|
2697
|
-
model = ModifyCDBProxyDescResponse.new
|
2698
|
-
model.deserialize(response['Response'])
|
2699
|
-
model
|
2700
|
-
else
|
2701
|
-
code = response['Response']['Error']['Code']
|
2702
|
-
message = response['Response']['Error']['Message']
|
2703
|
-
reqid = response['Response']['RequestId']
|
2704
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2705
|
-
end
|
2706
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2707
|
-
raise e
|
2708
|
-
rescue StandardError => e
|
2709
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2710
|
-
end
|
2711
|
-
|
2712
2686
|
# 当前接口已经废弃,请使用+ModifyCdbProxyAddressVipAndVPort+进行替代。
|
2713
2687
|
|
2714
2688
|
# 修改数据库代理VIP或端口
|
data/lib/v20170320/models.rb
CHANGED
@@ -8997,46 +8997,6 @@ module TencentCloud
|
|
8997
8997
|
end
|
8998
8998
|
end
|
8999
8999
|
|
9000
|
-
# ModifyCDBProxyDesc请求参数结构体
|
9001
|
-
class ModifyCDBProxyDescRequest < TencentCloud::Common::AbstractModel
|
9002
|
-
# @param InstanceId: 实例ID
|
9003
|
-
# @type InstanceId: String
|
9004
|
-
# @param ProxyGroupId: 数据库代理ID
|
9005
|
-
# @type ProxyGroupId: String
|
9006
|
-
# @param Desc: 数据库代理描述
|
9007
|
-
# @type Desc: String
|
9008
|
-
|
9009
|
-
attr_accessor :InstanceId, :ProxyGroupId, :Desc
|
9010
|
-
|
9011
|
-
def initialize(instanceid=nil, proxygroupid=nil, desc=nil)
|
9012
|
-
@InstanceId = instanceid
|
9013
|
-
@ProxyGroupId = proxygroupid
|
9014
|
-
@Desc = desc
|
9015
|
-
end
|
9016
|
-
|
9017
|
-
def deserialize(params)
|
9018
|
-
@InstanceId = params['InstanceId']
|
9019
|
-
@ProxyGroupId = params['ProxyGroupId']
|
9020
|
-
@Desc = params['Desc']
|
9021
|
-
end
|
9022
|
-
end
|
9023
|
-
|
9024
|
-
# ModifyCDBProxyDesc返回参数结构体
|
9025
|
-
class ModifyCDBProxyDescResponse < TencentCloud::Common::AbstractModel
|
9026
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9027
|
-
# @type RequestId: String
|
9028
|
-
|
9029
|
-
attr_accessor :RequestId
|
9030
|
-
|
9031
|
-
def initialize(requestid=nil)
|
9032
|
-
@RequestId = requestid
|
9033
|
-
end
|
9034
|
-
|
9035
|
-
def deserialize(params)
|
9036
|
-
@RequestId = params['RequestId']
|
9037
|
-
end
|
9038
|
-
end
|
9039
|
-
|
9040
9000
|
# ModifyCDBProxyVipVPort请求参数结构体
|
9041
9001
|
class ModifyCDBProxyVipVPortRequest < TencentCloud::Common::AbstractModel
|
9042
9002
|
# @param ProxyGroupId: 代理组ID
|
@@ -12670,7 +12630,7 @@ module TencentCloud
|
|
12670
12630
|
# @type InstanceRole: String
|
12671
12631
|
# @param DeviceType: 实例隔离类型。支持值包括: "UNIVERSAL" - 通用型实例, "EXCLUSIVE" - 独享型实例, "BASIC" - 基础版实例。
|
12672
12632
|
# @type DeviceType: String
|
12673
|
-
# @param Cpu: 升级后的实例cpu核数,如果不传将根据 Memory
|
12633
|
+
# @param Cpu: 升级后的实例cpu核数,如果不传将根据 Memory 指定的内存值自动填充最小允许规格的cpu值。
|
12674
12634
|
# @type Cpu: Integer
|
12675
12635
|
# @param FastUpgrade: 是否极速变配。0-普通升级,1-极速变配,2 极速优先。选择极速变配会根据资源状况校验是否可以进行极速变配,满足条件则进行极速变配,不满足条件会返回报错信息。
|
12676
12636
|
# @type FastUpgrade: Integer
|
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.617
|
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-07-
|
11
|
+
date: 2023-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|