20 references to WithComputeEnvironment
Aspire.Hosting.Azure.Tests (8)
AzureAppServiceTests.cs (2)
350.WithComputeEnvironment(env1); 354.WithComputeEnvironment(env2);
AzureContainerAppsTests.cs (2)
1625.WithComputeEnvironment(env1); 1628.WithComputeEnvironment(env2);
AzureDeployerTests.cs (4)
419builder.AddRedis("cache").WithComputeEnvironment(acaEnv); 420builder.AddProject<Project>("api-service", launchProfileName: null).WithComputeEnvironment(aasEnv); 421builder.AddDockerfile("python-app", "python-app.Dockerfile").WithComputeEnvironment(acaEnv); 627builder.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)
83.WithComputeEnvironment(env1); 86.WithComputeEnvironment(env2);
Aspire.Hosting.Tests (1)
ResourceExtensionsTests.cs (1)
312resourceBuilder.WithComputeEnvironment(compute2);
Deployers.AppHost (5)
AppHost.cs (5)
37.WithComputeEnvironment(aca); 41.WithComputeEnvironment(aas) 50.WithComputeEnvironment(aas); 62.WithComputeEnvironment(aca); 66.WithComputeEnvironment(aca)
Pipelines.AppHost (2)
AppHost.cs (2)
41.WithComputeEnvironment(acaEnv) 328.WithComputeEnvironment(aasEnv)