Class: Ansible::Ruby::Modules::Rabbitmq_policy
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Rabbitmq_policy
- Defined in:
- lib/ansible/ruby/modules/generated/messaging/rabbitmq_policy.rb
Overview
Manage the state of a policy in RabbitMQ.
Instance Method Summary collapse
-
#apply_to ⇒ :all, ...
What the policy applies to.
-
#name ⇒ String
The name of the policy to manage.
-
#node ⇒ String?
Erlang node name of the rabbit we wish to configure.
-
#pattern ⇒ String
A regex of queues to apply the policy to.
-
#priority ⇒ Integer?
The priority of the policy.
-
#state ⇒ :present, ...
The state of the policy.
-
#tags ⇒ Hash
A dict or string describing the policy.
-
#vhost ⇒ String?
The name of the vhost to apply to.
Methods inherited from Base
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
#apply_to ⇒ :all, ...
Returns What the policy applies to. Requires RabbitMQ 3.2.0 or later.
20 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_policy.rb', line 20 attribute :apply_to |
#name ⇒ String
Returns The name of the policy to manage.
12 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_policy.rb', line 12 attribute :name |
#node ⇒ String?
Returns Erlang node name of the rabbit we wish to configure.
36 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_policy.rb', line 36 attribute :node |
#pattern ⇒ String
Returns A regex of queues to apply the policy to.
24 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_policy.rb', line 24 attribute :pattern |
#priority ⇒ Integer?
Returns The priority of the policy.
32 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_policy.rb', line 32 attribute :priority |
#state ⇒ :present, ...
Returns The state of the policy.
40 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_policy.rb', line 40 attribute :state |
#tags ⇒ Hash
Returns A dict or string describing the policy.
28 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_policy.rb', line 28 attribute :tags |
#vhost ⇒ String?
Returns The name of the vhost to apply to.
16 |
# File 'lib/ansible/ruby/modules/generated/messaging/rabbitmq_policy.rb', line 16 attribute :vhost |