danielestevez commented on this pull request.


>     @SelectJson("value")
    @GET
    @Fallback(EmptyListOnNotFoundOr404.class)
    List<NetworkInterfaceCard> list();
 
+   @Named("networkinterfacecard:list_all")
+   @Path("/providers/Microsoft.Network/networkInterfaces")
+   @SelectJson("value")
+   @GET
+   @Fallback(EmptyListOnNotFoundOr404.class)
+   List<NetworkInterfaceCard> listAll();

But in that 3rd option, the user is forced to pass a resource group he doesn't 
know anything about (it could even not exist) and that's very confusing

I added 2 commits with the changes to those APIs but i guess that breaks 
compatibility with clients and won't be accepted, right? I believe, however, 
it's the best way to go

-- 
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/pull/1225#discussion_r201461297

Reply via email to