Skip to content

Commit

Permalink
Don't add empty template properties - Issue 221 (#713)
Browse files Browse the repository at this point in the history
  • Loading branch information
glav authored Oct 26, 2020
1 parent 99023c7 commit f3678a4
Show file tree
Hide file tree
Showing 37 changed files with 139 additions and 177 deletions.
1 change: 0 additions & 1 deletion docs/examples/101/aks/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
}
},
"functions": [],
"variables": {},
"resources": [
{
"type": "Microsoft.ContainerService/managedClusters",
Expand Down
1 change: 0 additions & 1 deletion docs/examples/101/app-config/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
}
},
"functions": [],
"variables": {},
"resources": [
{
"type": "Microsoft.AppConfiguration/configurationStores",
Expand Down
1 change: 0 additions & 1 deletion docs/examples/101/container-registry/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
}
},
"functions": [],
"variables": {},
"resources": [
{
"type": "Microsoft.ContainerRegistry/registries",
Expand Down
3 changes: 1 addition & 2 deletions docs/examples/101/cosmosdb-webapp/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,5 @@
"[resourceId('Microsoft.Web/sites', variables('websiteName'))]"
]
}
],
"outputs": {}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,5 @@
"[resourceId('Microsoft.Network/virtualNetworks', parameters('vnetName'))]"
]
}
],
"outputs": {}
]
}
3 changes: 1 addition & 2 deletions docs/examples/101/function-app-create/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,5 @@
"[resourceId('Microsoft.Web/sites', variables('functionAppName'))]"
]
}
],
"outputs": {}
]
}
4 changes: 1 addition & 3 deletions docs/examples/101/key-vault-secret-only/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
}
},
"functions": [],
"variables": {},
"resources": [
{
"type": "Microsoft.KeyVault/vaults/secrets",
Expand All @@ -29,6 +28,5 @@
"value": "[parameters('secretValue')]"
}
}
],
"outputs": {}
]
}
3 changes: 1 addition & 2 deletions docs/examples/101/logic-app-create/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,5 @@
}
}
}
],
"outputs": {}
]
}
1 change: 0 additions & 1 deletion docs/examples/101/monitor-action-groups/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
}
},
"functions": [],
"variables": {},
"resources": [
{
"type": "microsoft.insights/actionGroups",
Expand Down
4 changes: 1 addition & 3 deletions docs/examples/101/storage-blob-container/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
}
},
"functions": [],
"variables": {},
"resources": [
{
"type": "Microsoft.Storage/storageAccounts",
Expand All @@ -39,6 +38,5 @@
"[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccountName'))]"
]
}
],
"outputs": {}
]
}
3 changes: 1 addition & 2 deletions docs/examples/101/vnet-two-subnets/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,5 @@
]
}
}
],
"outputs": {}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
}
},
"functions": [],
"variables": {},
"resources": [
{
"type": "Microsoft.Compute/virtualMachines/extensions",
Expand All @@ -38,6 +37,5 @@
}
}
}
],
"outputs": {}
]
}
3 changes: 1 addition & 2 deletions docs/examples/201/firewall-with-ip-from-prefix/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,5 @@
"[resourceId('Microsoft.Network/virtualNetworks', parameters('vnetname'))]"
]
}
],
"outputs": {}
]
}
3 changes: 1 addition & 2 deletions docs/examples/201/iot-with-storage/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,5 @@
"[resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName'))]"
]
}
],
"outputs": {}
]
}
3 changes: 1 addition & 2 deletions docs/examples/201/key-vault-secret-create/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,5 @@
"[resourceId('Microsoft.KeyVault/vaults', parameters('keyVaultName'))]"
]
}
],
"outputs": {}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,5 @@
"[resourceId('Microsoft.OperationalInsights/workspaces', parameters('logAnalyticsWorkspaceName'))]"
]
}
],
"outputs": {}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,5 @@
"[resourceId('Microsoft.Authorization/policySetDefinitions', variables('initiativeDefinitionName'))]"
]
}
],
"outputs": {}
]
}
3 changes: 1 addition & 2 deletions docs/examples/201/sql/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,5 @@
"[resourceId('Microsoft.Sql/servers/databases', split(format('{0}/{1}', variables('sqlServerName'), variables('databaseName')), '/')[0], split(format('{0}/{1}', variables('sqlServerName'), variables('databaseName')), '/')[1])]"
]
}
],
"outputs": {}
]
}
3 changes: 1 addition & 2 deletions docs/examples/201/vm-push-cert-windows/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,5 @@
"[resourceId('Microsoft.Network/networkInterfaces', 'certNic')]"
]
}
],
"outputs": {}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,5 @@
"[resourceId('Microsoft.Compute/virtualMachines', variables('virtualMachine').name)]"
]
}
],
"outputs": {}
]
}
4 changes: 1 addition & 3 deletions docs/examples/201/vnet-peering/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
}
},
"functions": [],
"variables": {},
"resources": [
{
"type": "Microsoft.Network/virtualNetworks/virtualNetworkPeerings",
Expand All @@ -29,6 +28,5 @@
}
}
}
],
"outputs": {}
]
}
3 changes: 1 addition & 2 deletions docs/examples/201/vnet-to-vnet-bgp/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,5 @@
"[resourceId('Microsoft.Network/virtualNetworkGateways', variables('vnet2cfg').gatewayName)]"
]
}
],
"outputs": {}
]
}
4 changes: 1 addition & 3 deletions docs/examples/modules/1vm-2nics-2subnets-1vnet/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@
}
},
"functions": [],
"variables": {},
"resources": [
{
"type": "Microsoft.Compute/virtualMachines",
Expand Down Expand Up @@ -284,8 +283,7 @@
}
}
}
],
"outputs": {}
]
}
},
"dependsOn": [
Expand Down
4 changes: 1 addition & 3 deletions docs/examples/modules/1vm-2nics-2subnets-1vnet/vm.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
}
},
"functions": [],
"variables": {},
"resources": [
{
"type": "Microsoft.Compute/virtualMachines",
Expand Down Expand Up @@ -84,6 +83,5 @@
}
}
}
],
"outputs": {}
]
}
Loading

0 comments on commit f3678a4

Please sign in to comment.