Class: Ansible::Ruby::Modules::Rabbitmq_exchange
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Rabbitmq_exchange
- 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
-
#arguments ⇒ Object?
Extra arguments for exchange.
-
#auto_delete ⇒ Symbol?
If the exchange should delete itself after all queues/exchanges unbound from it.
-
#durable ⇒ Boolean?
Whether exchange is durable or not.
-
#exchange_type ⇒ :fanout, ...
Type for the exchange.
-
#internal ⇒ Symbol?
Exchange is available only for other exchanges.
-
#login_host ⇒ String?
RabbitMQ host for connection.
-
#login_password ⇒ Boolean?
RabbitMQ password for connection.
-
#login_port ⇒ Integer?
RabbitMQ management api port.
-
#login_user ⇒ String?
RabbitMQ user for connection.
-
#name ⇒ String
Name of the exchange to create.
-
#state ⇒ :present, ...
Whether the exchange should be present or absent,Only present implemented atm.
-
#vhost ⇒ String?
RabbitMQ virtual host.
Methods inherited from Base
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
#arguments ⇒ Object?
Returns 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_delete ⇒ Symbol?
Returns 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 |
#durable ⇒ Boolean?
Returns 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.
44 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_exchange.rb', line 44 attribute :exchange_type |
#internal ⇒ Symbol?
Returns exchange is available only for other exchanges.
52 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_exchange.rb', line 52 attribute :internal |
#login_host ⇒ String?
Returns rabbitMQ host for connection.
28 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_exchange.rb', line 28 attribute :login_host |
#login_password ⇒ Boolean?
Returns rabbitMQ password for connection.
24 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_exchange.rb', line 24 attribute :login_password |
#login_port ⇒ Integer?
Returns rabbitMQ management api port.
32 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_exchange.rb', line 32 attribute :login_port |
#login_user ⇒ String?
Returns rabbitMQ user for connection.
20 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_exchange.rb', line 20 attribute :login_user |
#name ⇒ String
Returns 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.
16 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_exchange.rb', line 16 attribute :state |
#vhost ⇒ String?
Returns rabbitMQ virtual host.
36 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_exchange.rb', line 36 attribute :vhost |