Class: TencentCloud::Waf::V20180125::UpstreamRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::UpstreamRule
- Defined in:
- lib/v20180125/models.rb
Overview
SAASWAF规则回源时的规则数据结构
Instance Attribute Summary collapse
-
#AddressList ⇒ Object
equal:等于 not equal:不等于 belong:属于 not belong:不属于 0:轮询 1:IP_HASH.
-
#BalanceType ⇒ Object
equal:等于 not equal:不等于 belong:属于 not belong:不属于 0:轮询 1:IP_HASH.
-
#ContentList ⇒ Object
equal:等于 not equal:不等于 belong:属于 not belong:不属于 0:轮询 1:IP_HASH.
-
#KeyName ⇒ Object
equal:等于 not equal:不等于 belong:属于 not belong:不属于 0:轮询 1:IP_HASH.
-
#Symbol ⇒ Object
equal:等于 not equal:不等于 belong:属于 not belong:不属于 0:轮询 1:IP_HASH.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(keyname = nil, symbol = nil, contentlist = nil, addresslist = nil, balancetype = nil) ⇒ UpstreamRule
constructor
A new instance of UpstreamRule.
Constructor Details
#initialize(keyname = nil, symbol = nil, contentlist = nil, addresslist = nil, balancetype = nil) ⇒ UpstreamRule
Returns a new instance of UpstreamRule.
19663 19664 19665 19666 19667 19668 19669 |
# File 'lib/v20180125/models.rb', line 19663 def initialize(keyname=nil, symbol=nil, contentlist=nil, addresslist=nil, balancetype=nil) @KeyName = keyname @Symbol = symbol @ContentList = contentlist @AddressList = addresslist @BalanceType = balancetype end |
Instance Attribute Details
#AddressList ⇒ Object
equal:等于not equal:不等于belong:属于not belong:不属于0:轮询1:IP_HASH
19661 19662 19663 |
# File 'lib/v20180125/models.rb', line 19661 def AddressList @AddressList end |
#BalanceType ⇒ Object
equal:等于not equal:不等于belong:属于not belong:不属于0:轮询1:IP_HASH
19661 19662 19663 |
# File 'lib/v20180125/models.rb', line 19661 def BalanceType @BalanceType end |
#ContentList ⇒ Object
equal:等于not equal:不等于belong:属于not belong:不属于0:轮询1:IP_HASH
19661 19662 19663 |
# File 'lib/v20180125/models.rb', line 19661 def ContentList @ContentList end |
#KeyName ⇒ Object
equal:等于not equal:不等于belong:属于not belong:不属于0:轮询1:IP_HASH
19661 19662 19663 |
# File 'lib/v20180125/models.rb', line 19661 def KeyName @KeyName end |
#Symbol ⇒ Object
equal:等于not equal:不等于belong:属于not belong:不属于0:轮询1:IP_HASH
19661 19662 19663 |
# File 'lib/v20180125/models.rb', line 19661 def Symbol @Symbol end |
Instance Method Details
#deserialize(params) ⇒ Object
19671 19672 19673 19674 19675 19676 19677 |
# File 'lib/v20180125/models.rb', line 19671 def deserialize(params) @KeyName = params['KeyName'] @Symbol = params['Symbol'] @ContentList = params['ContentList'] @AddressList = params['AddressList'] @BalanceType = params['BalanceType'] end |