matsest / bicep-resource-types-demo

Testing Resource Derived Types in Bicep

Repository from Github https://github.commatsest/bicep-resource-types-demoRepository from Github https://github.commatsest/bicep-resource-types-demo

Bicep Resource Derived Types Demo

Testing Bicep Resource Derived Types:

  • [EXPERIMENTAL] Use resource types for parameter validation:

Prerequisites

Usage

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.

About

Testing Resource Derived Types in Bicep


Languages

Language:Bicep 100.0%