Testing Bicep Resource Derived Types:
- [EXPERIMENTAL] Use resource types for parameter validation:
- Add a resource<'type@version'> utility type (Azure/bicep#12591)
- Allow use of type properties as type expressions (Azure/bicep#13047)
- Bicep CLI (
>0.25.3
)
In main.bicep we have defined the following parameter:
param securityRules resource<'Microsoft.Network/networkSecurityGroups@2023-09-01'>.properties.securityRules
Try editing the main.bicepparam file and get intellisense when filling out the securityRules
parameter.