3 instantiations of AzureApplicationInsightsResource
Aspire.Hosting.Azure.ApplicationInsights (1)
AzureApplicationInsightsExtensions.cs (1)
114var 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);
16 references to AzureApplicationInsightsResource
Aspire.Hosting.Azure.ApplicationInsights (12)
AzureApplicationInsightsExtensions.cs (12)
24public static IResourceBuilder<AzureApplicationInsightsResource> AddAzureApplicationInsights(this IDistributedApplicationBuilder builder, [ResourceName] string name) 34/// <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> 36public static IResourceBuilder<AzureApplicationInsightsResource> AddAzureApplicationInsights( 48var azureResource = (AzureApplicationInsightsResource)infrastructure.AspireResource; 114var resource = new AzureApplicationInsightsResource(name, configureInfrastructure); 130/// <param name="builder">The resource builder for <see cref="AzureApplicationInsightsResource"/>.</param> 135public static IResourceBuilder<AzureApplicationInsightsResource> WithLogAnalyticsWorkspace( 136this IResourceBuilder<AzureApplicationInsightsResource> builder, 145/// <param name="builder">The resource builder for <see cref="AzureApplicationInsightsResource"/>.</param> 149public static IResourceBuilder<AzureApplicationInsightsResource> WithLogAnalyticsWorkspace( 150this IResourceBuilder<AzureApplicationInsightsResource> builder,
Aspire.Hosting.Azure.AppService (2)
AzureAppServiceEnvironmentExtensions.cs (1)
290public static IResourceBuilder<AzureAppServiceEnvironmentResource> WithAzureApplicationInsights(this IResourceBuilder<AzureAppServiceEnvironmentResource> builder, IResourceBuilder<AzureApplicationInsightsResource> applicationInsightsBuilder)
AzureAppServiceEnvironmentResource.cs (1)
301internal AzureApplicationInsightsResource? ApplicationInsightsResource { get; set; }
Aspire.Hosting.Foundry (2)
Project\ProjectBuilderExtension.cs (1)
141IResourceBuilder<AzureApplicationInsightsResource> appInsights)
Project\ProjectResource.cs (1)
173public AzureApplicationInsightsResource? AppInsights { get; set; }