From 6d11fadf98ae565cc56bfd77838fd0b3d77656f2 Mon Sep 17 00:00:00 2001 From: Scott Addie <10702007+scottaddie@users.noreply.github.com> Date: Thu, 8 Sep 2022 11:02:18 -0500 Subject: [PATCH] Add resource mode support verbiage to App Insights migration guide (#26082) --- .../azure-monitor-query/migration_guide_app_insights.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sdk/monitor/azure-monitor-query/migration_guide_app_insights.md b/sdk/monitor/azure-monitor-query/migration_guide_app_insights.md index b1612fb261c4..d6eabe71be2a 100644 --- a/sdk/monitor/azure-monitor-query/migration_guide_app_insights.md +++ b/sdk/monitor/azure-monitor-query/migration_guide_app_insights.md @@ -10,6 +10,7 @@ Familiarity with the `azure-applicationinsights` v0.1.0 package is assumed. If y - [Cross-service SDK improvements](#cross-service-sdk-improvements) - [New features](#new-features) - [Important changes](#important-changes) + - [Resource mode support](#resource-mode-support) - [The client](#the-client) - [Client constructors and authentication](#client-constructors-and-authentication) - [Send a single query request](#sending-a-single-query-request) @@ -42,6 +43,10 @@ For more new features, changes, and bug fixes, see the [change log](https://gith ## Important changes +### Resource mode support + +The Azure Monitor Query library doesn't support Application Insights resources using the [classic resource mode](https://docs.microsoft.com/azure/azure-monitor/app/create-new-resource). To use this library with a classic Application Insights resource, you must first [migrate to a workspace-based resource](https://docs.microsoft.com/azure/azure-monitor/app/convert-classic-resource). + ### The client To provide a more intuitive experience, the top-level client to [ApplicationInsightsDataClient](https://docs.microsoft.com/python/api/azure-applicationinsights/azure.applicationinsights.applicationinsightsdataclient?view=azure-python) has been split into two different clients: