property
primaryEndpoint EndpointReference getGets the primary endpoint for the SurrealDB instance.
API references are intentionally omitted from this search. To find API references, please search these dedicated API pages instead:
interface SurrealDbServerResource extends IComputeResource, IExpressionValue, IManifestExpressionProvider, IResource, IResourceWithArgs, IResourceWithConnectionString, IResourceWithEndpoints, IResourceWithEnvironment, IResourceWithProbes, IResourceWithWaitSupport, IValueProvider, IValueWithReferences { readonly connectionStringExpression: ReferenceExpression; readonly host: EndpointReferenceExpression; readonly namespaces: Dict<string,string>; readonly passwordParameter: ParameterResource; readonly port: EndpointReferenceExpression; readonly primaryEndpoint: EndpointReference; readonly uriExpression: ReferenceExpression; readonly userNameParameter: ParameterResource; addNamespace( name: string, namespaceName?: string): SurrealDbNamespaceResource; withDataBindMount(source: string): SurrealDbServerResource; withDataVolume(name?: string): SurrealDbServerResource; withInitFiles(source: string): SurrealDbServerResource; withLogLevel(logLevel: string): SurrealDbServerResource; withSurrealDbOtlpExporter(): SurrealDbServerResource; withSurrealist(containerName?: string): SurrealDbServerResource;}connectionStringExpression ReferenceExpression gethostEndpointReferenceExpression getnamespacesDict<string,string> getpasswordParameter ParameterResource getportEndpointReferenceExpression getprimaryEndpoint EndpointReference geturiExpression ReferenceExpression getuserNameParameter ParameterResource getaddNamespace( name: string, namespaceName?: string): SurrealDbNamespaceResourceParameters
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.namespaceName stringoptionalThe name of the namespace. If not provided, this defaults to the same value as `name`.Returns
SurrealDbNamespaceResource withDataBindMount(source: string): SurrealDbServerResourceParameters
sourcestringThe source directory on the host to mount into the container.Returns
SurrealDbServerResource withDataVolume(name?: string): SurrealDbServerResourceParameters
namestringoptionalThe name of the volume. Defaults to an auto-generated name based on the application and resource names.Returns
SurrealDbServerResource withInitFiles(source: string): SurrealDbServerResourceParameters
sourcestringThe source file on the host to copy into the container.Returns
SurrealDbServerResource withLogLevel(logLevel: string): SurrealDbServerResourceParameters
logLevel stringReturns
SurrealDbServerResource withSurrealDbOtlpExporter(): SurrealDbServerResourceReturns
SurrealDbServerResource withSurrealist(containerName?: string): SurrealDbServerResourceParameters
containerName stringoptionalReturns
SurrealDbServerResource