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

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

Instance Method Summary collapse

Methods inherited from Base

#to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, #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.



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

attribute :apply_to

#nameString

Returns The name of the policy to manage.

Returns:

  • (String)

    The name of the policy to manage.



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

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.



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

attribute :node

#patternString

Returns A regex of queues to apply the policy to.

Returns:

  • (String)

    A regex of queues to apply the policy to.



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

attribute :pattern

#priorityInteger?

Returns The priority of the policy.

Returns:

  • (Integer, nil)

    The priority of the policy.



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

attribute :priority

#state:present, ...

Returns The state of the policy.

Returns:

  • (:present, :absent, nil)

    The state of the policy.



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

attribute :state

#tagsHash, String

Returns A dict or string describing the policy.

Returns:

  • (Hash, String)

    A dict or string describing the policy.



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

attribute :tags

#vhostString?

Returns The name of the vhost to apply to.

Returns:

  • (String, nil)

    The name of the vhost to apply to.



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

attribute :vhost