Uses of Class
com.azure.resourcemanager.monitor.models.MetricAlertResourcePatch
Packages that use MetricAlertResourcePatch
Package
Description
Package containing the service clients for MonitorClient.
Package containing the data models for MonitorClient.
-
Uses of MetricAlertResourcePatch in com.azure.resourcemanager.monitor.fluent
Methods in com.azure.resourcemanager.monitor.fluent with parameters of type MetricAlertResourcePatchModifier and TypeMethodDescriptionMetricAlertsClient.update
(String resourceGroupName, String ruleName, MetricAlertResourcePatch parameters) Update an metric alert definition.MetricAlertsClient.updateAsync
(String resourceGroupName, String ruleName, MetricAlertResourcePatch parameters) Update an metric alert definition.com.azure.core.http.rest.Response
<MetricAlertResourceInner> MetricAlertsClient.updateWithResponse
(String resourceGroupName, String ruleName, MetricAlertResourcePatch parameters, com.azure.core.util.Context context) Update an metric alert definition.Mono
<com.azure.core.http.rest.Response<MetricAlertResourceInner>> MetricAlertsClient.updateWithResponseAsync
(String resourceGroupName, String ruleName, MetricAlertResourcePatch parameters) Update an metric alert definition. -
Uses of MetricAlertResourcePatch in com.azure.resourcemanager.monitor.models
Methods in com.azure.resourcemanager.monitor.models that return MetricAlertResourcePatchModifier and TypeMethodDescriptionstatic MetricAlertResourcePatch
MetricAlertResourcePatch.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of MetricAlertResourcePatch from the JsonReader.MetricAlertResourcePatch.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.MetricAlertResourcePatch.withAutoMitigate
(Boolean autoMitigate) Set the autoMitigate property: the flag that indicates whether the alert should be auto resolved or not.MetricAlertResourcePatch.withCriteria
(MetricAlertCriteria criteria) Set the criteria property: defines the specific alert criteria information.MetricAlertResourcePatch.withDescription
(String description) Set the description property: the description of the metric alert that will be included in the alert email.MetricAlertResourcePatch.withEnabled
(Boolean enabled) Set the enabled property: the flag that indicates whether the metric alert is enabled.MetricAlertResourcePatch.withEvaluationFrequency
(Duration evaluationFrequency) Set the evaluationFrequency property: how often the metric alert is evaluated represented in ISO 8601 duration format.MetricAlertResourcePatch.withScopes
(List<String> scopes) Set the scopes property: the list of resource id's that this metric alert is scoped to.MetricAlertResourcePatch.withSeverity
(Integer severity) Set the severity property: Alert severity {0, 1, 2, 3, 4}.Set the tags property: Resource tags.MetricAlertResourcePatch.withTargetResourceRegion
(String targetResourceRegion) Set the targetResourceRegion property: the region of the target resource(s) on which the alert is created/updated.MetricAlertResourcePatch.withTargetResourceType
(String targetResourceType) Set the targetResourceType property: the resource type of the target resource(s) on which the alert is created/updated.MetricAlertResourcePatch.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.