3 instantiations of AzureApplicationInsightsResource
Aspire.Hosting.Azure.ApplicationInsights (1)
AzureApplicationInsightsExtensions.cs (1)
115var resource = new AzureApplicationInsightsResource(name, configureInfrastructure);
Aspire.Hosting.Azure.Tests (2)
PublicApiTests\ApplicationInsightsPublicApiTests.cs (2)
63var action = () => new AzureApplicationInsightsResource(name, configureInfrastructure); 77var action = () => new AzureApplicationInsightsResource(name, configureInfrastructure);
18 references to AzureApplicationInsightsResource
Aspire.Hosting.Azure.ApplicationInsights (12)
AzureApplicationInsightsExtensions.cs (12)
25public static IResourceBuilder<AzureApplicationInsightsResource> AddAzureApplicationInsights(this IDistributedApplicationBuilder builder, [ResourceName] string name) 35/// <remarks>This overload is not available in polyglot app hosts. Use <see cref="AddAzureApplicationInsights(IDistributedApplicationBuilder, string)"/> and <see cref="WithLogAnalyticsWorkspace(IResourceBuilder{AzureApplicationInsightsResource}, IResourceBuilder{AzureLogAnalyticsWorkspaceResource})"/> instead.</remarks> 37public static IResourceBuilder<AzureApplicationInsightsResource> AddAzureApplicationInsights( 49var azureResource = (AzureApplicationInsightsResource)infrastructure.AspireResource; 115var resource = new AzureApplicationInsightsResource(name, configureInfrastructure); 132/// <param name="builder">The resource builder for <see cref="AzureApplicationInsightsResource"/>.</param> 137public static IResourceBuilder<AzureApplicationInsightsResource> WithLogAnalyticsWorkspace( 138this IResourceBuilder<AzureApplicationInsightsResource> builder, 147/// <param name="builder">The resource builder for <see cref="AzureApplicationInsightsResource"/>.</param> 152public static IResourceBuilder<AzureApplicationInsightsResource> WithLogAnalyticsWorkspace( 153this IResourceBuilder<AzureApplicationInsightsResource> builder,
Aspire.Hosting.Azure.AppService (4)
AzureAppServiceEnvironmentExtensions.cs (3)
370[AspireUnion(typeof(string), typeof(IResourceBuilder<ParameterResource>), typeof(IResourceBuilder<AzureApplicationInsightsResource>))] object? applicationInsights = null) 379IResourceBuilder<AzureApplicationInsightsResource> applicationInsightsBuilder => builder.WithAzureApplicationInsights(applicationInsightsBuilder), 421public static IResourceBuilder<AzureAppServiceEnvironmentResource> WithAzureApplicationInsights(this IResourceBuilder<AzureAppServiceEnvironmentResource> builder, IResourceBuilder<AzureApplicationInsightsResource> applicationInsightsBuilder)
AzureAppServiceEnvironmentResource.cs (1)
417internal AzureApplicationInsightsResource? ApplicationInsightsResource { get; set; }
Aspire.Hosting.Foundry (2)
Project\ProjectBuilderExtension.cs (1)
119IResourceBuilder<AzureApplicationInsightsResource> appInsights)
Project\ProjectResource.cs (1)
195public AzureApplicationInsightsResource? AppInsights { get; set; }