Class: Ansible::Ruby::Modules::Avi_wafpolicy

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

Overview

This module is used to configure WafPolicy object more examples at U(github.com/avinetworks/devops)

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

#avi_api_patch_op:add, ...

Returns Patch operation to use when using avi_api_update_method as patch.

Returns:

  • (:add, :replace, :delete, nil)

    Patch operation to use when using avi_api_update_method as patch.



21
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_wafpolicy.rb', line 21

attribute :avi_api_patch_op

#avi_api_update_method:put, ...

Returns Default method for object update is HTTP PUT.,Setting to patch will override that behavior to use HTTP PATCH.

Returns:

  • (:put, :patch, nil)

    Default method for object update is HTTP PUT.,Setting to patch will override that behavior to use HTTP PATCH.



17
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_wafpolicy.rb', line 17

attribute :avi_api_update_method

#created_byObject?

Returns Creator name.,Field introduced in 17.2.4.

Returns:

  • (Object, nil)

    Creator name.,Field introduced in 17.2.4.



25
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_wafpolicy.rb', line 25

attribute :created_by

#crs_groupsObject?

Returns Waf rules are categorized in to groups based on their characterization.,These groups are system created with crs groups.,Field introduced in 17.2.1.

Returns:

  • (Object, nil)

    Waf rules are categorized in to groups based on their characterization.,These groups are system created with crs groups.,Field introduced in 17.2.1.



28
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_wafpolicy.rb', line 28

attribute :crs_groups

#descriptionObject?

Returns Field introduced in 17.2.1.

Returns:

  • (Object, nil)

    Field introduced in 17.2.1.



31
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_wafpolicy.rb', line 31

attribute :description

#modeObject

Returns Waf policy mode.,This can be detection or enforcement.,Enum options - WAF_MODE_DETECTION_ONLY, WAF_MODE_ENFORCEMENT.,Field introduced in 17.2.1.,Default value when not specified in API or module is interpreted by Avi Controller as WAF_MODE_DETECTION_ONLY.

Returns:

  • (Object)

    Waf policy mode.,This can be detection or enforcement.,Enum options - WAF_MODE_DETECTION_ONLY, WAF_MODE_ENFORCEMENT.,Field introduced in 17.2.1.,Default value when not specified in API or module is interpreted by Avi Controller as WAF_MODE_DETECTION_ONLY.



34
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_wafpolicy.rb', line 34

attribute :mode

#nameString

Returns Field introduced in 17.2.1.

Returns:

  • (String)

    Field introduced in 17.2.1.



38
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_wafpolicy.rb', line 38

attribute :name

#paranoia_levelObject?

Returns Waf ruleset paranoia mode.,This is used to select rules based on the paranoia-level tag.,Enum options - WAF_PARANOIA_LEVEL_LOW, WAF_PARANOIA_LEVEL_MEDIUM, WAF_PARANOIA_LEVEL_HIGH, WAF_PARANOIA_LEVEL_EXTREME.,Field introduced in 17.2.1.,Default value when not specified in API or module is interpreted by Avi Controller as WAF_PARANOIA_LEVEL_LOW.

Returns:

  • (Object, nil)

    Waf ruleset paranoia mode.,This is used to select rules based on the paranoia-level tag.,Enum options - WAF_PARANOIA_LEVEL_LOW, WAF_PARANOIA_LEVEL_MEDIUM, WAF_PARANOIA_LEVEL_HIGH, WAF_PARANOIA_LEVEL_EXTREME.,Field introduced in 17.2.1.,Default value when not specified in API or module is interpreted by Avi Controller as WAF_PARANOIA_LEVEL_LOW.



42
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_wafpolicy.rb', line 42

attribute :paranoia_level

#post_crs_groupsObject?

Returns Waf rules are categorized in to groups based on their characterization.,These groups are created by the user and will be enforced after the crs groups.,Field introduced in 17.2.1.

Returns:

  • (Object, nil)

    Waf rules are categorized in to groups based on their characterization.,These groups are created by the user and will be enforced after the crs groups.,Field introduced in 17.2.1.



45
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_wafpolicy.rb', line 45

attribute :post_crs_groups

#pre_crs_groupsObject?

Returns Waf rules are categorized in to groups based on their characterization.,These groups are created by the user and will be enforced before the crs groups.,Field introduced in 17.2.1.

Returns:

  • (Object, nil)

    Waf rules are categorized in to groups based on their characterization.,These groups are created by the user and will be enforced before the crs groups.,Field introduced in 17.2.1.



48
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_wafpolicy.rb', line 48

attribute :pre_crs_groups

#state:absent, ...

Returns The state that should be applied on the entity.

Returns:

  • (:absent, :present, nil)

    The state that should be applied on the entity.



13
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_wafpolicy.rb', line 13

attribute :state

#tenant_refObject?

Returns It is a reference to an object of type tenant.,Field introduced in 17.2.1.

Returns:

  • (Object, nil)

    It is a reference to an object of type tenant.,Field introduced in 17.2.1.



51
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_wafpolicy.rb', line 51

attribute :tenant_ref

#urlObject?

Returns Avi controller URL of the object.

Returns:

  • (Object, nil)

    Avi controller URL of the object.



54
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_wafpolicy.rb', line 54

attribute :url

#uuidObject?

Returns Field introduced in 17.2.1.

Returns:

  • (Object, nil)

    Field introduced in 17.2.1.



57
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_wafpolicy.rb', line 57

attribute :uuid

#waf_profile_refObject

Returns Waf profile for waf policy.,It is a reference to an object of type wafprofile.,Field introduced in 17.2.1.

Returns:

  • (Object)

    Waf profile for waf policy.,It is a reference to an object of type wafprofile.,Field introduced in 17.2.1.



60
# File 'lib/ansible/ruby/modules/generated/network/avi/avi_wafpolicy.rb', line 60

attribute :waf_profile_ref