다음을 통해 공유


ActivityLogAlertResource Class

Definition

An Activity Log Alert rule resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class ActivityLogAlertResource : Microsoft.Azure.Management.Monitor.Models.AzureResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ActivityLogAlertResource = class
    inherit AzureResource
Public Class ActivityLogAlertResource
Inherits AzureResource
Inheritance
ActivityLogAlertResource
Attributes

Constructors

ActivityLogAlertResource()

Initializes a new instance of the ActivityLogAlertResource class.

ActivityLogAlertResource(String, IList<String>, AlertRuleAllOfCondition, ActionList, String, String, String, String, String, IDictionary<String, String>, Nullable<Boolean>, String)

Initializes a new instance of the ActivityLogAlertResource class.

Properties

Actions

Gets or sets the actions that will activate when the condition is met.

Condition

Gets or sets the condition that will cause this alert to activate.

Description

Gets or sets a description of this Activity Log Alert rule.

Enabled

Gets or sets indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert rule is not enabled, then none of its actions will be activated.

Id

Gets azure resource Id

(Inherited from AzureResource)
Identity

Gets azure resource identity

(Inherited from AzureResource)
Kind

Gets azure resource kind

(Inherited from AzureResource)
Location

Gets or sets resource location

(Inherited from AzureResource)
Name

Gets azure resource name

(Inherited from AzureResource)
Scopes

Gets or sets a list of resource IDs that will be used as prefixes. The alert will only apply to Activity Log events with resource IDs that fall under one of these prefixes. This list must include at least one item.

Tags

Gets or sets resource tags

(Inherited from AzureResource)
Type

Gets azure resource type

(Inherited from AzureResource)

Methods

Validate()

Validate the object.

Applies to