Class NeutronMeteringLabelRulesNorthbound

    • Constructor Detail

    • Method Detail

      • listMeteringLabelRules

        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response listMeteringLabelRules​(@QueryParam("fields")
                                                                List<String> fields,
                                                                @QueryParam("id")
                                                                String queryID,
                                                                @QueryParam("direction")
                                                                String queryDirection,
                                                                @QueryParam("remote_ip_prefix")
                                                                String queryRemoteIpPrefix,
                                                                @QueryParam("metering_label_id")
                                                                String queryLabelID)
        Returns a list of all metering label rules.
      • showMeteringLabelRule

        @Path("{ruleUUID}")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response showMeteringLabelRule​(@PathParam("ruleUUID")
                                                               String ruleUUID,
                                                               @QueryParam("fields")
                                                               List<String> fields)
        Returns a specific metering label rule.
      • createMeteringLabelRule

        @POST
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response createMeteringLabelRule​(NeutronMeteringLabelRuleRequest input)
        Creates new metering label rule.
      • deleteMeteringLabelRule

        @Path("{ruleUUID}")
        @DELETE
        public javax.ws.rs.core.Response deleteMeteringLabelRule​(@PathParam("ruleUUID")
                                                                 String ruleUUID)
        Deletes a Metering Label rule.