Skip to content
DocsTry Aspire
DocsTry

KeycloakResource.withDataVolume

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

Signature

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

Defined on

This method is defined on the following type: