Aspire.Hosting.Valkey
Official
📦 Aspire.Hosting.Valkeyv13.4.04Functions
1Types
1 types and 6 members
Types
Functions
method
addValkeybuilderAdds a Valkey container to the application model.
addValkey(name: string, port?: number, password?: ParameterResource): ValkeyResourcemethod
withDataBindMountbuilderAdds a bind mount for the data folder to a Valkey container resource and enables Valkey persistence.
withDataBindMount(source: string, isReadOnly?: boolean): ValkeyResourcemethod
withDataVolumebuilderAdds a named volume for the data folder to a Valkey container resource and enables Valkey persistence.
withDataVolume(name?: string, isReadOnly?: boolean): ValkeyResourcemethod
withPersistencebuilderConfigures a Valkey container resource for persistence.
withPersistence(interval?: timespan, keysChangedThreshold?: number): ValkeyResource