Share via


MonitorAzureFunctionReceiver(String, ResourceIdentifier, String, Uri) Constructor

Definition

Initializes a new instance of MonitorAzureFunctionReceiver.

public MonitorAzureFunctionReceiver (string name, Azure.Core.ResourceIdentifier functionAppResourceId, string functionName, Uri httpTriggerUri);
new Azure.ResourceManager.Monitor.Models.MonitorAzureFunctionReceiver : string * Azure.Core.ResourceIdentifier * string * Uri -> Azure.ResourceManager.Monitor.Models.MonitorAzureFunctionReceiver
Public Sub New (name As String, functionAppResourceId As ResourceIdentifier, functionName As String, httpTriggerUri As Uri)

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.

Exceptions

name, functionAppResourceId, functionName or httpTriggerUri is null.

Applies to