Class: Ansible::Ruby::Modules::Consul_kv
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Consul_kv
- Defined in:
- lib/ansible/ruby/modules/generated/extras/clustering/consul_kv.rb
Instance Method Summary collapse
-
#cas ⇒ Object?
Used when acquiring a lock with a session.
-
#flags ⇒ Object?
Opaque integer value that can be passed when setting a value.
-
#host ⇒ String?
Host of the consul agent defaults to localhost.
-
#key ⇒ String
The key at which the value should be stored.
-
#port ⇒ Integer?
The port on which the consul agent is running.
-
#recurse ⇒ Boolean?
If the key represents a prefix, each entry with the prefix can be retrieved by setting this to true.
-
#scheme ⇒ String?
The protocol scheme on which the consul agent is running.
-
#session ⇒ String?
The session that should be used to acquire or release a lock associated with a key/value pair.
-
#state ⇒ :present, ...
The action to take with the supplied key and value.
-
#token ⇒ Object?
The token key indentifying an ACL rule set that controls access to the key value pair.
-
#validate_certs ⇒ Boolean?
Whether to verify the tls certificate of the consul agent.
-
#value ⇒ String, Integer
The value should be associated with the given key, required if state is present.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#cas ⇒ Object?
33 |
# File 'lib/ansible/ruby/modules/generated/extras/clustering/consul_kv.rb', line 33 attribute :cas |
#flags ⇒ Object?
36 |
# File 'lib/ansible/ruby/modules/generated/extras/clustering/consul_kv.rb', line 36 attribute :flags |
#host ⇒ String?
39 |
# File 'lib/ansible/ruby/modules/generated/extras/clustering/consul_kv.rb', line 39 attribute :host |
#key ⇒ String
14 |
# File 'lib/ansible/ruby/modules/generated/extras/clustering/consul_kv.rb', line 14 attribute :key |
#port ⇒ Integer?
43 |
# File 'lib/ansible/ruby/modules/generated/extras/clustering/consul_kv.rb', line 43 attribute :port |
#recurse ⇒ Boolean?
22 |
# File 'lib/ansible/ruby/modules/generated/extras/clustering/consul_kv.rb', line 22 attribute :recurse |
#scheme ⇒ String?
47 |
# File 'lib/ansible/ruby/modules/generated/extras/clustering/consul_kv.rb', line 47 attribute :scheme |
#session ⇒ String?
26 |
# File 'lib/ansible/ruby/modules/generated/extras/clustering/consul_kv.rb', line 26 attribute :session |
#state ⇒ :present, ...
10 |
# File 'lib/ansible/ruby/modules/generated/extras/clustering/consul_kv.rb', line 10 attribute :state |
#token ⇒ Object?
30 |
# File 'lib/ansible/ruby/modules/generated/extras/clustering/consul_kv.rb', line 30 attribute :token |
#validate_certs ⇒ Boolean?
51 |
# File 'lib/ansible/ruby/modules/generated/extras/clustering/consul_kv.rb', line 51 attribute :validate_certs |
#value ⇒ String, Integer
18 |
# File 'lib/ansible/ruby/modules/generated/extras/clustering/consul_kv.rb', line 18 attribute :value |