Class HealthMonitorServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.networking.internal.BaseNetworkingServices
-
- org.openstack4j.openstack.networking.internal.ext.HealthMonitorServiceImpl
-
- All Implemented Interfaces:
HealthMonitorService,RestService
public class HealthMonitorServiceImpl extends BaseNetworkingServices implements HealthMonitorService
OpenStack (Neutron) Lbaas healthmonitor based Operations- Author:
- liujunpeng
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
BaseOpenStackService.Invocation<R>
-
-
Constructor Summary
Constructors Constructor Description HealthMonitorServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthMonitorcreate(HealthMonitor healthMonitor)Create a healthMonitorActionResponsedelete(String healthMonitorId)Delete the specified healthMonitor by IDHealthMonitorget(String healthMonitorId)Get the specified healthMonitor by IDList<? extends HealthMonitor>list()List all healthMonitor that the current tenant has access toList<? extends HealthMonitor>list(Map<String,String> filteringParams)Returns list of healthMonitor filtered by parameters.HealthMonitorupdate(String healthMonitorId, HealthMonitorUpdate healthMonitor)Update a healthMonitor-
Methods inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
delete, deleteWithResponse, get, getProvider, getServiceVersion, getWithResponse, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, putWithResponse, request, toList, uri
-
-
-
-
Method Detail
-
list
public List<? extends HealthMonitor> list()
List all healthMonitor that the current tenant has access to- Specified by:
listin interfaceHealthMonitorService- Returns:
- list of all healthMonitor
-
list
public List<? extends HealthMonitor> list(Map<String,String> filteringParams)
Returns list of healthMonitor filtered by parameters.- Specified by:
listin interfaceHealthMonitorService- Parameters:
filteringParams- map (name, value) of filtering parameters
-
get
public HealthMonitor get(String healthMonitorId)
Get the specified healthMonitor by ID- Specified by:
getin interfaceHealthMonitorService- Parameters:
healthMonitorId- the healthMonitor identifier- Returns:
- the healthMonitor or null if not found
-
delete
public ActionResponse delete(String healthMonitorId)
Delete the specified healthMonitor by ID- Specified by:
deletein interfaceHealthMonitorService- Parameters:
healthMonitorId- the healthMonitor identifier- Returns:
- the action response
-
create
public HealthMonitor create(HealthMonitor healthMonitor)
Create a healthMonitor- Specified by:
createin interfaceHealthMonitorService- Returns:
- HealthMonitor
-
update
public HealthMonitor update(String healthMonitorId, HealthMonitorUpdate healthMonitor)
Update a healthMonitor- Specified by:
updatein interfaceHealthMonitorService- Parameters:
healthMonitorId- the healthMonitor identifierhealthMonitor- HealthMonitorUpdate- Returns:
- HealthMonitor
-
-