Skip to content
Docs Try Aspire
Docs Try

MeilisearchResource

Handle
📦 CommunityToolkit.Aspire.Hosting.Meilisearch v13.4.0
interface MeilisearchResource
extends IComputeResource,
IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithArgs,
IResourceWithConnectionString,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport,
IValueProvider,
IValueWithReferences {
readonly connectionStringExpression: ReferenceExpression;
readonly host: EndpointReferenceExpression;
readonly masterKeyParameter: ParameterResource;
readonly port: EndpointReferenceExpression;
readonly primaryEndpoint: EndpointReference;
readonly uriExpression: ReferenceExpression;
withDataBindMount(source: string): MeilisearchResource;
withDataVolume(name?: string): MeilisearchResource;
}

Properties

property connectionStringExpression ReferenceExpression get
Gets the connection string expression for the Meilisearch
property host EndpointReferenceExpression get
Gets the host endpoint reference for this resource.
property masterKeyParameter ParameterResource get
Gets the parameter that contains the Meilisearch superuser password.
property port EndpointReferenceExpression get
Gets the port endpoint reference for this resource.
property primaryEndpoint EndpointReference get
Gets the primary endpoint for the Meilisearch. This endpoint is used for all API calls over HTTP.
property uriExpression ReferenceExpression get
Gets the connection URI expression for the Meilisearch server.

Methods

method withDataBindMount builder
Adds a bind mount for the data folder to a Meilisearch container resource.
withDataBindMount(source: string): MeilisearchResource
source string
MeilisearchResource
method withDataVolume builder
Adds a named volume for the data folder to a Meilisearch container resource.
withDataVolume(name?: string): MeilisearchResource
name string optional
MeilisearchResource