Class: Ansible::Ruby::Modules::Znode

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/clustering/znode.rb

Overview

Create, delete, retrieve, and update znodes using ZooKeeper.

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

#hostsString

Returns A list of ZooKeeper servers (format ‘[server]:’).

Returns:

  • (String)

    A list of ZooKeeper servers (format ‘[server]:’).



11
# File 'lib/ansible/ruby/modules/generated/extras/clustering/znode.rb', line 11

attribute :hosts

#nameString

Returns The path of the znode.

Returns:

  • (String)

    The path of the znode.



15
# File 'lib/ansible/ruby/modules/generated/extras/clustering/znode.rb', line 15

attribute :name

#opString?

Returns An operation to perform. Mutually exclusive with state.

Returns:

  • (String, nil)

    An operation to perform. Mutually exclusive with state.



23
# File 'lib/ansible/ruby/modules/generated/extras/clustering/znode.rb', line 23

attribute :op

#recursiveBoolean?

Returns Recursively delete node and all its children.

Returns:

  • (Boolean, nil)

    Recursively delete node and all its children.



35
# File 'lib/ansible/ruby/modules/generated/extras/clustering/znode.rb', line 35

attribute :recursive

#stateString?

Returns The state to enforce. Mutually exclusive with op.

Returns:

  • (String, nil)

    The state to enforce. Mutually exclusive with op.



27
# File 'lib/ansible/ruby/modules/generated/extras/clustering/znode.rb', line 27

attribute :state

#timeoutInteger?

Returns The amount of time to wait for a node to appear.

Returns:

  • (Integer, nil)

    The amount of time to wait for a node to appear.



31
# File 'lib/ansible/ruby/modules/generated/extras/clustering/znode.rb', line 31

attribute :timeout

#valueString?

Returns The value assigned to the znode.

Returns:

  • (String, nil)

    The value assigned to the znode.



19
# File 'lib/ansible/ruby/modules/generated/extras/clustering/znode.rb', line 19

attribute :value