Method | URI | Description |
---|---|---|
GET | /v2.0/metering-labels | Lists all l3 metering labels belonging to the specified tenant. |
The list includes the unique ID for each metering labels.
This operation does not require a request body.
This operation returns a response body.
Normal response codes: 200
Error response codes: unauthorized (401)
Example 4.220. List metering labels: JSON request
GET /v2.0/metering/metering-labels HTTP/1.1 Host: controlnode:9696 User-Agent: python-neutronclient Content-Type: application/json Accept: application/json X-Auth-Token: c52a1b304fec4ca0ac85dc1741eec6e2
This operation does not require a request body.
Example 4.221. List metering labels: JSON response
{ "metering_labels": [ { "tenant_id": "45345b0ee1ea477fac0f541b2cb79cd4", "description": "label1 description", "name": "label1", "id": "a6700594-5b7a-4105-8bfe-723b346ce866" }, { "tenant_id": "45345b0ee1ea477fac0f541b2cb79cd4", "description": "label2 description", "name": "label2", "id": "e131d186-b02d-4c0b-83d5-0c0725c4f812" } ] }