| Package | Description |
|---|---|
| com.azure.resourcemanager.monitor.fluent |
Package containing the service clients for MonitorClient.
|
| com.azure.resourcemanager.monitor.fluent.models |
Package containing the inner data models for MonitorClient.
|
| Modifier and Type | Method and Description |
|---|---|
AlertRuleResourceInner |
AlertRulesClient.createOrUpdate(String resourceGroupName,
String ruleName,
AlertRuleResourceInner parameters)
Creates or updates a classic metric alert rule.
|
AlertRuleResourceInner |
AlertRulesClient.getByResourceGroup(String resourceGroupName,
String ruleName)
Gets a classic metric alert rule.
|
AlertRuleResourceInner |
AlertRulesClient.update(String resourceGroupName,
String ruleName,
AlertRuleResourcePatch alertRulesResource)
Updates an existing classic metric AlertRuleResource.
|
| Modifier and Type | Method and Description |
|---|---|
AlertRuleResourceInner |
AlertRulesClient.createOrUpdate(String resourceGroupName,
String ruleName,
AlertRuleResourceInner parameters)
Creates or updates a classic metric alert rule.
|
Mono<AlertRuleResourceInner> |
AlertRulesClient.createOrUpdateAsync(String resourceGroupName,
String ruleName,
AlertRuleResourceInner parameters)
Creates or updates a classic metric alert rule.
|
com.azure.core.http.rest.Response<AlertRuleResourceInner> |
AlertRulesClient.createOrUpdateWithResponse(String resourceGroupName,
String ruleName,
AlertRuleResourceInner parameters,
com.azure.core.util.Context context)
Creates or updates a classic metric alert rule.
|
Mono<com.azure.core.http.rest.Response<AlertRuleResourceInner>> |
AlertRulesClient.createOrUpdateWithResponseAsync(String resourceGroupName,
String ruleName,
AlertRuleResourceInner parameters)
Creates or updates a classic metric alert rule.
|
| Modifier and Type | Method and Description |
|---|---|
AlertRuleResourceInner |
AlertRuleResourceInner.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.
|
AlertRuleResourceInner |
AlertRuleResourceInner.withCondition(RuleCondition condition)
Set the condition property: the condition that results in the alert rule being activated.
|
AlertRuleResourceInner |
AlertRuleResourceInner.withDescription(String description)
Set the description property: the description of the alert rule that will be included in the alert email.
|
AlertRuleResourceInner |
AlertRuleResourceInner.withIsEnabled(boolean isEnabled)
Set the isEnabled property: the flag that indicates whether the alert rule is enabled.
|
AlertRuleResourceInner |
AlertRuleResourceInner.withNamePropertiesName(String namePropertiesName)
Set the namePropertiesName property: the name of the alert rule.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.