Partilhar via


EventHubCompatibleEndpointProperties Class

Definition

The properties of the provisioned Event Hub-compatible endpoint used by the IoT hub.

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

Constructors

EventHubCompatibleEndpointProperties()

Initializes a new instance of EventHubCompatibleEndpointProperties.

Properties

Endpoint

The Event Hub-compatible endpoint.

EventHubCompatibleName

The Event Hub-compatible name.

PartitionCount

The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages.

PartitionIds

The partition ids in the Event Hub-compatible endpoint.

RetentionTimeInDays

The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<EventHubCompatibleEndpointProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EventHubCompatibleEndpointProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EventHubCompatibleEndpointProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EventHubCompatibleEndpointProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EventHubCompatibleEndpointProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to