AlertRuleOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<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
|
The name of the resource group. The name is case insensitive. Required. |
|
workspace_name
Required
|
The name of the monitor workspace. Required. |
|
rule_id
Required
|
Alert rule ID. Required. |
|
analytics_rule_run_trigger_parameter
Required
|
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 |
|---|---|