searchSettings 资源类型
Namespace:microsoft.graph.externalConnectors
收集与搜索连接器内容相关的所有可配置设置。
属性
属性 | 类型 | 说明 |
---|---|---|
searchResultTemplates | microsoft.graph.externalConnectors.displayTemplate 集合 | 使开发人员能够定义内容的外观,并配置规定何时应显示模板的条件。 每个连接最多 2 个搜索结果模板。 |
关系
无。
JSON 表示形式
以下 JSON 表示形式显示了资源类型。
{
"searchResultTemplates": [
{
"id": "String (identifier)",
"rules": [
{
"property": "itemTitle",
"operation": "contains",
"valuesJoinedBy": "or",
"values": [
"contoso",
"smart"
]
}
],
"layout": {"type": "AdaptiveCard","version": "1.0","body": [{"type": "TextBlock","text": "A contoso ticket."}]},
"priority": 0
},
{
"id": "String (identifier)",
"rules": [
{
"property": "itemDescription",
"operation": "contains",
"valuesJoinedBy": "and",
"values": [
"contoso",
"ticket"
]
}
],
"layout": {"type": "AdaptiveCard","version": "1.0","body": [{"type": "TextBlock","text": "A contoso ticket."}]},
"priority": 1
}
]
}