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.
11918 11919 11920 11921 11922 11923 11924 11925 11926 |
# File 'lib/v20170320/models.rb', line 11918 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
11916 11917 11918 |
# File 'lib/v20170320/models.rb', line 11916 def Action @Action end |
#AddressModule ⇒ Object
11916 11917 11918 |
# File 'lib/v20170320/models.rb', line 11916 def AddressModule @AddressModule end |
#CidrIp ⇒ Object
11916 11917 11918 |
# File 'lib/v20170320/models.rb', line 11916 def CidrIp @CidrIp end |
#Desc ⇒ Object
11916 11917 11918 |
# File 'lib/v20170320/models.rb', line 11916 def Desc @Desc end |
#Dir ⇒ Object
11916 11917 11918 |
# File 'lib/v20170320/models.rb', line 11916 def Dir @Dir end |
#IpProtocol ⇒ Object
11916 11917 11918 |
# File 'lib/v20170320/models.rb', line 11916 def IpProtocol @IpProtocol end |
#PortRange ⇒ Object
11916 11917 11918 |
# File 'lib/v20170320/models.rb', line 11916 def PortRange @PortRange end |
Instance Method Details
#deserialize(params) ⇒ Object
11928 11929 11930 11931 11932 11933 11934 11935 11936 |
# File 'lib/v20170320/models.rb', line 11928 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 |