tencentcloud-sdk-cdwch 3.0.1077 → 3.0.1094

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4fdf609bfda65bd349fa53f3314671aae017f7c4
4
- data.tar.gz: c5be0b0cd102074fa035b0bf5b630703585ca039
3
+ metadata.gz: d8bef9b5eed3258227b5bf5d3cdfe5d4d505630f
4
+ data.tar.gz: 43f50d5f67c2445ce40a4dabe41f011fa1ac7483
5
5
  SHA512:
6
- metadata.gz: 3f6d4a75a5a5e0c5d52693923d289ff93a97141a2ad0b41763a07545211792a55d6d8581ee1b56c88f561e13a904134176bb4cf5b99e22a5d63de492d9bec73f
7
- data.tar.gz: ea24cd75207524319b0d3c9f1e164b74c4adad2e079e45015b2ff727280d9926b90dfade137f4c163577fdbe18a731f74d2ce5deb92163974d2ac46e64a6c3b9
6
+ metadata.gz: ab5d1e7642ef6acd941682f108fc253151665d3a7bb123e21b7de00b2c1a1caf4c04bc31df638d51da2cf8fb1b9a6f372c273721b76374d4e9ecaf1811b9f8cf
7
+ data.tar.gz: 9c88821c4ca1089ee8e2c26d3592308d6519ec85a04b513523bd12de92c902a7512bfea996a04a3aba5a96c2cdc4a109a83689f6d29776c9f3e1dd0d02d32188
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1077
1
+ 3.0.1094
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -221,6 +221,30 @@ module TencentCloud
221
221
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
222
  end
223
223
 
224
+ # 获取云原生实例列表
225
+
226
+ # @param request: Request instance for DescribeCNInstances.
227
+ # @type request: :class:`Tencentcloud::cdwch::V20200915::DescribeCNInstancesRequest`
228
+ # @rtype: :class:`Tencentcloud::cdwch::V20200915::DescribeCNInstancesResponse`
229
+ def DescribeCNInstances(request)
230
+ body = send_request('DescribeCNInstances', request.serialize)
231
+ response = JSON.parse(body)
232
+ if response['Response'].key?('Error') == false
233
+ model = DescribeCNInstancesResponse.new
234
+ model.deserialize(response['Response'])
235
+ model
236
+ else
237
+ code = response['Response']['Error']['Code']
238
+ message = response['Response']['Error']['Message']
239
+ reqid = response['Response']['RequestId']
240
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
241
+ end
242
+ rescue TencentCloud::Common::TencentCloudSDKException => e
243
+ raise e
244
+ rescue StandardError => e
245
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
+ end
247
+
224
248
  # 查询集群用户、集群表,数据库等相关信息
225
249
 
226
250
  # @param request: Request instance for DescribeCkSqlApis.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -177,6 +177,98 @@ module TencentCloud
177
177
  end
178
178
  end
179
179
 
180
+ # 资源信息
181
+ class CNResource < TencentCloud::Common::AbstractModel
182
+ # @param ID: 无
183
+ # @type ID: Integer
184
+ # @param InstanceID: 无
185
+ # @type InstanceID: String
186
+ # @param AppID: 无
187
+ # @type AppID: Integer
188
+ # @param Uin: 无
189
+ # @type Uin: String
190
+ # @param Component: 无
191
+ # @type Component: String
192
+ # @param DeployMode: 无
193
+ # @type DeployMode: Integer
194
+ # @param SpecName: 无
195
+ # @type SpecName: String
196
+ # @param ResourceID: 无
197
+ # @type ResourceID: String
198
+ # @param Status: 无
199
+ # @type Status: Integer
200
+ # @param IP: 无
201
+ # @type IP: String
202
+ # @param CPU: 无
203
+ # @type CPU: Integer
204
+ # @param Memory: 无
205
+ # @type Memory: Integer
206
+ # @param Storage: 无
207
+ # @type Storage: Integer
208
+ # @param UUID: 无
209
+ # @type UUID: String
210
+ # @param Region: 无
211
+ # @type Region: String
212
+ # @param Zone: 无
213
+ # @type Zone: String
214
+ # @param Details: 无
215
+ # @type Details: String
216
+ # @param CreateTime: 无
217
+ # @type CreateTime: String
218
+ # @param ModifyTime: 无
219
+ # @type ModifyTime: String
220
+ # @param ExpireTime: 无
221
+ # @type ExpireTime: String
222
+
223
+ attr_accessor :ID, :InstanceID, :AppID, :Uin, :Component, :DeployMode, :SpecName, :ResourceID, :Status, :IP, :CPU, :Memory, :Storage, :UUID, :Region, :Zone, :Details, :CreateTime, :ModifyTime, :ExpireTime
224
+
225
+ def initialize(id=nil, instanceid=nil, appid=nil, uin=nil, component=nil, deploymode=nil, specname=nil, resourceid=nil, status=nil, ip=nil, cpu=nil, memory=nil, storage=nil, uuid=nil, region=nil, zone=nil, details=nil, createtime=nil, modifytime=nil, expiretime=nil)
226
+ @ID = id
227
+ @InstanceID = instanceid
228
+ @AppID = appid
229
+ @Uin = uin
230
+ @Component = component
231
+ @DeployMode = deploymode
232
+ @SpecName = specname
233
+ @ResourceID = resourceid
234
+ @Status = status
235
+ @IP = ip
236
+ @CPU = cpu
237
+ @Memory = memory
238
+ @Storage = storage
239
+ @UUID = uuid
240
+ @Region = region
241
+ @Zone = zone
242
+ @Details = details
243
+ @CreateTime = createtime
244
+ @ModifyTime = modifytime
245
+ @ExpireTime = expiretime
246
+ end
247
+
248
+ def deserialize(params)
249
+ @ID = params['ID']
250
+ @InstanceID = params['InstanceID']
251
+ @AppID = params['AppID']
252
+ @Uin = params['Uin']
253
+ @Component = params['Component']
254
+ @DeployMode = params['DeployMode']
255
+ @SpecName = params['SpecName']
256
+ @ResourceID = params['ResourceID']
257
+ @Status = params['Status']
258
+ @IP = params['IP']
259
+ @CPU = params['CPU']
260
+ @Memory = params['Memory']
261
+ @Storage = params['Storage']
262
+ @UUID = params['UUID']
263
+ @Region = params['Region']
264
+ @Zone = params['Zone']
265
+ @Details = params['Details']
266
+ @CreateTime = params['CreateTime']
267
+ @ModifyTime = params['ModifyTime']
268
+ @ExpireTime = params['ExpireTime']
269
+ end
270
+ end
271
+
180
272
  # 集群计费相关信息
181
273
  class Charge < TencentCloud::Common::AbstractModel
182
274
  # @param ChargeType: 计费类型,“PREPAID” 预付费,“POSTPAID_BY_HOUR” 后付费
@@ -285,6 +377,68 @@ module TencentCloud
285
377
  end
286
378
  end
287
379
 
380
+ # 云原生实例详情
381
+ class CnInstanceInfo < TencentCloud::Common::AbstractModel
382
+ # @param ID: ID值
383
+ # 注意:此字段可能返回 null,表示取不到有效值。
384
+ # @type ID: Integer
385
+ # @param InstanceType: cdwch-cn或者其他
386
+ # 注意:此字段可能返回 null,表示取不到有效值。
387
+ # @type InstanceType: String
388
+ # @param InstanceName: cdwch-cn或者其他
389
+ # 注意:此字段可能返回 null,表示取不到有效值。
390
+ # @type InstanceName: String
391
+ # @param Status: Running
392
+ # 注意:此字段可能返回 null,表示取不到有效值。
393
+ # @type Status: String
394
+ # @param StatusDesc: 运行中
395
+ # 注意:此字段可能返回 null,表示取不到有效值。
396
+ # @type StatusDesc: String
397
+ # @param InstanceStateInfo: 无
398
+ # 注意:此字段可能返回 null,表示取不到有效值。
399
+ # @type InstanceStateInfo: :class:`Tencentcloud::Cdwch.v20200915.models.InstanceStateInfo`
400
+ # @param InstanceID: -
401
+ # 注意:此字段可能返回 null,表示取不到有效值。
402
+ # @type InstanceID: String
403
+ # @param Resources: 无
404
+ # 注意:此字段可能返回 null,表示取不到有效值。
405
+ # @type Resources: Array
406
+
407
+ attr_accessor :ID, :InstanceType, :InstanceName, :Status, :StatusDesc, :InstanceStateInfo, :InstanceID, :Resources
408
+
409
+ def initialize(id=nil, instancetype=nil, instancename=nil, status=nil, statusdesc=nil, instancestateinfo=nil, instanceid=nil, resources=nil)
410
+ @ID = id
411
+ @InstanceType = instancetype
412
+ @InstanceName = instancename
413
+ @Status = status
414
+ @StatusDesc = statusdesc
415
+ @InstanceStateInfo = instancestateinfo
416
+ @InstanceID = instanceid
417
+ @Resources = resources
418
+ end
419
+
420
+ def deserialize(params)
421
+ @ID = params['ID']
422
+ @InstanceType = params['InstanceType']
423
+ @InstanceName = params['InstanceName']
424
+ @Status = params['Status']
425
+ @StatusDesc = params['StatusDesc']
426
+ unless params['InstanceStateInfo'].nil?
427
+ @InstanceStateInfo = InstanceStateInfo.new
428
+ @InstanceStateInfo.deserialize(params['InstanceStateInfo'])
429
+ end
430
+ @InstanceID = params['InstanceID']
431
+ unless params['Resources'].nil?
432
+ @Resources = []
433
+ params['Resources'].each do |i|
434
+ cnresource_tmp = CNResource.new
435
+ cnresource_tmp.deserialize(i)
436
+ @Resources << cnresource_tmp
437
+ end
438
+ end
439
+ end
440
+ end
441
+
288
442
  # 配置文件修改信息
289
443
  class ConfigSubmitContext < TencentCloud::Common::AbstractModel
290
444
  # @param FileName: 配置文件名称
@@ -423,8 +577,8 @@ module TencentCloud
423
577
 
424
578
  attr_accessor :Zone, :HaFlag, :UserVPCId, :UserSubnetId, :ProductVersion, :ChargeProperties, :InstanceName, :DataSpec, :Tags, :ClsLogSetId, :CosBucketName, :MountDiskType, :HAZk, :CommonSpec, :TagItems, :SecondaryZoneInfo
425
579
  extend Gem::Deprecate
426
- deprecate :Tags, :none, 2025, 6
427
- deprecate :Tags=, :none, 2025, 6
580
+ deprecate :Tags, :none, 2025, 7
581
+ deprecate :Tags=, :none, 2025, 7
428
582
 
429
583
  def initialize(zone=nil, haflag=nil, uservpcid=nil, usersubnetid=nil, productversion=nil, chargeproperties=nil, instancename=nil, dataspec=nil, tags=nil, clslogsetid=nil, cosbucketname=nil, mountdisktype=nil, hazk=nil, commonspec=nil, tagitems=nil, secondaryzoneinfo=nil)
430
584
  @Zone = zone
@@ -820,6 +974,91 @@ module TencentCloud
820
974
  end
821
975
  end
822
976
 
977
+ # DescribeCNInstances请求参数结构体
978
+ class DescribeCNInstancesRequest < TencentCloud::Common::AbstractModel
979
+ # @param SearchInstanceID: 搜索的集群id名称
980
+ # @type SearchInstanceID: String
981
+ # @param SearchInstanceName: 搜索的集群name
982
+ # @type SearchInstanceName: String
983
+ # @param Offset: 分页参数,第一页为0,第二页为10
984
+ # @type Offset: Integer
985
+ # @param Limit: 分页参数,分页步长,默认为10
986
+ # @type Limit: Integer
987
+ # @param SearchTags: 搜索标签列表
988
+ # @type SearchTags: Array
989
+ # @param InstanceType: 集群类型,弹性版或自研数仓版
990
+ # @type InstanceType: String
991
+ # @param Components: 组件名称列表
992
+ # @type Components: Array
993
+
994
+ attr_accessor :SearchInstanceID, :SearchInstanceName, :Offset, :Limit, :SearchTags, :InstanceType, :Components
995
+
996
+ def initialize(searchinstanceid=nil, searchinstancename=nil, offset=nil, limit=nil, searchtags=nil, instancetype=nil, components=nil)
997
+ @SearchInstanceID = searchinstanceid
998
+ @SearchInstanceName = searchinstancename
999
+ @Offset = offset
1000
+ @Limit = limit
1001
+ @SearchTags = searchtags
1002
+ @InstanceType = instancetype
1003
+ @Components = components
1004
+ end
1005
+
1006
+ def deserialize(params)
1007
+ @SearchInstanceID = params['SearchInstanceID']
1008
+ @SearchInstanceName = params['SearchInstanceName']
1009
+ @Offset = params['Offset']
1010
+ @Limit = params['Limit']
1011
+ unless params['SearchTags'].nil?
1012
+ @SearchTags = []
1013
+ params['SearchTags'].each do |i|
1014
+ searchtags_tmp = SearchTags.new
1015
+ searchtags_tmp.deserialize(i)
1016
+ @SearchTags << searchtags_tmp
1017
+ end
1018
+ end
1019
+ @InstanceType = params['InstanceType']
1020
+ @Components = params['Components']
1021
+ end
1022
+ end
1023
+
1024
+ # DescribeCNInstances返回参数结构体
1025
+ class DescribeCNInstancesResponse < TencentCloud::Common::AbstractModel
1026
+ # @param TotalCount: 实例总数
1027
+ # 注意:此字段可能返回 null,表示取不到有效值。
1028
+ # @type TotalCount: Integer
1029
+ # @param InstancesList: 实例数组
1030
+ # 注意:此字段可能返回 null,表示取不到有效值。
1031
+ # @type InstancesList: Array
1032
+ # @param ErrorMsg: -
1033
+ # 注意:此字段可能返回 null,表示取不到有效值。
1034
+ # @type ErrorMsg: String
1035
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1036
+ # @type RequestId: String
1037
+
1038
+ attr_accessor :TotalCount, :InstancesList, :ErrorMsg, :RequestId
1039
+
1040
+ def initialize(totalcount=nil, instanceslist=nil, errormsg=nil, requestid=nil)
1041
+ @TotalCount = totalcount
1042
+ @InstancesList = instanceslist
1043
+ @ErrorMsg = errormsg
1044
+ @RequestId = requestid
1045
+ end
1046
+
1047
+ def deserialize(params)
1048
+ @TotalCount = params['TotalCount']
1049
+ unless params['InstancesList'].nil?
1050
+ @InstancesList = []
1051
+ params['InstancesList'].each do |i|
1052
+ cninstanceinfo_tmp = CnInstanceInfo.new
1053
+ cninstanceinfo_tmp.deserialize(i)
1054
+ @InstancesList << cninstanceinfo_tmp
1055
+ end
1056
+ end
1057
+ @ErrorMsg = params['ErrorMsg']
1058
+ @RequestId = params['RequestId']
1059
+ end
1060
+ end
1061
+
823
1062
  # DescribeCkSqlApis请求参数结构体
824
1063
  class DescribeCkSqlApisRequest < TencentCloud::Common::AbstractModel
825
1064
  # @param InstanceId: 实例id
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.1077
4
+ version: 3.0.1094
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-06-09 00:00:00.000000000 Z
11
+ date: 2025-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common