tencentcloud-sdk-cdb 1.0.364 → 3.0.371
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 +24 -0
- data/lib/v20170320/models.rb +47 -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: 33d764f158b83e6fe652f306d99c7c008d6fda72
|
4
|
+
data.tar.gz: 620842e16e262b77be1bde10c6d19ce969616493
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 461eb62474aa56d12622322f049226a4116dad8ccca54a5428939c3891d384f600a24fbea0559c121a0a54f4c86b203c394ae9aac6921fbeb6f1525d85fb44c6
|
7
|
+
data.tar.gz: 1e43cdf7de4a738dee0a2f007e95b23ebbd9f15435cbd62f9f154b6b6da026ecd2c8b81079ed53677b8a73860dce6d4864588c04d141e9a35da22a154589aa5b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.0.371
|
data/lib/v20170320/client.rb
CHANGED
@@ -2555,6 +2555,30 @@ module TencentCloud
|
|
2555
2555
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2556
2556
|
end
|
2557
2557
|
|
2558
|
+
# 本接口(ModifyInstancePasswordComplexity)用于修改云数据库实例的密码复杂度。
|
2559
|
+
|
2560
|
+
# @param request: Request instance for ModifyInstancePasswordComplexity.
|
2561
|
+
# @type request: :class:`Tencentcloud::cdb::V20170320::ModifyInstancePasswordComplexityRequest`
|
2562
|
+
# @rtype: :class:`Tencentcloud::cdb::V20170320::ModifyInstancePasswordComplexityResponse`
|
2563
|
+
def ModifyInstancePasswordComplexity(request)
|
2564
|
+
body = send_request('ModifyInstancePasswordComplexity', request.serialize)
|
2565
|
+
response = JSON.parse(body)
|
2566
|
+
if response['Response'].key?('Error') == false
|
2567
|
+
model = ModifyInstancePasswordComplexityResponse.new
|
2568
|
+
model.deserialize(response['Response'])
|
2569
|
+
model
|
2570
|
+
else
|
2571
|
+
code = response['Response']['Error']['Code']
|
2572
|
+
message = response['Response']['Error']['Message']
|
2573
|
+
reqid = response['Response']['RequestId']
|
2574
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2575
|
+
end
|
2576
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2577
|
+
raise e
|
2578
|
+
rescue StandardError => e
|
2579
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2580
|
+
end
|
2581
|
+
|
2558
2582
|
# 本接口(ModifyInstanceTag)用于对实例标签进行添加、修改或者删除。
|
2559
2583
|
|
2560
2584
|
# @param request: Request instance for ModifyInstanceTag.
|
data/lib/v20170320/models.rb
CHANGED
@@ -7749,6 +7749,53 @@ module TencentCloud
|
|
7749
7749
|
end
|
7750
7750
|
end
|
7751
7751
|
|
7752
|
+
# ModifyInstancePasswordComplexity请求参数结构体
|
7753
|
+
class ModifyInstancePasswordComplexityRequest < TencentCloud::Common::AbstractModel
|
7754
|
+
# @param InstanceIds: 实例短 ID 列表。
|
7755
|
+
# @type InstanceIds: Array
|
7756
|
+
# @param ParamList: 要修改的参数列表。每一个元素是 Name 和 CurrentValue 的组合。Name 是参数名,CurrentValue 是要修改成的值。
|
7757
|
+
# @type ParamList: Array
|
7758
|
+
|
7759
|
+
attr_accessor :InstanceIds, :ParamList
|
7760
|
+
|
7761
|
+
def initialize(instanceids=nil, paramlist=nil)
|
7762
|
+
@InstanceIds = instanceids
|
7763
|
+
@ParamList = paramlist
|
7764
|
+
end
|
7765
|
+
|
7766
|
+
def deserialize(params)
|
7767
|
+
@InstanceIds = params['InstanceIds']
|
7768
|
+
unless params['ParamList'].nil?
|
7769
|
+
@ParamList = []
|
7770
|
+
params['ParamList'].each do |i|
|
7771
|
+
parameter_tmp = Parameter.new
|
7772
|
+
parameter_tmp.deserialize(i)
|
7773
|
+
@ParamList << parameter_tmp
|
7774
|
+
end
|
7775
|
+
end
|
7776
|
+
end
|
7777
|
+
end
|
7778
|
+
|
7779
|
+
# ModifyInstancePasswordComplexity返回参数结构体
|
7780
|
+
class ModifyInstancePasswordComplexityResponse < TencentCloud::Common::AbstractModel
|
7781
|
+
# @param AsyncRequestId: 异步任务 ID,可用于查询任务进度。
|
7782
|
+
# @type AsyncRequestId: String
|
7783
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7784
|
+
# @type RequestId: String
|
7785
|
+
|
7786
|
+
attr_accessor :AsyncRequestId, :RequestId
|
7787
|
+
|
7788
|
+
def initialize(asyncrequestid=nil, requestid=nil)
|
7789
|
+
@AsyncRequestId = asyncrequestid
|
7790
|
+
@RequestId = requestid
|
7791
|
+
end
|
7792
|
+
|
7793
|
+
def deserialize(params)
|
7794
|
+
@AsyncRequestId = params['AsyncRequestId']
|
7795
|
+
@RequestId = params['RequestId']
|
7796
|
+
end
|
7797
|
+
end
|
7798
|
+
|
7752
7799
|
# ModifyInstanceTag请求参数结构体
|
7753
7800
|
class ModifyInstanceTagRequest < TencentCloud::Common::AbstractModel
|
7754
7801
|
# @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:
|
4
|
+
version: 3.0.371
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|