ValkeyBuilderExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides extension methods for adding Valkey resources to the application model.
public static class ValkeyBuilderExtensions
type ValkeyBuilderExtensions = class
Public Module ValkeyBuilderExtensions
- Inheritance
-
ValkeyBuilderExtensions
Methods
AddValkey(IDistributedApplicationBuilder, String, Nullable<Int32>) |
Adds a Valkey container to the application model. |
WithDataBindMount(IResourceBuilder<ValkeyResource>, String, Boolean) |
Adds a bind mount for the data folder to a Valkey container resource and enables Valkey persistence. |
WithDataVolume(IResourceBuilder<ValkeyResource>, String, Boolean) |
Adds a named volume for the data folder to a Valkey container resource and enables Valkey persistence. |
WithPersistence(IResourceBuilder<ValkeyResource>, Nullable<TimeSpan>, Int64) |
Configures a Valkey container resource for persistence. |