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

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

Instance Method Summary collapse

Methods inherited from Base

#to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, #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]:’).



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

attribute :hosts

#nameString

Returns The path of the znode.

Returns:

  • (String)

    The path of the znode.



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

attribute :name

#opString?

Returns An operation to perform. Mutually exclusive with state.

Returns:

  • (String, nil)

    An operation to perform. Mutually exclusive with state.



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

attribute :op

#recursiveBoolean?

Returns Recursively delete node and all its children.

Returns:

  • (Boolean, nil)

    Recursively delete node and all its children.



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

attribute :recursive

#stateString?

Returns The state to enforce. Mutually exclusive with op.

Returns:

  • (String, nil)

    The state to enforce. Mutually exclusive with op.



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

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.



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

attribute :timeout

#valueString?

Returns The value assigned to the znode.

Returns:

  • (String, nil)

    The value assigned to the znode.



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

attribute :value