Azure / Azure/azure-rest-api-specs

Scheduled Query Rule 2018-04-16 `queryType` Enum Value Mismatch

Open
#20,123 0 comments 0 reactions 0 assignees View on GitHub
Insights Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 2h
Merged PRs (30d)
424

Description

in Swagger file, `queryType` has only one possible Enum value `ResultCount`
https://github.com/Azure/azure-rest-api-specs/blob/e94b0da0c7f80e2986af90c1dd7e9c8f4c336c61/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json#L579-L589

But From Portal, We can see `"queryType": "Number"`, is there any other Enum value? It will help a lot if you can help provide a full list of Enum values.
![image](https://user-images.githubusercontent.com/104055472/182990649-8c1cd551-3e76-4426-811d-1572ec4bddcc.png)

Contributor guide

Open the contributing guide

Research direction

Start with specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json, especially the queryType definition at lines 579-589. Compare the declared enum with the portal behavior shown in the issue and determine the supported values. Done means the API specification accurately represents the valid queryType values or clearly documents the discrepancy.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, openapi
Domain
api, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.