Class: TencentCloud::Bmlb::V20180625::L7ListenerInfoLocation
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bmlb::V20180625::L7ListenerInfoLocation
- Defined in:
- lib/v20180625/models.rb
Overview
查询绑定了某主机的七层监听器时返回的转发路径。
Instance Attribute Summary collapse
- #AddTimestamp ⇒ Object
- #BackendSet ⇒ 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, backendset = nil) ⇒ L7ListenerInfoLocation
constructor
A new instance of L7ListenerInfoLocation.
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, backendset = nil) ⇒ L7ListenerInfoLocation
2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 |
# File 'lib/v20180625/models.rb', line 2919 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, backendset=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 = @BackendSet = backendset end |
Instance Attribute Details
#AddTimestamp ⇒ Object
2917 2918 2919 |
# File 'lib/v20180625/models.rb', line 2917 def AddTimestamp @AddTimestamp end |
#BackendSet ⇒ Object
2917 2918 2919 |
# File 'lib/v20180625/models.rb', line 2917 def BackendSet @BackendSet end |
#BalanceMode ⇒ Object
2917 2918 2919 |
# File 'lib/v20180625/models.rb', line 2917 def BalanceMode @BalanceMode end |
#HealthNum ⇒ Object
2917 2918 2919 |
# File 'lib/v20180625/models.rb', line 2917 def HealthNum @HealthNum end |
#HealthSwitch ⇒ Object
2917 2918 2919 |
# File 'lib/v20180625/models.rb', line 2917 def HealthSwitch @HealthSwitch end |
#HttpCheckDomain ⇒ Object
2917 2918 2919 |
# File 'lib/v20180625/models.rb', line 2917 def HttpCheckDomain @HttpCheckDomain end |
#HttpCheckPath ⇒ Object
2917 2918 2919 |
# File 'lib/v20180625/models.rb', line 2917 def HttpCheckPath @HttpCheckPath end |
#HttpCodes ⇒ Object
2917 2918 2919 |
# File 'lib/v20180625/models.rb', line 2917 def HttpCodes @HttpCodes end |
#IntervalTime ⇒ Object
2917 2918 2919 |
# File 'lib/v20180625/models.rb', line 2917 def IntervalTime @IntervalTime end |
#LocationId ⇒ Object
2917 2918 2919 |
# File 'lib/v20180625/models.rb', line 2917 def LocationId @LocationId end |
#SessionExpire ⇒ Object
2917 2918 2919 |
# File 'lib/v20180625/models.rb', line 2917 def SessionExpire @SessionExpire end |
#Status ⇒ Object
2917 2918 2919 |
# File 'lib/v20180625/models.rb', line 2917 def Status @Status end |
#UnhealthNum ⇒ Object
2917 2918 2919 |
# File 'lib/v20180625/models.rb', line 2917 def UnhealthNum @UnhealthNum end |
#Url ⇒ Object
2917 2918 2919 |
# File 'lib/v20180625/models.rb', line 2917 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 |
# File 'lib/v20180625/models.rb', line 2936 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'] unless params['BackendSet'].nil? @BackendSet = [] params['BackendSet'].each do |i| l7listenerinfobackend_tmp = L7ListenerInfoBackend.new l7listenerinfobackend_tmp.deserialize(i) @BackendSet << l7listenerinfobackend_tmp end end end |