Class: Ansible::Ruby::Modules::Win_firewall_rule
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Win_firewall_rule
- Defined in:
- lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb
Overview
allows you to create/remove/update firewall rules
Instance Method Summary collapse
-
#action ⇒ :allow, :block
What to do with the items this rule is for.
-
#description ⇒ Object?
Description for the firewall rule.
-
#direction ⇒ :In, :Out
Is this rule for inbound or outbound trafic.
-
#enable ⇒ :yes, ...
Is this firewall rule enabled or disabled.
-
#force ⇒ Boolean?
Enforces the change if a rule with different values exists.
-
#localip ⇒ Object?
The local ip address this rule applies to.
-
#localport ⇒ Integer?
The local port this rule applies to.
-
#name ⇒ String
The rules name.
-
#profile ⇒ Object?
The profile this rule applies to.
-
#program ⇒ Object?
The program this rule applies to.
-
#protocol ⇒ String?
The protocol this rule applies to.
-
#remoteip ⇒ Object?
The remote ip address/range this rule applies to.
-
#remoteport ⇒ Object?
The remote port this rule applies to.
-
#service ⇒ Object?
The service this rule applies to.
-
#state ⇒ :present, :absent
Should this rule be added or removed.
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
#action ⇒ :allow, :block
27 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 27 attribute :action |
#description ⇒ Object?
31 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 31 attribute :description |
#direction ⇒ :In, :Out
23 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 23 attribute :direction |
#enable ⇒ :yes, ...
11 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 11 attribute :enable |
#force ⇒ Boolean?
60 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 60 attribute :force |
#localip ⇒ Object?
34 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 34 attribute :localip |
#localport ⇒ Integer?
40 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 40 attribute :localport |
#name ⇒ String
19 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 19 attribute :name |
#profile ⇒ Object?
57 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 57 attribute :profile |
#program ⇒ Object?
47 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 47 attribute :program |
#protocol ⇒ String?
53 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 53 attribute :protocol |
#remoteip ⇒ Object?
37 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 37 attribute :remoteip |
#remoteport ⇒ Object?
44 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 44 attribute :remoteport |
#service ⇒ Object?
50 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 50 attribute :service |
#state ⇒ :present, :absent
15 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 15 attribute :state |