}
@Override
public List<HardwareProfile> listProfiles() throws DeltaCloudClientException {
try {
InputStream response = request(new ListHardwareProfilesRequest(baseUrl));
List<HardwareProfile> profiles = new ArrayList<HardwareProfile>();
new HardwareProfilesUnmarshaller().unmarshall(response, profiles);
return profiles;
} catch (Exception e) {
throw new DeltaCloudClientException(MessageFormat.format("could not get realms on cloud at \"{0}\"",