Show metering label

 
MethodURIDescription
GET/v2.0/metering-labels/{metering_label_id}

Shows informations for a specified metering label.

This operation does not require a request body.

This operation returns a response body that contains the description, name, ID.

Normal response codes: 200

Error response codes: unauthorized (401), itemNotFound (404)

 Request

This table shows the URI parameters for the show metering label request:

NameTypeDescription

{metering_label_id}

​Uuid

The unique identifier of the metering label.

 

Example 4.224. Show metering label: JSON request

GET /v2.0/metering/metering-labels/a6700594-5b7a-4105-8bfe-723b346ce866 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.

 Response

 

Example 4.225. Show metering label: JSON response

{
  "metering_label": {
    "tenant_id": "45345b0ee1ea477fac0f541b2cb79cd4",
    "description": "label1 description",
    "name": "label1",
    "id": "a6700594-5b7a-4105-8bfe-723b346ce866"
  }
}

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...