AlertRuleOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

SecurityInsightsMgmtClient's

<xref:alert_rule> attribute.

Constructor

AlertRuleOperations(*args, **kwargs)

Methods

begin_trigger_rule_run

triggers analytics rule run.

begin_trigger_rule_run

triggers analytics rule run.

begin_trigger_rule_run(resource_group_name: str, workspace_name: str, rule_id: str, analytics_rule_run_trigger_parameter: _models.AnalyticsRuleRunTrigger, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.AlertRule]

Parameters

Name Description
resource_group_name
Required
str

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

workspace_name
Required
str

The name of the monitor workspace. Required.

rule_id
Required
str

Alert rule ID. Required.

analytics_rule_run_trigger_parameter
Required
AnalyticsRuleRunTrigger or <xref:JSON> or IO[bytes]

The content of the action request. Is one of the following types: AnalyticsRuleRunTrigger, JSON, IO[bytes] Required.

Returns

Type Description

An instance of LROPoller that returns AlertRule. The AlertRule is compatible with MutableMapping

Exceptions

Type Description