Class: TencentCloud::Antiddos::V20200309::L7RuleEntry
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Antiddos::V20200309::L7RuleEntry
- Defined in:
- lib/v20200309/models.rb
Overview
L7规则
Instance Attribute Summary collapse
- #CCAIEnable ⇒ Object
- #CCEnable ⇒ Object
- #CCLevel ⇒ Object
- #CCStatus ⇒ Object
- #CCThreshold ⇒ Object
- #Cert ⇒ Object
- #CertType ⇒ Object
- #Domain ⇒ Object
- #HttpsToHttpEnable ⇒ Object
- #Id ⇒ Object
- #KeepEnable ⇒ Object
- #KeepTime ⇒ Object
- #LbType ⇒ Object
- #PrivateKey ⇒ Object
- #Protocol ⇒ Object
- #RuleId ⇒ Object
- #RuleName ⇒ Object
- #SourceList ⇒ Object
- #SourceType ⇒ Object
- #SSLId ⇒ Object
- #Status ⇒ Object
- #VirtualPort ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(keeptime = nil, domain = nil, protocol = nil, sourcetype = nil, lbtype = nil, sourcelist = nil, keepenable = nil, status = nil, ruleid = nil, ccthreshold = nil, privatekey = nil, ccenable = nil, httpstohttpenable = nil, certtype = nil, cert = nil, cclevel = nil, rulename = nil, ccstatus = nil, virtualport = nil, sslid = nil, id = nil, ccaienable = nil) ⇒ L7RuleEntry
constructor
A new instance of L7RuleEntry.
Constructor Details
#initialize(keeptime = nil, domain = nil, protocol = nil, sourcetype = nil, lbtype = nil, sourcelist = nil, keepenable = nil, status = nil, ruleid = nil, ccthreshold = nil, privatekey = nil, ccenable = nil, httpstohttpenable = nil, certtype = nil, cert = nil, cclevel = nil, rulename = nil, ccstatus = nil, virtualport = nil, sslid = nil, id = nil, ccaienable = nil) ⇒ L7RuleEntry
Returns a new instance of L7RuleEntry.
6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 |
# File 'lib/v20200309/models.rb', line 6390 def initialize(keeptime=nil, domain=nil, protocol=nil, sourcetype=nil, lbtype=nil, sourcelist=nil, keepenable=nil, status=nil, ruleid=nil, ccthreshold=nil, privatekey=nil, ccenable=nil, httpstohttpenable=nil, certtype=nil, cert=nil, cclevel=nil, rulename=nil, ccstatus=nil, virtualport=nil, sslid=nil, id=nil, ccaienable=nil) @KeepTime = keeptime @Domain = domain @Protocol = protocol @SourceType = sourcetype @LbType = lbtype @SourceList = sourcelist @KeepEnable = keepenable @Status = status @RuleId = ruleid @CCThreshold = ccthreshold @PrivateKey = privatekey @CCEnable = ccenable @HttpsToHttpEnable = httpstohttpenable @CertType = certtype @Cert = cert @CCLevel = cclevel @RuleName = rulename @CCStatus = ccstatus @VirtualPort = virtualport @SSLId = sslid @Id = id @CCAIEnable = ccaienable end |
Instance Attribute Details
#CCAIEnable ⇒ Object
6388 6389 6390 |
# File 'lib/v20200309/models.rb', line 6388 def CCAIEnable @CCAIEnable end |
#CCEnable ⇒ Object
6388 6389 6390 |
# File 'lib/v20200309/models.rb', line 6388 def CCEnable @CCEnable end |
#CCLevel ⇒ Object
6388 6389 6390 |
# File 'lib/v20200309/models.rb', line 6388 def CCLevel @CCLevel end |
#CCStatus ⇒ Object
6388 6389 6390 |
# File 'lib/v20200309/models.rb', line 6388 def CCStatus @CCStatus end |
#CCThreshold ⇒ Object
6388 6389 6390 |
# File 'lib/v20200309/models.rb', line 6388 def CCThreshold @CCThreshold end |
#Cert ⇒ Object
6388 6389 6390 |
# File 'lib/v20200309/models.rb', line 6388 def Cert @Cert end |
#CertType ⇒ Object
6388 6389 6390 |
# File 'lib/v20200309/models.rb', line 6388 def CertType @CertType end |
#Domain ⇒ Object
6388 6389 6390 |
# File 'lib/v20200309/models.rb', line 6388 def Domain @Domain end |
#HttpsToHttpEnable ⇒ Object
6388 6389 6390 |
# File 'lib/v20200309/models.rb', line 6388 def HttpsToHttpEnable @HttpsToHttpEnable end |
#Id ⇒ Object
6388 6389 6390 |
# File 'lib/v20200309/models.rb', line 6388 def Id @Id end |
#KeepEnable ⇒ Object
6388 6389 6390 |
# File 'lib/v20200309/models.rb', line 6388 def KeepEnable @KeepEnable end |
#KeepTime ⇒ Object
6388 6389 6390 |
# File 'lib/v20200309/models.rb', line 6388 def KeepTime @KeepTime end |
#LbType ⇒ Object
6388 6389 6390 |
# File 'lib/v20200309/models.rb', line 6388 def LbType @LbType end |
#PrivateKey ⇒ Object
6388 6389 6390 |
# File 'lib/v20200309/models.rb', line 6388 def PrivateKey @PrivateKey end |
#Protocol ⇒ Object
6388 6389 6390 |
# File 'lib/v20200309/models.rb', line 6388 def Protocol @Protocol end |
#RuleId ⇒ Object
6388 6389 6390 |
# File 'lib/v20200309/models.rb', line 6388 def RuleId @RuleId end |
#RuleName ⇒ Object
6388 6389 6390 |
# File 'lib/v20200309/models.rb', line 6388 def RuleName @RuleName end |
#SourceList ⇒ Object
6388 6389 6390 |
# File 'lib/v20200309/models.rb', line 6388 def SourceList @SourceList end |
#SourceType ⇒ Object
6388 6389 6390 |
# File 'lib/v20200309/models.rb', line 6388 def SourceType @SourceType end |
#SSLId ⇒ Object
6388 6389 6390 |
# File 'lib/v20200309/models.rb', line 6388 def SSLId @SSLId end |
#Status ⇒ Object
6388 6389 6390 |
# File 'lib/v20200309/models.rb', line 6388 def Status @Status end |
#VirtualPort ⇒ Object
6388 6389 6390 |
# File 'lib/v20200309/models.rb', line 6388 def VirtualPort @VirtualPort end |
Instance Method Details
#deserialize(params) ⇒ Object
6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 |
# File 'lib/v20200309/models.rb', line 6415 def deserialize(params) @KeepTime = params['KeepTime'] @Domain = params['Domain'] @Protocol = params['Protocol'] @SourceType = params['SourceType'] @LbType = params['LbType'] unless params['SourceList'].nil? @SourceList = [] params['SourceList'].each do |i| l4rulesource_tmp = L4RuleSource.new l4rulesource_tmp.deserialize(i) @SourceList << l4rulesource_tmp end end @KeepEnable = params['KeepEnable'] @Status = params['Status'] @RuleId = params['RuleId'] @CCThreshold = params['CCThreshold'] @PrivateKey = params['PrivateKey'] @CCEnable = params['CCEnable'] @HttpsToHttpEnable = params['HttpsToHttpEnable'] @CertType = params['CertType'] @Cert = params['Cert'] @CCLevel = params['CCLevel'] @RuleName = params['RuleName'] @CCStatus = params['CCStatus'] @VirtualPort = params['VirtualPort'] @SSLId = params['SSLId'] @Id = params['Id'] @CCAIEnable = params['CCAIEnable'] end |