Partager via


AzureFunctionReceiver Class

Definition

An azure function receiver.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.AzureFunctionReceiverTypeConverter))]
public class AzureFunctionReceiver : Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IActionGroupReceiver, Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IAzureFunctionReceiver
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.AzureFunctionReceiverTypeConverter))>]
type AzureFunctionReceiver = class
    interface IActionGroupReceiver
    interface IAzureFunctionReceiver
    interface IJsonSerializable
Public Class AzureFunctionReceiver
Implements IActionGroupReceiver, IAzureFunctionReceiver
Inheritance
AzureFunctionReceiver
Attributes
Implements

Constructors

AzureFunctionReceiver()

Creates an new AzureFunctionReceiver instance.

Properties

FunctionAppResourceId

The azure resource id of the function app.

FunctionName

The function name in the function app.

HttpTriggerUrl

The http trigger url where http request sent to.

Name

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

UseCommonAlertSchema

Indicates whether to use common alert schema.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AzureFunctionReceiver.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AzureFunctionReceiver.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.ActionGroup.Models.IAzureFunctionReceiver.

FromJsonString(String)

Creates a new instance of AzureFunctionReceiver, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AzureFunctionReceiver into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to