共用方式為


IotHubEnrichmentProperties Class

Definition

The properties of an enrichment that your IoT hub applies to messages delivered to endpoints.

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

Constructors

IotHubEnrichmentProperties(String, String, IEnumerable<String>)

Initializes a new instance of IotHubEnrichmentProperties.

Properties

EndpointNames

The list of endpoints for which the enrichment is applied to the message.

Key

The key or name for the enrichment property.

Value

The value for the enrichment property.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<IotHubEnrichmentProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<IotHubEnrichmentProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<IotHubEnrichmentProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<IotHubEnrichmentProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<IotHubEnrichmentProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to