Class ActivityLogAlertLeafCondition
An Activity Log alert condition that is met by comparing an activity log field and value.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Monitor.dll
Syntax
public class ActivityLogAlertLeafCondition
Constructors
ActivityLogAlertLeafCondition()
Initializes a new instance of the ActivityLogAlertLeafCondition class.
Declaration
public ActivityLogAlertLeafCondition ();
ActivityLogAlertLeafCondition(String, String)
Initializes a new instance of the ActivityLogAlertLeafCondition class.
Declaration
public ActivityLogAlertLeafCondition (string field, string equals);
Parameters
|
String
field
The name of the 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.'. |
|
String
equals
The field value will be compared to this value (case-insensitive) to determine if the condition is met. |
Properties
Equals
Gets or sets the field value will be compared to this value (case-insensitive) to determine if the condition is met.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="equals")]
public string Equals { get; set; }
Property Value
|
String
|
Field
Gets or sets the name of the 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.'.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="field")]
public string Field { get; set; }
Property Value
|
String
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |