tencentcloud-sdk-cdwch 3.0.588 → 3.0.589

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16589c95d3837ab79c370f4c640565d6dfc0555c
4
- data.tar.gz: 2456fb72eaa3622ac9168040feb58846a28ca06b
3
+ metadata.gz: bb94171b27e763e0274d11acb0c45d307183c06b
4
+ data.tar.gz: 9807c4c93ce53105e758ff903eae8227c8350f77
5
5
  SHA512:
6
- metadata.gz: 7c9577505be8ee4e46790424fdbc987e65a2fb9a5bdb2176151c2694a5f8d1ec9b402c80d7ade37d5150422796401caf633a28beb7b84fee04367c49cc49e207
7
- data.tar.gz: 4b879c9e60002a72b7814b44115cb16130db7781c151d0f5c402b35288edc9e8518cd56c6dae4f91b567b4c8f13250dc542bfaf35e6c73f39e5ed1b86260c1a9
6
+ metadata.gz: 40e43ad4822a85a0789837e397014bfca52d7360dbf84d0aa6584717f528c797243f693c71fe92e742f09bcdeb8dce66efe675af65815360df5aab7afe36e882
7
+ data.tar.gz: b79cc9fb15751aedd7ab98945a9571c63dcc03f50339d9739fc94b71d4029be6b492f4f4e6fc6c2806c987d9488108dc35a66fc39f97ca12ef7d83819ff05473
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.588
1
+ 3.0.589
@@ -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.
@@ -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.588
4
+ version: 3.0.589
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-08 00:00:00.000000000 Z
11
+ date: 2023-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common