This module contains functions for interacting with RabbitMQ operator policy overrides.
Summary
Functions
Delete an operator policy.
Get an individual operator policy.
Get a list of all operator policies.
Get a list of operator policies in a virtual host.
Create or update an operator policy.
Functions
@spec delete_operator_policy( client :: Tesla.Client.t(), vhost :: String.t(), name :: String.t() ) :: {:ok, Tesla.Env.t()} | {:error, term()}
Delete an operator policy.
@spec get_operator_policy( client :: Tesla.Client.t(), vhost :: String.t(), name :: String.t() ) :: {:ok, Tesla.Env.t()} | {:error, term()}
Get an individual operator policy.
@spec list_operator_policies(client :: Tesla.Client.t()) :: {:ok, Tesla.Env.t()} | {:error, term()}
Get a list of all operator policies.
@spec list_vhost_operator_policies(client :: Tesla.Client.t(), vhost :: String.t()) :: {:ok, Tesla.Env.t()} | {:error, term()}
Get a list of operator policies in a virtual host.
@spec put_operator_policy( client :: Tesla.Client.t(), vhost :: String.t(), name :: String.t(), opts :: Keyword.t() ) :: {:ok, Tesla.Env.t()} | no_return()
Create or update an operator policy.
:pattern(String.t/0) - Required. A regular expression matching resource names to apply the policy to.:definition(map ofString.t/0keys andterm/0values) - Required. The policy definition as a map of policy keys and values.:priority(non_neg_integer/0) - Policy priority. Higher value means higher priority. The default value is0.:apply_to- What type of resources the policy applies to. The default value is:all.