[BUG] Unknown MonitorConditionOperator value. (Parameter 'value') Actual value was Equal. #41377
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Mgmt
This issue is related to a management-plane library.
Monitor
Monitor, Monitor Ingestion, Monitor Query
needs-team-attention
This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Library name and version
Azure.ResourceManager.Monitor 1.3.0
Describe the bug
It's possible for alert rules to have the Operator of "Equal" when created in the Azure Portal. The enum
MointorConditionOperator
Does not have a value for this to map to and will crash when it attempts to do so.Expected behavior
Should be able to query for alerts that have a "Equal to" operator
Actual behavior
Will crash with an
ArgumentOutOfRangeException
when attempting to get an alert rule that has "table rows = 0"Reproduction Steps
Create a log search alert rule using Application Insights.
GetAllAsync()
when trying to get the alert with the Equal operatorEnvironment
IDE: Rider
Version: Build #RD-233.13135.100
dotnet --info
outputThe text was updated successfully, but these errors were encountered: