RedisBuilderExtensions.WithRedisCommander Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures a container resource for Redis Commander which is pre-configured to connect to the RedisResource that this method is used on.
public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.RedisResource> WithRedisCommander (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.RedisResource> builder, Action<Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Redis.RedisCommanderResource>>? configureContainer = default, string? containerName = default);
static member WithRedisCommander : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.RedisResource> * Action<Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Redis.RedisCommanderResource>> * string -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.RedisResource>
<Extension()>
Public Function WithRedisCommander (builder As IResourceBuilder(Of RedisResource), Optional configureContainer As Action(Of IResourceBuilder(Of RedisCommanderResource)) = Nothing, Optional containerName As String = Nothing) As IResourceBuilder(Of RedisResource)
Parameters
- builder
- IResourceBuilder<RedisResource>
The IResourceBuilder<T> for the RedisResource.
- configureContainer
- Action<IResourceBuilder<RedisCommanderResource>>
Configuration callback for Redis Commander container resource.
- containerName
- String
Override the container name used for Redis Commander.
Returns
Remarks
This version of the package defaults to the tag of the container image.