你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ActivityLogAlertLeafCondition 类

通过比较活动日志字段和值来满足的活动日志警报条件。

必须填充所有必需的参数才能发送到 Azure。

继承
azure.mgmt.monitor._serialization.Model
ActivityLogAlertLeafCondition

构造函数

ActivityLogAlertLeafCondition(*, field: str, equals: str, **kwargs: Any)

变量

field
str

此条件将检查的字段的名称。 此字段的可能值 (不区分大小写) :“resourceId”、“category”、“caller”、“level”、“operationName”、“resourceGroup”、“resourceProvider”、“status”、“subStatus”、“resourceType”或以“properties”开头的任何内容。 必需。

equals
str

字段值将与此值进行比较, (不区分大小写) 确定是否满足条件。 必需。