WithApplicationInsights

Method
📦 Aspire.Hosting.Azure.ApiManagement v17.0.0-preview.1.26567.5
func (AzureApiManagementApiResource) WithApplicationInsights(
applicationInsights AzureApplicationInsightsResource,
options ...*AzureApiManagementDiagnosticOptions,
) AzureApiManagementApiResource

Signature

methodWithApplicationInsightsbuilder
Sends API-level API Management diagnostics to Application Insights.
WithApplicationInsights(
applicationInsights AzureApplicationInsightsResource,
options ...*AzureApiManagementDiagnosticOptions,
) AzureApiManagementApiResource
applicationInsightsAzureApplicationInsightsResourceThe Application Insights resource.
options...*AzureApiManagementDiagnosticOptionsOptional settings, described under Options.

Optional parameters are passed as the existing *AzureApiManagementDiagnosticOptions struct.

AzureApiManagementApiResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: