Monitoring and Alerting

This endpoint is used for creating the rules.

Create a health monitoring rule.

Use one of:

  • template_object_id — template-based or poll-based (UI / legacy clients)
  • rule_type + rule_subtype — programmatic poll-based create without template_object_id
  • rule_type RULE_TYPE_EVENT_FILTER_BASED + event_filters — insights rules

Poll-based rule_type + rule_subtype pairs: | ruleType | ruleSubtype | | RULE_TYPE_POLL_BASED | certificate_expiry_detection | | RULE_TYPE_POLL_BASED | device_policy_detection |

Discover pairs from GET /api/v2/healthmonitoring/ruletemplates.

post/healthmonitoring/rules

Request

Request body

Response

A successful response.

warningstring

Changes

No recorded changes to this operation across all 1 revision of this API.