Share via


ScheduledAlertRuleTemplate Class

Definition

Represents scheduled alert rule template.

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

Constructors

ScheduledAlertRuleTemplate()

Initializes a new instance of ScheduledAlertRuleTemplate.

Properties

AlertDetailsOverride

The alert details override settings.

AlertRulesCreatedByTemplateCount

the number of alert rules that were created by this template.

CreatedDateUTC

The time that this alert rule template has been added.

CustomDetails

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

Description

The description of the alert rule template.

DisplayName

The display name for alert rule template.

EntityMappings

Array of the entity mappings of the alert rule.

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)
LastUpdatedDateUTC

The time that this alert rule template was last updated.

Name

The name of the resource.

(Inherited from ResourceData)
Query

The query that creates alerts for this rule.

QueryFrequency

The frequency (in ISO 8601 duration format) for this alert rule to run.

QueryPeriod

The period (in ISO 8601 duration format) that this alert rule looks at.

RequiredDataConnectors

The required data connectors for this template.

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.

Status

The alert rule template status.

SubTechniques

The sub-techniques of the alert rule.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tactics

The tactics of the alert rule template.

Techniques

The techniques of the alert rule.

TriggerOperator

The operation against the threshold that triggers alert rule.

TriggerThreshold

The threshold triggers this alert rule.

Version

The version of this template - in format <a.b.c>, where all are numbers. For example <1.0.2>.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<ScheduledAlertRuleTemplate>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ScheduledAlertRuleTemplate>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<SecurityInsightsAlertRuleTemplateData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from SecurityInsightsAlertRuleTemplateData)
IPersistableModel<ScheduledAlertRuleTemplate>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScheduledAlertRuleTemplate>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ScheduledAlertRuleTemplate>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<SecurityInsightsAlertRuleTemplateData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from SecurityInsightsAlertRuleTemplateData)

Applies to