Skip to content
Docs Try Aspire

AzureRedisCacheResource Constructors

Class Constructors 1 member
Represents an Azure Cache for Redis resource.
Constructor(string, Action<AzureResourceInfrastructure>) Section titled Constructor(string, Action<AzureResourceInfrastructure>)
Represents an Azure Cache for Redis resource.
public class AzureRedisCacheResource
{
public AzureRedisCacheResource(
string name,
Action<AzureResourceInfrastructure> configureInfrastructure)
{
// ...
}
}
name string The name of the resource.
configureInfrastructure Action<AzureResourceInfrastructure> Callback to configure the Azure resources.