tencentcloud-sdk-ckafka 3.0.1171 → 3.0.1174

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: 67196ba20118501c34f52db655b783f4be20c634
4
- data.tar.gz: 27240bba77c47a05d994f2c54a9c769a2c1bd914
3
+ metadata.gz: ebdbe565abffddc4a3a43e8d51fb97c3497f0df3
4
+ data.tar.gz: 6a848deb1de5c9951767c9fb7e401ee5c49239f7
5
5
  SHA512:
6
- metadata.gz: 625da0b5eb67f4b3a5054256a78a17a49f8f45d2d0f83d393c101ac3f72d223efe5e16ea8b43817546bc9297565f1e619b2f7015f0f242850a980d8948e7fa11
7
- data.tar.gz: 70f302d62545e723ceefc97fcb9523b4b035f96270c50dc41153b2233c82b507230f1e92ee501d2902f478a2d2caafce62efd2949b59f91317785003d23bcfb9
6
+ metadata.gz: 9f82cf902e6670777204a065e30bf19b0994285906d1971b731d5999862cbbdb9ba267a0429428ea9b9ab6b230f1f840b4e3bd4013fafdc10be26147fa9ac5dc
7
+ data.tar.gz: b16d5cfdb261214343603aa2ea527d43a7ffd6edadcb4d81ba54c38bdf887cda6f9b5e48ccb410a74b85ece36679cf37e8686b658657d17d02ad4ac79b6b61e8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1171
1
+ 3.0.1174
@@ -701,6 +701,30 @@ module TencentCloud
701
701
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
702
702
  end
703
703
 
704
+ # 删除消费分组订阅的topic(消费分组必须是Empty 状态)
705
+
706
+ # @param request: Request instance for DeleteGroupSubscribeTopic.
707
+ # @type request: :class:`Tencentcloud::ckafka::V20190819::DeleteGroupSubscribeTopicRequest`
708
+ # @rtype: :class:`Tencentcloud::ckafka::V20190819::DeleteGroupSubscribeTopicResponse`
709
+ def DeleteGroupSubscribeTopic(request)
710
+ body = send_request('DeleteGroupSubscribeTopic', request.serialize)
711
+ response = JSON.parse(body)
712
+ if response['Response'].key?('Error') == false
713
+ model = DeleteGroupSubscribeTopicResponse.new
714
+ model.deserialize(response['Response'])
715
+ model
716
+ else
717
+ code = response['Response']['Error']['Code']
718
+ message = response['Response']['Error']['Message']
719
+ reqid = response['Response']['RequestId']
720
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
721
+ end
722
+ rescue TencentCloud::Common::TencentCloudSDKException => e
723
+ raise e
724
+ rescue StandardError => e
725
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
726
+ end
727
+
704
728
  # 删除后付费实例,通过调用API删除不会对连接器和任务进行关联预检查,直接进行实例销毁。
705
729
 
706
730
  # @param request: Request instance for DeleteInstancePost.
@@ -1325,6 +1349,30 @@ module TencentCloud
1325
1349
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1326
1350
  end
1327
1351
 
1352
+ # 查询实例变配类型
1353
+
1354
+ # @param request: Request instance for DescribeModifyType.
1355
+ # @type request: :class:`Tencentcloud::ckafka::V20190819::DescribeModifyTypeRequest`
1356
+ # @rtype: :class:`Tencentcloud::ckafka::V20190819::DescribeModifyTypeResponse`
1357
+ def DescribeModifyType(request)
1358
+ body = send_request('DescribeModifyType', request.serialize)
1359
+ response = JSON.parse(body)
1360
+ if response['Response'].key?('Error') == false
1361
+ model = DescribeModifyTypeResponse.new
1362
+ model.deserialize(response['Response'])
1363
+ model
1364
+ else
1365
+ code = response['Response']['Error']['Code']
1366
+ message = response['Response']['Error']['Message']
1367
+ reqid = response['Response']['RequestId']
1368
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1369
+ end
1370
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1371
+ raise e
1372
+ rescue StandardError => e
1373
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1374
+ end
1375
+
1328
1376
  # 获取实例Prometheus信息
1329
1377
 
1330
1378
  # @param request: Request instance for DescribePrometheus.
@@ -3490,6 +3490,53 @@ module TencentCloud
3490
3490
  end
3491
3491
  end
3492
3492
 
3493
+ # DeleteGroupSubscribeTopic请求参数结构体
3494
+ class DeleteGroupSubscribeTopicRequest < TencentCloud::Common::AbstractModel
3495
+ # @param InstanceId: ckafka集群实例Id
3496
+ # @type InstanceId: String
3497
+ # @param Group: 消费分组名称
3498
+ # @type Group: String
3499
+ # @param Topic: 主题名
3500
+ # @type Topic: String
3501
+
3502
+ attr_accessor :InstanceId, :Group, :Topic
3503
+
3504
+ def initialize(instanceid=nil, group=nil, topic=nil)
3505
+ @InstanceId = instanceid
3506
+ @Group = group
3507
+ @Topic = topic
3508
+ end
3509
+
3510
+ def deserialize(params)
3511
+ @InstanceId = params['InstanceId']
3512
+ @Group = params['Group']
3513
+ @Topic = params['Topic']
3514
+ end
3515
+ end
3516
+
3517
+ # DeleteGroupSubscribeTopic返回参数结构体
3518
+ class DeleteGroupSubscribeTopicResponse < TencentCloud::Common::AbstractModel
3519
+ # @param Result: 返回结果
3520
+ # @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.JgwOperateResponse`
3521
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3522
+ # @type RequestId: String
3523
+
3524
+ attr_accessor :Result, :RequestId
3525
+
3526
+ def initialize(result=nil, requestid=nil)
3527
+ @Result = result
3528
+ @RequestId = requestid
3529
+ end
3530
+
3531
+ def deserialize(params)
3532
+ unless params['Result'].nil?
3533
+ @Result = JgwOperateResponse.new
3534
+ @Result.deserialize(params['Result'])
3535
+ end
3536
+ @RequestId = params['RequestId']
3537
+ end
3538
+ end
3539
+
3493
3540
  # DeleteInstancePost请求参数结构体
3494
3541
  class DeleteInstancePostRequest < TencentCloud::Common::AbstractModel
3495
3542
  # @param InstanceId: ckafka集群实例Id,可通过[DescribeInstances](https://cloud.tencent.com/document/product/597/40835)接口获取
@@ -3788,6 +3835,41 @@ module TencentCloud
3788
3835
  end
3789
3836
  end
3790
3837
 
3838
+ # 变配类型查询出参
3839
+ class DescModifyType < TencentCloud::Common::AbstractModel
3840
+ # @param ModifyType: 变配类型
3841
+ # @type ModifyType: Integer
3842
+ # @param MigrateFlag: 是否迁移标志
3843
+ # @type MigrateFlag: Boolean
3844
+ # @param MigrateCostTime: 迁移预计耗时(稳定模式)秒
3845
+ # 注意:此字段可能返回 null,表示取不到有效值。
3846
+ # @type MigrateCostTime: Integer
3847
+ # @param UpgradeStrategy: 升配模式(1:稳定模式,2:高速模式)
3848
+ # 注意:此字段可能返回 null,表示取不到有效值。
3849
+ # @type UpgradeStrategy: Integer
3850
+ # @param MigrateCostTimeHighSpeed: 迁移预计耗时(高速模式)秒
3851
+ # 注意:此字段可能返回 null,表示取不到有效值。
3852
+ # @type MigrateCostTimeHighSpeed: Integer
3853
+
3854
+ attr_accessor :ModifyType, :MigrateFlag, :MigrateCostTime, :UpgradeStrategy, :MigrateCostTimeHighSpeed
3855
+
3856
+ def initialize(modifytype=nil, migrateflag=nil, migratecosttime=nil, upgradestrategy=nil, migratecosttimehighspeed=nil)
3857
+ @ModifyType = modifytype
3858
+ @MigrateFlag = migrateflag
3859
+ @MigrateCostTime = migratecosttime
3860
+ @UpgradeStrategy = upgradestrategy
3861
+ @MigrateCostTimeHighSpeed = migratecosttimehighspeed
3862
+ end
3863
+
3864
+ def deserialize(params)
3865
+ @ModifyType = params['ModifyType']
3866
+ @MigrateFlag = params['MigrateFlag']
3867
+ @MigrateCostTime = params['MigrateCostTime']
3868
+ @UpgradeStrategy = params['UpgradeStrategy']
3869
+ @MigrateCostTimeHighSpeed = params['MigrateCostTimeHighSpeed']
3870
+ end
3871
+ end
3872
+
3791
3873
  # DescribeACL请求参数结构体
3792
3874
  class DescribeACLRequest < TencentCloud::Common::AbstractModel
3793
3875
  # @param InstanceId: ckafka集群实例Id,可通过[DescribeInstances](https://cloud.tencent.com/document/product/597/40835)接口获取
@@ -5361,6 +5443,73 @@ module TencentCloud
5361
5443
  end
5362
5444
  end
5363
5445
 
5446
+ # DescribeModifyType请求参数结构体
5447
+ class DescribeModifyTypeRequest < TencentCloud::Common::AbstractModel
5448
+ # @param InstanceId: ckafka集群实例Id
5449
+ # @type InstanceId: String
5450
+ # @param BandWidth: 升配后的带宽,单位mb
5451
+ # @type BandWidth: Integer
5452
+ # @param DiskSize: 升配后的磁盘,单位G
5453
+ # @type DiskSize: Integer
5454
+ # @param DiskType: 磁盘类型,例如 CLOUD_PREMIUM
5455
+ # @type DiskType: String
5456
+ # @param Partition: 分区数量
5457
+ # @type Partition: Integer
5458
+ # @param Topic: topic数量
5459
+ # @type Topic: Integer
5460
+ # @param Type: 实例类型例如 sp_ckafka_profession
5461
+ # @type Type: String
5462
+ # @param ModifyEntry: 变配入口
5463
+ # @type ModifyEntry: String
5464
+
5465
+ attr_accessor :InstanceId, :BandWidth, :DiskSize, :DiskType, :Partition, :Topic, :Type, :ModifyEntry
5466
+
5467
+ def initialize(instanceid=nil, bandwidth=nil, disksize=nil, disktype=nil, partition=nil, topic=nil, type=nil, modifyentry=nil)
5468
+ @InstanceId = instanceid
5469
+ @BandWidth = bandwidth
5470
+ @DiskSize = disksize
5471
+ @DiskType = disktype
5472
+ @Partition = partition
5473
+ @Topic = topic
5474
+ @Type = type
5475
+ @ModifyEntry = modifyentry
5476
+ end
5477
+
5478
+ def deserialize(params)
5479
+ @InstanceId = params['InstanceId']
5480
+ @BandWidth = params['BandWidth']
5481
+ @DiskSize = params['DiskSize']
5482
+ @DiskType = params['DiskType']
5483
+ @Partition = params['Partition']
5484
+ @Topic = params['Topic']
5485
+ @Type = params['Type']
5486
+ @ModifyEntry = params['ModifyEntry']
5487
+ end
5488
+ end
5489
+
5490
+ # DescribeModifyType返回参数结构体
5491
+ class DescribeModifyTypeResponse < TencentCloud::Common::AbstractModel
5492
+ # @param Result: 返回的变配类型结构
5493
+ # @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.DescModifyType`
5494
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5495
+ # @type RequestId: String
5496
+
5497
+ attr_accessor :Result, :RequestId
5498
+
5499
+ def initialize(result=nil, requestid=nil)
5500
+ @Result = result
5501
+ @RequestId = requestid
5502
+ end
5503
+
5504
+ def deserialize(params)
5505
+ unless params['Result'].nil?
5506
+ @Result = DescModifyType.new
5507
+ @Result.deserialize(params['Result'])
5508
+ end
5509
+ @RequestId = params['RequestId']
5510
+ end
5511
+ end
5512
+
5364
5513
  # DescribePrometheus请求参数结构体
5365
5514
  class DescribePrometheusRequest < TencentCloud::Common::AbstractModel
5366
5515
  # @param InstanceId: ckafka集群实例Id,可通过[DescribeInstances](https://cloud.tencent.com/document/product/597/40835)接口获取
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ckafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1171
4
+ version: 3.0.1174
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-11-20 00:00:00.000000000 Z
11
+ date: 2025-11-28 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/tencentcloud-sdk-ckafka.rb
37
- - lib/v20190819/client.rb
38
36
  - lib/v20190819/models.rb
37
+ - lib/v20190819/client.rb
38
+ - lib/tencentcloud-sdk-ckafka.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: