ValkeyResource
Class net10.0
A resource that represents a Valkey resource independent of the hosting model.
namespace Aspire.Hosting.ApplicationModel;
public class ValkeyResource : 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
8 members
Constructors2
Section titled ConstructorsValkeyResource(string) A resource that represents a Valkey resource independent of the hosting model.
ValkeyResource(string, ParameterResource) Initializes a new instance of the
ValkeyResource class. Properties6
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Gets the connection string expression for the Valkey server.
HostgetEndpointReferenceExpression Gets the host endpoint reference for this resource.
PasswordParametergetParameterResource? Gets the parameter that contains the Valkey server password.
PortgetEndpointReferenceExpression Gets the port endpoint reference for this resource.
PrimaryEndpointgetEndpointReference Gets the primary endpoint for the Valkey server.
UriExpressiongetReferenceExpression Gets the connection URI expression for the Valkey server.