Updates ARM template API version (#4188)

API versions older than 2 years are treated as errors by the ARM linter.
This commit is contained in:
Philip Mallegol-Hansen 2023-05-15 11:26:53 -07:00 committed by GitHub
parent e048fe4f46
commit 292ddeab56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@ This folder holds the test cases for **Azure Resource Manager (ARM)**.
## Additional Docs ## Additional Docs
No Additional information is needed for this test case. Note: apiVersions older than 2 years (730 days) are treated as errors by the ARM linter if there is a newer version available.
## Good Test Cases ## Good Test Cases

View file

@ -31,7 +31,7 @@
{ {
"name": "[variables('Network.Name')]", "name": "[variables('Network.Name')]",
"type": "Microsoft.Network/virtualNetworks", "type": "Microsoft.Network/virtualNetworks",
"apiVersion": "2021-05-01", "apiVersion": "2022-09-01",
"tags": "[variables('Network.Tags')]", "tags": "[variables('Network.Tags')]",
"properties": { "properties": {
"addressSpace": { "addressSpace": {

View file

@ -22,7 +22,7 @@
"resources": [ "resources": [
{ {
"type": "Microsoft.Storage/storageAccounts", "type": "Microsoft.Storage/storageAccounts",
"apiVersion": "2021-05-01", "apiVersion": "2022-09-01",
"name": "[concat('store', uniquestring(resourceGroup().id))]", "name": "[concat('store', uniquestring(resourceGroup().id))]",
"location": "[parameters('location')]", "location": "[parameters('location')]",
"kind": "StorageV2", "kind": "StorageV2",