Class: Ansible::Ruby::Modules::Fmgr_script

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

Overview

Create/edit/delete scripts and execute the scripts on the FortiManager using jsonrpc API

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

#adomString

Returns The administrative domain (admon) the configuration belongs to.

Returns:

  • (String)

    The administrative domain (admon) the configuration belongs to



12
# File 'lib/ansible/ruby/modules/generated/network/fortimanager/fmgr_script.rb', line 12

attribute :adom

#hostString

Returns The FortiManager’s Address.

Returns:

  • (String)

    The FortiManager’s Address.



19
# File 'lib/ansible/ruby/modules/generated/network/fortimanager/fmgr_script.rb', line 19

attribute :host

#passwordString?

Returns The password associated with the username account.

Returns:

  • (String, nil)

    The password associated with the username account.



27
# File 'lib/ansible/ruby/modules/generated/network/fortimanager/fmgr_script.rb', line 27

attribute :password

#script_contentString?

Returns The script content that will be executed.

Returns:

  • (String, nil)

    The script content that will be executed.



51
# File 'lib/ansible/ruby/modules/generated/network/fortimanager/fmgr_script.rb', line 51

attribute :script_content

#script_descriptionString?

Returns The description of the script.

Returns:

  • (String, nil)

    The description of the script.



47
# File 'lib/ansible/ruby/modules/generated/network/fortimanager/fmgr_script.rb', line 47

attribute :script_description

#script_nameString

Returns The name of the script.

Returns:

  • (String)

    The name of the script.



35
# File 'lib/ansible/ruby/modules/generated/network/fortimanager/fmgr_script.rb', line 35

attribute :script_name

#script_packageObject?

Returns (datasource) Policy package object to run the script against.

Returns:

  • (Object, nil)

    (datasource) Policy package object to run the script against



59
# File 'lib/ansible/ruby/modules/generated/network/fortimanager/fmgr_script.rb', line 59

attribute :script_package

#script_scopeArray<String>, ...

Returns (datasource) The devices that the script will run on, can have both device member and device group member.

Returns:

  • (Array<String>, String, nil)

    (datasource) The devices that the script will run on, can have both device member and device group member.



55
# File 'lib/ansible/ruby/modules/generated/network/fortimanager/fmgr_script.rb', line 55

attribute :script_scope

#script_targetString?

Returns The target of the script to be run.

Returns:

  • (String, nil)

    The target of the script to be run.



43
# File 'lib/ansible/ruby/modules/generated/network/fortimanager/fmgr_script.rb', line 43

attribute :script_target

#script_typeString?

Returns The type of script (CLI or TCL).

Returns:

  • (String, nil)

    The type of script (CLI or TCL).



39
# File 'lib/ansible/ruby/modules/generated/network/fortimanager/fmgr_script.rb', line 39

attribute :script_type

#state:present, ...

Returns The desired state of the specified object.,present - will create a script.,execute - execute the scipt.,delete - delete the script.

Returns:

  • (:present, :execute, :delete, nil)

    The desired state of the specified object.,present - will create a script.,execute - execute the scipt.,delete - delete the script.



31
# File 'lib/ansible/ruby/modules/generated/network/fortimanager/fmgr_script.rb', line 31

attribute :state

#usernameString

Returns The username to log into the FortiManager.

Returns:

  • (String)

    The username to log into the FortiManager



23
# File 'lib/ansible/ruby/modules/generated/network/fortimanager/fmgr_script.rb', line 23

attribute :username

#vdomObject?

Returns The virtual domain (vdom) the configuration belongs to.

Returns:

  • (Object, nil)

    The virtual domain (vdom) the configuration belongs to



16
# File 'lib/ansible/ruby/modules/generated/network/fortimanager/fmgr_script.rb', line 16

attribute :vdom