PrimaryEndpoint EndpointReference getPrimaryEndpoint() EndpointReferenceAPI references are intentionally omitted from this search. To find API references, please search these dedicated API pages instead:
A resource that represents an Oracle Database container.
type OracleDatabaseServerResource interface { ExpressionValue IComputeResource Resource ResourceWithArgs ResourceWithConnectionString ResourceWithEndpoints ResourceWithEnvironment ResourceWithWaitSupport}ConnectionStringExpression *ReferenceExpression getConnectionStringExpression() *ReferenceExpressionDatabasesmap[string]string getDatabases() (map[string]string, error)HostEndpointReferenceExpression getHost() EndpointReferenceExpressionJdbcConnectionString *ReferenceExpression getJdbcConnectionString() *ReferenceExpressionPasswordParameter ParameterResource getPasswordParameter() ParameterResourcePortEndpointReferenceExpression getPort() EndpointReferenceExpressionPrimaryEndpoint EndpointReference getPrimaryEndpoint() EndpointReferenceResourceTypeDisplayName stringgetResourceTypeDisplayName() (string, error)UriExpression *ReferenceExpression getUriExpression() *ReferenceExpressionUserNameReference *ReferenceExpression getUserNameReference() *ReferenceExpressionAddDatabase( name string, options ...*AddDatabaseOptions,) OracleDatabaseResourceParameters
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.options...*AddDatabaseOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddDatabaseOptions argument.
DatabaseName *stringThe name of the database. If not provided, this defaults to the same value as name.Returns
OracleDatabaseResource The resource builder.
Returns a handle; failures surface later via Err().
WithDataBindMount(source string) OracleDatabaseServerResourceParameters
sourcestringThe source directory on the host to mount into the container.Returns
OracleDatabaseServerResource The resource builder.
Returns a handle; failures surface later via Err().
WithDataVolume(options ...*WithDataVolumeOptions) OracleDatabaseServerResourceParameters
options...*WithDataVolumeOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithDataVolumeOptions argument.
Name*stringThe name of the volume. Defaults to an auto-generated name based on the application and resource names.Returns
OracleDatabaseServerResource The resource builder.
Returns a handle; failures surface later via Err().
WithDbSetupBindMount(source string) OracleDatabaseServerResourceParameters
sourcestringThe source directory on the host to mount into the container.Returns
OracleDatabaseServerResource The resource builder.
Returns a handle; failures surface later via Err().
WithInitFiles(source string) OracleDatabaseServerResourceParameters
sourcestringThe source file or directory on the host to copy into the container.Returns
OracleDatabaseServerResource The resource builder.
Returns a handle; failures surface later via Err().