你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BrokerListenerPort Class

Definition

Defines a TCP port on which a BrokerListener listens.

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

Constructors

BrokerListenerPort(Int32)

Initializes a new instance of BrokerListenerPort.

Properties

AuthenticationRef

Reference to client authentication settings. Omit to disable authentication.

AuthorizationRef

Reference to client authorization settings. Omit to disable authorization.

NodePort

Kubernetes node port. Only relevant when this port is associated with a NodePort listener.

Port

TCP port for accepting client connections.

Protocol

Protocol to use for client connections.

Tls

TLS server certificate settings for this port. Omit to disable TLS.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BrokerListenerPort>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BrokerListenerPort>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BrokerListenerPort>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BrokerListenerPort>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BrokerListenerPort>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to