All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openstack4j.api.telemetry.AlarmService Maven / Gradle / Ivy

There is a newer version: 3.11
Show newest version
package org.openstack4j.api.telemetry;

import java.util.List;

import org.openstack4j.common.RestService;
import org.openstack4j.model.common.ActionResponse;
import org.openstack4j.model.telemetry.Alarm;

/**
 * Provides alarms within an OpenStack deployment
 * 
 * @author Massimiliano Romano
 */
public interface AlarmService extends RestService {

	/**
	 * Return all alarms.
	 * 
	 * @return list of all alarms
	 */
	List list();

	/**
	 * Return a specified alarm
	 * 
	 * @return the alarm
	 */
	Alarm getById(String id);
	
	/**
	 * Update a specified alarm
	 * 
	 */
	void update(String id, Alarm a);
	
	/**
	 * Create an alarm
	 * 
	 */
	Alarm create(Alarm alarm);

	/**
	 * Delete a specified alarm
	 * 
	 */
	ActionResponse delete(String id);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy