Azure / Azure/azure-rest-api-specs
[BUG] Azure Sentinel 50gb CapacityReservation not supported
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
### API Spec link
https://learn.microsoft.com/en-us/rest/api/loganalytics/workspaces/create-or-update?view=rest-loganalytics-2025-02-01&tabs=HTTP#capacityreservationlevel
### API Spec version
2025-02-01
### Describe the bug
The 2025-02-01 API spec for loganalytics/workspaces does not support the newly introduced 50gb capacity reservation level.
See 50gb preview tier: https://www.microsoft.com/en-us/security/pricing/microsoft-sentinel
Latest API Spec lacks a 50 gb capacityreservationlevel: https://learn.microsoft.com/en-us/rest/api/loganalytics/workspaces/create-or-update?view=rest-loganalytics-2025-02-01&tabs=HTTP#capacityreservationlevel
### Expected behavior
Specifying a Azure Log Analytics Workspace CapacityReservationLevel of 50 should set the Workspace to a 50gb reservation.
### Actual behavior
Error:
`Status=400 Code="InvalidInput" Message="CapacityReservationLevel must be an allowed value: [GB100,GB200,GB300,GB400,GB500,T1,T2,T5,T10,T25,T50].`
### Reproduction Steps
Deploy or update an existing workspace with `CapacityReservationLevel == 50`
### Environment
_No response_
Contributor guide
Research direction
Start by locating the Log Analytics workspaces create-or-update specification for API version 2025-02-01 and compare its CapacityReservationLevel values with the linked Microsoft API documentation. Reproduce the workspace deployment or update using CapacityReservationLevel 50; done means the specification accepts the 50GB reservation level without the reported validation error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100