diff --git a/doc/source/command/queue.rst b/doc/source/command/queue.rst index 07039dee..cd483086 100644 --- a/doc/source/command/queue.rst +++ b/doc/source/command/queue.rst @@ -177,3 +177,29 @@ Get queue stats. ```` Name of the queue. + + +.. _openstack_queue_purge: + +openstack queue purge +--------------------- + +.. code-block:: console + + usage: openstack queue purge [-h] [--resource_types ] + + +Purge a queue. All the metadata of the queue will be kept. Use +``--resource_types`` to specify which resource should be pured. If +``--resource_types`` is not specified, all the messages and subscriptions in +the queue will be purged by default. + +**Positional arguments:** + +```` + Name of the queue. + +**Optional arguments:** + +``--resource_types ` + Resource types want to be purged. Support ``messages`` and ``subscriptions``. diff --git a/doc/source/index.rst b/doc/source/index.rst index 5b4bd978..ec8cc038 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -95,4 +95,4 @@ Indices and tables * :ref:`modindex` * :ref:`search` -.. _`Release Page`: https://releases.openstack.org +.. _`Release Page`: https://docs.openstack.org/releasenotes/python-zaqarclient