Cloud Cruiser became HPE Consumption Analytics on Nov. 1st. You'll still see the old name in places while we update this site.

 

 

Consumption Analytics Documentation

Home > Cloud Cruiser 3 > REST API reference > Resources > Get a resource by name

Get a resource by name

Retrieves detailed resource information by resource name.

URL syntax

http://<ccServerURL
>/rest/v1/resources/resource/name/<resourceName
>

HTTP method

GET

Request

URL path parameters (required)

resourceName (type: string)

Request body

None

Response

Content-Type
application/xml
Response body

XML text with root element resourceInfo . For the schema, see Get a resource by ID.

JAXB type

com.cloudcruiser.server.webservices.v1.dto.resource.ResourceInfo

Example

URL
http://localhost:8080/rest/v1/resources/resource/name/vcenter.cpu.used
Java
ResourceInfo resourceInfo = resourceServiceProxy.getResourceByName("vcenter.cpu.used");
Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.
© Copyright 2018 Hewlett Packard Enterprise Development LP