> @@ -118,7 +169,12 @@
>      * <p/>
>      * ACTIVE - QUEUE_RESIZE - ACTIVE (on error)
>      */
> -   void resizeServer(int id, int flavorId);
> +   @POST
> +   @QueryParams(keys = "format", values = "json")
> +   @Path("/servers/{id}/action")
> +   @Produces(APPLICATION_JSON)
> +   @Payload("%7B\"resize\":%7B\"flavorId\":{flavorId}%7D%7D")

Clever escape of braces.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/542/files#r18427695

Reply via email to