File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -241,13 +241,13 @@ def create_alert_definition(
241241 :type severity: int
242242 :param channel_ids: List of alert channel IDs to notify when the alert fires.
243243 :type channel_ids: list[int]
244- :param rule_criteria: (Optional) Rule criteria that determine when the alert
244+ :param rule_criteria: Rule criteria that determine when the alert
245245 should be evaluated. Structure depends on the service
246246 metric definitions.
247- :type rule_criteria: Optional[ dict]
248- :param trigger_conditions: (Optional) Trigger conditions that define when
247+ :type rule_criteria: dict
248+ :param trigger_conditions: Trigger conditions that define when
249249 the alert should transition state.
250- :type trigger_conditions: Optional[ dict]
250+ :type trigger_conditions: dict
251251 :param entity_ids: (Optional) Restrict the alert to a subset of entity IDs.
252252 :type entity_ids: Optional[list[str]]
253253 :param description: (Optional) Longer description for the alert definition.
You can’t perform that action at this time.
0 commit comments