Skip to content
DocsTry Aspire
DocsTry

MosquittoServerResource Properties

ClassProperties5 members
A resource that represents a Mosquitto MQTT broker container.
ConnectionStringExpressionSection titled ConnectionStringExpressionReferenceExpression
Gets the connection string expression for the Mosquitto broker in the form of mqtt://host:port, suitable for use by MQTT clients.
public ReferenceExpression ConnectionStringExpression { get; }
HostSection titled HostEndpointReferenceExpression
Gets the host of the primary MQTT endpoint.
public EndpointReferenceExpression Host { get; }
PortSection titled PortEndpointReferenceExpression
Gets the port of the primary MQTT endpoint.
public EndpointReferenceExpression Port { get; }
PrimaryEndpointSection titled PrimaryEndpointEndpointReference
Gets the primary MQTT endpoint for the Mosquitto broker.
public EndpointReference PrimaryEndpoint { get; }
UriExpressionSection titled UriExpressionReferenceExpression
Gets the connection URI expression for the Mosquitto broker.
public ReferenceExpression UriExpression { get; }
Format: mqtt://{host}:{port}.