Share via


MonitorWebhookReceiver Class

Definition

A webhook receiver.

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

Constructors

MonitorWebhookReceiver(String, Uri)

Initializes a new instance of MonitorWebhookReceiver.

Properties

IdentifierUri

Indicates the identifier uri for aad auth.

Name

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

ObjectId

Indicates the webhook app object Id for aad auth.

ServiceUri

The URI where webhooks should be sent.

TenantId

Indicates the tenant id for aad auth.

UseAadAuth

Indicates whether or not use AAD authentication.

UseCommonAlertSchema

Indicates whether to use common alert schema.

Explicit Interface Implementations

IJsonModel<MonitorWebhookReceiver>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MonitorWebhookReceiver>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MonitorWebhookReceiver>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MonitorWebhookReceiver>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MonitorWebhookReceiver>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to