MetricsAdvisorModelFactory.EmailNotificationHook Method

Definition

Initializes a new instance of EmailNotificationHook for mocking purposes.

public static Azure.AI.MetricsAdvisor.Administration.EmailNotificationHook EmailNotificationHook (string id = default, string name = default, string description = default, Uri externalUri = default, System.Collections.Generic.IEnumerable<string> administrators = default, System.Collections.Generic.IEnumerable<string> emailsToAlert = default);
static member EmailNotificationHook : string * string * string * Uri * seq<string> * seq<string> -> Azure.AI.MetricsAdvisor.Administration.EmailNotificationHook
Public Shared Function EmailNotificationHook (Optional id As String = Nothing, Optional name As String = Nothing, Optional description As String = Nothing, Optional externalUri As Uri = Nothing, Optional administrators As IEnumerable(Of String) = Nothing, Optional emailsToAlert As IEnumerable(Of String) = Nothing) As EmailNotificationHook

Parameters

id
String

Sets the Id property.

name
String

Sets the Name property.

description
String

Sets the Description property.

externalUri
Uri

Sets the ExternalUri property.

administrators
IEnumerable<String>

Sets the Administrators property.

emailsToAlert
IEnumerable<String>

Sets the EmailsToAlert property.

Returns

A new instance of EmailNotificationHook for mocking purposes.

Applies to