Package org.openstack4j.api.gbp
Interface NatPoolService
-
- All Known Implementing Classes:
NatPoolServiceImpl
public interface NatPoolServiceThis interface defines all methods for the manipulation of nat-pool- Author:
- vinod borole
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NatPoolcreate(NatPool natpool)Create a new nat poolActionResponsedelete(String id)Delete of the nat poolNatPoolget(String id)Get the specified nat pool by IDList<? extends NatPool>list()List all nat poolList<? extends NatPool>list(Map<String,String> filteringParams)Returns list of nat pool filtered by parameters.NatPoolupdate(String natpoolId, NatPool natpool)Updates an existing nat pool
-
-
-
Method Detail
-
list
List<? extends NatPool> list(Map<String,String> filteringParams)
Returns list of nat pool filtered by parameters.- Parameters:
filteringParams- map (name, value) of filtering parameters
-
get
NatPool get(String id)
Get the specified nat pool by ID- Parameters:
id- the nat pool id- Returns:
- nat pool or null if not found
-
delete
ActionResponse delete(String id)
Delete of the nat pool- Parameters:
id- the nat pool id- Returns:
- the action response
-
create
NatPool create(NatPool natpool)
Create a new nat pool- Parameters:
nat- pool- Returns:
- the newly created nat pool
-
-