共用方式為


OracleDatabaseBuilderExtensions.WithDataBindMount Method

Definition

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

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