Aspire.Hosting.Nats
Official
📦 Aspire.Hosting.Nats v13.2.0-preview.1.26159.1 4 Functions
1 Types
1 types and 14 members
Types
Functions
function
addNats builder Adds a NATS server resource to the application model.
addNats(name: string, port?: number, userName?: ParameterResource, password?: ParameterResource): NatsServerResource function
withDataBindMount builder Mounts a host directory as the NATS data directory.
withDataBindMount(source: string, isReadOnly?: boolean): NatsServerResource function
withDataVolume builder Adds a persistent data volume to the NATS resource.
withDataVolume(name?: string, isReadOnly?: boolean): NatsServerResource function
withJetStream builder Configures the NATS resource to enable JetStream.
withJetStream(): NatsServerResource