lib/v20190819/models.rb in tencentcloud-sdk-ckafka-1.0.358 vs lib/v20190819/models.rb in tencentcloud-sdk-ckafka-1.0.359
- old
+ new
@@ -4221,14 +4221,16 @@
# @type Tags: Array
# @param QuotaProducerByteRate: 生产限流,单位 MB/s
# @type QuotaProducerByteRate: Integer
# @param QuotaConsumerByteRate: 消费限流,单位 MB/s
# @type QuotaConsumerByteRate: Integer
+ # @param ReplicaNum: 调整topic副本数
+ # @type ReplicaNum: Integer
- attr_accessor :InstanceId, :TopicName, :Note, :EnableWhiteList, :MinInsyncReplicas, :UncleanLeaderElectionEnable, :RetentionMs, :SegmentMs, :MaxMessageBytes, :CleanUpPolicy, :IpWhiteList, :EnableAclRule, :AclRuleName, :RetentionBytes, :Tags, :QuotaProducerByteRate, :QuotaConsumerByteRate
+ attr_accessor :InstanceId, :TopicName, :Note, :EnableWhiteList, :MinInsyncReplicas, :UncleanLeaderElectionEnable, :RetentionMs, :SegmentMs, :MaxMessageBytes, :CleanUpPolicy, :IpWhiteList, :EnableAclRule, :AclRuleName, :RetentionBytes, :Tags, :QuotaProducerByteRate, :QuotaConsumerByteRate, :ReplicaNum
- def initialize(instanceid=nil, topicname=nil, note=nil, enablewhitelist=nil, mininsyncreplicas=nil, uncleanleaderelectionenable=nil, retentionms=nil, segmentms=nil, maxmessagebytes=nil, cleanuppolicy=nil, ipwhitelist=nil, enableaclrule=nil, aclrulename=nil, retentionbytes=nil, tags=nil, quotaproducerbyterate=nil, quotaconsumerbyterate=nil)
+ def initialize(instanceid=nil, topicname=nil, note=nil, enablewhitelist=nil, mininsyncreplicas=nil, uncleanleaderelectionenable=nil, retentionms=nil, segmentms=nil, maxmessagebytes=nil, cleanuppolicy=nil, ipwhitelist=nil, enableaclrule=nil, aclrulename=nil, retentionbytes=nil, tags=nil, quotaproducerbyterate=nil, quotaconsumerbyterate=nil, replicanum=nil)
@InstanceId = instanceid
@TopicName = topicname
@Note = note
@EnableWhiteList = enablewhitelist
@MinInsyncReplicas = mininsyncreplicas
@@ -4242,10 +4244,11 @@
@AclRuleName = aclrulename
@RetentionBytes = retentionbytes
@Tags = tags
@QuotaProducerByteRate = quotaproducerbyterate
@QuotaConsumerByteRate = quotaconsumerbyterate
+ @ReplicaNum = replicanum
end
def deserialize(params)
@InstanceId = params['InstanceId']
@TopicName = params['TopicName']
@@ -4269,9 +4272,10 @@
@Tags << tag_tmp
end
end
@QuotaProducerByteRate = params['QuotaProducerByteRate']
@QuotaConsumerByteRate = params['QuotaConsumerByteRate']
+ @ReplicaNum = params['ReplicaNum']
end
end
# ModifyTopicAttributes返回参数结构体
class ModifyTopicAttributesResponse < TencentCloud::Common::AbstractModel