NatsServerResource
Class net10.0
A resource that represents a NATS server container.
namespace Aspire.Hosting.ApplicationModel;
public class NatsServerResource : Aspire.Hosting.ApplicationModel.ContainerResource, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...} ContainerResourceIManifestExpressionProviderIResourceIResourceWithConnectionStringIValueProviderIValueWithReferences
10 members
Constructors2
Section titled ConstructorsNatsServerResource(string) A resource that represents a NATS server container.
NatsServerResource(string, ParameterResource?, ParameterResource?) Initializes a new instance of the
NatsServerResource class. Properties8
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Gets the connection string expression for the NATS server.
HostgetEndpointReferenceExpression Gets the host endpoint reference for this resource.
PasswordParameterget; setParameterResource? Gets or sets the password for the NATS server.
PortgetEndpointReferenceExpression Gets the port endpoint reference for this resource.
PrimaryEndpointgetEndpointReference Gets the primary endpoint for the NATS server.
UriExpressiongetReferenceExpression Gets the connection URI expression for the NATS server.
UserNameParameterget; setParameterResource? Gets or sets the user name for the NATS server.
UserNameReferencegetReferenceExpression Gets a reference to the user name for the NATS server.