Class: TencentCloud::Cfw::V20190904::CreateRuleItem
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::CreateRuleItem
- Defined in:
- lib/v20190904/models.rb
Overview
创建互联网边界规则参数结构
Instance Attribute Summary collapse
-
#Description ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS.
-
#Direction ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS.
-
#Enable ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS.
-
#LogId ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS.
-
#OrderIndex ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS.
-
#ParamTemplateId ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS.
-
#Port ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS.
-
#Protocol ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS.
-
#RuleAction ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS.
-
#RuleSource ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS.
-
#Scope ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS.
-
#SourceContent ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS.
-
#SourceType ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS.
-
#TargetContent ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS.
-
#TargetType ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS.
-
#Uuid ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sourcecontent = nil, sourcetype = nil, targetcontent = nil, targettype = nil, protocol = nil, ruleaction = nil, port = nil, direction = nil, orderindex = nil, uuid = nil, enable = nil, description = nil, scope = nil, rulesource = nil, logid = nil, paramtemplateid = nil) ⇒ CreateRuleItem
constructor
A new instance of CreateRuleItem.
Constructor Details
#initialize(sourcecontent = nil, sourcetype = nil, targetcontent = nil, targettype = nil, protocol = nil, ruleaction = nil, port = nil, direction = nil, orderindex = nil, uuid = nil, enable = nil, description = nil, scope = nil, rulesource = nil, logid = nil, paramtemplateid = nil) ⇒ CreateRuleItem
Returns a new instance of CreateRuleItem.
1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 |
# File 'lib/v20190904/models.rb', line 1583 def initialize(sourcecontent=nil, sourcetype=nil, targetcontent=nil, targettype=nil, protocol=nil, ruleaction=nil, port=nil, direction=nil, orderindex=nil, uuid=nil, enable=nil, description=nil, scope=nil, rulesource=nil, logid=nil, paramtemplateid=nil) @SourceContent = sourcecontent @SourceType = sourcetype @TargetContent = targetcontent @TargetType = targettype @Protocol = protocol @RuleAction = ruleaction @Port = port @Direction = direction @OrderIndex = orderindex @Uuid = uuid @Enable = enable @Description = description @Scope = scope @RuleSource = rulesource @LogId = logid @ParamTemplateId = paramtemplateid end |
Instance Attribute Details
#Description ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1581 1582 1583 |
# File 'lib/v20190904/models.rb', line 1581 def Description @Description end |
#Direction ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1581 1582 1583 |
# File 'lib/v20190904/models.rb', line 1581 def Direction @Direction end |
#Enable ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1581 1582 1583 |
# File 'lib/v20190904/models.rb', line 1581 def Enable @Enable end |
#LogId ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1581 1582 1583 |
# File 'lib/v20190904/models.rb', line 1581 def LogId @LogId end |
#OrderIndex ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1581 1582 1583 |
# File 'lib/v20190904/models.rb', line 1581 def OrderIndex @OrderIndex end |
#ParamTemplateId ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1581 1582 1583 |
# File 'lib/v20190904/models.rb', line 1581 def ParamTemplateId @ParamTemplateId end |
#Port ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1581 1582 1583 |
# File 'lib/v20190904/models.rb', line 1581 def Port @Port end |
#Protocol ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1581 1582 1583 |
# File 'lib/v20190904/models.rb', line 1581 def Protocol @Protocol end |
#RuleAction ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1581 1582 1583 |
# File 'lib/v20190904/models.rb', line 1581 def RuleAction @RuleAction end |
#RuleSource ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1581 1582 1583 |
# File 'lib/v20190904/models.rb', line 1581 def RuleSource @RuleSource end |
#Scope ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1581 1582 1583 |
# File 'lib/v20190904/models.rb', line 1581 def Scope @Scope end |
#SourceContent ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1581 1582 1583 |
# File 'lib/v20190904/models.rb', line 1581 def SourceContent @SourceContent end |
#SourceType ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1581 1582 1583 |
# File 'lib/v20190904/models.rb', line 1581 def SourceType @SourceType end |
#TargetContent ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1581 1582 1583 |
# File 'lib/v20190904/models.rb', line 1581 def TargetContent @TargetContent end |
#TargetType ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1581 1582 1583 |
# File 'lib/v20190904/models.rb', line 1581 def TargetType @TargetType end |
#Uuid ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1581 1582 1583 |
# File 'lib/v20190904/models.rb', line 1581 def Uuid @Uuid end |
Instance Method Details
#deserialize(params) ⇒ Object
1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 |
# File 'lib/v20190904/models.rb', line 1602 def deserialize(params) @SourceContent = params['SourceContent'] @SourceType = params['SourceType'] @TargetContent = params['TargetContent'] @TargetType = params['TargetType'] @Protocol = params['Protocol'] @RuleAction = params['RuleAction'] @Port = params['Port'] @Direction = params['Direction'] @OrderIndex = params['OrderIndex'] @Uuid = params['Uuid'] @Enable = params['Enable'] @Description = params['Description'] @Scope = params['Scope'] @RuleSource = params['RuleSource'] @LogId = params['LogId'] @ParamTemplateId = params['ParamTemplateId'] end |