Skip to content

EvaluationFrequency cannot be greater than MuteActionsDuration #26581

@kodeo

Description

@kodeo

Describe the bug

Running az monitor scheduled-query create, specifying --evaluation-frequency 1h and omitting --mute-actions-duration, returns EvaluationFrequency cannot be greater than MuteActionsDuration.

If we do not wish to mute actions for any duration, how could the evaluation frequency ever not be greater than the mute action duration?

Related command

az monitor scheduled-query create

Errors

InvalidRequestContent: The request content was invalid and could not be deserialized: 'EvaluationFrequency cannot be greater than MuteActionsDuration'

Issue script & Debug output

n/a

Expected behavior

The scheduled query to be created as specified.

Environment Summary

azure-cli 2.49.0

core 2.49.0
telemetry 1.0.8

Extensions:
aks-preview 0.5.41
scheduled-query 0.2.2

Dependencies:
msal 1.20.0
azure-mgmt-resource 22.0.0

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions