Uses of Class
com.azure.resourcemanager.monitor.fluent.models.AlertRule
Packages that use AlertRule
Package
Description
Package containing the inner data models for MonitorClient.
-
Uses of AlertRule in com.azure.resourcemanager.monitor.fluent.models
Methods in com.azure.resourcemanager.monitor.fluent.models that return AlertRuleModifier and TypeMethodDescriptionstatic AlertRuleAlertRule.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AlertRule from the JsonReader.AlertRule.withAction(RuleAction action) Set the action property: action that is performed when the alert rule becomes active, and when an alert condition is resolved.AlertRule.withActions(List<RuleAction> actions) Set the actions property: the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.AlertRule.withCondition(RuleCondition condition) Set the condition property: the condition that results in the alert rule being activated.AlertRule.withDescription(String description) Set the description property: the description of the alert rule that will be included in the alert email.AlertRule.withIsEnabled(boolean isEnabled) Set the isEnabled property: the flag that indicates whether the alert rule is enabled.Set the name property: the name of the alert rule.AlertRule.withProvisioningState(String provisioningState) Set the provisioningState property: the provisioning state.