Skip to content
Docs Try Aspire

OracleDatabaseServerResource

Handle TypeScript
📦 Aspire.Hosting.Oracle v13.2.0-preview.1.26159.1
interface OracleDatabaseServerResource
extends IComputeResource,
IManifestExpressionProvider,
IResource,
IResourceWithArgs,
IResourceWithConnectionString,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport,
IValueProvider,
IValueWithReferences {
readonly connectionStringExpression: ReferenceExpression;
readonly databases: Dict<string,string>;
entrypoint: string;
readonly host: EndpointReferenceExpression;
readonly jdbcConnectionString: ReferenceExpression;
readonly name: string;
readonly port: EndpointReferenceExpression;
readonly primaryEndpoint: EndpointReference;
shellExecution: boolean;
readonly uriExpression: ReferenceExpression;
readonly userNameReference: ReferenceExpression;
addDatabase(
name: string,
databaseName?: string): OracleDatabaseResource;
withDataBindMount(source: string): OracleDatabaseServerResource;
withDataVolume(name?: string): OracleDatabaseServerResource;
withDbSetupBindMount(source: string): OracleDatabaseServerResource;
withInitFiles(source: string): OracleDatabaseServerResource;
}

Properties

property connectionStringExpression ReferenceExpression get
Gets the ConnectionStringExpression property
property databases Dict<string,string> get
Gets the Databases property
property entrypoint string get · set
Gets the Entrypoint property
property host EndpointReferenceExpression get
Gets the Host property
property jdbcConnectionString ReferenceExpression get
Gets the JdbcConnectionString property
property name string get
Gets the Name property
property port EndpointReferenceExpression get
Gets the Port property
property primaryEndpoint EndpointReference get
Gets the PrimaryEndpoint property
property shellExecution boolean get · set
Gets the ShellExecution property
property uriExpression ReferenceExpression get
Gets the UriExpression property
property userNameReference ReferenceExpression get
Gets the UserNameReference property

Methods

method addDatabase builder
Adds an Oracle database resource to an Oracle server resource.
addDatabase(
name: string,
databaseName?: string): OracleDatabaseResource
name string
databaseName string optional
OracleDatabaseResource
method withDataBindMount builder
Mounts a host directory as the Oracle data directory.
withDataBindMount(source: string): OracleDatabaseServerResource
source string
OracleDatabaseServerResource
method withDataVolume builder
Adds a persistent data volume to the Oracle server resource.
withDataVolume(name?: string): OracleDatabaseServerResource
name string optional
OracleDatabaseServerResource
method withDbSetupBindMount builder
Mounts a host directory as the Oracle DB setup directory.
withDbSetupBindMount(source: string): OracleDatabaseServerResource
source string
OracleDatabaseServerResource
method withInitFiles builder
Copies initialization files into the Oracle container.
withInitFiles(source: string): OracleDatabaseServerResource
source string
OracleDatabaseServerResource