Share via


OracleDatabaseBuilderExtensions.WithDbSetupBindMount Method

Definition

Adds a bind mount for the database setup folder to a Oracle Database server container resource.

public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.OracleDatabaseServerResource> WithDbSetupBindMount (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.OracleDatabaseServerResource> builder, string source);
static member WithDbSetupBindMount : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.OracleDatabaseServerResource> * string -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.OracleDatabaseServerResource>
<Extension()>
Public Function WithDbSetupBindMount (builder As IResourceBuilder(Of OracleDatabaseServerResource), source As String) As IResourceBuilder(Of OracleDatabaseServerResource)

Parameters

builder
IResourceBuilder<OracleDatabaseServerResource>

The resource builder.

source
String

The source directory on the host to mount into the container.

Returns

The IResourceBuilder<T>.

Applies to