OracleDatabaseServerResource

Handle
📦 Aspire.Hosting.Oracle v17.0.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 resourceTypeDisplayName: string;
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.
propertyresourceTypeDisplayNamestringget
Gets the ResourceTypeDisplayName property
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
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.
databaseNamestringoptionalThe name of the database. If not provided, this defaults to the same value as `name`.
OracleDatabaseResource
methodwithDataBindMountbuilder
Adds a bind mount for the data folder to a Oracle Database server container resource.
withDataBindMount(source: string): OracleDatabaseServerResource
sourcestringThe source directory on the host to mount into the container.
OracleDatabaseServerResource
methodwithDataVolumebuilder
Adds a named volume for the data folder to a Oracle Database server container resource.
withDataVolume(name?: string): OracleDatabaseServerResource
namestringoptionalThe name of the volume. Defaults to an auto-generated name based on the application and resource names.
OracleDatabaseServerResource
Adds a bind mount for the database setup folder to a Oracle Database server container resource.
withDbSetupBindMount(source: string): OracleDatabaseServerResource
sourcestringThe source directory on the host to mount into the container.
OracleDatabaseServerResource
methodwithInitFilesbuilder
Copies init files into a Oracle Database server container resource.
withInitFiles(source: string): OracleDatabaseServerResource
sourcestringThe source file or directory on the host to copy into the container.
OracleDatabaseServerResource