-
-
Notifications
You must be signed in to change notification settings - Fork 406
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Bicep grammar with recent additions (#850)
- Loading branch information
1 parent
c64e1be
commit 94d11ab
Showing
23 changed files
with
1,932 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
[ | ||
{"type":"KeywordDeclaration","value":"output"}, | ||
{"type":"TextWhitespace","value":" "}, | ||
{"type":"Text","value":"nonNullStr"}, | ||
{"type":"NameVariable","value":"nonNullStr"}, | ||
{"type":"TextWhitespace","value":" "}, | ||
{"type":"NameFunction","value":"string"}, | ||
{"type":"NameVariable","value":"string"}, | ||
{"type":"TextWhitespace","value":" "}, | ||
{"type":"Punctuation","value":"="}, | ||
{"type":"TextWhitespace","value":" "}, | ||
{"type":"Text","value":"myObject"}, | ||
{"type":"NameVariable","value":"myObject"}, | ||
{"type":"Punctuation","value":"."}, | ||
{"type":"Text","value":"isnull1"}, | ||
{"type":"NameVariable","value":"isnull1"}, | ||
{"type":"TextWhitespace","value":" "}, | ||
{"type":"Operator","value":"??"}, | ||
{"type":"TextWhitespace","value":" "}, | ||
{"type":"Text","value":"myObject"}, | ||
{"type":"NameVariable","value":"myObject"}, | ||
{"type":"Punctuation","value":"."}, | ||
{"type":"NameFunction","value":"string"}, | ||
{"type":"NameVariable","value":"string"}, | ||
{"type":"TextWhitespace","value":" "}, | ||
{"type":"Operator","value":"??"}, | ||
{"type":"TextWhitespace","value":" "}, | ||
{"type":"Text","value":"myObject"}, | ||
{"type":"NameVariable","value":"myObject"}, | ||
{"type":"Punctuation","value":"."}, | ||
{"type":"Text","value":"isnull2"} | ||
{"type":"NameVariable","value":"isnull2"} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
var vmProperties = { | ||
diagnosticsProfile: { | ||
bootDiagnostics: { | ||
enabled: 123 | ||
storageUri: true | ||
unknownProp: 'asdf' | ||
} | ||
} | ||
evictionPolicy: 'Deallocate' | ||
} | ||
resource vm 'Microsoft.Compute/virtualMachines@2020-12-01' = { | ||
name: 'vm' | ||
location: 'West US' | ||
#disable-next-line BCP036 BCP037 | ||
properties: vmProperties | ||
} | ||
#disable-next-line no-unused-params | ||
param storageAccount1 string = 'testStorageAccount' | ||
#disable-next-line no-unused-params | ||
param storageAccount2 string = 'testStorageAccount' | ||
#disable-next-line no-unused-params /* Test comment 1 */ | ||
param storageAccount3 string = 'testStorageAccount' | ||
#disable-next-line no-unused-params // Test comment 2 | ||
param storageAccount5 string = 'testStorageAccount' |
Oops, something went wrong.