[Microsoft.Web/sites/config]: The property "minTlsCipherSuite" is not allowed on objects of type "SiteConfig"
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 44
- Avg merge
- 18h 53m
- Merged PRs (30d)
- 29
Description
### Resource Type
Microsoft.Web/sites
### Api Version
2022-09-01
### Issue Type
Type is unavailable
### Other Notes
I've got a warning with below config, although it is supported by the deployment
```
Warning BCP037: The property "minTlsCipherSuite" is not allowed on objects of type "SiteConfig". Permissible properties include "acrUseManagedIdentityCreds",
"acrUserManagedIdentityID", "alwaysOn", "apiDefinition", "apiManagementConfig", "appCommandLine", "appSettings", "autoHealEnabled", "autoHealRules", "autoSwapSlotName", "azureStorageAccounts", "connectionStrings", "cors", "defaultDocuments", "detailedErrorLoggingEnabled", "documentRoot", "elasticWebAppScaleLimit", "experiments", "ftpsState", "functionAppScaleLimit", "functionsRuntimeScaleMonitoringEnabled", "handlerMappings", "healthCheckPath", "http20Enabled", "httpLoggingEnabled", "ipSecurityRestrictions", "ipSecurityRestrictionsDefaultAction", "javaContainer", "javaContainerVersion", "javaVersion", "keyVaultReferenceIdentity", "limits", "linuxFxVersion", "loadBalancing", "localMySqlEnabled", "logsDirectorySizeLimit", "managedPipelineMode", "managedServiceIdentityId", "metadata", "minimumElasticInstanceCount", "minTlsVersion", "netFrameworkVersion", "nodeVersion", "numberOfWorkers", "phpVersion", "powerShellVersion", "preWarmedInstanceCount", "publicNetworkAccess", "publishingUsername", "push", "pythonVersion", "remoteDebuggingEnabled", "remoteDebuggingVersion", "requestTracingEnabled", "requestTracingExpirationTime", "scmIpSecurityRestrictions", "scmIpSecurityRestrictionsDefaultAction", "scmIpSecurityRestrictionsUseMain", "scmMinTlsVersion", "scmType", "tracingOptions", "use32BitWorkerProcess", "virtualApplications", "vnetName", "vnetPrivatePortsCount", "vnetRouteAllEnabled", "websiteTimeZone", "webSocketsEnabled", "windowsFxVersion", "xManagedServiceIdentityId". If this is an inaccuracy in the documentation, please report it to the Bicep
Team. [https://aka.ms/bicep-type-issues]
```
### Bicep Repro
```bicep
resource webAppConfig 'Microsoft.Web/sites/config@2022-09-01' = {
parent: site // being site a reference to the webapp
name: 'web'
properties: {
minTlsCipherSuite: minTlsCipherSuite
}
}
```
### Confirm
- [X] I have read the troubleshooting guide and looked for duplicates.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Bicep repro and locate the Microsoft.Web/sites/config SiteConfig type definition for API version 2022-09-01. Check how properties are represented and how type updates are validated; done means minTlsCipherSuite is accepted without the BCP037 warning for this configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100