Interface SubnetApi


  • @Path("/resourcegroups/{resourcegroup}/providers/Microsoft.Network/virtualNetworks/{virtualnetwork}/subnets")
    @Consumes("application/json")
    public interface SubnetApi
    • Method Detail

      • list

        @Named("subnet:list")
        @GET
        List<Subnet> list()
      • createOrUpdate

        @Named("subnet:create_or_update")
        @Path("/{subnetname}")
        @PUT
        Subnet createOrUpdate​(@PathParam("subnetname")
                              String name,
                              Subnet.SubnetProperties properties)
      • get

        @Named("subnet:get")
        @Path("/{subnetname}")
        @GET
        Subnet get​(@PathParam("subnetname")
                   String subnetname)
      • delete

        @Named("subnet:delete")
        @Path("/{subnetname}")
        @DELETE
        boolean delete​(@PathParam("subnetname")
                       String subnetname)