diff --git a/src/azure-cli/azure/cli/command_modules/monitor/_help.py b/src/azure-cli/azure/cli/command_modules/monitor/_help.py index 5d1ac338bdf..520d2b0c9b9 100644 --- a/src/azure-cli/azure/cli/command_modules/monitor/_help.py +++ b/src/azure-cli/azure/cli/command_modules/monitor/_help.py @@ -1334,9 +1334,6 @@ examples: - name: Create a data export rule for a given workspace. text: az monitor log-analytics workspace data-export create -g MyRG --workspace-name MyWS -n MyDataExport --destination {sa_id_1} --enable -t {table_name} - - name: Create a data export rule for a given workspace with all tables. - text: az monitor log-analytics workspace data-export create -g MyRG --workspace-name MyWS -n MyDataExport --destination {sa_id_1} --enable --all - """ helps['monitor log-analytics workspace data-export update'] = """ @@ -1344,7 +1341,7 @@ short-summary: Update a data export rule for a given workspace. examples: - name: Update a data export rule for a given workspace. - text: az monitor log-analytics workspace data-export update -g MyRG --workspace-name MyWS -n MyDataExport --destination {namespace_id} --all --enable false + text: az monitor log-analytics workspace data-export update -g MyRG --workspace-name MyWS -n MyDataExport --destination {namespace_id} -t {table_name} --enable false """ helps['monitor log-analytics workspace data-export list'] = """ diff --git a/src/azure-cli/azure/cli/command_modules/monitor/_params.py b/src/azure-cli/azure/cli/command_modules/monitor/_params.py index da8012a6857..14a5a6344a8 100644 --- a/src/azure-cli/azure/cli/command_modules/monitor/_params.py +++ b/src/azure-cli/azure/cli/command_modules/monitor/_params.py @@ -442,8 +442,6 @@ def load_arguments(self, _): with self.argument_context('monitor log-analytics workspace data-export') as c: c.argument('data_export_name', options_list=['--name', '-n'], help="Name of the data export rule") c.argument('workspace_name', options_list='--workspace-name') - c.argument('enable_all_tables', options_list=['--all', '--export-all-tables'], arg_type=get_three_state_flag(), - help="All workspace's tables are exported when this is enabled.") c.argument('table_names', nargs='+', options_list=['--tables', '-t'], help='An array of tables to export. if --export-all-tables is true, this argument should not be provided.') c.argument('destination', validator=process_workspace_data_export_destination, diff --git a/src/azure-cli/azure/cli/command_modules/monitor/operations/log_analytics_workspace.py b/src/azure-cli/azure/cli/command_modules/monitor/operations/log_analytics_workspace.py index 1234baeaaa9..376f980ce5d 100644 --- a/src/azure-cli/azure/cli/command_modules/monitor/operations/log_analytics_workspace.py +++ b/src/azure-cli/azure/cli/command_modules/monitor/operations/log_analytics_workspace.py @@ -120,13 +120,10 @@ def update_log_analytics_workspace_saved_search(cmd, instance, category=None, di def create_log_analytics_workspace_data_exports(client, workspace_name, resource_group_name, data_export_name, - destination, data_export_type, enable_all_tables=None, table_names=None, + destination, data_export_type, table_names, event_hub_name=None, enable=None): from azure.mgmt.loganalytics.models import DataExport - if enable_all_tables: - table_names = None - data_export = DataExport(all_tables=enable_all_tables, - resource_id=destination, + data_export = DataExport(resource_id=destination, data_export_type=data_export_type, table_names=table_names, event_hub_name=event_hub_name, @@ -134,15 +131,11 @@ def create_log_analytics_workspace_data_exports(client, workspace_name, resource return client.create_or_update(resource_group_name, workspace_name, data_export_name, data_export) -def update_log_analytics_workspace_data_exports(cmd, instance, destination=None, data_export_type=None, - enable_all_tables=None, table_names=None, +def update_log_analytics_workspace_data_exports(cmd, instance, table_names, destination=None, data_export_type=None, event_hub_name=None, enable=None): - if enable_all_tables: - table_names = '' with cmd.update_context(instance) as c: c.set_param('resource_id', destination) c.set_param('data_export_type', data_export_type) - c.set_param('all_tables', enable_all_tables) c.set_param('table_names', table_names) c.set_param('event_hub_name', event_hub_name) c.set_param('enable', enable) diff --git a/src/azure-cli/azure/cli/command_modules/monitor/tests/latest/recordings/test_monitor_log_analytics_workspace_data_export.yaml b/src/azure-cli/azure/cli/command_modules/monitor/tests/latest/recordings/test_monitor_log_analytics_workspace_data_export.yaml index 420355611dd..62283d2e45e 100644 --- a/src/azure-cli/azure/cli/command_modules/monitor/tests/latest/recordings/test_monitor_log_analytics_workspace_data_export.yaml +++ b/src/azure-cli/azure/cli/command_modules/monitor/tests/latest/recordings/test_monitor_log_analytics_workspace_data_export.yaml @@ -13,15 +13,15 @@ interactions: ParameterSetName: - -g -n --quota --level --sku User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/10.3.0 Azure-SDK-For-Python AZURECLI/2.17.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_monitor_workspace_data_export000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_monitor_workspace_data_export000001","name":"cli_test_monitor_workspace_data_export000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2020-12-21T17:38:39Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_monitor_workspace_data_export000001","name":"cli_test_monitor_workspace_data_export000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2020-12-31T03:32:44Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Dec 2020 17:39:05 GMT + - Thu, 31 Dec 2020 03:33:26 GMT expires: - '-1' pragma: @@ -64,8 +64,8 @@ interactions: ParameterSetName: - -g -n --quota --level --sku User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.17.0 accept-language: - en-US method: PUT @@ -73,17 +73,17 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"0996548a-e884-4875-8c68-846fc5fa8066\",\r\n \"provisioningState\": \"Creating\",\r\n + \"f293ff68-b374-4ea7-bf52-f632d6718694\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": 100,\r\n \"maxCapacityReservationLevel\": 3000,\r\n \"lastSkuUpdate\": - \"Mon, 21 Dec 2020 17:39:08 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Thu, 31 Dec 2020 03:33:32 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\": - \"Tue, 22 Dec 2020 06:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Thu, 31 Dec 2020 11:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Mon, 21 Dec 2020 17:39:08 GMT\",\r\n - \ \"modifiedDate\": \"Mon, 21 Dec 2020 17:39:08 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Thu, 31 Dec 2020 03:33:32 GMT\",\r\n + \ \"modifiedDate\": \"Thu, 31 Dec 2020 03:33:32 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_monitor_workspace_data_export000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n \ \"name\": \"clitest000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -95,7 +95,7 @@ interactions: content-type: - application/json date: - - Mon, 21 Dec 2020 17:39:08 GMT + - Thu, 31 Dec 2020 03:33:34 GMT pragma: - no-cache server: @@ -127,24 +127,24 @@ interactions: ParameterSetName: - -g -n --quota --level --sku User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.17.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_monitor_workspace_data_export000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003?api-version=2020-03-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"0996548a-e884-4875-8c68-846fc5fa8066\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"f293ff68-b374-4ea7-bf52-f632d6718694\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"capacityreservation\",\r\n \"capacityReservationLevel\": 100,\r\n \"maxCapacityReservationLevel\": 3000,\r\n \"lastSkuUpdate\": - \"Mon, 21 Dec 2020 17:39:08 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Thu, 31 Dec 2020 03:33:32 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\": - \"Tue, 22 Dec 2020 06:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Thu, 31 Dec 2020 11:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": - \"Enabled\",\r\n \"createdDate\": \"Mon, 21 Dec 2020 17:39:08 GMT\",\r\n - \ \"modifiedDate\": \"Mon, 21 Dec 2020 17:39:09 GMT\"\r\n },\r\n \"id\": + \"Enabled\",\r\n \"createdDate\": \"Thu, 31 Dec 2020 03:33:32 GMT\",\r\n + \ \"modifiedDate\": \"Thu, 31 Dec 2020 03:33:33 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_monitor_workspace_data_export000001/providers/microsoft.operationalinsights/workspaces/clitest000003\",\r\n \ \"name\": \"clitest000003\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -156,7 +156,7 @@ interactions: content-type: - application/json date: - - Mon, 21 Dec 2020 17:39:39 GMT + - Thu, 31 Dec 2020 03:34:05 GMT pragma: - no-cache server: @@ -196,20 +196,20 @@ interactions: ParameterSetName: - -g --workspace-name -n --destination --enable -t User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.17.0 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_monitor_workspace_data_export000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003/dataExports/clitest?api-version=2020-03-01-preview response: body: - string: "{\r\n \"properties\": {\r\n \"dataExportId\": \"08445cec-0f11-4717-b8d7-08d8a5d76685\",\r\n + string: "{\r\n \"properties\": {\r\n \"dataExportId\": \"c0535b3d-982c-4321-fc79-08d8accf5c32\",\r\n \ \"destination\": {\r\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_monitor_workspace_data_export000001/providers/Microsoft.Storage/storageAccounts/saws1000002\",\r\n \ \"type\": \"StorageAccount\",\r\n \"metaData\": {}\r\n },\r\n \ \"tableNames\": [\r\n \"Syslog\"\r\n ],\r\n \"enable\": true,\r\n - \ \"createdDate\": \"Mon, 21 Dec 2020 17:39:42 GMT\",\r\n \"lastModifiedDate\": - \"Mon, 21 Dec 2020 17:39:42 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_monitor_workspace_data_export000001/providers/microsoft.operationalinsights/workspaces/clitest000003/dataexports/clitest\",\r\n + \ \"createdDate\": \"Thu, 31 Dec 2020 03:34:09 GMT\",\r\n \"lastModifiedDate\": + \"Thu, 31 Dec 2020 03:34:09 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_monitor_workspace_data_export000001/providers/microsoft.operationalinsights/workspaces/clitest000003/dataexports/clitest\",\r\n \ \"name\": \"clitest\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces/export\"\r\n}" headers: cache-control: @@ -221,7 +221,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Dec 2020 17:39:42 GMT + - Thu, 31 Dec 2020 03:34:09 GMT expires: - '-1' pragma: @@ -267,8 +267,8 @@ interactions: ParameterSetName: - -g --workspace-name -n --destination --enable -t User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.17.0 accept-language: - en-US method: PUT @@ -285,7 +285,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Dec 2020 17:39:43 GMT + - Thu, 31 Dec 2020 03:34:11 GMT expires: - '-1' pragma: @@ -323,8 +323,8 @@ interactions: ParameterSetName: - -g --workspace-name -n --destination --enable -t User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.17.0 accept-language: - en-US method: PUT @@ -345,7 +345,7 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Mon, 21 Dec 2020 17:39:51 GMT + - Thu, 31 Dec 2020 03:34:19 GMT expires: - '-1' pragma: @@ -360,7 +360,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET - ASP.NET @@ -386,8 +386,8 @@ interactions: ParameterSetName: - -g --workspace-name -n --destination --enable -t User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.17.0 accept-language: - en-US method: PUT @@ -404,7 +404,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Dec 2020 17:39:52 GMT + - Thu, 31 Dec 2020 03:34:20 GMT expires: - '-1' pragma: @@ -442,8 +442,8 @@ interactions: ParameterSetName: - -g --workspace-name -n --destination --enable -t User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.17.0 accept-language: - en-US method: PUT @@ -464,7 +464,7 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Mon, 21 Dec 2020 17:40:00 GMT + - Thu, 31 Dec 2020 03:34:28 GMT expires: - '-1' pragma: @@ -500,20 +500,20 @@ interactions: ParameterSetName: - -g --workspace-name -n User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.17.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_monitor_workspace_data_export000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003/dataExports/clitest?api-version=2020-03-01-preview response: body: - string: "{\r\n \"properties\": {\r\n \"dataExportId\": \"08445cec-0f11-4717-b8d7-08d8a5d76685\",\r\n + string: "{\r\n \"properties\": {\r\n \"dataExportId\": \"c0535b3d-982c-4321-fc79-08d8accf5c32\",\r\n \ \"destination\": {\r\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_monitor_workspace_data_export000001/providers/Microsoft.Storage/storageAccounts/saws1000002\",\r\n \ \"type\": \"StorageAccount\",\r\n \"metaData\": {}\r\n },\r\n \ \"tableNames\": [\r\n \"Syslog\"\r\n ],\r\n \"enable\": true,\r\n - \ \"createdDate\": \"Mon, 21 Dec 2020 17:39:42 GMT\",\r\n \"lastModifiedDate\": - \"Mon, 21 Dec 2020 17:39:42 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_monitor_workspace_data_export000001/providers/microsoft.operationalinsights/workspaces/clitest000003/dataexports/clitest\",\r\n + \ \"createdDate\": \"Thu, 31 Dec 2020 03:34:09 GMT\",\r\n \"lastModifiedDate\": + \"Thu, 31 Dec 2020 03:34:09 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_monitor_workspace_data_export000001/providers/microsoft.operationalinsights/workspaces/clitest000003/dataexports/clitest\",\r\n \ \"name\": \"clitest\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces/export\"\r\n}" headers: cache-control: @@ -525,7 +525,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Dec 2020 17:40:01 GMT + - Thu, 31 Dec 2020 03:34:29 GMT expires: - '-1' pragma: @@ -563,8 +563,8 @@ interactions: ParameterSetName: - -g --workspace-name User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.17.0 accept-language: - en-US method: GET @@ -572,12 +572,12 @@ interactions: response: body: string: "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"dataExportId\": - \"08445cec-0f11-4717-b8d7-08d8a5d76685\",\r\n \"destination\": {\r\n + \"c0535b3d-982c-4321-fc79-08d8accf5c32\",\r\n \"destination\": {\r\n \ \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_monitor_workspace_data_export000001/providers/Microsoft.Storage/storageAccounts/saws1000002\",\r\n \ \"type\": \"StorageAccount\",\r\n \"metaData\": {}\r\n \ },\r\n \"tableNames\": [\r\n \"Syslog\"\r\n ],\r\n - \ \"enable\": true,\r\n \"createdDate\": \"Mon, 21 Dec 2020 17:39:42 - GMT\",\r\n \"lastModifiedDate\": \"Mon, 21 Dec 2020 17:39:42 GMT\"\r\n + \ \"enable\": true,\r\n \"createdDate\": \"Thu, 31 Dec 2020 03:34:09 + GMT\",\r\n \"lastModifiedDate\": \"Thu, 31 Dec 2020 03:34:09 GMT\"\r\n \ },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_monitor_workspace_data_export000001/providers/microsoft.operationalinsights/workspaces/clitest000003/dataexports/clitest\",\r\n \ \"name\": \"clitest\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces/export\"\r\n \ }\r\n ]\r\n}" @@ -591,7 +591,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Dec 2020 17:40:02 GMT + - Thu, 31 Dec 2020 03:34:31 GMT expires: - '-1' pragma: @@ -629,15 +629,15 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/10.3.0 Azure-SDK-For-Python AZURECLI/2.17.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_monitor_workspace_data_export000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_monitor_workspace_data_export000001","name":"cli_test_monitor_workspace_data_export000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2020-12-21T17:38:39Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_monitor_workspace_data_export000001","name":"cli_test_monitor_workspace_data_export000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2020-12-31T03:32:44Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -646,7 +646,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Dec 2020 17:40:03 GMT + - Thu, 31 Dec 2020 03:34:32 GMT expires: - '-1' pragma: @@ -678,8 +678,8 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.17.0 accept-language: - en-US method: PUT @@ -687,16 +687,16 @@ interactions: response: body: string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_monitor_workspace_data_export000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000004","name":"eventhubs-nscli000004","type":"Microsoft.EventHub/Namespaces","location":"East - US","tags":{},"properties":{"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"a1bfa635-f2bf-42f1-86b5-848c674fc321:eventhubs-nscli000004","createdAt":"2020-12-21T17:40:05.79Z","updatedAt":"2020-12-21T17:40:05.79Z","serviceBusEndpoint":"https://eventhubs-nscli000004.servicebus.windows.net:443/","status":"Activating"}}' + US","tags":{},"properties":{"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590:eventhubs-nscli000004","createdAt":"2020-12-31T03:34:38.947Z","updatedAt":"2020-12-31T03:34:38.947Z","serviceBusEndpoint":"https://eventhubs-nscli000004.servicebus.windows.net:443/","status":"Activating"}}' headers: cache-control: - no-cache content-length: - - '761' + - '763' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Dec 2020 17:40:05 GMT + - Thu, 31 Dec 2020 03:34:39 GMT expires: - '-1' pragma: @@ -733,23 +733,23 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.17.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_monitor_workspace_data_export000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000004?api-version=2018-01-01-preview response: body: string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_monitor_workspace_data_export000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000004","name":"eventhubs-nscli000004","type":"Microsoft.EventHub/Namespaces","location":"East - US","tags":{},"properties":{"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"a1bfa635-f2bf-42f1-86b5-848c674fc321:eventhubs-nscli000004","createdAt":"2020-12-21T17:40:05.79Z","updatedAt":"2020-12-21T17:40:05.79Z","serviceBusEndpoint":"https://eventhubs-nscli000004.servicebus.windows.net:443/","status":"Activating"}}' + US","tags":{},"properties":{"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590:eventhubs-nscli000004","createdAt":"2020-12-31T03:34:38.947Z","updatedAt":"2020-12-31T03:34:38.947Z","serviceBusEndpoint":"https://eventhubs-nscli000004.servicebus.windows.net:443/","status":"Activating"}}' headers: cache-control: - no-cache content-length: - - '761' + - '763' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Dec 2020 17:40:36 GMT + - Thu, 31 Dec 2020 03:35:10 GMT expires: - '-1' pragma: @@ -784,23 +784,23 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.17.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_monitor_workspace_data_export000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000004?api-version=2018-01-01-preview response: body: string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_monitor_workspace_data_export000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000004","name":"eventhubs-nscli000004","type":"Microsoft.EventHub/Namespaces","location":"East - US","tags":{},"properties":{"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"a1bfa635-f2bf-42f1-86b5-848c674fc321:eventhubs-nscli000004","createdAt":"2020-12-21T17:40:05.79Z","updatedAt":"2020-12-21T17:40:51.617Z","serviceBusEndpoint":"https://eventhubs-nscli000004.servicebus.windows.net:443/","status":"Active"}}' + US","tags":{},"properties":{"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590:eventhubs-nscli000004","createdAt":"2020-12-31T03:34:38.947Z","updatedAt":"2020-12-31T03:35:31.537Z","serviceBusEndpoint":"https://eventhubs-nscli000004.servicebus.windows.net:443/","status":"Active"}}' headers: cache-control: - no-cache content-length: - - '760' + - '761' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Dec 2020 17:41:06 GMT + - Thu, 31 Dec 2020 03:35:40 GMT expires: - '-1' pragma: @@ -835,8 +835,8 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.17.0 accept-language: - en-US method: GET @@ -844,16 +844,16 @@ interactions: response: body: string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_monitor_workspace_data_export000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000004","name":"eventhubs-nscli000004","type":"Microsoft.EventHub/Namespaces","location":"East - US","tags":{},"properties":{"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"a1bfa635-f2bf-42f1-86b5-848c674fc321:eventhubs-nscli000004","createdAt":"2020-12-21T17:40:05.79Z","updatedAt":"2020-12-21T17:40:51.617Z","serviceBusEndpoint":"https://eventhubs-nscli000004.servicebus.windows.net:443/","status":"Active"}}' + US","tags":{},"properties":{"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590:eventhubs-nscli000004","createdAt":"2020-12-31T03:34:38.947Z","updatedAt":"2020-12-31T03:35:31.537Z","serviceBusEndpoint":"https://eventhubs-nscli000004.servicebus.windows.net:443/","status":"Active"}}' headers: cache-control: - no-cache content-length: - - '760' + - '761' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Dec 2020 17:41:06 GMT + - Thu, 31 Dec 2020 03:35:41 GMT expires: - '-1' pragma: @@ -892,8 +892,8 @@ interactions: ParameterSetName: - --resource-group --namespace-name --name User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.17.0 accept-language: - en-US method: PUT @@ -901,16 +901,16 @@ interactions: response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_monitor_workspace_data_export000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000004/eventhubs/hub_name","name":"hub_name","type":"Microsoft.EventHub/Namespaces/EventHubs","location":"East - US","properties":{"messageRetentionInDays":7,"partitionCount":4,"status":"Active","createdAt":"2020-12-21T17:41:09.857Z","updatedAt":"2020-12-21T17:41:10.11Z","partitionIds":["0","1","2","3"]}}' + US","properties":{"messageRetentionInDays":7,"partitionCount":4,"status":"Active","createdAt":"2020-12-31T03:35:44.263Z","updatedAt":"2020-12-31T03:35:44.477Z","partitionIds":["0","1","2","3"]}}' headers: cache-control: - no-cache content-length: - - '508' + - '509' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Dec 2020 17:41:09 GMT + - Thu, 31 Dec 2020 03:35:44 GMT expires: - '-1' pragma: @@ -929,7 +929,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -947,20 +947,20 @@ interactions: ParameterSetName: - -g --workspace-name -n --destination --enable -t User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.17.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_monitor_workspace_data_export000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003/dataExports/clitest?api-version=2020-03-01-preview response: body: - string: "{\r\n \"properties\": {\r\n \"dataExportId\": \"08445cec-0f11-4717-b8d7-08d8a5d76685\",\r\n + string: "{\r\n \"properties\": {\r\n \"dataExportId\": \"c0535b3d-982c-4321-fc79-08d8accf5c32\",\r\n \ \"destination\": {\r\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_monitor_workspace_data_export000001/providers/Microsoft.Storage/storageAccounts/saws1000002\",\r\n \ \"type\": \"StorageAccount\",\r\n \"metaData\": {}\r\n },\r\n \ \"tableNames\": [\r\n \"Syslog\"\r\n ],\r\n \"enable\": true,\r\n - \ \"createdDate\": \"Mon, 21 Dec 2020 17:39:42 GMT\",\r\n \"lastModifiedDate\": - \"Mon, 21 Dec 2020 17:39:42 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_monitor_workspace_data_export000001/providers/microsoft.operationalinsights/workspaces/clitest000003/dataexports/clitest\",\r\n + \ \"createdDate\": \"Thu, 31 Dec 2020 03:34:09 GMT\",\r\n \"lastModifiedDate\": + \"Thu, 31 Dec 2020 03:34:09 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_monitor_workspace_data_export000001/providers/microsoft.operationalinsights/workspaces/clitest000003/dataexports/clitest\",\r\n \ \"name\": \"clitest\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces/export\"\r\n}" headers: cache-control: @@ -972,7 +972,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Dec 2020 17:41:11 GMT + - Thu, 31 Dec 2020 03:35:46 GMT expires: - '-1' pragma: @@ -997,10 +997,10 @@ interactions: code: 200 message: OK - request: - body: '{"properties": {"dataExportId": "08445cec-0f11-4717-b8d7-08d8a5d76685", + body: '{"properties": {"dataExportId": "c0535b3d-982c-4321-fc79-08d8accf5c32", "tableNames": ["Usage", "Alert"], "destination": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_monitor_workspace_data_export000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000004"}, - "enable": true, "createdDate": "Mon, 21 Dec 2020 17:39:42 GMT", "lastModifiedDate": - "Mon, 21 Dec 2020 17:39:42 GMT"}}' + "enable": true, "createdDate": "Thu, 31 Dec 2020 03:34:09 GMT", "lastModifiedDate": + "Thu, 31 Dec 2020 03:34:09 GMT"}}' headers: Accept: - application/json @@ -1017,20 +1017,20 @@ interactions: ParameterSetName: - -g --workspace-name -n --destination --enable -t User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.17.0 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_monitor_workspace_data_export000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003/dataExports/clitest?api-version=2020-03-01-preview response: body: - string: "{\r\n \"properties\": {\r\n \"dataExportId\": \"08445cec-0f11-4717-b8d7-08d8a5d76685\",\r\n + string: "{\r\n \"properties\": {\r\n \"dataExportId\": \"c0535b3d-982c-4321-fc79-08d8accf5c32\",\r\n \ \"destination\": {\r\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_monitor_workspace_data_export000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000004\",\r\n \ \"type\": \"EventHub\",\r\n \"metaData\": {}\r\n },\r\n \"tableNames\": [\r\n \"Usage\",\r\n \"Alert\"\r\n ],\r\n \"enable\": true,\r\n - \ \"createdDate\": \"Mon, 21 Dec 2020 17:39:42 GMT\",\r\n \"lastModifiedDate\": - \"Mon, 21 Dec 2020 17:41:13 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_monitor_workspace_data_export000001/providers/microsoft.operationalinsights/workspaces/clitest000003/dataexports/clitest\",\r\n + \ \"createdDate\": \"Thu, 31 Dec 2020 03:34:09 GMT\",\r\n \"lastModifiedDate\": + \"Thu, 31 Dec 2020 03:35:48 GMT\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_monitor_workspace_data_export000001/providers/microsoft.operationalinsights/workspaces/clitest000003/dataexports/clitest\",\r\n \ \"name\": \"clitest\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces/export\"\r\n}" headers: cache-control: @@ -1042,7 +1042,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Dec 2020 17:41:13 GMT + - Thu, 31 Dec 2020 03:35:48 GMT expires: - '-1' pragma: @@ -1061,7 +1061,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET - ASP.NET @@ -1082,8 +1082,8 @@ interactions: ParameterSetName: - -g --namespace-name User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.17.0 accept-language: - en-US method: GET @@ -1091,16 +1091,16 @@ interactions: response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_monitor_workspace_data_export000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000004/eventhubs/hub_name","name":"hub_name","type":"Microsoft.EventHub/Namespaces/EventHubs","location":"East - US","properties":{"messageRetentionInDays":7,"partitionCount":4,"status":"Active","createdAt":"2020-12-21T17:41:09.857","updatedAt":"2020-12-21T17:41:10.11","partitionIds":["0","1","2","3"]}}]}' + US","properties":{"messageRetentionInDays":7,"partitionCount":4,"status":"Active","createdAt":"2020-12-31T03:35:44.263","updatedAt":"2020-12-31T03:35:44.477","partitionIds":["0","1","2","3"]}}]}' headers: cache-control: - no-cache content-length: - - '518' + - '519' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Dec 2020 17:41:14 GMT + - Thu, 31 Dec 2020 03:35:50 GMT expires: - '-1' pragma: @@ -1139,8 +1139,8 @@ interactions: ParameterSetName: - -g --workspace-name -n -y User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.17.0 accept-language: - en-US method: DELETE @@ -1156,7 +1156,7 @@ interactions: content-length: - '0' date: - - Mon, 21 Dec 2020 17:41:15 GMT + - Thu, 31 Dec 2020 03:35:50 GMT expires: - '-1' pragma: @@ -1198,20 +1198,20 @@ interactions: ParameterSetName: - -g --workspace-name -n --destination --enable -t User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.17.0 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_monitor_workspace_data_export000001/providers/Microsoft.OperationalInsights/workspaces/clitest000003/dataExports/clitest?api-version=2020-03-01-preview response: body: - string: "{\r\n \"properties\": {\r\n \"dataExportId\": \"7bdaef94-ee03-4955-a6bd-08d8a5d79ebc\",\r\n + string: "{\r\n \"properties\": {\r\n \"dataExportId\": \"69772993-f7bb-425d-eb70-08d8ad3d2cf9\",\r\n \ \"destination\": {\r\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_monitor_workspace_data_export000001/providers/Microsoft.EventHub/namespaces/eventhubs-nscli000004\",\r\n \ \"type\": \"EventHub\",\r\n \"metaData\": {\r\n \"eventHubName\": \"hub_name\"\r\n }\r\n },\r\n \"tableNames\": [\r\n \"Syslog\"\r\n - \ ],\r\n \"enable\": false,\r\n \"createdDate\": \"Mon, 21 Dec 2020 - 17:41:17 GMT\",\r\n \"lastModifiedDate\": \"Mon, 21 Dec 2020 17:41:17 GMT\"\r\n + \ ],\r\n \"enable\": false,\r\n \"createdDate\": \"Thu, 31 Dec 2020 + 03:35:53 GMT\",\r\n \"lastModifiedDate\": \"Thu, 31 Dec 2020 03:35:53 GMT\"\r\n \ },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_monitor_workspace_data_export000001/providers/microsoft.operationalinsights/workspaces/clitest000003/dataexports/clitest\",\r\n \ \"name\": \"clitest\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces/export\"\r\n}" headers: @@ -1224,7 +1224,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Dec 2020 17:41:16 GMT + - Thu, 31 Dec 2020 03:35:53 GMT expires: - '-1' pragma: @@ -1243,7 +1243,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1196' x-powered-by: - ASP.NET - ASP.NET @@ -1266,8 +1266,8 @@ interactions: ParameterSetName: - -g --workspace-name -n -y User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.17.0 accept-language: - en-US method: DELETE @@ -1283,7 +1283,7 @@ interactions: content-length: - '0' date: - - Mon, 21 Dec 2020 17:41:17 GMT + - Thu, 31 Dec 2020 03:35:53 GMT expires: - '-1' pragma: @@ -1319,8 +1319,8 @@ interactions: ParameterSetName: - -g --workspace-name -n User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-loganalytics/0.7.0 Azure-SDK-For-Python AZURECLI/2.17.0 accept-language: - en-US method: GET @@ -1338,7 +1338,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Dec 2020 17:41:25 GMT + - Thu, 31 Dec 2020 03:36:03 GMT expires: - '-1' pragma: