Class: TencentCloud::Cfw::V20190904::DescNatDnatRule
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::DescNatDnatRule
- Defined in:
- lib/v20190904/models.rb
Overview
NAT防火墙Dnat规则列表
Instance Attribute Summary collapse
- #Description ⇒ Object
- #FwInsId ⇒ Object
- #Id ⇒ Object
- #IpProtocol ⇒ Object
- #IsReferenced ⇒ Object
- #NatGwId ⇒ Object
- #PrivateIpAddress ⇒ Object
- #PrivatePort ⇒ Object
- #PublicIpAddress ⇒ Object
- #PublicPort ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, ipprotocol = nil, publicipaddress = nil, publicport = nil, privateipaddress = nil, privateport = nil, description = nil, isreferenced = nil, fwinsid = nil, natgwid = nil) ⇒ DescNatDnatRule
constructor
A new instance of DescNatDnatRule.
Constructor Details
#initialize(id = nil, ipprotocol = nil, publicipaddress = nil, publicport = nil, privateipaddress = nil, privateport = nil, description = nil, isreferenced = nil, fwinsid = nil, natgwid = nil) ⇒ DescNatDnatRule
Returns a new instance of DescNatDnatRule.
2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 |
# File 'lib/v20190904/models.rb', line 2466 def initialize(id=nil, ipprotocol=nil, publicipaddress=nil, publicport=nil, privateipaddress=nil, privateport=nil, description=nil, isreferenced=nil, fwinsid=nil, natgwid=nil) @Id = id @IpProtocol = ipprotocol @PublicIpAddress = publicipaddress @PublicPort = publicport @PrivateIpAddress = privateipaddress @PrivatePort = privateport @Description = description @IsReferenced = isreferenced @FwInsId = fwinsid @NatGwId = natgwid end |
Instance Attribute Details
#Description ⇒ Object
2464 2465 2466 |
# File 'lib/v20190904/models.rb', line 2464 def Description @Description end |
#FwInsId ⇒ Object
2464 2465 2466 |
# File 'lib/v20190904/models.rb', line 2464 def FwInsId @FwInsId end |
#Id ⇒ Object
2464 2465 2466 |
# File 'lib/v20190904/models.rb', line 2464 def Id @Id end |
#IpProtocol ⇒ Object
2464 2465 2466 |
# File 'lib/v20190904/models.rb', line 2464 def IpProtocol @IpProtocol end |
#IsReferenced ⇒ Object
2464 2465 2466 |
# File 'lib/v20190904/models.rb', line 2464 def IsReferenced @IsReferenced end |
#NatGwId ⇒ Object
2464 2465 2466 |
# File 'lib/v20190904/models.rb', line 2464 def NatGwId @NatGwId end |
#PrivateIpAddress ⇒ Object
2464 2465 2466 |
# File 'lib/v20190904/models.rb', line 2464 def PrivateIpAddress @PrivateIpAddress end |
#PrivatePort ⇒ Object
2464 2465 2466 |
# File 'lib/v20190904/models.rb', line 2464 def PrivatePort @PrivatePort end |
#PublicIpAddress ⇒ Object
2464 2465 2466 |
# File 'lib/v20190904/models.rb', line 2464 def PublicIpAddress @PublicIpAddress end |
#PublicPort ⇒ Object
2464 2465 2466 |
# File 'lib/v20190904/models.rb', line 2464 def PublicPort @PublicPort end |
Instance Method Details
#deserialize(params) ⇒ Object
2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 |
# File 'lib/v20190904/models.rb', line 2479 def deserialize(params) @Id = params['Id'] @IpProtocol = params['IpProtocol'] @PublicIpAddress = params['PublicIpAddress'] @PublicPort = params['PublicPort'] @PrivateIpAddress = params['PrivateIpAddress'] @PrivatePort = params['PrivatePort'] @Description = params['Description'] @IsReferenced = params['IsReferenced'] @FwInsId = params['FwInsId'] @NatGwId = params['NatGwId'] end |