f849f668a9
This is the result of running the following commands: git rm -rf api-ref/ git mv placement-api-ref api-ref Change-Id: Iffabaa757187879773ee3e7ffaa438ab95670dea
41 lines
964 B
HTML
41 lines
964 B
HTML
=============================
|
|
Resource provider allocations
|
|
=============================
|
|
|
|
See `Allocations`_ for a description.
|
|
|
|
List resource provider allocations
|
|
==================================
|
|
|
|
Return a representation of all allocations made against this resource
|
|
provider, keyed by consumer uuid. Each allocation includes one or more
|
|
classes of resource and the amount consumed.
|
|
|
|
.. rest_method:: GET /resource_providers/{uuid}/allocations
|
|
|
|
Normal Response Codes: 200
|
|
|
|
Error response codes: itemNotFound(404)
|
|
|
|
Request
|
|
-------
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
- uuid: resource_provider_uuid_path
|
|
|
|
Response
|
|
--------
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
- allocations: resource_provider_allocations
|
|
- resources: resources
|
|
- resource_provider_generation: resource_provider_generation
|
|
|
|
Response Example
|
|
----------------
|
|
|
|
.. literalinclude:: ./samples/resource_provider_allocations/get-resource_provider_allocations.json
|
|
:language: javascript
|