19 references to MainInfrastructure
Aspire.Hosting.Azure (18)
AzurePublishingContext.cs (18)
60/// <see cref="MainInfrastructure"/>. <see cref="MainInfrastructure"/> remains available in memory, but 70/// The value is the <see cref="ProvisioningParameter"/> of the <see cref="MainInfrastructure"/> 79/// The value is the <see cref="ProvisioningOutput"/> of the <see cref="MainInfrastructure"/> 153MainInfrastructure.Add(resourceGroupParam); 156MainInfrastructure.Add(locationParam); 159MainInfrastructure.Add(principalId); 169MainInfrastructure.Add(deploymentPrincipalType); 240MainInfrastructure.Add(tenantResourceSuffix); 274MainInfrastructure.Add(parameter); 530MainInfrastructure.Add(pp); 533MainInfrastructure.Add(rg); 537MainInfrastructure.Add(module); 551MainInfrastructure.Add(bicepOutput); 633logger.LogDebug("Excluding {BicepName}.bicep from the output because {PropertyName} is set.", MainInfrastructure.BicepName, nameof(ExcludeMainBicepFile)); 637var plan = MainInfrastructure.Build(provisioningOptions.ProvisioningBuildOptions); 640logger.LogDebug("Writing Bicep module {BicepName}.bicep to {TargetPath}", MainInfrastructure.BicepName, outputDirectoryPath); 642var bicepPath = Path.Combine(outputDirectoryPath, $"{MainInfrastructure.BicepName}.bicep");
Aspire.Hosting.Azure.EntraId.Tests (1)
EntraIdProvisioningTests.cs (1)
944Assert.Single(context.MainInfrastructure.GetProvisionableResources().OfType<ProvisioningParameter>(),