Class: Ansible::Ruby::Modules::Os_security_group_rule
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Os_security_group_rule
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group_rule.rb
Instance Method Summary collapse
-
#direction ⇒ :egress, ...
The direction in which the security group rule is applied.
-
#ethertype ⇒ :IPv4, ...
Must be IPv4 or IPv6, and addresses represented in CIDR must match the ingress or egress rules.
-
#port_range_max ⇒ Integer?
Ending port.
-
#port_range_min ⇒ Integer?
Starting port.
-
#protocol ⇒ :tcp, ...
IP protocol.
-
#remote_group ⇒ Object?
Name or ID of the Security group to link (exclusive with remote_ip_prefix).
-
#remote_ip_prefix ⇒ String?
Source IP address(es) in CIDR notation (exclusive with remote_group).
-
#security_group ⇒ String
Name or ID of the security group.
-
#state ⇒ :present, ...
Should the resource be present or absent.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#direction ⇒ :egress, ...
Returns The direction in which the security group rule is applied. Not all providers support egress.
37 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group_rule.rb', line 37 attribute :direction |
#ethertype ⇒ :IPv4, ...
Returns Must be IPv4 or IPv6, and addresses represented in CIDR must match the ingress or egress rules. Not all providers support IPv6.
33 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group_rule.rb', line 33 attribute :ethertype |
#port_range_max ⇒ Integer?
Returns Ending port.
22 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group_rule.rb', line 22 attribute :port_range_max |
#port_range_min ⇒ Integer?
Returns Starting port.
18 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group_rule.rb', line 18 attribute :port_range_min |
#protocol ⇒ :tcp, ...
Returns IP protocol.
14 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group_rule.rb', line 14 attribute :protocol |
#remote_group ⇒ Object?
Returns Name or ID of the Security group to link (exclusive with remote_ip_prefix).
30 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group_rule.rb', line 30 attribute :remote_group |
#remote_ip_prefix ⇒ String?
Returns Source IP address(es) in CIDR notation (exclusive with remote_group).
26 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group_rule.rb', line 26 attribute :remote_ip_prefix |
#security_group ⇒ String
Returns Name or ID of the security group.
10 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group_rule.rb', line 10 attribute :security_group |
#state ⇒ :present, ...
Returns Should the resource be present or absent.
41 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group_rule.rb', line 41 attribute :state |