zaqar_ui.api.rest.zaqar
Modulezaqar_ui.api.rest.zaqar
Module¶zaqar_ui.api.rest.zaqar.
Flavor
(**kwargs)[source]Bases: django.views.generic.base.View
API for retrieving a single flavor
get
(request, *args, **kw)[source]Get a specific flavor
post
(request, *args, **kw)[source]Update a flavor.
Returns the updated flavor object on success.
url_regex
= ‘zaqar/flavors/(?P<flavor_name>[^/]+)$’zaqar_ui.api.rest.zaqar.
Flavors
(**kwargs)[source]Bases: django.views.generic.base.View
API for flavors
delete
(request, *args, **kw)[source]Delete one or more flavor by name.
Returns HTTP 204 (no content) on successful deletion.
get
(request, *args, **kw)[source]Get a list of the Flavors for admin.
The returned result is an object with property ‘items’ and each item under this is a flavor.
put
(request, *args, **kw)[source]Create a new flavor.
Returns the new flavor object on success.
url_regex
= ‘zaqar/flavors/$’zaqar_ui.api.rest.zaqar.
Messages
(**kwargs)[source]Bases: django.views.generic.base.View
API for messages
get
(request, *args, **kw)[source]Get a list of messages
post
(request, *args, **kw)[source]Create new messages
url_regex
= ‘zaqar/queues/(?P<queue_name>[^/]+)/messages/$’zaqar_ui.api.rest.zaqar.
Pool
(**kwargs)[source]Bases: django.views.generic.base.View
API for retrieving a single pool
get
(request, *args, **kw)[source]Get a specific pool
post
(request, *args, **kw)[source]Update a pool.
Returns the updated pool object on success.
url_regex
= ‘zaqar/pools/(?P<pool_name>[^/]+)$’zaqar_ui.api.rest.zaqar.
Pools
(**kwargs)[source]Bases: django.views.generic.base.View
API for pools
delete
(request, *args, **kw)[source]Delete one or more pool by name.
Returns HTTP 204 (no content) on successful deletion.
get
(request, *args, **kw)[source]Get a list of the Pools for admin.
The returned result is an object with property ‘items’ and each item under this is a pool.
put
(request, *args, **kw)[source]Create a new pool.
Returns the new pool object on success.
url_regex
= ‘zaqar/pools/$’zaqar_ui.api.rest.zaqar.
Queue
(**kwargs)[source]Bases: django.views.generic.base.View
API for retrieving a single queue
get
(request, *args, **kw)[source]Get a specific queue
post
(request, *args, **kw)[source]Update a queue.
Returns the updated queue object on success.
url_regex
= ‘zaqar/queues/(?P<queue_name>[^/]+)$’zaqar_ui.api.rest.zaqar.
QueueActions
(**kwargs)[source]Bases: django.views.generic.base.View
API for actions on a single queue
post
(request, *args, **kw)[source]Actions for a queue
url_regex
= ‘zaqar/queues/(?P<queue_name>[^/]+)/(?P<action>[^/]+)$’zaqar_ui.api.rest.zaqar.
Queues
(**kwargs)[source]Bases: django.views.generic.base.View
API for queues
delete
(request, *args, **kw)[source]Delete one or more queue by name.
Returns HTTP 204 (no content) on successful deletion.
get
(request, *args, **kw)[source]Get a list of the Queues for a project.
The returned result is an object with property ‘items’ and each item under this is a queue.
put
(request, *args, **kw)[source]Create a new queue.
Returns the new queue object on success.
url_regex
= ‘zaqar/queues/$’zaqar_ui.api.rest.zaqar.
Subscription
(**kwargs)[source]Bases: django.views.generic.base.View
API for retrieving a single subscription
post
(request, *args, **kw)[source]url_regex
= ‘zaqar/queues/(?P<queue_name>[^/]+)/subscription/(?P<subscriber>[^/]+)/$’zaqar_ui.api.rest.zaqar.
Subscriptions
(**kwargs)[source]Bases: django.views.generic.base.View
API for Subscriptions
delete
(request, *args, **kw)[source]Delete one or more queue by name.
Returns HTTP 204 (no content) on successful deletion.
get
(request, *args, **kw)[source]Get a list of the Subscriptions for a queue.
put
(request, *args, **kw)[source]Create a new subscription.
Returns the new queue object on success.
url_regex
= ‘zaqar/queues/(?P<queue_name>[^/]+)/subscriptions/$’Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.