jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Estévez <notificati...@github.com>
Subject Re: [jclouds/jclouds-labs] [JCLOUDS-1257] Initial support ManagedDataDisks (#372)
Date Mon, 20 Mar 2017 15:44:17 GMT
danielestevez commented on this pull request.



> +import org.jclouds.rest.annotations.ResponseParser;
+import org.jclouds.rest.annotations.SelectJson;
+import org.jclouds.rest.binders.BindToJsonPayload;
+
+@Path("/resourcegroups/{resourcegroup}/providers/Microsoft.Compute/images")
+@RequestFilters({ OAuthFilter.class, ApiVersionFilter.class })
+@Consumes(MediaType.APPLICATION_JSON)
+public interface ImageApi {
+
+   @Named("image:list")
+   @SelectJson("value")
+   @GET
+   @Fallback(EmptyListOnNotFoundOr404.class)
+   List<Image> list();
+
+   @Named("image:create_or_update")

I'm following this https://docs.microsoft.com/en-us/rest/api/manageddisks/images/images-create
and it doesn't seem that you can update an image with this API, only update. Have you tried
it?
i checked at least you can't change 'sourceVirtualMachine' to an existing Image and name can't
be changed either

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/372#pullrequestreview-27880944
Mime
View raw message