ArmMonitorModelFactory.MonitorAzureFunctionReceiver Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- managedIdentity
- String
The principal id of the managed identity. The value can be "None", "SystemAssigned".
Returns
A new MonitorAzureFunctionReceiver instance for mocking.