MonitorAlertEventSubscriptionDestination Class

Information about the Monitor Alert destination for an event subscription.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.eventgrid.models._models_py3.EventSubscriptionDestination
MonitorAlertEventSubscriptionDestination

Constructor

MonitorAlertEventSubscriptionDestination(*, severity: str | _models.MonitorAlertSeverity | None = None, description: str | None = None, action_groups: List[str] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
severity

The severity that will be attached to every Alert fired through this event subscription. This field must be provided. Known values are: "Sev0", "Sev1", "Sev2", "Sev3", and "Sev4".

description
str

The description that will be attached to every Alert fired through this event subscription.

action_groups

The list of ARM Ids of Action Groups that will be triggered on every Alert fired through this event subscription. Each resource ARM Id should follow this pattern: /subscriptions/{AzureSubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Insights/actionGroups/{ActionGroupName}. # pylint: disable=line-too-long

Variables

Name Description
endpoint_type

Type of the endpoint for the event subscription destination. Required. Known values are: "WebHook", "EventHub", "StorageQueue", "HybridConnection", "ServiceBusQueue", "ServiceBusTopic", "AzureFunction", "PartnerDestination", "MonitorAlert", and "NamespaceTopic".

severity

The severity that will be attached to every Alert fired through this event subscription. This field must be provided. Known values are: "Sev0", "Sev1", "Sev2", "Sev3", and "Sev4".

description
str

The description that will be attached to every Alert fired through this event subscription.

action_groups

The list of ARM Ids of Action Groups that will be triggered on every Alert fired through this event subscription. Each resource ARM Id should follow this pattern: /subscriptions/{AzureSubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Insights/actionGroups/{ActionGroupName}. # pylint: disable=line-too-long