AlertRuleLeafConditionResponse

data class AlertRuleLeafConditionResponse(val containsAny: List<String>? = null, val equals: String? = null, val field: String? = null)

An Activity Log Alert rule condition that is met by comparing the field and value of an Activity Log event. This condition must contain 'field' and either 'equals' or 'containsAny'.

Constructors

Link copied to clipboard
constructor(containsAny: List<String>? = null, equals: String? = null, field: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val containsAny: List<String>? = null

The value of the event's field will be compared to the values in this array (case-insensitive) to determine if the condition is met.

Link copied to clipboard
val equals: String? = null

The value of the event's field will be compared to this value (case-insensitive) to determine if the condition is met.

Link copied to clipboard
val field: String? = null

The name of the Activity Log event's field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties'.