Class: Ansible::Ruby::Modules::Rabbitmq_queue

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

Overview

This module uses rabbitMQ Rest API to create/delete queues

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

#argumentsObject?

Returns extra arguments for queue. If defined this argument is a key/value dictionary.

Returns:

  • (Object, nil)

    extra arguments for queue. If defined this argument is a key/value dictionary



65
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 65

attribute :arguments

#auto_deleteBoolean?

Returns if the queue should delete itself after all queues/queues unbound from it.

Returns:

  • (Boolean, nil)

    if the queue should delete itself after all queues/queues unbound from it



43
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 43

attribute :auto_delete

#auto_expiresString?

Returns How long a queue can be unused before it is automatically deleted (milliseconds).

Returns:

  • (String, nil)

    How long a queue can be unused before it is automatically deleted (milliseconds)



51
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 51

attribute :auto_expires

#dead_letter_exchangeObject?

Returns Optional name of an exchange to which messages will be republished if they,are rejected or expire.

Returns:

  • (Object, nil)

    Optional name of an exchange to which messages will be republished if they,are rejected or expire



59
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 59

attribute :dead_letter_exchange

#dead_letter_routing_keyObject?

Returns Optional replacement routing key to use when a message is dead-lettered.,Original routing key will be used if unset.

Returns:

  • (Object, nil)

    Optional replacement routing key to use when a message is dead-lettered.,Original routing key will be used if unset



62
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 62

attribute :dead_letter_routing_key

#durableBoolean?

Returns whether queue is durable or not.

Returns:

  • (Boolean, nil)

    whether queue is durable or not



39
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 39

attribute :durable

#login_hostString?

Returns rabbitMQ host for connection.

Returns:

  • (String, nil)

    rabbitMQ host for connection



27
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 27

attribute :login_host

#login_passwordBoolean?

Returns rabbitMQ password for connection.

Returns:

  • (Boolean, nil)

    rabbitMQ password for connection



23
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 23

attribute :login_password

#login_portInteger?

Returns rabbitMQ management api port.

Returns:

  • (Integer, nil)

    rabbitMQ management api port



31
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 31

attribute :login_port

#login_userString?

Returns rabbitMQ user for connection.

Returns:

  • (String, nil)

    rabbitMQ user for connection



19
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 19

attribute :login_user

#max_lengthString?

Returns How many messages can the queue contain before it starts rejecting.

Returns:

  • (String, nil)

    How many messages can the queue contain before it starts rejecting



55
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 55

attribute :max_length

#message_ttlString?

Returns How long a message can live in queue before it is discarded (milliseconds).

Returns:

  • (String, nil)

    How long a message can live in queue before it is discarded (milliseconds)



47
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 47

attribute :message_ttl

#nameString

Returns Name of the queue to create.

Returns:

  • (String)

    Name of the queue to create



11
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 11

attribute :name

#state:present, ...

Returns Whether the queue should be present or absent,Only present implemented atm.

Returns:

  • (:present, :absent, nil)

    Whether the queue should be present or absent,Only present implemented atm



15
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 15

attribute :state

#vhostString?

Returns rabbitMQ virtual host.

Returns:

  • (String, nil)

    rabbitMQ virtual host



35
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_queue.rb', line 35

attribute :vhost