Re: [jclouds/jclouds-labs] Network Security Group API and Network Security Group Rule API (#278)

2016-06-06 Thread Jim Spring
Closed #278. --- 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#event-682996931

Re: [jclouds/jclouds-labs] Network Security Group API and Network Security Group Rule API (#278)

2016-06-06 Thread Jim Spring
Redoing due to PR / tree getting into a bad state. --- 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#issuecomment-223989638

Re: [jclouds/jclouds-labs] Network Security Group API and Network Security Group Rule API (#278)

2016-06-02 Thread Jim Spring
URI used for delete, tests updated. --- 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#issuecomment-223340548

Re: [jclouds/jclouds-labs] Network Security Group API and Network Security Group Rule API (#278)

2016-06-01 Thread Jim Spring
> +@QueryParams(keys = "api-version", values = "2016-03-30") > +@RequestFilters(OAuthFilter.class) > +@Consumes(MediaType.APPLICATION_JSON) > +public interface NetworkSecurityGroupApi { > + > + @Named("networksecuritygroup:list") > + @GET > + @SelectJson("value") > +

Re: [jclouds/jclouds-labs] Network Security Group API and Network Security Group Rule API (#278)

2016-06-01 Thread Jim Spring
> + @GET > + @SelectJson("value") > + @Fallback(EmptyListOnNotFoundOr404.class) > + List list(); > + > + @Named("networksecuritygroup:delete") > + @Path("/{networksecuritygroupname}") > + @DELETE > + @ResponseParser(FalseOn204.class) > + boolean

Re: [jclouds/jclouds-labs] Network Security Group API and Network Security Group Rule API (#278)

2016-06-01 Thread Rita Zhang
> +import javax.ws.rs.PUT; > +import javax.ws.rs.PathParam; > +import javax.ws.rs.core.MediaType; > +import java.util.List; > + > +@Path("/resourcegroups/{resourcegroup}/providers/Microsoft.Network/networkSecurityGroups/{networksecuritygroup}") > + > +@QueryParams(keys = "api-version", values =

Re: [jclouds/jclouds-labs] Network Security Group API and Network Security Group Rule API (#278)

2016-06-01 Thread Rita Zhang
> + @GET > + @SelectJson("value") > + @Fallback(EmptyListOnNotFoundOr404.class) > + List list(); > + > + @Named("networksecuritygroup:delete") > + @Path("/{networksecuritygroupname}") > + @DELETE > + @ResponseParser(FalseOn204.class) > + boolean

Re: [jclouds/jclouds-labs] Network Security Group API and Network Security Group Rule API (#278)

2016-06-01 Thread Rita Zhang
> +@QueryParams(keys = "api-version", values = "2016-03-30") > +@RequestFilters(OAuthFilter.class) > +@Consumes(MediaType.APPLICATION_JSON) > +public interface NetworkSecurityGroupApi { > + > + @Named("networksecuritygroup:list") > + @GET > + @SelectJson("value") > +

Re: [jclouds/jclouds-labs] Network Security Group API and Network Security Group Rule API (#278)

2016-06-01 Thread Rita Zhang
> + @Path("/defaultSecurityRules/{networksecurityrulename}") > + @GET > + @Fallback(NullOnNotFoundOr404.class) > + NetworkSecurityRule > get_default_rule(@PathParam("networksecurityrulename") String ruleName); > + > + @Named("networksecurityrule:get") > +

[jclouds/jclouds-labs] Network Security Group API and Network Security Group Rule API (#278)

2016-06-01 Thread Jim Spring
request online at: https://github.com/jclouds/jclouds-labs/pull/278 -- Commit Summary -- * Network Security Group API and Network Security Group Rule API -- File Changes -- M azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/AzureComputeApi.java (18) A azurecompute-arm