18 references to WithComputeEnvironment
Aspire.Hosting.Azure.Tests (8)
AzureAppServiceTests.cs (2)
349.WithComputeEnvironment(env1); 353.WithComputeEnvironment(env2);
AzureContainerAppsTests.cs (2)
1621.WithComputeEnvironment(env1); 1624.WithComputeEnvironment(env2);
AzureDeployerTests.cs (4)
364builder.AddRedis("cache").WithComputeEnvironment(acaEnv); 365builder.AddProject<Project>("api-service", launchProfileName: null).WithComputeEnvironment(aasEnv); 366builder.AddDockerfile("python-app", "python-app.Dockerfile").WithComputeEnvironment(acaEnv); 559builder.AddRedis("cache").WithComputeEnvironment(containerAppEnv);
Aspire.Hosting.Docker.Tests (2)
DockerComposeTests.cs (2)
132.WithComputeEnvironment(env1); 135.WithComputeEnvironment(env2);
Aspire.Hosting.Kubernetes.Tests (2)
KubernetesEnvironmentResourceTests.cs (2)
82.WithComputeEnvironment(env1); 85.WithComputeEnvironment(env2);
Aspire.Hosting.Tests (1)
ResourceExtensionsTests.cs (1)
312resourceBuilder.WithComputeEnvironment(compute2);
Deployers.AppHost (5)
AppHost.cs (5)
38.WithComputeEnvironment(aca); 42.WithComputeEnvironment(aas) 51.WithComputeEnvironment(aas); 63.WithComputeEnvironment(aca); 67.WithComputeEnvironment(aca)