Class: TencentCloud::Keewidb::V20220308::Outbound
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Keewidb::V20220308::Outbound
- Defined in:
- lib/v20220308/models.rb
Overview
安全组出站规则
Instance Attribute Summary collapse
- #Action ⇒ Object
- #AddressModule ⇒ Object
- #CidrIp ⇒ Object
- #Desc ⇒ Object
- #Id ⇒ Object
- #IpProtocol ⇒ Object
- #PortRange ⇒ Object
- #ServiceModule ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(action = nil, addressmodule = nil, cidrip = nil, desc = nil, ipprotocol = nil, portrange = nil, servicemodule = nil, id = nil) ⇒ Outbound
constructor
A new instance of Outbound.
Constructor Details
#initialize(action = nil, addressmodule = nil, cidrip = nil, desc = nil, ipprotocol = nil, portrange = nil, servicemodule = nil, id = nil) ⇒ Outbound
Returns a new instance of Outbound.
2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 |
# File 'lib/v20220308/models.rb', line 2743 def initialize(action=nil, addressmodule=nil, cidrip=nil, desc=nil, ipprotocol=nil, portrange=nil, servicemodule=nil, id=nil) @Action = action @AddressModule = addressmodule @CidrIp = cidrip @Desc = desc @IpProtocol = ipprotocol @PortRange = portrange @ServiceModule = servicemodule @Id = id end |
Instance Attribute Details
#Action ⇒ Object
2741 2742 2743 |
# File 'lib/v20220308/models.rb', line 2741 def Action @Action end |
#AddressModule ⇒ Object
2741 2742 2743 |
# File 'lib/v20220308/models.rb', line 2741 def AddressModule @AddressModule end |
#CidrIp ⇒ Object
2741 2742 2743 |
# File 'lib/v20220308/models.rb', line 2741 def CidrIp @CidrIp end |
#Desc ⇒ Object
2741 2742 2743 |
# File 'lib/v20220308/models.rb', line 2741 def Desc @Desc end |
#Id ⇒ Object
2741 2742 2743 |
# File 'lib/v20220308/models.rb', line 2741 def Id @Id end |
#IpProtocol ⇒ Object
2741 2742 2743 |
# File 'lib/v20220308/models.rb', line 2741 def IpProtocol @IpProtocol end |
#PortRange ⇒ Object
2741 2742 2743 |
# File 'lib/v20220308/models.rb', line 2741 def PortRange @PortRange end |
#ServiceModule ⇒ Object
2741 2742 2743 |
# File 'lib/v20220308/models.rb', line 2741 def ServiceModule @ServiceModule end |
Instance Method Details
#deserialize(params) ⇒ Object
2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 |
# File 'lib/v20220308/models.rb', line 2754 def deserialize(params) @Action = params['Action'] @AddressModule = params['AddressModule'] @CidrIp = params['CidrIp'] @Desc = params['Desc'] @IpProtocol = params['IpProtocol'] @PortRange = params['PortRange'] @ServiceModule = params['ServiceModule'] @Id = params['Id'] end |