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.
1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 |
# File 'lib/v20190904/models.rb', line 1879 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
1877 1878 1879 |
# File 'lib/v20190904/models.rb', line 1877 def Description @Description end |
#Direction ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1877 1878 1879 |
# File 'lib/v20190904/models.rb', line 1877 def Direction @Direction end |
#Enable ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1877 1878 1879 |
# File 'lib/v20190904/models.rb', line 1877 def Enable @Enable end |
#LogId ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1877 1878 1879 |
# File 'lib/v20190904/models.rb', line 1877 def LogId @LogId end |
#OrderIndex ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1877 1878 1879 |
# File 'lib/v20190904/models.rb', line 1877 def OrderIndex @OrderIndex end |
#ParamTemplateId ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1877 1878 1879 |
# File 'lib/v20190904/models.rb', line 1877 def ParamTemplateId @ParamTemplateId end |
#Port ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1877 1878 1879 |
# File 'lib/v20190904/models.rb', line 1877 def Port @Port end |
#Protocol ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1877 1878 1879 |
# File 'lib/v20190904/models.rb', line 1877 def Protocol @Protocol end |
#RuleAction ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1877 1878 1879 |
# File 'lib/v20190904/models.rb', line 1877 def RuleAction @RuleAction end |
#RuleSource ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1877 1878 1879 |
# File 'lib/v20190904/models.rb', line 1877 def RuleSource @RuleSource end |
#Scope ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1877 1878 1879 |
# File 'lib/v20190904/models.rb', line 1877 def Scope @Scope end |
#SourceContent ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1877 1878 1879 |
# File 'lib/v20190904/models.rb', line 1877 def SourceContent @SourceContent end |
#SourceType ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1877 1878 1879 |
# File 'lib/v20190904/models.rb', line 1877 def SourceType @SourceType end |
#TargetContent ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1877 1878 1879 |
# File 'lib/v20190904/models.rb', line 1877 def TargetContent @TargetContent end |
#TargetType ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1877 1878 1879 |
# File 'lib/v20190904/models.rb', line 1877 def TargetType @TargetType end |
#Uuid ⇒ Object
3.domain 请选择七层协议 如HTTP/HTTPS
1877 1878 1879 |
# File 'lib/v20190904/models.rb', line 1877 def Uuid @Uuid end |
Instance Method Details
#deserialize(params) ⇒ Object
1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 |
# File 'lib/v20190904/models.rb', line 1898 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 |