SurrealDbServerResource
Class net10.0
A resource that represents a SurrealDB container.
namespace Aspire.Hosting.ApplicationModel;
public class SurrealDbServerResource : 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
Constructors1
Section titled ConstructorsSurrealDbServerResource(string, ParameterResource?, ParameterResource) Initializes a new instance of the
SurrealDbServerResource class. Properties8
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Gets the connection string expression for the SurrealDB instance.
HostgetEndpointReferenceExpression Gets the host endpoint reference for this resource.
NamespacesgetIReadOnlyDictionary<string, string> A dictionary where the key is the resource name and the value is the namespace name.
PasswordParametergetParameterResource Gets the parameter that contains the SurrealDB password.
PortgetEndpointReferenceExpression Gets the port endpoint reference for this resource.
PrimaryEndpointgetEndpointReference Gets the primary endpoint for the SurrealDB instance.
UriExpressiongetReferenceExpression Gets the connection URI expression for the SurrealDB instance.
UserNameParametergetParameterResource? Gets the parameter that contains the SurrealDB username.