Package | Description |
---|---|
com.microsoft.azure.management.monitor |
This package contains the classes for MonitorManagementClient.
|
Modifier and Type | Method and Description |
---|---|
MetricAlert.Update |
MetricAlertCondition.UpdateStages.parent()
Returns back to the metric alert update flow.
|
MetricAlert.Update |
MetricAlert.UpdateStages.WithMetricUpdate.withActionGroups(String... actionGroupId)
Sets the actions that will activate when the condition is met.
|
MetricAlert.Update |
MetricAlert.UpdateStages.WithMetricUpdate.withAutoMitigation()
Set the flag that indicates the alert should be auto resolved.
|
MetricAlert.Update |
MetricAlert.UpdateStages.WithMetricUpdate.withDescription(String description)
Sets description for metric alert.
|
MetricAlert.Update |
MetricAlert.UpdateStages.WithMetricUpdate.withFrequency(org.joda.time.Period frequency)
Set how often the metric alert is evaluated represented in ISO 8601 duration format.
|
MetricAlert.Update |
MetricAlert.UpdateStages.WithMetricUpdate.withoutActionGroup(String actionGroupId)
Removes the specified action group from the actions list.
|
MetricAlert.Update |
MetricAlert.UpdateStages.WithMetricUpdate.withoutAlertCriteria(String name)
Removes a condition from the previously defined metric alert conditions.
|
MetricAlert.Update |
MetricAlert.UpdateStages.WithMetricUpdate.withoutAutoMitigation()
Set the flag that indicates the alert should not be auto resolved.
|
MetricAlert.Update |
MetricAlert.UpdateStages.WithMetricUpdate.withPeriod(org.joda.time.Period size)
Sets the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold.
|
MetricAlert.Update |
MetricAlert.UpdateStages.WithMetricUpdate.withRuleDisabled()
Sets metric alert as disabled.
|
MetricAlert.Update |
MetricAlert.UpdateStages.WithMetricUpdate.withRuleEnabled()
Sets metric alert as enabled.
|
MetricAlert.Update |
MetricAlert.UpdateStages.WithMetricUpdate.withSeverity(int severity)
Set alert severity {0, 1, 2, 3, 4}.
|
Modifier and Type | Method and Description |
---|---|
MetricAlertCondition.UpdateDefinitionStages.Blank.MetricName<MetricAlert.Update> |
MetricAlert.UpdateStages.WithMetricUpdate.defineAlertCriteria(String name)
Starts definition of the metric alert condition.
|
Copyright © 2019. All rights reserved.