Class: TencentCloud::Bmlb::V20180625::CreateL7Rule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bmlb::V20180625::CreateL7Rule
- Defined in:
- lib/v20180625/models.rb
Overview
用于创建七层监听器的转发规则的信息。目前一个七层监听器下面最多允许创建50个七层转发域名,而每一个转发域名下最多可以创建100个转发规则。
Instance Attribute Summary collapse
- #BalanceMode ⇒ Object
- #Domain ⇒ Object
- #HealthNum ⇒ Object
- #HealthSwitch ⇒ Object
- #HttpCheckDomain ⇒ Object
- #HttpCheckPath ⇒ Object
- #HttpCodes ⇒ Object
- #IntervalTime ⇒ Object
- #SessionExpire ⇒ Object
- #UnhealthNum ⇒ Object
- #Url ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, url = nil, sessionexpire = nil, healthswitch = nil, intervaltime = nil, healthnum = nil, unhealthnum = nil, httpcodes = nil, httpcheckpath = nil, httpcheckdomain = nil, balancemode = nil) ⇒ CreateL7Rule
constructor
A new instance of CreateL7Rule.
Constructor Details
#initialize(domain = nil, url = nil, sessionexpire = nil, healthswitch = nil, intervaltime = nil, healthnum = nil, unhealthnum = nil, httpcodes = nil, httpcheckpath = nil, httpcheckdomain = nil, balancemode = nil) ⇒ CreateL7Rule
Returns a new instance of CreateL7Rule.
590 591 592 593 594 595 596 597 598 599 600 601 602 |
# File 'lib/v20180625/models.rb', line 590 def initialize(domain=nil, url=nil, sessionexpire=nil, healthswitch=nil, intervaltime=nil, healthnum=nil, unhealthnum=nil, httpcodes=nil, httpcheckpath=nil, httpcheckdomain=nil, balancemode=nil) @Domain = domain @Url = url @SessionExpire = sessionexpire @HealthSwitch = healthswitch @IntervalTime = intervaltime @HealthNum = healthnum @UnhealthNum = unhealthnum @HttpCodes = httpcodes @HttpCheckPath = httpcheckpath @HttpCheckDomain = httpcheckdomain @BalanceMode = balancemode end |
Instance Attribute Details
#BalanceMode ⇒ Object
588 589 590 |
# File 'lib/v20180625/models.rb', line 588 def BalanceMode @BalanceMode end |
#Domain ⇒ Object
588 589 590 |
# File 'lib/v20180625/models.rb', line 588 def Domain @Domain end |
#HealthNum ⇒ Object
588 589 590 |
# File 'lib/v20180625/models.rb', line 588 def HealthNum @HealthNum end |
#HealthSwitch ⇒ Object
588 589 590 |
# File 'lib/v20180625/models.rb', line 588 def HealthSwitch @HealthSwitch end |
#HttpCheckDomain ⇒ Object
588 589 590 |
# File 'lib/v20180625/models.rb', line 588 def HttpCheckDomain @HttpCheckDomain end |
#HttpCheckPath ⇒ Object
588 589 590 |
# File 'lib/v20180625/models.rb', line 588 def HttpCheckPath @HttpCheckPath end |
#HttpCodes ⇒ Object
588 589 590 |
# File 'lib/v20180625/models.rb', line 588 def HttpCodes @HttpCodes end |
#IntervalTime ⇒ Object
588 589 590 |
# File 'lib/v20180625/models.rb', line 588 def IntervalTime @IntervalTime end |
#SessionExpire ⇒ Object
588 589 590 |
# File 'lib/v20180625/models.rb', line 588 def SessionExpire @SessionExpire end |
#UnhealthNum ⇒ Object
588 589 590 |
# File 'lib/v20180625/models.rb', line 588 def UnhealthNum @UnhealthNum end |
#Url ⇒ Object
588 589 590 |
# File 'lib/v20180625/models.rb', line 588 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
604 605 606 607 608 609 610 611 612 613 614 615 616 |
# File 'lib/v20180625/models.rb', line 604 def deserialize(params) @Domain = params['Domain'] @Url = params['Url'] @SessionExpire = params['SessionExpire'] @HealthSwitch = params['HealthSwitch'] @IntervalTime = params['IntervalTime'] @HealthNum = params['HealthNum'] @UnhealthNum = params['UnhealthNum'] @HttpCodes = params['HttpCodes'] @HttpCheckPath = params['HttpCheckPath'] @HttpCheckDomain = params['HttpCheckDomain'] @BalanceMode = params['BalanceMode'] end |