AzureCognitiveServicesProjectResource.withAppInsights

Method
📦 Aspire.Hosting.Foundry v17.0.0-preview.1.26567.5
interface AzureCognitiveServicesProjectResource {
// ... omitted for brevity
withAppInsights(appInsights: AzureApplicationInsightsResource): AzureCognitiveServicesProjectResource;
}

Signature

methodwithAppInsightsbuilder
Adds an Application Insights resource to the Microsoft Foundry project, overriding the default (which is to create a new Application Insights resource).
withAppInsights(appInsights: AzureApplicationInsightsResource): AzureCognitiveServicesProjectResource
appInsightsAzureApplicationInsightsResourceThe Application Insights resource to associate with the project.
AzureCognitiveServicesProjectResource

Defined on

This method is defined on the following type: