13 references to WithDataVolume
Aspire.Hosting.Redis (1)
RedisBuilderExtensions.cs (1)
419/// or <see cref="WithDataVolume(IResourceBuilder{RedisResource}, string?, bool)"/> to persist Redis data across sessions with custom persistence configuration, e.g.:
Aspire.Hosting.Redis.Tests (8)
AddRedisTests.cs (5)
262redis.WithDataVolume(isReadOnly: isReadOnly.Value); 266redis.WithDataVolume(); 307.WithDataVolume(); 326.WithDataVolume(isReadOnly: true); 369.WithDataVolume()
RedisFunctionalTests.cs (2)
303redis1.WithDataVolume(volumeName); 342var redis2 = builder2.AddRedis("redis").WithDataVolume(volumeName);
RedisPublicApiTests.cs (1)
89var action = () => builder.WithDataVolume();
Aspire.Hosting.Tests (1)
Schema\SchemaTests.cs (1)
94builder.AddRedis("redis").WithDataVolume();
AzureContainerApps.AppHost (1)
Program.cs (1)
17.WithDataVolume();
Redis.AppHost (1)
Program.cs (1)
4.WithDataVolume()
TestShop.AppHost (1)
Program.cs (1)
9.WithDataVolume();