Interface ReportApi


  • public interface ReportApi
    Reporting for load balancers.

    • Method Detail

      • listBillableLoadBalancers

        @Named("report:list")
        @GET
        @Consumes("application/json")
        @Path("/loadbalancers/billable")
        PagedIterable<LoadBalancer> listBillableLoadBalancers​(@QueryParam("startTime")
                                                              Date startTime,
                                                              @QueryParam("endTime")
                                                              Date endTime)
        List billable load balancers for the given date range.
      • getHistoricalUsage

        @Named("report:list")
        @GET
        @Consumes("application/json")
        @Path("/loadbalancers/usage")
        HistoricalUsage getHistoricalUsage​(@QueryParam("startTime")
                                           Date startTime,
                                           @QueryParam("endTime")
                                           Date endTime)
        View all transfer activity, average number of connections, and number of virtual IPs associated with the load balancing service. Historical usage data is available for up to 90 days of service activity.
      • listLoadBalancerUsage

        @Named("report:list")
        @GET
        @Consumes("application/json")
        @Path("/loadbalancers/{id}/usage")
        PagedIterable<LoadBalancerUsage> listLoadBalancerUsage​(@PathParam("id")
                                                               int loadBalancerId,
                                                               @QueryParam("startTime")
                                                               Date startTime,
                                                               @QueryParam("endTime")
                                                               Date endTime)
        Historical usage data is available for up to 90 days of service activity.
      • listCurrentLoadBalancerUsage

        @Named("report:list")
        @GET
        @Consumes("application/json")
        @Path("/loadbalancers/{id}/usage/current")
        PagedIterable<LoadBalancerUsage> listCurrentLoadBalancerUsage​(@PathParam("id")
                                                                      int loadBalancerId)
        Current usage represents all usage recorded within the preceding 24 hours.
      • getLoadBalancerStats

        @Named("report:list")
        @GET
        @Consumes("application/json")
        @Path("/loadbalancers/{id}/stats")
        LoadBalancerStats getLoadBalancerStats​(@PathParam("id")
                                               int loadBalancerId)
        Current usage represents all usage recorded within the preceding 24 hours.
      • listProtocols

        @Named("report:list")
        @GET
        @Consumes("application/json")
        @Path("/loadbalancers/protocols")
        Iterable<Protocol> listProtocols()
        All load balancers must define the protocol of the service which is being load balanced. The protocol selection should be based on the protocol of the back-end nodes. When configuring a load balancer, the default port for the given protocol will be selected from this list unless otherwise specified.
      • listAlgorithms

        @Named("report:list")
        @GET
        @Consumes("application/json")
        @Path("/loadbalancers/algorithms")
        Iterable<String> listAlgorithms()
        Get all of the possible algorthims usable by load balancers.