Skip to content
Docs Try Aspire
Docs Try

withDataVolume

Method
📦 Aspire.Hosting.Keycloak v13.4.0-preview.1.26281.18
interface KeycloakResource {
// ... omitted for brevity
withDataVolume(name?: string): KeycloakResource;
}

Signature

method withDataVolume builder
Adds a named volume for the data folder to a Keycloak container resource.
withDataVolume(name?: string): KeycloakResource
name string optional
KeycloakResource

Applies to

This method applies to the following types: