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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/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, fix_inclusion, #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



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

attribute :arguments

#auto_deleteSymbol?

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

Returns:

  • (Symbol, nil)

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



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

attribute :auto_delete

#durableBoolean?

Returns whether exchange is durable or not.

Returns:

  • (Boolean, nil)

    whether exchange is durable or not



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

attribute :durable

#exchange_type:fanout, ...

Returns type for the exchange.

Returns:

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

    type for the exchange



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

attribute :exchange_type

#internalSymbol?

Returns exchange is available only for other exchanges.

Returns:

  • (Symbol, nil)

    exchange is available only for other exchanges



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

attribute :internal

#login_hostString?

Returns rabbitMQ host for connection.

Returns:

  • (String, nil)

    rabbitMQ host for connection



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

attribute :login_host

#login_passwordBoolean?

Returns rabbitMQ password for connection.

Returns:

  • (Boolean, nil)

    rabbitMQ password for connection



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

attribute :login_password

#login_portInteger?

Returns rabbitMQ management api port.

Returns:

  • (Integer, nil)

    rabbitMQ management api port



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

attribute :login_port

#login_userString?

Returns rabbitMQ user for connection.

Returns:

  • (String, nil)

    rabbitMQ user for connection



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

attribute :login_user

#nameString

Returns Name of the exchange to create.

Returns:

  • (String)

    Name of the exchange to create



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

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



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

attribute :state

#vhostString?

Returns rabbitMQ virtual host.

Returns:

  • (String, nil)

    rabbitMQ virtual host



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

attribute :vhost