zaqar_ui.api.rest package¶
Submodules¶
zaqar_ui.api.rest.zaqar module¶
- class zaqar_ui.api.rest.zaqar.Flavor(**kwargs)[source]¶
Bases:
View
API for retrieving a single flavor
- url_regex = 'zaqar/flavors/(?P<flavor_name>[^/]+)$'¶
- class zaqar_ui.api.rest.zaqar.Flavors(**kwargs)[source]¶
Bases:
View
API for flavors
- delete(request)[source]¶
Delete one or more flavor by name.
Returns HTTP 204 (no content) on successful deletion.
- get(request)[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.
- url_regex = 'zaqar/flavors/$'¶
- class zaqar_ui.api.rest.zaqar.Messages(**kwargs)[source]¶
Bases:
View
API for messages
- url_regex = 'zaqar/queues/(?P<queue_name>[^/]+)/messages/$'¶
- class zaqar_ui.api.rest.zaqar.Pool(**kwargs)[source]¶
Bases:
View
API for retrieving a single pool
- url_regex = 'zaqar/pools/(?P<pool_name>[^/]+)$'¶
- class zaqar_ui.api.rest.zaqar.Pools(**kwargs)[source]¶
Bases:
View
API for pools
- delete(request)[source]¶
Delete one or more pool by name.
Returns HTTP 204 (no content) on successful deletion.
- get(request)[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.
- url_regex = 'zaqar/pools/$'¶
- class zaqar_ui.api.rest.zaqar.Queue(**kwargs)[source]¶
Bases:
View
API for retrieving a single queue
- url_regex = 'zaqar/queues/(?P<queue_name>[^/]+)$'¶
- class zaqar_ui.api.rest.zaqar.QueueActions(**kwargs)[source]¶
Bases:
View
API for actions on a single queue
- url_regex = 'zaqar/queues/(?P<queue_name>[^/]+)/(?P<action>[^/]+)$'¶
- class zaqar_ui.api.rest.zaqar.Queues(**kwargs)[source]¶
Bases:
View
API for queues
- delete(request)[source]¶
Delete one or more queue by name.
Returns HTTP 204 (no content) on successful deletion.
- get(request)[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.
- url_regex = 'zaqar/queues/$'¶
- class zaqar_ui.api.rest.zaqar.Subscription(**kwargs)[source]¶
Bases:
View
API for retrieving a single subscription
- url_regex = 'zaqar/queues/(?P<queue_name>[^/]+)/subscription/(?P<subscriber>[^/]+)/$'¶
- class zaqar_ui.api.rest.zaqar.Subscriptions(**kwargs)[source]¶
Bases:
View
API for Subscriptions
- delete(request, queue_name)[source]¶
Delete one or more queue by name.
Returns HTTP 204 (no content) on successful deletion.
- put(request, queue_name)[source]¶
Create a new subscription.
Returns the new queue object on success.
- url_regex = 'zaqar/queues/(?P<queue_name>[^/]+)/subscriptions/$'¶
Module contents¶
This package holds the REST API that supports the LBaaS v2 dashboard Javascript code. It is not intended to be used outside of Horizon, and makes no promises of stability or fitness for purpose outside of that scope. It does not promise to adhere to the general OpenStack API Guidelines set out in https://wiki.openstack.org/wiki/APIChangeGuidelines.