Skip to content
Docs Try Aspire

IOllamaResource Properties

Interface Properties 5 members
Represents an Ollama resource.
Host Section titled Host abstract EndpointReferenceExpression
Gets the host endpoint reference for this resource.
public abstract EndpointReferenceExpression Host { get; }
Models Section titled Models abstract IReadOnlyList<string>
Gets the list of models to download on initial startup.
public abstract IReadOnlyList<string> Models { get; }
Port Section titled Port abstract EndpointReferenceExpression
Gets the port endpoint reference for this resource.
public abstract EndpointReferenceExpression Port { get; }
PrimaryEndpoint Section titled PrimaryEndpoint abstract EndpointReference
Gets the endpoint for the Ollama server.
public abstract EndpointReference PrimaryEndpoint { get; }
UriExpression Section titled UriExpression abstract ReferenceExpression
Gets the connection URI expression for the Ollama server.
public abstract ReferenceExpression UriExpression { get; }
Format: http://{host}:{port}.