Azure / Azure/azure-rest-api-specs
Microsoft.Insights/webtests - Incomplete description for ExpectedHttpStatusCode property
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
The description for field ExpectedHttpStatusCode is incomplete. When creating a Web Test via the Azure portal, there is an option to select "<400" for the ExpectedHttpStatusCode property, and the property description does not include information on how to leverage that setting (the property is of type Integer). It appears that ommitting ExpectedHttpStatusCode from the parameters, or setting it to zero, is the way to configure that setting to "<400", via Bicep. The documentation does not mention this.
Contributor guide
Research direction
Locate the Microsoft.Insights/webtests definition and the ExpectedHttpStatusCode property description in the REST API specifications. Review the reported Azure portal and Bicep behavior, then update the description so the less-than-400 option and its configuration are documented; the issue is complete when that behavior is clearly explained.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100