31 references to WithComputeEnvironment
Aspire.Hosting.Azure.Tests (12)
AzureAppServiceTests.cs (2)
426.WithComputeEnvironment(env1); 430.WithComputeEnvironment(env2);
AzureContainerAppsTests.cs (6)
1740.WithComputeEnvironment(env1); 1743.WithComputeEnvironment(env2); 2293.WithComputeEnvironment(aca); 2299.WithComputeEnvironment(appService); 2305.WithComputeEnvironment(aca); 2315.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); 805.WithComputeEnvironment(dockerCompose); 810.WithComputeEnvironment(kubernetes); 815.WithComputeEnvironment(dockerCompose); 820.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)