public static interface ActivityLogAlert.UpdateStages.WithActivityLogUpdate
| Modifier and Type | Method and Description |
|---|---|
ActivityLogAlert.Update |
withActionGroups(String... actionGroupId)
Sets the actions that will activate when the condition is met.
|
ActivityLogAlert.Update |
withDescription(String description)
Sets description for activity log alert.
|
ActivityLogAlert.Update |
withEqualsCondition(String field,
String equals)
Adds a condition that will cause this alert to activate.
|
ActivityLogAlert.Update |
withEqualsConditions(Map<String,String> fieldEqualsMap)
Sets all the conditions that will cause this alert to activate.
|
ActivityLogAlert.Update |
withoutActionGroup(String actionGroupId)
Removes the specified action group from the actions list.
|
ActivityLogAlert.Update |
withoutEqualsCondition(String field)
Removes a condition from the list of conditions.
|
ActivityLogAlert.Update |
withRuleDisabled()
Sets activity log alert as disabled.
|
ActivityLogAlert.Update |
withRuleEnabled()
Sets activity log alert as enabled.
|
ActivityLogAlert.Update withDescription(String description)
description - Human readable text description of the activity log alert.ActivityLogAlert.Update withRuleEnabled()
ActivityLogAlert.Update withRuleDisabled()
ActivityLogAlert.Update withActionGroups(String... actionGroupId)
actionGroupId - resource Ids of the ActionGroup.ActivityLogAlert.Update withoutActionGroup(String actionGroupId)
actionGroupId - resource Id of the ActionGroup to remove.ActivityLogAlert.Update 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.Update withEqualsConditions(Map<String,String> fieldEqualsMap)
fieldEqualsMap - Set the names of the field that this condition will examine and their values to be compared to.ActivityLogAlert.Update withoutEqualsCondition(String field)
field - the name of the field that was used for condition examination./**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/