Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LogSearchRuleResource

Package version

The Log Search Rule resource.

Hierarchy

Index

Properties

action

action: ActionUnion

Action needs to be taken on rule execution.

Optional autoMitigate

autoMitigate: undefined | false | true

The flag that indicates whether the alert should be automatically resolved or not. The default is false.

Optional createdWithApiVersion

createdWithApiVersion: undefined | string

The api-version used when creating this alert rule NOTE: This property will not be serialized. It can only be populated by the server.

Optional description

description: undefined | string

The description of the Log Search rule.

Optional displayName

displayName: undefined | string

The display name of the alert rule

Optional enabled

enabled: Enabled

The flag which indicates whether the Log Search rule is enabled. Value should be true or false

Optional etag

etag: undefined | string

The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. NOTE: This property will not be serialized. It can only be populated by the server.

Optional id

id: undefined | string

Azure resource Id NOTE: This property will not be serialized. It can only be populated by the server.

Optional isLegacyLogAnalyticsRule

isLegacyLogAnalyticsRule: undefined | false | true

True if alert rule is legacy Log Analytic rule NOTE: This property will not be serialized. It can only be populated by the server.

Optional kind

kind: undefined | string

Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. NOTE: This property will not be serialized. It can only be populated by the server.

Optional lastUpdatedTime

lastUpdatedTime: Date

Last time the rule was updated in IS08601 format. NOTE: This property will not be serialized. It can only be populated by the server.

location

location: string

Resource location

Optional name

name: undefined | string

Azure resource name NOTE: This property will not be serialized. It can only be populated by the server.

Optional provisioningState

provisioningState: ProvisioningState

Provisioning state of the scheduled query rule NOTE: This property will not be serialized. It can only be populated by the server.

Optional schedule

schedule: Schedule

Schedule (Frequency, Time Window) for rule. Required for action type - AlertingAction

source

source: Source

Data Source against which rule will Query Data

Optional tags

tags: undefined | {}

Resource tags

Optional type

type: undefined | string

Azure resource type NOTE: This property will not be serialized. It can only be populated by the server.

Generated using TypeDoc