opennms
Version:
Client API for the OpenNMS network monitoring platform
16 lines (13 loc) • 489 B
text/typescript
/**
* Interface to provide values to a certain property id.
*/
export interface IValueProvider {
/**
* Finds the values for the given propertyId, if it exists.
*
* @param {string} propertyId The propertyId to find the values for
* @param options Some additional options. May be implementer dependent, such as limit, or value restrictions
* @returns {Promise<any>} A promise containing the values.
*/
findValues(propertyId: string, options?: any): Promise<any>;
}