Azure 模板验证
Azure Template Validation
这个错误没有帮助。是否可能产生验证错误?此外,ARM 验证工具?更具体地说,除了以下答案之外,Azure CLI 工具将是最有帮助的。
Deployment failed. Correlation ID: 81d0e44d-0393-4f05-b9b9-4236f90c087f. {
"Code": "BadRequest",
"Message": "Requested feature is not available in resource group GasSchedulingApiTest-Linux. Please try using a different resource group or create a new one.",
"Target": null,
"Details": [
{
"Message": "Requested feature is not available in resource group GasSchedulingApiTest-Linux. Please try using a different resource group or create a new one."
},
{
"Code": "BadRequest"
},
{
"ErrorEntity": {
"ExtendedCode": "59324",
"MessageTemplate": "Requested feature is not available in resource group {0}. Please try using a different resource group or create a new one.",
"Parameters": [
"GasSchedulingApiTest-Linux"
],
"Code": "BadRequest",
"Message": "Requested feature is not available in resource group GasSchedulingApiTest-Linux. Please try using a different resource group or create a new one."
}
}
],
"Innererror": null
}
您可以在 Visual Studio 资源组项目类型中使用验证命令,或者您可以使用 api:https://docs.microsoft.com/en-us/rest/api/resources/deployments/validate
可能是这个限制:
Based on a current limitation, for the same resource group you cannot
mix Windows and Linux apps in the same region.
https://docs.microsoft.com/en-us/azure/app-service/containers/app-service-linux-intro#limitations
或者在现有资源组中创建函数应用的限制之一:
https://github.com/Azure/Azure-Functions/wiki/Creating-Function-Apps-in-an-existing-Resource-Group
这个错误没有帮助。是否可能产生验证错误?此外,ARM 验证工具?更具体地说,除了以下答案之外,Azure CLI 工具将是最有帮助的。
Deployment failed. Correlation ID: 81d0e44d-0393-4f05-b9b9-4236f90c087f. {
"Code": "BadRequest",
"Message": "Requested feature is not available in resource group GasSchedulingApiTest-Linux. Please try using a different resource group or create a new one.",
"Target": null,
"Details": [
{
"Message": "Requested feature is not available in resource group GasSchedulingApiTest-Linux. Please try using a different resource group or create a new one."
},
{
"Code": "BadRequest"
},
{
"ErrorEntity": {
"ExtendedCode": "59324",
"MessageTemplate": "Requested feature is not available in resource group {0}. Please try using a different resource group or create a new one.",
"Parameters": [
"GasSchedulingApiTest-Linux"
],
"Code": "BadRequest",
"Message": "Requested feature is not available in resource group GasSchedulingApiTest-Linux. Please try using a different resource group or create a new one."
}
}
],
"Innererror": null
}
您可以在 Visual Studio 资源组项目类型中使用验证命令,或者您可以使用 api:https://docs.microsoft.com/en-us/rest/api/resources/deployments/validate
可能是这个限制:
Based on a current limitation, for the same resource group you cannot mix Windows and Linux apps in the same region.
https://docs.microsoft.com/en-us/azure/app-service/containers/app-service-linux-intro#limitations
或者在现有资源组中创建函数应用的限制之一:
https://github.com/Azure/Azure-Functions/wiki/Creating-Function-Apps-in-an-existing-Resource-Group