The [documentation](https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-template-functions-resource#reference) for the 'reference' ARM template function shows 3 parameters; 1 mandatory and 2 optional. When using the 'reference' function with 3 parameters VS Code reports a syntax error, however the ARM template deploys successfully. 