The answer seems to be, at the moment, seeing as this is still in preview (afaik)
To create a managed Identity api connection using ARM Templates, you need to include "parameterValueType": "Alternative"
"properties": {
"displayName": "ARM API connection",
"customParameterValues": {},
"parameterValueType": "Alternative",
"api": {
"id": "[concat('/subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Web/locations/', resourceGroup().location, '/managedApis/arm')]"
}
}
I've found no documentation of this property. The only reason I found out was by looking at the raw json (json view) of an api connection I created using the portal.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…