Skip to content

EvaluationFrequency cannot be greater than MuteActionsDuration #26581

Open

Description

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamMonitoraz monitorcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.feature-request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions