| 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 |
|---|---|
MetricAlertResourceInner |
MetricAlertsClient.createOrUpdate(String resourceGroupName,
String ruleName,
MetricAlertResourceInner parameters)
Create or update an metric alert definition.
|
MetricAlertResourceInner |
MetricAlertsClient.getByResourceGroup(String resourceGroupName,
String ruleName)
Retrieve an alert rule definition.
|
MetricAlertResourceInner |
MetricAlertsClient.update(String resourceGroupName,
String ruleName,
MetricAlertResourcePatch parameters)
Update an metric alert definition.
|
| Modifier and Type | Method and Description |
|---|---|
MetricAlertResourceInner |
MetricAlertsClient.createOrUpdate(String resourceGroupName,
String ruleName,
MetricAlertResourceInner parameters)
Create or update an metric alert definition.
|
Mono<MetricAlertResourceInner> |
MetricAlertsClient.createOrUpdateAsync(String resourceGroupName,
String ruleName,
MetricAlertResourceInner parameters)
Create or update an metric alert definition.
|
com.azure.core.http.rest.Response<MetricAlertResourceInner> |
MetricAlertsClient.createOrUpdateWithResponse(String resourceGroupName,
String ruleName,
MetricAlertResourceInner parameters,
com.azure.core.util.Context context)
Create or update an metric alert definition.
|
Mono<com.azure.core.http.rest.Response<MetricAlertResourceInner>> |
MetricAlertsClient.createOrUpdateWithResponseAsync(String resourceGroupName,
String ruleName,
MetricAlertResourceInner parameters)
Create or update an metric alert definition.
|
| Modifier and Type | Method and Description |
|---|---|
MetricAlertResourceInner |
MetricAlertResourceInner.withActions(List<MetricAlertAction> 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.
|
MetricAlertResourceInner |
MetricAlertResourceInner.withAutoMitigate(Boolean autoMitigate)
Set the autoMitigate property: the flag that indicates whether the alert should be auto resolved or not.
|
MetricAlertResourceInner |
MetricAlertResourceInner.withCriteria(MetricAlertCriteria criteria)
Set the criteria property: defines the specific alert criteria information.
|
MetricAlertResourceInner |
MetricAlertResourceInner.withDescription(String description)
Set the description property: the description of the metric alert that will be included in the alert email.
|
MetricAlertResourceInner |
MetricAlertResourceInner.withEnabled(boolean enabled)
Set the enabled property: the flag that indicates whether the metric alert is enabled.
|
MetricAlertResourceInner |
MetricAlertResourceInner.withEvaluationFrequency(Duration evaluationFrequency)
Set the evaluationFrequency property: how often the metric alert is evaluated represented in ISO 8601 duration
format.
|
MetricAlertResourceInner |
MetricAlertResourceInner.withScopes(List<String> scopes)
Set the scopes property: the list of resource id's that this metric alert is scoped to.
|
MetricAlertResourceInner |
MetricAlertResourceInner.withSeverity(int severity)
Set the severity property: Alert severity {0, 1, 2, 3, 4}.
|
MetricAlertResourceInner |
MetricAlertResourceInner.withTargetResourceRegion(String targetResourceRegion)
Set the targetResourceRegion property: the region of the target resource(s) on which the alert is
created/updated.
|
MetricAlertResourceInner |
MetricAlertResourceInner.withTargetResourceType(String targetResourceType)
Set the targetResourceType property: the resource type of the target resource(s) on which the alert is
created/updated.
|
MetricAlertResourceInner |
MetricAlertResourceInner.withWindowSize(Duration windowSize)
Set the windowSize property: the period of time (in ISO 8601 duration format) that is used to monitor alert
activity based on the threshold.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.