We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
list
Bicep version Bicep CLI version 0.2.14 (0a0f974)
Describe the bug When using the ARM template function list() an error occurs.
list()
Error BCP082: The name "list" does not exist in the current context. Did you mean "last"?
To Reproduce
param functionApp object param serverFarmId string output config object = list(format('{0}/config/appsettings', functionAppResource.id), functionAppResource.apiVersion) resource functionAppResource 'Microsoft.Web/sites@2020-06-01' = { name: functionApp.name location: resourceGroup().location kind: 'functionApp' properties: { httpsOnly: true serverFarmId: serverFarmId } }
Additional context
The list() function works in an ARM template.
"appSettings": { "type": "object", "value": "[list(format('{0}/config/appsettings', resourceId('Microsoft.Web/sites', parameters('functionApp').name)), '2020-06-01')]" }
The text was updated successfully, but these errors were encountered:
It looks like this issue refers to the following API: https://docs.microsoft.com/en-us/rest/api/appservice/webapps/listapplicationsettings
Sorry, something went wrong.
Good find - I didn't know that there was just a plain list() function with no suffix..
Same here.
anthony-c-martin
Successfully merging a pull request may close this issue.
Bicep version
Bicep CLI version 0.2.14 (0a0f974)
Describe the bug
When using the ARM template function
list()
an error occurs.To Reproduce
Additional context
The
list()
function works in an ARM template.The text was updated successfully, but these errors were encountered: