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/windows/win_firewall_rule.rb
Overview
Allows you to create/remove/update firewall rules.
Instance Method Summary collapse
-
#action ⇒ :allow, ...
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 traffic.
-
#enabled ⇒ :yes, ...
Is this firewall rule enabled or disabled.
-
#force ⇒ :yes, ...
Replace any existing rule by removing it first.,This is no longer required in 2.4 as rules no longer need replacing when being modified.,DEPRECATED in 2.4 and will be removed in 2.9.
-
#localip ⇒ String?
The local ip address this rule applies to.
-
#localport ⇒ Integer?
The local port this rule applies to.
-
#name ⇒ String
The rules name.
-
#profiles ⇒ Array<String>, ...
The profile this rule applies to.
-
#program ⇒ Object?
The program this rule applies to.
-
#protocol ⇒ String?
The protocol this rule applies to.
-
#remoteip ⇒ String?
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 ⇒ :absent, ...
Should this rule be added or removed.
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
#action ⇒ :allow, ...
28 |
# File 'lib/ansible/ruby/modules/generated/windows/win_firewall_rule.rb', line 28 attribute :action |
#description ⇒ Object?
32 |
# File 'lib/ansible/ruby/modules/generated/windows/win_firewall_rule.rb', line 32 attribute :description |
#direction ⇒ :in, :out
24 |
# File 'lib/ansible/ruby/modules/generated/windows/win_firewall_rule.rb', line 24 attribute :direction |
#enabled ⇒ :yes, ...
12 |
# File 'lib/ansible/ruby/modules/generated/windows/win_firewall_rule.rb', line 12 attribute :enabled |
#force ⇒ :yes, ...
64 |
# File 'lib/ansible/ruby/modules/generated/windows/win_firewall_rule.rb', line 64 attribute :force |
#localip ⇒ String?
35 |
# File 'lib/ansible/ruby/modules/generated/windows/win_firewall_rule.rb', line 35 attribute :localip |
#localport ⇒ Integer?
43 |
# File 'lib/ansible/ruby/modules/generated/windows/win_firewall_rule.rb', line 43 attribute :localport |
#name ⇒ String
20 |
# File 'lib/ansible/ruby/modules/generated/windows/win_firewall_rule.rb', line 20 attribute :name |
#profiles ⇒ Array<String>, ...
60 |
# File 'lib/ansible/ruby/modules/generated/windows/win_firewall_rule.rb', line 60 attribute :profiles |
#program ⇒ Object?
50 |
# File 'lib/ansible/ruby/modules/generated/windows/win_firewall_rule.rb', line 50 attribute :program |
#protocol ⇒ String?
56 |
# File 'lib/ansible/ruby/modules/generated/windows/win_firewall_rule.rb', line 56 attribute :protocol |
#remoteip ⇒ String?
39 |
# File 'lib/ansible/ruby/modules/generated/windows/win_firewall_rule.rb', line 39 attribute :remoteip |
#remoteport ⇒ Object?
47 |
# File 'lib/ansible/ruby/modules/generated/windows/win_firewall_rule.rb', line 47 attribute :remoteport |
#service ⇒ Object?
53 |
# File 'lib/ansible/ruby/modules/generated/windows/win_firewall_rule.rb', line 53 attribute :service |
#state ⇒ :absent, ...
16 |
# File 'lib/ansible/ruby/modules/generated/windows/win_firewall_rule.rb', line 16 attribute :state |