Class: Ansible::Ruby::Modules::Win_firewall

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/windows/win_firewall.rb

Overview

Enable or Disable Windows Firewall profiles.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#profilesArray<String>, ...

Returns Specify one or more profiles to change.

Returns:

  • (Array<String>, String, nil)

    Specify one or more profiles to change.



12
# File 'lib/ansible/ruby/modules/generated/windows/win_firewall.rb', line 12

attribute :profiles

#state:enabled, ...

Returns Set state of firewall for given profile.

Returns:

  • (:enabled, :disabled, nil)

    Set state of firewall for given profile.



16
# File 'lib/ansible/ruby/modules/generated/windows/win_firewall.rb', line 16

attribute :state