AzureRedisCacheResource Properties
Class Properties 6 members
Represents an Azure Cache for Redis resource.
public override ResourceAnnotationCollection Annotations { get; } Gets the connection string template for the manifest for the Azure Cache for Redis resource.
public ReferenceExpression ConnectionStringExpression { get; } Gets the host name for the Redis server.
public ReferenceExpression HostName { get; }Remarks
In container mode, resolves to the container's primary endpoint host and port. In Azure mode, resolves to the Azure Redis server's hostname.
Gets the "name" output reference for the resource.
public BicepOutputReference NameOutputReference { get; } Gets the password for the Redis server when running as a container.
public ReferenceExpression? Password { get; }Remarks
This property returns null when running in Azure mode, as Redis access is handled via connection strings. When running as a container, it resolves to the password parameter value if one exists.
Gets a value indicating whether the resource uses access key authentication.
public bool UseAccessKeyAuthentication { get; }