ActivityLogAlertData Class

Definition

A class representing the ActivityLogAlert data model. An Activity Log Alert rule resource.

public class ActivityLogAlertData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.ActivityLogAlertData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.ActivityLogAlertData>
type ActivityLogAlertData = class
    inherit TrackedResourceData
    interface IJsonModel<ActivityLogAlertData>
    interface IPersistableModel<ActivityLogAlertData>
Public Class ActivityLogAlertData
Inherits TrackedResourceData
Implements IJsonModel(Of ActivityLogAlertData), IPersistableModel(Of ActivityLogAlertData)
Inheritance
ActivityLogAlertData
Implements

Constructors

ActivityLogAlertData(AzureLocation)

Initializes a new instance of ActivityLogAlertData.

Properties

ActionsActionGroups

The list of the Action Groups.

ConditionAllOf

The list of Activity Log Alert rule conditions.

Description

A description of this Activity Log Alert rule.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IsEnabled

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.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Scopes

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.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<ActivityLogAlertData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ActivityLogAlertData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ActivityLogAlertData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ActivityLogAlertData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ActivityLogAlertData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to