Class: Ansible::Ruby::Modules::Win_firewall_rule

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

Instance Method Summary collapse

Methods inherited from Base

#to_h

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.

Returns:

  • (:allow, :block)

    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

#descriptionObject?

Returns description for the firewall rule.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:In, :Out)

    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.

Returns:

  • (:yes, :no, nil)

    is this firewall rule enabled or disabled



10
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 10

attribute :enable

#forceBoolean?

Returns Enforces the change if a rule with different values exists.

Returns:

  • (Boolean, nil)

    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

#localipObject?

Returns the local ip address this rule applies to.

Returns:

  • (Object, nil)

    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

#localportInteger?

Returns the local port this rule applies to.

Returns:

  • (Integer, nil)

    the local port this rule applies to



39
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 39

attribute :localport

#nameString

Returns the rules name.

Returns:

  • (String)

    the rules name



18
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 18

attribute :name

#profileObject?

Returns the profile this rule applies to.

Returns:

  • (Object, nil)

    the profile this rule applies to



56
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 56

attribute :profile

#programObject?

Returns the program this rule applies to.

Returns:

  • (Object, nil)

    the program this rule applies to



46
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 46

attribute :program

#protocolString?

Returns the protocol this rule applies to.

Returns:

  • (String, nil)

    the protocol this rule applies to



52
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 52

attribute :protocol

#remoteipObject?

Returns the remote ip address/range this rule applies to.

Returns:

  • (Object, nil)

    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

#remoteportObject?

Returns the remote port this rule applies to.

Returns:

  • (Object, nil)

    the remote port this rule applies to



43
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 43

attribute :remoteport

#serviceObject?

Returns the service this rule applies to.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:present, :absent)

    should this rule be added or removed



14
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_firewall_rule.rb', line 14

attribute :state