tencentcloud-sdk-ckafka 1.0.228 → 1.0.229
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190819/models.rb +64 -6
- 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: e37c0fe434cd4dd644ab15361e77913338606599
|
4
|
+
data.tar.gz: 76a3593d24f07f3a5bd67d91122fdf2a69b6bdc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 870c1c14c1aa0a40ed2d038fcef900146b0e8eb97e296e08bf59e7abf4a4db4a2f2296c39046beda5662dfe5044ba1698a1519c111d2de522b703a24978e2c01
|
7
|
+
data.tar.gz: 2043494ea1ab7c676edeeaedfb7390131f9ba6b7eebc2e5a0faa1ea630fd161b4df12776d5b03b37a925ee5e7a97da4cec23f92dc896cedfdbf562983663a415
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.229
|
data/lib/v20190819/models.rb
CHANGED
@@ -2508,6 +2508,38 @@ module TencentCloud
|
|
2508
2508
|
end
|
2509
2509
|
end
|
2510
2510
|
|
2511
|
+
# 动态硬盘扩容配置
|
2512
|
+
class DynamicDiskConfig < TencentCloud::Common::AbstractModel
|
2513
|
+
# @param Enable: 动态硬盘扩容配置开关(0: 关闭,1: 开启)
|
2514
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2515
|
+
# @type Enable: Integer
|
2516
|
+
# @param StepForwardPercentage: 每次磁盘动态扩容大小百分比
|
2517
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2518
|
+
# @type StepForwardPercentage: Integer
|
2519
|
+
# @param DiskQuotaPercentage: 磁盘配额百分比触发条件,即消息达到此值触发硬盘自动扩容事件
|
2520
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2521
|
+
# @type DiskQuotaPercentage: Integer
|
2522
|
+
# @param MaxDiskSpace: 最大扩容硬盘大小,以 GB 为单位
|
2523
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2524
|
+
# @type MaxDiskSpace: Integer
|
2525
|
+
|
2526
|
+
attr_accessor :Enable, :StepForwardPercentage, :DiskQuotaPercentage, :MaxDiskSpace
|
2527
|
+
|
2528
|
+
def initialize(enable=nil, stepforwardpercentage=nil, diskquotapercentage=nil, maxdiskspace=nil)
|
2529
|
+
@Enable = enable
|
2530
|
+
@StepForwardPercentage = stepforwardpercentage
|
2531
|
+
@DiskQuotaPercentage = diskquotapercentage
|
2532
|
+
@MaxDiskSpace = maxdiskspace
|
2533
|
+
end
|
2534
|
+
|
2535
|
+
def deserialize(params)
|
2536
|
+
@Enable = params['Enable']
|
2537
|
+
@StepForwardPercentage = params['StepForwardPercentage']
|
2538
|
+
@DiskQuotaPercentage = params['DiskQuotaPercentage']
|
2539
|
+
@MaxDiskSpace = params['MaxDiskSpace']
|
2540
|
+
end
|
2541
|
+
end
|
2542
|
+
|
2511
2543
|
# 动态消息保留时间配置
|
2512
2544
|
class DynamicRetentionTime < TencentCloud::Common::AbstractModel
|
2513
2545
|
# @param Enable: 动态消息保留时间配置开关(0: 关闭,1: 开启)
|
@@ -2966,10 +2998,13 @@ module TencentCloud
|
|
2966
2998
|
# @param RemainingTopics: 剩余创建主题数
|
2967
2999
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2968
3000
|
# @type RemainingTopics: Integer
|
3001
|
+
# @param DynamicDiskConfig: 动态硬盘扩容策略
|
3002
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3003
|
+
# @type DynamicDiskConfig: :class:`Tencentcloud::Ckafka.v20190819.models.DynamicDiskConfig`
|
2969
3004
|
|
2970
|
-
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
|
3005
|
+
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
|
2971
3006
|
|
2972
|
-
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)
|
3007
|
+
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)
|
2973
3008
|
@InstanceId = instanceid
|
2974
3009
|
@InstanceName = instancename
|
2975
3010
|
@VipList = viplist
|
@@ -3004,6 +3039,7 @@ module TencentCloud
|
|
3004
3039
|
@DeleteRouteTimestamp = deleteroutetimestamp
|
3005
3040
|
@RemainingPartitions = remainingpartitions
|
3006
3041
|
@RemainingTopics = remainingtopics
|
3042
|
+
@DynamicDiskConfig = dynamicdiskconfig
|
3007
3043
|
end
|
3008
3044
|
|
3009
3045
|
def deserialize(params)
|
@@ -3061,6 +3097,10 @@ module TencentCloud
|
|
3061
3097
|
@DeleteRouteTimestamp = params['DeleteRouteTimestamp']
|
3062
3098
|
@RemainingPartitions = params['RemainingPartitions']
|
3063
3099
|
@RemainingTopics = params['RemainingTopics']
|
3100
|
+
unless params['DynamicDiskConfig'].nil?
|
3101
|
+
@DynamicDiskConfig = DynamicDiskConfig.new
|
3102
|
+
@DynamicDiskConfig.deserialize(params['DynamicDiskConfig'])
|
3103
|
+
end
|
3064
3104
|
end
|
3065
3105
|
end
|
3066
3106
|
|
@@ -3421,10 +3461,12 @@ module TencentCloud
|
|
3421
3461
|
# @type RebalanceTime: Integer
|
3422
3462
|
# @param PublicNetwork: 时间戳
|
3423
3463
|
# @type PublicNetwork: Integer
|
3464
|
+
# @param DynamicDiskConfig: 动态硬盘扩容策略配置
|
3465
|
+
# @type DynamicDiskConfig: :class:`Tencentcloud::Ckafka.v20190819.models.DynamicDiskConfig`
|
3424
3466
|
|
3425
|
-
attr_accessor :InstanceId, :MsgRetentionTime, :InstanceName, :Config, :DynamicRetentionConfig, :RebalanceTime, :PublicNetwork
|
3467
|
+
attr_accessor :InstanceId, :MsgRetentionTime, :InstanceName, :Config, :DynamicRetentionConfig, :RebalanceTime, :PublicNetwork, :DynamicDiskConfig
|
3426
3468
|
|
3427
|
-
def initialize(instanceid=nil, msgretentiontime=nil, instancename=nil, config=nil, dynamicretentionconfig=nil, rebalancetime=nil, publicnetwork=nil)
|
3469
|
+
def initialize(instanceid=nil, msgretentiontime=nil, instancename=nil, config=nil, dynamicretentionconfig=nil, rebalancetime=nil, publicnetwork=nil, dynamicdiskconfig=nil)
|
3428
3470
|
@InstanceId = instanceid
|
3429
3471
|
@MsgRetentionTime = msgretentiontime
|
3430
3472
|
@InstanceName = instancename
|
@@ -3432,6 +3474,7 @@ module TencentCloud
|
|
3432
3474
|
@DynamicRetentionConfig = dynamicretentionconfig
|
3433
3475
|
@RebalanceTime = rebalancetime
|
3434
3476
|
@PublicNetwork = publicnetwork
|
3477
|
+
@DynamicDiskConfig = dynamicdiskconfig
|
3435
3478
|
end
|
3436
3479
|
|
3437
3480
|
def deserialize(params)
|
@@ -3448,6 +3491,10 @@ module TencentCloud
|
|
3448
3491
|
end
|
3449
3492
|
@RebalanceTime = params['RebalanceTime']
|
3450
3493
|
@PublicNetwork = params['PublicNetwork']
|
3494
|
+
unless params['DynamicDiskConfig'].nil?
|
3495
|
+
@DynamicDiskConfig = DynamicDiskConfig.new
|
3496
|
+
@DynamicDiskConfig.deserialize(params['DynamicDiskConfig'])
|
3497
|
+
end
|
3451
3498
|
end
|
3452
3499
|
end
|
3453
3500
|
|
@@ -3555,10 +3602,12 @@ module TencentCloud
|
|
3555
3602
|
# @type AclRuleName: String
|
3556
3603
|
# @param RetentionBytes: 可选, 保留文件大小. 默认为-1,单位bytes, 当前最小值为1048576B
|
3557
3604
|
# @type RetentionBytes: Integer
|
3605
|
+
# @param Tags: 标签列表
|
3606
|
+
# @type Tags: Array
|
3558
3607
|
|
3559
|
-
attr_accessor :InstanceId, :TopicName, :Note, :EnableWhiteList, :MinInsyncReplicas, :UncleanLeaderElectionEnable, :RetentionMs, :SegmentMs, :MaxMessageBytes, :CleanUpPolicy, :IpWhiteList, :EnableAclRule, :AclRuleName, :RetentionBytes
|
3608
|
+
attr_accessor :InstanceId, :TopicName, :Note, :EnableWhiteList, :MinInsyncReplicas, :UncleanLeaderElectionEnable, :RetentionMs, :SegmentMs, :MaxMessageBytes, :CleanUpPolicy, :IpWhiteList, :EnableAclRule, :AclRuleName, :RetentionBytes, :Tags
|
3560
3609
|
|
3561
|
-
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)
|
3610
|
+
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)
|
3562
3611
|
@InstanceId = instanceid
|
3563
3612
|
@TopicName = topicname
|
3564
3613
|
@Note = note
|
@@ -3573,6 +3622,7 @@ module TencentCloud
|
|
3573
3622
|
@EnableAclRule = enableaclrule
|
3574
3623
|
@AclRuleName = aclrulename
|
3575
3624
|
@RetentionBytes = retentionbytes
|
3625
|
+
@Tags = tags
|
3576
3626
|
end
|
3577
3627
|
|
3578
3628
|
def deserialize(params)
|
@@ -3590,6 +3640,14 @@ module TencentCloud
|
|
3590
3640
|
@EnableAclRule = params['EnableAclRule']
|
3591
3641
|
@AclRuleName = params['AclRuleName']
|
3592
3642
|
@RetentionBytes = params['RetentionBytes']
|
3643
|
+
unless params['Tags'].nil?
|
3644
|
+
@Tags = []
|
3645
|
+
params['Tags'].each do |i|
|
3646
|
+
tag_tmp = Tag.new
|
3647
|
+
tag_tmp.deserialize(i)
|
3648
|
+
@Tags << tag_tmp
|
3649
|
+
end
|
3650
|
+
end
|
3593
3651
|
end
|
3594
3652
|
end
|
3595
3653
|
|
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: 1.0.
|
4
|
+
version: 1.0.229
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|