Interface LbPoolService
-
- All Superinterfaces:
RestService
- All Known Implementing Classes:
LbPoolServiceImpl
public interface LbPoolService extends RestService
Networking (Neutron) Lbaas pool Extension API- Author:
- liujunpeng
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HealthMonitorassociateHealthMonitor(String lbPoolId, String healthMonitorId)Associates a health monitor with a specified pool.HealthMonitorassociateHealthMonitor(String lbPoolId, HealthMonitorAssociate associate)Associates a health monitor with a specified pool.LbPoolcreate(LbPool lbPool)Create a lb PoolActionResponsedelete(String lbPoolId)Delete the specified lb Pool by IDActionResponsedisAssociateHealthMonitor(String lbPoolId, String healthMonitorId)Disassociates a specified health monitor from a pool.LbPoolget(String lbPoolId)Get the specified lb pool by IDList<? extends LbPool>list()List all lb pools that the current tenant has access toList<? extends LbPool>list(Map<String,String> filteringParams)Returns list of lb pools filtered by parameters.LbPoolStatsstats(String lbPoolId)Get the LbPool Stats by IDLbPoolupdate(String lbPoolId, LbPoolUpdate lbPool)Update a lb pool
-
-
-
Method Detail
-
list
List<? extends LbPool> list()
List all lb pools that the current tenant has access to- Returns:
- list of all lb pools
-
list
List<? extends LbPool> list(Map<String,String> filteringParams)
Returns list of lb pools filtered by parameters.- Parameters:
filteringParams- map (name, value) of filtering parameters- Returns:
- List
-
get
LbPool get(String lbPoolId)
Get the specified lb pool by ID- Parameters:
lbPoolId- the lb pool identifier- Returns:
- the lbPool or null if not found
-
delete
ActionResponse delete(String lbPoolId)
Delete the specified lb Pool by ID- Parameters:
lbPoolId- the lb pool identifier- Returns:
- the action response
-
update
LbPool update(String lbPoolId, LbPoolUpdate lbPool)
Update a lb pool- Parameters:
lbPoolId- the lb pool identifierlbPool- LbPoolUpdate- Returns:
- LbPool
-
stats
LbPoolStats stats(String lbPoolId)
Get the LbPool Stats by ID- Parameters:
lbPoolId- , the lb pool identifier
-
associateHealthMonitor
HealthMonitor associateHealthMonitor(String lbPoolId, HealthMonitorAssociate associate)
Associates a health monitor with a specified pool.- Parameters:
lbPoolId- the lb pool identifierassociate- HealthMonitorAssociate- Returns:
- HealthMonitor
-
associateHealthMonitor
HealthMonitor associateHealthMonitor(String lbPoolId, String healthMonitorId)
Associates a health monitor with a specified pool.- Parameters:
lbPoolId- the lb pool identifierassociate- HealthMonitorAssociate- Returns:
- HealthMonitor
-
disAssociateHealthMonitor
ActionResponse disAssociateHealthMonitor(String lbPoolId, String healthMonitorId)
Disassociates a specified health monitor from a pool.- Parameters:
lbPoolId- the lb pool identifierhealthMonitorId- the healthMonitor identifier- Returns:
- ActionResponse
-
-