com.apama.cumulocity
Event FindAlarm
Finds alarms, searching on source, status and type.
By default this will return all Alarms which match the criteria. You can set params to select which Alarms to receive.
To find alarms, send this event to the SEND_CHANNEL channel, and Cumulocity will respond on the FindAlarmResponse.SUBSCRIBE_CHANNEL channel with zero or more FindAlarmResponse events, followed by one FindAlarmResponseAck.
-
See Also:
-
com.apama.cumulocity.FindAlarmResponse -
-
com.apama.cumulocity.FindAlarmResponseAck -
Constant summary |
string | CHANNEL := "CumulocityIoTGenericChain"
Channel to send these events to.
-
Deprecated:
-
[This channel constant has been deprecated. Use SEND_CHANNEL instead.]
|
string | SEND_CHANNEL := "CumulocityIoTGenericChain"
Channel to send these events to. |
CHANNEL
string CHANNEL := "CumulocityIoTGenericChain"
-
Deprecated:
-
[This channel constant has been deprecated. Use SEND_CHANNEL instead.]
Channel to send these events to.
SEND_CHANNEL
string SEND_CHANNEL := "CumulocityIoTGenericChain"
Channel to send these events to.
-
Since:
- 10.5.2.0
params
dictionary<string, string> params
Additional request parameters.
'id', 'source', 'status', 'severity', 'type', 'resolved', 'fromDate', 'toDate', 'pageSize', 'currentPage' can be provided.
- id, source, status, severity, type, resolved, fromDate and toDate restrict which alarms will match
- pageSize represents a batching parameter for getting multiple responses from Cumulocity. A larger pageSize will do fewer requests to Cumulocity to retrieve all the alarms, but each will be larger
- currentPage can be set to retrieve a specific page of results for the given pageSize. If you set current page then only a single page will be requested, rather than all of them
reqId
integer reqId
Identifier for this request; must be generated using com.apama.cumulocity.Util.generateReqId().