1 instantiation of OracleDatabaseServerResource
Aspire.Hosting.Oracle (1)
OracleDatabaseBuilderExtensions.cs (1)
32var oracleDatabaseServer = new OracleDatabaseServerResource(name, passwordParameter);
19 references to OracleDatabaseServerResource
Aspire.Hosting.Oracle (17)
OracleDatabaseBuilderExtensions.cs (12)
28public static IResourceBuilder<OracleDatabaseServerResource> AddOracle(this IDistributedApplicationBuilder builder, [ResourceName] string name, IResourceBuilder<ParameterResource>? password = null, int? port = null) 32var oracleDatabaseServer = new OracleDatabaseServerResource(name, passwordParameter); 51.WithEndpoint(port: port, targetPort: 1521, name: OracleDatabaseServerResource.PrimaryEndpointName) 68public static IResourceBuilder<OracleDatabaseResource> AddDatabase(this IResourceBuilder<OracleDatabaseServerResource> builder, [ResourceName] string name, string? databaseName = null) 84public static IResourceBuilder<OracleDatabaseServerResource> WithDataVolume(this IResourceBuilder<OracleDatabaseServerResource> builder, string? name = null) 93public static IResourceBuilder<OracleDatabaseServerResource> WithDataBindMount(this IResourceBuilder<OracleDatabaseServerResource> builder, string source) 102public static IResourceBuilder<OracleDatabaseServerResource> WithInitBindMount(this IResourceBuilder<OracleDatabaseServerResource> builder, string source) 111public 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"/>. 12public class OracleDatabaseResource(string name, string databaseName, OracleDatabaseServerResource parent) : Resource(name), IResourceWithParent<OracleDatabaseServerResource>, IResourceWithConnectionString 17public 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)
143var oracleResource = Assert.Single(appModel.Resources.OfType<OracleDatabaseServerResource>());