1 instantiation of OracleDatabaseServerResource
Aspire.Hosting.Oracle (1)
OracleDatabaseBuilderExtensions.cs (1)
32
var oracleDatabaseServer = new
OracleDatabaseServerResource
(name, passwordParameter);
19 references to OracleDatabaseServerResource
Aspire.Hosting.Oracle (17)
OracleDatabaseBuilderExtensions.cs (12)
28
public static IResourceBuilder<
OracleDatabaseServerResource
> AddOracle(this IDistributedApplicationBuilder builder, [ResourceName] string name, IResourceBuilder<ParameterResource>? password = null, int? port = null)
32
var
oracleDatabaseServer = new OracleDatabaseServerResource(name, passwordParameter);
51
.WithEndpoint(port: port, targetPort: 1521, name:
OracleDatabaseServerResource
.PrimaryEndpointName)
68
public static IResourceBuilder<OracleDatabaseResource> AddDatabase(this IResourceBuilder<
OracleDatabaseServerResource
> builder, [ResourceName] string name, string? databaseName = null)
84
public static IResourceBuilder<
OracleDatabaseServerResource
> WithDataVolume(this IResourceBuilder<
OracleDatabaseServerResource
> builder, string? name = null)
93
public static IResourceBuilder<
OracleDatabaseServerResource
> WithDataBindMount(this IResourceBuilder<
OracleDatabaseServerResource
> builder, string source)
102
public static IResourceBuilder<
OracleDatabaseServerResource
> WithInitBindMount(this IResourceBuilder<
OracleDatabaseServerResource
> builder, string source)
111
public static IResourceBuilder<
OracleDatabaseServerResource
> WithDbSetupBindMount(this IResourceBuilder<
OracleDatabaseServerResource
> builder, string source)
OracleDatabaseResource.cs (4)
7
/// A resource that represents an Oracle Database database. This is a child resource of a <see cref="
OracleDatabaseServerResource
"/>.
12
public class OracleDatabaseResource(string name, string databaseName,
OracleDatabaseServerResource
parent) : Resource(name), IResourceWithParent<
OracleDatabaseServerResource
>, IResourceWithConnectionString
17
public
OracleDatabaseServerResource
Parent { get; } = parent;
OracleDatabaseServerResource.cs (1)
14
/// Initializes a new instance of the <see cref="
OracleDatabaseServerResource
"/> class.
Aspire.Hosting.Oracle.Tests (2)
AddOracleTests.cs (2)
143
var
oracleResource = Assert.Single(appModel.Resources.OfType<
OracleDatabaseServerResource
>());