Class: Ansible::Ruby::Modules::Win_reg_stat

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

Overview

Like M(win_file), M(win_reg_stat) will return whether the key/property exists. It also returns the sub keys and properties of the key specified. If specifying a property name through I(property), it will return the information specific for that property.

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

#nameString?

Returns The registry property name to get information for, the return json will not include the sub_keys and properties entries for the I(key) specified.

Returns:

  • (String, nil)

    The registry property name to get information for, the return json will not include the sub_keys and properties entries for the I(key) specified.



18
# File 'lib/ansible/ruby/modules/generated/windows/win_reg_stat.rb', line 18

attribute :name

#pathString

Returns The full registry key path including the hive to search for.

Returns:

  • (String)

    The full registry key path including the hive to search for.



14
# File 'lib/ansible/ruby/modules/generated/windows/win_reg_stat.rb', line 14

attribute :path