tencentcloud-sdk-ckafka 3.0.1170 → 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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190819/client.rb +96 -0
- data/lib/v20190819/models.rb +264 -8
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ebdbe565abffddc4a3a43e8d51fb97c3497f0df3
|
|
4
|
+
data.tar.gz: 6a848deb1de5c9951767c9fb7e401ee5c49239f7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9f82cf902e6670777204a065e30bf19b0994285906d1971b731d5999862cbbdb9ba267a0429428ea9b9ab6b230f1f840b4e3bd4013fafdc10be26147fa9ac5dc
|
|
7
|
+
data.tar.gz: b16d5cfdb261214343603aa2ea527d43a7ffd6edadcb4d81ba54c38bdf887cda6f9b5e48ccb410a74b85ece36679cf37e8686b658657d17d02ad4ac79b6b61e8
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1174
|
data/lib/v20190819/client.rb
CHANGED
|
@@ -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.
|
|
@@ -917,6 +941,30 @@ module TencentCloud
|
|
|
917
941
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
918
942
|
end
|
|
919
943
|
|
|
944
|
+
# 查询实例版本信息
|
|
945
|
+
|
|
946
|
+
# @param request: Request instance for DescribeCkafkaVersion.
|
|
947
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::DescribeCkafkaVersionRequest`
|
|
948
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::DescribeCkafkaVersionResponse`
|
|
949
|
+
def DescribeCkafkaVersion(request)
|
|
950
|
+
body = send_request('DescribeCkafkaVersion', request.serialize)
|
|
951
|
+
response = JSON.parse(body)
|
|
952
|
+
if response['Response'].key?('Error') == false
|
|
953
|
+
model = DescribeCkafkaVersionResponse.new
|
|
954
|
+
model.deserialize(response['Response'])
|
|
955
|
+
model
|
|
956
|
+
else
|
|
957
|
+
code = response['Response']['Error']['Code']
|
|
958
|
+
message = response['Response']['Error']['Message']
|
|
959
|
+
reqid = response['Response']['RequestId']
|
|
960
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
961
|
+
end
|
|
962
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
963
|
+
raise e
|
|
964
|
+
rescue StandardError => e
|
|
965
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
966
|
+
end
|
|
967
|
+
|
|
920
968
|
# 用于查看ckafka的可用区列表
|
|
921
969
|
|
|
922
970
|
# @param request: Request instance for DescribeCkafkaZone.
|
|
@@ -1301,6 +1349,30 @@ module TencentCloud
|
|
|
1301
1349
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1302
1350
|
end
|
|
1303
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
|
+
|
|
1304
1376
|
# 获取实例Prometheus信息
|
|
1305
1377
|
|
|
1306
1378
|
# @param request: Request instance for DescribePrometheus.
|
|
@@ -2166,6 +2238,30 @@ module TencentCloud
|
|
|
2166
2238
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2167
2239
|
end
|
|
2168
2240
|
|
|
2241
|
+
# broker版本升级
|
|
2242
|
+
|
|
2243
|
+
# @param request: Request instance for UpgradeBrokerVersion.
|
|
2244
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::UpgradeBrokerVersionRequest`
|
|
2245
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::UpgradeBrokerVersionResponse`
|
|
2246
|
+
def UpgradeBrokerVersion(request)
|
|
2247
|
+
body = send_request('UpgradeBrokerVersion', request.serialize)
|
|
2248
|
+
response = JSON.parse(body)
|
|
2249
|
+
if response['Response'].key?('Error') == false
|
|
2250
|
+
model = UpgradeBrokerVersionResponse.new
|
|
2251
|
+
model.deserialize(response['Response'])
|
|
2252
|
+
model
|
|
2253
|
+
else
|
|
2254
|
+
code = response['Response']['Error']['Code']
|
|
2255
|
+
message = response['Response']['Error']['Message']
|
|
2256
|
+
reqid = response['Response']['RequestId']
|
|
2257
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2258
|
+
end
|
|
2259
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2260
|
+
raise e
|
|
2261
|
+
rescue StandardError => e
|
|
2262
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2263
|
+
end
|
|
2264
|
+
|
|
2169
2265
|
|
|
2170
2266
|
end
|
|
2171
2267
|
end
|
data/lib/v20190819/models.rb
CHANGED
|
@@ -2600,10 +2600,12 @@ module TencentCloud
|
|
|
2600
2600
|
# @type RetentionBytes: Integer
|
|
2601
2601
|
# @param Tags: 标签列表
|
|
2602
2602
|
# @type Tags: Array
|
|
2603
|
+
# @param LogMsgTimestampType: 消息保存的时间类型:CreateTime/LogAppendTime
|
|
2604
|
+
# @type LogMsgTimestampType: String
|
|
2603
2605
|
|
|
2604
|
-
attr_accessor :InstanceId, :TopicName, :PartitionNum, :ReplicaNum, :EnableWhiteList, :IpWhiteList, :CleanUpPolicy, :Note, :MinInsyncReplicas, :UncleanLeaderElectionEnable, :RetentionMs, :SegmentMs, :MaxMessageBytes, :EnableAclRule, :AclRuleName, :RetentionBytes, :Tags
|
|
2606
|
+
attr_accessor :InstanceId, :TopicName, :PartitionNum, :ReplicaNum, :EnableWhiteList, :IpWhiteList, :CleanUpPolicy, :Note, :MinInsyncReplicas, :UncleanLeaderElectionEnable, :RetentionMs, :SegmentMs, :MaxMessageBytes, :EnableAclRule, :AclRuleName, :RetentionBytes, :Tags, :LogMsgTimestampType
|
|
2605
2607
|
|
|
2606
|
-
def initialize(instanceid=nil, topicname=nil, partitionnum=nil, replicanum=nil, enablewhitelist=nil, ipwhitelist=nil, cleanuppolicy=nil, note=nil, mininsyncreplicas=nil, uncleanleaderelectionenable=nil, retentionms=nil, segmentms=nil, maxmessagebytes=nil, enableaclrule=nil, aclrulename=nil, retentionbytes=nil, tags=nil)
|
|
2608
|
+
def initialize(instanceid=nil, topicname=nil, partitionnum=nil, replicanum=nil, enablewhitelist=nil, ipwhitelist=nil, cleanuppolicy=nil, note=nil, mininsyncreplicas=nil, uncleanleaderelectionenable=nil, retentionms=nil, segmentms=nil, maxmessagebytes=nil, enableaclrule=nil, aclrulename=nil, retentionbytes=nil, tags=nil, logmsgtimestamptype=nil)
|
|
2607
2609
|
@InstanceId = instanceid
|
|
2608
2610
|
@TopicName = topicname
|
|
2609
2611
|
@PartitionNum = partitionnum
|
|
@@ -2621,6 +2623,7 @@ module TencentCloud
|
|
|
2621
2623
|
@AclRuleName = aclrulename
|
|
2622
2624
|
@RetentionBytes = retentionbytes
|
|
2623
2625
|
@Tags = tags
|
|
2626
|
+
@LogMsgTimestampType = logmsgtimestamptype
|
|
2624
2627
|
end
|
|
2625
2628
|
|
|
2626
2629
|
def deserialize(params)
|
|
@@ -2648,6 +2651,7 @@ module TencentCloud
|
|
|
2648
2651
|
@Tags << tag_tmp
|
|
2649
2652
|
end
|
|
2650
2653
|
end
|
|
2654
|
+
@LogMsgTimestampType = params['LogMsgTimestampType']
|
|
2651
2655
|
end
|
|
2652
2656
|
end
|
|
2653
2657
|
|
|
@@ -3486,6 +3490,53 @@ module TencentCloud
|
|
|
3486
3490
|
end
|
|
3487
3491
|
end
|
|
3488
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
|
+
|
|
3489
3540
|
# DeleteInstancePost请求参数结构体
|
|
3490
3541
|
class DeleteInstancePostRequest < TencentCloud::Common::AbstractModel
|
|
3491
3542
|
# @param InstanceId: ckafka集群实例Id,可通过[DescribeInstances](https://cloud.tencent.com/document/product/597/40835)接口获取
|
|
@@ -3784,6 +3835,41 @@ module TencentCloud
|
|
|
3784
3835
|
end
|
|
3785
3836
|
end
|
|
3786
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
|
+
|
|
3787
3873
|
# DescribeACL请求参数结构体
|
|
3788
3874
|
class DescribeACLRequest < TencentCloud::Common::AbstractModel
|
|
3789
3875
|
# @param InstanceId: ckafka集群实例Id,可通过[DescribeInstances](https://cloud.tencent.com/document/product/597/40835)接口获取
|
|
@@ -3894,6 +3980,38 @@ module TencentCloud
|
|
|
3894
3980
|
end
|
|
3895
3981
|
end
|
|
3896
3982
|
|
|
3983
|
+
# DescribeCkafkaVersion请求参数结构体
|
|
3984
|
+
class DescribeCkafkaVersionRequest < TencentCloud::Common::AbstractModel
|
|
3985
|
+
# @param InstanceId: ckafka集群实例Id
|
|
3986
|
+
# @type InstanceId: String
|
|
3987
|
+
|
|
3988
|
+
attr_accessor :InstanceId
|
|
3989
|
+
|
|
3990
|
+
def initialize(instanceid=nil)
|
|
3991
|
+
@InstanceId = instanceid
|
|
3992
|
+
end
|
|
3993
|
+
|
|
3994
|
+
def deserialize(params)
|
|
3995
|
+
@InstanceId = params['InstanceId']
|
|
3996
|
+
end
|
|
3997
|
+
end
|
|
3998
|
+
|
|
3999
|
+
# DescribeCkafkaVersion返回参数结构体
|
|
4000
|
+
class DescribeCkafkaVersionResponse < TencentCloud::Common::AbstractModel
|
|
4001
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4002
|
+
# @type RequestId: String
|
|
4003
|
+
|
|
4004
|
+
attr_accessor :RequestId
|
|
4005
|
+
|
|
4006
|
+
def initialize(requestid=nil)
|
|
4007
|
+
@RequestId = requestid
|
|
4008
|
+
end
|
|
4009
|
+
|
|
4010
|
+
def deserialize(params)
|
|
4011
|
+
@RequestId = params['RequestId']
|
|
4012
|
+
end
|
|
4013
|
+
end
|
|
4014
|
+
|
|
3897
4015
|
# DescribeCkafkaZone请求参数结构体
|
|
3898
4016
|
class DescribeCkafkaZoneRequest < TencentCloud::Common::AbstractModel
|
|
3899
4017
|
# @param CdcId: cdc集群Id
|
|
@@ -5325,6 +5443,73 @@ module TencentCloud
|
|
|
5325
5443
|
end
|
|
5326
5444
|
end
|
|
5327
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
|
+
|
|
5328
5513
|
# DescribePrometheus请求参数结构体
|
|
5329
5514
|
class DescribePrometheusRequest < TencentCloud::Common::AbstractModel
|
|
5330
5515
|
# @param InstanceId: ckafka集群实例Id,可通过[DescribeInstances](https://cloud.tencent.com/document/product/597/40835)接口获取
|
|
@@ -5429,17 +5614,21 @@ module TencentCloud
|
|
|
5429
5614
|
# @type InstanceId: String
|
|
5430
5615
|
# @param RouteId: 路由Id
|
|
5431
5616
|
# @type RouteId: Integer
|
|
5617
|
+
# @param MainRouteFlag: 是否显示主路由,true时会在返回原路由列表的基础上,再额外展示实例创建时的主路由信息(且不被InternalFlag/UsedFor等参数过滤影响)
|
|
5618
|
+
# @type MainRouteFlag: Boolean
|
|
5432
5619
|
|
|
5433
|
-
attr_accessor :InstanceId, :RouteId
|
|
5620
|
+
attr_accessor :InstanceId, :RouteId, :MainRouteFlag
|
|
5434
5621
|
|
|
5435
|
-
def initialize(instanceid=nil, routeid=nil)
|
|
5622
|
+
def initialize(instanceid=nil, routeid=nil, mainrouteflag=nil)
|
|
5436
5623
|
@InstanceId = instanceid
|
|
5437
5624
|
@RouteId = routeid
|
|
5625
|
+
@MainRouteFlag = mainrouteflag
|
|
5438
5626
|
end
|
|
5439
5627
|
|
|
5440
5628
|
def deserialize(params)
|
|
5441
5629
|
@InstanceId = params['InstanceId']
|
|
5442
5630
|
@RouteId = params['RouteId']
|
|
5631
|
+
@MainRouteFlag = params['MainRouteFlag']
|
|
5443
5632
|
end
|
|
5444
5633
|
end
|
|
5445
5634
|
|
|
@@ -7745,6 +7934,10 @@ module TencentCloud
|
|
|
7745
7934
|
# @type RemainingTopics: Integer
|
|
7746
7935
|
# @param DynamicDiskConfig: 动态硬盘扩容策略
|
|
7747
7936
|
# @type DynamicDiskConfig: :class:`Tencentcloud::Ckafka.v20190819.models.DynamicDiskConfig`
|
|
7937
|
+
# @param SystemMaintenanceTime: 系统维护时间
|
|
7938
|
+
# @type SystemMaintenanceTime: String
|
|
7939
|
+
# @param MaxMessageByte: 实例级别消息最大大小
|
|
7940
|
+
# @type MaxMessageByte: Integer
|
|
7748
7941
|
# @param InstanceChargeType: 实例计费类型 POSTPAID_BY_HOUR 按小时付费; PREPAID 包年包月
|
|
7749
7942
|
# @type InstanceChargeType: String
|
|
7750
7943
|
# @param ElasticBandwidthSwitch: 是否开启弹性带宽白名单
|
|
@@ -7779,9 +7972,9 @@ module TencentCloud
|
|
|
7779
7972
|
# @param DeleteProtectionEnable: 实例删除保护开关: 1 开启 0 关闭
|
|
7780
7973
|
# @type DeleteProtectionEnable: Integer
|
|
7781
7974
|
|
|
7782
|
-
attr_accessor :InstanceId, :InstanceName, :VipList, :Vip, :Vport, :Status, :Bandwidth, :DiskSize, :ZoneId, :VpcId, :SubnetId, :Healthy, :HealthyMessage, :CreateTime, :MsgRetentionTime, :Config, :RemainderPartitions, :RemainderTopics, :CreatedPartitions, :CreatedTopics, :Tags, :ExpireTime, :ZoneIds, :Version, :MaxGroupNum, :Cvm, :InstanceType, :Features, :RetentionTimeConfig, :MaxConnection, :PublicNetwork, :DeleteRouteTimestamp, :RemainingPartitions, :RemainingTopics, :DynamicDiskConfig, :InstanceChargeType, :ElasticBandwidthSwitch, :ElasticBandwidthOpenStatus, :ClusterType, :FreePartitionNumber, :ElasticFloatBandwidth, :CustomCertId, :UncleanLeaderElectionEnable, :DeleteProtectionEnable
|
|
7975
|
+
attr_accessor :InstanceId, :InstanceName, :VipList, :Vip, :Vport, :Status, :Bandwidth, :DiskSize, :ZoneId, :VpcId, :SubnetId, :Healthy, :HealthyMessage, :CreateTime, :MsgRetentionTime, :Config, :RemainderPartitions, :RemainderTopics, :CreatedPartitions, :CreatedTopics, :Tags, :ExpireTime, :ZoneIds, :Version, :MaxGroupNum, :Cvm, :InstanceType, :Features, :RetentionTimeConfig, :MaxConnection, :PublicNetwork, :DeleteRouteTimestamp, :RemainingPartitions, :RemainingTopics, :DynamicDiskConfig, :SystemMaintenanceTime, :MaxMessageByte, :InstanceChargeType, :ElasticBandwidthSwitch, :ElasticBandwidthOpenStatus, :ClusterType, :FreePartitionNumber, :ElasticFloatBandwidth, :CustomCertId, :UncleanLeaderElectionEnable, :DeleteProtectionEnable
|
|
7783
7976
|
|
|
7784
|
-
def initialize(instanceid=nil, instancename=nil, viplist=nil, vip=nil, vport=nil, status=nil, bandwidth=nil, disksize=nil, zoneid=nil, vpcid=nil, subnetid=nil, healthy=nil, healthymessage=nil, createtime=nil, msgretentiontime=nil, config=nil, remainderpartitions=nil, remaindertopics=nil, createdpartitions=nil, createdtopics=nil, tags=nil, expiretime=nil, zoneids=nil, version=nil, maxgroupnum=nil, cvm=nil, instancetype=nil, features=nil, retentiontimeconfig=nil, maxconnection=nil, publicnetwork=nil, deleteroutetimestamp=nil, remainingpartitions=nil, remainingtopics=nil, dynamicdiskconfig=nil, instancechargetype=nil, elasticbandwidthswitch=nil, elasticbandwidthopenstatus=nil, clustertype=nil, freepartitionnumber=nil, elasticfloatbandwidth=nil, customcertid=nil, uncleanleaderelectionenable=nil, deleteprotectionenable=nil)
|
|
7977
|
+
def initialize(instanceid=nil, instancename=nil, viplist=nil, vip=nil, vport=nil, status=nil, bandwidth=nil, disksize=nil, zoneid=nil, vpcid=nil, subnetid=nil, healthy=nil, healthymessage=nil, createtime=nil, msgretentiontime=nil, config=nil, remainderpartitions=nil, remaindertopics=nil, createdpartitions=nil, createdtopics=nil, tags=nil, expiretime=nil, zoneids=nil, version=nil, maxgroupnum=nil, cvm=nil, instancetype=nil, features=nil, retentiontimeconfig=nil, maxconnection=nil, publicnetwork=nil, deleteroutetimestamp=nil, remainingpartitions=nil, remainingtopics=nil, dynamicdiskconfig=nil, systemmaintenancetime=nil, maxmessagebyte=nil, instancechargetype=nil, elasticbandwidthswitch=nil, elasticbandwidthopenstatus=nil, clustertype=nil, freepartitionnumber=nil, elasticfloatbandwidth=nil, customcertid=nil, uncleanleaderelectionenable=nil, deleteprotectionenable=nil)
|
|
7785
7978
|
@InstanceId = instanceid
|
|
7786
7979
|
@InstanceName = instancename
|
|
7787
7980
|
@VipList = viplist
|
|
@@ -7817,6 +8010,8 @@ module TencentCloud
|
|
|
7817
8010
|
@RemainingPartitions = remainingpartitions
|
|
7818
8011
|
@RemainingTopics = remainingtopics
|
|
7819
8012
|
@DynamicDiskConfig = dynamicdiskconfig
|
|
8013
|
+
@SystemMaintenanceTime = systemmaintenancetime
|
|
8014
|
+
@MaxMessageByte = maxmessagebyte
|
|
7820
8015
|
@InstanceChargeType = instancechargetype
|
|
7821
8016
|
@ElasticBandwidthSwitch = elasticbandwidthswitch
|
|
7822
8017
|
@ElasticBandwidthOpenStatus = elasticbandwidthopenstatus
|
|
@@ -7887,6 +8082,8 @@ module TencentCloud
|
|
|
7887
8082
|
@DynamicDiskConfig = DynamicDiskConfig.new
|
|
7888
8083
|
@DynamicDiskConfig.deserialize(params['DynamicDiskConfig'])
|
|
7889
8084
|
end
|
|
8085
|
+
@SystemMaintenanceTime = params['SystemMaintenanceTime']
|
|
8086
|
+
@MaxMessageByte = params['MaxMessageByte']
|
|
7890
8087
|
@InstanceChargeType = params['InstanceChargeType']
|
|
7891
8088
|
@ElasticBandwidthSwitch = params['ElasticBandwidthSwitch']
|
|
7892
8089
|
@ElasticBandwidthOpenStatus = params['ElasticBandwidthOpenStatus']
|
|
@@ -9391,10 +9588,12 @@ module TencentCloud
|
|
|
9391
9588
|
# @type QuotaConsumerByteRate: Integer
|
|
9392
9589
|
# @param ReplicaNum: topic副本数 最小值 1,最大值 3
|
|
9393
9590
|
# @type ReplicaNum: Integer
|
|
9591
|
+
# @param LogMsgTimestampType: 消息保存的时间类型:CreateTime/LogAppendTime
|
|
9592
|
+
# @type LogMsgTimestampType: String
|
|
9394
9593
|
|
|
9395
|
-
attr_accessor :InstanceId, :TopicName, :Note, :EnableWhiteList, :MinInsyncReplicas, :UncleanLeaderElectionEnable, :RetentionMs, :MaxMessageBytes, :SegmentMs, :CleanUpPolicy, :IpWhiteList, :EnableAclRule, :AclRuleName, :RetentionBytes, :Tags, :QuotaProducerByteRate, :QuotaConsumerByteRate, :ReplicaNum
|
|
9594
|
+
attr_accessor :InstanceId, :TopicName, :Note, :EnableWhiteList, :MinInsyncReplicas, :UncleanLeaderElectionEnable, :RetentionMs, :MaxMessageBytes, :SegmentMs, :CleanUpPolicy, :IpWhiteList, :EnableAclRule, :AclRuleName, :RetentionBytes, :Tags, :QuotaProducerByteRate, :QuotaConsumerByteRate, :ReplicaNum, :LogMsgTimestampType
|
|
9396
9595
|
|
|
9397
|
-
def initialize(instanceid=nil, topicname=nil, note=nil, enablewhitelist=nil, mininsyncreplicas=nil, uncleanleaderelectionenable=nil, retentionms=nil, maxmessagebytes=nil, segmentms=nil, cleanuppolicy=nil, ipwhitelist=nil, enableaclrule=nil, aclrulename=nil, retentionbytes=nil, tags=nil, quotaproducerbyterate=nil, quotaconsumerbyterate=nil, replicanum=nil)
|
|
9596
|
+
def initialize(instanceid=nil, topicname=nil, note=nil, enablewhitelist=nil, mininsyncreplicas=nil, uncleanleaderelectionenable=nil, retentionms=nil, maxmessagebytes=nil, segmentms=nil, cleanuppolicy=nil, ipwhitelist=nil, enableaclrule=nil, aclrulename=nil, retentionbytes=nil, tags=nil, quotaproducerbyterate=nil, quotaconsumerbyterate=nil, replicanum=nil, logmsgtimestamptype=nil)
|
|
9398
9597
|
@InstanceId = instanceid
|
|
9399
9598
|
@TopicName = topicname
|
|
9400
9599
|
@Note = note
|
|
@@ -9413,6 +9612,7 @@ module TencentCloud
|
|
|
9413
9612
|
@QuotaProducerByteRate = quotaproducerbyterate
|
|
9414
9613
|
@QuotaConsumerByteRate = quotaconsumerbyterate
|
|
9415
9614
|
@ReplicaNum = replicanum
|
|
9615
|
+
@LogMsgTimestampType = logmsgtimestamptype
|
|
9416
9616
|
end
|
|
9417
9617
|
|
|
9418
9618
|
def deserialize(params)
|
|
@@ -9441,6 +9641,7 @@ module TencentCloud
|
|
|
9441
9641
|
@QuotaProducerByteRate = params['QuotaProducerByteRate']
|
|
9442
9642
|
@QuotaConsumerByteRate = params['QuotaConsumerByteRate']
|
|
9443
9643
|
@ReplicaNum = params['ReplicaNum']
|
|
9644
|
+
@LogMsgTimestampType = params['LogMsgTimestampType']
|
|
9444
9645
|
end
|
|
9445
9646
|
end
|
|
9446
9647
|
|
|
@@ -12079,6 +12280,61 @@ module TencentCloud
|
|
|
12079
12280
|
end
|
|
12080
12281
|
end
|
|
12081
12282
|
|
|
12283
|
+
# UpgradeBrokerVersion请求参数结构体
|
|
12284
|
+
class UpgradeBrokerVersionRequest < TencentCloud::Common::AbstractModel
|
|
12285
|
+
# @param InstanceId: ckafka集群实例Id
|
|
12286
|
+
# @type InstanceId: String
|
|
12287
|
+
# @param Type: 1.平滑升配.2.垂直升配
|
|
12288
|
+
# @type Type: Integer
|
|
12289
|
+
# @param SourceVersion: 版本号
|
|
12290
|
+
# @type SourceVersion: String
|
|
12291
|
+
# @param TargetVersion: 版本号
|
|
12292
|
+
# @type TargetVersion: String
|
|
12293
|
+
# @param DelayTimeStamp: 延迟时间
|
|
12294
|
+
# @type DelayTimeStamp: String
|
|
12295
|
+
|
|
12296
|
+
attr_accessor :InstanceId, :Type, :SourceVersion, :TargetVersion, :DelayTimeStamp
|
|
12297
|
+
|
|
12298
|
+
def initialize(instanceid=nil, type=nil, sourceversion=nil, targetversion=nil, delaytimestamp=nil)
|
|
12299
|
+
@InstanceId = instanceid
|
|
12300
|
+
@Type = type
|
|
12301
|
+
@SourceVersion = sourceversion
|
|
12302
|
+
@TargetVersion = targetversion
|
|
12303
|
+
@DelayTimeStamp = delaytimestamp
|
|
12304
|
+
end
|
|
12305
|
+
|
|
12306
|
+
def deserialize(params)
|
|
12307
|
+
@InstanceId = params['InstanceId']
|
|
12308
|
+
@Type = params['Type']
|
|
12309
|
+
@SourceVersion = params['SourceVersion']
|
|
12310
|
+
@TargetVersion = params['TargetVersion']
|
|
12311
|
+
@DelayTimeStamp = params['DelayTimeStamp']
|
|
12312
|
+
end
|
|
12313
|
+
end
|
|
12314
|
+
|
|
12315
|
+
# UpgradeBrokerVersion返回参数结构体
|
|
12316
|
+
class UpgradeBrokerVersionResponse < TencentCloud::Common::AbstractModel
|
|
12317
|
+
# @param Result: 升配结果
|
|
12318
|
+
# @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.JgwOperateResponse`
|
|
12319
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12320
|
+
# @type RequestId: String
|
|
12321
|
+
|
|
12322
|
+
attr_accessor :Result, :RequestId
|
|
12323
|
+
|
|
12324
|
+
def initialize(result=nil, requestid=nil)
|
|
12325
|
+
@Result = result
|
|
12326
|
+
@RequestId = requestid
|
|
12327
|
+
end
|
|
12328
|
+
|
|
12329
|
+
def deserialize(params)
|
|
12330
|
+
unless params['Result'].nil?
|
|
12331
|
+
@Result = JgwOperateResponse.new
|
|
12332
|
+
@Result.deserialize(params['Result'])
|
|
12333
|
+
end
|
|
12334
|
+
@RequestId = params['RequestId']
|
|
12335
|
+
end
|
|
12336
|
+
end
|
|
12337
|
+
|
|
12082
12338
|
# Url解析
|
|
12083
12339
|
class UrlDecodeParam < TencentCloud::Common::AbstractModel
|
|
12084
12340
|
# @param CharsetName: 编码
|
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.
|
|
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-
|
|
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:
|