| Package | Description |
|---|---|
| com.azure.resourcemanager.monitor.fluent |
Package containing the service clients for MonitorClient.
|
| com.azure.resourcemanager.monitor.models |
Package containing the data models for MonitorClient.
|
| Modifier and Type | Method and Description |
|---|---|
AlertRuleResourceInner |
AlertRulesClient.update(String resourceGroupName,
String ruleName,
AlertRuleResourcePatch alertRulesResource)
Updates an existing classic metric AlertRuleResource.
|
Mono<AlertRuleResourceInner> |
AlertRulesClient.updateAsync(String resourceGroupName,
String ruleName,
AlertRuleResourcePatch alertRulesResource)
Updates an existing classic metric AlertRuleResource.
|
com.azure.core.http.rest.Response<AlertRuleResourceInner> |
AlertRulesClient.updateWithResponse(String resourceGroupName,
String ruleName,
AlertRuleResourcePatch alertRulesResource,
com.azure.core.util.Context context)
Updates an existing classic metric AlertRuleResource.
|
Mono<com.azure.core.http.rest.Response<AlertRuleResourceInner>> |
AlertRulesClient.updateWithResponseAsync(String resourceGroupName,
String ruleName,
AlertRuleResourcePatch alertRulesResource)
Updates an existing classic metric AlertRuleResource.
|
| Modifier and Type | Method and Description |
|---|---|
AlertRuleResourcePatch |
AlertRuleResourcePatch.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.
|
AlertRuleResourcePatch |
AlertRuleResourcePatch.withCondition(RuleCondition condition)
Set the condition property: the condition that results in the alert rule being activated.
|
AlertRuleResourcePatch |
AlertRuleResourcePatch.withDescription(String description)
Set the description property: the description of the alert rule that will be included in the alert email.
|
AlertRuleResourcePatch |
AlertRuleResourcePatch.withIsEnabled(Boolean isEnabled)
Set the isEnabled property: the flag that indicates whether the alert rule is enabled.
|
AlertRuleResourcePatch |
AlertRuleResourcePatch.withName(String name)
Set the name property: the name of the alert rule.
|
AlertRuleResourcePatch |
AlertRuleResourcePatch.withTags(Map<String,String> tags)
Set the tags property: Resource tags.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.