LogSearchRuleResourceInner Class

Definition

The Log Search Rule resource.

public class LogSearchRuleResourceInner implements Resource
Inheritance
java.lang.Object
LogSearchRuleResourceInner

Inherited Members

Methods

action()

Get action needs to be taken on rule execution.

description()

Get the description of the Log Search rule.

enabled()

Get the flag which indicates whether the Log Search rule is enabled. Value should be true or false. Possible values include: 'true', 'false'.

lastUpdatedTime()

Get last time the rule was updated in IS08601 format.

provisioningState()

Get provisioning state of the scheduled query rule. Possible values include: 'Succeeded', 'Deploying', 'Canceled', 'Failed'.

schedule()

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

source()

Get data Source against which rule will Query Data.

withAction(Action action)

Set action needs to be taken on rule execution.

withDescription(String description)

Set the description of the Log Search rule.

withEnabled(Enabled enabled)

Set the flag which indicates whether the Log Search rule is enabled. Value should be true or false. Possible values include: 'true', 'false'.

withSchedule(Schedule schedule)

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

withSource(Source source)

Set data Source against which rule will Query Data.

Applies to