withLogAnalyticsWorkspace
Method
interface AzureApplicationInsightsResource { // ... omitted for brevity withLogAnalyticsWorkspace(logAnalyticsWorkspace: AzureLogAnalyticsWorkspaceResource): AzureApplicationInsightsResource;}Signature
method
withLogAnalyticsWorkspace builderConfigures the Application Insights resource to use the specified Log Analytics Workspace resource.
withLogAnalyticsWorkspace(logAnalyticsWorkspace: AzureLogAnalyticsWorkspaceResource): AzureApplicationInsightsResourceParameters
logAnalyticsWorkspace AzureLogAnalyticsWorkspaceResource The resource builder for the `AzureLogAnalyticsWorkspaceResource`.Returns
AzureApplicationInsightsResource Applies to
This method applies to the following types: