다음을 통해 공유


MonitorEventHubReceiver Class

Definition

An Event hub receiver.

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

Constructors

MonitorEventHubReceiver(String, String, String, String)

Initializes a new instance of MonitorEventHubReceiver.

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.

Explicit Interface Implementations

IJsonModel<MonitorEventHubReceiver>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MonitorEventHubReceiver>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MonitorEventHubReceiver>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MonitorEventHubReceiver>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MonitorEventHubReceiver>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to