Skip to content
Docs Try Aspire
Docs Try

OllamaExecutableResource

Handle
📦 CommunityToolkit.Aspire.Hosting.Ollama v13.4.0
interface OllamaExecutableResource
extends IComputeResource,
IExpressionValue,
IManifestExpressionProvider,
IOllamaResource,
IResource,
IResourceWithArgs,
IResourceWithConnectionString,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport,
IValueProvider,
IValueWithReferences {
readonly connectionStringExpression: ReferenceExpression;
readonly host: EndpointReferenceExpression;
readonly models: string[];
readonly port: EndpointReferenceExpression;
readonly primaryEndpoint: EndpointReference;
readonly uriExpression: ReferenceExpression;
}

Properties

property connectionStringExpression ReferenceExpression get
Gets the connection string expression for the Ollama server.
property host EndpointReferenceExpression get
Gets the Host property
property models string[] get
Gets the Models property
property port EndpointReferenceExpression get
Gets the Port property
property primaryEndpoint EndpointReference get
Gets the PrimaryEndpoint property
property uriExpression ReferenceExpression get
Gets the UriExpression property