| Modifier and Type | Method and Description |
|---|---|
AlertRuleResourcePatch |
AlertRuleResourcePatch.withActions(List<RuleAction> actions)
Set the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
|
AlertRuleResourcePatch |
AlertRuleResourcePatch.withCondition(RuleCondition condition)
Set the condition that results in the alert rule being activated.
|
AlertRuleResourcePatch |
AlertRuleResourcePatch.withDescription(String description)
Set the description of the alert rule that will be included in the alert email.
|
AlertRuleResourcePatch |
AlertRuleResourcePatch.withIsEnabled(boolean isEnabled)
Set the flag that indicates whether the alert rule is enabled.
|
AlertRuleResourcePatch |
AlertRuleResourcePatch.withName(String name)
Set the name of the alert rule.
|
AlertRuleResourcePatch |
AlertRuleResourcePatch.withTags(Map<String,String> tags)
Set resource tags.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/