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.
12029 12030 12031 12032 12033 12034 12035 12036 12037 |
# File 'lib/v20170320/models.rb', line 12029 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
12027 12028 12029 |
# File 'lib/v20170320/models.rb', line 12027 def Action @Action end |
#AddressModule ⇒ Object
12027 12028 12029 |
# File 'lib/v20170320/models.rb', line 12027 def AddressModule @AddressModule end |
#CidrIp ⇒ Object
12027 12028 12029 |
# File 'lib/v20170320/models.rb', line 12027 def CidrIp @CidrIp end |
#Desc ⇒ Object
12027 12028 12029 |
# File 'lib/v20170320/models.rb', line 12027 def Desc @Desc end |
#Dir ⇒ Object
12027 12028 12029 |
# File 'lib/v20170320/models.rb', line 12027 def Dir @Dir end |
#IpProtocol ⇒ Object
12027 12028 12029 |
# File 'lib/v20170320/models.rb', line 12027 def IpProtocol @IpProtocol end |
#PortRange ⇒ Object
12027 12028 12029 |
# File 'lib/v20170320/models.rb', line 12027 def PortRange @PortRange end |
Instance Method Details
#deserialize(params) ⇒ Object
12039 12040 12041 12042 12043 12044 12045 12046 12047 |
# File 'lib/v20170320/models.rb', line 12039 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 |