Enable / Disable Health Rule
appd_enable_health_ruleEnables or disables a health rule in AppDynamics by toggling its enabled flag, leaving all other configurations unchanged.
Instructions
Enable or disable a health rule without changing any other settings.
Fetches the current rule, sets the enabled flag, and PUTs it back.
Args:
application (string|number): App name or ID
healthRuleId (number): ID of the health rule
enabled (boolean): true to enable, false to disable
Returns: Updated health rule object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | true to enable the rule, false to disable it. | |
| application | Yes | Application name or numeric ID. | |
| healthRuleId | Yes | ID of the health rule. |