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

org.openstack4j.api.gbp.NatPoolService Maven / Gradle / Ivy

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

import java.util.List;
import java.util.Map;

import org.openstack4j.model.common.ActionResponse;
import org.openstack4j.model.gbp.NatPool;

/**
 * This interface defines all methods for the manipulation of nat-pool
 * 
 * @author vinod borole
 *  
 */
public interface NatPoolService {
    /**
     * List all nat pool
     * 
     * @return List of nat pool
     */
    List list();
    /**
     * Returns list of nat pool filtered by parameters.
     * 
     * @param filteringParams map (name, value) of filtering parameters
     * @return 
     */
    List list(Map filteringParams);
    /**
     * Get the specified nat pool by ID
     *
     * @param id the nat pool id
     * @return nat pool or null if not found
     */
    NatPool get(String id);
    /**
     * Delete of the nat pool
     * @param id the nat pool id
     * @return the action response
     */
    ActionResponse delete(String id);
    /**
     * Create a new nat pool
     *
     * @param nat pool
     * @return the newly created nat pool
     */
    NatPool create(NatPool natpool);
    /**
     * Updates an existing nat pool
     * 
     * @param nat pool identifier
     * @param nat pool that is be used to updated
     * @return the updated nat pool
     */
   NatPool update(String natpoolId,NatPool natpool);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy