Class: Ansible::Ruby::Modules::Bigip_asm_policy

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

Overview

Manage BIG-IP ASM policies.

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

#activeSymbol?

Returns If C(yes) will apply and activate existing inactive policy. If C(no), it will deactivate existing active policy. Generally should be C(yes) only in cases where you want to activate new or existing policy.

Returns:

  • (Symbol, nil)

    If C(yes) will apply and activate existing inactive policy. If C(no), it will deactivate existing active policy. Generally should be C(yes) only in cases where you want to activate new or existing policy.



12
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_asm_policy.rb', line 12

attribute :active

#fileString?

Returns Full path to a policy file to be imported into the BIG-IP ASM.,Policy files exported from newer versions of BIG-IP cannot be imported into older versions of BIG-IP. The opposite, however, is true; you can import older into newer.

Returns:

  • (String, nil)

    Full path to a policy file to be imported into the BIG-IP ASM.,Policy files exported from newer versions of BIG-IP cannot be imported into older versions of BIG-IP. The opposite, however, is true; you can import older into newer.



24
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_asm_policy.rb', line 24

attribute :file

#nameString

Returns The ASM policy to manage or create.

Returns:

  • (String)

    The ASM policy to manage or create.



16
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_asm_policy.rb', line 16

attribute :name

#partitionString?

Returns Device partition to manage resources on.

Returns:

  • (String, nil)

    Device partition to manage resources on.



32
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_asm_policy.rb', line 32

attribute :partition

#state:present, ...

Returns When C(state) is C(present), and C(file) or C(template) parameter is provided, new ASM policy is imported and created with the given C(name).,When C(state) is present and no C(file) or C(template) parameter is provided new blank ASM policy is created with the given C(name).,When C(state) is C(absent), ensures that the policy is removed, even if it is currently active.

Returns:

  • (:present, :absent, nil)

    When C(state) is C(present), and C(file) or C(template) parameter is provided, new ASM policy is imported and created with the given C(name).,When C(state) is present and no C(file) or C(template) parameter is provided new blank ASM policy is created with the given C(name).,When C(state) is C(absent), ensures that the policy is removed, even if it is currently active.



20
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_asm_policy.rb', line 20

attribute :state

#template:"ActiveSync v1.0 v2.0 (http)", ...

Returns An ASM policy built-in template. If the template does not exist we will raise an error.,Once the policy has been created, this value cannot change.,The C(Comprehensive), C(Drupal), C(Fundamental), C(Joomla), C(Vulnerability Assessment Baseline), and C(Wordpress) templates are only available on BIG-IP versions >= 13.

Returns:

  • (:"ActiveSync v1.0 v2.0 (http)", :"ActiveSync v1.0 v2.0 (https)", :Comprehensive, :Drupal, :Fundamental, :Joomla, :"LotusDomino 6.5 (http)", :"LotusDomino 6.5 (https)", :"OWA Exchange 2003 (http)", :"OWA Exchange 2003 (https)", :"OWA Exchange 2003 with ActiveSync (http)", :"OWA Exchange 2003 with ActiveSync (https)", :"OWA Exchange 2007 (http)", :"OWA Exchange 2007 (https)", :"OWA Exchange 2007 with ActiveSync (http)", :"OWA Exchange 2007 with ActiveSync (https)", :"OWA Exchange 2010 (http)", :"OWA Exchange 2010 (https)", :"Oracle 10g Portal (http)", :"Oracle 10g Portal (https)", :"Oracle Applications 11i (http)", :"Oracle Applications 11i (https)", :"PeopleSoft Portal 9 (http)", :"PeopleSoft Portal 9 (https)", :"Rapid Deployment Policy", :"SAP NetWeaver 7 (http)", :"SAP NetWeaver 7 (https)", :"SharePoint 2003 (http)", :"SharePoint 2003 (https)", :"SharePoint 2007 (http)", :"SharePoint 2007 (https)", :"SharePoint 2010 (http)", :"SharePoint 2010 (https)", :"Vulnerability Assessment Baseline", :Wordpress, nil)

    An ASM policy built-in template. If the template does not exist we will raise an error.,Once the policy has been created, this value cannot change.,The C(Comprehensive), C(Drupal), C(Fundamental), C(Joomla), C(Vulnerability Assessment Baseline), and C(Wordpress) templates are only available on BIG-IP versions >= 13.



28
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_asm_policy.rb', line 28

attribute :template