Azure 对象中缺少必需的属性:qnaRuntimeEndpoint
我无法通过ARM模板部署QnA maker 遵循我的模板Azure 对象中缺少必需的属性:qnaRuntimeEndpoint,azure,arm-template,qnamaker,Azure,Arm Template,Qnamaker,我无法通过ARM模板部署QnA maker 遵循我的模板 { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "accounts_MyBot_QnAMaker_name": { "defaultValue"
{
"$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 ''."
}
},
您应该这样获得模板 创建新的QnA Maker时,请在Azure portal上填写表单(不要单击“创建”按钮),然后单击“自动化选项” 然后您将获得模板和参数。我用这种方式创建了一个新的