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
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, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#account ⇒ Object?
Returns Account the firewall rule is related to.
51 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 51 attribute :account |
#cidr ⇒ String?
Returns CIDR (full notation) to be used for firewall rule.
30 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 30 attribute :cidr |
#domain ⇒ Object?
Returns Domain the firewall rule is related to.
48 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 48 attribute :domain |
#end_port ⇒ Integer?
Returns End port for this rule. Considered if C(protocol=tcp) or C(protocol=udp). If not specified, equal C(start_port).
38 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 38 attribute :end_port |
#icmp_code ⇒ Object?
Returns Error code for this icmp message. Considered if C(protocol=icmp).
45 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 45 attribute :icmp_code |
#icmp_type ⇒ Object?
Returns Type of the icmp message being sent. Considered if C(protocol=icmp).
42 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 42 attribute :icmp_type |
#ip_address ⇒ String?
Returns Public IP address the ingress rule is assigned to.,Required if C(type=ingress).
10 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 10 attribute :ip_address |
#network ⇒ String?
Returns Network the egress rule is related to.,Required if C(type=egress).
14 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 14 attribute :network |
#poll_async ⇒ Boolean?
Returns Poll async jobs until job has finished.
60 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 60 attribute :poll_async |
#project ⇒ Object?
Returns Name of the project the firewall rule is related to.
54 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 54 attribute :project |
#protocol ⇒ :tcp, ...
Returns Protocol of the firewall rule.,C(all) is only available if C(type=egress).
26 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 26 attribute :protocol |
#start_port ⇒ Integer?
Returns Start port for this rule. Considered if C(protocol=tcp) or C(protocol=udp).
34 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 34 attribute :start_port |
#state ⇒ :present, ...
Returns State of the firewall rule.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 18 attribute :state |
#type ⇒ :ingress, ...
Returns Type of the firewall rule.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 22 attribute :type |
#zone ⇒ Object?
Returns Name of the zone in which the virtual machine is in.,If not set, default zone is used.
57 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_firewall.rb', line 57 attribute :zone |