| 1 | <h2>Variable assignment</h2> |
| 2 | <pre><code>var foo = 'bar'</code></pre> |
| 3 | |
| 4 | <h2>Operators</h2> |
| 5 | <pre><code>(1 + 2 * 3)/4 >= 3 && 4 < 5 || 6 > 7</code></pre> |
| 6 | |
| 7 | <h2>Keywords</h2> |
| 8 | <pre><code>resource appServicePlan 'Microsoft.Web/serverfarms@2020-09-01' existing = = if (diagnosticsEnabled) { |
| 9 | name: logAnalyticsWsName |
| 10 | } |
| 11 | module cosmosDb './cosmosdb.bicep' = { |
| 12 | name: 'cosmosDbDeploy' |
| 13 | } |
| 14 | param env string |
| 15 | var oneNumber = 123 |
| 16 | output databaseName string = cosmosdbDatabaseName |
| 17 | for item in cosmosdbAllowedIpAddresses: { |
| 18 | ipAddressOrRange: item |
| 19 | }</code></pre> |