Language

ArmMonitorModelFactory.MonitorAzureFunctionReceiver Method

Definition

An azure function receiver.

public static Azure.ResourceManager.Monitor.Models.MonitorAzureFunctionReceiver MonitorAzureFunctionReceiver(string name = default, Azure.Core.ResourceIdentifier functionAppResourceId = default, string functionName = default, Uri httpTriggerUri = default, bool? useCommonAlertSchema = default, string managedIdentity = default);
static member MonitorAzureFunctionReceiver : string * Azure.Core.ResourceIdentifier * string * Uri * Nullable<bool> * string -> Azure.ResourceManager.Monitor.Models.MonitorAzureFunctionReceiver
Public Shared Function MonitorAzureFunctionReceiver (Optional name As String = Nothing, Optional functionAppResourceId As ResourceIdentifier = Nothing, Optional functionName As String = Nothing, Optional httpTriggerUri As Uri = Nothing, Optional useCommonAlertSchema As Nullable(Of Boolean) = Nothing, Optional managedIdentity As String = Nothing) As MonitorAzureFunctionReceiver

Parameters

name
String

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

functionAppResourceId
ResourceIdentifier

The azure resource id of the function app.

functionName
String

The function name in the function app.

httpTriggerUri
Uri

The http trigger url where http request sent to.

useCommonAlertSchema
Nullable<Boolean>

Indicates whether to use common alert schema.

managedIdentity
String

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

Returns

A new MonitorAzureFunctionReceiver instance for mocking.

Applies to