Skip to content
DocsTry Aspire
DocsTry

AzureApplicationInsightsResource Constructors

ClassConstructors1 member
A resource that represents an Azure Application Insights resource.
Constructor(string, Action<AzureResourceInfrastructure>)Section titled Constructor(string, Action<AzureResourceInfrastructure>)
A resource that represents an Azure Application Insights resource.
public class AzureApplicationInsightsResource
{
public AzureApplicationInsightsResource(
string name,
Action<AzureResourceInfrastructure> configureInfrastructure)
{
// ...
}
}
namestringThe resource name.
configureInfrastructureAction<AzureResourceInfrastructure>Callback to configure the Azure Application Insights resource.