Uses of Class
com.azure.resourcemanager.monitor.models.AlertRuleResourcePatch
Packages that use AlertRuleResourcePatch
Package
Description
Package containing the service clients for MonitorClient.
Package containing the data models for MonitorClient.
-
Uses of AlertRuleResourcePatch in com.azure.resourcemanager.monitor.fluent
Methods in com.azure.resourcemanager.monitor.fluent with parameters of type AlertRuleResourcePatchModifier and TypeMethodDescriptionAlertRulesClient.update
(String resourceGroupName, String ruleName, AlertRuleResourcePatch alertRulesResource) Updates an existing classic metric AlertRuleResource.AlertRulesClient.updateAsync
(String resourceGroupName, String ruleName, AlertRuleResourcePatch alertRulesResource) Updates an existing classic metric AlertRuleResource.com.azure.core.http.rest.Response
<AlertRuleResourceInner> AlertRulesClient.updateWithResponse
(String resourceGroupName, String ruleName, AlertRuleResourcePatch alertRulesResource, com.azure.core.util.Context context) Updates an existing classic metric AlertRuleResource.Mono
<com.azure.core.http.rest.Response<AlertRuleResourceInner>> AlertRulesClient.updateWithResponseAsync
(String resourceGroupName, String ruleName, AlertRuleResourcePatch alertRulesResource) Updates an existing classic metric AlertRuleResource. -
Uses of AlertRuleResourcePatch in com.azure.resourcemanager.monitor.models
Methods in com.azure.resourcemanager.monitor.models that return AlertRuleResourcePatchModifier and TypeMethodDescriptionstatic AlertRuleResourcePatch
AlertRuleResourcePatch.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of AlertRuleResourcePatch from the JsonReader.AlertRuleResourcePatch.withAction
(RuleAction action) Set the action property: action that is performed when the alert rule becomes active, and when an alert condition is resolved.AlertRuleResourcePatch.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.AlertRuleResourcePatch.withCondition
(RuleCondition condition) Set the condition property: the condition that results in the alert rule being activated.AlertRuleResourcePatch.withDescription
(String description) Set the description property: the description of the alert rule that will be included in the alert email.AlertRuleResourcePatch.withIsEnabled
(Boolean isEnabled) Set the isEnabled property: the flag that indicates whether the alert rule is enabled.Set the name property: the name of the alert rule.AlertRuleResourcePatch.withProvisioningState
(String provisioningState) Set the provisioningState property: the provisioning state.Set the tags property: Resource tags.