azure - 对象中缺少必需的属性:qnaRuntimeEndpoint
问题描述
我无法通过 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
解决方案
推荐阅读
- reactjs - ReactJs - 条件渲染或隐藏组件
- json - 通过 JQ 添加 json 数组在字符串中引入 unicode 字符
- queue - Azure DevOps:如何检查池队列中是否有项目等待
- eclipse - 为多个 for 循环完成了 Xquery
- php - Laravel - 碳宏调用未定义的方法
- angular - 在 Angular 7 中出错 ./src/app/app.component.ts 找不到模块:错误:无法解决
- java - HttpURLConnection CLOSE_WAIT 以防响应错误
- java - 有人可以详细说明以下代码吗?
- java - 在 Eclipse 中将 Java 源代码导出到 JAR 文件
- pandas - 在 DataFrame 中查找具有一个差异的行