lib/v20180317/models.rb in tencentcloud-sdk-clb-3.0.814 vs lib/v20180317/models.rb in tencentcloud-sdk-clb-3.0.815
- old
+ new
@@ -1274,12 +1274,12 @@
# @param LogsetType: 日志集类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。
# @type LogsetType: String
attr_accessor :LogsetName, :Period, :LogsetType
extend Gem::Deprecate
- deprecate :Period, :none, 2024, 3
- deprecate :Period=, :none, 2024, 3
+ deprecate :Period, :none, 2024, 5
+ deprecate :Period=, :none, 2024, 5
def initialize(logsetname=nil, period=nil, logsettype=nil)
@LogsetName = logsetname
@Period = period
@LogsetType = logsettype
@@ -1349,14 +1349,16 @@
# @type MaxConn: Integer
# @param MaxCps: 监听器最大新增连接数,当前仅性能容量型实例且仅TCP/UDP/TCP_SSL/QUIC监听器支持,不传或者传-1表示监听器维度不限速。基础网络实例不支持该参数。
# @type MaxCps: Integer
# @param IdleConnectTimeout: 空闲连接超时时间,此参数仅适用于TCP监听器,单位:秒。默认值:900,取值范围:共享型实例和独占型实例支持:300~900,性能容量型实例支持:300~2000。如需设置超过2000s,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category),最大可设置到3600s。
# @type IdleConnectTimeout: Integer
+ # @param SnatEnable: 是否开启SNAT。
+ # @type SnatEnable: Boolean
- attr_accessor :LoadBalancerId, :Ports, :Protocol, :ListenerNames, :HealthCheck, :Certificate, :SessionExpireTime, :Scheduler, :SniSwitch, :TargetType, :SessionType, :KeepaliveEnable, :EndPort, :DeregisterTargetRst, :MultiCertInfo, :MaxConn, :MaxCps, :IdleConnectTimeout
+ attr_accessor :LoadBalancerId, :Ports, :Protocol, :ListenerNames, :HealthCheck, :Certificate, :SessionExpireTime, :Scheduler, :SniSwitch, :TargetType, :SessionType, :KeepaliveEnable, :EndPort, :DeregisterTargetRst, :MultiCertInfo, :MaxConn, :MaxCps, :IdleConnectTimeout, :SnatEnable
- def initialize(loadbalancerid=nil, ports=nil, protocol=nil, listenernames=nil, healthcheck=nil, certificate=nil, sessionexpiretime=nil, scheduler=nil, sniswitch=nil, targettype=nil, sessiontype=nil, keepaliveenable=nil, endport=nil, deregistertargetrst=nil, multicertinfo=nil, maxconn=nil, maxcps=nil, idleconnecttimeout=nil)
+ def initialize(loadbalancerid=nil, ports=nil, protocol=nil, listenernames=nil, healthcheck=nil, certificate=nil, sessionexpiretime=nil, scheduler=nil, sniswitch=nil, targettype=nil, sessiontype=nil, keepaliveenable=nil, endport=nil, deregistertargetrst=nil, multicertinfo=nil, maxconn=nil, maxcps=nil, idleconnecttimeout=nil, snatenable=nil)
@LoadBalancerId = loadbalancerid
@Ports = ports
@Protocol = protocol
@ListenerNames = listenernames
@HealthCheck = healthcheck
@@ -1371,10 +1373,11 @@
@DeregisterTargetRst = deregistertargetrst
@MultiCertInfo = multicertinfo
@MaxConn = maxconn
@MaxCps = maxcps
@IdleConnectTimeout = idleconnecttimeout
+ @SnatEnable = snatenable
end
def deserialize(params)
@LoadBalancerId = params['LoadBalancerId']
@Ports = params['Ports']
@@ -1401,10 +1404,11 @@
@MultiCertInfo.deserialize(params['MultiCertInfo'])
end
@MaxConn = params['MaxConn']
@MaxCps = params['MaxCps']
@IdleConnectTimeout = params['IdleConnectTimeout']
+ @SnatEnable = params['SnatEnable']
end
end
# CreateListener返回参数结构体
class CreateListenerResponse < TencentCloud::Common::AbstractModel
@@ -5191,12 +5195,12 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Egress: String
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
extend Gem::Deprecate
- deprecate :Log, :none, 2024, 3
- deprecate :Log=, :none, 2024, 3
+ deprecate :Log, :none, 2024, 5
+ deprecate :Log=, :none, 2024, 5
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)
@LoadBalancerId = loadbalancerid
@LoadBalancerName = loadbalancername
@LoadBalancerType = loadbalancertype
@@ -6014,14 +6018,16 @@
# @type MaxConn: Integer
# @param MaxCps: 监听器粒度新建连接数上限,当前仅性能容量型实例且仅TCP/UDP/TCP_SSL/QUIC监听器支持。取值范围:1-实例规格新建连接上限,其中-1表示关闭监听器粒度新建连接数限速。基础网络实例不支持该参数。
# @type MaxCps: Integer
# @param IdleConnectTimeout: 空闲连接超时时间,此参数仅适用于TCP监听器,单位:秒。默认值:900,取值范围:共享型实例和独占型实例支持:300~900,性能容量型实例支持:300~2000。如需设置超过2000s,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category),最大可设置到3600s。
# @type IdleConnectTimeout: Integer
+ # @param SnatEnable: 是否开启SNAT。
+ # @type SnatEnable: Boolean
- attr_accessor :LoadBalancerId, :ListenerId, :ListenerName, :SessionExpireTime, :HealthCheck, :Certificate, :Scheduler, :SniSwitch, :TargetType, :KeepaliveEnable, :DeregisterTargetRst, :SessionType, :MultiCertInfo, :MaxConn, :MaxCps, :IdleConnectTimeout
+ attr_accessor :LoadBalancerId, :ListenerId, :ListenerName, :SessionExpireTime, :HealthCheck, :Certificate, :Scheduler, :SniSwitch, :TargetType, :KeepaliveEnable, :DeregisterTargetRst, :SessionType, :MultiCertInfo, :MaxConn, :MaxCps, :IdleConnectTimeout, :SnatEnable
- def initialize(loadbalancerid=nil, listenerid=nil, listenername=nil, sessionexpiretime=nil, healthcheck=nil, certificate=nil, scheduler=nil, sniswitch=nil, targettype=nil, keepaliveenable=nil, deregistertargetrst=nil, sessiontype=nil, multicertinfo=nil, maxconn=nil, maxcps=nil, idleconnecttimeout=nil)
+ def initialize(loadbalancerid=nil, listenerid=nil, listenername=nil, sessionexpiretime=nil, healthcheck=nil, certificate=nil, scheduler=nil, sniswitch=nil, targettype=nil, keepaliveenable=nil, deregistertargetrst=nil, sessiontype=nil, multicertinfo=nil, maxconn=nil, maxcps=nil, idleconnecttimeout=nil, snatenable=nil)
@LoadBalancerId = loadbalancerid
@ListenerId = listenerid
@ListenerName = listenername
@SessionExpireTime = sessionexpiretime
@HealthCheck = healthcheck
@@ -6034,10 +6040,11 @@
@SessionType = sessiontype
@MultiCertInfo = multicertinfo
@MaxConn = maxconn
@MaxCps = maxcps
@IdleConnectTimeout = idleconnecttimeout
+ @SnatEnable = snatenable
end
def deserialize(params)
@LoadBalancerId = params['LoadBalancerId']
@ListenerId = params['ListenerId']
@@ -6062,10 +6069,11 @@
@MultiCertInfo.deserialize(params['MultiCertInfo'])
end
@MaxConn = params['MaxConn']
@MaxCps = params['MaxCps']
@IdleConnectTimeout = params['IdleConnectTimeout']
+ @SnatEnable = params['SnatEnable']
end
end
# ModifyListener返回参数结构体
class ModifyListenerResponse < TencentCloud::Common::AbstractModel
@@ -7116,14 +7124,14 @@
# @param Weight: 后端服务修改后的转发权重,取值范围:[0,100]。此参数的优先级低于前述[Target](https://cloud.tencent.com/document/api/214/30694#Target)中的Weight参数,即最终的权重值以Target中的Weight参数值为准,仅当Target中的Weight参数为空时,才以RsWeightRule中的Weight参数为准。
# @type Weight: Integer
attr_accessor :ListenerId, :Targets, :LocationId, :Domain, :Url, :Weight
extend Gem::Deprecate
- deprecate :Domain, :none, 2024, 3
- deprecate :Domain=, :none, 2024, 3
- deprecate :Url, :none, 2024, 3
- deprecate :Url=, :none, 2024, 3
+ deprecate :Domain, :none, 2024, 5
+ deprecate :Domain=, :none, 2024, 5
+ deprecate :Url, :none, 2024, 5
+ deprecate :Url=, :none, 2024, 5
def initialize(listenerid=nil, targets=nil, locationid=nil, domain=nil, url=nil, weight=nil)
@ListenerId = listenerid
@Targets = targets
@LocationId = locationid
@@ -8026,11 +8034,11 @@
# @param HealthStatusDetial: (**该参数对象即将下线,不推荐使用,请使用HealthStatusDetail获取健康详情**) 当前健康状态的详细信息。如:Alive、Dead、Unknown。Alive状态为健康,Dead状态为异常,Unknown状态包括尚未开始探测、探测中、状态未知。
# @type HealthStatusDetial: String
attr_accessor :IP, :Port, :HealthStatus, :TargetId, :HealthStatusDetail, :HealthStatusDetial
extend Gem::Deprecate
- deprecate :HealthStatusDetial, :none, 2024, 3
- deprecate :HealthStatusDetial=, :none, 2024, 3
+ deprecate :HealthStatusDetial, :none, 2024, 5
+ deprecate :HealthStatusDetial=, :none, 2024, 5
def initialize(ip=nil, port=nil, healthstatus=nil, targetid=nil, healthstatusdetail=nil, healthstatusdetial=nil)
@IP = ip
@Port = port
@HealthStatus = healthstatus