Class: TencentCloud::Teo::V20220901::ModifyL4ProxyRulesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::ModifyL4ProxyRulesRequest
- Defined in:
- lib/v20220901/models.rb
Overview
ModifyL4ProxyRules请求参数结构体
Instance Attribute Summary collapse
-
#L4ProxyRules ⇒ Object
注意:L4ProxyRule 在此处使用时,RuleId 为必填字段;Protocol、PortRange、OriginType、OriginValue、OriginPortRange、ClientIPPassThroughMode、SessionPersist、SessionPersistTime、RuleTag 均为选填字段,不填写表示不修改;Status 请勿填写。.
-
#ProxyId ⇒ Object
注意:L4ProxyRule 在此处使用时,RuleId 为必填字段;Protocol、PortRange、OriginType、OriginValue、OriginPortRange、ClientIPPassThroughMode、SessionPersist、SessionPersistTime、RuleTag 均为选填字段,不填写表示不修改;Status 请勿填写。.
-
#ZoneId ⇒ Object
注意:L4ProxyRule 在此处使用时,RuleId 为必填字段;Protocol、PortRange、OriginType、OriginValue、OriginPortRange、ClientIPPassThroughMode、SessionPersist、SessionPersistTime、RuleTag 均为选填字段,不填写表示不修改;Status 请勿填写。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zoneid = nil, proxyid = nil, l4proxyrules = nil) ⇒ ModifyL4ProxyRulesRequest
constructor
A new instance of ModifyL4ProxyRulesRequest.
Constructor Details
#initialize(zoneid = nil, proxyid = nil, l4proxyrules = nil) ⇒ ModifyL4ProxyRulesRequest
Returns a new instance of ModifyL4ProxyRulesRequest.
16223 16224 16225 16226 16227 |
# File 'lib/v20220901/models.rb', line 16223 def initialize(zoneid=nil, proxyid=nil, l4proxyrules=nil) @ZoneId = zoneid @ProxyId = proxyid @L4ProxyRules = l4proxyrules end |
Instance Attribute Details
#L4ProxyRules ⇒ Object
注意:L4ProxyRule 在此处使用时,RuleId 为必填字段;Protocol、PortRange、OriginType、OriginValue、OriginPortRange、ClientIPPassThroughMode、SessionPersist、SessionPersistTime、RuleTag 均为选填字段,不填写表示不修改;Status 请勿填写。
16221 16222 16223 |
# File 'lib/v20220901/models.rb', line 16221 def L4ProxyRules @L4ProxyRules end |
#ProxyId ⇒ Object
注意:L4ProxyRule 在此处使用时,RuleId 为必填字段;Protocol、PortRange、OriginType、OriginValue、OriginPortRange、ClientIPPassThroughMode、SessionPersist、SessionPersistTime、RuleTag 均为选填字段,不填写表示不修改;Status 请勿填写。
16221 16222 16223 |
# File 'lib/v20220901/models.rb', line 16221 def ProxyId @ProxyId end |
#ZoneId ⇒ Object
注意:L4ProxyRule 在此处使用时,RuleId 为必填字段;Protocol、PortRange、OriginType、OriginValue、OriginPortRange、ClientIPPassThroughMode、SessionPersist、SessionPersistTime、RuleTag 均为选填字段,不填写表示不修改;Status 请勿填写。
16221 16222 16223 |
# File 'lib/v20220901/models.rb', line 16221 def ZoneId @ZoneId end |
Instance Method Details
#deserialize(params) ⇒ Object
16229 16230 16231 16232 16233 16234 16235 16236 16237 16238 16239 16240 |
# File 'lib/v20220901/models.rb', line 16229 def deserialize(params) @ZoneId = params['ZoneId'] @ProxyId = params['ProxyId'] unless params['L4ProxyRules'].nil? @L4ProxyRules = [] params['L4ProxyRules'].each do |i| l4proxyrule_tmp = L4ProxyRule.new l4proxyrule_tmp.deserialize(i) @L4ProxyRules << l4proxyrule_tmp end end end |