Class ActivityLogAlertLeafCondition
java.lang.Object
com.microsoft.azure.management.monitor.ActivityLogAlertLeafCondition
An Activity Log alert condition that is met by comparing an activity log
field and value.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionequals()
Get the field value will be compared to this value (case-insensitive) to determine if the condition is met.field()
Get the name of the field that this condition will examine.withEquals
(String equals) Set the field value will be compared to this value (case-insensitive) to determine if the condition is met.Set the name of the field that this condition will examine.
-
Constructor Details
-
ActivityLogAlertLeafCondition
public ActivityLogAlertLeafCondition()
-
-
Method Details
-
field
Get 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.'.- Returns:
- the field value
-
withField
Set 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.'.- Parameters:
field
- the field value to set- Returns:
- the ActivityLogAlertLeafCondition object itself.
-
equals
Get the field value will be compared to this value (case-insensitive) to determine if the condition is met.- Returns:
- the equals value
-
withEquals
Set the field value will be compared to this value (case-insensitive) to determine if the condition is met.- Parameters:
equals
- the equals value to set- Returns:
- the ActivityLogAlertLeafCondition object itself.
-