tencentcloud-sdk-ckafka 3.0.1169 → 3.0.1171
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 +31 -7
- data/lib/v20190819/models.rb +95 -51
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 67196ba20118501c34f52db655b783f4be20c634
|
|
4
|
+
data.tar.gz: 27240bba77c47a05d994f2c54a9c769a2c1bd914
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 625da0b5eb67f4b3a5054256a78a17a49f8f45d2d0f83d393c101ac3f72d223efe5e16ea8b43817546bc9297565f1e619b2f7015f0f242850a980d8948e7fa11
|
|
7
|
+
data.tar.gz: 70f302d62545e723ceefc97fcb9523b4b035f96270c50dc41153b2233c82b507230f1e92ee501d2902f478a2d2caafce62efd2949b59f91317785003d23bcfb9
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1171
|
data/lib/v20190819/client.rb
CHANGED
|
@@ -917,16 +917,16 @@ module TencentCloud
|
|
|
917
917
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
918
918
|
end
|
|
919
919
|
|
|
920
|
-
#
|
|
920
|
+
# 查询实例版本信息
|
|
921
921
|
|
|
922
|
-
# @param request: Request instance for
|
|
923
|
-
# @type request: :class:`Tencentcloud::ckafka::V20190819::
|
|
924
|
-
# @rtype: :class:`Tencentcloud::ckafka::V20190819::
|
|
925
|
-
def
|
|
926
|
-
body = send_request('
|
|
922
|
+
# @param request: Request instance for DescribeCkafkaVersion.
|
|
923
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::DescribeCkafkaVersionRequest`
|
|
924
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::DescribeCkafkaVersionResponse`
|
|
925
|
+
def DescribeCkafkaVersion(request)
|
|
926
|
+
body = send_request('DescribeCkafkaVersion', request.serialize)
|
|
927
927
|
response = JSON.parse(body)
|
|
928
928
|
if response['Response'].key?('Error') == false
|
|
929
|
-
model =
|
|
929
|
+
model = DescribeCkafkaVersionResponse.new
|
|
930
930
|
model.deserialize(response['Response'])
|
|
931
931
|
model
|
|
932
932
|
else
|
|
@@ -2190,6 +2190,30 @@ module TencentCloud
|
|
|
2190
2190
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2191
2191
|
end
|
|
2192
2192
|
|
|
2193
|
+
# broker版本升级
|
|
2194
|
+
|
|
2195
|
+
# @param request: Request instance for UpgradeBrokerVersion.
|
|
2196
|
+
# @type request: :class:`Tencentcloud::ckafka::V20190819::UpgradeBrokerVersionRequest`
|
|
2197
|
+
# @rtype: :class:`Tencentcloud::ckafka::V20190819::UpgradeBrokerVersionResponse`
|
|
2198
|
+
def UpgradeBrokerVersion(request)
|
|
2199
|
+
body = send_request('UpgradeBrokerVersion', request.serialize)
|
|
2200
|
+
response = JSON.parse(body)
|
|
2201
|
+
if response['Response'].key?('Error') == false
|
|
2202
|
+
model = UpgradeBrokerVersionResponse.new
|
|
2203
|
+
model.deserialize(response['Response'])
|
|
2204
|
+
model
|
|
2205
|
+
else
|
|
2206
|
+
code = response['Response']['Error']['Code']
|
|
2207
|
+
message = response['Response']['Error']['Message']
|
|
2208
|
+
reqid = response['Response']['RequestId']
|
|
2209
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2210
|
+
end
|
|
2211
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2212
|
+
raise e
|
|
2213
|
+
rescue StandardError => e
|
|
2214
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2215
|
+
end
|
|
2216
|
+
|
|
2193
2217
|
|
|
2194
2218
|
end
|
|
2195
2219
|
end
|
data/lib/v20190819/models.rb
CHANGED
|
@@ -227,26 +227,6 @@ module TencentCloud
|
|
|
227
227
|
end
|
|
228
228
|
end
|
|
229
229
|
|
|
230
|
-
# AppId的查询结果
|
|
231
|
-
class AppIdResponse < TencentCloud::Common::AbstractModel
|
|
232
|
-
# @param TotalCount: 符合要求的所有AppId数量
|
|
233
|
-
# @type TotalCount: Integer
|
|
234
|
-
# @param AppIdList: 符合要求的App Id列表
|
|
235
|
-
# @type AppIdList: Array
|
|
236
|
-
|
|
237
|
-
attr_accessor :TotalCount, :AppIdList
|
|
238
|
-
|
|
239
|
-
def initialize(totalcount=nil, appidlist=nil)
|
|
240
|
-
@TotalCount = totalcount
|
|
241
|
-
@AppIdList = appidlist
|
|
242
|
-
end
|
|
243
|
-
|
|
244
|
-
def deserialize(params)
|
|
245
|
-
@TotalCount = params['TotalCount']
|
|
246
|
-
@AppIdList = params['AppIdList']
|
|
247
|
-
end
|
|
248
|
-
end
|
|
249
|
-
|
|
250
230
|
# 存储着分配给该消费者的 partition 信息
|
|
251
231
|
class Assignment < TencentCloud::Common::AbstractModel
|
|
252
232
|
# @param Version: assingment版本信息
|
|
@@ -2620,10 +2600,12 @@ module TencentCloud
|
|
|
2620
2600
|
# @type RetentionBytes: Integer
|
|
2621
2601
|
# @param Tags: 标签列表
|
|
2622
2602
|
# @type Tags: Array
|
|
2603
|
+
# @param LogMsgTimestampType: 消息保存的时间类型:CreateTime/LogAppendTime
|
|
2604
|
+
# @type LogMsgTimestampType: String
|
|
2623
2605
|
|
|
2624
|
-
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
|
|
2625
2607
|
|
|
2626
|
-
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)
|
|
2627
2609
|
@InstanceId = instanceid
|
|
2628
2610
|
@TopicName = topicname
|
|
2629
2611
|
@PartitionNum = partitionnum
|
|
@@ -2641,6 +2623,7 @@ module TencentCloud
|
|
|
2641
2623
|
@AclRuleName = aclrulename
|
|
2642
2624
|
@RetentionBytes = retentionbytes
|
|
2643
2625
|
@Tags = tags
|
|
2626
|
+
@LogMsgTimestampType = logmsgtimestamptype
|
|
2644
2627
|
end
|
|
2645
2628
|
|
|
2646
2629
|
def deserialize(params)
|
|
@@ -2668,6 +2651,7 @@ module TencentCloud
|
|
|
2668
2651
|
@Tags << tag_tmp
|
|
2669
2652
|
end
|
|
2670
2653
|
end
|
|
2654
|
+
@LogMsgTimestampType = params['LogMsgTimestampType']
|
|
2671
2655
|
end
|
|
2672
2656
|
end
|
|
2673
2657
|
|
|
@@ -3914,45 +3898,34 @@ module TencentCloud
|
|
|
3914
3898
|
end
|
|
3915
3899
|
end
|
|
3916
3900
|
|
|
3917
|
-
#
|
|
3918
|
-
class
|
|
3919
|
-
# @param
|
|
3920
|
-
# @type
|
|
3921
|
-
# @param Limit: 本次查询用户数目最大数量限制,最大值为50,默认50
|
|
3922
|
-
# @type Limit: Integer
|
|
3901
|
+
# DescribeCkafkaVersion请求参数结构体
|
|
3902
|
+
class DescribeCkafkaVersionRequest < TencentCloud::Common::AbstractModel
|
|
3903
|
+
# @param InstanceId: ckafka集群实例Id
|
|
3904
|
+
# @type InstanceId: String
|
|
3923
3905
|
|
|
3924
|
-
attr_accessor :
|
|
3906
|
+
attr_accessor :InstanceId
|
|
3925
3907
|
|
|
3926
|
-
def initialize(
|
|
3927
|
-
@
|
|
3928
|
-
@Limit = limit
|
|
3908
|
+
def initialize(instanceid=nil)
|
|
3909
|
+
@InstanceId = instanceid
|
|
3929
3910
|
end
|
|
3930
3911
|
|
|
3931
3912
|
def deserialize(params)
|
|
3932
|
-
@
|
|
3933
|
-
@Limit = params['Limit']
|
|
3913
|
+
@InstanceId = params['InstanceId']
|
|
3934
3914
|
end
|
|
3935
3915
|
end
|
|
3936
3916
|
|
|
3937
|
-
#
|
|
3938
|
-
class
|
|
3939
|
-
# @param Result: 返回的符合要求的App Id列表
|
|
3940
|
-
# @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.AppIdResponse`
|
|
3917
|
+
# DescribeCkafkaVersion返回参数结构体
|
|
3918
|
+
class DescribeCkafkaVersionResponse < TencentCloud::Common::AbstractModel
|
|
3941
3919
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3942
3920
|
# @type RequestId: String
|
|
3943
3921
|
|
|
3944
|
-
attr_accessor :
|
|
3922
|
+
attr_accessor :RequestId
|
|
3945
3923
|
|
|
3946
|
-
def initialize(
|
|
3947
|
-
@Result = result
|
|
3924
|
+
def initialize(requestid=nil)
|
|
3948
3925
|
@RequestId = requestid
|
|
3949
3926
|
end
|
|
3950
3927
|
|
|
3951
3928
|
def deserialize(params)
|
|
3952
|
-
unless params['Result'].nil?
|
|
3953
|
-
@Result = AppIdResponse.new
|
|
3954
|
-
@Result.deserialize(params['Result'])
|
|
3955
|
-
end
|
|
3956
3929
|
@RequestId = params['RequestId']
|
|
3957
3930
|
end
|
|
3958
3931
|
end
|
|
@@ -5492,17 +5465,21 @@ module TencentCloud
|
|
|
5492
5465
|
# @type InstanceId: String
|
|
5493
5466
|
# @param RouteId: 路由Id
|
|
5494
5467
|
# @type RouteId: Integer
|
|
5468
|
+
# @param MainRouteFlag: 是否显示主路由,true时会在返回原路由列表的基础上,再额外展示实例创建时的主路由信息(且不被InternalFlag/UsedFor等参数过滤影响)
|
|
5469
|
+
# @type MainRouteFlag: Boolean
|
|
5495
5470
|
|
|
5496
|
-
attr_accessor :InstanceId, :RouteId
|
|
5471
|
+
attr_accessor :InstanceId, :RouteId, :MainRouteFlag
|
|
5497
5472
|
|
|
5498
|
-
def initialize(instanceid=nil, routeid=nil)
|
|
5473
|
+
def initialize(instanceid=nil, routeid=nil, mainrouteflag=nil)
|
|
5499
5474
|
@InstanceId = instanceid
|
|
5500
5475
|
@RouteId = routeid
|
|
5476
|
+
@MainRouteFlag = mainrouteflag
|
|
5501
5477
|
end
|
|
5502
5478
|
|
|
5503
5479
|
def deserialize(params)
|
|
5504
5480
|
@InstanceId = params['InstanceId']
|
|
5505
5481
|
@RouteId = params['RouteId']
|
|
5482
|
+
@MainRouteFlag = params['MainRouteFlag']
|
|
5506
5483
|
end
|
|
5507
5484
|
end
|
|
5508
5485
|
|
|
@@ -7808,6 +7785,10 @@ module TencentCloud
|
|
|
7808
7785
|
# @type RemainingTopics: Integer
|
|
7809
7786
|
# @param DynamicDiskConfig: 动态硬盘扩容策略
|
|
7810
7787
|
# @type DynamicDiskConfig: :class:`Tencentcloud::Ckafka.v20190819.models.DynamicDiskConfig`
|
|
7788
|
+
# @param SystemMaintenanceTime: 系统维护时间
|
|
7789
|
+
# @type SystemMaintenanceTime: String
|
|
7790
|
+
# @param MaxMessageByte: 实例级别消息最大大小
|
|
7791
|
+
# @type MaxMessageByte: Integer
|
|
7811
7792
|
# @param InstanceChargeType: 实例计费类型 POSTPAID_BY_HOUR 按小时付费; PREPAID 包年包月
|
|
7812
7793
|
# @type InstanceChargeType: String
|
|
7813
7794
|
# @param ElasticBandwidthSwitch: 是否开启弹性带宽白名单
|
|
@@ -7842,9 +7823,9 @@ module TencentCloud
|
|
|
7842
7823
|
# @param DeleteProtectionEnable: 实例删除保护开关: 1 开启 0 关闭
|
|
7843
7824
|
# @type DeleteProtectionEnable: Integer
|
|
7844
7825
|
|
|
7845
|
-
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
|
|
7826
|
+
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
|
|
7846
7827
|
|
|
7847
|
-
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)
|
|
7828
|
+
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)
|
|
7848
7829
|
@InstanceId = instanceid
|
|
7849
7830
|
@InstanceName = instancename
|
|
7850
7831
|
@VipList = viplist
|
|
@@ -7880,6 +7861,8 @@ module TencentCloud
|
|
|
7880
7861
|
@RemainingPartitions = remainingpartitions
|
|
7881
7862
|
@RemainingTopics = remainingtopics
|
|
7882
7863
|
@DynamicDiskConfig = dynamicdiskconfig
|
|
7864
|
+
@SystemMaintenanceTime = systemmaintenancetime
|
|
7865
|
+
@MaxMessageByte = maxmessagebyte
|
|
7883
7866
|
@InstanceChargeType = instancechargetype
|
|
7884
7867
|
@ElasticBandwidthSwitch = elasticbandwidthswitch
|
|
7885
7868
|
@ElasticBandwidthOpenStatus = elasticbandwidthopenstatus
|
|
@@ -7950,6 +7933,8 @@ module TencentCloud
|
|
|
7950
7933
|
@DynamicDiskConfig = DynamicDiskConfig.new
|
|
7951
7934
|
@DynamicDiskConfig.deserialize(params['DynamicDiskConfig'])
|
|
7952
7935
|
end
|
|
7936
|
+
@SystemMaintenanceTime = params['SystemMaintenanceTime']
|
|
7937
|
+
@MaxMessageByte = params['MaxMessageByte']
|
|
7953
7938
|
@InstanceChargeType = params['InstanceChargeType']
|
|
7954
7939
|
@ElasticBandwidthSwitch = params['ElasticBandwidthSwitch']
|
|
7955
7940
|
@ElasticBandwidthOpenStatus = params['ElasticBandwidthOpenStatus']
|
|
@@ -9454,10 +9439,12 @@ module TencentCloud
|
|
|
9454
9439
|
# @type QuotaConsumerByteRate: Integer
|
|
9455
9440
|
# @param ReplicaNum: topic副本数 最小值 1,最大值 3
|
|
9456
9441
|
# @type ReplicaNum: Integer
|
|
9442
|
+
# @param LogMsgTimestampType: 消息保存的时间类型:CreateTime/LogAppendTime
|
|
9443
|
+
# @type LogMsgTimestampType: String
|
|
9457
9444
|
|
|
9458
|
-
attr_accessor :InstanceId, :TopicName, :Note, :EnableWhiteList, :MinInsyncReplicas, :UncleanLeaderElectionEnable, :RetentionMs, :MaxMessageBytes, :SegmentMs, :CleanUpPolicy, :IpWhiteList, :EnableAclRule, :AclRuleName, :RetentionBytes, :Tags, :QuotaProducerByteRate, :QuotaConsumerByteRate, :ReplicaNum
|
|
9445
|
+
attr_accessor :InstanceId, :TopicName, :Note, :EnableWhiteList, :MinInsyncReplicas, :UncleanLeaderElectionEnable, :RetentionMs, :MaxMessageBytes, :SegmentMs, :CleanUpPolicy, :IpWhiteList, :EnableAclRule, :AclRuleName, :RetentionBytes, :Tags, :QuotaProducerByteRate, :QuotaConsumerByteRate, :ReplicaNum, :LogMsgTimestampType
|
|
9459
9446
|
|
|
9460
|
-
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)
|
|
9447
|
+
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)
|
|
9461
9448
|
@InstanceId = instanceid
|
|
9462
9449
|
@TopicName = topicname
|
|
9463
9450
|
@Note = note
|
|
@@ -9476,6 +9463,7 @@ module TencentCloud
|
|
|
9476
9463
|
@QuotaProducerByteRate = quotaproducerbyterate
|
|
9477
9464
|
@QuotaConsumerByteRate = quotaconsumerbyterate
|
|
9478
9465
|
@ReplicaNum = replicanum
|
|
9466
|
+
@LogMsgTimestampType = logmsgtimestamptype
|
|
9479
9467
|
end
|
|
9480
9468
|
|
|
9481
9469
|
def deserialize(params)
|
|
@@ -9504,6 +9492,7 @@ module TencentCloud
|
|
|
9504
9492
|
@QuotaProducerByteRate = params['QuotaProducerByteRate']
|
|
9505
9493
|
@QuotaConsumerByteRate = params['QuotaConsumerByteRate']
|
|
9506
9494
|
@ReplicaNum = params['ReplicaNum']
|
|
9495
|
+
@LogMsgTimestampType = params['LogMsgTimestampType']
|
|
9507
9496
|
end
|
|
9508
9497
|
end
|
|
9509
9498
|
|
|
@@ -12142,6 +12131,61 @@ module TencentCloud
|
|
|
12142
12131
|
end
|
|
12143
12132
|
end
|
|
12144
12133
|
|
|
12134
|
+
# UpgradeBrokerVersion请求参数结构体
|
|
12135
|
+
class UpgradeBrokerVersionRequest < TencentCloud::Common::AbstractModel
|
|
12136
|
+
# @param InstanceId: ckafka集群实例Id
|
|
12137
|
+
# @type InstanceId: String
|
|
12138
|
+
# @param Type: 1.平滑升配.2.垂直升配
|
|
12139
|
+
# @type Type: Integer
|
|
12140
|
+
# @param SourceVersion: 版本号
|
|
12141
|
+
# @type SourceVersion: String
|
|
12142
|
+
# @param TargetVersion: 版本号
|
|
12143
|
+
# @type TargetVersion: String
|
|
12144
|
+
# @param DelayTimeStamp: 延迟时间
|
|
12145
|
+
# @type DelayTimeStamp: String
|
|
12146
|
+
|
|
12147
|
+
attr_accessor :InstanceId, :Type, :SourceVersion, :TargetVersion, :DelayTimeStamp
|
|
12148
|
+
|
|
12149
|
+
def initialize(instanceid=nil, type=nil, sourceversion=nil, targetversion=nil, delaytimestamp=nil)
|
|
12150
|
+
@InstanceId = instanceid
|
|
12151
|
+
@Type = type
|
|
12152
|
+
@SourceVersion = sourceversion
|
|
12153
|
+
@TargetVersion = targetversion
|
|
12154
|
+
@DelayTimeStamp = delaytimestamp
|
|
12155
|
+
end
|
|
12156
|
+
|
|
12157
|
+
def deserialize(params)
|
|
12158
|
+
@InstanceId = params['InstanceId']
|
|
12159
|
+
@Type = params['Type']
|
|
12160
|
+
@SourceVersion = params['SourceVersion']
|
|
12161
|
+
@TargetVersion = params['TargetVersion']
|
|
12162
|
+
@DelayTimeStamp = params['DelayTimeStamp']
|
|
12163
|
+
end
|
|
12164
|
+
end
|
|
12165
|
+
|
|
12166
|
+
# UpgradeBrokerVersion返回参数结构体
|
|
12167
|
+
class UpgradeBrokerVersionResponse < TencentCloud::Common::AbstractModel
|
|
12168
|
+
# @param Result: 升配结果
|
|
12169
|
+
# @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.JgwOperateResponse`
|
|
12170
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12171
|
+
# @type RequestId: String
|
|
12172
|
+
|
|
12173
|
+
attr_accessor :Result, :RequestId
|
|
12174
|
+
|
|
12175
|
+
def initialize(result=nil, requestid=nil)
|
|
12176
|
+
@Result = result
|
|
12177
|
+
@RequestId = requestid
|
|
12178
|
+
end
|
|
12179
|
+
|
|
12180
|
+
def deserialize(params)
|
|
12181
|
+
unless params['Result'].nil?
|
|
12182
|
+
@Result = JgwOperateResponse.new
|
|
12183
|
+
@Result.deserialize(params['Result'])
|
|
12184
|
+
end
|
|
12185
|
+
@RequestId = params['RequestId']
|
|
12186
|
+
end
|
|
12187
|
+
end
|
|
12188
|
+
|
|
12145
12189
|
# Url解析
|
|
12146
12190
|
class UrlDecodeParam < TencentCloud::Common::AbstractModel
|
|
12147
12191
|
# @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.1171
|
|
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-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|