Skip to content

ezgh hosted-queues policies update

Change a policy.

Updated View as Markdown
ezgh hosted-queues policies update <cluster> <policy> [--pattern re] [--definition json] [--apply-to t] [--priority n] [--vhost v] [--wait] [flags]

Change a policy’s pattern, what it applies to, its priority or its definition (which it replaces).

Part of ezgh hosted-queues policies.

Flags

Flag Type Default Description
--apply-to string all, queues, exchanges, classic_queues, quorum_queues or streams
--definition string a JSON object, such as {“max-length”: 10000}
--pattern string the regular expression of the names it applies to
--priority int 0 to 999; the highest matching policy applies
--vhost string / the vhost it’s in (/ is the default vhost)
--wait boolean wait until it’s done
--wait-timeout duration 10m0s how long --wait waits

This command also takes the global flags.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close