tencentcloud-sdk-cdwch 3.0.588 → 3.0.590
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/v20200915/client.rb +24 -0
- data/lib/v20200915/models.rb +94 -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: b09991249e35806e0c16a979307e1177e09ad0a8
|
4
|
+
data.tar.gz: 6cd97593b4a6710d3fc4aede2a235f609b33ec70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f50b1cc4043d7ae53d91da525693adcb0aefd96ea6869b967a65f10475ba7ad8f04c5c66c380961493b868b59376a24d64b14d1c978957d9b65213b2a1ddcfb
|
7
|
+
data.tar.gz: 4a61cb2f6846f088235f4e3405740612ddd7520d4cb1eef043daae6610a6d98f86ac97fd8bd5a17e7e8ee66aa359ae4d8c8f91fc014bcbc04f183456d0d032ef
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.590
|
data/lib/v20200915/client.rb
CHANGED
@@ -293,6 +293,30 @@ module TencentCloud
|
|
293
293
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
294
|
end
|
295
295
|
|
296
|
+
# 获取实例列表,供外部sdk使用
|
297
|
+
|
298
|
+
# @param request: Request instance for DescribeInstancesNew.
|
299
|
+
# @type request: :class:`Tencentcloud::cdwch::V20200915::DescribeInstancesNewRequest`
|
300
|
+
# @rtype: :class:`Tencentcloud::cdwch::V20200915::DescribeInstancesNewResponse`
|
301
|
+
def DescribeInstancesNew(request)
|
302
|
+
body = send_request('DescribeInstancesNew', request.serialize)
|
303
|
+
response = JSON.parse(body)
|
304
|
+
if response['Response'].key?('Error') == false
|
305
|
+
model = DescribeInstancesNewResponse.new
|
306
|
+
model.deserialize(response['Response'])
|
307
|
+
model
|
308
|
+
else
|
309
|
+
code = response['Response']['Error']['Code']
|
310
|
+
message = response['Response']['Error']['Message']
|
311
|
+
reqid = response['Response']['RequestId']
|
312
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
313
|
+
end
|
314
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
315
|
+
raise e
|
316
|
+
rescue StandardError => e
|
317
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
|
+
end
|
319
|
+
|
296
320
|
# 购买页拉取集群的数据节点和zookeeper节点的规格列表
|
297
321
|
|
298
322
|
# @param request: Request instance for DescribeSpec.
|
data/lib/v20200915/models.rb
CHANGED
@@ -854,6 +854,76 @@ module TencentCloud
|
|
854
854
|
end
|
855
855
|
end
|
856
856
|
|
857
|
+
# DescribeInstancesNew请求参数结构体
|
858
|
+
class DescribeInstancesNewRequest < TencentCloud::Common::AbstractModel
|
859
|
+
# @param SearchInstanceId: 搜索的集群id名称
|
860
|
+
# @type SearchInstanceId: String
|
861
|
+
# @param SearchInstanceName: 搜索的集群name
|
862
|
+
# @type SearchInstanceName: String
|
863
|
+
# @param Offset: 分页参数,第一页为0,第二页为10
|
864
|
+
# @type Offset: Integer
|
865
|
+
# @param Limit: 分页参数,分页步长,默认为10
|
866
|
+
# @type Limit: Integer
|
867
|
+
# @param SearchTags: 搜索标签列表
|
868
|
+
# @type SearchTags: Array
|
869
|
+
|
870
|
+
attr_accessor :SearchInstanceId, :SearchInstanceName, :Offset, :Limit, :SearchTags
|
871
|
+
|
872
|
+
def initialize(searchinstanceid=nil, searchinstancename=nil, offset=nil, limit=nil, searchtags=nil)
|
873
|
+
@SearchInstanceId = searchinstanceid
|
874
|
+
@SearchInstanceName = searchinstancename
|
875
|
+
@Offset = offset
|
876
|
+
@Limit = limit
|
877
|
+
@SearchTags = searchtags
|
878
|
+
end
|
879
|
+
|
880
|
+
def deserialize(params)
|
881
|
+
@SearchInstanceId = params['SearchInstanceId']
|
882
|
+
@SearchInstanceName = params['SearchInstanceName']
|
883
|
+
@Offset = params['Offset']
|
884
|
+
@Limit = params['Limit']
|
885
|
+
unless params['SearchTags'].nil?
|
886
|
+
@SearchTags = []
|
887
|
+
params['SearchTags'].each do |i|
|
888
|
+
searchtags_tmp = SearchTags.new
|
889
|
+
searchtags_tmp.deserialize(i)
|
890
|
+
@SearchTags << searchtags_tmp
|
891
|
+
end
|
892
|
+
end
|
893
|
+
end
|
894
|
+
end
|
895
|
+
|
896
|
+
# DescribeInstancesNew返回参数结构体
|
897
|
+
class DescribeInstancesNewResponse < TencentCloud::Common::AbstractModel
|
898
|
+
# @param TotalCount: 实例总数
|
899
|
+
# @type TotalCount: Integer
|
900
|
+
# @param InstancesList: 实例数组
|
901
|
+
# @type InstancesList: Array
|
902
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
903
|
+
# @type RequestId: String
|
904
|
+
|
905
|
+
attr_accessor :TotalCount, :InstancesList, :RequestId
|
906
|
+
|
907
|
+
def initialize(totalcount=nil, instanceslist=nil, requestid=nil)
|
908
|
+
@TotalCount = totalcount
|
909
|
+
@InstancesList = instanceslist
|
910
|
+
@RequestId = requestid
|
911
|
+
end
|
912
|
+
|
913
|
+
def deserialize(params)
|
914
|
+
@TotalCount = params['TotalCount']
|
915
|
+
unless params['InstancesList'].nil?
|
916
|
+
@InstancesList = []
|
917
|
+
params['InstancesList'].each do |i|
|
918
|
+
instanceinfo_tmp = InstanceInfo.new
|
919
|
+
instanceinfo_tmp.deserialize(i)
|
920
|
+
@InstancesList << instanceinfo_tmp
|
921
|
+
end
|
922
|
+
end
|
923
|
+
@RequestId = params['RequestId']
|
924
|
+
end
|
925
|
+
end
|
926
|
+
|
857
927
|
# DescribeSpec请求参数结构体
|
858
928
|
class DescribeSpecRequest < TencentCloud::Common::AbstractModel
|
859
929
|
# @param Zone: 地域信息,例如"ap-guangzhou-1"
|
@@ -2002,6 +2072,30 @@ module TencentCloud
|
|
2002
2072
|
end
|
2003
2073
|
end
|
2004
2074
|
|
2075
|
+
# 列表页搜索的标记列表
|
2076
|
+
class SearchTags < TencentCloud::Common::AbstractModel
|
2077
|
+
# @param TagKey: 标签的键
|
2078
|
+
# @type TagKey: String
|
2079
|
+
# @param TagValue: 标签的值
|
2080
|
+
# @type TagValue: String
|
2081
|
+
# @param AllValue: 1表示只输入标签的键,没有输入值;0表示输入键时且输入值
|
2082
|
+
# @type AllValue: Integer
|
2083
|
+
|
2084
|
+
attr_accessor :TagKey, :TagValue, :AllValue
|
2085
|
+
|
2086
|
+
def initialize(tagkey=nil, tagvalue=nil, allvalue=nil)
|
2087
|
+
@TagKey = tagkey
|
2088
|
+
@TagValue = tagvalue
|
2089
|
+
@AllValue = allvalue
|
2090
|
+
end
|
2091
|
+
|
2092
|
+
def deserialize(params)
|
2093
|
+
@TagKey = params['TagKey']
|
2094
|
+
@TagValue = params['TagValue']
|
2095
|
+
@AllValue = params['AllValue']
|
2096
|
+
end
|
2097
|
+
end
|
2098
|
+
|
2005
2099
|
# 服务详细信息描述。
|
2006
2100
|
class ServiceInfo < TencentCloud::Common::AbstractModel
|
2007
2101
|
# @param Name: 服务名称
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cdwch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.590
|
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-06-
|
11
|
+
date: 2023-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|