次の方法で共有


EventHubEndpoint Class

Definition

An Event Hub endpoint. The managed identity of Web PubSub service must be enabled, and the identity should have the "Azure Event Hubs Data sender" role to access Event Hub.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.EventHubEndpointTypeConverter))]
public class EventHubEndpoint : Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IEventHubEndpoint, Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.EventHubEndpointTypeConverter))>]
type EventHubEndpoint = class
    interface IEventHubEndpoint
    interface IJsonSerializable
    interface IEventListenerEndpoint
    interface IValidates
Public Class EventHubEndpoint
Implements IEventHubEndpoint, IValidates
Inheritance
EventHubEndpoint
Attributes
Implements

Constructors

EventHubEndpoint()

Creates an new EventHubEndpoint instance.

Properties

EventHubName

The name of the Event Hub.

FullyQualifiedNamespace

The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".

Type

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EventHubEndpoint.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EventHubEndpoint.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IEventHubEndpoint.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EventHubEndpoint into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to