RedisResource
Class net10.0
A resource that represents a Redis resource independent of the hosting model.
namespace Aspire.Hosting.ApplicationModel;
public class RedisResource : Aspire.Hosting.ApplicationModel.ContainerResource, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...} ContainerResourceIManifestExpressionProviderIResourceIResourceWithConnectionStringIValueProviderIValueWithReferences
10 members
Remarks
Section titled Remarks A resource that represents a Redis resource independent of the hosting model.
Constructors2
Section titled ConstructorsRedisResource(string) A resource that represents a Redis resource independent of the hosting model.
RedisResource(string, ParameterResource) Initializes a new instance of the
RedisResource class. Properties7
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Gets the connection string expression for the Redis server.
HostgetEndpointReferenceExpression Gets the host endpoint reference for this resource.
PasswordParametergetParameterResource? Gets the parameter that contains the Redis server password.
PortgetEndpointReferenceExpression Gets the port endpoint reference for this resource.
PrimaryEndpointgetEndpointReference Gets the primary endpoint for the Redis server.
TlsEnabledgetbool Determines whether Tls is enabled for the resource
UriExpressiongetReferenceExpression Gets the connection URI expression for the Redis server.