-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add languageVersion 2.0 fields to AZR-000212 (#2661)
* Add languageVersion fields to AZR-000212 fixes #2660 * update changelog * Add tests
- Loading branch information
1 parent
9cd9b31
commit b6c90d1
Showing
4 changed files
with
59 additions
and
7 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
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,46 @@ | ||
{ | ||
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | ||
"languageVersion": "2.0", | ||
"contentVersion": "1.0.0.0", | ||
"metadata": { | ||
"_generator": { | ||
"name": "bicep", | ||
"version": "0.24.24.22086", | ||
"templateHash": "10842470273706361200" | ||
} | ||
}, | ||
"parameters": { | ||
"location": { | ||
"type": "string", | ||
"defaultValue": "[resourceGroup().location]", | ||
"metadata": { | ||
"description": "The location resources will be deployed." | ||
} | ||
}, | ||
"testNullable": { | ||
"type": "string", | ||
"nullable": true, | ||
"metadata": { | ||
"description": "Nullable string parameter." | ||
} | ||
} | ||
}, | ||
"resources": { | ||
"testResource": { | ||
"type": "Microsoft.Storage/storageAccounts", | ||
"apiVersion": "2023-01-01", | ||
"name": "testStorageAccount", | ||
"location": "[parameters('location')]", | ||
"kind": "StorageV2", | ||
"sku": { | ||
"name": "Standard_LRS" | ||
} | ||
} | ||
}, | ||
"outputs": { | ||
"testOutput": { | ||
"type": "string", | ||
"value": "[coalesce(parameters('testNullable'), 'Empty')]" | ||
} | ||
} | ||
} |