Partager via


NrtAlertRule Class

Definition

Represents NRT alert rule.

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

Constructors

NrtAlertRule()

Initializes a new instance of NrtAlertRule.

Properties

AlertDetailsOverride

The alert details override settings.

AlertRuleTemplateName

The Name of the alert rule template used to create this rule.

CustomDetails

Dictionary of string key-value pairs of columns to be attached to the alert.

Description

The description of the alert rule.

DisplayName

The display name for alerts created by this alert rule.

EntityMappings

Array of the entity mappings of the alert rule.

ETag

Etag of the azure resource.

(Inherited from SecurityInsightsAlertRuleData)
EventGroupingAggregationKind

The event grouping aggregation kinds.

Id

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

(Inherited from ResourceData)
IncidentConfiguration

The settings of the incidents that created from alerts triggered by this analytics rule.

IsEnabled

Determines whether this alert rule is enabled or disabled.

IsSuppressionEnabled

Determines whether the suppression for this alert rule is enabled or disabled.

LastModifiedOn

The last time that this alert rule has been modified.

Name

The name of the resource.

(Inherited from ResourceData)
Query

The query that creates alerts for this rule.

ResourceType

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

(Inherited from ResourceData)
SentinelEntitiesMappings

Array of the sentinel entity mappings of the alert rule.

Severity

The severity for alerts created by this alert rule.

SubTechniques

The sub-techniques of the alert rule.

SuppressionDuration

The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tactics

The tactics of the alert rule.

Techniques

The techniques of the alert rule.

TemplateVersion

The version of the alert rule template used to create this rule - in format <a.b.c>, where all are numbers, for example 0 <1.0.2>.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<NrtAlertRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NrtAlertRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<SecurityInsightsAlertRuleData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from SecurityInsightsAlertRuleData)
IJsonModel<SecurityInsightsAlertRuleData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from SecurityInsightsAlertRuleData)
IPersistableModel<NrtAlertRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NrtAlertRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NrtAlertRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<SecurityInsightsAlertRuleData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from SecurityInsightsAlertRuleData)
IPersistableModel<SecurityInsightsAlertRuleData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from SecurityInsightsAlertRuleData)
IPersistableModel<SecurityInsightsAlertRuleData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from SecurityInsightsAlertRuleData)

Applies to