AlertsSuppressionRules interface

Interface representing a AlertsSuppressionRules.

Methods

delete(string, AlertsSuppressionRulesDeleteOptionalParams)

Delete dismiss alert rule for this subscription.

get(string, AlertsSuppressionRulesGetOptionalParams)

Get dismiss rule, with name: {alertsSuppressionRuleName}, for the given subscription

list(AlertsSuppressionRulesListOptionalParams)

List of all the dismiss rules for the given subscription

update(string, AlertsSuppressionRule, AlertsSuppressionRulesUpdateOptionalParams)

Update existing rule or create new rule if it doesn't exist

Method Details

delete(string, AlertsSuppressionRulesDeleteOptionalParams)

Delete dismiss alert rule for this subscription.

function delete(alertsSuppressionRuleName: string, options?: AlertsSuppressionRulesDeleteOptionalParams): Promise<void>

Parameters

alertsSuppressionRuleName

string

The unique name of the suppression alert rule

options
AlertsSuppressionRulesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, AlertsSuppressionRulesGetOptionalParams)

Get dismiss rule, with name: {alertsSuppressionRuleName}, for the given subscription

function get(alertsSuppressionRuleName: string, options?: AlertsSuppressionRulesGetOptionalParams): Promise<AlertsSuppressionRule>

Parameters

alertsSuppressionRuleName

string

The unique name of the suppression alert rule

options
AlertsSuppressionRulesGetOptionalParams

The options parameters.

Returns

list(AlertsSuppressionRulesListOptionalParams)

List of all the dismiss rules for the given subscription

function list(options?: AlertsSuppressionRulesListOptionalParams): PagedAsyncIterableIterator<AlertsSuppressionRule, AlertsSuppressionRule[], PageSettings>

Parameters

options
AlertsSuppressionRulesListOptionalParams

The options parameters.

Returns

update(string, AlertsSuppressionRule, AlertsSuppressionRulesUpdateOptionalParams)

Update existing rule or create new rule if it doesn't exist

function update(alertsSuppressionRuleName: string, alertsSuppressionRule: AlertsSuppressionRule, options?: AlertsSuppressionRulesUpdateOptionalParams): Promise<AlertsSuppressionRule>

Parameters

alertsSuppressionRuleName

string

The unique name of the suppression alert rule

alertsSuppressionRule
AlertsSuppressionRule

Suppression rule object

options
AlertsSuppressionRulesUpdateOptionalParams

The options parameters.

Returns