tencentcloud-sdk-cdb 3.0.934 → 3.0.936
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 +0 -55
- 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: cec4444f5eba099c92bb4c4ca17b08dcacda2f61
|
4
|
+
data.tar.gz: 78f3225dccc788a507a61d0bb272be9b45ef2c61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9415818ceaf04498b0cd513a84814964b04e8b9d3f9577edd1f833428d15ce8684a48ee1d91baf58e9b8e621307de228ab559910c7be75942e6cbddbd96c59d
|
7
|
+
data.tar.gz: 9accee2cc26d16e5a65903b7a893af15cc1e58d84cd8a7436e04828d64d4882f114778751193580e70b3ed0fe6136d1701636c0031e6932a1bec9cf68a6db6cf
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.936
|
data/lib/v20170320/client.rb
CHANGED
@@ -2668,32 +2668,6 @@ module TencentCloud
|
|
2668
2668
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2669
2669
|
end
|
2670
2670
|
|
2671
|
-
# 该接口不再维护,参考CreateDBInstance+API文档,在发货时即可完成初始化。
|
2672
|
-
|
2673
|
-
# 本接口(InitDBInstances)用于初始化云数据库实例,包括初始化密码、默认字符集、实例端口号等。该接口已经废弃,在发货接口CreateDBInstance、CreateDBInstanceHour可以直接使用参数Password设置密码,使用参数ParamList设置字符集,使用参数Port设置端口号。
|
2674
|
-
|
2675
|
-
# @param request: Request instance for InitDBInstances.
|
2676
|
-
# @type request: :class:`Tencentcloud::cdb::V20170320::InitDBInstancesRequest`
|
2677
|
-
# @rtype: :class:`Tencentcloud::cdb::V20170320::InitDBInstancesResponse`
|
2678
|
-
def InitDBInstances(request)
|
2679
|
-
body = send_request('InitDBInstances', request.serialize)
|
2680
|
-
response = JSON.parse(body)
|
2681
|
-
if response['Response'].key?('Error') == false
|
2682
|
-
model = InitDBInstancesResponse.new
|
2683
|
-
model.deserialize(response['Response'])
|
2684
|
-
model
|
2685
|
-
else
|
2686
|
-
code = response['Response']['Error']['Code']
|
2687
|
-
message = response['Response']['Error']['Message']
|
2688
|
-
reqid = response['Response']['RequestId']
|
2689
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2690
|
-
end
|
2691
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2692
|
-
raise e
|
2693
|
-
rescue StandardError => e
|
2694
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2695
|
-
end
|
2696
|
-
|
2697
2671
|
# 本接口(InquiryPriceUpgradeInstances)用于查询云数据库实例升级的价格,支持查询按量计费或者包年包月实例的升级价格,实例类型支持主实例、灾备实例和只读实例。
|
2698
2672
|
|
2699
2673
|
# @param request: Request instance for InquiryPriceUpgradeInstances.
|
data/lib/v20170320/models.rb
CHANGED
@@ -8686,61 +8686,6 @@ module TencentCloud
|
|
8686
8686
|
end
|
8687
8687
|
end
|
8688
8688
|
|
8689
|
-
# InitDBInstances请求参数结构体
|
8690
|
-
class InitDBInstancesRequest < TencentCloud::Common::AbstractModel
|
8691
|
-
# @param InstanceIds: 实例ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同,可使用[查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
|
8692
|
-
# @type InstanceIds: Array
|
8693
|
-
# @param NewPassword: 实例新的密码,密码规则:8-64个字符,至少包含字母、数字、字符(支持的字符:!@#$%^*())中的两种。
|
8694
|
-
# @type NewPassword: String
|
8695
|
-
# @param Parameters: 实例的参数列表,目前支持设置“character_set_server”、“lower_case_table_names”参数。其中,“character_set_server”参数可选值为["utf8","latin1","gbk","utf8mb4"];“lower_case_table_names”可选值为[“0”,“1”]。
|
8696
|
-
# @type Parameters: Array
|
8697
|
-
# @param Vport: 实例的端口,取值范围为[1024, 65535]
|
8698
|
-
# @type Vport: Integer
|
8699
|
-
|
8700
|
-
attr_accessor :InstanceIds, :NewPassword, :Parameters, :Vport
|
8701
|
-
|
8702
|
-
def initialize(instanceids=nil, newpassword=nil, parameters=nil, vport=nil)
|
8703
|
-
@InstanceIds = instanceids
|
8704
|
-
@NewPassword = newpassword
|
8705
|
-
@Parameters = parameters
|
8706
|
-
@Vport = vport
|
8707
|
-
end
|
8708
|
-
|
8709
|
-
def deserialize(params)
|
8710
|
-
@InstanceIds = params['InstanceIds']
|
8711
|
-
@NewPassword = params['NewPassword']
|
8712
|
-
unless params['Parameters'].nil?
|
8713
|
-
@Parameters = []
|
8714
|
-
params['Parameters'].each do |i|
|
8715
|
-
paraminfo_tmp = ParamInfo.new
|
8716
|
-
paraminfo_tmp.deserialize(i)
|
8717
|
-
@Parameters << paraminfo_tmp
|
8718
|
-
end
|
8719
|
-
end
|
8720
|
-
@Vport = params['Vport']
|
8721
|
-
end
|
8722
|
-
end
|
8723
|
-
|
8724
|
-
# InitDBInstances返回参数结构体
|
8725
|
-
class InitDBInstancesResponse < TencentCloud::Common::AbstractModel
|
8726
|
-
# @param AsyncRequestIds: 异步任务的请求ID数组,可使用此ID查询异步任务的执行结果
|
8727
|
-
# @type AsyncRequestIds: Array
|
8728
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8729
|
-
# @type RequestId: String
|
8730
|
-
|
8731
|
-
attr_accessor :AsyncRequestIds, :RequestId
|
8732
|
-
|
8733
|
-
def initialize(asyncrequestids=nil, requestid=nil)
|
8734
|
-
@AsyncRequestIds = asyncrequestids
|
8735
|
-
@RequestId = requestid
|
8736
|
-
end
|
8737
|
-
|
8738
|
-
def deserialize(params)
|
8739
|
-
@AsyncRequestIds = params['AsyncRequestIds']
|
8740
|
-
@RequestId = params['RequestId']
|
8741
|
-
end
|
8742
|
-
end
|
8743
|
-
|
8744
8689
|
# InquiryPriceUpgradeInstances请求参数结构体
|
8745
8690
|
class InquiryPriceUpgradeInstancesRequest < TencentCloud::Common::AbstractModel
|
8746
8691
|
# @param InstanceId: 实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 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.936
|
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-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|