> @@ -190,8 +303,12 @@ ServerDetails
> createWithHostnameAndRootPassword(ServerSpec serverSpec, String ho
> * @param resource the name of the resource to retrieve usage information
> for (e.g. "cpuusage")
> * @param resolution the time-period to extract data for (one of
> "minute", "hour" or "day)
> */
> - @Beta
> - // TODO: better name
> - ResourceUsage getResourceUsage(String id, String resource, String
> resolution);
> + @Named("server:resourceusage")
> + @POST
> + @Path("/server/resourceusage/format/json")
> + @SelectJson("usage")
> + @Consumes(MediaType.APPLICATION_JSON)
> + ResourceUsage getResourceUsage(@FormParam("serverid") String id,
> @FormParam("resource") String resource,
No longer in `@Beta`?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/88/files#r5557541