ScheduledQueryRules interface
Interface representing a ScheduledQueryRules.
Methods
create |
Creates or updates an log search rule. |
delete(string, string, Scheduled |
Deletes a Log Search rule |
get(string, string, Scheduled |
Gets an Log Search rule |
list |
List the Log Search rules within a resource group. |
list |
List the Log Search rules within a subscription group. |
update(string, string, Log |
Update log search Rule. |
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.
The options parameters.
Returns
Promise<LogSearchRuleResource>
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.
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.
The options parameters.
Returns
Promise<LogSearchRuleResource>
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.
The options parameters.
Returns
listBySubscription(ScheduledQueryRulesListBySubscriptionOptionalParams)
List the Log Search rules within a subscription group.
function listBySubscription(options?: ScheduledQueryRulesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<LogSearchRuleResource, LogSearchRuleResource[], PageSettings>
Parameters
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.
The options parameters.
Returns
Promise<LogSearchRuleResource>