public static interface ActivityLogAlert.DefinitionStages.WithCriteriaDefinition
| Modifier and Type | Method and Description |
|---|---|
ActivityLogAlert.DefinitionStages.WithCreate |
withEqualsCondition(String field,
String equals)
Adds a condition that will cause this alert to activate.
|
ActivityLogAlert.DefinitionStages.WithCreate |
withEqualsConditions(Map<String,String> fieldEqualsMap)
Sets all the conditions that will cause this alert to activate.
|
ActivityLogAlert.DefinitionStages.WithCreate withEqualsCondition(String field, String equals)
field - 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.'.equals - Set the field value will be compared to this value (case-insensitive) to determine if the
condition is met.ActivityLogAlert.DefinitionStages.WithCreate withEqualsConditions(Map<String,String> fieldEqualsMap)
fieldEqualsMap - Set the names of the field that this condition will examine and their values to be
compared to.Copyright © 2020 Microsoft Corporation. All rights reserved.