Microsoft.Web/sites: missing sshEnabled
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 44
- Avg merge
- 18h 53m
- Merged PRs (30d)
- 29
Description
### Resource Type
Microsoft.Web/sites
### Api Version
2023-12-01
### Issue Type
Missing property(s)
### Other Notes
Adding sshEnabled: true|false to the properties object displays a warning that:
`Warning BCP037: The property "sshEnabled" is not allowed on objects of type "SiteProperties".`

However, when added it does set the SSH property correctly in the Azure portal:

### Bicep Repro
```
resource webApp 'Microsoft.Web/sites@2023-12-01' = {
name: 'appname'
location: location
identity: {
type: 'SystemAssigned'
}
kind: 'app,linux'
properties: {
siteConfig: [...]
sshEnabled: false //this gives a warning saying it is not a valid property, but it works!
}
}
```
### 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.Web/sites@2023-12-01 type definition and compare its SiteProperties schema with the Bicep repro. Verify how sshEnabled is represented by the Azure resource API, then update the definition so the repro accepts the property without BCP037; done means the warning is gone and the property remains deployable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100