Skip to content
DocsTry Aspire
DocsTry

withDataVolume

Method
📦 Aspire.Hosting.Keycloak v13.5.3-preview.1.26425.3
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

Applies to

This method applies to the following types: