118 references to WithComputeEnvironment
Aspire.Hosting.Azure.EntraId.Tests (2)
EntraIdPolyglotTests.cs (1)
276.WithComputeEnvironment(environment);
EntraIdProvisioningTests.cs (1)
898.WithComputeEnvironment(environment);
Aspire.Hosting.Azure.Kubernetes.Tests (7)
AzureKubernetesFoundryReferenceTests.cs (2)
61.WithComputeEnvironment(aks) 65.WithComputeEnvironment(aks);
AzureKubernetesInfrastructureTests.cs (5)
135.WithComputeEnvironment(enva); 137.WithComputeEnvironment(enva); 139.WithComputeEnvironment(envb); 405.WithComputeEnvironment(east); 407.WithComputeEnvironment(west);
Aspire.Hosting.Azure.Tests (69)
AzureAppServiceTests.cs (3)
437.WithComputeEnvironment(appServiceEnv) 818.WithComputeEnvironment(env1); 822.WithComputeEnvironment(env2);
AzureContainerAppEnvironmentExtensionsTests.cs (1)
589.WithComputeEnvironment(environment);
AzureContainerAppExpressEndpointTests.cs (6)
215.WithComputeEnvironment(consumerEnvironment); 219.WithComputeEnvironment(producerEnvironment); 252.WithComputeEnvironment(standard); 256.WithComputeEnvironment(express) 286.WithComputeEnvironment(producer); 289.WithComputeEnvironment(consumer)
AzureContainerAppsTests.cs (27)
200.WithComputeEnvironment(acaEnv) 2028.WithComputeEnvironment(env1); 2031.WithComputeEnvironment(env2); 2054.WithComputeEnvironment(env1); 2057.WithComputeEnvironment(env2); 2110.WithComputeEnvironment(env1); 2113.WithComputeEnvironment(env2); 2149.WithComputeEnvironment(env1); 2152.WithComputeEnvironment(env2); 2180.WithComputeEnvironment(includedEnvironment); 2210.WithComputeEnvironment(env); 2240.WithComputeEnvironment(env); 2269.WithComputeEnvironment(env); 2302.WithComputeEnvironment(env1); 2304.WithComputeEnvironment(env2); 2327.WithComputeEnvironment(env1); 2329.WithComputeEnvironment(env2); 2356.WithComputeEnvironment(env1); 2358.WithComputeEnvironment(env2); 2385.WithComputeEnvironment(azdEnvironment); 2387.WithComputeEnvironment(uniqueEnvironment); 2419.WithComputeEnvironment(env1); 2422.WithComputeEnvironment(env2); 3047.WithComputeEnvironment(aca); 3055.WithComputeEnvironment(appService); 3061.WithComputeEnvironment(aca); 3071.WithComputeEnvironment(appService);
AzureDeployerTests.cs (10)
665.WithComputeEnvironment(containerAppEnv); 787.WithComputeEnvironment(appServiceEnv); 869builder.AddRedis("cache").WithComputeEnvironment(acaEnv); 870var apiService = builder.AddProject<Project>("api-service", launchProfileName: null).WithComputeEnvironment(aasEnv); 871var pythonApp = builder.AddDockerfile("python-app", "python-app.Dockerfile").WithComputeEnvironment(acaEnv); 947builder.AddRedis("cache").WithComputeEnvironment(acaEnv); 948builder.AddProject<Project>("api-service", launchProfileName: null).WithComputeEnvironment(aasEnv); 949builder.AddDockerfile("python-app", "python-app.Dockerfile").WithComputeEnvironment(acaEnv); 1134builder.AddRedis("cache").WithComputeEnvironment(containerAppEnv); 1592.WithComputeEnvironment(acaEnv);
AzureFrontDoorPrivateLinkTests.cs (11)
115.WithComputeEnvironment(environment); 119.WithComputeEnvironment(publicEnvironment); 174.WithComputeEnvironment(privateEnvironment); 178.WithComputeEnvironment(publicEnvironment); 236.WithComputeEnvironment(west); 240.WithComputeEnvironment(west); 244.WithComputeEnvironment(east); 298.WithComputeEnvironment(publicEnvironment); 442.WithComputeEnvironment(west); 446.WithComputeEnvironment(east); 472.WithComputeEnvironment(target);
AzureSandboxesTests.cs (7)
291.WithComputeEnvironment(sandboxGroup) 2525.WithComputeEnvironment(sandboxGroup) 2630.WithComputeEnvironment(containerApps) 2834.WithComputeEnvironment(frontendGroup); 2837.WithComputeEnvironment(backendGroup); 3090.WithComputeEnvironment(producerGroup) 3094.WithComputeEnvironment(consumerGroup)
FoundryExtensionsTests.cs (4)
787.WithComputeEnvironment(env); 853.WithComputeEnvironment(env); 893.WithComputeEnvironment(env); 933.WithComputeEnvironment(env);
Aspire.Hosting.Docker.Tests (7)
DockerComposeTests.cs (7)
160.WithComputeEnvironment(env1); 163.WithComputeEnvironment(env2); 867.WithComputeEnvironment(dockerCompose); 872.WithComputeEnvironment(kubernetes); 877.WithComputeEnvironment(dockerCompose); 882.WithComputeEnvironment(kubernetes); 934.WithComputeEnvironment(dockerCompose);
Aspire.Hosting.Foundry (1)
HostedAgent\HostedAgentBuilderExtension.cs (1)
456ResourceBuilderExtensions.WithComputeEnvironment(builder, project);
Aspire.Hosting.Kubernetes.Tests (11)
KubernetesEnvironmentResourceTests.cs (9)
104.WithComputeEnvironment(env1); 107.WithComputeEnvironment(env2); 146.WithComputeEnvironment(kubernetes); 151.WithComputeEnvironment(dockerCompose); 156.WithComputeEnvironment(kubernetes); 161.WithComputeEnvironment(dockerCompose); 209.WithComputeEnvironment(dockerCompose) 236.WithComputeEnvironment(kubernetes); 240.WithComputeEnvironment(dockerCompose);
KubernetesIngressTests.cs (1)
449.WithComputeEnvironment(otherEnvironment);
KubernetesPublisherTests.cs (1)
2399.WithComputeEnvironment(envB)
Aspire.Hosting.Radius.Tests (8)
InnerLoop\MultiEnvironmentTests.cs (2)
61builder.AddContainer("api", "myapp/api:latest").WithComputeEnvironment(env1); 82builder.AddContainer("api", "myapp/api:latest").WithComputeEnvironment(env1);
Publishing\BackingResourceProjectionTests.cs (2)
166var cache = builder.AddRedis("cache").WithComputeEnvironment(envB); 168.WithComputeEnvironment(envA)
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)
273.WithComputeEnvironment(environment); 296.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)
39.WithComputeEnvironment(acaEnv) 326.WithComputeEnvironment(aasEnv)