Monitoring and Alerting

This endpoint is used for updating the status of a rule.

This endpoint allows you to update the status of a health monitoring rule.

patch/api/v2/healthmonitoring/rules/{id}/status

Request

Path parameters

idstring byte required

Request body

status'RULE_STATUS_UNSPECIFIED' | 'RULE_STATUS_ENABLED' | 'RULE_STATUS_DISABLED'

RuleStatus specifies the status of a rule. The status of the rule which can be either enabled or disabled. The rule is processed only in an enabled state.

  • RULE_STATUS_UNSPECIFIED: No status specified
  • RULE_STATUS_ENABLED: rule is enabled
  • RULE_STATUS_DISABLED: rule is disabled

Response

A successful response.

Changes

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