Class: Ansible::Ruby::Modules::Zfs_facts

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/storage/zfs/zfs_facts.rb

Overview

Gather facts from ZFS dataset properties.

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

#depthObject?

Returns Specifiies recurion depth.

Returns:

  • (Object, nil)

    Specifiies recurion depth.



32
# File 'lib/ansible/ruby/modules/generated/storage/zfs/zfs_facts.rb', line 32

attribute :depth

#nameString

Returns ZFS dataset name.

Returns:

  • (String)

    ZFS dataset name.



12
# File 'lib/ansible/ruby/modules/generated/storage/zfs/zfs_facts.rb', line 12

attribute :name

#parsable:yes, ...

Returns Specifies if property values should be displayed in machine friendly format.

Returns:

  • (:yes, :no, nil)

    Specifies if property values should be displayed in machine friendly format.



20
# File 'lib/ansible/ruby/modules/generated/storage/zfs/zfs_facts.rb', line 20

attribute :parsable

#propertiesString?

Returns Specifies which dataset properties should be queried in comma-separated format. For more information about dataset properties, check zfs(1M) man page.

Returns:

  • (String, nil)

    Specifies which dataset properties should be queried in comma-separated format. For more information about dataset properties, check zfs(1M) man page.



24
# File 'lib/ansible/ruby/modules/generated/storage/zfs/zfs_facts.rb', line 24

attribute :properties

#recurse:yes, ...

Returns Specifies if properties for any children should be recursively displayed.

Returns:

  • (:yes, :no, nil)

    Specifies if properties for any children should be recursively displayed.



16
# File 'lib/ansible/ruby/modules/generated/storage/zfs/zfs_facts.rb', line 16

attribute :recurse

#type:all, ...

Returns Specifies which datasets types to display. Multiple values have to be provided in comma-separated form.

Returns:

  • (:all, :filesystem, :volume, :snapshot, :bookmark, nil)

    Specifies which datasets types to display. Multiple values have to be provided in comma-separated form.



28
# File 'lib/ansible/ruby/modules/generated/storage/zfs/zfs_facts.rb', line 28

attribute :type