Class: Ansible::Ruby::Modules::Bigip_asm_policy
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Bigip_asm_policy
- Defined in:
- lib/ansible/ruby/modules/generated/network/f5/bigip_asm_policy.rb
Overview
Manage BIG-IP ASM policies.
Instance Method Summary collapse
-
#active ⇒ Symbol?
If C(yes) will apply and activate existing inactive policy.
-
#file ⇒ String?
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.
-
#name ⇒ String
The ASM policy to manage or create.
-
#partition ⇒ String?
Device partition to manage resources on.
-
#state ⇒ :present, ...
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.
-
#template ⇒ :"ActiveSync v1.0 v2.0 (http)", ...
An ASM policy built-in template.
Methods inherited from Base
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
#active ⇒ Symbol?
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.
12 |
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_asm_policy.rb', line 12 attribute :active |
#file ⇒ String?
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.
24 |
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_asm_policy.rb', line 24 attribute :file |
#name ⇒ String
Returns The ASM policy to manage or create.
16 |
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_asm_policy.rb', line 16 attribute :name |
#partition ⇒ String?
Returns 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.
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.
28 |
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_asm_policy.rb', line 28 attribute :template |