MosquittoServerResource
Classnet10.0
A resource that represents a Mosquitto MQTT broker container.
namespace Aspire.Hosting.ApplicationModel;
public class MosquittoServerResource : Aspire.Hosting.ApplicationModel.ContainerResource, Aspire.Hosting.ApplicationModel.IExpressionValue, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...}ContainerResourceIExpressionValueIManifestExpressionProviderIResourceIResourceWithConnectionStringIValueProviderIValueWithReferences
6 members
Remarks
Section titled Remarks Mosquitto is an open source MQTT message broker. The
MosquittoServerResource.ConnectionStringExpression returns a mqtt://host:port URI that MQTT clients use to connect. Constructors1
Section titled ConstructorsProperties5
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Gets the connection string expression for the Mosquitto broker in the form of
mqtt://host:port, suitable for use by MQTT clients. HostgetEndpointReferenceExpression Gets the host of the primary MQTT endpoint.
PortgetEndpointReferenceExpression Gets the port of the primary MQTT endpoint.
PrimaryEndpointgetEndpointReference Gets the primary MQTT endpoint for the Mosquitto broker.
UriExpressiongetReferenceExpression Gets the connection URI expression for the Mosquitto broker.