addAzureApplicationInsights
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addAzureApplicationInsights(name: string): AzureApplicationInsightsResource;}Signature
method
addAzureApplicationInsights builderAdds an Azure Application Insights resource to the application model.
addAzureApplicationInsights(name: string): AzureApplicationInsightsResourceParameters
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.Returns
AzureApplicationInsightsResource Applies to
This method applies to the following types: