What method to use in JON CLI to create an AlertDefinition?
Issue
-
When I invoke the method AlertDefinitionManager.createAlertDefinition, it throws the exception:
sun.org.mozilla.javascript.internal.EcmaError: TypeError: Cannot find function createAlertDefinition. (<Unknown source>#43) in <Unknown source> at line number 43. -
But I find the API , the AlertDefinitionManager has the method createAlertDefinition.
Environment
-
Red Hat JBoss Operations Network(JON)
- 2
- 3
-
Red Hat JBoss Operations Network Command Line Interface (CLI)
- 2
- 3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
