| Class | Fog::Compute::AWS::NetworkAcl |
| In: |
lib/fog/aws/models/compute/network_acl.rb
|
| Parent: | Fog::Model |
| ICMP | = | 1 |
| TCP | = | 6 |
| UDP | = | 17 |
Add an inbound rule, shortcut method for add_rule
Add an outbound rule, shortcut method for add_rule
Add a new rule
network_acl.add_rule(100, Fog::Compute::AWS::NetworkAcl::TCP, ‘allow’, ‘0.0.0.0/0’, true, ‘PortRange.From’ => 22, ‘PortRange.To’ => 22)
True or false depending on the result
Update a specific rule number
network_acl.remove_rule(100, true)
True or false depending on the result
Update an inbound rule, shortcut method for update_rule
Update an outbound rule, shortcut method for update_rule
Update a specific rule number
network_acl.update_rule(100, Fog::Compute::AWS::NetworkAcl::TCP, ‘allow’, ‘0.0.0.0/0’, true, ‘PortRange.From’ => 22, ‘PortRange.To’ => 22)
True or false depending on the result