Skip to content
DocsTry Aspire
DocsTry

SurrealDbServerResource Properties

ClassProperties8 members
A resource that represents a SurrealDB container.
ConnectionStringExpressionSection titled ConnectionStringExpressionReferenceExpression
Gets the connection string expression for the SurrealDB instance.
public ReferenceExpression ConnectionStringExpression { get; }
HostSection titled HostEndpointReferenceExpression
Gets the host endpoint reference for this resource.
public EndpointReferenceExpression Host { get; }
NamespacesSection titled NamespacesIReadOnlyDictionary<string, string>
A dictionary where the key is the resource name and the value is the namespace name.
public IReadOnlyDictionary<string, string> Namespaces { get; }
PasswordParameterSection titled PasswordParameterParameterResource
Gets the parameter that contains the SurrealDB password.
public ParameterResource PasswordParameter { get; }
PortSection titled PortEndpointReferenceExpression
Gets the port endpoint reference for this resource.
public EndpointReferenceExpression Port { get; }
PrimaryEndpointSection titled PrimaryEndpointEndpointReference
Gets the primary endpoint for the SurrealDB instance.
public EndpointReference PrimaryEndpoint { get; }
UriExpressionSection titled UriExpressionReferenceExpression
Gets the connection URI expression for the SurrealDB instance.
public ReferenceExpression UriExpression { get; }
Format: ws://{host}:{port}/rpc.
UserNameParameterSection titled UserNameParameternullableParameterResource?
Gets the parameter that contains the SurrealDB username.
public ParameterResource? UserNameParameter { get; }