我无法通过ARM模板部署QnA制造商
按照我的模板
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"accounts_MyBot_QnAMaker_name": {
"defaultValue": "MyBot-QnAMaker",
"type": "String"
}
},
"variables": {},
"resources": [
{
"type": "Microsoft.CognitiveServices/accounts",
"apiVersion": "2016-02-01-preview",
"name": "[parameters('accounts_MyBot_QnAMaker_name')]",
"location": "westus",
"sku": {
"name": "S0"
},
"kind": "QnAMaker",
"properties": {}
}
]
}
这是我收到的状态错误消息
"statusMessage": {
"error": {
"code": "ApiPropertiesInvalid",
"message": "The given 'apiProperties' '{}' is invalid. Validation errors: Required properties are missing from object: qnaRuntimeEndpoint. Path ''."
}
},
https://github.com/Azure/azure-cli/issues/6888#issuecomment-417817480