31 references to WithComputeEnvironment
Aspire.Hosting.Azure.Tests (12)
AzureAppServiceTests.cs (2)
426.WithComputeEnvironment(env1); 430.WithComputeEnvironment(env2);
AzureContainerAppsTests.cs (6)
1682.WithComputeEnvironment(env1); 1685.WithComputeEnvironment(env2); 2235.WithComputeEnvironment(aca); 2241.WithComputeEnvironment(appService); 2247.WithComputeEnvironment(aca); 2257.WithComputeEnvironment(appService);
AzureDeployerTests.cs (4)
501builder.AddRedis("cache").WithComputeEnvironment(acaEnv); 502var apiService = builder.AddProject<Project>("api-service", launchProfileName: null).WithComputeEnvironment(aasEnv); 503var pythonApp = builder.AddDockerfile("python-app", "python-app.Dockerfile").WithComputeEnvironment(acaEnv); 712builder.AddRedis("cache").WithComputeEnvironment(containerAppEnv);
Aspire.Hosting.Docker.Tests (6)
DockerComposeTests.cs (6)
140.WithComputeEnvironment(env1); 143.WithComputeEnvironment(env2); 806.WithComputeEnvironment(dockerCompose); 811.WithComputeEnvironment(kubernetes); 816.WithComputeEnvironment(dockerCompose); 821.WithComputeEnvironment(kubernetes);
Aspire.Hosting.Kubernetes.Tests (6)
KubernetesEnvironmentResourceTests.cs (6)
84.WithComputeEnvironment(env1); 87.WithComputeEnvironment(env2); 126.WithComputeEnvironment(kubernetes); 131.WithComputeEnvironment(dockerCompose); 136.WithComputeEnvironment(kubernetes); 141.WithComputeEnvironment(dockerCompose);
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)