89 references to WithComputeEnvironment
Aspire.Hosting.Azure.Kubernetes.Tests (4)
AzureKubernetesFoundryReferenceTests.cs (1)
48.WithComputeEnvironment(aks)
AzureKubernetesInfrastructureTests.cs (3)
136.WithComputeEnvironment(enva); 138.WithComputeEnvironment(enva); 140.WithComputeEnvironment(envb);
Aspire.Hosting.Azure.Sandboxes (1)
AzureSandboxesExtensions.cs (1)
178.WithComputeEnvironment(sandboxGroup)
Aspire.Hosting.Azure.Tests (46)
AzureAppServiceTests.cs (3)
366.WithComputeEnvironment(appServiceEnv) 747.WithComputeEnvironment(env1); 751.WithComputeEnvironment(env2);
AzureContainerAppEnvironmentExtensionsTests.cs (1)
590.WithComputeEnvironment(environment);
AzureContainerAppsTests.cs (27)
148.WithComputeEnvironment(acaEnv) 1916.WithComputeEnvironment(env1); 1919.WithComputeEnvironment(env2); 1942.WithComputeEnvironment(env1); 1945.WithComputeEnvironment(env2); 1998.WithComputeEnvironment(env1); 2001.WithComputeEnvironment(env2); 2037.WithComputeEnvironment(env1); 2040.WithComputeEnvironment(env2); 2068.WithComputeEnvironment(includedEnvironment); 2098.WithComputeEnvironment(env); 2128.WithComputeEnvironment(env); 2157.WithComputeEnvironment(env); 2190.WithComputeEnvironment(env1); 2192.WithComputeEnvironment(env2); 2215.WithComputeEnvironment(env1); 2217.WithComputeEnvironment(env2); 2244.WithComputeEnvironment(env1); 2246.WithComputeEnvironment(env2); 2273.WithComputeEnvironment(azdEnvironment); 2275.WithComputeEnvironment(uniqueEnvironment); 2307.WithComputeEnvironment(env1); 2310.WithComputeEnvironment(env2); 2917.WithComputeEnvironment(aca); 2923.WithComputeEnvironment(appService); 2929.WithComputeEnvironment(aca); 2939.WithComputeEnvironment(appService);
AzureDeployerTests.cs (10)
479.WithComputeEnvironment(containerAppEnv); 539.WithComputeEnvironment(appServiceEnv); 621builder.AddRedis("cache").WithComputeEnvironment(acaEnv); 622var apiService = builder.AddProject<Project>("api-service", launchProfileName: null).WithComputeEnvironment(aasEnv); 623var pythonApp = builder.AddDockerfile("python-app", "python-app.Dockerfile").WithComputeEnvironment(acaEnv); 699builder.AddRedis("cache").WithComputeEnvironment(acaEnv); 700builder.AddProject<Project>("api-service", launchProfileName: null).WithComputeEnvironment(aasEnv); 701builder.AddDockerfile("python-app", "python-app.Dockerfile").WithComputeEnvironment(acaEnv); 886builder.AddRedis("cache").WithComputeEnvironment(containerAppEnv); 1344.WithComputeEnvironment(acaEnv);
AzureSandboxesTests.cs (1)
2343.WithComputeEnvironment(sandboxGroup);
FoundryExtensionsTests.cs (4)
315.WithComputeEnvironment(env); 383.WithComputeEnvironment(env); 424.WithComputeEnvironment(env); 465.WithComputeEnvironment(env);
Aspire.Hosting.Docker.Tests (7)
DockerComposeTests.cs (7)
157.WithComputeEnvironment(env1); 160.WithComputeEnvironment(env2); 864.WithComputeEnvironment(dockerCompose); 869.WithComputeEnvironment(kubernetes); 874.WithComputeEnvironment(dockerCompose); 879.WithComputeEnvironment(kubernetes); 931.WithComputeEnvironment(dockerCompose);
Aspire.Hosting.Foundry (1)
HostedAgent\HostedAgentBuilderExtension.cs (1)
454ResourceBuilderExtensions.WithComputeEnvironment(builder, project);
Aspire.Hosting.Kubernetes.Tests (11)
KubernetesEnvironmentResourceTests.cs (9)
103.WithComputeEnvironment(env1); 106.WithComputeEnvironment(env2); 145.WithComputeEnvironment(kubernetes); 150.WithComputeEnvironment(dockerCompose); 155.WithComputeEnvironment(kubernetes); 160.WithComputeEnvironment(dockerCompose); 208.WithComputeEnvironment(dockerCompose) 235.WithComputeEnvironment(kubernetes); 239.WithComputeEnvironment(dockerCompose);
KubernetesIngressTests.cs (1)
449.WithComputeEnvironment(otherEnvironment);
KubernetesPublisherTests.cs (1)
1864.WithComputeEnvironment(envB)
Aspire.Hosting.Radius.Tests (6)
InnerLoop\MultiEnvironmentTests.cs (2)
61builder.AddContainer("api", "myapp/api:latest").WithComputeEnvironment(env1); 82builder.AddContainer("api", "myapp/api:latest").WithComputeEnvironment(env1);
Publishing\ContainerEnvironmentEmissionTests.cs (2)
97.WithComputeEnvironment(dataEnv); 100.WithComputeEnvironment(frontendEnv);
Publishing\MultiEnvironmentPublishTests.cs (2)
81builder.AddContainer("api-dev", "myapp/api", "latest").WithComputeEnvironment(dev); 82builder.AddContainer("api-staging", "myapp/api", "latest").WithComputeEnvironment(staging);
Aspire.Hosting.Tests (5)
ComputeEnvironmentEndpointResolverTests.cs (2)
78.WithComputeEnvironment(currentEnv); 116.WithComputeEnvironment(currentEnv);
ComputeEnvironmentValidationTests.cs (1)
41.WithComputeEnvironment(env1);
WithVolumeTests.cs (2)
253.WithComputeEnvironment(environment); 276.WithComputeEnvironment(computeEnvironment);
Deployers.AppHost (5)
AppHost.cs (5)
35.WithComputeEnvironment(aca); 39.WithComputeEnvironment(aas) 48.WithComputeEnvironment(aas); 60.WithComputeEnvironment(aca); 64.WithComputeEnvironment(aca)
FoundryAgents.AppHost (1)
AppHost.cs (1)
74.WithComputeEnvironment(aca)
Pipelines.AppHost (2)
AppHost.cs (2)
41.WithComputeEnvironment(acaEnv) 328.WithComputeEnvironment(aasEnv)