Class: Ansible::Ruby::Modules::Cs_firewall
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cs_firewall
- Defined in:
- lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb
Overview
Creates and removes firewall rules.
Instance Method Summary collapse
-
#account ⇒ Object?
Account the firewall rule is related to.
-
#cidr ⇒ String?
CIDR (full notation) to be used for firewall rule.
-
#domain ⇒ Object?
Domain the firewall rule is related to.
-
#end_port ⇒ Integer?
End port for this rule.
-
#icmp_code ⇒ Object?
Error code for this icmp message.
-
#icmp_type ⇒ Object?
Type of the icmp message being sent.
-
#ip_address ⇒ String?
Public IP address the ingress rule is assigned to.,Required if C(type=ingress).
-
#network ⇒ String?
Network the egress rule is related to.,Required if C(type=egress).
-
#poll_async ⇒ Boolean?
Poll async jobs until job has finished.
-
#project ⇒ Object?
Name of the project the firewall rule is related to.
-
#protocol ⇒ :tcp, ...
Protocol of the firewall rule.,C(all) is only available if C(type=egress).
-
#start_port ⇒ Integer?
Start port for this rule.
-
#state ⇒ :present, ...
State of the firewall rule.
-
#type ⇒ :ingress, ...
Type of the firewall rule.
-
#zone ⇒ Object?
Name of the zone in which the virtual machine is in.,If not set, default zone is used.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#account ⇒ Object?
52 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 52 attribute :account |
#cidr ⇒ String?
31 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 31 attribute :cidr |
#domain ⇒ Object?
49 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 49 attribute :domain |
#end_port ⇒ Integer?
39 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 39 attribute :end_port |
#icmp_code ⇒ Object?
46 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 46 attribute :icmp_code |
#icmp_type ⇒ Object?
43 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 43 attribute :icmp_type |
#ip_address ⇒ String?
11 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 11 attribute :ip_address |
#network ⇒ String?
15 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 15 attribute :network |
#poll_async ⇒ Boolean?
61 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 61 attribute :poll_async |
#project ⇒ Object?
55 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 55 attribute :project |
#protocol ⇒ :tcp, ...
27 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 27 attribute :protocol |
#start_port ⇒ Integer?
35 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 35 attribute :start_port |
#state ⇒ :present, ...
19 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 19 attribute :state |
#type ⇒ :ingress, ...
23 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 23 attribute :type |
#zone ⇒ Object?
58 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 58 attribute :zone |