Sdílet prostřednictvím


EventHubReceiver Class

Definition

An Event hub receiver.

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

Constructors

EventHubReceiver()

Creates an new EventHubReceiver instance.

Properties

EventHubName

The name of the specific Event Hub queue

EventHubNameSpace

The Event Hub namespace

Name

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

SubscriptionId

The Id for the subscription containing this event hub

TenantId

The tenant Id for the subscription containing this event hub

UseCommonAlertSchema

Indicates whether to use common alert schema.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EventHubReceiver.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EventHubReceiver.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EventHubReceiver into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to