Skip to content

Commit 36ebc3a

Browse files
Apply suggestion from @zliang-akamai
1 parent 9bb8702 commit 36ebc3a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

linode_api4/groups/monitor.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)