tencentcloud-sdk-cdwpg 3.0.679 → 3.0.680

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: f21debd7689ead27f781300cc120088737058958
4
- data.tar.gz: 624b0eb42c4b106a60caab51296098aeaed5cef6
3
+ metadata.gz: 0a3b26527c1ce167c9e3039f865b86e243054318
4
+ data.tar.gz: f756e7e982c9896bfecbeedc7db2d835321d2f16
5
5
  SHA512:
6
- metadata.gz: a65d97133f6bd050b86923d1b983079faba5c608856db70f44adea561f45b93a3b1602af8209be510e9125fc9b8c97f712572ab088a2beb31d625c815037f5ee
7
- data.tar.gz: f223fe95e16dd46d497a838f7b34f45842bef59f750aa8167439dd88a6befb4abe5aab2a2cf88e5d7e594a891e0174d2f091c2b2b1acd365464873242b80b44e
6
+ metadata.gz: 829e3b166c41dbb3312fe087e832d76dd61f6890589d3d7aa788cb69c9f918923f98887050f723f065b5a0e901f8fc4774c852fb442f4c39274fc9e5add0a348
7
+ data.tar.gz: 23186197fe96cb84bb3b8d319705f6289bc1d087eee9ce77a666edc084a4625cc73c4c067b7fb2d5b5ed4aedda997a9b627008e6ceb0d8d1d0bc25c661519397
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.679
1
+ 3.0.680
@@ -101,6 +101,30 @@ module TencentCloud
101
101
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
102
  end
103
103
 
104
+ # 获取云原生实例列表
105
+
106
+ # @param request: Request instance for DescribeInstances.
107
+ # @type request: :class:`Tencentcloud::cdwpg::V20201230::DescribeInstancesRequest`
108
+ # @rtype: :class:`Tencentcloud::cdwpg::V20201230::DescribeInstancesResponse`
109
+ def DescribeInstances(request)
110
+ body = send_request('DescribeInstances', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = DescribeInstancesResponse.new
114
+ model.deserialize(response['Response'])
115
+ model
116
+ else
117
+ code = response['Response']['Error']['Code']
118
+ message = response['Response']['Error']['Message']
119
+ reqid = response['Response']['RequestId']
120
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
121
+ end
122
+ rescue TencentCloud::Common::TencentCloudSDKException => e
123
+ raise e
124
+ rescue StandardError => e
125
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
+ end
127
+
104
128
  # 获取集群实例列表
105
129
 
106
130
  # @param request: Request instance for DescribeSimpleInstances.
@@ -271,6 +271,83 @@ module TencentCloud
271
271
  end
272
272
  end
273
273
 
274
+ # DescribeInstances请求参数结构体
275
+ class DescribeInstancesRequest < TencentCloud::Common::AbstractModel
276
+ # @param SearchInstanceId: 搜索的集群id名称
277
+ # @type SearchInstanceId: String
278
+ # @param SearchInstanceName: 搜索的集群name
279
+ # @type SearchInstanceName: String
280
+ # @param Offset: 分页参数,第一页为0,第二页为10
281
+ # @type Offset: Integer
282
+ # @param Limit: 分页参数,分页步长,默认为10
283
+ # @type Limit: Integer
284
+ # @param SearchTags: 搜索标签列表
285
+ # @type SearchTags: Array
286
+
287
+ attr_accessor :SearchInstanceId, :SearchInstanceName, :Offset, :Limit, :SearchTags
288
+
289
+ def initialize(searchinstanceid=nil, searchinstancename=nil, offset=nil, limit=nil, searchtags=nil)
290
+ @SearchInstanceId = searchinstanceid
291
+ @SearchInstanceName = searchinstancename
292
+ @Offset = offset
293
+ @Limit = limit
294
+ @SearchTags = searchtags
295
+ end
296
+
297
+ def deserialize(params)
298
+ @SearchInstanceId = params['SearchInstanceId']
299
+ @SearchInstanceName = params['SearchInstanceName']
300
+ @Offset = params['Offset']
301
+ @Limit = params['Limit']
302
+ unless params['SearchTags'].nil?
303
+ @SearchTags = []
304
+ params['SearchTags'].each do |i|
305
+ searchtags_tmp = SearchTags.new
306
+ searchtags_tmp.deserialize(i)
307
+ @SearchTags << searchtags_tmp
308
+ end
309
+ end
310
+ end
311
+ end
312
+
313
+ # DescribeInstances返回参数结构体
314
+ class DescribeInstancesResponse < TencentCloud::Common::AbstractModel
315
+ # @param TotalCount: 实例总数
316
+ # 注意:此字段可能返回 null,表示取不到有效值。
317
+ # @type TotalCount: Integer
318
+ # @param InstancesList: 实例数组
319
+ # 注意:此字段可能返回 null,表示取不到有效值。
320
+ # @type InstancesList: Array
321
+ # @param ErrorMsg: -
322
+ # 注意:此字段可能返回 null,表示取不到有效值。
323
+ # @type ErrorMsg: String
324
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
325
+ # @type RequestId: String
326
+
327
+ attr_accessor :TotalCount, :InstancesList, :ErrorMsg, :RequestId
328
+
329
+ def initialize(totalcount=nil, instanceslist=nil, errormsg=nil, requestid=nil)
330
+ @TotalCount = totalcount
331
+ @InstancesList = instanceslist
332
+ @ErrorMsg = errormsg
333
+ @RequestId = requestid
334
+ end
335
+
336
+ def deserialize(params)
337
+ @TotalCount = params['TotalCount']
338
+ unless params['InstancesList'].nil?
339
+ @InstancesList = []
340
+ params['InstancesList'].each do |i|
341
+ instanceinfo_tmp = InstanceInfo.new
342
+ instanceinfo_tmp.deserialize(i)
343
+ @InstancesList << instanceinfo_tmp
344
+ end
345
+ end
346
+ @ErrorMsg = params['ErrorMsg']
347
+ @RequestId = params['RequestId']
348
+ end
349
+ end
350
+
274
351
  # DescribeSimpleInstances请求参数结构体
275
352
  class DescribeSimpleInstancesRequest < TencentCloud::Common::AbstractModel
276
353
  # @param SearchInstanceId: 11
@@ -780,6 +857,30 @@ module TencentCloud
780
857
  end
781
858
  end
782
859
 
860
+ # 列表页搜索的标记列表
861
+ class SearchTags < TencentCloud::Common::AbstractModel
862
+ # @param TagKey: 标签的键
863
+ # @type TagKey: String
864
+ # @param TagValue: 标签的值
865
+ # @type TagValue: String
866
+ # @param AllValue: 1表示只输入标签的键,没有输入值;0表示输入键时且输入值
867
+ # @type AllValue: Integer
868
+
869
+ attr_accessor :TagKey, :TagValue, :AllValue
870
+
871
+ def initialize(tagkey=nil, tagvalue=nil, allvalue=nil)
872
+ @TagKey = tagkey
873
+ @TagValue = tagvalue
874
+ @AllValue = allvalue
875
+ end
876
+
877
+ def deserialize(params)
878
+ @TagKey = params['TagKey']
879
+ @TagValue = params['TagValue']
880
+ @AllValue = params['AllValue']
881
+ end
882
+ end
883
+
783
884
  # 标签描述
784
885
  class Tag < TencentCloud::Common::AbstractModel
785
886
  # @param TagKey: 标签的键
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cdwpg
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.679
4
+ version: 3.0.680
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-10-18 00:00:00.000000000 Z
11
+ date: 2023-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20201230/models.rb
37
- - lib/v20201230/client.rb
38
36
  - lib/tencentcloud-sdk-cdwpg.rb
37
+ - lib/v20201230/client.rb
38
+ - lib/v20201230/models.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: