Azure / Azure/azure-rest-api-specs

create scheduledQueryRules - mail subject is limited to 128chars, but rest api has no exception for this.

Open
#10,040 1 comment 0 reactions 0 assignees View on GitHub
customer-reported Monitor needs-team-attention question Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 37m
Merged PRs (30d)
446

Description

api-version=2018-04-16

create scheduledQueryRules - mail subject is limited to 128chars, but rest api has no exception for this.
https://docs.microsoft.com/de-de/rest/api/monitor/scheduledqueryrules/createorupdate

See the Request Body JSON: action / emailSubject

value is limited to 128chars in the azure portal. the rest api has no exception for this.
The alert will be created over the rest api but in the azure portal there is a error.

Best greetings
Fabrice

Contributor guide

Open the contributing guide

Research direction

Start with the scheduledQueryRules createOrUpdate REST API documentation and its Request Body JSON, especially action/emailSubject. Compare the 128-character Azure portal limit with the REST API behavior and determine how the specification represents that constraint. Done means the specification reflects the same limit so the REST API and portal do not disagree.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.