Class: Ansible::Ruby::Modules::Rabbitmq_exchange

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

Overview

This module uses rabbitMQ Rest API to create/delete exchanges

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 exchange. If defined this argument is a key/value dictionary.

Returns:

  • (Object, nil)

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



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

attribute :arguments

#auto_deleteBoolean?

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

Returns:

  • (Boolean, nil)

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



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

attribute :auto_delete

#durableBoolean?

Returns whether exchange is durable or not.

Returns:

  • (Boolean, nil)

    whether exchange is durable or not



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

attribute :durable

#exchange_type:fanout, ...

Returns type for the exchange.

Returns:

  • (:fanout, :direct, :headers, :topic, nil)

    type for the exchange



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

attribute :exchange_type

#internalBoolean?

Returns exchange is available only for other exchanges.

Returns:

  • (Boolean, nil)

    exchange is available only for other exchanges



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

attribute :internal

#login_hostString?

Returns rabbitMQ host for connection.

Returns:

  • (String, nil)

    rabbitMQ host for connection



27
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_exchange.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_exchange.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_exchange.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_exchange.rb', line 19

attribute :login_user

#nameString

Returns Name of the exchange to create.

Returns:

  • (String)

    Name of the exchange to create



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

attribute :name

#state:present, ...

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

Returns:

  • (:present, :absent, nil)

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



15
# File 'lib/ansible/ruby/modules/generated/extras/messaging/rabbitmq_exchange.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_exchange.rb', line 35

attribute :vhost