Share via


IncidentReceiver Constructor

Definition

Initializes a new instance of IncidentReceiver.

public IncidentReceiver(string name, Azure.ResourceManager.Monitor.Models.IncidentServiceConnection connection, Azure.ResourceManager.Monitor.Models.IncidentManagementService incidentManagementService, System.Collections.Generic.IDictionary<string,string> mappings);
new Azure.ResourceManager.Monitor.Models.IncidentReceiver : string * Azure.ResourceManager.Monitor.Models.IncidentServiceConnection * Azure.ResourceManager.Monitor.Models.IncidentManagementService * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.Monitor.Models.IncidentReceiver
Public Sub New (name As String, connection As IncidentServiceConnection, incidentManagementService As IncidentManagementService, mappings As IDictionary(Of String, String))

Parameters

name
String

The name of the Incident receiver. Names must be unique across all receivers within an action group.

connection
IncidentServiceConnection

The incident service connection.

incidentManagementService
IncidentManagementService

The incident management service type.

mappings
IDictionary<String,String>

Field mappings for the incident service.

Exceptions

name, connection or mappings is null.

Applies to