Share via


OracleDatabaseBuilderExtensions.WithInitBindMount Method

Definition

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

public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.OracleDatabaseServerResource> WithInitBindMount (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.OracleDatabaseServerResource> builder, string source);
static member WithInitBindMount : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.OracleDatabaseServerResource> * string -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.OracleDatabaseServerResource>
<Extension()>
Public Function WithInitBindMount (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