Azure/bicep-types-az

Microsoft.Web/sites: missing sshEnabled

Opened this issue · 0 comments

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".
Screenshot 2024-06-25 170609

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

Screenshot 2024-06-25 170654

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.