Microsoft.Web/sites: missing sshEnabled
Opened this issue · 0 comments
refractivSteve commented
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
- I have read the troubleshooting guide and looked for duplicates.