卡片

卡片视觉对象仅显示一个元素。 如果输出中有多个列和行,则第一个结果记录会被视为标量值集并显示为卡片。

注意

此可视化效果只能在 render 运算符的上下文中使用。

语法

T|rendercard [with(propertyName=propertyValue [, ...])]

详细了解语法约定

参数

客户 类型​​ 必需 说明
T string 输入表名称。
propertyName, propertyValue string 键值属性对的逗号分隔列表。 请参阅支持的属性

支持的属性

所有属性都是可选的。

PropertyName PropertyValue
title 可视化效果的标题(string 类型)。

示例

StormEvents
| where State=="VIRGINIA" and EventType=="Flood"
| count
| render card with (title="Floods in Virginia")

Screenshot of card visual.

Azure Monitor 不支持此可视化效果。