Class: TencentCloud::Gaap::V20180529::ModifySecurityRuleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gaap::V20180529::ModifySecurityRuleRequest
- Defined in:
- lib/v20180529/models.rb
Overview
ModifySecurityRule请求参数结构体
Instance Attribute Summary collapse
-
#AliasName ⇒ Object
单个端口: 80 多个端口: 80,443 连续端口: 3306-20000 所有端口: ALL.
-
#DestPortRange ⇒ Object
单个端口: 80 多个端口: 80,443 连续端口: 3306-20000 所有端口: ALL.
-
#PolicyId ⇒ Object
单个端口: 80 多个端口: 80,443 连续端口: 3306-20000 所有端口: ALL.
-
#Protocol ⇒ Object
单个端口: 80 多个端口: 80,443 连续端口: 3306-20000 所有端口: ALL.
-
#RuleAction ⇒ Object
单个端口: 80 多个端口: 80,443 连续端口: 3306-20000 所有端口: ALL.
-
#RuleId ⇒ Object
单个端口: 80 多个端口: 80,443 连续端口: 3306-20000 所有端口: ALL.
-
#SourceCidr ⇒ Object
单个端口: 80 多个端口: 80,443 连续端口: 3306-20000 所有端口: ALL.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ruleid = nil, aliasname = nil, policyid = nil, ruleaction = nil, sourcecidr = nil, protocol = nil, destportrange = nil) ⇒ ModifySecurityRuleRequest
constructor
A new instance of ModifySecurityRuleRequest.
Constructor Details
#initialize(ruleid = nil, aliasname = nil, policyid = nil, ruleaction = nil, sourcecidr = nil, protocol = nil, destportrange = nil) ⇒ ModifySecurityRuleRequest
Returns a new instance of ModifySecurityRuleRequest.
6095 6096 6097 6098 6099 6100 6101 6102 6103 |
# File 'lib/v20180529/models.rb', line 6095 def initialize(ruleid=nil, aliasname=nil, policyid=nil, ruleaction=nil, sourcecidr=nil, protocol=nil, destportrange=nil) @RuleId = ruleid @AliasName = aliasname @PolicyId = policyid @RuleAction = ruleaction @SourceCidr = sourcecidr @Protocol = protocol @DestPortRange = destportrange end |
Instance Attribute Details
#AliasName ⇒ Object
单个端口: 80 多个端口: 80,443 连续端口: 3306-20000 所有端口: ALL
6093 6094 6095 |
# File 'lib/v20180529/models.rb', line 6093 def AliasName @AliasName end |
#DestPortRange ⇒ Object
单个端口: 80 多个端口: 80,443 连续端口: 3306-20000 所有端口: ALL
6093 6094 6095 |
# File 'lib/v20180529/models.rb', line 6093 def DestPortRange @DestPortRange end |
#PolicyId ⇒ Object
单个端口: 80 多个端口: 80,443 连续端口: 3306-20000 所有端口: ALL
6093 6094 6095 |
# File 'lib/v20180529/models.rb', line 6093 def PolicyId @PolicyId end |
#Protocol ⇒ Object
单个端口: 80 多个端口: 80,443 连续端口: 3306-20000 所有端口: ALL
6093 6094 6095 |
# File 'lib/v20180529/models.rb', line 6093 def Protocol @Protocol end |
#RuleAction ⇒ Object
单个端口: 80 多个端口: 80,443 连续端口: 3306-20000 所有端口: ALL
6093 6094 6095 |
# File 'lib/v20180529/models.rb', line 6093 def RuleAction @RuleAction end |
#RuleId ⇒ Object
单个端口: 80 多个端口: 80,443 连续端口: 3306-20000 所有端口: ALL
6093 6094 6095 |
# File 'lib/v20180529/models.rb', line 6093 def RuleId @RuleId end |
#SourceCidr ⇒ Object
单个端口: 80 多个端口: 80,443 连续端口: 3306-20000 所有端口: ALL
6093 6094 6095 |
# File 'lib/v20180529/models.rb', line 6093 def SourceCidr @SourceCidr end |
Instance Method Details
#deserialize(params) ⇒ Object
6105 6106 6107 6108 6109 6110 6111 6112 6113 |
# File 'lib/v20180529/models.rb', line 6105 def deserialize(params) @RuleId = params['RuleId'] @AliasName = params['AliasName'] @PolicyId = params['PolicyId'] @RuleAction = params['RuleAction'] @SourceCidr = params['SourceCidr'] @Protocol = params['Protocol'] @DestPortRange = params['DestPortRange'] end |