AkriConnectorsMqttConnectionConfiguration Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
AkriConnectorsMqttConnectionConfiguration properties.
public class AkriConnectorsMqttConnectionConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.IotOperations.Models.AkriConnectorsMqttConnectionConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.IotOperations.Models.AkriConnectorsMqttConnectionConfiguration>
type AkriConnectorsMqttConnectionConfiguration = class
interface IJsonModel<AkriConnectorsMqttConnectionConfiguration>
interface IPersistableModel<AkriConnectorsMqttConnectionConfiguration>
Public Class AkriConnectorsMqttConnectionConfiguration
Implements IJsonModel(Of AkriConnectorsMqttConnectionConfiguration), IPersistableModel(Of AkriConnectorsMqttConnectionConfiguration)
- Inheritance
-
AkriConnectorsMqttConnectionConfiguration
- Implements
Constructors
| Name | Description |
|---|---|
| AkriConnectorsMqttConnectionConfiguration() |
Initializes a new instance of AkriConnectorsMqttConnectionConfiguration. |
Properties
| Name | Description |
|---|---|
| Authentication |
Authentication properties. Please note AkriConnectorsMqttAuthentication is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AkriConnectorsServiceAccountAuthentication. |
| Host |
Host of the Broker in the form of <hostname>:<port>. |
| KeepAliveSeconds |
KeepAlive for connection in seconds. |
| MaxInflightMessages |
The max number of messages to keep in flight. For subscribe, this is the receive maximum. For publish, this is the maximum number of messages to send before waiting for an ack. |
| Protocol |
The protocol to use for the connection. Currently only |
| SessionExpirySeconds |
Session expiry in seconds. |
| Tls |
TLS configuration. |
Methods
| Name | Description |
|---|---|
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<AkriConnectorsMqttConnectionConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<AkriConnectorsMqttConnectionConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<AkriConnectorsMqttConnectionConfiguration>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<AkriConnectorsMqttConnectionConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<AkriConnectorsMqttConnectionConfiguration>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |