> +   @GET
> +   @SelectJson("value")
> +   @Fallback(EmptyListOnNotFoundOr404.class)
> +   List<NetworkSecurityGroup> list();
> +
> +   @Named("networksecuritygroup:delete")
> +   @Path("/{networksecuritygroupname}")
> +   @DELETE
> +   @ResponseParser(FalseOn204.class)
> +   boolean delete(@PathParam("networksecuritygroupname") String nsgName);
> +
> +   @Named("networksecuritygroup:create_or_update")
> +   @Path("/{networksecuritygroupname}")
> +   @PUT
> +   @MapBinder(BindToJsonPayload.class)
> +   @Fallback(NullOnNotFoundOr404.class)

Specific example for the 404s?  Thanks.

Sent from my iThingy

> On Jun 1, 2016, at 22:16, Rita Zhang <[email protected]> wrote:
> 
> In 
> azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/features/NetworkSecurityGroupApi.java:
> 
> > +   @GET
> > +   @SelectJson("value")
> > +   @Fallback(EmptyListOnNotFoundOr404.class)
> > +   List<NetworkSecurityGroup> list();
> > +
> > +   @Named("networksecuritygroup:delete")
> > +   @Path("/{networksecuritygroupname}")
> > +   @DELETE
> > +   @ResponseParser(FalseOn204.class)
> > +   boolean delete(@PathParam("networksecuritygroupname") String nsgName);
> > +
> > +   @Named("networksecuritygroup:create_or_update")
> > +   @Path("/{networksecuritygroupname}")
> > +   @PUT
> > +   @MapBinder(BindToJsonPayload.class)
> > +   @Fallback(NullOnNotFoundOr404.class)
> Don't use 404 fallbacks in POST/PUT
> 
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub, or mute the thread.
> 


---
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/278/files/76791340f71414d5966d0239904de9b7ab673919#r65486501

Reply via email to