withDataVolume

Method
📦 Aspire.Hosting.Keycloak v17.0.0-preview.1.26567.5
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
namestringoptionalThe name of the volume. Defaults to an auto-generated name based on the application and resource names.
KeycloakResource

Applies to

This method applies to the following types: