MilvusServerResource
Class net10.0
A resource that represents a Milvus database.
namespace Aspire.Hosting.Milvus;
public class MilvusServerResource : Aspire.Hosting.ApplicationModel.ContainerResource, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...} ContainerResourceIManifestExpressionProviderIResourceIResourceWithConnectionStringIValueProviderIValueWithReferences
9 members
Constructors1
Section titled ConstructorsMilvusServerResource(string, ParameterResource) Initializes a new instance of the
MilvusServerResource class. Properties8
Section titled PropertiesApiKeyParametergetParameterResource Gets the parameter that contains the Milvus API key.
ConnectionStringExpressiongetReferenceExpression Gets the connection string expression for the Milvus gRPC endpoint.
DatabasesgetIReadOnlyDictionary<string, string> A dictionary where the key is the resource name and the value is the database name.
HostgetEndpointReferenceExpression Gets the host endpoint reference for this resource.
PortgetEndpointReferenceExpression Gets the port endpoint reference for this resource.
PrimaryEndpointgetEndpointReference Gets the gRPC endpoint for the Milvus database.
TokengetReferenceExpression Gets a valid access token to access the Milvus instance.
UriExpressiongetReferenceExpression Gets URI expression for the Milvus instance.