diff --git a/assets/resourceSnippets/App Service Plan (Server Farm).snippet.json b/assets/resourceSnippets/App Service Plan (Server Farm).snippet.json index 66cbabd28..3238cda14 100644 --- a/assets/resourceSnippets/App Service Plan (Server Farm).snippet.json +++ b/assets/resourceSnippets/App Service Plan (Server Farm).snippet.json @@ -9,7 +9,7 @@ { "name": "${1:appServicePlan1}", "type": "Microsoft.Web/serverfarms", - "apiVersion": "2020-12-01", + "apiVersion": "2022-09-01", "location": "[resourceGroup().location]", "sku": { "name": "F1", diff --git a/assets/resourceSnippets/Application Gateway and Firewall.snippet.json b/assets/resourceSnippets/Application Gateway and Firewall.snippet.json index f9936a473..fdd809376 100644 --- a/assets/resourceSnippets/Application Gateway and Firewall.snippet.json +++ b/assets/resourceSnippets/Application Gateway and Firewall.snippet.json @@ -8,7 +8,7 @@ "resources": [ { "type": "Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "name": "${1:applicationGatewayFirewallName}", "location": "[resourceGroup().location]", "dependsOn": [ @@ -33,7 +33,7 @@ }, { "type": "Microsoft.Network/applicationGateways", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "name": "${9:applicationGatewayName}", "location": "[resourceGroup().location]", "dependsOn": [ diff --git a/assets/resourceSnippets/Application Gateway.snippet.json b/assets/resourceSnippets/Application Gateway.snippet.json index 3096ef69d..2ef5d13ff 100644 --- a/assets/resourceSnippets/Application Gateway.snippet.json +++ b/assets/resourceSnippets/Application Gateway.snippet.json @@ -8,7 +8,7 @@ "resources": [ { "type": "Microsoft.Network/applicationGateways", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "name": "${1:applicationGatewayName}", "location": "[resourceGroup().location]", "dependsOn": [ diff --git a/assets/resourceSnippets/Application Insights for Web Apps.snippet.json b/assets/resourceSnippets/Application Insights for Web Apps.snippet.json index e2d0be9e3..11a321787 100644 --- a/assets/resourceSnippets/Application Insights for Web Apps.snippet.json +++ b/assets/resourceSnippets/Application Insights for Web Apps.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:appInsights1}-${2:appServicePlan1}-AutoScaleSettings", "type": "Microsoft.Insights/autoscalesettings", - "apiVersion": "2014-04-01", + "apiVersion": "2022-10-01", "location": "East US", "tags": { "[concat('hidden-link:', resourceGroup().id, '/providers/Microsoft.Web/serverfarms/${2:appServicePlan1}')]": "Resource", diff --git a/assets/resourceSnippets/Application Security Group.snippet.json b/assets/resourceSnippets/Application Security Group.snippet.json index d95fca75f..5121b98fe 100644 --- a/assets/resourceSnippets/Application Security Group.snippet.json +++ b/assets/resourceSnippets/Application Security Group.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:applicationSecurityGroup1}", "type": "Microsoft.Network/applicationSecurityGroups", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "tags": { }, diff --git a/assets/resourceSnippets/Automation Account.snippet.json b/assets/resourceSnippets/Automation Account.snippet.json index 749eb0e0b..0abd0e546 100644 --- a/assets/resourceSnippets/Automation Account.snippet.json +++ b/assets/resourceSnippets/Automation Account.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:automationAccount1}", "type": "Microsoft.Automation/automationAccounts", - "apiVersion": "2019-06-01", + "apiVersion": "2022-08-08", "location": "[resourceGroup().location]", "tags": { }, diff --git a/assets/resourceSnippets/Automation Certificate.snippet.json b/assets/resourceSnippets/Automation Certificate.snippet.json index 003207fa7..1e77ce259 100644 --- a/assets/resourceSnippets/Automation Certificate.snippet.json +++ b/assets/resourceSnippets/Automation Certificate.snippet.json @@ -10,7 +10,7 @@ { "name": "${1:parent/automationCertificate}", "type": "Microsoft.Automation/automationAccounts/certificates", - "apiVersion": "2019-06-01", + "apiVersion": "2022-08-08", "dependsOn": [ "[resourceId('Microsoft.Automation/automationAccounts', '${2:automationAccount1}')]" ], diff --git a/assets/resourceSnippets/Automation Credential.snippet.json b/assets/resourceSnippets/Automation Credential.snippet.json index 5f1d94e97..71c55d40a 100644 --- a/assets/resourceSnippets/Automation Credential.snippet.json +++ b/assets/resourceSnippets/Automation Credential.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:parent/automationCredential}", "type": "Microsoft.Automation/automationAccounts/credentials", - "apiVersion": "2019-06-01", + "apiVersion": "2022-08-08", "dependsOn": [ "[resourceId('Microsoft.Automation/automationAccounts', '${2:automationAccount1}')]" ], diff --git a/assets/resourceSnippets/Automation Job Schedule.snippet.json b/assets/resourceSnippets/Automation Job Schedule.snippet.json index 4012a2194..ea64331a9 100644 --- a/assets/resourceSnippets/Automation Job Schedule.snippet.json +++ b/assets/resourceSnippets/Automation Job Schedule.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:parent/automationJobSchedule1}", "type": "Microsoft.Automation/automationAccounts/jobSchedules", - "apiVersion": "2019-06-01", + "apiVersion": "2022-08-08", "location": "[resourceGroup().location]", "tags": { }, diff --git a/assets/resourceSnippets/Automation Module.snippet.json b/assets/resourceSnippets/Automation Module.snippet.json index c03886130..3db86fd1e 100644 --- a/assets/resourceSnippets/Automation Module.snippet.json +++ b/assets/resourceSnippets/Automation Module.snippet.json @@ -9,7 +9,7 @@ { "name": "[concat('${2:automationAccount1}', '/${1:automationVariable1}')]", "type": "Microsoft.Automation/automationAccounts/modules", - "apiVersion": "2019-06-01", + "apiVersion": "2022-08-08", "dependsOn": [ "[resourceId('Microsoft.Automation/automationAccounts', '${2:automationAccount1}')]" ], diff --git a/assets/resourceSnippets/Automation Runbook.snippet.json b/assets/resourceSnippets/Automation Runbook.snippet.json index adb7ab1a3..ba95904cb 100644 --- a/assets/resourceSnippets/Automation Runbook.snippet.json +++ b/assets/resourceSnippets/Automation Runbook.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:parent/automationRunbook1}", "type": "Microsoft.Automation/automationAccounts/runbooks", - "apiVersion": "2019-06-01", + "apiVersion": "2022-08-08", "location": "[resourceGroup().location]", "tags": { }, diff --git a/assets/resourceSnippets/Automation Schedule.snippet.json b/assets/resourceSnippets/Automation Schedule.snippet.json index 6f6676864..57f3eefc2 100644 --- a/assets/resourceSnippets/Automation Schedule.snippet.json +++ b/assets/resourceSnippets/Automation Schedule.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:parent/automationSchedule1}", "type": "Microsoft.Automation/automationAccounts/schedules", - "apiVersion": "2019-06-01", + "apiVersion": "2022-08-08", "tags": { }, "dependsOn": [ diff --git a/assets/resourceSnippets/Automation Variable.snippet.json b/assets/resourceSnippets/Automation Variable.snippet.json index 9ac7a096a..df08ef3b9 100644 --- a/assets/resourceSnippets/Automation Variable.snippet.json +++ b/assets/resourceSnippets/Automation Variable.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:parent/automationVariable1}", "type": "Microsoft.Automation/automationAccounts/variables", - "apiVersion": "2019-06-01", + "apiVersion": "2022-08-08", "dependsOn": [ "[resourceId('Microsoft.Automation/automationAccounts', '${2:automationAccount1}')]" ], diff --git a/assets/resourceSnippets/Availability Set.snippet.json b/assets/resourceSnippets/Availability Set.snippet.json index 506d05cc8..ae9751339 100644 --- a/assets/resourceSnippets/Availability Set.snippet.json +++ b/assets/resourceSnippets/Availability Set.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:availabilitySet1}", "type": "Microsoft.Compute/availabilitySets", - "apiVersion": "2021-03-01", + "apiVersion": "2023-03-01", "location": "[resourceGroup().location]", "tags": { "displayName": "${1:availabilitySet1}" diff --git a/assets/resourceSnippets/Azure Firewall.snippet.json b/assets/resourceSnippets/Azure Firewall.snippet.json index db9adc3cf..1bc14040b 100644 --- a/assets/resourceSnippets/Azure Firewall.snippet.json +++ b/assets/resourceSnippets/Azure Firewall.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:firewall1}", "type": "Microsoft.Network/azureFirewalls", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "tags": { }, @@ -126,7 +126,7 @@ { "name": "${34:publicIPAddress1}", "type": "Microsoft.Network/publicIPAddresses", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "sku": { "name": "standard" diff --git a/assets/resourceSnippets/Container Group.snippet.json b/assets/resourceSnippets/Container Group.snippet.json index dc9449f1f..69a55952a 100644 --- a/assets/resourceSnippets/Container Group.snippet.json +++ b/assets/resourceSnippets/Container Group.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:containerGroup1}", "type": "Microsoft.ContainerInstance/containerGroups", - "apiVersion": "2021-03-01", + "apiVersion": "2023-05-01", "location": "[resourceGroup().location]", "properties": { "containers": [ diff --git a/assets/resourceSnippets/Container Registry.snippet.json b/assets/resourceSnippets/Container Registry.snippet.json index 11a7e4d13..c0412b976 100644 --- a/assets/resourceSnippets/Container Registry.snippet.json +++ b/assets/resourceSnippets/Container Registry.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:containerRegistry1}", "type": "Microsoft.ContainerRegistry/registries", - "apiVersion": "2019-05-01", + "apiVersion": "2023-07-01", "location": "[resourceGroup().location]", "sku": { "name": /*${2|Classic,Basic,Standard,Premium|}*/ "Classic" diff --git a/assets/resourceSnippets/Cosmos DB Database Account.snippet.json b/assets/resourceSnippets/Cosmos DB Database Account.snippet.json index 66562f644..98d043458 100644 --- a/assets/resourceSnippets/Cosmos DB Database Account.snippet.json +++ b/assets/resourceSnippets/Cosmos DB Database Account.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:cosmosDbAccount1}", "type": "Microsoft.DocumentDB/databaseAccounts", - "apiVersion": "2021-05-15", + "apiVersion": "2023-04-15", "location": "[resourceGroup().location]", "tags": { }, diff --git a/assets/resourceSnippets/Function.snippet.json b/assets/resourceSnippets/Function.snippet.json index 99d2155f5..a290bb6ba 100644 --- a/assets/resourceSnippets/Function.snippet.json +++ b/assets/resourceSnippets/Function.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:functionName}", "type": "Microsoft.Web/sites", - "apiVersion": "2020-12-01", + "apiVersion": "2022-09-01", "location": "[resourceGroup().location]", "kind": "functionapp", "dependsOn": [ diff --git a/assets/resourceSnippets/KeyVault Secret.snippet.json b/assets/resourceSnippets/KeyVault Secret.snippet.json index 32a2d586a..a0c5e1e57 100644 --- a/assets/resourceSnippets/KeyVault Secret.snippet.json +++ b/assets/resourceSnippets/KeyVault Secret.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:keyVault1}/${2:keyVaultSecret1}", "type": "Microsoft.KeyVault/vaults/secrets", - "apiVersion": "2019-09-01", + "apiVersion": "2023-02-01", "properties": { "value": "${3:secretValue}" } diff --git a/assets/resourceSnippets/KeyVault.snippet.json b/assets/resourceSnippets/KeyVault.snippet.json index 76cd6fafb..24ba4f071 100644 --- a/assets/resourceSnippets/KeyVault.snippet.json +++ b/assets/resourceSnippets/KeyVault.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:keyVault1}", "type": "Microsoft.KeyVault/vaults", - "apiVersion": "2019-09-01", + "apiVersion": "2023-02-01", "location": "[resourceGroup().location]", "tags": { "displayName": "${1:keyVault1}" diff --git a/assets/resourceSnippets/Kubernetes Service Cluster.snippet.json b/assets/resourceSnippets/Kubernetes Service Cluster.snippet.json index 80d1e2ac1..29f9c0d49 100644 --- a/assets/resourceSnippets/Kubernetes Service Cluster.snippet.json +++ b/assets/resourceSnippets/Kubernetes Service Cluster.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:aksCluster1}", "type": "Microsoft.ContainerService/managedClusters", - "apiVersion": "2021-05-01", + "apiVersion": "2023-01-01", "location": "[resourceGroup().location]", "properties": { "kubernetesVersion": "${2|1.15.7,1.15.5,1.14.8|}", diff --git a/assets/resourceSnippets/Linked Deployment With Relative Path.snippet.json b/assets/resourceSnippets/Linked Deployment With Relative Path.snippet.json index abbfc45d0..1c4f754be 100644 --- a/assets/resourceSnippets/Linked Deployment With Relative Path.snippet.json +++ b/assets/resourceSnippets/Linked Deployment With Relative Path.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:linkedDeployment1}", "type": "Microsoft.Resources/deployments", - "apiVersion": "2021-04-01", + "apiVersion": "2022-09-01", "properties": { "mode": "Incremental", "templateLink": { diff --git a/assets/resourceSnippets/Linked Deployment With URI.snippet.json b/assets/resourceSnippets/Linked Deployment With URI.snippet.json index 763eb12a5..785f9f1d4 100644 --- a/assets/resourceSnippets/Linked Deployment With URI.snippet.json +++ b/assets/resourceSnippets/Linked Deployment With URI.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:linkedDeployment1}", "type": "Microsoft.Resources/deployments", - "apiVersion": "2021-04-01", + "apiVersion": "2022-09-01", "properties": { "mode": "Incremental", "templateLink": { diff --git a/assets/resourceSnippets/Linux VM Custom Script.snippet.json b/assets/resourceSnippets/Linux VM Custom Script.snippet.json index 05cc0cdd7..feb0f811e 100644 --- a/assets/resourceSnippets/Linux VM Custom Script.snippet.json +++ b/assets/resourceSnippets/Linux VM Custom Script.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:ubuntuVM1}/${2:customScript1}", "type": "Microsoft.Compute/virtualMachines/extensions", - "apiVersion": "2021-03-01", + "apiVersion": "2023-03-01", "location": "[resourceGroup().location]", "tags": { "displayName": "${2:customScript1} for Linux VM" diff --git a/assets/resourceSnippets/Load Balancer External.snippet.json b/assets/resourceSnippets/Load Balancer External.snippet.json index 04d8f2232..cd7aa49c4 100644 --- a/assets/resourceSnippets/Load Balancer External.snippet.json +++ b/assets/resourceSnippets/Load Balancer External.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:loadBalancerExternal1}", "type": "Microsoft.Network/loadBalancers", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Network/publicIPAddresses', '${2:publicIP1}')]" diff --git a/assets/resourceSnippets/Load Balancer Internal.snippet.json b/assets/resourceSnippets/Load Balancer Internal.snippet.json index d09f60d4a..1118b708e 100644 --- a/assets/resourceSnippets/Load Balancer Internal.snippet.json +++ b/assets/resourceSnippets/Load Balancer Internal.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:loadBalancerInternal1}", "type": "Microsoft.Network/loadBalancers", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Network/virtualNetworks', '${2:virtualNetwork1}')]" diff --git a/assets/resourceSnippets/Log Analytics Workspace.snippet.json b/assets/resourceSnippets/Log Analytics Workspace.snippet.json index 87e7cc1f9..2d7194b87 100644 --- a/assets/resourceSnippets/Log Analytics Workspace.snippet.json +++ b/assets/resourceSnippets/Log Analytics Workspace.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:logAnalyticsWorkspace1}", "type": "Microsoft.OperationalInsights/workspaces", - "apiVersion": "2020-10-01", + "apiVersion": "2021-06-01", "location": "[resourceGroup().location]", "properties": { "sku": { diff --git a/assets/resourceSnippets/Managed Identity (User Assigned).snippet.json b/assets/resourceSnippets/Managed Identity (User Assigned).snippet.json index e49da28d6..8d4e918bc 100644 --- a/assets/resourceSnippets/Managed Identity (User Assigned).snippet.json +++ b/assets/resourceSnippets/Managed Identity (User Assigned).snippet.json @@ -9,7 +9,7 @@ { "name": "${1:managedIdentity1}", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "apiVersion": "2018-11-30", + "apiVersion": "2023-01-31", "location": "[resourceGroup().location]" } ] diff --git a/assets/resourceSnippets/Media Services.snippet.json b/assets/resourceSnippets/Media Services.snippet.json index 7a0a38d2a..1a2e04451 100644 --- a/assets/resourceSnippets/Media Services.snippet.json +++ b/assets/resourceSnippets/Media Services.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:mediaServices1}", "type": "Microsoft.Media/mediaServices", - "apiVersion": "2018-07-01", + "apiVersion": "2023-01-01", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Storage/storageAccounts', '${2:mediaServiceStorageAccount1}')]" diff --git a/assets/resourceSnippets/Nested Deployment With Inner Scope.snippet.json b/assets/resourceSnippets/Nested Deployment With Inner Scope.snippet.json index 957d10da9..bb3c41045 100644 --- a/assets/resourceSnippets/Nested Deployment With Inner Scope.snippet.json +++ b/assets/resourceSnippets/Nested Deployment With Inner Scope.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:nestedDeployment1}", "type": "Microsoft.Resources/deployments", - "apiVersion": "2021-04-01", + "apiVersion": "2022-09-01", "properties": { "expressionEvaluationOptions": { "scope": "inner" diff --git a/assets/resourceSnippets/Nested Deployment.snippet.json b/assets/resourceSnippets/Nested Deployment.snippet.json index cea7982b3..cf36f09d3 100644 --- a/assets/resourceSnippets/Nested Deployment.snippet.json +++ b/assets/resourceSnippets/Nested Deployment.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:nestedDeployment1}", "type": "Microsoft.Resources/deployments", - "apiVersion": "2021-04-01", + "apiVersion": "2022-09-01", "properties": { "mode": "Incremental", "template": { diff --git a/assets/resourceSnippets/Network Interface.snippet.json b/assets/resourceSnippets/Network Interface.snippet.json index b190dcea6..059f10881 100644 --- a/assets/resourceSnippets/Network Interface.snippet.json +++ b/assets/resourceSnippets/Network Interface.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:networkInterface1}", "type": "Microsoft.Network/networkInterfaces", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "tags": { "displayName": "${1:networkInterface1}" diff --git a/assets/resourceSnippets/Network Security Group Rule.snippet.json b/assets/resourceSnippets/Network Security Group Rule.snippet.json index 42fbec2c1..895c18d96 100644 --- a/assets/resourceSnippets/Network Security Group Rule.snippet.json +++ b/assets/resourceSnippets/Network Security Group Rule.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:networkSecurityGroupRuleName}", "type": "Microsoft.Network/networkSecurityGroups/securityRules", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "properties": { "description": "${2:nsgRuleDescription}", "protocol": /*${3|*,Ah,Esp,Icmp,Tcp,Udb|}*/ "*", diff --git a/assets/resourceSnippets/Network Security Group.snippet.json b/assets/resourceSnippets/Network Security Group.snippet.json index 90fd29e43..217a1177f 100644 --- a/assets/resourceSnippets/Network Security Group.snippet.json +++ b/assets/resourceSnippets/Network Security Group.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:networkSecurityGroup1}", "type": "Microsoft.Network/networkSecurityGroups", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "properties": { "securityRules": [ diff --git a/assets/resourceSnippets/Public IP Address.snippet.json b/assets/resourceSnippets/Public IP Address.snippet.json index 7ae24f80a..af51b714b 100644 --- a/assets/resourceSnippets/Public IP Address.snippet.json +++ b/assets/resourceSnippets/Public IP Address.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:publicIPAddress1}", "type": "Microsoft.Network/publicIPAddresses", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "tags": { "displayName": "${1:publicIPAddress1}" diff --git a/assets/resourceSnippets/Public IP Prefix.snippet.json b/assets/resourceSnippets/Public IP Prefix.snippet.json index ce9fabf81..a4c5c0a0e 100644 --- a/assets/resourceSnippets/Public IP Prefix.snippet.json +++ b/assets/resourceSnippets/Public IP Prefix.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:publicIPPrefix1}", "type": "Microsoft.Network/publicIPPrefixes", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "tags": { }, diff --git a/assets/resourceSnippets/Recovery Service Vault.snippet.json b/assets/resourceSnippets/Recovery Service Vault.snippet.json index 9c5ff76b1..3ffca1599 100644 --- a/assets/resourceSnippets/Recovery Service Vault.snippet.json +++ b/assets/resourceSnippets/Recovery Service Vault.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:recoveryServiceVault1}", "type": "Microsoft.RecoveryServices/vaults", - "apiVersion": "2021-03-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "sku": { "name": /*${2|RS0,Standard|}*/ "RS0", diff --git a/assets/resourceSnippets/Redis Cache.snippet.json b/assets/resourceSnippets/Redis Cache.snippet.json index 35fc48959..3875c4088 100644 --- a/assets/resourceSnippets/Redis Cache.snippet.json +++ b/assets/resourceSnippets/Redis Cache.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:redisCache1}", "type": "Microsoft.Cache/Redis", - "apiVersion": "2020-12-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "tags": { "displayName": "${1:redisCache1}" diff --git a/assets/resourceSnippets/Resource Group.snippet.json b/assets/resourceSnippets/Resource Group.snippet.json index a9f914605..098990c8e 100644 --- a/assets/resourceSnippets/Resource Group.snippet.json +++ b/assets/resourceSnippets/Resource Group.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:resourceGroup}", "type": "Microsoft.Resources/resourceGroups", - "apiVersion": "2021-05-01", + "apiVersion": "2022-09-01", "location": "${2:eastus}", "dependsOn": [ ], diff --git a/assets/resourceSnippets/Route Table Route.snippet.json b/assets/resourceSnippets/Route Table Route.snippet.json index be4a8c193..6ee24efc3 100644 --- a/assets/resourceSnippets/Route Table Route.snippet.json +++ b/assets/resourceSnippets/Route Table Route.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:route-name}", "type": "Microsoft.Network/routeTables/routes", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "properties": { "addressPrefix": "${2:address-prefix}", "nextHopType": /*${3|VirtualNetworkGateway,VnetLocal,Internet,VirtualAppliance,None|}*/ "VirtualNetworkGateway", diff --git a/assets/resourceSnippets/Route Table.snippet.json b/assets/resourceSnippets/Route Table.snippet.json index 2a797ceb9..e29af836f 100644 --- a/assets/resourceSnippets/Route Table.snippet.json +++ b/assets/resourceSnippets/Route Table.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:routeTable1}", "type": "Microsoft.Network/routeTables", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "tags": { }, diff --git a/assets/resourceSnippets/SQL Database Import.snippet.json b/assets/resourceSnippets/SQL Database Import.snippet.json index 656891f3f..37f179397 100644 --- a/assets/resourceSnippets/SQL Database Import.snippet.json +++ b/assets/resourceSnippets/SQL Database Import.snippet.json @@ -9,7 +9,7 @@ { "name": "${2:sqlServer1}/${1:sqlDatabase1}/import", "type": "Microsoft.Sql/servers/databases/extensions", - "apiVersion": "2014-04-01", + "apiVersion": "2021-11-01", "dependsOn": [ "[resourceId('Microsoft.Sql/servers/databases', '${2:sqlServer1}', '${1:sqlDatabase1}')]" ], diff --git a/assets/resourceSnippets/SQL Database.snippet.json b/assets/resourceSnippets/SQL Database.snippet.json index 9bdb8d4d1..e46304346 100644 --- a/assets/resourceSnippets/SQL Database.snippet.json +++ b/assets/resourceSnippets/SQL Database.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:sqlServer1}/${2:sqlDatabase1}", "type": "Microsoft.Sql/servers/databases", - "apiVersion": "2014-04-01", + "apiVersion": "2021-11-01", "location": "[resourceGroup().location]", "tags": { "displayName": "${2:sqlDatabase1}" diff --git a/assets/resourceSnippets/SQL Server.snippet.json b/assets/resourceSnippets/SQL Server.snippet.json index 6655749b3..2cd569546 100644 --- a/assets/resourceSnippets/SQL Server.snippet.json +++ b/assets/resourceSnippets/SQL Server.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:sqlServer1}", "type": "Microsoft.Sql/servers", - "apiVersion": "2014-04-01", + "apiVersion": "2021-11-01", "location": "[resourceGroup().location]", "tags": { "displayName": "${1:sqlServer1}" diff --git a/assets/resourceSnippets/ServiceBus Namespace.snippet.json b/assets/resourceSnippets/ServiceBus Namespace.snippet.json index 24d40be50..50aa273b1 100644 --- a/assets/resourceSnippets/ServiceBus Namespace.snippet.json +++ b/assets/resourceSnippets/ServiceBus Namespace.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:serviceBusNamespace1}", "type": "Microsoft.ServiceBus/namespaces", - "apiVersion": "2021-01-01-preview", + "apiVersion": "2021-11-01", "location": /*${2|[parameters('location')],[resourceGroup().location]|}*/ "location", "sku": { "name": "Standard" diff --git a/assets/resourceSnippets/ServiceBus Queue.snippet.json b/assets/resourceSnippets/ServiceBus Queue.snippet.json index 92b0d2058..70ba77424 100644 --- a/assets/resourceSnippets/ServiceBus Queue.snippet.json +++ b/assets/resourceSnippets/ServiceBus Queue.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:serviceBusNamespace1}/${2:serviceBusQueue1}", "type": "Microsoft.ServiceBus/namespaces/queues", - "apiVersion": "2021-01-01-preview", + "apiVersion": "2021-11-01", "dependsOn": [ "[resourceId('Microsoft.ServiceBus/namespaces', '${2:serviceBusQueue1}')]" ], diff --git a/assets/resourceSnippets/Storage Account.snippet.json b/assets/resourceSnippets/Storage Account.snippet.json index 822ebaeaf..288ebf8f2 100644 --- a/assets/resourceSnippets/Storage Account.snippet.json +++ b/assets/resourceSnippets/Storage Account.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:storageaccount1}", "type": "Microsoft.Storage/storageAccounts", - "apiVersion": "2021-04-01", + "apiVersion": "2023-01-01", "tags": { "displayName": "${1:storageaccount1}" }, diff --git a/assets/resourceSnippets/Storage Blob Container.snippet.json b/assets/resourceSnippets/Storage Blob Container.snippet.json index a51ff88cf..72ad76bb4 100644 --- a/assets/resourceSnippets/Storage Blob Container.snippet.json +++ b/assets/resourceSnippets/Storage Blob Container.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:accountName}/default/${2:blobContainerName}", "type": "Microsoft.Storage/storageAccounts/blobServices/containers", - "apiVersion": "2021-04-01", + "apiVersion": "2023-01-01", "dependsOn": [ "[resourceId('Microsoft.Storage/storageAccounts', '${1:accountName}')]" ], diff --git a/assets/resourceSnippets/Traffic Manager Profile.snippet.json b/assets/resourceSnippets/Traffic Manager Profile.snippet.json index f6cf8d868..bb62f4439 100644 --- a/assets/resourceSnippets/Traffic Manager Profile.snippet.json +++ b/assets/resourceSnippets/Traffic Manager Profile.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:trafficManagerProfile1}", "type": "Microsoft.Network/trafficManagerProfiles", - "apiVersion": "2018-04-01", + "apiVersion": "2022-04-01", "tags": { }, "location": "global", diff --git a/assets/resourceSnippets/Ubuntu Virtual Machine.snippet.json b/assets/resourceSnippets/Ubuntu Virtual Machine.snippet.json index e671937f5..504938955 100644 --- a/assets/resourceSnippets/Ubuntu Virtual Machine.snippet.json +++ b/assets/resourceSnippets/Ubuntu Virtual Machine.snippet.json @@ -9,7 +9,7 @@ { "name": "[toLower('${1:ubuntuVM1}storage')]", "type": "Microsoft.Storage/storageAccounts", - "apiVersion": "2021-04-01", + "apiVersion": "2023-01-01", "location": "[resourceGroup().location]", "tags": { "displayName": "${1:ubuntuVM1} Storage Account" @@ -22,7 +22,7 @@ { "name": "${1:ubuntuVM1}-PublicIP", "type": "Microsoft.Network/publicIPAddresses", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "tags": { "displayName": "PublicIPAddress" @@ -37,7 +37,7 @@ { "name": "${1:ubuntuVM1}-nsg", "type": "Microsoft.Network/networkSecurityGroups", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "properties": { "securityRules": [ @@ -61,7 +61,7 @@ { "name": "${1:ubuntuVM1}-VirtualNetwork", "type": "Microsoft.Network/virtualNetworks", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Network/networkSecurityGroups', '${1:ubuntuVM1}-nsg')]" @@ -91,7 +91,7 @@ { "name": "${1:ubuntuVM1}-NetworkInterface", "type": "Microsoft.Network/networkInterfaces", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Network/publicIPAddresses', '${1:ubuntuVM1}-PublicIP')]", @@ -120,7 +120,7 @@ { "name": "${1:ubuntuVM1}", "type": "Microsoft.Compute/virtualMachines", - "apiVersion": "2021-03-01", + "apiVersion": "2023-03-01", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Network/networkInterfaces', '${1:ubuntuVM1}-NetworkInterface')]" diff --git a/assets/resourceSnippets/VPN Local Network Gateway.snippet.json b/assets/resourceSnippets/VPN Local Network Gateway.snippet.json index 61ef855a5..a091e550a 100644 --- a/assets/resourceSnippets/VPN Local Network Gateway.snippet.json +++ b/assets/resourceSnippets/VPN Local Network Gateway.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:localNetworkGateway1}", "type": "Microsoft.Network/localNetworkGateways", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "properties": { "localNetworkAddressSpace": { diff --git a/assets/resourceSnippets/VPN Virtual Network Connection.snippet.json b/assets/resourceSnippets/VPN Virtual Network Connection.snippet.json index f343b9b5a..9b12e1c6c 100644 --- a/assets/resourceSnippets/VPN Virtual Network Connection.snippet.json +++ b/assets/resourceSnippets/VPN Virtual Network Connection.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:vpnVnetConnection1}", "type": "Microsoft.Network/connections", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Network/virtualNetworkGateways', '${2:vnetGateway1}')]", diff --git a/assets/resourceSnippets/VPN Virtual Network Gateway.snippet.json b/assets/resourceSnippets/VPN Virtual Network Gateway.snippet.json index 9dd7ee3b9..126954823 100644 --- a/assets/resourceSnippets/VPN Virtual Network Gateway.snippet.json +++ b/assets/resourceSnippets/VPN Virtual Network Gateway.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:virtualNetworkGateway1}", "type": "Microsoft.Network/virtualNetworkGateways", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Network/publicIPAddresses', '${2:publicIPAddress1}')]", diff --git a/assets/resourceSnippets/Virtual Network.snippet.json b/assets/resourceSnippets/Virtual Network.snippet.json index 30842a57e..b952694d6 100644 --- a/assets/resourceSnippets/Virtual Network.snippet.json +++ b/assets/resourceSnippets/Virtual Network.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:virtualNetwork1}", "type": "Microsoft.Network/virtualNetworks", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "tags": { "displayName": "${1:virtualNetwork1}" diff --git a/assets/resourceSnippets/Web App.snippet.json b/assets/resourceSnippets/Web App.snippet.json index 1d81a28b9..408270747 100644 --- a/assets/resourceSnippets/Web App.snippet.json +++ b/assets/resourceSnippets/Web App.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:webApp1}", "type": "Microsoft.Web/sites", - "apiVersion": "2020-12-01", + "apiVersion": "2022-09-01", "location": "[resourceGroup().location]", "tags": { "[concat('hidden-related:', resourceGroup().id, '/providers/Microsoft.Web/serverfarms/${2:appServicePlan1}')]": "Resource", diff --git a/assets/resourceSnippets/Web Deploy for Web App.snippet.json b/assets/resourceSnippets/Web Deploy for Web App.snippet.json index d557c049d..0d9efe063 100644 --- a/assets/resourceSnippets/Web Deploy for Web App.snippet.json +++ b/assets/resourceSnippets/Web Deploy for Web App.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:webApp1}/MSDeploy", "type": "Microsoft.Web/sites/extensions", - "apiVersion": "2020-12-01", + "apiVersion": "2022-09-01", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Web/sites', '${1:webApp1}')]" diff --git a/assets/resourceSnippets/Windows VM Custom Script.snippet.json b/assets/resourceSnippets/Windows VM Custom Script.snippet.json index 505344677..3e9ddaa3b 100644 --- a/assets/resourceSnippets/Windows VM Custom Script.snippet.json +++ b/assets/resourceSnippets/Windows VM Custom Script.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:windowsVM1}/${2:customScript1}", "type": "Microsoft.Compute/virtualMachines/extensions", - "apiVersion": "2021-03-01", + "apiVersion": "2023-03-01", "location": "[resourceGroup().location]", "tags": { "displayName": "${2:customScript1} for Windows VM" diff --git a/assets/resourceSnippets/Windows VM DSC PowerShell Script.snippet.json b/assets/resourceSnippets/Windows VM DSC PowerShell Script.snippet.json index a9c6224a2..7614cf3f9 100644 --- a/assets/resourceSnippets/Windows VM DSC PowerShell Script.snippet.json +++ b/assets/resourceSnippets/Windows VM DSC PowerShell Script.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:windowsVM1}/${2:dscScript1}", "type": "Microsoft.Compute/virtualMachines/extensions", - "apiVersion": "2021-03-01", + "apiVersion": "2023-03-01", "location": "[resourceGroup().location]", "tags": { "displayName": "${1:windowsVM1}/${2:dscScript1}" diff --git a/assets/resourceSnippets/Windows VM Diagnostics Extension.snippet.json b/assets/resourceSnippets/Windows VM Diagnostics Extension.snippet.json index 9a16facbb..b4734ae16 100644 --- a/assets/resourceSnippets/Windows VM Diagnostics Extension.snippet.json +++ b/assets/resourceSnippets/Windows VM Diagnostics Extension.snippet.json @@ -9,7 +9,7 @@ { "name": "${1:windowsVM1}/Diagnostics", "type": "Microsoft.Compute/virtualMachines/extensions", - "apiVersion": "2021-03-01", + "apiVersion": "2023-03-01", "location": "[resourceGroup().location]", "tags": { "displayName": "Diagnostics Extension for ${1:windowsVM1}" diff --git a/assets/resourceSnippets/Windows Virtual Machine.snippet.json b/assets/resourceSnippets/Windows Virtual Machine.snippet.json index a66326ece..cc243a51a 100644 --- a/assets/resourceSnippets/Windows Virtual Machine.snippet.json +++ b/assets/resourceSnippets/Windows Virtual Machine.snippet.json @@ -9,7 +9,7 @@ { "name": "[toLower('${1:windowsVM1}storage')]", "type": "Microsoft.Storage/storageAccounts", - "apiVersion": "2021-04-01", + "apiVersion": "2023-01-01", "location": "[resourceGroup().location]", "tags": { "displayName": "${1:windowsVM1} Storage Account" @@ -22,7 +22,7 @@ { "name": "${1:windowsVM1}-PublicIP", "type": "Microsoft.Network/publicIPAddresses", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "tags": { "displayName": "PublicIPAddress" @@ -37,7 +37,7 @@ { "name": "${1:windowsVM1}-nsg", "type": "Microsoft.Network/networkSecurityGroups", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "properties": { "securityRules": [ @@ -61,7 +61,7 @@ { "name": "${1:windowsVM1}-VirtualNetwork", "type": "Microsoft.Network/virtualNetworks", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Network/networkSecurityGroups', '${1:windowsVM1}-nsg')]" @@ -91,7 +91,7 @@ { "name": "${1:windowsVM1}-NetworkInterface", "type": "Microsoft.Network/networkInterfaces", - "apiVersion": "2020-11-01", + "apiVersion": "2023-04-01", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Network/publicIPAddresses', '${1:windowsVM1}-PublicIP')]", @@ -120,7 +120,7 @@ { "name": "${1:windowsVM1}", "type": "Microsoft.Compute/virtualMachines", - "apiVersion": "2021-03-01", + "apiVersion": "2023-03-01", "location": "[resourceGroup().location]", "dependsOn": [ "[resourceId('Microsoft.Storage/storageAccounts', toLower('${1:windowsVM1}storage'))]",