Class: Ansible::Ruby::Modules::Rabbitmq_policy

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

Overview

Manage the state of a policy in RabbitMQ.

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

#apply_to:all, ...

Returns What the policy applies to. Requires RabbitMQ 3.2.0 or later.

Returns:

  • (:all, :exchanges, :queues, nil)

    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

#nameString

Returns The name of the policy to manage.

Returns:

  • (String)

    The name of the policy to manage.



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

attribute :name

#nodeString?

Returns Erlang node name of the rabbit we wish to configure.

Returns:

  • (String, nil)

    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

#patternString

Returns A regex of queues to apply the policy to.

Returns:

  • (String)

    A regex of queues to apply the policy to.



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

attribute :pattern

#priorityInteger?

Returns The priority of the policy.

Returns:

  • (Integer, nil)

    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.

Returns:

  • (:present, :absent, nil)

    The state of the policy.



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

attribute :state

#tagsHash

Returns A dict or string describing the policy.

Returns:

  • (Hash)

    A dict or string describing the policy.



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

attribute :tags

#vhostString?

Returns The name of the vhost to apply to.

Returns:

  • (String, nil)

    The name of the vhost to apply to.



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

attribute :vhost