Class: TencentCloud::Cdb::V20170320::Outbound
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::Outbound
- Defined in:
- lib/v20170320/models.rb
Overview
安全组出站规则
Instance Attribute Summary collapse
- #Action ⇒ Object
- #AddressModule ⇒ Object
- #CidrIp ⇒ Object
- #Desc ⇒ Object
- #Dir ⇒ Object
- #IpProtocol ⇒ Object
- #PortRange ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(action = nil, cidrip = nil, portrange = nil, ipprotocol = nil, dir = nil, addressmodule = nil, desc = nil) ⇒ Outbound
constructor
A new instance of Outbound.
Constructor Details
#initialize(action = nil, cidrip = nil, portrange = nil, ipprotocol = nil, dir = nil, addressmodule = nil, desc = nil) ⇒ Outbound
Returns a new instance of Outbound.
12208 12209 12210 12211 12212 12213 12214 12215 12216 |
# File 'lib/v20170320/models.rb', line 12208 def initialize(action=nil, cidrip=nil, portrange=nil, ipprotocol=nil, dir=nil, addressmodule=nil, desc=nil) @Action = action @CidrIp = cidrip @PortRange = portrange @IpProtocol = ipprotocol @Dir = dir @AddressModule = addressmodule @Desc = desc end |
Instance Attribute Details
#Action ⇒ Object
12206 12207 12208 |
# File 'lib/v20170320/models.rb', line 12206 def Action @Action end |
#AddressModule ⇒ Object
12206 12207 12208 |
# File 'lib/v20170320/models.rb', line 12206 def AddressModule @AddressModule end |
#CidrIp ⇒ Object
12206 12207 12208 |
# File 'lib/v20170320/models.rb', line 12206 def CidrIp @CidrIp end |
#Desc ⇒ Object
12206 12207 12208 |
# File 'lib/v20170320/models.rb', line 12206 def Desc @Desc end |
#Dir ⇒ Object
12206 12207 12208 |
# File 'lib/v20170320/models.rb', line 12206 def Dir @Dir end |
#IpProtocol ⇒ Object
12206 12207 12208 |
# File 'lib/v20170320/models.rb', line 12206 def IpProtocol @IpProtocol end |
#PortRange ⇒ Object
12206 12207 12208 |
# File 'lib/v20170320/models.rb', line 12206 def PortRange @PortRange end |
Instance Method Details
#deserialize(params) ⇒ Object
12218 12219 12220 12221 12222 12223 12224 12225 12226 |
# File 'lib/v20170320/models.rb', line 12218 def deserialize(params) @Action = params['Action'] @CidrIp = params['CidrIp'] @PortRange = params['PortRange'] @IpProtocol = params['IpProtocol'] @Dir = params['Dir'] @AddressModule = params['AddressModule'] @Desc = params['Desc'] end |