WithApplicationInsights

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

Signature

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

Optional parameters are passed as the existing *AzureApiManagementDiagnosticOptions struct.

AzureApiManagementResource

The resource builder.

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

Applies to

This method applies to the following types: