I am trying to deploy an app service environment and exported the the template where it defines the multirole pools:
{
"type": "Microsoft.Web/hostingEnvironments/multiRolePools",
"apiVersion": "2022-09-01",
"name": "[concat(parameters('resourceName'), '/default')]",
"location": "East US",
"dependsOn": [
"[resourceId('Microsoft.Web/hostingEnvironments', parameters('resourceName'))]"
],
"sku": {
"name": "Q1",
"tier": "Quantum",
"size": "Q1",
"family": "Q",
"capacity": 2
},
"properties": {
"workerSize": "Standard_D1_V2",
"workerCount": 2
}
}
I keep getting this error :
Message: Operation not supported for resource type Microsoft.Web/hostingEnvironments with kind version2
InnerError:
Code: BadRequest
I am trying to run the exported template and keep getting this error. No documentation on the above either.