Class: Ansible::Ruby::Modules::Fortios_ipv4_policy

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb

Overview

This module provides management of firewall IPv4 policies on FortiOS devices.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#application_listObject?

Returns Specifies Application Control name.

Returns:

  • (Object, nil)

    Specifies Application Control name.



80
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 80

attribute :application_list

#av_profileObject?

Returns Specifies Antivirus profile name.

Returns:

  • (Object, nil)

    Specifies Antivirus profile name.



71
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 71

attribute :av_profile

#commentString?

Returns free text to describe policy.

Returns:

  • (String, nil)

    free text to describe policy.



91
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 91

attribute :comment

#dst_addrString?

Returns Specifies destination address (or group) object name(s). Required when I(state=present).

Returns:

  • (String, nil)

    Specifies destination address (or group) object name(s). Required when I(state=present).



36
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 36

attribute :dst_addr

#dst_addr_negateSymbol?

Returns Negate destination address param.

Returns:

  • (Symbol, nil)

    Negate destination address param.



40
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 40

attribute :dst_addr_negate

#dst_intfString?

Returns Specifies destination interface name(s).

Returns:

  • (String, nil)

    Specifies destination interface name(s).



24
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 24

attribute :dst_intf

#fixedportSymbol?

Returns Use fixed port for nat.

Returns:

  • (Symbol, nil)

    Use fixed port for nat.



64
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 64

attribute :fixedport

#idInteger

Returns Policy ID. Warning: policy ID number is different than Policy sequence number. The policy ID is the number assigned at policy creation. The sequence number represents the order in which the Fortigate will evaluate the rule for policy enforcement, and also the order in which rules are listed in the GUI and CLI. These two numbers do not necessarily correlate: this module is based off policy ID. TIP: policy ID can be viewed in the GUI by adding ‘ID’ to the display columns.

Returns:

  • (Integer)

    Policy ID. Warning: policy ID number is different than Policy sequence number. The policy ID is the number assigned at policy creation. The sequence number represents the order in which the Fortigate will evaluate the rule for policy enforcement, and also the order in which rules are listed in the GUI and CLI. These two numbers do not necessarily correlate: this module is based off policy ID. TIP: policy ID can be viewed in the GUI by adding ‘ID’ to the display columns



12
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 12

attribute :id

#ips_sensorObject?

Returns Specifies IPS Sensor profile name.

Returns:

  • (Object, nil)

    Specifies IPS Sensor profile name.



77
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 77

attribute :ips_sensor

#logtraffic:disable, ...

Returns Logs sessions that matched policy.

Returns:

  • (:disable, :utm, :all, nil)

    Logs sessions that matched policy.



83
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 83

attribute :logtraffic

#logtraffic_startSymbol?

Returns Logs beginning of session as well.

Returns:

  • (Symbol, nil)

    Logs beginning of session as well.



87
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 87

attribute :logtraffic_start

#natSymbol?

Returns Enable or disable Nat.

Returns:

  • (Symbol, nil)

    Enable or disable Nat.



60
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 60

attribute :nat

#policy_action:accept, ...

Returns Specifies accept or deny action policy. Required when I(state=present).

Returns:

  • (:accept, :deny, nil)

    Specifies accept or deny action policy. Required when I(state=present).



44
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 44

attribute :policy_action

#poolnameObject?

Returns Specifies NAT pool name.

Returns:

  • (Object, nil)

    Specifies NAT pool name.



68
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 68

attribute :poolname

#scheduleString?

Returns defines policy schedule.

Returns:

  • (String, nil)

    defines policy schedule.



56
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 56

attribute :schedule

#serviceString?

Returns Specifies policy service(s), could be a list (ex: [‘MAIL’,‘DNS’]). Required when I(state=present).

Returns:

  • (String, nil)

    Specifies policy service(s), could be a list (ex: [‘MAIL’,‘DNS’]). Required when I(state=present).



48
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 48

attribute :service

#service_negateSymbol?

Returns Negate policy service(s) defined in service value.

Returns:

  • (Symbol, nil)

    Negate policy service(s) defined in service value.



52
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 52

attribute :service_negate

#src_addrArray<String>, ...

Returns Specifies source address (or group) object name(s). Required when I(state=present).

Returns:

  • (Array<String>, String, nil)

    Specifies source address (or group) object name(s). Required when I(state=present).



28
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 28

attribute :src_addr

#src_addr_negateSymbol?

Returns Negate source address param.

Returns:

  • (Symbol, nil)

    Negate source address param.



32
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 32

attribute :src_addr_negate

#src_intfString?

Returns Specifies source interface name(s).

Returns:

  • (String, nil)

    Specifies source interface name(s).



20
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 20

attribute :src_intf

#state:present, ...

Returns Specifies if policy I(id) need to be added or deleted.

Returns:

  • (:present, :absent, nil)

    Specifies if policy I(id) need to be added or deleted.



16
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 16

attribute :state

#webfilter_profileObject?

Returns Specifies Webfilter profile name.

Returns:

  • (Object, nil)

    Specifies Webfilter profile name.



74
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 74

attribute :webfilter_profile