MetricsAdvisorModelFactory.WebNotificationHook Method

Definition

Initializes a new instance of WebNotificationHook for mocking purposes.

public static Azure.AI.MetricsAdvisor.Administration.WebNotificationHook WebNotificationHook (string id = default, string name = default, string description = default, Uri externalUri = default, System.Collections.Generic.IEnumerable<string> administrators = default, Uri endpoint = default, string username = default, string password = default, System.Collections.Generic.IDictionary<string,string> headers = default, string certificateKey = default, string certificatePassword = default);
static member WebNotificationHook : string * string * string * Uri * seq<string> * Uri * string * string * System.Collections.Generic.IDictionary<string, string> * string * string -> Azure.AI.MetricsAdvisor.Administration.WebNotificationHook
Public Shared Function WebNotificationHook (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 endpoint As Uri = Nothing, Optional username As String = Nothing, Optional password As String = Nothing, Optional headers As IDictionary(Of String, String) = Nothing, Optional certificateKey As String = Nothing, Optional certificatePassword As String = Nothing) As WebNotificationHook

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.

endpoint
Uri

Sets the Endpoint property.

username
String

Sets the Username property.

password
String

Sets the Password property.

headers
IDictionary<String,String>

Sets the Headers property.

certificateKey
String

Sets the CertificateKey property.

certificatePassword
String

Sets the CertificatePassword property.

Returns

A new instance of WebNotificationHook for mocking purposes.

Applies to