3 instantiations of AzureApplicationInsightsResource
Aspire.Hosting.Azure.ApplicationInsights (1)
AzureApplicationInsightsExtensions.cs (1)
111var 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);
14 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; 111var resource = new AzureApplicationInsightsResource(name, configureInfrastructure); 127/// <param name="builder">The resource builder for <see cref="AzureApplicationInsightsResource"/>.</param> 132public static IResourceBuilder<AzureApplicationInsightsResource> WithLogAnalyticsWorkspace( 133this IResourceBuilder<AzureApplicationInsightsResource> builder, 142/// <param name="builder">The resource builder for <see cref="AzureApplicationInsightsResource"/>.</param> 146public static IResourceBuilder<AzureApplicationInsightsResource> WithLogAnalyticsWorkspace( 147this IResourceBuilder<AzureApplicationInsightsResource> builder,
Aspire.Hosting.Azure.AppService (2)
AzureAppServiceEnvironmentExtensions.cs (1)
284public static IResourceBuilder<AzureAppServiceEnvironmentResource> WithAzureApplicationInsights(this IResourceBuilder<AzureAppServiceEnvironmentResource> builder, IResourceBuilder<AzureApplicationInsightsResource> applicationInsightsBuilder)
AzureAppServiceEnvironmentResource.cs (1)
301internal AzureApplicationInsightsResource? ApplicationInsightsResource { get; set; }