你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WebhookReceiver Class

Definition

A webhook receiver.

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

Constructors

WebhookReceiver()

Creates an new WebhookReceiver instance.

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of WebhookReceiver.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of WebhookReceiver.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of WebhookReceiver into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to