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/cloud/openstack/os_security_group_rule.rb
Overview
Add or Remove rule from an existing security group
Instance Method Summary collapse
-
#availability_zone ⇒ Object?
Ignored.
-
#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.
-
#project ⇒ String?
Unique name or ID of the project.
-
#protocol ⇒ :tcp, ...
IP protocols TCP UDP ICMP 112 (VRRP).
-
#remote_group ⇒ String?
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, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#availability_zone ⇒ Object?
Returns Ignored. Present for backwards compatibility.
52 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_security_group_rule.rb', line 52 attribute :availability_zone |
#direction ⇒ :egress, ...
Returns The direction in which the security group rule is applied. Not all providers support egress.
40 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_security_group_rule.rb', line 40 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.
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_security_group_rule.rb', line 36 attribute :ethertype |
#port_range_max ⇒ Integer?
Returns Ending port.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_security_group_rule.rb', line 24 attribute :port_range_max |
#port_range_min ⇒ Integer?
Returns Starting port.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_security_group_rule.rb', line 20 attribute :port_range_min |
#project ⇒ String?
Returns Unique name or ID of the project.
48 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_security_group_rule.rb', line 48 attribute :project |
#protocol ⇒ :tcp, ...
Returns IP protocols TCP UDP ICMP 112 (VRRP).
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_security_group_rule.rb', line 16 attribute :protocol |
#remote_group ⇒ String?
Returns Name or ID of the Security group to link (exclusive with remote_ip_prefix).
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_security_group_rule.rb', line 32 attribute :remote_group |
#remote_ip_prefix ⇒ String?
Returns Source IP address(es) in CIDR notation (exclusive with remote_group).
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_security_group_rule.rb', line 28 attribute :remote_ip_prefix |
#security_group ⇒ String
Returns Name or ID of the security group.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_security_group_rule.rb', line 12 attribute :security_group |
#state ⇒ :present, ...
Returns Should the resource be present or absent.
44 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_security_group_rule.rb', line 44 attribute :state |