Uses of Class
com.microsoft.azure.management.monitor.MetricAlertResourcePatch
Package
Description
This package contains the classes for MonitorManagementClient.
-
Uses of MetricAlertResourcePatch in com.microsoft.azure.management.monitor
Modifier and TypeMethodDescriptionMetricAlertResourcePatch.withActions
(List<MetricAlertAction> actions) Set the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.MetricAlertResourcePatch.withAutoMitigate
(Boolean autoMitigate) Set the flag that indicates whether the alert should be auto resolved or not.MetricAlertResourcePatch.withCriteria
(MetricAlertCriteria criteria) Set defines the specific alert criteria information.MetricAlertResourcePatch.withDescription
(String description) Set the description of the metric alert that will be included in the alert email.MetricAlertResourcePatch.withEnabled
(boolean enabled) Set the flag that indicates whether the metric alert is enabled.MetricAlertResourcePatch.withEvaluationFrequency
(org.joda.time.Period evaluationFrequency) Set how often the metric alert is evaluated represented in ISO 8601 duration format.MetricAlertResourcePatch.withScopes
(List<String> scopes) Set the list of resource id's that this metric alert is scoped to.MetricAlertResourcePatch.withSeverity
(int severity) Set alert severity {0, 1, 2, 3, 4}.Set resource tags.MetricAlertResourcePatch.withTargetResourceRegion
(String targetResourceRegion) Set the region of the target resource(s) on which the alert is created/updated.MetricAlertResourcePatch.withTargetResourceType
(String targetResourceType) Set the resource type of the target resource(s) on which the alert is created/updated.MetricAlertResourcePatch.withWindowSize
(org.joda.time.Period windowSize) Set the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold.