Freigeben über


BrokerDiagnostics Class

Definition

Broker Diagnostic Setting properties.

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

Constructors

BrokerDiagnostics()

Initializes a new instance of BrokerDiagnostics.

Properties

LogsLevel

The log level. Examples - 'debug', 'info', 'warn', 'error', 'trace'.

MetricsPrometheusPort

The prometheus port to expose the metrics.

SelfCheck

The self check properties.

Traces

The trace properties.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BrokerDiagnostics>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BrokerDiagnostics>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BrokerDiagnostics>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BrokerDiagnostics>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BrokerDiagnostics>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to