Class: Ansible::Ruby::Modules::Win_scheduled_task_stat

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/windows/win_scheduled_task_stat.rb

Overview

Will return whether the folder and task exists. Returns the names of tasks in the folder specified. If C(name) is set and exists, will return information on the task itself. Use M(win_scheduled_task) to configure a scheduled task.

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

#nameString?

Returns The name of the scheduled task to get information for.

Returns:

  • (String, nil)

    The name of the scheduled task to get information for.



19
# File 'lib/ansible/ruby/modules/generated/windows/win_scheduled_task_stat.rb', line 19

attribute :name

#pathString?

Returns The folder path where the task lives.

Returns:

  • (String, nil)

    The folder path where the task lives.



15
# File 'lib/ansible/ruby/modules/generated/windows/win_scheduled_task_stat.rb', line 15

attribute :path