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