Compartilhar via


RoutingEndpoints Class

Definition

The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs.

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

Constructors

RoutingEndpoints()

Initializes a new instance of RoutingEndpoints.

Properties

CosmosDBSqlContainers

The list of Cosmos DB container endpoints that IoT hub routes messages to, based on the routing rules.

EventHubs

The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint.

ServiceBusQueues

The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules.

ServiceBusTopics

The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules.

StorageContainers

The list of storage container endpoints that IoT hub routes messages to, based on the routing rules.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RoutingEndpoints>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RoutingEndpoints>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RoutingEndpoints>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RoutingEndpoints>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RoutingEndpoints>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to