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
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, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#action ⇒ :allow, :block
Returns what to do with the items this rule is for.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 26 attribute :action |
#description ⇒ Object?
Returns description for the firewall rule.
30 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 30 attribute :description |
#direction ⇒ :In, :Out
Returns is this rule for inbound or outbound trafic.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 22 attribute :direction |
#enable ⇒ :yes, ...
Returns is this firewall rule enabled or disabled.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 10 attribute :enable |
#force ⇒ Boolean?
Returns Enforces the change if a rule with different values exists.
59 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 59 attribute :force |
#localip ⇒ Object?
Returns the local ip address this rule applies to.
33 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 33 attribute :localip |
#localport ⇒ Integer?
Returns the local port this rule applies to.
39 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 39 attribute :localport |
#name ⇒ String
Returns the rules name.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 18 attribute :name |
#profile ⇒ Object?
Returns the profile this rule applies to.
56 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 56 attribute :profile |
#program ⇒ Object?
Returns the program this rule applies to.
46 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 46 attribute :program |
#protocol ⇒ String?
Returns the protocol this rule applies to.
52 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 52 attribute :protocol |
#remoteip ⇒ Object?
Returns the remote ip address/range this rule applies to.
36 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 36 attribute :remoteip |
#remoteport ⇒ Object?
Returns the remote port this rule applies to.
43 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 43 attribute :remoteport |
#service ⇒ Object?
Returns the service this rule applies to.
49 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 49 attribute :service |
#state ⇒ :present, :absent
Returns should this rule be added or removed.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 14 attribute :state |