Skip to content
DocsTry Aspire
DocsTry

KeycloakResource.withDataVolume

Method
📦 Aspire.Hosting.Keycloak v13.4.0-preview.1.26281.18
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: