I am trying to deploy file system API connection using ARM template. I could not find the parametersValue schema for this connection and so tried with naming the parameters as they appear on Azure portal
Edit API Connection Screen shot on Azure Portal1
{
"apiVersion": "2016-06-01",
"name": "filesystem",
"type": "Microsoft.Web/connections",
"location": "[resourceGroup().location]",
"properties": {
"api": {
"id": "[concat(subscription().id,'/providers/Microsoft.Web/locations/westus/managedApis/filesystem')]"
},
"parameterValues": {
"displayName": "FileSyetem",
"rootFolder": "[parameters('rootFolder')]",
"authenticationType":"Windows",
"username": "[parameters('username')]",
"password": "[parameters('password')]"
}
}
However deployment is failing due to wrong parameterValue names displayName and authenticationType
Below is error in the deployment log - Bad Request
Input parameters are invalid. See details for more information. Details:errorCode: ParameterNotDefined. Message: Parameter 'displayName' is not allowed on the connection since it was not defined as a connection parameter when the API was registered...
Does anyone knows correct json schema for filesystem connection? I could not find it on https://resources.azure.com .