public class LbPoolServiceImpl extends BaseNetworkingServices implements LbPoolService
| Constructor and Description |
|---|
LbPoolServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
HealthMonitor |
associateHealthMonitor(String lbPoolId,
HealthMonitorAssociate associate)
Associates a health monitor with a specified pool.
|
LbPool |
create(LbPool lbPool)
Create a lb Pool
|
ActionResponse |
delete(String lbPoolId)
Delete the specified lb Pool by ID
|
ActionResponse |
disAssociateHealthMonitor(String lbPoolId,
String healthMonitorId)
Disassociates a specified health monitor from a pool.
|
LbPool |
get(String lbPoolId)
Get the specified lb pool by ID
|
List<? extends LbPool> |
list()
List all lb pools that the current tenant has access to
|
List<? extends LbPool> |
list(Map<String,String> filteringParams)
Returns list of lb pools filtered by parameters.
|
LbPoolStats |
stats(String lbPoolId)
Get the LbPool Stats by ID
|
LbPool |
update(String lbPoolId,
LbPoolUpdate lbPool)
Update a lb pool
|
public List<? extends LbPool> list()
list in interface LbPoolServicepublic List<? extends LbPool> list(Map<String,String> filteringParams)
list in interface LbPoolServicefilteringParams - map (name, value) of filtering parameterspublic LbPool get(String lbPoolId)
get in interface LbPoolServicelbPoolId - the lb pool identifierpublic ActionResponse delete(String lbPoolId)
delete in interface LbPoolServicelbPoolId - the lb pool identifierpublic LbPool create(LbPool lbPool)
create in interface LbPoolServicelbPool - LbPoolpublic LbPool update(String lbPoolId, LbPoolUpdate lbPool)
update in interface LbPoolServicelbPoolId - the lb pool identifierlbPool - LbPoolUpdatepublic LbPoolStats stats(String lbPoolId)
stats in interface LbPoolServicepublic HealthMonitor associateHealthMonitor(String lbPoolId, HealthMonitorAssociate associate)
associateHealthMonitor in interface LbPoolServicelbPoolId - the lb pool identifierassociate - HealthMonitorAssociatepublic ActionResponse disAssociateHealthMonitor(String lbPoolId, String healthMonitorId)
disAssociateHealthMonitor in interface LbPoolServicelbPoolId - the lb pool identifierhealthMonitorId - the healthMonitor identifier