Class: Ansible::Ruby::Modules::Etcd3

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

Overview

Sets or deletes values in etcd3 cluster using its v3 api. Needs python etcd3 lib to work

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

#hostString?

Returns the IP address of the cluster.

Returns:

  • (String, nil)

    the IP address of the cluster



21
# File 'lib/ansible/ruby/modules/generated/clustering/etcd3.rb', line 21

attribute :host

#keyString

Returns the key where the information is stored in the cluster.

Returns:

  • (String)

    the key where the information is stored in the cluster



13
# File 'lib/ansible/ruby/modules/generated/clustering/etcd3.rb', line 13

attribute :key

#portInteger?

Returns the port number used to connect to the cluster.

Returns:

  • (Integer, nil)

    the port number used to connect to the cluster



25
# File 'lib/ansible/ruby/modules/generated/clustering/etcd3.rb', line 25

attribute :port

#stateString

Returns the state of the value for the key.,can be present or absent.

Returns:

  • (String)

    the state of the value for the key.,can be present or absent



29
# File 'lib/ansible/ruby/modules/generated/clustering/etcd3.rb', line 29

attribute :state

#valueString

Returns the information stored.

Returns:

  • (String)

    the information stored



17
# File 'lib/ansible/ruby/modules/generated/clustering/etcd3.rb', line 17

attribute :value