public class LogSearchRuleResourceInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
LogSearchRuleResourceInner() |
| Modifier and Type | Method and Description |
|---|---|
Action |
action()
Get the action property: Action needs to be taken on rule execution.
|
String |
description()
Get the description property: The description of the Log Search rule.
|
Enabled |
enabled()
Get the enabled property: The flag which indicates whether the Log Search rule is enabled.
|
OffsetDateTime |
lastUpdatedTime()
Get the lastUpdatedTime property: Last time the rule was updated in IS08601 format.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: Provisioning state of the scheduled query rule.
|
Schedule |
schedule()
Get the schedule property: Schedule (Frequency, Time Window) for rule.
|
Source |
source()
Get the source property: Data Source against which rule will Query Data.
|
void |
validate()
Validates the instance.
|
LogSearchRuleResourceInner |
withAction(Action action)
Set the action property: Action needs to be taken on rule execution.
|
LogSearchRuleResourceInner |
withDescription(String description)
Set the description property: The description of the Log Search rule.
|
LogSearchRuleResourceInner |
withEnabled(Enabled enabled)
Set the enabled property: The flag which indicates whether the Log Search rule is enabled.
|
LogSearchRuleResourceInner |
withSchedule(Schedule schedule)
Set the schedule property: Schedule (Frequency, Time Window) for rule.
|
LogSearchRuleResourceInner |
withSource(Source source)
Set the source property: Data Source against which rule will Query Data.
|
public String description()
public LogSearchRuleResourceInner withDescription(String description)
description - the description value to set.public Enabled enabled()
public LogSearchRuleResourceInner withEnabled(Enabled enabled)
enabled - the enabled value to set.public OffsetDateTime lastUpdatedTime()
public ProvisioningState provisioningState()
public Source source()
public LogSearchRuleResourceInner withSource(Source source)
source - the source value to set.public Schedule schedule()
public LogSearchRuleResourceInner withSchedule(Schedule schedule)
schedule - the schedule value to set.public Action action()
public LogSearchRuleResourceInner withAction(Action action)
action - the action value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.