File: subscription.rst

package info (click to toggle)
python-zaqarclient 4.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 824 kB
  • sloc: python: 4,417; makefile: 18; sh: 2
file content (144 lines) | stat: -rw-r--r-- 3,970 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
Subscription
============

For help on a specific :command:`openstack messaging subscription` command, enter:

.. code-block:: console

   $ openstack messaging subscription COMMAND -h/--help

The ten commands:

.. code-block:: console

      messaging subscription create
      messaging subscription delete
      messaging subscription list
      messaging subscription show
      messaging subscription update

.. _openstack_messaging_subscription_create:

openstack messaging subscription create
---------------------------------------

.. code-block:: console

   usage: openstack messaging subscription create [-h] [-f {json,shell,table,value,yaml}]
                                                  [-c COLUMN] [--max-width <integer>]
                                                  [--noindent] [--prefix PREFIX]
                                                  [--options <options>]
                                                  <queue_name> <subscriber> <ttl>

Create a subscription.

**Positional arguments:**

``<queue_name>``
  Name of the queue.

``<subscriber>``
  Subscriber which will be notified.

``<ttl>``
  Time to live of the subscription in seconds.

.. _openstack_messaging_subscription_delete:

openstack messaging subscription delete
---------------------------------------

.. code-block:: console

   usage: openstack messaging subscription delete [-h] <queue_name> <subscription_id>

Delete a subscription.

**Positional arguments:**

``<queue_name>``
  Name of the queue.

``<subscription_id>``
  ID of the subscription.

.. _openstack_messaging_subscription_list:

openstack messaging subscription list
-------------------------------------

.. code-block:: console

   usage: openstack messaging subscription list [-h] [-f {csv,json,table,value,yaml}]
                                                [-c COLUMN] [--max-width <integer>]
                                                [--noindent]
                                                [--quote {all,minimal,none,nonnumeric}]
                                                [--marker <subscription_id>]
                                                [--limit <limit>]
                                                <queue_name>

Get list of subscriptions.

**Positional arguments:**

``<queue_name>``
  Name of the queue.

.. _openstack_messaging_subscription_show:

openstack messaging subscription show
-------------------------------------

.. code-block:: console

   usage: openstack messaging subscription show [-h] [-f {json,shell,table,value,yaml}]
                                                [-c COLUMN] [--max-width <integer>]
                                                [--noindent] [--prefix PREFIX]
                                                <queue_name> <subscription_id>

Query a subscription details.

**Positional arguments:**

``<queue_name>``
  Name of the queue.

``<subscription_id>``
  ID of the subscription.

.. _openstack_messaging_subscription_update:

openstack messaging subscription update
---------------------------------------

.. code-block:: console

   usage: openstack messaging subscription update [-h] [-f {json,shell,table,value,yaml}]
                                                  [-c COLUMN] [--max-width <integer>]
                                                  [--noindent] [--prefix PREFIX]
                                                  [--subscriber <subscriber>] [--ttl <ttl>]
                                                  [--options <options>]
                                                  <queue_name> <subscription_id>

Update a subscription.

**Positional arguments:**

``<queue_name>``
  Name of the queue.

``<subscription_id>``
  ID of the subscription

**Optional arguments:**

``--subscriber <subscriber>``
   Subscriber which will be notified.

``--ttl <ttl>``
  Time to live of the subscription in seconds.

``--options <options>``
  Metadata of the subscription in JSON format.