Class: TencentCloud::Bmlb::V20180625::ModifyL7LocationRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bmlb::V20180625::ModifyL7LocationRule
- Defined in:
- lib/v20180625/models.rb
Overview
修改黑石负载均衡七层转发路径时待修改的七层转发规则信息。
Instance Attribute Summary collapse
- #BalanceMode ⇒ Object
- #Domain ⇒ Object
- #DomainId ⇒ Object
- #HealthNum ⇒ Object
- #HealthSwitch ⇒ Object
- #HttpCheckDomain ⇒ Object
- #HttpCheckPath ⇒ Object
- #HttpCodes ⇒ Object
- #IntervalTime ⇒ Object
- #LocationId ⇒ Object
- #SessionExpire ⇒ Object
- #UnhealthNum ⇒ Object
- #Url ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domainid = nil, locationid = nil, url = nil, sessionexpire = nil, healthswitch = nil, intervaltime = nil, healthnum = nil, unhealthnum = nil, httpcodes = nil, httpcheckpath = nil, httpcheckdomain = nil, balancemode = nil, domain = nil) ⇒ ModifyL7LocationRule
constructor
A new instance of ModifyL7LocationRule.
Constructor Details
#initialize(domainid = nil, locationid = nil, url = nil, sessionexpire = nil, healthswitch = nil, intervaltime = nil, healthnum = nil, unhealthnum = nil, httpcodes = nil, httpcheckpath = nil, httpcheckdomain = nil, balancemode = nil, domain = nil) ⇒ ModifyL7LocationRule
Returns a new instance of ModifyL7LocationRule.
3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 |
# File 'lib/v20180625/models.rb', line 3779 def initialize(domainid=nil, locationid=nil, url=nil, sessionexpire=nil, healthswitch=nil, intervaltime=nil, healthnum=nil, unhealthnum=nil, httpcodes=nil, httpcheckpath=nil, httpcheckdomain=nil, balancemode=nil, domain=nil) @DomainId = domainid @LocationId = locationid @Url = url @SessionExpire = sessionexpire @HealthSwitch = healthswitch @IntervalTime = intervaltime @HealthNum = healthnum @UnhealthNum = unhealthnum @HttpCodes = httpcodes @HttpCheckPath = httpcheckpath @HttpCheckDomain = httpcheckdomain @BalanceMode = balancemode @Domain = domain end |
Instance Attribute Details
#BalanceMode ⇒ Object
3777 3778 3779 |
# File 'lib/v20180625/models.rb', line 3777 def BalanceMode @BalanceMode end |
#Domain ⇒ Object
3777 3778 3779 |
# File 'lib/v20180625/models.rb', line 3777 def Domain @Domain end |
#DomainId ⇒ Object
3777 3778 3779 |
# File 'lib/v20180625/models.rb', line 3777 def DomainId @DomainId end |
#HealthNum ⇒ Object
3777 3778 3779 |
# File 'lib/v20180625/models.rb', line 3777 def HealthNum @HealthNum end |
#HealthSwitch ⇒ Object
3777 3778 3779 |
# File 'lib/v20180625/models.rb', line 3777 def HealthSwitch @HealthSwitch end |
#HttpCheckDomain ⇒ Object
3777 3778 3779 |
# File 'lib/v20180625/models.rb', line 3777 def HttpCheckDomain @HttpCheckDomain end |
#HttpCheckPath ⇒ Object
3777 3778 3779 |
# File 'lib/v20180625/models.rb', line 3777 def HttpCheckPath @HttpCheckPath end |
#HttpCodes ⇒ Object
3777 3778 3779 |
# File 'lib/v20180625/models.rb', line 3777 def HttpCodes @HttpCodes end |
#IntervalTime ⇒ Object
3777 3778 3779 |
# File 'lib/v20180625/models.rb', line 3777 def IntervalTime @IntervalTime end |
#LocationId ⇒ Object
3777 3778 3779 |
# File 'lib/v20180625/models.rb', line 3777 def LocationId @LocationId end |
#SessionExpire ⇒ Object
3777 3778 3779 |
# File 'lib/v20180625/models.rb', line 3777 def SessionExpire @SessionExpire end |
#UnhealthNum ⇒ Object
3777 3778 3779 |
# File 'lib/v20180625/models.rb', line 3777 def UnhealthNum @UnhealthNum end |
#Url ⇒ Object
3777 3778 3779 |
# File 'lib/v20180625/models.rb', line 3777 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 |
# File 'lib/v20180625/models.rb', line 3795 def deserialize(params) @DomainId = params['DomainId'] @LocationId = params['LocationId'] @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'] @Domain = params['Domain'] end |