Class: Ansible::Ruby::Modules::Proxysql_scheduler

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/database/proxysql/proxysql_scheduler.rb

Overview

The M(proxysql_scheduler) module adds or removes schedules using the proxysql admin interface.

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

#activeBoolean?

Returns A schedule with I(active) set to C(False) will be tracked in the database, but will be never loaded in the in-memory data structures.

Returns:

  • (Boolean, nil)

    A schedule with I(active) set to C(False) will be tracked in the database, but will be never loaded in the in-memory data structures.



12
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_scheduler.rb', line 12

attribute :active

#arg1Object?

Returns Argument that can be passed to the job.

Returns:

  • (Object, nil)

    Argument that can be passed to the job.



24
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_scheduler.rb', line 24

attribute :arg1

#arg2Object?

Returns Argument that can be passed to the job.

Returns:

  • (Object, nil)

    Argument that can be passed to the job.



27
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_scheduler.rb', line 27

attribute :arg2

#arg3Object?

Returns Argument that can be passed to the job.

Returns:

  • (Object, nil)

    Argument that can be passed to the job.



30
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_scheduler.rb', line 30

attribute :arg3

#arg4Object?

Returns Argument that can be passed to the job.

Returns:

  • (Object, nil)

    Argument that can be passed to the job.



33
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_scheduler.rb', line 33

attribute :arg4

#arg5Object?

Returns Argument that can be passed to the job.

Returns:

  • (Object, nil)

    Argument that can be passed to the job.



36
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_scheduler.rb', line 36

attribute :arg5

#commentObject?

Returns Text field that can be used for any purposed defined by the user.

Returns:

  • (Object, nil)

    Text field that can be used for any purposed defined by the user.



39
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_scheduler.rb', line 39

attribute :comment

#filenameString

Returns Full path of the executable to be executed.

Returns:

  • (String)

    Full path of the executable to be executed.



20
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_scheduler.rb', line 20

attribute :filename

#force_deleteBoolean?

Returns By default we avoid deleting more than one schedule in a single batch, however if you need this behaviour and you’re not concerned about the schedules deleted, you can set I(force_delete) to C(True).

Returns:

  • (Boolean, nil)

    By default we avoid deleting more than one schedule in a single batch, however if you need this behaviour and you’re not concerned about the schedules deleted, you can set I(force_delete) to C(True).



46
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_scheduler.rb', line 46

attribute :force_delete

#interval_msInteger?

Returns How often (in millisecond) the job will be started. The minimum value for I(interval_ms) is 100 milliseconds.

Returns:

  • (Integer, nil)

    How often (in millisecond) the job will be started. The minimum value for I(interval_ms) is 100 milliseconds.



16
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_scheduler.rb', line 16

attribute :interval_ms

#state:present, ...

Returns When C(present) - adds the schedule, when C(absent) - removes the schedule.

Returns:

  • (:present, :absent, nil)

    When C(present) - adds the schedule, when C(absent) - removes the schedule.



42
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_scheduler.rb', line 42

attribute :state