Skip to content
DocsTry Aspire
DocsTry

OracleDatabaseServerResource

Handle
📦 Aspire.Hosting.Oracle v13.4.0
interface OracleDatabaseServerResource
extends IComputeResource,
IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithArgs,
IResourceWithConnectionString,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport,
IValueProvider,
IValueWithReferences {
readonly connectionStringExpression: ReferenceExpression;
readonly databases: Dict<string,string>;
readonly host: EndpointReferenceExpression;
readonly jdbcConnectionString: ReferenceExpression;
readonly passwordParameter: ParameterResource;
readonly port: EndpointReferenceExpression;
readonly primaryEndpoint: EndpointReference;
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

propertyconnectionStringExpressionReferenceExpressionget
Gets the connection string expression for the Oracle Database server.
propertydatabasesDict<string,string>get
A dictionary where the key is the resource name and the value is the database name.
propertyhostEndpointReferenceExpressionget
Gets the host endpoint reference for this resource.
propertyjdbcConnectionStringReferenceExpressionget
Gets the JDBC connection string for the Oracle Database server.
propertypasswordParameterParameterResourceget
Gets the parameter that contains the Oracle Database server password.
propertyportEndpointReferenceExpressionget
Gets the port endpoint reference for this resource.
propertyprimaryEndpointEndpointReferenceget
Gets the primary endpoint for the Oracle server.
propertyuriExpressionReferenceExpressionget
Gets the connection URI expression for the Oracle server.
propertyuserNameReferenceReferenceExpressionget
Gets a reference to the user name for the Oracle server.

Methods

methodaddDatabasebuilder
Adds a Oracle Database database to the application model.
addDatabase(
name: string,
databaseName?: string): OracleDatabaseResource
namestring
databaseNamestringoptional
OracleDatabaseResource
methodwithDataBindMountbuilder
Adds a bind mount for the data folder to a Oracle Database server container resource.
withDataBindMount(source: string): OracleDatabaseServerResource
sourcestring
OracleDatabaseServerResource
methodwithDataVolumebuilder
Adds a named volume for the data folder to a Oracle Database server container resource.
withDataVolume(name?: string): OracleDatabaseServerResource
namestringoptional
OracleDatabaseServerResource
Adds a bind mount for the database setup folder to a Oracle Database server container resource.
withDbSetupBindMount(source: string): OracleDatabaseServerResource
sourcestring
OracleDatabaseServerResource
methodwithInitFilesbuilder
Copies init files into a Oracle Database server container resource.
withInitFiles(source: string): OracleDatabaseServerResource
sourcestring
OracleDatabaseServerResource