All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openstack4j.api.networking.ext.HealthMonitorService Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package org.openstack4j.api.networking.ext;

import java.util.List;
import java.util.Map;
import org.openstack4j.common.RestService;
import org.openstack4j.model.common.ActionResponse;
import org.openstack4j.model.network.ext.HealthMonitor;
import org.openstack4j.model.network.ext.HealthMonitorUpdate;
/**
 * Networking (Neutron) Lbaas healthmonitor Extension API
 * @author liujunpeng
 *
 */
public interface HealthMonitorService extends RestService {
    /**
     * List all healthMonitor  that the current tenant has access to
     *
     * @return list of all healthMonitor
     */
    List list();

    /**
     * Returns list of healthMonitor filtered by parameters.
     * 
     * @param filteringParams map (name, value) of filtering parameters
     * @return 
     */
    List list(Map filteringParams);


    /**
     * Get the specified healthMonitor by ID
     *
     * @param healthMonitorId the healthMonitor identifier
     * @return the healthMonitor or null if not found
     */
    HealthMonitor get(String healthMonitorId);
    
    /**
     * Delete the specified healthMonitor by ID
     * @param healthMonitorId the healthMonitor identifier
     * @return the action response
     */
    ActionResponse delete(String healthMonitorId);
    /**
     * Create a healthMonitor
     * @param healthMonitor 
     * @return HealthMonitor
     */
    HealthMonitor create(HealthMonitor healthMonitor);
    /**
     * Update a healthMonitor
     * @param healthMonitorId the healthMonitor identifier
     * @param healthMonitor HealthMonitorUpdate
     * @return HealthMonitor
     */
    HealthMonitor update(String healthMonitorId,HealthMonitorUpdate healthMonitor);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy