[Microsoft.Synapse/workspaces]: Inaccurate property types
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 44
- Avg merge
- 18h 53m
- Merged PRs (30d)
- 29
Description
### Resource Type
Microsoft.Synapse/workspaces/sqlPools/workloadGroups
### Api Version
2021-06-01
### Issue Type
Inaccurate property type(s)
### Other Notes
minResourcePercentPerRequest: int
maxResourcePercentPerRequest: int
both of these properties accept decimal values in strings
### Bicep Repro
resource WorkloadGroup 'Microsoft.Synapse/workspaces/sqlPools/workloadGroups@2021-06-01' = {
name: '${workSpaceName}/${dedicatedSQLPoolName}/WorkloadGroup'
properties: {
importance: 'normal'
maxResourcePercent: 100
minResourcePercent: 0
minResourcePercentPerRequest: '0.75'
maxResourcePercentPerRequest: '0.75'
}
}
### Confirm
- [X] I have read the troubleshooting guide and looked for duplicates.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Microsoft.Synapse/workspaces/sqlPools/workloadGroups type definition for API version 2021-06-01 and inspect the minResourcePercentPerRequest and maxResourcePercentPerRequest properties. Confirm the accepted decimal-string values from the Bicep reproduction, then update the definitions so both properties match the API behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cloud, databases
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100