18 references to MainInfrastructure
Aspire.Hosting.Azure (17)
AzurePublishingContext.cs (17)
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); 497MainInfrastructure.Add(pp); 500MainInfrastructure.Add(rg); 504MainInfrastructure.Add(module); 520MainInfrastructure.Add(bicepOutput); 602logger.LogDebug("Excluding {BicepName}.bicep from the output because {PropertyName} is set.", MainInfrastructure.BicepName, nameof(ExcludeMainBicepFile)); 606var plan = MainInfrastructure.Build(provisioningOptions.ProvisioningBuildOptions); 609logger.LogDebug("Writing Bicep module {BicepName}.bicep to {TargetPath}", MainInfrastructure.BicepName, outputDirectoryPath); 611var bicepPath = Path.Combine(outputDirectoryPath, $"{MainInfrastructure.BicepName}.bicep");
Aspire.Hosting.Azure.EntraId.Tests (1)
EntraIdProvisioningTests.cs (1)
682Assert.Single(context.MainInfrastructure.GetProvisionableResources().OfType<ProvisioningParameter>(),