Condividi tramite


AlertRuleResourcePatch Class

Definition

The alert rule object for patch operations.

[Microsoft.Rest.Serialization.JsonTransformation]
public class AlertRuleResourcePatch
[<Microsoft.Rest.Serialization.JsonTransformation>]
type AlertRuleResourcePatch = class
Public Class AlertRuleResourcePatch
Inheritance
AlertRuleResourcePatch
Attributes

Constructors

AlertRuleResourcePatch()

Initializes a new instance of the AlertRuleResourcePatch class.

AlertRuleResourcePatch(String, Boolean, RuleCondition, IDictionary<String,String>, String, String, RuleAction, IList<RuleAction>, Nullable<DateTime>)

Initializes a new instance of the AlertRuleResourcePatch class.

Properties

Action

Gets or sets action that is performed when the alert rule becomes active, and when an alert condition is resolved.

Actions

Gets or sets the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.

Condition

Gets or sets the condition that results in the alert rule being activated.

Description

Gets or sets the description of the alert rule that will be included in the alert email.

IsEnabled

Gets or sets the flag that indicates whether the alert rule is enabled.

LastUpdatedTime

Gets last time the rule was updated in ISO8601 format.

Name

Gets or sets the name of the alert rule.

ProvisioningState

Gets or sets the provisioning state.

Tags

Gets or sets resource tags

Methods

Validate()

Validate the object.

Applies to