From 6b7b1e91568491d6ce63384bff3491caa8a9d1bd Mon Sep 17 00:00:00 2001 From: Jeffrey Patton Date: Fri, 11 Mar 2022 16:55:47 -0600 Subject: [PATCH] Deploy to azure failed because I didn't grab the version in the right part of the action --- .github/workflows/publish-docs.yml | 2 +- README.md | 2 +- azuredeploy.json | 30 +++++++++++++------------- azuredeploy.parameters.json | 2 +- docs/azureiaasvmpolicy.md | 2 +- docs/backupPolicies.md | 2 +- docs/dailySchedule.md | 2 +- docs/daysOfTheMonth.md | 2 +- docs/monthlySchedule.md | 2 +- docs/protectedItems.md | 2 +- docs/protectionPolicy.md | 2 +- docs/retentionDuration.md | 2 +- docs/retentionPolicy.md | 2 +- docs/retentionScheduleDaily.md | 2 +- docs/retentionScheduleWeekly.md | 2 +- docs/schedulePolicy.md | 2 +- docs/sku.md | 2 +- docs/vaults.md | 2 +- docs/weeklySchedule.md | 2 +- docs/yearlySchedule.md | 2 +- reference/azureiaasvmpolicy.json | 2 +- reference/backupPolicies.json | 2 +- reference/dailySchedule.json | 2 +- reference/daysOfTheMonth.json | 2 +- reference/monthlySchedule.json | 2 +- reference/protectedItems.json | 2 +- reference/protectionPolicy.json | 2 +- reference/retentionDuration.json | 2 +- reference/retentionPolicy.json | 2 +- reference/retentionScheduleDaily.json | 2 +- reference/retentionScheduleWeekly.json | 2 +- reference/schedulePolicy.json | 2 +- reference/sku.json | 2 +- reference/vaults.json | 2 +- reference/weeklySchedule.json | 2 +- reference/yearlySchedule.json | 2 +- 36 files changed, 50 insertions(+), 50 deletions(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 91c9774..af30579 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -17,10 +17,10 @@ jobs: $TemplateFile = Get-Item -Path $_.TemplateFile; if ($TemplateFile.BaseName -eq 'azuredeploy') { $RepoName = $TemplateFile.Directory.Parent.Name; + $Version = $Template.ContentVersion; $ReadmeHeader = "[![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FArmReference%2F$($RepoName)%2F$($Version)%2Fazuredeploy.json)" } $Template = Get-Content $TemplateFile |ConvertFrom-Json; - $Version = $Template.ContentVersion; $ContentVersion = (Get-Date).GetDateTimeFormats()[1]; Invoke-PSDocument -Module PSDocs.Azure -OutputPath "out/docs" -InputObject $TemplateFile.FullName -InstanceName $TemplateFile.BaseName; }; diff --git a/README.md b/README.md index 72e2676..2e63957 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ protectionPolicy | object | The Protection Policy. ```json { - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", + "$schema": "https:"1.0.0.1"management.azure.com/schemas/2015-01-01/deploymentParameters.json#", "contentVersion": "1.0.0.0", "metadata": { "template": "azuredeploy.json" diff --git a/azuredeploy.json b/azuredeploy.json index 4514ca1..06b8965 100644 --- a/azuredeploy.json +++ b/azuredeploy.json @@ -1,6 +1,6 @@ { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "metadata": { "description": "This is a reference template built fromt the API for this resource." }, @@ -40,7 +40,7 @@ "mode": "Incremental", "templateLink": { "uri": "[concat(variables('templateUri'), '/sku.json', parameters('SasToken'))]", - "contentVersion": "1.0.0.0" + "contentVersion": "1.0.0.1" }, "parameters": { "name": { @@ -63,7 +63,7 @@ "mode": "Incremental", "templateLink": { "uri": "[concat(variables('templateUri'), '/vaults.json', parameters('SasToken'))]", - "contentVersion": "1.0.0.0" + "contentVersion": "1.0.0.1" }, "parameters": { "name": { @@ -87,7 +87,7 @@ "mode": "Incremental", "templateLink": { "uri": "[concat(variables('templateUri'), '/retentionDuration.json', parameters('SasToken'))]", - "contentVersion": "1.0.0.0" + "contentVersion": "1.0.0.1" }, "parameters": { "count": { @@ -110,7 +110,7 @@ "mode": "Incremental", "templateLink": { "uri": "[concat(variables('templateUri'), '/dailySchedule.json', parameters('SasToken'))]", - "contentVersion": "1.0.0.0" + "contentVersion": "1.0.0.1" }, "parameters": { "retentionDuration": { @@ -131,7 +131,7 @@ "mode": "Incremental", "templateLink": { "uri": "[concat(variables('templateUri'), '/retentionDuration.json', parameters('SasToken'))]", - "contentVersion": "1.0.0.0" + "contentVersion": "1.0.0.1" }, "parameters": { "count": { @@ -154,7 +154,7 @@ "mode": "Incremental", "templateLink": { "uri": "[concat(variables('templateUri'), '/weeklySchedule.json', parameters('SasToken'))]", - "contentVersion": "1.0.0.0" + "contentVersion": "1.0.0.1" }, "parameters": { "daysOfTheWeek": { @@ -178,7 +178,7 @@ "mode": "Incremental", "templateLink": { "uri": "[concat(variables('templateUri'), '/retentionDuration.json', parameters('SasToken'))]", - "contentVersion": "1.0.0.0" + "contentVersion": "1.0.0.1" }, "parameters": { "count": { @@ -199,7 +199,7 @@ "mode": "Incremental", "templateLink": { "uri": "[concat(variables('templateUri'), '/retentionScheduleWeekly.json', parameters('SasToken'))]", - "contentVersion": "1.0.0.0" + "contentVersion": "1.0.0.1" }, "parameters": { "daysOfTheWeek": { @@ -223,7 +223,7 @@ "mode": "Incremental", "templateLink": { "uri": "[concat(variables('templateUri'), '/monthlySchedule.json', parameters('SasToken'))]", - "contentVersion": "1.0.0.0" + "contentVersion": "1.0.0.1" }, "parameters": { "retentionDuration": { @@ -253,7 +253,7 @@ "mode": "Incremental", "templateLink": { "uri": "[concat(variables('templateUri'), '/retentionDuration.json', parameters('SasToken'))]", - "contentVersion": "1.0.0.0" + "contentVersion": "1.0.0.1" }, "parameters": { "count": { @@ -276,7 +276,7 @@ "mode": "Incremental", "templateLink": { "uri": "[concat(variables('templateUri'), '/yearlySchedule.json', parameters('SasToken'))]", - "contentVersion": "1.0.0.0" + "contentVersion": "1.0.0.1" }, "parameters": { "monthsOfYear": { @@ -314,7 +314,7 @@ "mode": "Incremental", "templateLink": { "uri": "[concat(variables('templateUri'), '/retentionPolicy.json', parameters('SasToken'))]", - "contentVersion": "1.0.0.0" + "contentVersion": "1.0.0.1" }, "parameters": { "dailySchedule": { @@ -347,7 +347,7 @@ "mode": "Incremental", "templateLink": { "uri": "[concat(variables('templateUri'), '/schedulePolicy.json', parameters('SasToken'))]", - "contentVersion": "1.0.0.0" + "contentVersion": "1.0.0.1" }, "parameters": { "schedulePolicyType": { @@ -382,7 +382,7 @@ "mode": "Incremental", "templateLink": { "uri": "[concat(variables('templateUri'), '/protectionPolicy.json', parameters('SasToken'))]", - "contentVersion": "1.0.0.0" + "contentVersion": "1.0.0.1" }, "parameters": { "name": { diff --git a/azuredeploy.parameters.json b/azuredeploy.parameters.json index 97d2144..f224744 100644 --- a/azuredeploy.parameters.json +++ b/azuredeploy.parameters.json @@ -1,6 +1,6 @@ { "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "parameters": { "StorageAccountName": { "value": "armreference" diff --git a/docs/azureiaasvmpolicy.md b/docs/azureiaasvmpolicy.md index 6df74d0..ae03c72 100644 --- a/docs/azureiaasvmpolicy.md +++ b/docs/azureiaasvmpolicy.md @@ -74,7 +74,7 @@ protectionPolicy | object | ```json { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "metadata": { "template": "reference/azureiaasvmpolicy.json" }, diff --git a/docs/backupPolicies.md b/docs/backupPolicies.md index 31f2a82..87c1a15 100644 --- a/docs/backupPolicies.md +++ b/docs/backupPolicies.md @@ -62,7 +62,7 @@ backupPolicies | object | ```json { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "metadata": { "template": "reference/backupPolicies.json" }, diff --git a/docs/dailySchedule.md b/docs/dailySchedule.md index 5da5931..bdf94f7 100644 --- a/docs/dailySchedule.md +++ b/docs/dailySchedule.md @@ -32,7 +32,7 @@ dailySchedule | object | ```json { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "metadata": { "template": "reference/dailySchedule.json" }, diff --git a/docs/daysOfTheMonth.md b/docs/daysOfTheMonth.md index b0d17e4..e2db129 100644 --- a/docs/daysOfTheMonth.md +++ b/docs/daysOfTheMonth.md @@ -34,7 +34,7 @@ daysOfTheMonth | object | ```json { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "metadata": { "template": "reference/daysOfTheMonth.json" }, diff --git a/docs/monthlySchedule.md b/docs/monthlySchedule.md index 48db510..cd6fbef 100644 --- a/docs/monthlySchedule.md +++ b/docs/monthlySchedule.md @@ -55,7 +55,7 @@ monthlySchedule | object | ```json { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "metadata": { "template": "reference/monthlySchedule.json" }, diff --git a/docs/protectedItems.md b/docs/protectedItems.md index e730157..f308682 100644 --- a/docs/protectedItems.md +++ b/docs/protectedItems.md @@ -73,7 +73,7 @@ protectedItems | object | ```json { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "metadata": { "template": "reference/protectedItems.json" }, diff --git a/docs/protectionPolicy.md b/docs/protectionPolicy.md index 5da9a7a..70af684 100644 --- a/docs/protectionPolicy.md +++ b/docs/protectionPolicy.md @@ -76,7 +76,7 @@ protectionPolicy | object | ```json { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "metadata": { "template": "reference/protectionPolicy.json" }, diff --git a/docs/retentionDuration.md b/docs/retentionDuration.md index 59694a1..29da212 100644 --- a/docs/retentionDuration.md +++ b/docs/retentionDuration.md @@ -34,7 +34,7 @@ retentionDuration | object | ```json { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "metadata": { "template": "reference/retentionDuration.json" }, diff --git a/docs/retentionPolicy.md b/docs/retentionPolicy.md index 06cc84e..160b461 100644 --- a/docs/retentionPolicy.md +++ b/docs/retentionPolicy.md @@ -62,7 +62,7 @@ retentionPolicy | object | ```json { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "metadata": { "template": "reference/retentionPolicy.json" }, diff --git a/docs/retentionScheduleDaily.md b/docs/retentionScheduleDaily.md index 5cd015e..a2d794a 100644 --- a/docs/retentionScheduleDaily.md +++ b/docs/retentionScheduleDaily.md @@ -25,7 +25,7 @@ retentionScheduleDaily | object | ```json { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "metadata": { "template": "reference/retentionScheduleDaily.json" }, diff --git a/docs/retentionScheduleWeekly.md b/docs/retentionScheduleWeekly.md index 223b322..733214d 100644 --- a/docs/retentionScheduleWeekly.md +++ b/docs/retentionScheduleWeekly.md @@ -32,7 +32,7 @@ retentionScheduleWeekly | object | ```json { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "metadata": { "template": "reference/retentionScheduleWeekly.json" }, diff --git a/docs/schedulePolicy.md b/docs/schedulePolicy.md index 52eb3f6..396dbaf 100644 --- a/docs/schedulePolicy.md +++ b/docs/schedulePolicy.md @@ -57,7 +57,7 @@ schedulePolicy | object | ```json { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "metadata": { "template": "reference/schedulePolicy.json" }, diff --git a/docs/sku.md b/docs/sku.md index 6ff8a4c..b38edb1 100644 --- a/docs/sku.md +++ b/docs/sku.md @@ -40,7 +40,7 @@ sku | object | ```json { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "metadata": { "template": "reference/sku.json" }, diff --git a/docs/vaults.md b/docs/vaults.md index ddedd4f..bdca99c 100644 --- a/docs/vaults.md +++ b/docs/vaults.md @@ -46,7 +46,7 @@ vaults | object | ```json { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "metadata": { "template": "reference/vaults.json" }, diff --git a/docs/weeklySchedule.md b/docs/weeklySchedule.md index 89143ed..98f4619 100644 --- a/docs/weeklySchedule.md +++ b/docs/weeklySchedule.md @@ -39,7 +39,7 @@ weeklySchedule | object | ```json { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "metadata": { "template": "reference/weeklySchedule.json" }, diff --git a/docs/yearlySchedule.md b/docs/yearlySchedule.md index 08e5883..1728244 100644 --- a/docs/yearlySchedule.md +++ b/docs/yearlySchedule.md @@ -62,7 +62,7 @@ yearlySchedule | object | ```json { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "metadata": { "template": "reference/yearlySchedule.json" }, diff --git a/reference/azureiaasvmpolicy.json b/reference/azureiaasvmpolicy.json index 1242776..a380d48 100644 --- a/reference/azureiaasvmpolicy.json +++ b/reference/azureiaasvmpolicy.json @@ -1,6 +1,6 @@ { "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "parameters": { "azureBackupRGNamePrefix": { "type": "string", diff --git a/reference/backupPolicies.json b/reference/backupPolicies.json index 93cf2fa..6b0f4d5 100644 --- a/reference/backupPolicies.json +++ b/reference/backupPolicies.json @@ -1,6 +1,6 @@ { "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "parameters": { "name": { "type": "string", diff --git a/reference/dailySchedule.json b/reference/dailySchedule.json index aa025c3..b47c560 100644 --- a/reference/dailySchedule.json +++ b/reference/dailySchedule.json @@ -1,6 +1,6 @@ { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "parameters": { "retentionDuration": { "type": "object", diff --git a/reference/daysOfTheMonth.json b/reference/daysOfTheMonth.json index cb57523..fa4bbc5 100644 --- a/reference/daysOfTheMonth.json +++ b/reference/daysOfTheMonth.json @@ -1,6 +1,6 @@ { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "parameters": { "date": { "type": "int", diff --git a/reference/monthlySchedule.json b/reference/monthlySchedule.json index 2e60630..9423b85 100644 --- a/reference/monthlySchedule.json +++ b/reference/monthlySchedule.json @@ -1,6 +1,6 @@ { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "parameters": { "retentionDuration": { "type": "object", diff --git a/reference/protectedItems.json b/reference/protectedItems.json index 39f8e65..2464d0f 100644 --- a/reference/protectedItems.json +++ b/reference/protectedItems.json @@ -1,6 +1,6 @@ { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "parameters": { "protectedItemType": { "type": "string", diff --git a/reference/protectionPolicy.json b/reference/protectionPolicy.json index 8c56f56..adc341e 100644 --- a/reference/protectionPolicy.json +++ b/reference/protectionPolicy.json @@ -1,6 +1,6 @@ { "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "parameters": { "name": { "type": "string", diff --git a/reference/retentionDuration.json b/reference/retentionDuration.json index 293c3a4..a900355 100644 --- a/reference/retentionDuration.json +++ b/reference/retentionDuration.json @@ -1,6 +1,6 @@ { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "parameters": { "count": { "type": "int", diff --git a/reference/retentionPolicy.json b/reference/retentionPolicy.json index c978983..75d77d2 100644 --- a/reference/retentionPolicy.json +++ b/reference/retentionPolicy.json @@ -1,6 +1,6 @@ { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "parameters": { "dailySchedule": { "type": "object", diff --git a/reference/retentionScheduleDaily.json b/reference/retentionScheduleDaily.json index 97e8cb8..27e1dbc 100644 --- a/reference/retentionScheduleDaily.json +++ b/reference/retentionScheduleDaily.json @@ -1,6 +1,6 @@ { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "parameters": { "daysOfTheMonth": { "type": "array", diff --git a/reference/retentionScheduleWeekly.json b/reference/retentionScheduleWeekly.json index 1519204..72ded8a 100644 --- a/reference/retentionScheduleWeekly.json +++ b/reference/retentionScheduleWeekly.json @@ -1,6 +1,6 @@ { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "parameters": { "daysOfTheWeek": { "type": "array" diff --git a/reference/schedulePolicy.json b/reference/schedulePolicy.json index 14b9132..b1bfa95 100644 --- a/reference/schedulePolicy.json +++ b/reference/schedulePolicy.json @@ -1,6 +1,6 @@ { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "parameters": { "schedulePolicyType": { "type": "string", diff --git a/reference/sku.json b/reference/sku.json index 8a3411d..a59fde6 100644 --- a/reference/sku.json +++ b/reference/sku.json @@ -1,6 +1,6 @@ { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "parameters": { "name": { "type": "string", diff --git a/reference/vaults.json b/reference/vaults.json index b618bd4..5685ac6 100644 --- a/reference/vaults.json +++ b/reference/vaults.json @@ -1,6 +1,6 @@ { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "parameters": { "name": { "type": "string", diff --git a/reference/weeklySchedule.json b/reference/weeklySchedule.json index 46b9440..f66186a 100644 --- a/reference/weeklySchedule.json +++ b/reference/weeklySchedule.json @@ -1,6 +1,6 @@ { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "parameters": { "daysOfTheWeek": { "type": "array" diff --git a/reference/yearlySchedule.json b/reference/yearlySchedule.json index a053cfc..d9dc971 100644 --- a/reference/yearlySchedule.json +++ b/reference/yearlySchedule.json @@ -1,6 +1,6 @@ { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", + "contentVersion": "1.0.0.1", "parameters": { "monthsOfYear": { "type": "array"