Skip to content
DocsTry Aspire
DocsTry

OllamaExecutableResource Properties

ClassProperties6 members
A resource that represents an Ollama executable resource.
ConnectionStringExpressionSection titled ConnectionStringExpressionReferenceExpression
Gets the connection string expression for the Ollama server.
public ReferenceExpression ConnectionStringExpression { get; }
HostSection titled HostEndpointReferenceExpression
Gets the host endpoint reference for this resource.
public EndpointReferenceExpression Host { get; }
ModelsSection titled ModelsIReadOnlyList<string>
Gets the list of models to download on initial startup.
public IReadOnlyList<string> Models { get; }
PortSection titled PortEndpointReferenceExpression
Gets the port endpoint reference for this resource.
public EndpointReferenceExpression Port { get; }
PrimaryEndpointSection titled PrimaryEndpointEndpointReference
Gets the endpoint for the Ollama server.
public EndpointReference PrimaryEndpoint { get; }
UriExpressionSection titled UriExpressionReferenceExpression
Gets the connection URI expression for the Ollama server.
public ReferenceExpression UriExpression { get; }
Format: http://{host}:{port}.