Skip to content
Docs Try Aspire

OracleDatabaseServerResource Properties

Class Properties 9 members
A resource that represents an Oracle Database container.
ConnectionStringExpression Section titled ConnectionStringExpression ReferenceExpression
Gets the connection string expression for the Oracle Database server.
public ReferenceExpression ConnectionStringExpression { get; }
Databases Section titled Databases IReadOnlyDictionary<string, string>
A dictionary where the key is the resource name and the value is the database name.
public IReadOnlyDictionary<string, string> Databases { get; }
Host Section titled Host EndpointReferenceExpression
Gets the host endpoint reference for this resource.
public EndpointReferenceExpression Host { get; }
JdbcConnectionString Section titled JdbcConnectionString ReferenceExpression
Gets the JDBC connection string for the Oracle Database server.
public ReferenceExpression JdbcConnectionString { get; }

Format: jdbc:oracle:thin:@//{host}:{port}.

User and password credentials are not included in the JDBC connection string. Use the Username and Password connection properties to access credentials.

PasswordParameter Section titled PasswordParameter ParameterResource
Gets the parameter that contains the Oracle Database server password.
public ParameterResource PasswordParameter { get; }
Port Section titled Port EndpointReferenceExpression
Gets the port endpoint reference for this resource.
public EndpointReferenceExpression Port { get; }
PrimaryEndpoint Section titled PrimaryEndpoint EndpointReference
Gets the primary endpoint for the Oracle server.
public EndpointReference PrimaryEndpoint { get; }
UriExpression Section titled UriExpression ReferenceExpression
Gets the connection URI expression for the Oracle server.
public ReferenceExpression UriExpression { get; }
Format: oracle://{user}:{password}@{host}:{port}.
UserNameReference Section titled UserNameReference ReferenceExpression
Gets a reference to the user name for the Oracle server.
public ReferenceExpression UserNameReference { get; }
Returns the user name parameter if specified, otherwise returns the default user name "system".