Language

ArmMonitorModelFactory.MonitorWebhookReceiver Method

Definition

A webhook receiver.

public static Azure.ResourceManager.Monitor.Models.MonitorWebhookReceiver MonitorWebhookReceiver(string name = default, Uri serviceUri = default, bool? useCommonAlertSchema = default, bool? useAadAuth = default, string objectId = default, Uri identifierUri = default, Guid? tenantId = default, string managedIdentity = default);
static member MonitorWebhookReceiver : string * Uri * Nullable<bool> * Nullable<bool> * string * Uri * Nullable<Guid> * string -> Azure.ResourceManager.Monitor.Models.MonitorWebhookReceiver
Public Shared Function MonitorWebhookReceiver (Optional name As String = Nothing, Optional serviceUri As Uri = Nothing, Optional useCommonAlertSchema As Nullable(Of Boolean) = Nothing, Optional useAadAuth As Nullable(Of Boolean) = Nothing, Optional objectId As String = Nothing, Optional identifierUri As Uri = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional managedIdentity As String = Nothing) As MonitorWebhookReceiver

Parameters

name
String

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

serviceUri
Uri

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
Uri

Indicates the identifier uri for aad auth.

tenantId
Nullable<Guid>

Indicates the tenant id for aad auth.

managedIdentity
String

The principal id of the managed identity. The value can be "None", "SystemAssigned".

Returns

A new MonitorWebhookReceiver instance for mocking.

Applies to