Skip to content
DocsTry Aspire
DocsTry

AzureRedisResource Constructors

ClassConstructors1 member
Represents an Azure Redis resource.
Constructor(RedisResource, Action<AzureResourceInfrastructure>)Section titled Constructor(RedisResource, Action<AzureResourceInfrastructure>)
Represents an Azure Redis resource.
public class AzureRedisResource
{
public AzureRedisResource(
RedisResource innerResource,
Action<AzureResourceInfrastructure> configureInfrastructure)
{
// ...
}
}
innerResourceRedisResourceThe inner resource.
configureInfrastructureAction<AzureResourceInfrastructure>Callback to configure the Azure resources.