TestsNotificationRule Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of TestsNotificationRule.
public TestsNotificationRule(string displayName, System.Collections.Generic.IEnumerable<string> actionGroupIds, System.Collections.Generic.IDictionary<string,Azure.Developer.LoadTesting.TestsNotificationEventFilter> eventFilters);
new Azure.Developer.LoadTesting.TestsNotificationRule : string * seq<string> * System.Collections.Generic.IDictionary<string, Azure.Developer.LoadTesting.TestsNotificationEventFilter> -> Azure.Developer.LoadTesting.TestsNotificationRule
Public Sub New (displayName As String, actionGroupIds As IEnumerable(Of String), eventFilters As IDictionary(Of String, TestsNotificationEventFilter))
Parameters
- displayName
- String
The name of the notification rule.
- actionGroupIds
- IEnumerable<String>
The action groups to notify.
- eventFilters
- IDictionary<String,TestsNotificationEventFilter>
The event to receive notifications for along with filtering conditions. Key is a user-assigned identifier for the event filter.
Exceptions
displayName, actionGroupIds or eventFilters is null.