Skip to content
DocsTry Aspire
DocsTry

AzureManagedRedisResource Constructors

ClassConstructors1 member
Represents an Azure Managed Redis resource.
Constructor(string, Action<AzureResourceInfrastructure>)Section titled Constructor(string, Action<AzureResourceInfrastructure>)
Represents an Azure Managed Redis resource.
public class AzureManagedRedisResource
{
public AzureManagedRedisResource(
string name,
Action<AzureResourceInfrastructure> configureInfrastructure)
{
// ...
}
}
namestringThe name of the resource.
configureInfrastructureAction<AzureResourceInfrastructure>Callback to configure the Azure resources.