共用方式為


WebhookReceiver Constructors

Definition

Overloads

WebhookReceiver()

Initializes a new instance of the WebhookReceiver class.

WebhookReceiver(String, String, Nullable<Boolean>, Nullable<Boolean>, String, String, String)

Initializes a new instance of the WebhookReceiver class.

WebhookReceiver()

Initializes a new instance of the WebhookReceiver class.

public WebhookReceiver ();
Public Sub New ()

Applies to

WebhookReceiver(String, String, Nullable<Boolean>, Nullable<Boolean>, String, String, String)

Initializes a new instance of the WebhookReceiver class.

public WebhookReceiver (string name, string serviceUri, bool? useCommonAlertSchema = default, bool? useAadAuth = default, string objectId = default, string identifierUri = default, string tenantId = default);
new Microsoft.Azure.Management.Monitor.Models.WebhookReceiver : string * string * Nullable<bool> * Nullable<bool> * string * string * string -> Microsoft.Azure.Management.Monitor.Models.WebhookReceiver
Public Sub New (name As String, serviceUri As String, Optional useCommonAlertSchema As Nullable(Of Boolean) = Nothing, Optional useAadAuth As Nullable(Of Boolean) = Nothing, Optional objectId As String = Nothing, Optional identifierUri As String = Nothing, Optional tenantId As String = Nothing)

Parameters

name
String

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

serviceUri
String

The URI where webhooks should be sent.

useCommonAlertSchema
Nullable<Boolean>

Indicates whether to use common alert schema.

useAadAuth
Nullable<Boolean>

Indicates whether or not use AAD authentication.

objectId
String

Indicates the webhook app object Id for aad auth.

identifierUri
String

Indicates the identifier uri for aad auth.

tenantId
String

Indicates the tenant id for aad auth.

Applies to