forked from Azure/bicep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
parameters.formatted.bicepparam
42 lines (37 loc) · 1.11 KB
/
parameters.formatted.bicepparam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
This is a
multiline comment!
*/
// This is a single line comment
// using keyword for specifying a Bicep file
using './main.bicep'
// parameter assignment to literals
param myString = 'hello world!!'
param myInt = 42
param myBool = false
param numberOfVMs = 1
// parameter assignment to objects
param password = 'strongPassword'
param secretObject = {
name: 'vm2'
location: 'westus'
}
param storageSku = 'Standard_LRS'
param storageName = 'myStorage'
param someArray = [
'a'
'b'
'c'
'd'
]
param emptyMetadata = 'empty!'
param description = 'descriptive description'
param description2 = 'also descriptive'
param additionalMetadata = 'more metadata'
param someParameter = 'three'
param stringLiteral = 'abc'
param decoratedString = 'Apple'
param stringfromEnvironmentVariables = readEnvironmentVariable('stringEnvVariableName')
param intfromEnvironmentVariables = int(readEnvironmentVariable('intEnvVariableName'))
param boolfromEnvironmentVariables = bool(readEnvironmentVariable('boolEnvironmentVariable'))
param intfromEnvironmentVariablesDefault = int(readEnvironmentVariable('intDefaultEnvVariableName', '12'))