Class: TencentCloud::Bmlb::V20180625::L7RulesLocation
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bmlb::V20180625::L7RulesLocation
- Defined in:
- lib/v20180625/models.rb
Overview
获取七层转发规则时返回的转发域名下面的转发路径。
Instance Attribute Summary collapse
- #AddTimestamp ⇒ Object
- #BalanceMode ⇒ Object
- #HealthNum ⇒ Object
- #HealthSwitch ⇒ Object
- #HttpCheckDomain ⇒ Object
- #HttpCheckPath ⇒ Object
- #HttpCodes ⇒ Object
- #IntervalTime ⇒ Object
- #LocationId ⇒ Object
- #SessionExpire ⇒ Object
- #Status ⇒ Object
- #UnhealthNum ⇒ Object
- #Url ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(url = nil, locationid = nil, sessionexpire = nil, healthswitch = nil, httpcheckpath = nil, httpcheckdomain = nil, intervaltime = nil, healthnum = nil, unhealthnum = nil, httpcodes = nil, balancemode = nil, status = nil, addtimestamp = nil) ⇒ L7RulesLocation
constructor
A new instance of L7RulesLocation.
Constructor Details
#initialize(url = nil, locationid = nil, sessionexpire = nil, healthswitch = nil, httpcheckpath = nil, httpcheckdomain = nil, intervaltime = nil, healthnum = nil, unhealthnum = nil, httpcodes = nil, balancemode = nil, status = nil, addtimestamp = nil) ⇒ L7RulesLocation
Returns a new instance of L7RulesLocation.
3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 |
# File 'lib/v20180625/models.rb', line 3070 def initialize(url=nil, locationid=nil, sessionexpire=nil, healthswitch=nil, httpcheckpath=nil, httpcheckdomain=nil, intervaltime=nil, healthnum=nil, unhealthnum=nil, httpcodes=nil, balancemode=nil, status=nil, =nil) @Url = url @LocationId = locationid @SessionExpire = sessionexpire @HealthSwitch = healthswitch @HttpCheckPath = httpcheckpath @HttpCheckDomain = httpcheckdomain @IntervalTime = intervaltime @HealthNum = healthnum @UnhealthNum = unhealthnum @HttpCodes = httpcodes @BalanceMode = balancemode @Status = status @AddTimestamp = end |
Instance Attribute Details
#AddTimestamp ⇒ Object
3068 3069 3070 |
# File 'lib/v20180625/models.rb', line 3068 def AddTimestamp @AddTimestamp end |
#BalanceMode ⇒ Object
3068 3069 3070 |
# File 'lib/v20180625/models.rb', line 3068 def BalanceMode @BalanceMode end |
#HealthNum ⇒ Object
3068 3069 3070 |
# File 'lib/v20180625/models.rb', line 3068 def HealthNum @HealthNum end |
#HealthSwitch ⇒ Object
3068 3069 3070 |
# File 'lib/v20180625/models.rb', line 3068 def HealthSwitch @HealthSwitch end |
#HttpCheckDomain ⇒ Object
3068 3069 3070 |
# File 'lib/v20180625/models.rb', line 3068 def HttpCheckDomain @HttpCheckDomain end |
#HttpCheckPath ⇒ Object
3068 3069 3070 |
# File 'lib/v20180625/models.rb', line 3068 def HttpCheckPath @HttpCheckPath end |
#HttpCodes ⇒ Object
3068 3069 3070 |
# File 'lib/v20180625/models.rb', line 3068 def HttpCodes @HttpCodes end |
#IntervalTime ⇒ Object
3068 3069 3070 |
# File 'lib/v20180625/models.rb', line 3068 def IntervalTime @IntervalTime end |
#LocationId ⇒ Object
3068 3069 3070 |
# File 'lib/v20180625/models.rb', line 3068 def LocationId @LocationId end |
#SessionExpire ⇒ Object
3068 3069 3070 |
# File 'lib/v20180625/models.rb', line 3068 def SessionExpire @SessionExpire end |
#Status ⇒ Object
3068 3069 3070 |
# File 'lib/v20180625/models.rb', line 3068 def Status @Status end |
#UnhealthNum ⇒ Object
3068 3069 3070 |
# File 'lib/v20180625/models.rb', line 3068 def UnhealthNum @UnhealthNum end |
#Url ⇒ Object
3068 3069 3070 |
# File 'lib/v20180625/models.rb', line 3068 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 |
# File 'lib/v20180625/models.rb', line 3086 def deserialize(params) @Url = params['Url'] @LocationId = params['LocationId'] @SessionExpire = params['SessionExpire'] @HealthSwitch = params['HealthSwitch'] @HttpCheckPath = params['HttpCheckPath'] @HttpCheckDomain = params['HttpCheckDomain'] @IntervalTime = params['IntervalTime'] @HealthNum = params['HealthNum'] @UnhealthNum = params['UnhealthNum'] @HttpCodes = params['HttpCodes'] @BalanceMode = params['BalanceMode'] @Status = params['Status'] @AddTimestamp = params['AddTimestamp'] end |