QdrantBuilderExtensions.WithDataVolume Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a named volume for the data folder to a Qdrant container resource.
public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.QdrantServerResource> WithDataVolume (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.QdrantServerResource> builder, string? name = default, bool isReadOnly = false);
static member WithDataVolume : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.QdrantServerResource> * string * bool -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.QdrantServerResource>
<Extension()>
Public Function WithDataVolume (builder As IResourceBuilder(Of QdrantServerResource), Optional name As String = Nothing, Optional isReadOnly As Boolean = false) As IResourceBuilder(Of QdrantServerResource)
Parameters
- builder
- IResourceBuilder<QdrantServerResource>
The resource builder.
- name
- String
The name of the volume. Defaults to an auto-generated name based on the resource name.
- isReadOnly
- Boolean
A flag that indicates if this is a read-only volume.
Returns
The IResourceBuilder<T>.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for