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
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
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
> +@QueryParams(keys = "api-version", values = "2016-03-30")
> +@RequestFilters(OAuthFilter.class)
> +@Consumes(MediaType.APPLICATION_JSON)
> +public interface NetworkSecurityGroupApi {
> +
> + @Named("networksecuritygroup:list")
> + @GET
> + @SelectJson("value")
> +
> + @GET
> + @SelectJson("value")
> + @Fallback(EmptyListOnNotFoundOr404.class)
> + List list();
> +
> + @Named("networksecuritygroup:delete")
> + @Path("/{networksecuritygroupname}")
> + @DELETE
> + @ResponseParser(FalseOn204.class)
> + boolean
> +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 =
> + @GET
> + @SelectJson("value")
> + @Fallback(EmptyListOnNotFoundOr404.class)
> + List list();
> +
> + @Named("networksecuritygroup:delete")
> + @Path("/{networksecuritygroupname}")
> + @DELETE
> + @ResponseParser(FalseOn204.class)
> + boolean
> +@QueryParams(keys = "api-version", values = "2016-03-30")
> +@RequestFilters(OAuthFilter.class)
> +@Consumes(MediaType.APPLICATION_JSON)
> +public interface NetworkSecurityGroupApi {
> +
> + @Named("networksecuritygroup:list")
> + @GET
> + @SelectJson("value")
> +
> + @Path("/defaultSecurityRules/{networksecurityrulename}")
> + @GET
> + @Fallback(NullOnNotFoundOr404.class)
> + NetworkSecurityRule
> get_default_rule(@PathParam("networksecurityrulename") String ruleName);
> +
> + @Named("networksecurityrule:get")
> +
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
10 matches
Mail list logo