Class: Ansible::Ruby::Modules::Consul_acl

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/clustering/consul_acl.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

#hostString?

Returns host of the consul agent defaults to localhost.

Returns:

  • (String, nil)

    host of the consul agent defaults to localhost



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

attribute :host

#mgmt_tokenString?

Returns a management token is required to manipulate the acl lists.

Returns:

  • (String, nil)

    a management token is required to manipulate the acl lists



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

attribute :mgmt_token

#nameString?

Returns the name that should be associated with the acl key, this is opaque to Consul.

Returns:

  • (String, nil)

    the name that should be associated with the acl key, this is opaque to Consul



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

attribute :name

#portInteger?

Returns the port on which the consul agent is running.

Returns:

  • (Integer, nil)

    the port on which the consul agent is running



38
# File 'lib/ansible/ruby/modules/generated/extras/clustering/consul_acl.rb', line 38

attribute :port

#rulesArray<Hash>, ...

Returns an list of the rules that should be associated with a given token.

Returns:

  • (Array<Hash>, Hash, nil)

    an list of the rules that should be associated with a given token.



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

attribute :rules

#schemeString?

Returns the protocol scheme on which the consul agent is running.

Returns:

  • (String, nil)

    the protocol scheme on which the consul agent is running



42
# File 'lib/ansible/ruby/modules/generated/extras/clustering/consul_acl.rb', line 42

attribute :scheme

#state:present, ...

Returns whether the ACL pair should be present or absent, defaults to present.

Returns:

  • (:present, :absent, nil)

    whether the ACL pair should be present or absent, defaults to present



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

attribute :state

#tokenString?

Returns the token key indentifying an ACL rule set. If generated by consul this will be a UUID.

Returns:

  • (String, nil)

    the token key indentifying an ACL rule set. If generated by consul this will be a UUID.



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

attribute :token

#type:client, ...

Returns the type of token that should be created, either management or client, defaults to client.

Returns:

  • (:client, :management, nil)

    the type of token that should be created, either management or client, defaults to client



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

attribute :type

#validate_certsBoolean?

Returns whether to verify the tls certificate of the consul agent.

Returns:

  • (Boolean, nil)

    whether to verify the tls certificate of the consul agent



46
# File 'lib/ansible/ruby/modules/generated/extras/clustering/consul_acl.rb', line 46

attribute :validate_certs