ScheduledQueryRules interface

Interface representing a ScheduledQueryRules.

Method Details

createOrUpdate(string, string, LogSearchRuleResource, ScheduledQueryRulesCreateOrUpdateOptionalParams)

Creates or updates an log search rule.

function createOrUpdate(resourceGroupName: string, ruleName: string, parameters: LogSearchRuleResource, options?: ScheduledQueryRulesCreateOrUpdateOptionalParams): Promise<LogSearchRuleResource>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

ruleName

string

The name of the rule.

parameters
LogSearchRuleResource

The parameters of the rule to create or update.

options
ScheduledQueryRulesCreateOrUpdateOptionalParams

The options parameters.

Returns

delete(string, string, ScheduledQueryRulesDeleteOptionalParams)

Deletes a Log Search rule

function delete(resourceGroupName: string, ruleName: string, options?: ScheduledQueryRulesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

ruleName

string

The name of the rule.

options
ScheduledQueryRulesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, ScheduledQueryRulesGetOptionalParams)

Gets an Log Search rule

function get(resourceGroupName: string, ruleName: string, options?: ScheduledQueryRulesGetOptionalParams): Promise<LogSearchRuleResource>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

ruleName

string

The name of the rule.

options
ScheduledQueryRulesGetOptionalParams

The options parameters.

Returns

listByResourceGroup(string, ScheduledQueryRulesListByResourceGroupOptionalParams)

List the Log Search rules within a resource group.

function listByResourceGroup(resourceGroupName: string, options?: ScheduledQueryRulesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<LogSearchRuleResource, LogSearchRuleResource[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

Returns

listBySubscription(ScheduledQueryRulesListBySubscriptionOptionalParams)

List the Log Search rules within a subscription group.

function listBySubscription(options?: ScheduledQueryRulesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<LogSearchRuleResource, LogSearchRuleResource[], PageSettings>

Parameters

options
ScheduledQueryRulesListBySubscriptionOptionalParams

The options parameters.

Returns

update(string, string, LogSearchRuleResourcePatch, ScheduledQueryRulesUpdateOptionalParams)

Update log search Rule.

function update(resourceGroupName: string, ruleName: string, parameters: LogSearchRuleResourcePatch, options?: ScheduledQueryRulesUpdateOptionalParams): Promise<LogSearchRuleResource>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

ruleName

string

The name of the rule.

parameters
LogSearchRuleResourcePatch

The parameters of the rule to update.

options
ScheduledQueryRulesUpdateOptionalParams

The options parameters.

Returns