From 86f75fa8a0f4fbc901b41226a9f971f8bf77046e Mon Sep 17 00:00:00 2001 From: Yu Chen Date: Thu, 3 Sep 2020 11:21:34 +0800 Subject: [PATCH] [Monitor] Ask users to consent during APM migration (#2254) --- src/application-insights/HISTORY.rst | 5 + .../azext_applicationinsights/commands.py | 6 +- .../azext_applicationinsights/custom.py | 29 + .../test_component_with_linked_workspace.yaml | 656 +++++++++++++++--- ..._component_with_public_network_access.yaml | 332 ++++++--- src/application-insights/setup.py | 2 +- 6 files changed, 840 insertions(+), 190 deletions(-) diff --git a/src/application-insights/HISTORY.rst b/src/application-insights/HISTORY.rst index 4264c066fd2..6ba06289a10 100644 --- a/src/application-insights/HISTORY.rst +++ b/src/application-insights/HISTORY.rst @@ -1,3 +1,8 @@ +0.1.10 +++++++++++++++++++ + +* `az monitor app-insights component update`: Prompt consent when migrating to workspace-centric workspace. + 0.1.9 ++++++++++++++++++ diff --git a/src/application-insights/azext_applicationinsights/commands.py b/src/application-insights/azext_applicationinsights/commands.py index 2e0814298a8..a169609d539 100644 --- a/src/application-insights/azext_applicationinsights/commands.py +++ b/src/application-insights/azext_applicationinsights/commands.py @@ -72,7 +72,7 @@ def load_command_table(self, _): with self.command_group('monitor app-insights component', command_type=components_sdk, custom_command_type=components_custom_sdk) as g: g.custom_command('create', 'create_or_update_component') g.custom_command('update', 'update_component') - g.custom_command('show', 'show_components') + g.custom_show_command('show', 'show_components') g.custom_command('delete', 'delete_component') g.custom_command('update-tags', 'update_component_tags') @@ -86,11 +86,11 @@ def load_command_table(self, _): g.custom_command('delete', 'delete_api_key') with self.command_group('monitor app-insights metrics', metrics_sdk) as g: - g.custom_command('show', 'get_metric') + g.custom_show_command('show', 'get_metric') g.custom_command('get-metadata', 'get_metrics_metadata') with self.command_group('monitor app-insights events', events_sdk) as g: - g.custom_command('show', 'get_events') + g.custom_show_command('show', 'get_events') with self.command_group('monitor app-insights', query_sdk) as g: g.custom_command('query', 'execute_query') diff --git a/src/application-insights/azext_applicationinsights/custom.py b/src/application-insights/azext_applicationinsights/custom.py index 8859fd5147c..6ef3badcda8 100644 --- a/src/application-insights/azext_applicationinsights/custom.py +++ b/src/application-insights/azext_applicationinsights/custom.py @@ -75,6 +75,32 @@ def create_or_update_component(cmd, client, application, resource_group_name, lo raise ex +def _is_workspace_centric(workspace): + return workspace.properties['features']['enableLogAccessUsingOnlyResourcePermissions'] is False + + +def _is_resource_centric(workspace): + return workspace.properties['features']['enableLogAccessUsingOnlyResourcePermissions'] is True + + +# Here are two cases that need users' consent during APM (Application Performance Management) migration: +# 1. Bind a workspace-centric workspace to a classic AI (no workspace integration). +# 2. Migrate a resource-centric workspace to a workspace-centric workspace for an AI. +def _apm_migration_consent(cmd, new_workspace_resource_id, existing_workspace_resource_id): + from azure.cli.command_modules.resource.custom import show_resource + new_workspace = show_resource(cmd, [new_workspace_resource_id]) + if _is_workspace_centric(new_workspace): + if existing_workspace_resource_id: + existing_workspace = show_resource(cmd, [existing_workspace_resource_id]) + need_consent = _is_resource_centric(existing_workspace) + else: # This is a classic AI which isn't binding to a log analytics workspace. + need_consent = True + + if need_consent: + from azure.cli.core.util import user_confirmation + user_confirmation('Specified workspace is configured with workspace-based access mode and some APM features may be impacted. Please refer to https://aka.ms/apm-workspace-access-mode for details. Do you want to continue?') + + def update_component(cmd, client, application, resource_group_name, kind=None, workspace_resource_id=None, public_network_access_for_ingestion=None, public_network_access_for_query=None, retention_in_days=None): from ._client_factory import applicationinsights_mgmt_plane_client @@ -87,6 +113,9 @@ def update_component(cmd, client, application, resource_group_name, kind=None, w except CloudError as ex: ex.error._message = ex.error._message + HELP_MESSAGE raise ex + + _apm_migration_consent(cmd, workspace_resource_id, existing_component.workspace_resource_id) + existing_component.workspace_resource_id = workspace_resource_id or None else: existing_component = client.get(resource_group_name, application) diff --git a/src/application-insights/azext_applicationinsights/tests/latest/recordings/test_component_with_linked_workspace.yaml b/src/application-insights/azext_applicationinsights/tests/latest/recordings/test_component_with_linked_workspace.yaml index 953c00247be..ab4f62889ac 100644 --- a/src/application-insights/azext_applicationinsights/tests/latest/recordings/test_component_with_linked_workspace.yaml +++ b/src/application-insights/azext_applicationinsights/tests/latest/recordings/test_component_with_linked_workspace.yaml @@ -13,24 +13,24 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-08-17T08:30:21Z","StorageType":"Standard_LRS"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-09-02T06:20:09Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '457' + - '428' content-type: - application/json; charset=utf-8 date: - - Mon, 17 Aug 2020 08:30:50 GMT + - Wed, 02 Sep 2020 06:20:12 GMT expires: - '-1' pragma: @@ -63,8 +63,8 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-loganalytics/0.7.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: PUT @@ -72,17 +72,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"482cf201-d500-4957-92e2-04ecf5c5a519\",\r\n \"provisioningState\": \"Creating\",\r\n + \"fb3907ac-7b22-4d08-a20b-8ed1461eed85\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"maxCapacityReservationLevel\": - 3000,\r\n \"lastSkuUpdate\": \"Mon, 17 Aug 2020 08:30:53 GMT\"\r\n },\r\n + 3000,\r\n \"lastSkuUpdate\": \"Wed, 02 Sep 2020 06:20:19 GMT\"\r\n },\r\n \ \"retentionInDays\": 30,\r\n \"features\": {\r\n \"legacy\": 0,\r\n \ \"searchVersion\": 1,\r\n \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n - \ \"quotaNextResetTime\": \"Mon, 17 Aug 2020 20:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Wed, 02 Sep 2020 17:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Mon, 17 Aug 2020 08:30:53 GMT\",\r\n \"modifiedDate\": \"Mon, 17 Aug - 2020 08:30:53 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n + \"Wed, 02 Sep 2020 06:20:19 GMT\",\r\n \"modifiedDate\": \"Wed, 02 Sep + 2020 06:20:19 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n \ \"name\": \"clitest000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"westus\"\r\n}" headers: @@ -93,7 +93,7 @@ interactions: content-type: - application/json date: - - Mon, 17 Aug 2020 08:30:54 GMT + - Wed, 02 Sep 2020 06:20:20 GMT pragma: - no-cache server: @@ -104,7 +104,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET - ASP.NET @@ -125,24 +125,24 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-loganalytics/0.7.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.11.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2020-03-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"482cf201-d500-4957-92e2-04ecf5c5a519\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"fb3907ac-7b22-4d08-a20b-8ed1461eed85\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"maxCapacityReservationLevel\": - 3000,\r\n \"lastSkuUpdate\": \"Mon, 17 Aug 2020 08:30:53 GMT\"\r\n },\r\n + 3000,\r\n \"lastSkuUpdate\": \"Wed, 02 Sep 2020 06:20:19 GMT\"\r\n },\r\n \ \"retentionInDays\": 30,\r\n \"features\": {\r\n \"legacy\": 0,\r\n \ \"searchVersion\": 1,\r\n \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n - \ \"quotaNextResetTime\": \"Mon, 17 Aug 2020 20:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Wed, 02 Sep 2020 17:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Mon, 17 Aug 2020 08:30:53 GMT\",\r\n \"modifiedDate\": \"Mon, 17 Aug - 2020 08:30:55 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n + \"Wed, 02 Sep 2020 06:20:19 GMT\",\r\n \"modifiedDate\": \"Wed, 02 Sep + 2020 06:20:21 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n \ \"name\": \"clitest000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"westus\"\r\n}" headers: @@ -153,7 +153,7 @@ interactions: content-type: - application/json date: - - Mon, 17 Aug 2020 08:31:25 GMT + - Wed, 02 Sep 2020 06:20:52 GMT pragma: - no-cache server: @@ -187,24 +187,24 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-08-17T08:30:21Z","StorageType":"Standard_LRS"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-09-02T06:20:09Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '457' + - '428' content-type: - application/json; charset=utf-8 date: - - Mon, 17 Aug 2020 08:31:26 GMT + - Wed, 02 Sep 2020 06:20:53 GMT expires: - '-1' pragma: @@ -237,8 +237,8 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-loganalytics/0.7.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: PUT @@ -246,17 +246,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"f0b6cdcd-67ca-4bc8-ad1d-7f391fca1d97\",\r\n \"provisioningState\": \"Creating\",\r\n + \"498152da-a53d-46b8-9c26-c06cbba73936\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"maxCapacityReservationLevel\": - 3000,\r\n \"lastSkuUpdate\": \"Mon, 17 Aug 2020 08:31:30 GMT\"\r\n },\r\n + 3000,\r\n \"lastSkuUpdate\": \"Wed, 02 Sep 2020 06:20:59 GMT\"\r\n },\r\n \ \"retentionInDays\": 30,\r\n \"features\": {\r\n \"legacy\": 0,\r\n \ \"searchVersion\": 1,\r\n \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n - \ \"quotaNextResetTime\": \"Mon, 17 Aug 2020 14:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 03 Sep 2020 01:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Mon, 17 Aug 2020 08:31:30 GMT\",\r\n \"modifiedDate\": \"Mon, 17 Aug - 2020 08:31:30 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n + \"Wed, 02 Sep 2020 06:20:59 GMT\",\r\n \"modifiedDate\": \"Wed, 02 Sep + 2020 06:20:59 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n \ \"name\": \"clitest000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"westus\"\r\n}" headers: @@ -267,7 +267,7 @@ interactions: content-type: - application/json date: - - Mon, 17 Aug 2020 08:31:30 GMT + - Wed, 02 Sep 2020 06:21:00 GMT pragma: - no-cache server: @@ -278,7 +278,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' x-powered-by: - ASP.NET - ASP.NET @@ -299,24 +299,24 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-loganalytics/0.7.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.11.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003?api-version=2020-03-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"f0b6cdcd-67ca-4bc8-ad1d-7f391fca1d97\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"498152da-a53d-46b8-9c26-c06cbba73936\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"maxCapacityReservationLevel\": - 3000,\r\n \"lastSkuUpdate\": \"Mon, 17 Aug 2020 08:31:30 GMT\"\r\n },\r\n + 3000,\r\n \"lastSkuUpdate\": \"Wed, 02 Sep 2020 06:20:59 GMT\"\r\n },\r\n \ \"retentionInDays\": 30,\r\n \"features\": {\r\n \"legacy\": 0,\r\n \ \"searchVersion\": 1,\r\n \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n - \ \"quotaNextResetTime\": \"Mon, 17 Aug 2020 14:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 03 Sep 2020 01:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Mon, 17 Aug 2020 08:31:30 GMT\",\r\n \"modifiedDate\": \"Mon, 17 Aug - 2020 08:31:30 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n + \"Wed, 02 Sep 2020 06:20:59 GMT\",\r\n \"modifiedDate\": \"Wed, 02 Sep + 2020 06:21:02 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n \ \"name\": \"clitest000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"westus\"\r\n}" headers: @@ -327,7 +327,7 @@ interactions: content-type: - application/json date: - - Mon, 17 Aug 2020 08:32:00 GMT + - Wed, 02 Sep 2020 06:21:31 GMT pragma: - no-cache server: @@ -366,26 +366,26 @@ interactions: ParameterSetName: - --app --location --kind -g --application-type User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-applicationinsights/0.2.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-applicationinsights/0.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Insights/components/demoApp?api-version=2018-05-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"1300e1c6-0000-0700-0000-5f3a40840000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"b36daad9-f131-47a3-a3f1-7e8ec0abb79c","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"a4cf9cd3-94b5-49d3-869d-7f56e53909b3","ConnectionString":"InstrumentationKey=a4cf9cd3-94b5-49d3-869d-7f56e53909b3","Name":"demoApp","CreationDate":"2020-08-17T08:32:04.8248395+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"IngestionMode":"ApplicationInsights","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"1600da8a-0000-0700-0000-5f4f39f50000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"86d37007-e6ee-4d55-ac93-c400d02a3465","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"9f138d6c-07e6-460b-b980-6c0ac0262107","ConnectionString":"InstrumentationKey=9f138d6c-07e6-460b-b980-6c0ac0262107","Name":"demoApp","CreationDate":"2020-09-02T06:21:41.014116+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"IngestionMode":"ApplicationInsights","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '976' + - '975' content-type: - application/json; charset=utf-8 date: - - Mon, 17 Aug 2020 08:32:07 GMT + - Wed, 02 Sep 2020 06:21:42 GMT expires: - '-1' pragma: @@ -403,7 +403,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1199' x-powered-by: - ASP.NET status: @@ -423,26 +423,26 @@ interactions: ParameterSetName: - --app --workspace -g User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-applicationinsights/0.2.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-applicationinsights/0.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Insights/components/demoApp?api-version=2020-02-02-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"1300e1c6-0000-0700-0000-5f3a40840000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"b36daad9-f131-47a3-a3f1-7e8ec0abb79c","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"a4cf9cd3-94b5-49d3-869d-7f56e53909b3","ConnectionString":"InstrumentationKey=a4cf9cd3-94b5-49d3-869d-7f56e53909b3","Name":"demoApp","CreationDate":"2020-08-17T08:32:04.8248395+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"IngestionMode":"ApplicationInsights","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"1600da8a-0000-0700-0000-5f4f39f50000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"86d37007-e6ee-4d55-ac93-c400d02a3465","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"9f138d6c-07e6-460b-b980-6c0ac0262107","ConnectionString":"InstrumentationKey=9f138d6c-07e6-460b-b980-6c0ac0262107","Name":"demoApp","CreationDate":"2020-09-02T06:21:41.014116+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"IngestionMode":"ApplicationInsights","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '976' + - '975' content-type: - application/json; charset=utf-8 date: - - Mon, 17 Aug 2020 08:32:08 GMT + - Wed, 02 Sep 2020 06:21:43 GMT expires: - '-1' pragma: @@ -464,6 +464,160 @@ interactions: status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor app-insights component update + Connection: + - keep-alive + ParameterSetName: + - --app --workspace -g + User-Agent: + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.OperationalInsights?api-version=2020-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '6611' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 02 Sep 2020 06:21:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor app-insights component update + Connection: + - keep-alive + ParameterSetName: + - --app --workspace -g + User-Agent: + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000002?api-version=2020-08-01 + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"fb3907ac-7b22-4d08-a20b-8ed1461eed85\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"maxCapacityReservationLevel\": + 3000,\r\n \"lastSkuUpdate\": \"Wed, 02 Sep 2020 06:20:19 GMT\"\r\n },\r\n + \ \"retentionInDays\": 30,\r\n \"features\": {\r\n \"legacy\": 0,\r\n + \ \"searchVersion\": 1,\r\n \"enableLogAccessUsingOnlyResourcePermissions\": + true\r\n },\r\n \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n + \ \"quotaNextResetTime\": \"Wed, 02 Sep 2020 17:00:00 GMT\",\r\n \"dataIngestionStatus\": + \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n + \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": + \"Wed, 02 Sep 2020 06:20:19 GMT\",\r\n \"modifiedDate\": \"Wed, 02 Sep + 2020 06:20:21 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n + \ \"name\": \"clitest000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"westus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1178' + content-type: + - application/json + date: + - Wed, 02 Sep 2020 06:21:45 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK - request: body: '{"location": "westus", "tags": {}, "kind": "web", "properties": {"Application_Type": "web", "Flow_Type": "Bluefield", "Request_Source": "rest", "WorkspaceResourceId": @@ -486,26 +640,26 @@ interactions: ParameterSetName: - --app --workspace -g User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-applicationinsights/0.2.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-applicationinsights/0.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Insights/components/demoApp?api-version=2020-02-02-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"1300ebc6-0000-0700-0000-5f3a40890000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"b36daad9-f131-47a3-a3f1-7e8ec0abb79c","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"a4cf9cd3-94b5-49d3-869d-7f56e53909b3","ConnectionString":"InstrumentationKey=a4cf9cd3-94b5-49d3-869d-7f56e53909b3","Name":"demoApp","CreationDate":"2020-08-17T08:32:04.8248395+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000002","LaMigrationDate":"2020-08-17T08:32:09.9554675+00:00","IngestionMode":"LogAnalytics","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"1600e78a-0000-0700-0000-5f4f39fb0000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"86d37007-e6ee-4d55-ac93-c400d02a3465","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"9f138d6c-07e6-460b-b980-6c0ac0262107","ConnectionString":"InstrumentationKey=9f138d6c-07e6-460b-b980-6c0ac0262107","Name":"demoApp","CreationDate":"2020-09-02T06:21:41.014116+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000002","LaMigrationDate":"2020-09-02T06:21:47.4370798+00:00","IngestionMode":"LogAnalytics","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1262' + - '1261' content-type: - application/json; charset=utf-8 date: - - Mon, 17 Aug 2020 08:32:11 GMT + - Wed, 02 Sep 2020 06:21:48 GMT expires: - '-1' pragma: @@ -523,7 +677,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1199' x-powered-by: - ASP.NET status: @@ -543,26 +697,26 @@ interactions: ParameterSetName: - --app --workspace -g User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-applicationinsights/0.2.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-applicationinsights/0.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Insights/components/demoApp?api-version=2020-02-02-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"1300ebc6-0000-0700-0000-5f3a40890000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"b36daad9-f131-47a3-a3f1-7e8ec0abb79c","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"a4cf9cd3-94b5-49d3-869d-7f56e53909b3","ConnectionString":"InstrumentationKey=a4cf9cd3-94b5-49d3-869d-7f56e53909b3","Name":"demoApp","CreationDate":"2020-08-17T08:32:04.8248395+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000002","LaMigrationDate":"2020-08-17T08:32:09.9554675+00:00","IngestionMode":"LogAnalytics","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"1600e78a-0000-0700-0000-5f4f39fb0000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"86d37007-e6ee-4d55-ac93-c400d02a3465","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"9f138d6c-07e6-460b-b980-6c0ac0262107","ConnectionString":"InstrumentationKey=9f138d6c-07e6-460b-b980-6c0ac0262107","Name":"demoApp","CreationDate":"2020-09-02T06:21:41.014116+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000002","LaMigrationDate":"2020-09-02T06:21:47.4370798+00:00","IngestionMode":"LogAnalytics","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1262' + - '1261' content-type: - application/json; charset=utf-8 date: - - Mon, 17 Aug 2020 08:32:12 GMT + - Wed, 02 Sep 2020 06:21:50 GMT expires: - '-1' pragma: @@ -584,6 +738,160 @@ interactions: status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor app-insights component update + Connection: + - keep-alive + ParameterSetName: + - --app --workspace -g + User-Agent: + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.OperationalInsights?api-version=2020-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '6611' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 02 Sep 2020 06:21:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor app-insights component update + Connection: + - keep-alive + ParameterSetName: + - --app --workspace -g + User-Agent: + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000003?api-version=2020-08-01 + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"498152da-a53d-46b8-9c26-c06cbba73936\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"maxCapacityReservationLevel\": + 3000,\r\n \"lastSkuUpdate\": \"Wed, 02 Sep 2020 06:20:59 GMT\"\r\n },\r\n + \ \"retentionInDays\": 30,\r\n \"features\": {\r\n \"legacy\": 0,\r\n + \ \"searchVersion\": 1,\r\n \"enableLogAccessUsingOnlyResourcePermissions\": + true\r\n },\r\n \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n + \ \"quotaNextResetTime\": \"Thu, 03 Sep 2020 01:00:00 GMT\",\r\n \"dataIngestionStatus\": + \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n + \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": + \"Wed, 02 Sep 2020 06:20:59 GMT\",\r\n \"modifiedDate\": \"Wed, 02 Sep + 2020 06:21:02 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n + \ \"name\": \"clitest000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"westus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1178' + content-type: + - application/json + date: + - Wed, 02 Sep 2020 06:21:51 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK - request: body: '{"location": "westus", "tags": {}, "kind": "web", "properties": {"Application_Type": "web", "Flow_Type": "Bluefield", "Request_Source": "rest", "WorkspaceResourceId": @@ -606,26 +914,26 @@ interactions: ParameterSetName: - --app --workspace -g User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-applicationinsights/0.2.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-applicationinsights/0.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Insights/components/demoApp?api-version=2020-02-02-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"1300f7c6-0000-0700-0000-5f3a408f0000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"b36daad9-f131-47a3-a3f1-7e8ec0abb79c","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"a4cf9cd3-94b5-49d3-869d-7f56e53909b3","ConnectionString":"InstrumentationKey=a4cf9cd3-94b5-49d3-869d-7f56e53909b3","Name":"demoApp","CreationDate":"2020-08-17T08:32:04.8248395+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000003","LaMigrationDate":"2020-08-17T08:32:09.9554675+00:00","IngestionMode":"LogAnalytics","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"1600f18a-0000-0700-0000-5f4f3a010000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"86d37007-e6ee-4d55-ac93-c400d02a3465","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"9f138d6c-07e6-460b-b980-6c0ac0262107","ConnectionString":"InstrumentationKey=9f138d6c-07e6-460b-b980-6c0ac0262107","Name":"demoApp","CreationDate":"2020-09-02T06:21:41.014116+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000003","LaMigrationDate":"2020-09-02T06:21:47.4370798+00:00","IngestionMode":"LogAnalytics","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1262' + - '1261' content-type: - application/json; charset=utf-8 date: - - Mon, 17 Aug 2020 08:32:15 GMT + - Wed, 02 Sep 2020 06:21:54 GMT expires: - '-1' pragma: @@ -643,7 +951,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1198' x-powered-by: - ASP.NET status: @@ -663,26 +971,26 @@ interactions: ParameterSetName: - --app --workspace --kind -g User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-applicationinsights/0.2.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-applicationinsights/0.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Insights/components/demoApp?api-version=2020-02-02-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"1300f7c6-0000-0700-0000-5f3a408f0000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"b36daad9-f131-47a3-a3f1-7e8ec0abb79c","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"a4cf9cd3-94b5-49d3-869d-7f56e53909b3","ConnectionString":"InstrumentationKey=a4cf9cd3-94b5-49d3-869d-7f56e53909b3","Name":"demoApp","CreationDate":"2020-08-17T08:32:04.8248395+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000003","LaMigrationDate":"2020-08-17T08:32:09.9554675+00:00","IngestionMode":"LogAnalytics","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"1600f18a-0000-0700-0000-5f4f3a010000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"86d37007-e6ee-4d55-ac93-c400d02a3465","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"9f138d6c-07e6-460b-b980-6c0ac0262107","ConnectionString":"InstrumentationKey=9f138d6c-07e6-460b-b980-6c0ac0262107","Name":"demoApp","CreationDate":"2020-09-02T06:21:41.014116+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000003","LaMigrationDate":"2020-09-02T06:21:47.4370798+00:00","IngestionMode":"LogAnalytics","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1262' + - '1261' content-type: - application/json; charset=utf-8 date: - - Mon, 17 Aug 2020 08:32:16 GMT + - Wed, 02 Sep 2020 06:21:55 GMT expires: - '-1' pragma: @@ -704,6 +1012,160 @@ interactions: status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor app-insights component update + Connection: + - keep-alive + ParameterSetName: + - --app --workspace --kind -g + User-Agent: + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.OperationalInsights?api-version=2020-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '6611' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 02 Sep 2020 06:21:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor app-insights component update + Connection: + - keep-alive + ParameterSetName: + - --app --workspace --kind -g + User-Agent: + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000002?api-version=2020-08-01 + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"fb3907ac-7b22-4d08-a20b-8ed1461eed85\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"maxCapacityReservationLevel\": + 3000,\r\n \"lastSkuUpdate\": \"Wed, 02 Sep 2020 06:20:19 GMT\"\r\n },\r\n + \ \"retentionInDays\": 30,\r\n \"features\": {\r\n \"legacy\": 0,\r\n + \ \"searchVersion\": 1,\r\n \"enableLogAccessUsingOnlyResourcePermissions\": + true\r\n },\r\n \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n + \ \"quotaNextResetTime\": \"Wed, 02 Sep 2020 17:00:00 GMT\",\r\n \"dataIngestionStatus\": + \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n + \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": + \"Wed, 02 Sep 2020 06:20:19 GMT\",\r\n \"modifiedDate\": \"Wed, 02 Sep + 2020 06:20:21 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n + \ \"name\": \"clitest000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"westus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1178' + content-type: + - application/json + date: + - Wed, 02 Sep 2020 06:21:56 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK - request: body: '{"location": "westus", "tags": {}, "kind": "ios", "properties": {"Application_Type": "web", "Flow_Type": "Bluefield", "Request_Source": "rest", "WorkspaceResourceId": @@ -726,26 +1188,26 @@ interactions: ParameterSetName: - --app --workspace --kind -g User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-applicationinsights/0.2.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-applicationinsights/0.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Insights/components/demoApp?api-version=2020-02-02-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"ios","etag":"\"1300fcc6-0000-0700-0000-5f3a40920000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"b36daad9-f131-47a3-a3f1-7e8ec0abb79c","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"a4cf9cd3-94b5-49d3-869d-7f56e53909b3","ConnectionString":"InstrumentationKey=a4cf9cd3-94b5-49d3-869d-7f56e53909b3","Name":"demoApp","CreationDate":"2020-08-17T08:32:04.8248395+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000002","LaMigrationDate":"2020-08-17T08:32:09.9554675+00:00","IngestionMode":"LogAnalytics","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"ios","etag":"\"1600f98a-0000-0700-0000-5f4f3a070000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"86d37007-e6ee-4d55-ac93-c400d02a3465","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"9f138d6c-07e6-460b-b980-6c0ac0262107","ConnectionString":"InstrumentationKey=9f138d6c-07e6-460b-b980-6c0ac0262107","Name":"demoApp","CreationDate":"2020-09-02T06:21:41.014116+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000002","LaMigrationDate":"2020-09-02T06:21:47.4370798+00:00","IngestionMode":"LogAnalytics","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1262' + - '1261' content-type: - application/json; charset=utf-8 date: - - Mon, 17 Aug 2020 08:32:19 GMT + - Wed, 02 Sep 2020 06:22:03 GMT expires: - '-1' pragma: @@ -763,7 +1225,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1199' x-powered-by: - ASP.NET status: @@ -789,15 +1251,15 @@ interactions: ParameterSetName: - --app --workspace --location --kind -g --application-type User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-applicationinsights/0.2.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-applicationinsights/0.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Insights/components/testApp?api-version=2020-02-02-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/testApp","name":"testApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"ios","etag":"\"130006c7-0000-0700-0000-5f3a40970000\"","properties":{"Ver":"v2","ApplicationId":"testApp","AppId":"a9c7e1d4-cbd8-44d6-94fb-a1466710fe85","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"89bdea8a-7256-4100-948a-c745f4e46fb2","ConnectionString":"InstrumentationKey=89bdea8a-7256-4100-948a-c745f4e46fb2","Name":"testApp","CreationDate":"2020-08-17T08:32:23.3533367+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000003","IngestionMode":"LogAnalytics","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/testApp","name":"testApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"ios","etag":"\"16000a8b-0000-0700-0000-5f4f3a110000\"","properties":{"Ver":"v2","ApplicationId":"testApp","AppId":"5e9f60eb-b678-4918-a296-7d188d783b44","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"f117d61c-f5bc-4e32-bd91-a93e00d4577a","ConnectionString":"InstrumentationKey=f117d61c-f5bc-4e32-bd91-a93e00d4577a","Name":"testApp","CreationDate":"2020-09-02T06:22:08.8098289+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000003","IngestionMode":"LogAnalytics","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' headers: access-control-expose-headers: - Request-Context @@ -808,7 +1270,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 17 Aug 2020 08:32:25 GMT + - Wed, 02 Sep 2020 06:22:10 GMT expires: - '-1' pragma: @@ -826,7 +1288,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1189' + - '1198' x-powered-by: - ASP.NET status: @@ -846,15 +1308,15 @@ interactions: ParameterSetName: - --app --kind -g User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-applicationinsights/0.2.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-applicationinsights/0.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Insights/components/testApp?api-version=2018-05-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/testApp","name":"testApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"ios","etag":"\"130006c7-0000-0700-0000-5f3a40970000\"","properties":{"Ver":"v2","ApplicationId":"testApp","AppId":"a9c7e1d4-cbd8-44d6-94fb-a1466710fe85","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"89bdea8a-7256-4100-948a-c745f4e46fb2","ConnectionString":"InstrumentationKey=89bdea8a-7256-4100-948a-c745f4e46fb2","Name":"testApp","CreationDate":"2020-08-17T08:32:23.3533367+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000003","IngestionMode":"LogAnalytics","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/testApp","name":"testApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"ios","etag":"\"16000a8b-0000-0700-0000-5f4f3a110000\"","properties":{"Ver":"v2","ApplicationId":"testApp","AppId":"5e9f60eb-b678-4918-a296-7d188d783b44","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"f117d61c-f5bc-4e32-bd91-a93e00d4577a","ConnectionString":"InstrumentationKey=f117d61c-f5bc-4e32-bd91-a93e00d4577a","Name":"testApp","CreationDate":"2020-09-02T06:22:08.8098289+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000003","IngestionMode":"LogAnalytics","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' headers: access-control-expose-headers: - Request-Context @@ -865,7 +1327,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 17 Aug 2020 08:32:26 GMT + - Wed, 02 Sep 2020 06:22:11 GMT expires: - '-1' pragma: @@ -908,15 +1370,15 @@ interactions: ParameterSetName: - --app --kind -g User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-applicationinsights/0.2.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-applicationinsights/0.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Insights/components/testApp?api-version=2018-05-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/testApp","name":"testApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"ios","etag":"\"130013c7-0000-0700-0000-5f3a409b0000\"","properties":{"Ver":"v2","ApplicationId":"testApp","AppId":"a9c7e1d4-cbd8-44d6-94fb-a1466710fe85","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"89bdea8a-7256-4100-948a-c745f4e46fb2","ConnectionString":"InstrumentationKey=89bdea8a-7256-4100-948a-c745f4e46fb2","Name":"testApp","CreationDate":"2020-08-17T08:32:23.3533367+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"Retention":"P90D","WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000003","IngestionMode":"ApplicationInsights","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/testApp","name":"testApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"ios","etag":"\"1600128b-0000-0700-0000-5f4f3a150000\"","properties":{"Ver":"v2","ApplicationId":"testApp","AppId":"5e9f60eb-b678-4918-a296-7d188d783b44","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"f117d61c-f5bc-4e32-bd91-a93e00d4577a","ConnectionString":"InstrumentationKey=f117d61c-f5bc-4e32-bd91-a93e00d4577a","Name":"testApp","CreationDate":"2020-09-02T06:22:08.8098289+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"Retention":"P90D","WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000003","IngestionMode":"ApplicationInsights","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' headers: access-control-expose-headers: - Request-Context @@ -927,7 +1389,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 17 Aug 2020 08:32:28 GMT + - Wed, 02 Sep 2020 06:22:14 GMT expires: - '-1' pragma: @@ -945,7 +1407,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1198' x-powered-by: - ASP.NET status: diff --git a/src/application-insights/azext_applicationinsights/tests/latest/recordings/test_component_with_public_network_access.yaml b/src/application-insights/azext_applicationinsights/tests/latest/recordings/test_component_with_public_network_access.yaml index 2cf5c1b0b94..3a2db64c0c1 100644 --- a/src/application-insights/azext_applicationinsights/tests/latest/recordings/test_component_with_public_network_access.yaml +++ b/src/application-insights/azext_applicationinsights/tests/latest/recordings/test_component_with_public_network_access.yaml @@ -13,24 +13,24 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-08-17T08:30:21Z","StorageType":"Standard_LRS"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-09-02T06:17:40Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '457' + - '428' content-type: - application/json; charset=utf-8 date: - - Mon, 17 Aug 2020 08:30:53 GMT + - Wed, 02 Sep 2020 06:17:46 GMT expires: - '-1' pragma: @@ -63,8 +63,8 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-loganalytics/0.7.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: PUT @@ -72,17 +72,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"a0346705-bbf9-4280-9ff0-c7deff51a605\",\r\n \"provisioningState\": \"Creating\",\r\n + \"3ce708fd-b3a6-470f-b8c0-1b1e80c49f21\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"maxCapacityReservationLevel\": - 3000,\r\n \"lastSkuUpdate\": \"Mon, 17 Aug 2020 08:30:57 GMT\"\r\n },\r\n + 3000,\r\n \"lastSkuUpdate\": \"Wed, 02 Sep 2020 06:17:54 GMT\"\r\n },\r\n \ \"retentionInDays\": 30,\r\n \"features\": {\r\n \"legacy\": 0,\r\n \ \"searchVersion\": 1,\r\n \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n - \ \"quotaNextResetTime\": \"Mon, 17 Aug 2020 20:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Wed, 02 Sep 2020 15:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Mon, 17 Aug 2020 08:30:57 GMT\",\r\n \"modifiedDate\": \"Mon, 17 Aug - 2020 08:30:57 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n + \"Wed, 02 Sep 2020 06:17:54 GMT\",\r\n \"modifiedDate\": \"Wed, 02 Sep + 2020 06:17:54 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n \ \"name\": \"clitest000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"westus\"\r\n}" headers: @@ -93,7 +93,7 @@ interactions: content-type: - application/json date: - - Mon, 17 Aug 2020 08:30:58 GMT + - Wed, 02 Sep 2020 06:17:54 GMT pragma: - no-cache server: @@ -104,7 +104,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' x-powered-by: - ASP.NET - ASP.NET @@ -125,24 +125,24 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-loganalytics/0.7.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.11.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/clitest000002?api-version=2020-03-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"a0346705-bbf9-4280-9ff0-c7deff51a605\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"3ce708fd-b3a6-470f-b8c0-1b1e80c49f21\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"maxCapacityReservationLevel\": - 3000,\r\n \"lastSkuUpdate\": \"Mon, 17 Aug 2020 08:30:57 GMT\"\r\n },\r\n + 3000,\r\n \"lastSkuUpdate\": \"Wed, 02 Sep 2020 06:17:54 GMT\"\r\n },\r\n \ \"retentionInDays\": 30,\r\n \"features\": {\r\n \"legacy\": 0,\r\n \ \"searchVersion\": 1,\r\n \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n - \ \"quotaNextResetTime\": \"Mon, 17 Aug 2020 20:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Wed, 02 Sep 2020 15:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Mon, 17 Aug 2020 08:30:57 GMT\",\r\n \"modifiedDate\": \"Mon, 17 Aug - 2020 08:30:58 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n + \"Wed, 02 Sep 2020 06:17:54 GMT\",\r\n \"modifiedDate\": \"Wed, 02 Sep + 2020 06:17:58 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n \ \"name\": \"clitest000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"westus\"\r\n}" headers: @@ -153,7 +153,7 @@ interactions: content-type: - application/json date: - - Mon, 17 Aug 2020 08:31:29 GMT + - Wed, 02 Sep 2020 06:18:26 GMT pragma: - no-cache server: @@ -187,24 +187,24 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-08-17T08:30:21Z","StorageType":"Standard_LRS"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-09-02T06:17:40Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '457' + - '428' content-type: - application/json; charset=utf-8 date: - - Mon, 17 Aug 2020 08:31:30 GMT + - Wed, 02 Sep 2020 06:18:28 GMT expires: - '-1' pragma: @@ -237,8 +237,8 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-loganalytics/0.7.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: PUT @@ -246,17 +246,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"53f6877a-ce53-44ef-815d-ea70d51c104e\",\r\n \"provisioningState\": \"Creating\",\r\n + \"a96d0a14-17e0-4f71-b401-a16eb015d7ca\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"maxCapacityReservationLevel\": - 3000,\r\n \"lastSkuUpdate\": \"Mon, 17 Aug 2020 08:31:34 GMT\"\r\n },\r\n + 3000,\r\n \"lastSkuUpdate\": \"Wed, 02 Sep 2020 06:18:35 GMT\"\r\n },\r\n \ \"retentionInDays\": 30,\r\n \"features\": {\r\n \"legacy\": 0,\r\n \ \"searchVersion\": 1,\r\n \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n - \ \"quotaNextResetTime\": \"Mon, 17 Aug 2020 14:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 03 Sep 2020 05:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Mon, 17 Aug 2020 08:31:34 GMT\",\r\n \"modifiedDate\": \"Mon, 17 Aug - 2020 08:31:34 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n + \"Wed, 02 Sep 2020 06:18:35 GMT\",\r\n \"modifiedDate\": \"Wed, 02 Sep + 2020 06:18:35 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n \ \"name\": \"clitest000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"westus\"\r\n}" headers: @@ -267,7 +267,7 @@ interactions: content-type: - application/json date: - - Mon, 17 Aug 2020 08:31:34 GMT + - Wed, 02 Sep 2020 06:18:35 GMT pragma: - no-cache server: @@ -278,7 +278,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' x-powered-by: - ASP.NET - ASP.NET @@ -299,24 +299,24 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-loganalytics/0.7.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.11.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003?api-version=2020-03-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"53f6877a-ce53-44ef-815d-ea70d51c104e\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"a96d0a14-17e0-4f71-b401-a16eb015d7ca\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"maxCapacityReservationLevel\": - 3000,\r\n \"lastSkuUpdate\": \"Mon, 17 Aug 2020 08:31:34 GMT\"\r\n },\r\n + 3000,\r\n \"lastSkuUpdate\": \"Wed, 02 Sep 2020 06:18:35 GMT\"\r\n },\r\n \ \"retentionInDays\": 30,\r\n \"features\": {\r\n \"legacy\": 0,\r\n \ \"searchVersion\": 1,\r\n \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n - \ \"quotaNextResetTime\": \"Mon, 17 Aug 2020 14:00:00 GMT\",\r\n \"dataIngestionStatus\": + \ \"quotaNextResetTime\": \"Thu, 03 Sep 2020 05:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": - \"Mon, 17 Aug 2020 08:31:34 GMT\",\r\n \"modifiedDate\": \"Mon, 17 Aug - 2020 08:31:35 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n + \"Wed, 02 Sep 2020 06:18:35 GMT\",\r\n \"modifiedDate\": \"Wed, 02 Sep + 2020 06:18:36 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n \ \"name\": \"clitest000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"westus\"\r\n}" headers: @@ -327,7 +327,7 @@ interactions: content-type: - application/json date: - - Mon, 17 Aug 2020 08:32:06 GMT + - Wed, 02 Sep 2020 06:19:07 GMT pragma: - no-cache server: @@ -366,26 +366,26 @@ interactions: ParameterSetName: - --app --location --kind -g --application-type User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-applicationinsights/0.2.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-applicationinsights/0.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Insights/components/demoApp?api-version=2018-05-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"1300eec6-0000-0700-0000-5f3a408a0000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"f163a15d-7bd7-495f-b2a8-6795d462ba2f","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"54f4a5bf-4177-409b-aa93-256d2c1e70bf","ConnectionString":"InstrumentationKey=54f4a5bf-4177-409b-aa93-256d2c1e70bf","Name":"demoApp","CreationDate":"2020-08-17T08:32:10.923788+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"IngestionMode":"ApplicationInsights","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"16000d8a-0000-0700-0000-5f4f39630000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"de796031-d22d-44ea-ac20-8b2f2cf20c92","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"0b039a93-fe33-4ba7-974e-ac6a5f67282f","ConnectionString":"InstrumentationKey=0b039a93-fe33-4ba7-974e-ac6a5f67282f","Name":"demoApp","CreationDate":"2020-09-02T06:19:15.7789031+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"IngestionMode":"ApplicationInsights","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '975' + - '976' content-type: - application/json; charset=utf-8 date: - - Mon, 17 Aug 2020 08:32:13 GMT + - Wed, 02 Sep 2020 06:19:18 GMT expires: - '-1' pragma: @@ -403,7 +403,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1199' x-powered-by: - ASP.NET status: @@ -423,26 +423,26 @@ interactions: ParameterSetName: - --app --query-access --ingestion-access -g User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-applicationinsights/0.2.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-applicationinsights/0.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Insights/components/demoApp?api-version=2018-05-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"1300eec6-0000-0700-0000-5f3a408a0000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"f163a15d-7bd7-495f-b2a8-6795d462ba2f","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"54f4a5bf-4177-409b-aa93-256d2c1e70bf","ConnectionString":"InstrumentationKey=54f4a5bf-4177-409b-aa93-256d2c1e70bf","Name":"demoApp","CreationDate":"2020-08-17T08:32:10.923788+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"IngestionMode":"ApplicationInsights","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"16000d8a-0000-0700-0000-5f4f39630000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"de796031-d22d-44ea-ac20-8b2f2cf20c92","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"0b039a93-fe33-4ba7-974e-ac6a5f67282f","ConnectionString":"InstrumentationKey=0b039a93-fe33-4ba7-974e-ac6a5f67282f","Name":"demoApp","CreationDate":"2020-09-02T06:19:15.7789031+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"IngestionMode":"ApplicationInsights","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '975' + - '976' content-type: - application/json; charset=utf-8 date: - - Mon, 17 Aug 2020 08:32:14 GMT + - Wed, 02 Sep 2020 06:19:19 GMT expires: - '-1' pragma: @@ -485,26 +485,26 @@ interactions: ParameterSetName: - --app --query-access --ingestion-access -g User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-applicationinsights/0.2.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-applicationinsights/0.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Insights/components/demoApp?api-version=2018-05-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"1300f8c6-0000-0700-0000-5f3a408f0000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"f163a15d-7bd7-495f-b2a8-6795d462ba2f","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"54f4a5bf-4177-409b-aa93-256d2c1e70bf","ConnectionString":"InstrumentationKey=54f4a5bf-4177-409b-aa93-256d2c1e70bf","Name":"demoApp","CreationDate":"2020-08-17T08:32:10.923788+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"Retention":"P90D","IngestionMode":"ApplicationInsights","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"1600198a-0000-0700-0000-5f4f39680000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"de796031-d22d-44ea-ac20-8b2f2cf20c92","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"0b039a93-fe33-4ba7-974e-ac6a5f67282f","ConnectionString":"InstrumentationKey=0b039a93-fe33-4ba7-974e-ac6a5f67282f","Name":"demoApp","CreationDate":"2020-09-02T06:19:15.7789031+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"Retention":"P90D","IngestionMode":"ApplicationInsights","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '994' + - '995' content-type: - application/json; charset=utf-8 date: - - Mon, 17 Aug 2020 08:32:16 GMT + - Wed, 02 Sep 2020 06:19:21 GMT expires: - '-1' pragma: @@ -522,7 +522,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1199' x-powered-by: - ASP.NET status: @@ -542,26 +542,26 @@ interactions: ParameterSetName: - --app --workspace --query-access --ingestion-access -g User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-applicationinsights/0.2.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-applicationinsights/0.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Insights/components/demoApp?api-version=2020-02-02-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"1300f8c6-0000-0700-0000-5f3a408f0000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"f163a15d-7bd7-495f-b2a8-6795d462ba2f","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"54f4a5bf-4177-409b-aa93-256d2c1e70bf","ConnectionString":"InstrumentationKey=54f4a5bf-4177-409b-aa93-256d2c1e70bf","Name":"demoApp","CreationDate":"2020-08-17T08:32:10.923788+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"Retention":"P90D","IngestionMode":"ApplicationInsights","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"1600198a-0000-0700-0000-5f4f39680000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"de796031-d22d-44ea-ac20-8b2f2cf20c92","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"0b039a93-fe33-4ba7-974e-ac6a5f67282f","ConnectionString":"InstrumentationKey=0b039a93-fe33-4ba7-974e-ac6a5f67282f","Name":"demoApp","CreationDate":"2020-09-02T06:19:15.7789031+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"Retention":"P90D","IngestionMode":"ApplicationInsights","publicNetworkAccessForIngestion":"Enabled","publicNetworkAccessForQuery":"Enabled"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '994' + - '995' content-type: - application/json; charset=utf-8 date: - - Mon, 17 Aug 2020 08:32:17 GMT + - Wed, 02 Sep 2020 06:19:22 GMT expires: - '-1' pragma: @@ -583,6 +583,160 @@ interactions: status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor app-insights component update + Connection: + - keep-alive + ParameterSetName: + - --app --workspace --query-access --ingestion-access -g + User-Agent: + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.OperationalInsights?api-version=2020-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.OperationalInsights","namespace":"Microsoft.OperationalInsights","authorizations":[{"applicationId":"d2a0a418-0aac-4541-82b2-b3142c89da77","roleDefinitionId":"86695298-2eb9-48a7-9ec3-2fdb38b6878b"},{"applicationId":"ca7f3f0b-7d91-482c-8e09-c5d840d0eac5","roleDefinitionId":"5d5a2e56-9835-44aa-93db-d2f19e155438"}],"resourceTypes":[{"resourceType":"workspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2017-04-26-preview","2017-03-15-preview","2017-03-03-preview","2017-01-01-preview","2015-11-01-preview","2015-03-20"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/scopedPrivateLinkProxies","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-03-01-preview","capabilities":"None"},{"resourceType":"workspaces/query","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/metadata","locations":[],"apiVersions":["2017-10-01"],"capabilities":"None"},{"resourceType":"workspaces/dataSources","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"workspaces/linkedStorageAccounts","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"storageInsightConfigs","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2014-10-10"],"capabilities":"SupportsExtension"},{"resourceType":"workspaces/linkedServices","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview","2015-11-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"linkTargets","locations":["East + US"],"apiVersions":["2020-03-01-preview","2015-03-20"],"capabilities":"None"},{"resourceType":"deletedWorkspaces","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Brazil South","Switzerland North","Switzerland West"],"apiVersions":["2020-08-01","2020-03-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2020-08-01","2020-03-01-preview","2015-11-01-preview","2014-11-10"],"defaultApiVersion":"2020-08-01","capabilities":"None"},{"resourceType":"clusters","locations":["East + US","West Europe","Southeast Asia","Australia Southeast","West Central US","Japan + East","UK South","Central India","Canada Central","West US 2","Australia Central","Australia + East","France Central","Korea Central","North Europe","Central US","East Asia","East + US 2","South Central US","North Central US","West US","UK West","South Africa + North","Switzerland North","Switzerland West","Germany West Central","Australia + Central 2","UAE Central","Brazil South"],"apiVersions":["2020-08-01","2020-03-01-preview","2019-08-01-preview"],"defaultApiVersion":"2020-08-01","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '6611' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 02 Sep 2020 06:19:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor app-insights component update + Connection: + - keep-alive + ParameterSetName: + - --app --workspace --query-access --ingestion-access -g + User-Agent: + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000002?api-version=2020-08-01 + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"3ce708fd-b3a6-470f-b8c0-1b1e80c49f21\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"maxCapacityReservationLevel\": + 3000,\r\n \"lastSkuUpdate\": \"Wed, 02 Sep 2020 06:17:54 GMT\"\r\n },\r\n + \ \"retentionInDays\": 30,\r\n \"features\": {\r\n \"legacy\": 0,\r\n + \ \"searchVersion\": 1,\r\n \"enableLogAccessUsingOnlyResourcePermissions\": + true\r\n },\r\n \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n + \ \"quotaNextResetTime\": \"Wed, 02 Sep 2020 15:00:00 GMT\",\r\n \"dataIngestionStatus\": + \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n + \ \"publicNetworkAccessForQuery\": \"Enabled\",\r\n \"createdDate\": + \"Wed, 02 Sep 2020 06:17:54 GMT\",\r\n \"modifiedDate\": \"Wed, 02 Sep + 2020 06:17:58 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/microsoft.operationalinsights/workspaces/clitest000002\",\r\n + \ \"name\": \"clitest000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"westus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1178' + content-type: + - application/json + date: + - Wed, 02 Sep 2020 06:19:24 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 200 + message: OK - request: body: '{"location": "westus", "tags": {}, "kind": "web", "properties": {"Application_Type": "web", "Flow_Type": "Bluefield", "Request_Source": "rest", "WorkspaceResourceId": @@ -605,26 +759,26 @@ interactions: ParameterSetName: - --app --workspace --query-access --ingestion-access -g User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-applicationinsights/0.2.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-applicationinsights/0.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Insights/components/demoApp?api-version=2020-02-02-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"1300fec6-0000-0700-0000-5f3a40930000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"f163a15d-7bd7-495f-b2a8-6795d462ba2f","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"54f4a5bf-4177-409b-aa93-256d2c1e70bf","ConnectionString":"InstrumentationKey=54f4a5bf-4177-409b-aa93-256d2c1e70bf","Name":"demoApp","CreationDate":"2020-08-17T08:32:10.923788+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"Retention":"P90D","WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000002","LaMigrationDate":"2020-08-17T08:32:19.737998+00:00","IngestionMode":"LogAnalytics","publicNetworkAccessForIngestion":"Disabled","publicNetworkAccessForQuery":"Disabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/demoApp","name":"demoApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"1600208a-0000-0700-0000-5f4f396f0000\"","properties":{"Ver":"v2","ApplicationId":"demoApp","AppId":"de796031-d22d-44ea-ac20-8b2f2cf20c92","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"0b039a93-fe33-4ba7-974e-ac6a5f67282f","ConnectionString":"InstrumentationKey=0b039a93-fe33-4ba7-974e-ac6a5f67282f","Name":"demoApp","CreationDate":"2020-09-02T06:19:15.7789031+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"Retention":"P90D","WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000002","LaMigrationDate":"2020-09-02T06:19:27.1615352+00:00","IngestionMode":"LogAnalytics","publicNetworkAccessForIngestion":"Disabled","publicNetworkAccessForQuery":"Disabled"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1281' + - '1283' content-type: - application/json; charset=utf-8 date: - - Mon, 17 Aug 2020 08:32:20 GMT + - Wed, 02 Sep 2020 06:19:27 GMT expires: - '-1' pragma: @@ -642,7 +796,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1199' x-powered-by: - ASP.NET status: @@ -670,26 +824,26 @@ interactions: ParameterSetName: - --app --workspace --location --query-access --ingestion-access -g --application-type User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-applicationinsights/0.2.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-applicationinsights/0.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Insights/components/testApp?api-version=2020-02-02-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/testApp","name":"testApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"13000bc7-0000-0700-0000-5f3a40980000\"","properties":{"Ver":"v2","ApplicationId":"testApp","AppId":"b9ffe4a9-a035-4d95-8e69-0735328e0ff5","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"b1e2e7b1-e34f-408a-9ed4-0b9c832f75dc","ConnectionString":"InstrumentationKey=b1e2e7b1-e34f-408a-9ed4-0b9c832f75dc","Name":"testApp","CreationDate":"2020-08-17T08:32:23.7200892+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000003","IngestionMode":"LogAnalytics","publicNetworkAccessForIngestion":"Disabled","publicNetworkAccessForQuery":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/testApp","name":"testApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"16002d8a-0000-0700-0000-5f4f39770000\"","properties":{"Ver":"v2","ApplicationId":"testApp","AppId":"19977ef6-2818-40a4-a515-bca647cc7af0","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"4ffab92a-226d-4650-9e5d-702d9cda834c","ConnectionString":"InstrumentationKey=4ffab92a-226d-4650-9e5d-702d9cda834c","Name":"testApp","CreationDate":"2020-09-02T06:19:34.991923+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000003","IngestionMode":"LogAnalytics","publicNetworkAccessForIngestion":"Disabled","publicNetworkAccessForQuery":"Enabled"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1209' + - '1208' content-type: - application/json; charset=utf-8 date: - - Mon, 17 Aug 2020 08:32:25 GMT + - Wed, 02 Sep 2020 06:19:36 GMT expires: - '-1' pragma: @@ -707,7 +861,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1198' x-powered-by: - ASP.NET status: @@ -727,26 +881,26 @@ interactions: ParameterSetName: - --app --kind -g User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-applicationinsights/0.2.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-applicationinsights/0.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Insights/components/testApp?api-version=2018-05-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/testApp","name":"testApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"13000bc7-0000-0700-0000-5f3a40980000\"","properties":{"Ver":"v2","ApplicationId":"testApp","AppId":"b9ffe4a9-a035-4d95-8e69-0735328e0ff5","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"b1e2e7b1-e34f-408a-9ed4-0b9c832f75dc","ConnectionString":"InstrumentationKey=b1e2e7b1-e34f-408a-9ed4-0b9c832f75dc","Name":"testApp","CreationDate":"2020-08-17T08:32:23.7200892+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000003","IngestionMode":"LogAnalytics","publicNetworkAccessForIngestion":"Disabled","publicNetworkAccessForQuery":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/testApp","name":"testApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"web","etag":"\"16002d8a-0000-0700-0000-5f4f39770000\"","properties":{"Ver":"v2","ApplicationId":"testApp","AppId":"19977ef6-2818-40a4-a515-bca647cc7af0","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"4ffab92a-226d-4650-9e5d-702d9cda834c","ConnectionString":"InstrumentationKey=4ffab92a-226d-4650-9e5d-702d9cda834c","Name":"testApp","CreationDate":"2020-09-02T06:19:34.991923+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000003","IngestionMode":"LogAnalytics","publicNetworkAccessForIngestion":"Disabled","publicNetworkAccessForQuery":"Enabled"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1209' + - '1208' content-type: - application/json; charset=utf-8 date: - - Mon, 17 Aug 2020 08:32:27 GMT + - Wed, 02 Sep 2020 06:19:38 GMT expires: - '-1' pragma: @@ -789,26 +943,26 @@ interactions: ParameterSetName: - --app --kind -g User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-applicationinsights/0.2.0 - Azure-SDK-For-Python AZURECLI/2.10.0 + - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-applicationinsights/0.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Insights/components/testApp?api-version=2018-05-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/testApp","name":"testApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"ios","etag":"\"130015c7-0000-0700-0000-5f3a409c0000\"","properties":{"Ver":"v2","ApplicationId":"testApp","AppId":"b9ffe4a9-a035-4d95-8e69-0735328e0ff5","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"b1e2e7b1-e34f-408a-9ed4-0b9c832f75dc","ConnectionString":"InstrumentationKey=b1e2e7b1-e34f-408a-9ed4-0b9c832f75dc","Name":"testApp","CreationDate":"2020-08-17T08:32:23.7200892+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"Retention":"P90D","WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000003","IngestionMode":"ApplicationInsights","publicNetworkAccessForIngestion":"Disabled","publicNetworkAccessForQuery":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.insights/components/testApp","name":"testApp","type":"microsoft.insights/components","location":"westus","tags":{},"kind":"ios","etag":"\"1600358a-0000-0700-0000-5f4f397b0000\"","properties":{"Ver":"v2","ApplicationId":"testApp","AppId":"19977ef6-2818-40a4-a515-bca647cc7af0","Application_Type":"web","Flow_Type":"Bluefield","Request_Source":"rest","InstrumentationKey":"4ffab92a-226d-4650-9e5d-702d9cda834c","ConnectionString":"InstrumentationKey=4ffab92a-226d-4650-9e5d-702d9cda834c","Name":"testApp","CreationDate":"2020-09-02T06:19:34.991923+00:00","TenantId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","provisioningState":"Succeeded","SamplingPercentage":null,"RetentionInDays":90,"Retention":"P90D","WorkspaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/microsoft.OperationalInsights/workspaces/clitest000003","IngestionMode":"ApplicationInsights","publicNetworkAccessForIngestion":"Disabled","publicNetworkAccessForQuery":"Enabled"}}' headers: access-control-expose-headers: - Request-Context cache-control: - no-cache content-length: - - '1235' + - '1234' content-type: - application/json; charset=utf-8 date: - - Mon, 17 Aug 2020 08:32:31 GMT + - Wed, 02 Sep 2020 06:19:43 GMT expires: - '-1' pragma: @@ -826,7 +980,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' x-powered-by: - ASP.NET status: diff --git a/src/application-insights/setup.py b/src/application-insights/setup.py index 15a8b302b00..8fc581b0c55 100644 --- a/src/application-insights/setup.py +++ b/src/application-insights/setup.py @@ -8,7 +8,7 @@ from codecs import open from setuptools import setup, find_packages -VERSION = "0.1.9" +VERSION = "0.1.10" CLASSIFIERS = [ 'Development Status :: 4 - Beta',