@@ -6,16 +6,54 @@ param demoPassword string
66])
77param demoEnum string
88
9+ @minLength(3)
10+ @maxLength(24)
11+ @description('Name of the storage account')
12+ param storageAccountName string = concat(uniqueString(resourceGroup().id), 'sa')
13+
914----------------------------------------------------
1015
1116[
1217 ["decorator", "@secure"], ["punctuation", "("], ["punctuation", ")"],
13- ["keyword", "param"], " demoPassword string\r\n" ,
18+ ["keyword", "param"], " demoPassword ", ["datatype", " string"] ,
1419 ["decorator", "@allowed"], ["punctuation", "("], ["punctuation", "["],
1520 ["string", "'one'"],
1621 ["string", "'two'"],
1722 ["punctuation", "]"], ["punctuation", ")"],
18- ["keyword", "param"], " demoEnum string"
23+ ["keyword", "param"], " demoEnum ", ["datatype", "string"],
24+
25+ ["decorator", "@minLength"],
26+ ["punctuation", "("],
27+ ["number", "3"],
28+ ["punctuation", ")"],
29+
30+ ["decorator", "@maxLength"],
31+ ["punctuation", "("],
32+ ["number", "24"],
33+ ["punctuation", ")"],
34+
35+ ["decorator", "@description"],
36+ ["punctuation", "("],
37+ ["string", "'Name of the storage account'"],
38+ ["punctuation", ")"],
39+
40+ ["keyword", "param"],
41+ " storageAccountName ",
42+ ["datatype", "string"],
43+ ["operator", "="],
44+ ["function", "concat"],
45+ ["punctuation", "("],
46+ ["function", "uniqueString"],
47+ ["punctuation", "("],
48+ ["function", "resourceGroup"],
49+ ["punctuation", "("],
50+ ["punctuation", ")"],
51+ ["punctuation", "."],
52+ "id",
53+ ["punctuation", ")"],
54+ ["punctuation", ","],
55+ ["string", "'sa'"],
56+ ["punctuation", ")"]
1957]
2058
2159----------------------------------------------------
0 commit comments