AzureRedisCacheResource
Classnet10.0
Represents an Azure Cache for Redis resource.
namespace Aspire.Hosting.Azure;
public class AzureRedisCacheResource : Aspire.Hosting.Azure.AzureProvisioningResource, Aspire.Hosting.ApplicationModel.IExpressionValue, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IResourceWithEndpoints, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...}AzureProvisioningResourceIExpressionValueIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithEndpointsIValueProviderIValueWithReferences
9 members
Constructors1
Section titled Constructors Represents an Azure Cache for Redis resource.
Properties6
Section titled PropertiesReferenceExpression Gets the connection string template for the manifest for the Azure Cache for Redis resource.
bool Gets a value indicating whether the resource uses access key authentication.
Methods2
Section titled MethodsProvisionableResource Adds a new
Primitives.ProvisionableResource into infra. The new resource represents a reference to the current Azure.AzureProvisioningResource via https://learn.microsoft.com/azure/azure-resource-manager/bicep/existing-resource. Adds role assignments to this Azure resource.