tencentcloud-sdk-clb 3.0.1169 → 3.0.1177
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/v20180317/models.rb +62 -16
- 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: ca1b0447ebc3bd5453c24478ef9ea6be71776b8c
|
|
4
|
+
data.tar.gz: 5ed7bdf27d56eb01e0f0323b433b2a9baead666e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 052b55b6625aeb75f3504c1875a260602a48e235eed452b75752344ba4c6e75407b64a99a73a7f0fc4c725c3f5cc02840633fc65f4e174b5ec864e6366a7be2e
|
|
7
|
+
data.tar.gz: e0eef20b76c8bcdd3a87005bc494aa3a3a22c03cd513c147e9ce4da252bce9e41cb56d4f4809b1f63f7989c21bd8dc6a372fcfab99e8e6eb32af445ca4977a2f
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1177
|
data/lib/v20180317/models.rb
CHANGED
|
@@ -164,6 +164,32 @@ module TencentCloud
|
|
|
164
164
|
end
|
|
165
165
|
end
|
|
166
166
|
|
|
167
|
+
# 可用区转发亲和信息
|
|
168
|
+
class AvailableZoneAffinityInfo < TencentCloud::Common::AbstractModel
|
|
169
|
+
# @param Enable: 是否开启可用区转发亲和。true:开启可用区转发亲和;false:开启可用区转发亲和。
|
|
170
|
+
# @type Enable: Boolean
|
|
171
|
+
# @param ExitRatio: 可用区转发亲和失效阈值,当可用区内后端服务健康比例小于该阈值时,负载均衡会退出可用区转发亲和,转为全可用区转发。
|
|
172
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
173
|
+
# @type ExitRatio: Integer
|
|
174
|
+
# @param ReentryRatio: 可用区转发亲和的重新生效阈值,当处于全可用区转发,且负载均衡可用区内的后端服务健康比例大于等于该阈值时,负载均衡会重新进入可用区转发亲和。
|
|
175
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
176
|
+
# @type ReentryRatio: Integer
|
|
177
|
+
|
|
178
|
+
attr_accessor :Enable, :ExitRatio, :ReentryRatio
|
|
179
|
+
|
|
180
|
+
def initialize(enable=nil, exitratio=nil, reentryratio=nil)
|
|
181
|
+
@Enable = enable
|
|
182
|
+
@ExitRatio = exitratio
|
|
183
|
+
@ReentryRatio = reentryratio
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
def deserialize(params)
|
|
187
|
+
@Enable = params['Enable']
|
|
188
|
+
@ExitRatio = params['ExitRatio']
|
|
189
|
+
@ReentryRatio = params['ReentryRatio']
|
|
190
|
+
end
|
|
191
|
+
end
|
|
192
|
+
|
|
167
193
|
# 监听器绑定的后端服务的详细信息
|
|
168
194
|
class Backend < TencentCloud::Common::AbstractModel
|
|
169
195
|
# @param Type: 后端服务的类型,可取:CVM、ENI、CCN、EVM、GLOBALROUTE、NAT、SRV等
|
|
@@ -189,10 +215,13 @@ module TencentCloud
|
|
|
189
215
|
# @type EniId: String
|
|
190
216
|
# @param Tag: 标签。
|
|
191
217
|
# @type Tag: String
|
|
218
|
+
# @param Zone: 后端服务所在的可用区,如ap-guangzhou-1
|
|
219
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
220
|
+
# @type Zone: String
|
|
192
221
|
|
|
193
|
-
attr_accessor :Type, :InstanceId, :Port, :Weight, :PublicIpAddresses, :PrivateIpAddresses, :InstanceName, :RegisteredTime, :EniId, :Tag
|
|
222
|
+
attr_accessor :Type, :InstanceId, :Port, :Weight, :PublicIpAddresses, :PrivateIpAddresses, :InstanceName, :RegisteredTime, :EniId, :Tag, :Zone
|
|
194
223
|
|
|
195
|
-
def initialize(type=nil, instanceid=nil, port=nil, weight=nil, publicipaddresses=nil, privateipaddresses=nil, instancename=nil, registeredtime=nil, eniid=nil, tag=nil)
|
|
224
|
+
def initialize(type=nil, instanceid=nil, port=nil, weight=nil, publicipaddresses=nil, privateipaddresses=nil, instancename=nil, registeredtime=nil, eniid=nil, tag=nil, zone=nil)
|
|
196
225
|
@Type = type
|
|
197
226
|
@InstanceId = instanceid
|
|
198
227
|
@Port = port
|
|
@@ -203,6 +232,7 @@ module TencentCloud
|
|
|
203
232
|
@RegisteredTime = registeredtime
|
|
204
233
|
@EniId = eniid
|
|
205
234
|
@Tag = tag
|
|
235
|
+
@Zone = zone
|
|
206
236
|
end
|
|
207
237
|
|
|
208
238
|
def deserialize(params)
|
|
@@ -216,6 +246,7 @@ module TencentCloud
|
|
|
216
246
|
@RegisteredTime = params['RegisteredTime']
|
|
217
247
|
@EniId = params['EniId']
|
|
218
248
|
@Tag = params['Tag']
|
|
249
|
+
@Zone = params['Zone']
|
|
219
250
|
end
|
|
220
251
|
end
|
|
221
252
|
|
|
@@ -1286,8 +1317,8 @@ module TencentCloud
|
|
|
1286
1317
|
|
|
1287
1318
|
attr_accessor :LogsetName, :Period, :LogsetType
|
|
1288
1319
|
extend Gem::Deprecate
|
|
1289
|
-
deprecate :Period, :none, 2025,
|
|
1290
|
-
deprecate :Period=, :none, 2025,
|
|
1320
|
+
deprecate :Period, :none, 2025, 12
|
|
1321
|
+
deprecate :Period=, :none, 2025, 12
|
|
1291
1322
|
|
|
1292
1323
|
def initialize(logsetname=nil, period=nil, logsettype=nil)
|
|
1293
1324
|
@LogsetName = logsetname
|
|
@@ -5514,13 +5545,15 @@ module TencentCloud
|
|
|
5514
5545
|
# @type TargetCount: Integer
|
|
5515
5546
|
# @param AssociateEndpoint: 负载均衡实例关联的Endpoint id。
|
|
5516
5547
|
# @type AssociateEndpoint: String
|
|
5548
|
+
# @param AvailableZoneAffinityInfo: 可用区转发亲和信息
|
|
5549
|
+
# @type AvailableZoneAffinityInfo: :class:`Tencentcloud::Clb.v20180317.models.AvailableZoneAffinityInfo`
|
|
5517
5550
|
|
|
5518
|
-
attr_accessor :LoadBalancerId, :LoadBalancerName, :LoadBalancerType, :Forward, :Domain, :LoadBalancerVips, :Status, :CreateTime, :StatusTime, :ProjectId, :VpcId, :OpenBgp, :Snat, :Isolation, :Log, :SubnetId, :Tags, :SecureGroups, :TargetRegionInfo, :AnycastZone, :AddressIPVersion, :NumericalVpcId, :VipIsp, :MasterZone, :BackupZoneSet, :IsolatedTime, :ExpireTime, :ChargeType, :NetworkAttributes, :PrepaidAttributes, :LogSetId, :LogTopicId, :AddressIPv6, :ExtraInfo, :IsDDos, :ConfigId, :LoadBalancerPassToTarget, :ExclusiveCluster, :IPv6Mode, :SnatPro, :SnatIps, :SlaType, :IsBlock, :IsBlockTime, :LocalBgp, :ClusterTag, :MixIpTarget, :Zones, :NfvInfo, :HealthLogSetId, :HealthLogTopicId, :ClusterIds, :AttributeFlags, :LoadBalancerDomain, :Egress, :Exclusive, :TargetCount, :AssociateEndpoint
|
|
5551
|
+
attr_accessor :LoadBalancerId, :LoadBalancerName, :LoadBalancerType, :Forward, :Domain, :LoadBalancerVips, :Status, :CreateTime, :StatusTime, :ProjectId, :VpcId, :OpenBgp, :Snat, :Isolation, :Log, :SubnetId, :Tags, :SecureGroups, :TargetRegionInfo, :AnycastZone, :AddressIPVersion, :NumericalVpcId, :VipIsp, :MasterZone, :BackupZoneSet, :IsolatedTime, :ExpireTime, :ChargeType, :NetworkAttributes, :PrepaidAttributes, :LogSetId, :LogTopicId, :AddressIPv6, :ExtraInfo, :IsDDos, :ConfigId, :LoadBalancerPassToTarget, :ExclusiveCluster, :IPv6Mode, :SnatPro, :SnatIps, :SlaType, :IsBlock, :IsBlockTime, :LocalBgp, :ClusterTag, :MixIpTarget, :Zones, :NfvInfo, :HealthLogSetId, :HealthLogTopicId, :ClusterIds, :AttributeFlags, :LoadBalancerDomain, :Egress, :Exclusive, :TargetCount, :AssociateEndpoint, :AvailableZoneAffinityInfo
|
|
5519
5552
|
extend Gem::Deprecate
|
|
5520
|
-
deprecate :Log, :none, 2025,
|
|
5521
|
-
deprecate :Log=, :none, 2025,
|
|
5553
|
+
deprecate :Log, :none, 2025, 12
|
|
5554
|
+
deprecate :Log=, :none, 2025, 12
|
|
5522
5555
|
|
|
5523
|
-
def initialize(loadbalancerid=nil, loadbalancername=nil, loadbalancertype=nil, forward=nil, domain=nil, loadbalancervips=nil, status=nil, createtime=nil, statustime=nil, projectid=nil, vpcid=nil, openbgp=nil, snat=nil, isolation=nil, log=nil, subnetid=nil, tags=nil, securegroups=nil, targetregioninfo=nil, anycastzone=nil, addressipversion=nil, numericalvpcid=nil, vipisp=nil, masterzone=nil, backupzoneset=nil, isolatedtime=nil, expiretime=nil, chargetype=nil, networkattributes=nil, prepaidattributes=nil, logsetid=nil, logtopicid=nil, addressipv6=nil, extrainfo=nil, isddos=nil, configid=nil, loadbalancerpasstotarget=nil, exclusivecluster=nil, ipv6mode=nil, snatpro=nil, snatips=nil, slatype=nil, isblock=nil, isblocktime=nil, localbgp=nil, clustertag=nil, mixiptarget=nil, zones=nil, nfvinfo=nil, healthlogsetid=nil, healthlogtopicid=nil, clusterids=nil, attributeflags=nil, loadbalancerdomain=nil, egress=nil, exclusive=nil, targetcount=nil, associateendpoint=nil)
|
|
5556
|
+
def initialize(loadbalancerid=nil, loadbalancername=nil, loadbalancertype=nil, forward=nil, domain=nil, loadbalancervips=nil, status=nil, createtime=nil, statustime=nil, projectid=nil, vpcid=nil, openbgp=nil, snat=nil, isolation=nil, log=nil, subnetid=nil, tags=nil, securegroups=nil, targetregioninfo=nil, anycastzone=nil, addressipversion=nil, numericalvpcid=nil, vipisp=nil, masterzone=nil, backupzoneset=nil, isolatedtime=nil, expiretime=nil, chargetype=nil, networkattributes=nil, prepaidattributes=nil, logsetid=nil, logtopicid=nil, addressipv6=nil, extrainfo=nil, isddos=nil, configid=nil, loadbalancerpasstotarget=nil, exclusivecluster=nil, ipv6mode=nil, snatpro=nil, snatips=nil, slatype=nil, isblock=nil, isblocktime=nil, localbgp=nil, clustertag=nil, mixiptarget=nil, zones=nil, nfvinfo=nil, healthlogsetid=nil, healthlogtopicid=nil, clusterids=nil, attributeflags=nil, loadbalancerdomain=nil, egress=nil, exclusive=nil, targetcount=nil, associateendpoint=nil, availablezoneaffinityinfo=nil)
|
|
5524
5557
|
@LoadBalancerId = loadbalancerid
|
|
5525
5558
|
@LoadBalancerName = loadbalancername
|
|
5526
5559
|
@LoadBalancerType = loadbalancertype
|
|
@@ -5579,6 +5612,7 @@ module TencentCloud
|
|
|
5579
5612
|
@Exclusive = exclusive
|
|
5580
5613
|
@TargetCount = targetcount
|
|
5581
5614
|
@AssociateEndpoint = associateendpoint
|
|
5615
|
+
@AvailableZoneAffinityInfo = availablezoneaffinityinfo
|
|
5582
5616
|
end
|
|
5583
5617
|
|
|
5584
5618
|
def deserialize(params)
|
|
@@ -5679,6 +5713,10 @@ module TencentCloud
|
|
|
5679
5713
|
@Exclusive = params['Exclusive']
|
|
5680
5714
|
@TargetCount = params['TargetCount']
|
|
5681
5715
|
@AssociateEndpoint = params['AssociateEndpoint']
|
|
5716
|
+
unless params['AvailableZoneAffinityInfo'].nil?
|
|
5717
|
+
@AvailableZoneAffinityInfo = AvailableZoneAffinityInfo.new
|
|
5718
|
+
@AvailableZoneAffinityInfo.deserialize(params['AvailableZoneAffinityInfo'])
|
|
5719
|
+
end
|
|
5682
5720
|
end
|
|
5683
5721
|
end
|
|
5684
5722
|
|
|
@@ -5809,10 +5847,13 @@ module TencentCloud
|
|
|
5809
5847
|
# @param Exclusive: 0:表示非独占型实例,1:表示独占型态实例。
|
|
5810
5848
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5811
5849
|
# @type Exclusive: Integer
|
|
5850
|
+
# @param AvailableZoneAffinityInfo: 可用区转发亲和信息
|
|
5851
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5852
|
+
# @type AvailableZoneAffinityInfo: :class:`Tencentcloud::Clb.v20180317.models.AvailableZoneAffinityInfo`
|
|
5812
5853
|
|
|
5813
|
-
attr_accessor :LoadBalancerId, :LoadBalancerName, :LoadBalancerType, :Status, :Address, :AddressIPv6, :AddressIPVersion, :IPv6Mode, :Zone, :AddressIsp, :VpcId, :ProjectId, :CreateTime, :ChargeType, :NetworkAttributes, :PrepaidAttributes, :ExtraInfo, :ConfigId, :Tags, :ListenerId, :Protocol, :Port, :LocationId, :Domain, :Url, :TargetId, :TargetAddress, :TargetPort, :TargetWeight, :Isolation, :SecurityGroup, :LoadBalancerPassToTarget, :TargetHealth, :Domains, :SlaveZone, :Zones, :SniSwitch, :LoadBalancerDomain, :Egress, :AttributeFlags, :SlaType, :Exclusive
|
|
5854
|
+
attr_accessor :LoadBalancerId, :LoadBalancerName, :LoadBalancerType, :Status, :Address, :AddressIPv6, :AddressIPVersion, :IPv6Mode, :Zone, :AddressIsp, :VpcId, :ProjectId, :CreateTime, :ChargeType, :NetworkAttributes, :PrepaidAttributes, :ExtraInfo, :ConfigId, :Tags, :ListenerId, :Protocol, :Port, :LocationId, :Domain, :Url, :TargetId, :TargetAddress, :TargetPort, :TargetWeight, :Isolation, :SecurityGroup, :LoadBalancerPassToTarget, :TargetHealth, :Domains, :SlaveZone, :Zones, :SniSwitch, :LoadBalancerDomain, :Egress, :AttributeFlags, :SlaType, :Exclusive, :AvailableZoneAffinityInfo
|
|
5814
5855
|
|
|
5815
|
-
def initialize(loadbalancerid=nil, loadbalancername=nil, loadbalancertype=nil, status=nil, address=nil, addressipv6=nil, addressipversion=nil, ipv6mode=nil, zone=nil, addressisp=nil, vpcid=nil, projectid=nil, createtime=nil, chargetype=nil, networkattributes=nil, prepaidattributes=nil, extrainfo=nil, configid=nil, tags=nil, listenerid=nil, protocol=nil, port=nil, locationid=nil, domain=nil, url=nil, targetid=nil, targetaddress=nil, targetport=nil, targetweight=nil, isolation=nil, securitygroup=nil, loadbalancerpasstotarget=nil, targethealth=nil, domains=nil, slavezone=nil, zones=nil, sniswitch=nil, loadbalancerdomain=nil, egress=nil, attributeflags=nil, slatype=nil, exclusive=nil)
|
|
5856
|
+
def initialize(loadbalancerid=nil, loadbalancername=nil, loadbalancertype=nil, status=nil, address=nil, addressipv6=nil, addressipversion=nil, ipv6mode=nil, zone=nil, addressisp=nil, vpcid=nil, projectid=nil, createtime=nil, chargetype=nil, networkattributes=nil, prepaidattributes=nil, extrainfo=nil, configid=nil, tags=nil, listenerid=nil, protocol=nil, port=nil, locationid=nil, domain=nil, url=nil, targetid=nil, targetaddress=nil, targetport=nil, targetweight=nil, isolation=nil, securitygroup=nil, loadbalancerpasstotarget=nil, targethealth=nil, domains=nil, slavezone=nil, zones=nil, sniswitch=nil, loadbalancerdomain=nil, egress=nil, attributeflags=nil, slatype=nil, exclusive=nil, availablezoneaffinityinfo=nil)
|
|
5816
5857
|
@LoadBalancerId = loadbalancerid
|
|
5817
5858
|
@LoadBalancerName = loadbalancername
|
|
5818
5859
|
@LoadBalancerType = loadbalancertype
|
|
@@ -5855,6 +5896,7 @@ module TencentCloud
|
|
|
5855
5896
|
@AttributeFlags = attributeflags
|
|
5856
5897
|
@SlaType = slatype
|
|
5857
5898
|
@Exclusive = exclusive
|
|
5899
|
+
@AvailableZoneAffinityInfo = availablezoneaffinityinfo
|
|
5858
5900
|
end
|
|
5859
5901
|
|
|
5860
5902
|
def deserialize(params)
|
|
@@ -5916,6 +5958,10 @@ module TencentCloud
|
|
|
5916
5958
|
@AttributeFlags = params['AttributeFlags']
|
|
5917
5959
|
@SlaType = params['SlaType']
|
|
5918
5960
|
@Exclusive = params['Exclusive']
|
|
5961
|
+
unless params['AvailableZoneAffinityInfo'].nil?
|
|
5962
|
+
@AvailableZoneAffinityInfo = AvailableZoneAffinityInfo.new
|
|
5963
|
+
@AvailableZoneAffinityInfo.deserialize(params['AvailableZoneAffinityInfo'])
|
|
5964
|
+
end
|
|
5919
5965
|
end
|
|
5920
5966
|
end
|
|
5921
5967
|
|
|
@@ -7566,10 +7612,10 @@ module TencentCloud
|
|
|
7566
7612
|
|
|
7567
7613
|
attr_accessor :ListenerId, :Targets, :LocationId, :Domain, :Url, :Weight
|
|
7568
7614
|
extend Gem::Deprecate
|
|
7569
|
-
deprecate :Domain, :none, 2025,
|
|
7570
|
-
deprecate :Domain=, :none, 2025,
|
|
7571
|
-
deprecate :Url, :none, 2025,
|
|
7572
|
-
deprecate :Url=, :none, 2025,
|
|
7615
|
+
deprecate :Domain, :none, 2025, 12
|
|
7616
|
+
deprecate :Domain=, :none, 2025, 12
|
|
7617
|
+
deprecate :Url, :none, 2025, 12
|
|
7618
|
+
deprecate :Url=, :none, 2025, 12
|
|
7573
7619
|
|
|
7574
7620
|
def initialize(listenerid=nil, targets=nil, locationid=nil, domain=nil, url=nil, weight=nil)
|
|
7575
7621
|
@ListenerId = listenerid
|
|
@@ -8648,8 +8694,8 @@ module TencentCloud
|
|
|
8648
8694
|
|
|
8649
8695
|
attr_accessor :IP, :Port, :HealthStatus, :TargetId, :HealthStatusDetail, :HealthStatusDetial, :TargetGroupId, :Weight
|
|
8650
8696
|
extend Gem::Deprecate
|
|
8651
|
-
deprecate :HealthStatusDetial, :none, 2025,
|
|
8652
|
-
deprecate :HealthStatusDetial=, :none, 2025,
|
|
8697
|
+
deprecate :HealthStatusDetial, :none, 2025, 12
|
|
8698
|
+
deprecate :HealthStatusDetial=, :none, 2025, 12
|
|
8653
8699
|
|
|
8654
8700
|
def initialize(ip=nil, port=nil, healthstatus=nil, targetid=nil, healthstatusdetail=nil, healthstatusdetial=nil, targetgroupid=nil, weight=nil)
|
|
8655
8701
|
@IP = ip
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-clb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1177
|
|
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
|
+
date: 2025-12-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|