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 group by name

Get a resource group by name

Retrieves a resource group and its containing resource summaries by group name.

URL syntax

http://<ccServerURL>/rest/v1/resources/group/name/<groupName
>

HTTP method

GET

Request

URL path parameters (required)

groupName (type: string )

URL query parameters (optional)
?startFrom=<x
>&count=<y
>

Default: startFrom=1&count=-1

Request body

None

Response

Content-Type
application/xml
Response body

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

JAXB type

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

Example

URL
http://localhost:8080/rest/v1/resources/group/name/TestGroup-1?startFrom=2&count=1
Java
ResourceGroup resourceGroup = resourceServiceProxy.getResourceGroupByName("TestGroup-1");
Last modified

Tags

This page has no custom tags.

Classifications

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