Class NeutronLoadBalancerHealthMonitorNorthbound
- java.lang.Object
-
- org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound<NeutronLoadBalancerHealthMonitor,NeutronLoadBalancerHealthMonitorRequest,INeutronLoadBalancerHealthMonitorCRUD>
-
- org.opendaylight.neutron.northbound.api.NeutronLoadBalancerHealthMonitorNorthbound
-
@Singleton @Path("/lbaas/healthmonitors") public final class NeutronLoadBalancerHealthMonitorNorthbound extends AbstractNeutronNorthbound<NeutronLoadBalancerHealthMonitor,NeutronLoadBalancerHealthMonitorRequest,INeutronLoadBalancerHealthMonitorCRUD>
Neutron Northbound REST APIs for Load Balancer HealthMonitor.
-
-
Field Summary
-
Fields inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
HTTP_OK_BOTTOM, HTTP_OK_TOP
-
-
Constructor Summary
Constructors Constructor Description NeutronLoadBalancerHealthMonitorNorthbound(INeutronLoadBalancerHealthMonitorCRUD neutronCRUD)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createLoadBalancerHealthMonitors(NeutronLoadBalancerHealthMonitorRequest input)
Creates new LoadBalancerHealthMonitor.javax.ws.rs.core.Response
deleteLoadBalancerHealthMonitor(String loadBalancerHealthMonitorID)
Deletes a LoadBalancerHealthMonitor.protected String
getResourceName()
javax.ws.rs.core.Response
listGroups(List<String> fields, String queryLoadBalancerHealthMonitorID, String queryLoadBalancerHealthMonitorTenantID, String queryLoadBalancerHealthMonitorType, Integer queryLoadBalancerHealthMonitorDelay, Integer queryLoadBalancerHealthMonitorTimeout, Integer queryLoadBalancerHealthMonitorMaxRetries, String queryLoadBalancerHealthMonitorHttpMethod, String queryLoadBalancerHealthMonitorUrlPath, String queryLoadBalancerHealthMonitorExpectedCodes, Boolean queryLoadBalancerHealthMonitorIsAdminStateUp, String limit, String marker, String pageReverse)
Returns a list of all LoadBalancerHealthMonitor.javax.ws.rs.core.Response
showLoadBalancerHealthMonitor(String loadBalancerHealthMonitorID, List<String> fields)
Returns a specific LoadBalancerHealthMonitor.javax.ws.rs.core.Response
updateLoadBalancerHealthMonitor(String loadBalancerHealthMonitorID, NeutronLoadBalancerHealthMonitorRequest input)
Updates a LoadBalancerHealthMonitor Policy.-
Methods inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
create, delete, getNeutronCRUD, serviceUnavailable, show, update, updateDelta, uuidNoExist
-
-
-
-
Constructor Detail
-
NeutronLoadBalancerHealthMonitorNorthbound
@Inject public NeutronLoadBalancerHealthMonitorNorthbound(INeutronLoadBalancerHealthMonitorCRUD neutronCRUD)
-
-
Method Detail
-
getResourceName
protected String getResourceName()
-
listGroups
@GET @Produces("application/json") public javax.ws.rs.core.Response listGroups(@QueryParam("fields") List<String> fields, @QueryParam("id") String queryLoadBalancerHealthMonitorID, @QueryParam("tenant_id") String queryLoadBalancerHealthMonitorTenantID, @QueryParam("type") String queryLoadBalancerHealthMonitorType, @QueryParam("delay") Integer queryLoadBalancerHealthMonitorDelay, @QueryParam("timeout") Integer queryLoadBalancerHealthMonitorTimeout, @QueryParam("max_retries") Integer queryLoadBalancerHealthMonitorMaxRetries, @QueryParam("http_method") String queryLoadBalancerHealthMonitorHttpMethod, @QueryParam("url_path") String queryLoadBalancerHealthMonitorUrlPath, @QueryParam("expected_codes") String queryLoadBalancerHealthMonitorExpectedCodes, @QueryParam("admin_state_up") Boolean queryLoadBalancerHealthMonitorIsAdminStateUp, @QueryParam("limit") String limit, @QueryParam("marker") String marker, @QueryParam("page_reverse") String pageReverse)
Returns a list of all LoadBalancerHealthMonitor.
-
showLoadBalancerHealthMonitor
@Path("{loadBalancerHealthMonitorID}") @GET @Produces("application/json") public javax.ws.rs.core.Response showLoadBalancerHealthMonitor(@PathParam("loadBalancerHealthMonitorID") String loadBalancerHealthMonitorID, @QueryParam("fields") List<String> fields)
Returns a specific LoadBalancerHealthMonitor.
-
createLoadBalancerHealthMonitors
@POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response createLoadBalancerHealthMonitors(NeutronLoadBalancerHealthMonitorRequest input)
Creates new LoadBalancerHealthMonitor.
-
updateLoadBalancerHealthMonitor
@Path("{loadBalancerHealthMonitorID}") @PUT @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response updateLoadBalancerHealthMonitor(@PathParam("loadBalancerHealthMonitorID") String loadBalancerHealthMonitorID, NeutronLoadBalancerHealthMonitorRequest input)
Updates a LoadBalancerHealthMonitor Policy.
-
deleteLoadBalancerHealthMonitor
@Path("{loadBalancerHealthMonitorID}") @DELETE public javax.ws.rs.core.Response deleteLoadBalancerHealthMonitor(@PathParam("loadBalancerHealthMonitorID") String loadBalancerHealthMonitorID)
Deletes a LoadBalancerHealthMonitor.
-
-