Condividi tramite


MonitorAzureFunctionReceiver Class

Definition

An azure function receiver.

public class MonitorAzureFunctionReceiver : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.MonitorAzureFunctionReceiver>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.MonitorAzureFunctionReceiver>
type MonitorAzureFunctionReceiver = class
    interface IJsonModel<MonitorAzureFunctionReceiver>
    interface IPersistableModel<MonitorAzureFunctionReceiver>
Public Class MonitorAzureFunctionReceiver
Implements IJsonModel(Of MonitorAzureFunctionReceiver), IPersistableModel(Of MonitorAzureFunctionReceiver)
Inheritance
MonitorAzureFunctionReceiver
Implements

Constructors

MonitorAzureFunctionReceiver(String, ResourceIdentifier, String, Uri)

Initializes a new instance of MonitorAzureFunctionReceiver.

Properties

FunctionAppResourceId

The azure resource id of the function app.

FunctionName

The function name in the function app.

HttpTriggerUri

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.

Explicit Interface Implementations

IJsonModel<MonitorAzureFunctionReceiver>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MonitorAzureFunctionReceiver>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MonitorAzureFunctionReceiver>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MonitorAzureFunctionReceiver>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MonitorAzureFunctionReceiver>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to