public class AlarmServiceImpl extends BaseTelemetryServices implements AlarmService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
AlarmServiceImpl() |
Modifier and Type | Method and Description |
---|---|
Alarm |
create(Alarm alarm)
Create an alarm
|
ActionResponse |
delete(String alarmId)
Delete a specified alarm
|
Alarm |
getById(String alarmId)
Return a specified alarm
|
List<? extends Alarm> |
list()
Return all alarms.
|
void |
update(String alarmId,
Alarm alarm)
Update a specified alarm
|
wrapList
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends Alarm> list()
list
in interface AlarmService
public Alarm getById(String alarmId)
getById
in interface AlarmService
public void update(String alarmId, Alarm alarm)
update
in interface AlarmService
public Alarm create(Alarm alarm)
create
in interface AlarmService
public ActionResponse delete(String alarmId)
delete
in interface AlarmService
Copyright © 2017. All rights reserved.