Azure / bicep

Bicep is a declarative language for describing and deploying Azure resources
MIT License
3.2k stars 742 forks source link

Bicept validation is wrong for Event Hub Namespace #8987

Closed SDanehy closed 1 year ago

SDanehy commented 1 year ago

When adding a new property to a "Microsoft.EventHub/namespaces@2022-01-01-preview" resource I get the following error:

The property "minimumTlsVersion" is not allowed on objects of type "EHNamespaceProperties". Permissible properties include "clusterArmId", "encryption", "privateEndpointConnections".

Per Microsoft's documentation this is a valid property. https://learn.microsoft.com/en-us/azure/templates/microsoft.eventhub/namespaces?pivots=deployment-language-bicep

alex-frankel commented 1 year ago

Can you share the bicep code you are using? Is this throwing an error in VS code or when you attempt to deploy the bicep file?

alex-frankel commented 1 year ago

Closing due to no response