diff --git a/src/alertsmanagement/azext_alertsmanagement/_help.py b/src/alertsmanagement/azext_alertsmanagement/_help.py index acde4f8fb39..b03356a33d4 100644 --- a/src/alertsmanagement/azext_alertsmanagement/_help.py +++ b/src/alertsmanagement/azext_alertsmanagement/_help.py @@ -83,8 +83,8 @@ - name: --filter-alert-context short-summary: Filter alerts by alert context (payload). long-summary: | - Filter format is where - Operator: one of + Filter format is ` ` where + Operator: one of Equals, NotEquals, Contains, DoesNotContain Values: List of values to match for a given condition - name: --schedule-recurrence short-summary: List of recurrence pattern values diff --git a/src/alertsmanagement/azext_alertsmanagement/_params.py b/src/alertsmanagement/azext_alertsmanagement/_params.py index 3f57481453d..58688db4c23 100644 --- a/src/alertsmanagement/azext_alertsmanagement/_params.py +++ b/src/alertsmanagement/azext_alertsmanagement/_params.py @@ -37,7 +37,7 @@ def load_arguments(self, _): c.argument('scopes', nargs='+', required=True, help='List of resource IDs (space-delimited) for scope. The rule will apply to alerts that fired on resources within that scope.') c.argument('enabled', arg_type=get_three_state_flag(), help='Indicate if the given alert processing rule is enabled or disabled (default is enabled).') c.argument('tags', tags_type) - c.argument('filter_severity', nargs='+', arg_group='Filter', validator=validate_severity, help='Filter alerts by severity ') + c.argument('filter_severity', nargs='+', arg_group='Filter', validator=validate_severity, help='Filter alerts by severity Sev0, Sev1, Sev2, Sev3, Sev4') c.argument('filter_monitor_service', nargs='+', arg_group='Filter', validator=validate_monitor_service, help='Filter alerts by monitor service') c.argument('filter_monitor_condition', nargs='+', arg_group='Filter', validator=validate_monitor_condition, help='Filter alerts by monitor condition') c.argument('filter_alert_rule_name', nargs='+', arg_group='Filter', validator=validate_alert_rule_name, help='Filter alerts by alert rule name')