You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@description('Amount of data disks (1TB each) for SQL Data files')
64
+
@minValue(1)
65
+
@maxValue(8)
66
+
param sqlDataDisksCount int = 1
67
+
68
+
@description('Amount of data disks (1TB each) for SQL Log files')
69
+
@minValue(1)
70
+
@maxValue(8)
71
+
param sqlLogDisksCount int = 1
72
+
73
+
var dataDisksLuns = array(range(0, sqlDataDisksCount))
74
+
var logDisksLuns = array(range(sqlDataDisksCount, sqlLogDisksCount))
75
+
76
+
output array1 array = dataDisksLuns
77
+
output array2 array = logDisksLuns
78
+
```
79
+
80
+
The output from the preceding example with the default values is:
81
+
82
+
| Name | Type | Value |
83
+
| ---- | ---- | ----- |
84
+
| array1 | Array |[0]|
85
+
| array2 | Array |[1]|
86
+
57
87
## concat
58
88
59
89
`concat(arg1, arg2, arg3, ...)`
@@ -155,6 +185,34 @@ The output from the preceding example with the default values is:
155
185
| arrayTrue | Bool | True |
156
186
| arrayFalse | Bool | False |
157
187
188
+
### Quickstart examples
189
+
190
+
The following sample is extracted from a quickstart template, [Application Gateway with WAF and firewall policy](https://github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.network/application-gateway-waf-firewall-policy):
191
+
192
+
```bicep
193
+
backendHttpSettingsCollection: [for backendHttpSetting in backendHttpSettings: {
More examples can be found in these quickstart Bicep files:
211
+
212
+
-[Route table with routes](https://github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.network/route-table-create)
213
+
-[Virtual Network with diagnostic logs](https://github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.network/vnet-create-with-diagnostic-logs)
214
+
-[App Service Quickstart - Linux App](https://github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.web/app-service-docs-linux)
0 commit comments