Class: TencentCloud::Mongodb::V20190725::SecurityGroupBound
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mongodb::V20190725::SecurityGroupBound
- Defined in:
- lib/v20190725/models.rb
Overview
安全组规则
Instance Attribute Summary collapse
-
#Action ⇒ Object
- ACCEPT:允许,放行该端口相应的访问请求。 - DROP:拒绝,直接丢弃数据包,不返回任何回应信息。.
-
#AddressModule ⇒ Object
- ACCEPT:允许,放行该端口相应的访问请求。 - DROP:拒绝,直接丢弃数据包,不返回任何回应信息。.
-
#CidrIp ⇒ Object
- ACCEPT:允许,放行该端口相应的访问请求。 - DROP:拒绝,直接丢弃数据包,不返回任何回应信息。.
-
#Desc ⇒ Object
- ACCEPT:允许,放行该端口相应的访问请求。 - DROP:拒绝,直接丢弃数据包,不返回任何回应信息。.
-
#Id ⇒ Object
- ACCEPT:允许,放行该端口相应的访问请求。 - DROP:拒绝,直接丢弃数据包,不返回任何回应信息。.
-
#IpProtocol ⇒ Object
- ACCEPT:允许,放行该端口相应的访问请求。 - DROP:拒绝,直接丢弃数据包,不返回任何回应信息。.
-
#PortRange ⇒ Object
- ACCEPT:允许,放行该端口相应的访问请求。 - DROP:拒绝,直接丢弃数据包,不返回任何回应信息。.
-
#ServiceModule ⇒ Object
- ACCEPT:允许,放行该端口相应的访问请求。 - DROP:拒绝,直接丢弃数据包,不返回任何回应信息。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(action = nil, cidrip = nil, portrange = nil, ipprotocol = nil, id = nil, addressmodule = nil, servicemodule = nil, desc = nil) ⇒ SecurityGroupBound
constructor
A new instance of SecurityGroupBound.
Constructor Details
#initialize(action = nil, cidrip = nil, portrange = nil, ipprotocol = nil, id = nil, addressmodule = nil, servicemodule = nil, desc = nil) ⇒ SecurityGroupBound
Returns a new instance of SecurityGroupBound.
5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 |
# File 'lib/v20190725/models.rb', line 5698 def initialize(action=nil, cidrip=nil, portrange=nil, ipprotocol=nil, id=nil, addressmodule=nil, servicemodule=nil, desc=nil) @Action = action @CidrIp = cidrip @PortRange = portrange @IpProtocol = ipprotocol @Id = id @AddressModule = addressmodule @ServiceModule = servicemodule @Desc = desc end |
Instance Attribute Details
#Action ⇒ Object
- ACCEPT:允许,放行该端口相应的访问请求。
- DROP:拒绝,直接丢弃数据包,不返回任何回应信息。
5696 5697 5698 |
# File 'lib/v20190725/models.rb', line 5696 def Action @Action end |
#AddressModule ⇒ Object
- ACCEPT:允许,放行该端口相应的访问请求。
- DROP:拒绝,直接丢弃数据包,不返回任何回应信息。
5696 5697 5698 |
# File 'lib/v20190725/models.rb', line 5696 def AddressModule @AddressModule end |
#CidrIp ⇒ Object
- ACCEPT:允许,放行该端口相应的访问请求。
- DROP:拒绝,直接丢弃数据包,不返回任何回应信息。
5696 5697 5698 |
# File 'lib/v20190725/models.rb', line 5696 def CidrIp @CidrIp end |
#Desc ⇒ Object
- ACCEPT:允许,放行该端口相应的访问请求。
- DROP:拒绝,直接丢弃数据包,不返回任何回应信息。
5696 5697 5698 |
# File 'lib/v20190725/models.rb', line 5696 def Desc @Desc end |
#Id ⇒ Object
- ACCEPT:允许,放行该端口相应的访问请求。
- DROP:拒绝,直接丢弃数据包,不返回任何回应信息。
5696 5697 5698 |
# File 'lib/v20190725/models.rb', line 5696 def Id @Id end |
#IpProtocol ⇒ Object
- ACCEPT:允许,放行该端口相应的访问请求。
- DROP:拒绝,直接丢弃数据包,不返回任何回应信息。
5696 5697 5698 |
# File 'lib/v20190725/models.rb', line 5696 def IpProtocol @IpProtocol end |
#PortRange ⇒ Object
- ACCEPT:允许,放行该端口相应的访问请求。
- DROP:拒绝,直接丢弃数据包,不返回任何回应信息。
5696 5697 5698 |
# File 'lib/v20190725/models.rb', line 5696 def PortRange @PortRange end |
#ServiceModule ⇒ Object
- ACCEPT:允许,放行该端口相应的访问请求。
- DROP:拒绝,直接丢弃数据包,不返回任何回应信息。
5696 5697 5698 |
# File 'lib/v20190725/models.rb', line 5696 def ServiceModule @ServiceModule end |
Instance Method Details
#deserialize(params) ⇒ Object
5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 |
# File 'lib/v20190725/models.rb', line 5709 def deserialize(params) @Action = params['Action'] @CidrIp = params['CidrIp'] @PortRange = params['PortRange'] @IpProtocol = params['IpProtocol'] @Id = params['Id'] @AddressModule = params['AddressModule'] @ServiceModule = params['ServiceModule'] @Desc = params['Desc'] end |