AlertProcessingRulesOperations interface

Interface representing a AlertProcessingRules operations.

Properties

createOrUpdate

Create or update an alert processing rule.

delete
getByName

Get an alert processing rule by name.

listByResourceGroup

List all alert processing rules in a resource group.

listBySubscription

List all alert processing rules in a subscription.

update

Enable, disable, or update tags for an alert processing rule.

Property Details

createOrUpdate

Create or update an alert processing rule.

createOrUpdate: (resourceGroupName: string, alertProcessingRuleName: string, alertProcessingRule: AlertProcessingRule, options?: AlertProcessingRulesCreateOrUpdateOptionalParams) => Promise<AlertProcessingRule>

Property Value

(resourceGroupName: string, alertProcessingRuleName: string, alertProcessingRule: AlertProcessingRule, options?: AlertProcessingRulesCreateOrUpdateOptionalParams) => Promise<AlertProcessingRule>

delete

delete: (resourceGroupName: string, alertProcessingRuleName: string, options?: AlertProcessingRulesDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, alertProcessingRuleName: string, options?: AlertProcessingRulesDeleteOptionalParams) => Promise<void>

getByName

Get an alert processing rule by name.

getByName: (resourceGroupName: string, alertProcessingRuleName: string, options?: AlertProcessingRulesGetByNameOptionalParams) => Promise<AlertProcessingRule>

Property Value

(resourceGroupName: string, alertProcessingRuleName: string, options?: AlertProcessingRulesGetByNameOptionalParams) => Promise<AlertProcessingRule>

listByResourceGroup

List all alert processing rules in a resource group.

listByResourceGroup: (resourceGroupName: string, options?: AlertProcessingRulesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<AlertProcessingRule, AlertProcessingRule[], PageSettings>

Property Value

(resourceGroupName: string, options?: AlertProcessingRulesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<AlertProcessingRule, AlertProcessingRule[], PageSettings>

listBySubscription

List all alert processing rules in a subscription.

listBySubscription: (options?: AlertProcessingRulesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<AlertProcessingRule, AlertProcessingRule[], PageSettings>

Property Value

(options?: AlertProcessingRulesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<AlertProcessingRule, AlertProcessingRule[], PageSettings>

update

Enable, disable, or update tags for an alert processing rule.

update: (resourceGroupName: string, alertProcessingRuleName: string, alertProcessingRulePatch: PatchObject, options?: AlertProcessingRulesUpdateOptionalParams) => Promise<AlertProcessingRule>

Property Value

(resourceGroupName: string, alertProcessingRuleName: string, alertProcessingRulePatch: PatchObject, options?: AlertProcessingRulesUpdateOptionalParams) => Promise<AlertProcessingRule>