Class: Ansible::Ruby::Modules::Bigip_cli_script

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

Overview

Manages CLI scripts on a BIG-IP. CLI scripts, otherwise known as tmshell scripts or TMSH scripts allow you to create custom scripts that can run to manage objects within a BIG-IP.

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

#contentString?

Returns The content of the script.,This parameter is typically used in conjunction with Ansible’s C(file), or template lookup plugins. If this sounds foreign to you, see the examples in this documentation.

Returns:

  • (String, nil)

    The content of the script.,This parameter is typically used in conjunction with Ansible’s C(file), or template lookup plugins. If this sounds foreign to you, see the examples in this documentation.



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

attribute :content

#descriptionObject?

Returns Description of the cli script.

Returns:

  • (Object, nil)

    Description of the cli script.



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

attribute :description

#nameString

Returns Specifies the name of the script.

Returns:

  • (String)

    Specifies the name of the script.



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

attribute :name

#partitionString?

Returns Device partition to manage resources on.

Returns:

  • (String, nil)

    Device partition to manage resources on.



23
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_cli_script.rb', line 23

attribute :partition

#state:present, ...

Returns When C(present), ensures that the script exists.,When C(absent), ensures the script is removed.

Returns:

  • (:present, :absent, nil)

    When C(present), ensures that the script exists.,When C(absent), ensures the script is removed.



27
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_cli_script.rb', line 27

attribute :state