From 75a8019cb5a4ac6612733dc7caf2f70d46212a3c Mon Sep 17 00:00:00 2001 From: MyronFanQiu Date: Tue, 24 Dec 2019 13:22:15 +0800 Subject: [PATCH 1/8] add test --- .../cli/command_modules/vm/_client_factory.py | 4 + .../command_modules/vm/_template_builder.py | 30 +- .../vm/_workspace_data_source_settings.py | 237 ++ .../azure/cli/command_modules/vm/custom.py | 55 +- .../test_vm_create_with_workspace_linux.yaml | 2483 +++++++++++++ ...test_vm_create_with_workspace_windows.yaml | 3258 +++++++++++++++++ .../vm/tests/latest/test_vm_commands.py | 58 + 7 files changed, 6117 insertions(+), 8 deletions(-) create mode 100644 src/azure-cli/azure/cli/command_modules/vm/_workspace_data_source_settings.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_create_with_workspace_linux.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_create_with_workspace_windows.yaml diff --git a/src/azure-cli/azure/cli/command_modules/vm/_client_factory.py b/src/azure-cli/azure/cli/command_modules/vm/_client_factory.py index 53ce223fa7a..013124f1953 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_client_factory.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_client_factory.py @@ -127,6 +127,10 @@ def cf_log_analytics(cli_ctx, subscription_id, *_): return _log_analytics_client_factory(cli_ctx, subscription_id).workspaces +def cf_log_analytics_data_sources(cli_ctx, subscription_id, *_): + return _log_analytics_client_factory(cli_ctx, subscription_id).data_sources + + def cf_log_analytics_data_plane(cli_ctx, _): """Initialize Log Analytics data client for use with CLI.""" from azure.loganalytics import LogAnalyticsDataClient diff --git a/src/azure-cli/azure/cli/command_modules/vm/_template_builder.py b/src/azure-cli/azure/cli/command_modules/vm/_template_builder.py index 1af796ac07b..943dbb9c171 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_template_builder.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_template_builder.py @@ -916,7 +916,7 @@ def build_av_set_resource(cmd, name, location, tags, platform_update_domain_coun # used for log analytics workspace -def build_vm_mmaExtension_resource(_, vm_name, location): +def build_vm_linux_log_analytics_workspace_agent(_, vm_name, location): mmaExtension_resource = { 'type': 'Microsoft.Compute/virtualMachines/extensions', 'apiVersion': '2018-10-01', @@ -942,7 +942,7 @@ def build_vm_mmaExtension_resource(_, vm_name, location): # used for log analytics workspace -def build_vm_daExtensionName_resource(_, vm_name, location): +def build_vm_daExtension_resource(_, vm_name, location): daExtensionName_resource = { 'type': 'Microsoft.Compute/virtualMachines/extensions', 'apiVersion': '2018-10-01', @@ -958,3 +958,29 @@ def build_vm_daExtensionName_resource(_, vm_name, location): daExtensionName_resource['location'] = location daExtensionName_resource['dependsOn'] = ['Microsoft.Compute/virtualMachines/{0}/extensions/OMSExtension'.format(vm_name)] # pylint: disable=line-too-long return daExtensionName_resource + + +# used for log analytics workspace +def build_vm_windows_log_analytics_workspace_agent(_, vm_name, location): + mmaExtension_resource = { + 'type': 'Microsoft.Compute/virtualMachines/extensions', + 'apiVersion': '2018-10-01', + 'properties': { + 'publisher': 'Microsoft.EnterpriseCloud.Monitoring', + 'type': 'MicrosoftMonitoringAgent', + 'typeHandlerVersion': '1.0', + 'autoUpgradeMinorVersion': 'true', + 'settings': { + 'workspaceId': "[reference(parameters('workspaceId'), '2015-11-01-preview').customerId]", + 'stopOnMultipleConnections': 'true' + }, + 'protectedSettings': { + 'workspaceKey': "[listKeys(parameters('workspaceId'), '2015-11-01-preview').primarySharedKey]" + } + } + } + + mmaExtension_resource['name'] = vm_name + '/MicrosoftMonitoringAgent' + mmaExtension_resource['location'] = location + mmaExtension_resource['dependsOn'] = ['Microsoft.Compute/virtualMachines/' + vm_name] + return mmaExtension_resource diff --git a/src/azure-cli/azure/cli/command_modules/vm/_workspace_data_source_settings.py b/src/azure-cli/azure/cli/command_modules/vm/_workspace_data_source_settings.py new file mode 100644 index 00000000000..bb6a3573d84 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/_workspace_data_source_settings.py @@ -0,0 +1,237 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +linux_performance_collection_properties = [ + { + 'state': 'Enabled' + } +] + +linux_performance_object_properties = [ + { + "instanceName": "*", + "intervalSeconds": 10, + "objectName": "Memory", + "performanceCounters": [ + { + "counterName": "Available MBytes Memory" + }, + { + "counterName": "% Used Memory" + }, + { + "counterName": "% Used Swap Space" + } + ] + }, + { + "instanceName": "*", + "intervalSeconds": 10, + "objectName": "Processor", + "performanceCounters": [ + { + "counterName": "% Processor Time" + }, + { + "counterName": "% Privileged Time" + } + ] + }, + { + "instanceName": "*", + "intervalSeconds": 10, + "objectName": "Logical Disk", + "performanceCounters": [ + { + "counterName": "% Used Inodes" + }, + { + "counterName": "Free Megabytes" + }, + { + "counterName": "% Used Space" + }, + { + "counterName": "Disk Transfers/sec" + }, + { + "counterName": "Disk Reads/sec" + }, + { + "counterName": "Disk Writes/sec" + } + ] + }, + { + "instanceName": "*", + "intervalSeconds": 10, + "objectName": "Network", + "performanceCounters": [ + { + "counterName": "Total Bytes Transmitted" + }, + { + "counterName": "Total Bytes Received" + } + ] + } +] + +linux_syslog_collection_properties = [ + { + 'state': 'Enabled' + } +] + +linux_syslog_properties = [ + { + "syslogName": "syslog", + "syslogSeverities": [ + { + "severity": "notice" + }, + { + "severity": "info" + }, + { + "severity": "debug" + } + ] + } +] + +windows_event_properties = [ + { + "eventLogName": "System", + "eventTypes": [ + { + "eventType": "Error" + }, + { + "eventType": "Warning" + } + ] + } +] + +windows_performance_counter_properties = [ + { + "collectorType": "Default", + "counterName": "Disk Transfers/sec", + "instanceName": "*", + "intervalSeconds": 10, + "objectName": "LogicalDisk" + }, + { + "collectorType": "Default", + "counterName": "Disk Reads/sec", + "instanceName": "*", + "intervalSeconds": 10, + "objectName": "LogicalDisk" + }, + { + "collectorType": "Default", + "counterName": "Bytes Total/sec", + "instanceName": "*", + "intervalSeconds": 10, + "objectName": "Network Interface" + }, + { + "collectorType": "Default", + "counterName": "Available MBytes", + "instanceName": "*", + "intervalSeconds": 10, + "objectName": "Memory" + }, + { + "collectorType": "Default", + "counterName": "% Free Space", + "instanceName": "*", + "intervalSeconds": 10, + "objectName": "LogicalDisk" + }, + { + "collectorType": "Default", + "counterName": "Avg. Disk sec/Write", + "instanceName": "*", + "intervalSeconds": 10, + "objectName": "LogicalDisk" + }, + { + "collectorType": "Default", + "counterName": "Bytes Received/sec", + "instanceName": "*", + "intervalSeconds": 10, + "objectName": "Network Adapter" + }, + { + "collectorType": "Default", + "counterName": "Current Disk Queue Length", + "instanceName": "*", + "intervalSeconds": 10, + "objectName": "LogicalDisk" + }, + { + "collectorType": "Default", + "counterName": "% Processor Time", + "instanceName": "_Total", + "intervalSeconds": 10, + "objectName": "Processor" + }, + { + "collectorType": "Default", + "counterName": "Free Megabytes", + "instanceName": "*", + "intervalSeconds": 10, + "objectName": "LogicalDisk" + }, + { + "collectorType": "Default", + "counterName": "Avg. Disk sec/Read", + "instanceName": "*", + "intervalSeconds": 10, + "objectName": "LogicalDisk" + }, + { + "collectorType": "Default", + "counterName": "Bytes Sent/sec", + "instanceName": "*", + "intervalSeconds": 10, + "objectName": "Network Adapter" + }, + { + "collectorType": "Default", + "counterName": "% Committed Bytes In Use", + "instanceName": "*", + "intervalSeconds": 10, + "objectName": "Memory" + }, + { + "collectorType": "Default", + "counterName": "Disk Writes/sec", + "instanceName": "*", + "intervalSeconds": 10, + "objectName": "LogicalDisk" + }, + { + "collectorType": "Default", + "counterName": "Processor Queue Length", + "instanceName": "*", + "intervalSeconds": 10, + "objectName": "System" + } +] + +default_linux_data_sources = { + "LinuxPerformanceCollection": linux_performance_collection_properties, + "LinuxPerformanceObject": linux_performance_object_properties, + "LinuxSyslogCollection": linux_syslog_collection_properties, + "LinuxSyslog": linux_syslog_properties +} + +default_windows_data_sources = { + "WindowsEvent": windows_event_properties, + "WindowsPerformanceCounter": windows_performance_counter_properties +} \ No newline at end of file diff --git a/src/azure-cli/azure/cli/command_modules/vm/custom.py b/src/azure-cli/azure/cli/command_modules/vm/custom.py index a9161652bde..a217506302f 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/custom.py +++ b/src/azure-cli/azure/cli/command_modules/vm/custom.py @@ -558,8 +558,9 @@ def create_vm(cmd, vm_name, resource_group_name, image=None, size='Standard_DS1_ build_vnet_resource, build_nsg_resource, build_public_ip_resource, StorageProfile, build_msi_role_assignment, - build_vm_mmaExtension_resource, - build_vm_daExtensionName_resource) + build_vm_linux_log_analytics_workspace_agent, + build_vm_daExtension_resource, + build_vm_windows_log_analytics_workspace_agent) from msrestazure.tools import resource_id, is_valid_resource_id subscription_id = get_subscription_id(cmd.cli_ctx) @@ -716,10 +717,16 @@ def create_vm(cmd, vm_name, resource_group_name, image=None, size='Standard_DS1_ if workspace is not None: workspace_id = _prepare_workspace(cmd, resource_group_name, workspace) master_template.add_secure_parameter('workspaceId', workspace_id) - vm_mmaExtension_resource = build_vm_mmaExtension_resource(cmd, vm_name, location) - vm_daExtensionName_resource = build_vm_daExtensionName_resource(cmd, vm_name, location) - master_template.add_resource(vm_mmaExtension_resource) - master_template.add_resource(vm_daExtensionName_resource) + if os_type.lower() == 'linux': + vm_mmaExtension_resource = build_vm_linux_log_analytics_workspace_agent(cmd, vm_name, location) + vm_daExtensionName_resource = build_vm_daExtension_resource(cmd, vm_name, location) + master_template.add_resource(vm_mmaExtension_resource) + master_template.add_resource(vm_daExtensionName_resource) + elif os_type.lower() == 'windows': + vm_mmaExtension_resource = build_vm_windows_log_analytics_workspace_agent(cmd, vm_name, location) + master_template.add_resource(vm_mmaExtension_resource) + else: + logger.warning("Unsupported OS type. Skip the connection step for log analytics workspace.") master_template.add_resource(vm_resource) @@ -753,6 +760,9 @@ def create_vm(cmd, vm_name, resource_group_name, image=None, size='Standard_DS1_ _show_missing_access_warning(resource_group_name, vm_name, 'vm') setattr(vm, 'identity', _construct_identity_info(identity_scope, identity_role, vm.identity.principal_id, vm.identity.user_assigned_identities)) + + if workspace is not None: + _set_data_source_for_workspace(cmd, os_type, resource_group_name, workspace_id) return vm @@ -1071,6 +1081,39 @@ def _prepare_workspace(cmd, resource_group_name, workspace): else: workspace_id = workspace return workspace_id + +def _set_data_source_for_workspace(cmd, os_type, resource_group_name, workspace_id): + from ._client_factory import cf_log_analytics_data_sources + from azure.cli.core.commands.client_factory import get_subscription_id + from azure.mgmt.loganalytics.models import DataSource + from msrestazure.tools import parse_resource_id + + subscription_id = get_subscription_id(cmd.cli_ctx) + data_sources_client = cf_log_analytics_data_sources(cmd.cli_ctx, subscription_id) + workspace_name = parse_resource_id(workspace_id)['name'] + data_source_name_template = "DataSource_{}_{}" + + default_data_sources = None + if os_type.lower() == 'linux': + from ._workspace_data_source_settings import default_linux_data_sources + default_data_sources = default_linux_data_sources + elif os_type.lower() == 'windows': + from ._workspace_data_source_settings import default_windows_data_sources + default_data_sources = default_windows_data_sources + + if default_data_sources is not None: + for data_source_kind, data_source_settings in default_data_sources.items(): + for data_source_setting in data_source_settings: + data_source = DataSource(kind=data_source_kind, + properties=data_source_setting) + data_source_name = data_source_name_template.format(data_source_kind, _gen_guid()) + data_sources_client.create_or_update(resource_group_name, + workspace_name, + data_source_name, + data_source) + else: + logger.warning("Unsupported OS type. Skip the default settings for log analytics workspace.") + # endregion diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_create_with_workspace_linux.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_create_with_workspace_linux.yaml new file mode 100644 index 00000000000..d7e2a8a8b75 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_create_with_workspace_linux.yaml @@ -0,0 +1,2483 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001","name":"cli_test_vm_create_with_workspace_linux000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2019-12-24T04:22:36Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:22: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: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.22.0 + method: GET + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json + response: + body: + string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n + \ \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\": + {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"type\": + \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": + {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n + \ \"sku\": \"7.5\",\n \"version\": \"latest\"\n },\n + \ \"CoreOS\": {\n \"publisher\": \"CoreOS\",\n \"offer\": + \"CoreOS\",\n \"sku\": \"Stable\",\n \"version\": \"latest\"\n + \ },\n \"Debian\": {\n \"publisher\": \"Debian\",\n + \ \"offer\": \"debian-10\",\n \"sku\": \"10\",\n \"version\": + \"latest\"\n },\n \"openSUSE-Leap\": {\n \"publisher\": + \"SUSE\",\n \"offer\": \"openSUSE-Leap\",\n \"sku\": + \"42.3\",\n \"version\": \"latest\"\n },\n \"RHEL\": + {\n \"publisher\": \"RedHat\",\n \"offer\": \"RHEL\",\n + \ \"sku\": \"7-LVM\",\n \"version\": \"latest\"\n },\n + \ \"SLES\": {\n \"publisher\": \"SUSE\",\n \"offer\": + \"SLES\",\n \"sku\": \"15\",\n \"version\": \"latest\"\n + \ },\n \"UbuntuLTS\": {\n \"publisher\": \"Canonical\",\n + \ \"offer\": \"UbuntuServer\",\n \"sku\": \"18.04-LTS\",\n + \ \"version\": \"latest\"\n }\n },\n \"Windows\": + {\n \"Win2019Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2019-Datacenter\",\n + \ \"version\": \"latest\"\n },\n \"Win2016Datacenter\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2016-Datacenter\",\n \"version\": + \"latest\"\n },\n \"Win2012R2Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2012-R2-Datacenter\",\n \"version\": \"latest\"\n },\n + \ \"Win2012Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2012-Datacenter\",\n + \ \"version\": \"latest\"\n },\n \"Win2008R2SP1\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2008-R2-SP1\",\n \"version\": + \"latest\"\n }\n }\n }\n }\n }\n}\n" + headers: + accept-ranges: + - bytes + access-control-allow-origin: + - '*' + cache-control: + - max-age=300 + connection: + - keep-alive + content-length: + - '2501' + content-security-policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + content-type: + - text/plain; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:22:45 GMT + etag: + - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" + expires: + - Tue, 24 Dec 2019 04:27:45 GMT + source-age: + - '0' + strict-transport-security: + - max-age=31536000 + vary: + - Authorization,Accept-Encoding, Accept-Encoding + via: + - 1.1 varnish + x-cache: + - MISS + x-cache-hits: + - '0' + x-content-type-options: + - nosniff + x-fastly-request-id: + - 61b5d6700cc3afe9d82bd8b83aa595d87876ccff + x-frame-options: + - deny + x-geo-block-list: + - '' + x-github-request-id: + - 5DA6:1F61:387B27:3C9986:5E019295 + x-served-by: + - cache-sin18028-SIN + x-timer: + - S1577161365.377904,VS0,VE293 + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:22:46 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: + - vm create + Connection: + - keep-alive + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002?api-version=2015-11-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.OperationalInsights/workspaces/cliworkspace000002'' + under resource group ''cli_test_vm_create_with_workspace_linux000001'' was + not found."}}' + headers: + cache-control: + - no-cache + content-length: + - '240' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:22:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001","name":"cli_test_vm_create_with_workspace_linux000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2019-12-24T04:22:36Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:22:46 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: '{"location": "eastus", "properties": {"sku": {"name": "PerGB2018"}, "retentionInDays": + 30}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '91' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002?api-version=2015-11-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"a621d78a-2d1e-448f-82ec-60e2bca11b99\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Tue, 24 Dec 2019 04:22:56 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, 25 Dec 2019 01:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002\",\r\n + \ \"name\": \"cliworkspace000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '928' + content-type: + - application/json + date: + - Tue, 24 Dec 2019 04:22:57 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002?api-version=2015-11-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"a621d78a-2d1e-448f-82ec-60e2bca11b99\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Tue, 24 Dec 2019 04:22:56 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, 25 Dec 2019 01:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002\",\r\n + \ \"name\": \"cliworkspace000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '929' + content-type: + - application/json + date: + - Tue, 24 Dec 2019 04:23:28 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: 'b''{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {"workspaceId": {"type": "securestring", + "metadata": {"description": "Secure workspaceId"}}}, "variables": {}, "resources": + [{"name": "monitorvmVNET", "type": "Microsoft.Network/virtualNetworks", "location": + "eastus", "apiVersion": "2015-06-15", "dependsOn": [], "tags": {}, "properties": + {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "subnets": [{"name": + "monitorvmSubnet", "properties": {"addressPrefix": "10.0.0.0/24"}}]}}, {"type": + "Microsoft.Network/networkSecurityGroups", "name": "monitorvmNSG", "apiVersion": + "2015-06-15", "location": "eastus", "tags": {}, "dependsOn": [], "properties": + {"securityRules": [{"name": "default-allow-ssh", "properties": {"protocol": + "Tcp", "sourcePortRange": "*", "destinationPortRange": "22", "sourceAddressPrefix": + "*", "destinationAddressPrefix": "*", "access": "Allow", "priority": 1000, "direction": + "Inbound"}}]}}, {"apiVersion": "2018-01-01", "type": "Microsoft.Network/publicIPAddresses", + "name": "monitorvmPublicIP", "location": "eastus", "tags": {}, "dependsOn": + [], "properties": {"publicIPAllocationMethod": null}}, {"apiVersion": "2015-06-15", + "type": "Microsoft.Network/networkInterfaces", "name": "monitorvmVMNic", "location": + "eastus", "tags": {}, "dependsOn": ["Microsoft.Network/virtualNetworks/monitorvmVNET", + "Microsoft.Network/networkSecurityGroups/monitorvmNSG", "Microsoft.Network/publicIpAddresses/monitorvmPublicIP"], + "properties": {"ipConfigurations": [{"name": "ipconfigmonitorvm", "properties": + {"privateIPAllocationMethod": "Dynamic", "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET/subnets/monitorvmSubnet"}, + "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP"}}}], + "networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG"}}}, + {"type": "Microsoft.Compute/virtualMachines/extensions", "apiVersion": "2018-10-01", + "properties": {"publisher": "Microsoft.EnterpriseCloud.Monitoring", "type": + "OmsAgentForLinux", "typeHandlerVersion": "1.4", "autoUpgradeMinorVersion": + "true", "settings": {"workspaceId": "[reference(parameters(\''workspaceId\''), + \''2015-11-01-preview\'').customerId]", "stopOnMultipleConnections": "true"}, + "protectedSettings": {"workspaceKey": "[listKeys(parameters(\''workspaceId\''), + \''2015-11-01-preview\'').primarySharedKey]"}}, "name": "monitorvm/OMSExtension", + "location": "eastus", "dependsOn": ["Microsoft.Compute/virtualMachines/monitorvm"]}, + {"type": "Microsoft.Compute/virtualMachines/extensions", "apiVersion": "2018-10-01", + "properties": {"publisher": "Microsoft.Azure.Monitoring.DependencyAgent", "type": + "DependencyAgentLinux", "typeHandlerVersion": "9.5", "autoUpgradeMinorVersion": + "true"}, "name": "monitorvm/DependencyAgentLinux", "location": "eastus", "dependsOn": + ["Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension"]}, {"apiVersion": + "2019-07-01", "type": "Microsoft.Compute/virtualMachines", "name": "monitorvm", + "location": "eastus", "tags": {}, "dependsOn": ["Microsoft.Network/networkInterfaces/monitorvmVMNic"], + "properties": {"hardwareProfile": {"vmSize": "Standard_DS1_v2"}, "networkProfile": + {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic"}]}, + "storageProfile": {"osDisk": {"createOption": "fromImage", "name": null, "caching": + "ReadWrite", "managedDisk": {"storageAccountType": null, "diskEncryptionSet": + {"id": null}}}, "imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", + "sku": "18.04-LTS", "version": "latest"}}, "osProfile": {"computerName": "monitorvm", + "adminUsername": "fanqiu", "linuxConfiguration": {"disablePasswordAuthentication": + true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC/6lyAsWCEt5FlwlP4E2dBLTrJlQ8F8eM7P+N60KN/G59ytk5e1hUZ9BsCLOQ+Ebh9Fq/ck2k2AbOPhTk+PcUOMDSTkxPIXcA/zUtfKOV9VHf4urkVFy+4mN9+xcs7NlAbyj0ZImvy3SIsdlL4dO3FWJ81QtRUOgdYQq5cBXi0eExClt0Hfjq4T4FqU0GKhjOnaO/MLZ7gf0UfWdqmYqUWOE5EZKdml1PG/LeYG5y7oXQ1uCz9wwsa8DO3PzUSzCw8RK1/6MJQIyBbytz2LzXSidHj8tHFkxt9Flhh+CeeoDTJYm13Jvic9DxrqFY3Px7+9Bt6D0exV+USneFGB2LRJk2Bm6Nz6/FYlyXUAgZbZx2w3ZSXhaiNoW7UfD4GJ5E9O3F2T0atN/IgW2IHp1wNdr8AAT18YqkN69iBSL1Rx9eel/V6YYjhG7F6dTHCsJUB1qQWoCEaWwiRw57fsrO2XRzF79QK96Oz4VkLZvJj/PhR4ez+/tsjIT5TKWKGHstQ4VNvvuUhbYt+SI3aLxg8EuEgmvfaJ3k77+ceb7Sy3WsWHyRDgmypHe1ncYqFMONTwGcPO5snIH40C34eD5hy3t3myX8WVpDwcBrn44cqQ722Q6u6z/qEpC4sDsYCH9fp+7/PMGQWwwgdqf7Leqe4IKxIL+OxoXxUswat/6wzpQ== + fanqiu@microsoft.com\\n", "path": "/home/fanqiu/.ssh/authorized_keys"}]}}}}}], + "outputs": {}}, "parameters": {"workspaceId": {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002"}}, + "mode": "Incremental"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '5521' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/vm_deploy_fe9Bbg290rSjttIJaTdFchtsqpH8oQPd","name":"vm_deploy_fe9Bbg290rSjttIJaTdFchtsqpH8oQPd","type":"Microsoft.Resources/deployments","properties":{"templateHash":"8982832986653259472","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-12-24T04:23:34.6006758Z","duration":"PT3.6281749S","correlationId":"28fc8c4d-285f-4360-8438-c24965b22554","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"monitorvmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"monitorvmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/DependencyAgentLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/DependencyAgentLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/vm_deploy_fe9Bbg290rSjttIJaTdFchtsqpH8oQPd/operationStatuses/08586244454745051348?api-version=2019-07-01 + cache-control: + - no-cache + content-length: + - '4976' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:23:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:24:06 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:24:38 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:25:08 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:25:38 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:26:09 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:26:39 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:27:11 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:27:41 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:28:11 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:28:42 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:29:12 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:29:43 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:30:14 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:30: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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:31:15 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:31:45 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:32:16 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:32:47 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:33:17 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:33:47 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:34:18 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:34:49 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:35:19 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/vm_deploy_fe9Bbg290rSjttIJaTdFchtsqpH8oQPd","name":"vm_deploy_fe9Bbg290rSjttIJaTdFchtsqpH8oQPd","type":"Microsoft.Resources/deployments","properties":{"templateHash":"8982832986653259472","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-12-24T04:34:57.6708043Z","duration":"PT11M26.6983034S","correlationId":"28fc8c4d-285f-4360-8438-c24965b22554","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"monitorvmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"monitorvmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/DependencyAgentLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/DependencyAgentLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/DependencyAgentLinux"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '6542' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:35:19 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm?$expand=instanceView&api-version=2019-07-01 + response: + body: + string: "{\r\n \"name\": \"monitorvm\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"3dd89a77-91a6-487f-a8d6-cdf0ae8603bb\",\r\n + \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n + \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": + \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": + \"18.04-LTS\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": + \"18.04.201912180\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": + \"Linux\",\r\n \"name\": \"monitorvm_disk1_8dd5e3f44a644531a1575e9abfe5f601\",\r\n + \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n + \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/disks/monitorvm_disk1_8dd5e3f44a644531a1575e9abfe5f601\"\r\n + \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": + []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"monitorvm\",\r\n + \ \"adminUsername\": \"fanqiu\",\r\n \"linuxConfiguration\": {\r\n + \ \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n + \ \"publicKeys\": [\r\n {\r\n \"path\": \"/home/fanqiu/.ssh/authorized_keys\",\r\n + \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC/6lyAsWCEt5FlwlP4E2dBLTrJlQ8F8eM7P+N60KN/G59ytk5e1hUZ9BsCLOQ+Ebh9Fq/ck2k2AbOPhTk+PcUOMDSTkxPIXcA/zUtfKOV9VHf4urkVFy+4mN9+xcs7NlAbyj0ZImvy3SIsdlL4dO3FWJ81QtRUOgdYQq5cBXi0eExClt0Hfjq4T4FqU0GKhjOnaO/MLZ7gf0UfWdqmYqUWOE5EZKdml1PG/LeYG5y7oXQ1uCz9wwsa8DO3PzUSzCw8RK1/6MJQIyBbytz2LzXSidHj8tHFkxt9Flhh+CeeoDTJYm13Jvic9DxrqFY3Px7+9Bt6D0exV+USneFGB2LRJk2Bm6Nz6/FYlyXUAgZbZx2w3ZSXhaiNoW7UfD4GJ5E9O3F2T0atN/IgW2IHp1wNdr8AAT18YqkN69iBSL1Rx9eel/V6YYjhG7F6dTHCsJUB1qQWoCEaWwiRw57fsrO2XRzF79QK96Oz4VkLZvJj/PhR4ez+/tsjIT5TKWKGHstQ4VNvvuUhbYt+SI3aLxg8EuEgmvfaJ3k77+ceb7Sy3WsWHyRDgmypHe1ncYqFMONTwGcPO5snIH40C34eD5hy3t3myX8WVpDwcBrn44cqQ722Q6u6z/qEpC4sDsYCH9fp+7/PMGQWwwgdqf7Leqe4IKxIL+OxoXxUswat/6wzpQ== + fanqiu@microsoft.com\\n\"\r\n }\r\n ]\r\n },\r\n + \ \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n + \ \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": + true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic\"}]},\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": + \"monitorvm\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": \"18.04\",\r\n + \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.2.45\",\r\n \"statuses\": + [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n + \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n + \ \"message\": \"Guest Agent is running\",\r\n \"time\": + \"2019-12-24T04:35:20+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + [\r\n {\r\n \"type\": \"Microsoft.Azure.Monitoring.DependencyAgent.DependencyAgentLinux\",\r\n + \ \"typeHandlerVersion\": \"9.10.0.7820\",\r\n \"status\": + {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \"level\": + \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \"message\": + \"Plugin enabled\"\r\n }\r\n },\r\n {\r\n \"type\": + \"Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux\",\r\n \"typeHandlerVersion\": + \"1.12.17\",\r\n \"status\": {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n + \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n + \ \"message\": \"Plugin enabled\"\r\n }\r\n }\r\n + \ ]\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": + \"monitorvm_disk1_8dd5e3f44a644531a1575e9abfe5f601\",\r\n \"statuses\": + [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n + \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning + succeeded\",\r\n \"time\": \"2019-12-24T04:27:14.696258+00:00\"\r\n + \ }\r\n ]\r\n }\r\n ],\r\n \"extensions\": + [\r\n {\r\n \"name\": \"DependencyAgentLinux\",\r\n \"type\": + \"Microsoft.Azure.Monitoring.DependencyAgent.DependencyAgentLinux\",\r\n \"typeHandlerVersion\": + \"9.10.0.7820\",\r\n \"statuses\": [\r\n {\r\n \"code\": + \"ProvisioningState/succeeded\",\r\n \"level\": \"Info\",\r\n + \ \"displayStatus\": \"Provisioning succeeded\",\r\n \"message\": + \"Plugin enabled\"\r\n }\r\n ]\r\n },\r\n {\r\n + \ \"name\": \"OMSExtension\",\r\n \"type\": \"Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux\",\r\n + \ \"typeHandlerVersion\": \"1.12.17\",\r\n \"statuses\": + [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n + \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning + succeeded\",\r\n \"message\": \"Enable succeeded\"\r\n }\r\n + \ ]\r\n }\r\n ],\r\n \"hyperVGeneration\": \"V1\",\r\n + \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n + \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning + succeeded\",\r\n \"time\": \"2019-12-24T04:34:53.0254522+00:00\"\r\n + \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n + \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n + \ }\r\n ]\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"name\": + \"DependencyAgentLinux\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/DependencyAgentLinux\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachines/extensions\",\r\n \"location\": + \"eastus\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": + true,\r\n \"provisioningState\": \"Succeeded\",\r\n \"publisher\": + \"Microsoft.Azure.Monitoring.DependencyAgent\",\r\n \"type\": \"DependencyAgentLinux\",\r\n + \ \"typeHandlerVersion\": \"9.5\"\r\n }\r\n },\r\n {\r\n + \ \"name\": \"OMSExtension\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachines/extensions\",\r\n \"location\": + \"eastus\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": + true,\r\n \"provisioningState\": \"Succeeded\",\r\n \"publisher\": + \"Microsoft.EnterpriseCloud.Monitoring\",\r\n \"type\": \"OmsAgentForLinux\",\r\n + \ \"typeHandlerVersion\": \"1.4\",\r\n \"settings\": {\"workspaceId\":\"a621d78a-2d1e-448f-82ec-60e2bca11b99\",\"stopOnMultipleConnections\":\"true\"}\r\n + \ }\r\n }\r\n ]\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '7235' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:35:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/LowCostGet3Min;3994,Microsoft.Compute/LowCostGet30Min;31990 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic?api-version=2018-01-01 + response: + body: + string: "{\r\n \"name\": \"monitorvmVMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic\",\r\n + \ \"etag\": \"W/\\\"ed8ce849-baa5-4274-aec1-8320fff418a5\\\"\",\r\n \"location\": + \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"resourceGuid\": \"29876921-3d0f-4a69-a351-46034ef6e762\",\r\n + \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigmonitorvm\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic/ipConfigurations/ipconfigmonitorvm\",\r\n + \ \"etag\": \"W/\\\"ed8ce849-baa5-4274-aec1-8320fff418a5\\\"\",\r\n + \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET/subnets/monitorvmSubnet\"\r\n + \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": + \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": + [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": + \"khuwnxjujybude0wxi1ges3nwa.bx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-8F-07-A8\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG\"\r\n + \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2628' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:35:22 GMT + etag: + - W/"ed8ce849-baa5-4274-aec1-8320fff418a5" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - bd0619ae-6363-4b0e-b9cb-775719f73715 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP?api-version=2018-01-01 + response: + body: + string: "{\r\n \"name\": \"monitorvmPublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP\",\r\n + \ \"etag\": \"W/\\\"11ea0314-e4f8-4da5-afb9-5187b3999c0d\\\"\",\r\n \"location\": + \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"resourceGuid\": \"64d7abf3-dcd1-47e0-9cc2-8d7c804716f1\",\r\n + \ \"ipAddress\": \"40.114.45.240\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic/ipConfigurations/ipconfigmonitorvm\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1021' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:35:22 GMT + etag: + - W/"11ea0314-e4f8-4da5-afb9-5187b3999c0d" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - c6fd1972-4274-4168-aed8-5243001a537c + status: + code: 200 + message: OK +- request: + body: '{"properties": {"state": "Enabled"}, "kind": "LinuxPerformanceCollection"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '74' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxPerformanceCollection_79bc5207-dab5-4f01-8dfd-fe59f5d70841?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"LinuxPerformanceCollection","properties":{"state":"Enabled"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceCollection_79bc5207-dab5-4f01-8dfd-fe59f5d70841","etag":"W/\"datetime''2019-12-24T04%3A35%3A23.0015604Z''\"","name":"DataSource_LinuxPerformanceCollection_79bc5207-dab5-4f01-8dfd-fe59f5d70841","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '583' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:35:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"instanceName": "*", "intervalSeconds": 10, "objectName": + "Memory", "performanceCounters": [{"counterName": "Available MBytes Memory"}, + {"counterName": "% Used Memory"}, {"counterName": "% Used Swap Space"}]}, "kind": + "LinuxPerformanceObject"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '259' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxPerformanceObject_12501512-7a92-4902-92e1-8f6f848b10b2?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Memory","performanceCounters":[{"counterName":"Available + MBytes Memory"},{"counterName":"% Used Memory"},{"counterName":"% Used Swap + Space"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_12501512-7a92-4902-92e1-8f6f848b10b2","etag":"W/\"datetime''2019-12-24T04%3A35%3A24.1578074Z''\"","name":"DataSource_LinuxPerformanceObject_12501512-7a92-4902-92e1-8f6f848b10b2","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '749' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:35:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"instanceName": "*", "intervalSeconds": 10, "objectName": + "Processor", "performanceCounters": [{"counterName": "% Processor Time"}, {"counterName": + "% Privileged Time"}]}, "kind": "LinuxPerformanceObject"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '221' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxPerformanceObject_c98efb93-8896-40ec-b726-3e5b60e1cff6?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Processor","performanceCounters":[{"counterName":"% + Processor Time"},{"counterName":"% Privileged Time"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_c98efb93-8896-40ec-b726-3e5b60e1cff6","etag":"W/\"datetime''2019-12-24T04%3A35%3A25.1796944Z''\"","name":"DataSource_LinuxPerformanceObject_c98efb93-8896-40ec-b726-3e5b60e1cff6","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '713' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:35:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"instanceName": "*", "intervalSeconds": 10, "objectName": + "Logical Disk", "performanceCounters": [{"counterName": "% Used Inodes"}, {"counterName": + "Free Megabytes"}, {"counterName": "% Used Space"}, {"counterName": "Disk Transfers/sec"}, + {"counterName": "Disk Reads/sec"}, {"counterName": "Disk Writes/sec"}]}, "kind": + "LinuxPerformanceObject"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '361' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxPerformanceObject_81502588-49d6-46e5-9610-9c1209fa884c?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Logical + Disk","performanceCounters":[{"counterName":"% Used Inodes"},{"counterName":"Free + Megabytes"},{"counterName":"% Used Space"},{"counterName":"Disk Transfers/sec"},{"counterName":"Disk + Reads/sec"},{"counterName":"Disk Writes/sec"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_81502588-49d6-46e5-9610-9c1209fa884c","etag":"W/\"datetime''2019-12-24T04%3A35%3A26.1735143Z''\"","name":"DataSource_LinuxPerformanceObject_81502588-49d6-46e5-9610-9c1209fa884c","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '845' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:35:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"instanceName": "*", "intervalSeconds": 10, "objectName": + "Network", "performanceCounters": [{"counterName": "Total Bytes Transmitted"}, + {"counterName": "Total Bytes Received"}]}, "kind": "LinuxPerformanceObject"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '229' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxPerformanceObject_87b0df84-a1f8-4c0e-bf43-52b007e2d0c4?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Network","performanceCounters":[{"counterName":"Total + Bytes Transmitted"},{"counterName":"Total Bytes Received"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_87b0df84-a1f8-4c0e-bf43-52b007e2d0c4","etag":"W/\"datetime''2019-12-24T04%3A35%3A28.3749385Z''\"","name":"DataSource_LinuxPerformanceObject_87b0df84-a1f8-4c0e-bf43-52b007e2d0c4","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:35:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"state": "Enabled"}, "kind": "LinuxSyslogCollection"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '69' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxSyslogCollection_e43183d5-4f7d-482b-8367-c9358118b5df?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"LinuxSyslogCollection","properties":{"state":"Enabled"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxSyslogCollection_e43183d5-4f7d-482b-8367-c9358118b5df","etag":"W/\"datetime''2019-12-24T04%3A35%3A29.2904010Z''\"","name":"DataSource_LinuxSyslogCollection_e43183d5-4f7d-482b-8367-c9358118b5df","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '568' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:35:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"syslogName": "syslog", "syslogSeverities": [{"severity": + "notice"}, {"severity": "info"}, {"severity": "debug"}]}, "kind": "LinuxSyslog"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '154' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxSyslog_29e49f6c-c190-4d2f-ab65-40eed3d36e44?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"LinuxSyslog","properties":{"syslogName":"syslog","syslogSeverities":[{"severity":"notice"},{"severity":"info"},{"severity":"debug"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxSyslog_29e49f6c-c190-4d2f-ab65-40eed3d36e44","etag":"W/\"datetime''2019-12-24T04%3A35%3A30.3216473Z''\"","name":"DataSource_LinuxSyslog_29e49f6c-c190-4d2f-ab65-40eed3d36e44","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '626' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:35:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor log-analytics workspace show + Connection: + - keep-alive + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002?api-version=2015-11-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"a621d78a-2d1e-448f-82ec-60e2bca11b99\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Tue, 24 Dec 2019 04:22:56 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, 25 Dec 2019 01:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002\",\r\n + \ \"name\": \"cliworkspace000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '929' + content-type: + - application/json + date: + - Tue, 24 Dec 2019 04:35:32 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - rest + Connection: + - keep-alive + ParameterSetName: + - --method --uri + User-Agent: + - AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002/dataSources?$filter=kind%20eq%20'LinuxPerformanceCollection'&api-version=2015-11-01-preview + response: + body: + string: '{"value":[{"kind":"LinuxPerformanceCollection","properties":{"state":"Enabled"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceCollection_79bc5207-dab5-4f01-8dfd-fe59f5d70841","etag":"W/\"datetime''2019-12-24T04%3A35%3A23.0015604Z''\"","name":"DataSource_LinuxPerformanceCollection_79bc5207-dab5-4f01-8dfd-fe59f5d70841","type":"Microsoft.OperationalInsights/workspaces/datasources"}]}' + headers: + cache-control: + - no-cache + content-length: + - '595' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:35:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - 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 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - rest + Connection: + - keep-alive + ParameterSetName: + - --method --uri + User-Agent: + - AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002/dataSources?$filter=kind%20eq%20'LinuxSyslog'&api-version=2015-11-01-preview + response: + body: + string: '{"value":[{"kind":"LinuxSyslog","properties":{"syslogName":"syslog","syslogSeverities":[{"severity":"notice"},{"severity":"info"},{"severity":"debug"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxSyslog_29e49f6c-c190-4d2f-ab65-40eed3d36e44","etag":"W/\"datetime''2019-12-24T04%3A35%3A30.3216473Z''\"","name":"DataSource_LinuxSyslog_29e49f6c-c190-4d2f-ab65-40eed3d36e44","type":"Microsoft.OperationalInsights/workspaces/datasources"}]}' + headers: + cache-control: + - no-cache + content-length: + - '638' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:35:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - 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 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - rest + Connection: + - keep-alive + ParameterSetName: + - --method --uri + User-Agent: + - AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002/dataSources?$filter=kind%20eq%20'LinuxSyslogCollection'&api-version=2015-11-01-preview + response: + body: + string: '{"value":[{"kind":"LinuxSyslogCollection","properties":{"state":"Enabled"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxSyslogCollection_e43183d5-4f7d-482b-8367-c9358118b5df","etag":"W/\"datetime''2019-12-24T04%3A35%3A29.2904010Z''\"","name":"DataSource_LinuxSyslogCollection_e43183d5-4f7d-482b-8367-c9358118b5df","type":"Microsoft.OperationalInsights/workspaces/datasources"}]}' + headers: + cache-control: + - no-cache + content-length: + - '580' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:35:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - 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 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - rest + Connection: + - keep-alive + ParameterSetName: + - --method --uri + User-Agent: + - AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002/dataSources?$filter=kind%20eq%20'LinuxPerformanceObject'&api-version=2015-11-01-preview + response: + body: + string: '{"value":[{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Memory","performanceCounters":[{"counterName":"Available + MBytes Memory"},{"counterName":"% Used Memory"},{"counterName":"% Used Swap + Space"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_12501512-7a92-4902-92e1-8f6f848b10b2","etag":"W/\"datetime''2019-12-24T04%3A35%3A24.1578074Z''\"","name":"DataSource_LinuxPerformanceObject_12501512-7a92-4902-92e1-8f6f848b10b2","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Logical + Disk","performanceCounters":[{"counterName":"% Used Inodes"},{"counterName":"Free + Megabytes"},{"counterName":"% Used Space"},{"counterName":"Disk Transfers/sec"},{"counterName":"Disk + Reads/sec"},{"counterName":"Disk Writes/sec"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_81502588-49d6-46e5-9610-9c1209fa884c","etag":"W/\"datetime''2019-12-24T04%3A35%3A26.1735143Z''\"","name":"DataSource_LinuxPerformanceObject_81502588-49d6-46e5-9610-9c1209fa884c","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Network","performanceCounters":[{"counterName":"Total + Bytes Transmitted"},{"counterName":"Total Bytes Received"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_87b0df84-a1f8-4c0e-bf43-52b007e2d0c4","etag":"W/\"datetime''2019-12-24T04%3A35%3A28.3749385Z''\"","name":"DataSource_LinuxPerformanceObject_87b0df84-a1f8-4c0e-bf43-52b007e2d0c4","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Processor","performanceCounters":[{"counterName":"% + Processor Time"},{"counterName":"% Privileged Time"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_c98efb93-8896-40ec-b726-3e5b60e1cff6","etag":"W/\"datetime''2019-12-24T04%3A35%3A25.1796944Z''\"","name":"DataSource_LinuxPerformanceObject_c98efb93-8896-40ec-b726-3e5b60e1cff6","type":"Microsoft.OperationalInsights/workspaces/datasources"}]}' + headers: + cache-control: + - no-cache + content-length: + - '3043' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 04:35:41 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - 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 + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_create_with_workspace_windows.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_create_with_workspace_windows.yaml new file mode 100644 index 00000000000..687c29f285e --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_create_with_workspace_windows.yaml @@ -0,0 +1,3258 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001","name":"cli_test_vm_create_with_workspace_windows000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2019-12-24T05:00:03Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:00:08 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: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.22.0 + method: GET + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json + response: + body: + string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n + \ \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\": + {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"type\": + \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": + {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n + \ \"sku\": \"7.5\",\n \"version\": \"latest\"\n },\n + \ \"CoreOS\": {\n \"publisher\": \"CoreOS\",\n \"offer\": + \"CoreOS\",\n \"sku\": \"Stable\",\n \"version\": \"latest\"\n + \ },\n \"Debian\": {\n \"publisher\": \"Debian\",\n + \ \"offer\": \"debian-10\",\n \"sku\": \"10\",\n \"version\": + \"latest\"\n },\n \"openSUSE-Leap\": {\n \"publisher\": + \"SUSE\",\n \"offer\": \"openSUSE-Leap\",\n \"sku\": + \"42.3\",\n \"version\": \"latest\"\n },\n \"RHEL\": + {\n \"publisher\": \"RedHat\",\n \"offer\": \"RHEL\",\n + \ \"sku\": \"7-LVM\",\n \"version\": \"latest\"\n },\n + \ \"SLES\": {\n \"publisher\": \"SUSE\",\n \"offer\": + \"SLES\",\n \"sku\": \"15\",\n \"version\": \"latest\"\n + \ },\n \"UbuntuLTS\": {\n \"publisher\": \"Canonical\",\n + \ \"offer\": \"UbuntuServer\",\n \"sku\": \"18.04-LTS\",\n + \ \"version\": \"latest\"\n }\n },\n \"Windows\": + {\n \"Win2019Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2019-Datacenter\",\n + \ \"version\": \"latest\"\n },\n \"Win2016Datacenter\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2016-Datacenter\",\n \"version\": + \"latest\"\n },\n \"Win2012R2Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2012-R2-Datacenter\",\n \"version\": \"latest\"\n },\n + \ \"Win2012Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2012-Datacenter\",\n + \ \"version\": \"latest\"\n },\n \"Win2008R2SP1\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2008-R2-SP1\",\n \"version\": + \"latest\"\n }\n }\n }\n }\n }\n}\n" + headers: + accept-ranges: + - bytes + access-control-allow-origin: + - '*' + cache-control: + - max-age=300 + connection: + - keep-alive + content-length: + - '2501' + content-security-policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + content-type: + - text/plain; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:00:09 GMT + etag: + - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" + expires: + - Tue, 24 Dec 2019 05:05:09 GMT + source-age: + - '0' + strict-transport-security: + - max-age=31536000 + vary: + - Authorization,Accept-Encoding, Accept-Encoding + via: + - 1.1 varnish + x-cache: + - MISS + x-cache-hits: + - '0' + x-content-type-options: + - nosniff + x-fastly-request-id: + - 46da865cee288cddec53be034289585537ba7048 + x-frame-options: + - deny + x-geo-block-list: + - '' + x-github-request-id: + - 6B04:374E:37EEFB:3C2827:5E019B58 + x-served-by: + - cache-sin18038-SIN + x-timer: + - S1577163609.413764,VS0,VE288 + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:00:09 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: + - vm create + Connection: + - keep-alive + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002?api-version=2015-11-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.OperationalInsights/workspaces/cliworkspace000002'' + under resource group ''cli_test_vm_create_with_workspace_windows000001'' was + not found."}}' + headers: + cache-control: + - no-cache + content-length: + - '240' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:00:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001","name":"cli_test_vm_create_with_workspace_windows000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2019-12-24T05:00:03Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:00:11 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: '{"location": "eastus", "properties": {"sku": {"name": "PerGB2018"}, "retentionInDays": + 30}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '91' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002?api-version=2015-11-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"aa77f0b8-d651-423d-95f6-22d3e71e71a6\",\r\n \"provisioningState\": \"Creating\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Tue, 24 Dec 2019 05:00:21 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, 24 Dec 2019 07:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002\",\r\n + \ \"name\": \"cliworkspace000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '928' + content-type: + - application/json + date: + - Tue, 24 Dec 2019 05:00:23 GMT + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1196' + x-powered-by: + - ASP.NET + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002?api-version=2015-11-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"aa77f0b8-d651-423d-95f6-22d3e71e71a6\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Tue, 24 Dec 2019 05:00:21 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, 24 Dec 2019 07:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002\",\r\n + \ \"name\": \"cliworkspace000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '929' + content-type: + - application/json + date: + - Tue, 24 Dec 2019 05:00:53 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: 'b''{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {"workspaceId": {"type": "securestring", + "metadata": {"description": "Secure workspaceId"}}, "adminPassword": {"type": + "securestring", "metadata": {"description": "Secure adminPassword"}}}, "variables": + {}, "resources": [{"name": "monitorvmVNET", "type": "Microsoft.Network/virtualNetworks", + "location": "eastus", "apiVersion": "2015-06-15", "dependsOn": [], "tags": {}, + "properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "subnets": + [{"name": "monitorvmSubnet", "properties": {"addressPrefix": "10.0.0.0/24"}}]}}, + {"type": "Microsoft.Network/networkSecurityGroups", "name": "monitorvmNSG", + "apiVersion": "2015-06-15", "location": "eastus", "tags": {}, "dependsOn": [], + "properties": {"securityRules": [{"name": "rdp", "properties": {"protocol": + "Tcp", "sourcePortRange": "*", "destinationPortRange": "3389", "sourceAddressPrefix": + "*", "destinationAddressPrefix": "*", "access": "Allow", "priority": 1000, "direction": + "Inbound"}}]}}, {"apiVersion": "2018-01-01", "type": "Microsoft.Network/publicIPAddresses", + "name": "monitorvmPublicIP", "location": "eastus", "tags": {}, "dependsOn": + [], "properties": {"publicIPAllocationMethod": null}}, {"apiVersion": "2015-06-15", + "type": "Microsoft.Network/networkInterfaces", "name": "monitorvmVMNic", "location": + "eastus", "tags": {}, "dependsOn": ["Microsoft.Network/virtualNetworks/monitorvmVNET", + "Microsoft.Network/networkSecurityGroups/monitorvmNSG", "Microsoft.Network/publicIpAddresses/monitorvmPublicIP"], + "properties": {"ipConfigurations": [{"name": "ipconfigmonitorvm", "properties": + {"privateIPAllocationMethod": "Dynamic", "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET/subnets/monitorvmSubnet"}, + "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP"}}}], + "networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG"}}}, + {"type": "Microsoft.Compute/virtualMachines/extensions", "apiVersion": "2018-10-01", + "properties": {"publisher": "Microsoft.EnterpriseCloud.Monitoring", "type": + "MicrosoftMonitoringAgent", "typeHandlerVersion": "1.0", "autoUpgradeMinorVersion": + "true", "settings": {"workspaceId": "[reference(parameters(\''workspaceId\''), + \''2015-11-01-preview\'').customerId]", "stopOnMultipleConnections": "true"}, + "protectedSettings": {"workspaceKey": "[listKeys(parameters(\''workspaceId\''), + \''2015-11-01-preview\'').primarySharedKey]"}}, "name": "monitorvm/MicrosoftMonitoringAgent", + "location": "eastus", "dependsOn": ["Microsoft.Compute/virtualMachines/monitorvm"]}, + {"apiVersion": "2019-07-01", "type": "Microsoft.Compute/virtualMachines", "name": + "monitorvm", "location": "eastus", "tags": {}, "dependsOn": ["Microsoft.Network/networkInterfaces/monitorvmVMNic"], + "properties": {"hardwareProfile": {"vmSize": "Standard_DS1_v2"}, "networkProfile": + {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic"}]}, + "storageProfile": {"osDisk": {"createOption": "fromImage", "name": null, "caching": + "ReadWrite", "managedDisk": {"storageAccountType": null, "diskEncryptionSet": + {"id": null}}}, "imageReference": {"publisher": "MicrosoftWindowsServer", "offer": + "WindowsServer", "sku": "2016-Datacenter", "version": "latest"}}, "osProfile": + {"computerName": "monitorvm", "adminUsername": "fanqiu", "adminPassword": "[parameters(\''adminPassword\'')]"}}}], + "outputs": {}}, "parameters": {"workspaceId": {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002"}, + "adminPassword": {"value": "AzureCLI@1224"}}, "mode": "Incremental"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '4436' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/vm_deploy_UScuEh0Mbt4D70pTmRCQdH7GZLH0h6Ta","name":"vm_deploy_UScuEh0Mbt4D70pTmRCQdH7GZLH0h6Ta","type":"Microsoft.Resources/deployments","properties":{"templateHash":"12859430362602009592","parameters":{"workspaceId":{"type":"SecureString"},"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-12-24T05:01:01.3607339Z","duration":"PT3.7416798S","correlationId":"bf6ac683-b99b-4ab4-aa48-11a6234592e0","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"monitorvmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"monitorvmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/MicrosoftMonitoringAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/MicrosoftMonitoringAgent"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/vm_deploy_UScuEh0Mbt4D70pTmRCQdH7GZLH0h6Ta/operationStatuses/08586244432278585826?api-version=2019-07-01 + cache-control: + - no-cache + content-length: + - '4347' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:01:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:01:34 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:02:04 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:02:35 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:03:06 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:03:36 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:04:06 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:04:37 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:05:08 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:05:38 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:06:09 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:06:39 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:07:10 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:07:41 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:08:11 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:08:42 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:09:13 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:09:43 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:10:14 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:10: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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:11:15 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:11:45 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:12:16 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:12:46 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:13:16 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:13:48 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:14:19 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:14: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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:15:20 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:15: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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:16:21 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:16:52 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/vm_deploy_UScuEh0Mbt4D70pTmRCQdH7GZLH0h6Ta","name":"vm_deploy_UScuEh0Mbt4D70pTmRCQdH7GZLH0h6Ta","type":"Microsoft.Resources/deployments","properties":{"templateHash":"12859430362602009592","parameters":{"workspaceId":{"type":"SecureString"},"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-12-24T05:16:39.2171001Z","duration":"PT15M41.598046S","correlationId":"bf6ac683-b99b-4ab4-aa48-11a6234592e0","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"monitorvmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"monitorvmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/MicrosoftMonitoringAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/MicrosoftMonitoringAgent"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/MicrosoftMonitoringAgent"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '5686' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:16:52 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm?$expand=instanceView&api-version=2019-07-01 + response: + body: + string: "{\r\n \"name\": \"monitorvm\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"a6aca510-6de9-43f2-8000-2cbb7a5b6620\",\r\n + \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n + \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": + \"MicrosoftWindowsServer\",\r\n \"offer\": \"WindowsServer\",\r\n \"sku\": + \"2016-Datacenter\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": + \"14393.3384.1912042333\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": + \"Windows\",\r\n \"name\": \"monitorvm_OsDisk_1_72d928b2a0e2443c8f89e82a631cc917\",\r\n + \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n + \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/disks/monitorvm_OsDisk_1_72d928b2a0e2443c8f89e82a631cc917\"\r\n + \ },\r\n \"diskSizeGB\": 127\r\n },\r\n \"dataDisks\": + []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"monitorvm\",\r\n + \ \"adminUsername\": \"fanqiu\",\r\n \"windowsConfiguration\": {\r\n + \ \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\": + true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": + true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": + {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic\"}]},\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": + \"monitorvm\",\r\n \"osName\": \"Windows Server 2016 Datacenter\",\r\n + \ \"osVersion\": \"Microsoft Windows NT 10.0.14393.0\",\r\n \"vmAgent\": + {\r\n \"vmAgentVersion\": \"2.7.41491.949\",\r\n \"statuses\": + [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n + \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n + \ \"message\": \"GuestAgent is running and accepting new configurations.\",\r\n + \ \"time\": \"2019-12-24T05:16:42+00:00\"\r\n }\r\n ],\r\n + \ \"extensionHandlers\": [\r\n {\r\n \"type\": \"Microsoft.EnterpriseCloud.Monitoring.MicrosoftMonitoringAgent\",\r\n + \ \"typeHandlerVersion\": \"1.0.18018.0\",\r\n \"status\": + {\r\n \"code\": \"ProvisioningState/NotReady/21\",\r\n \"level\": + \"Info\",\r\n \"displayStatus\": \"Not Ready\",\r\n \"message\": + \"Checking the connection to Microsoft Operations Management Suite.\"\r\n + \ }\r\n }\r\n ]\r\n },\r\n \"disks\": + [\r\n {\r\n \"name\": \"monitorvm_OsDisk_1_72d928b2a0e2443c8f89e82a631cc917\",\r\n + \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n + \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning + succeeded\",\r\n \"time\": \"2019-12-24T05:03:49.1358805+00:00\"\r\n + \ }\r\n ]\r\n }\r\n ],\r\n \"extensions\": + [\r\n {\r\n \"name\": \"MicrosoftMonitoringAgent\",\r\n \"type\": + \"Microsoft.EnterpriseCloud.Monitoring.MicrosoftMonitoringAgent\",\r\n \"typeHandlerVersion\": + \"1.0.18018.0\",\r\n \"statuses\": [\r\n {\r\n \"code\": + \"ProvisioningState/succeeded\",\r\n \"level\": \"Info\",\r\n + \ \"displayStatus\": \"Provisioning succeeded\",\r\n \"message\": + \"Latest configuration has been applied to the Microsoft Monitoring Agent.\"\r\n + \ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\": + \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n + \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning + succeeded\",\r\n \"time\": \"2019-12-24T05:16:34.370687+00:00\"\r\n + \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n + \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n + \ }\r\n ]\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"name\": + \"MicrosoftMonitoringAgent\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/MicrosoftMonitoringAgent\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachines/extensions\",\r\n \"location\": + \"eastus\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": + true,\r\n \"provisioningState\": \"Succeeded\",\r\n \"publisher\": + \"Microsoft.EnterpriseCloud.Monitoring\",\r\n \"type\": \"MicrosoftMonitoringAgent\",\r\n + \ \"typeHandlerVersion\": \"1.0\",\r\n \"settings\": {\"workspaceId\":\"aa77f0b8-d651-423d-95f6-22d3e71e71a6\",\"stopOnMultipleConnections\":\"true\"}\r\n + \ }\r\n }\r\n ]\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '5121' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:16:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/LowCostGet3Min;3995,Microsoft.Compute/LowCostGet30Min;31989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic?api-version=2018-01-01 + response: + body: + string: "{\r\n \"name\": \"monitorvmVMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic\",\r\n + \ \"etag\": \"W/\\\"53f41e11-f8be-4551-967a-6cee34cd9d3d\\\"\",\r\n \"location\": + \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"resourceGuid\": \"85ab8329-d3d2-40a8-bb4b-e0b9cc469b3f\",\r\n + \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigmonitorvm\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic/ipConfigurations/ipconfigmonitorvm\",\r\n + \ \"etag\": \"W/\\\"53f41e11-f8be-4551-967a-6cee34cd9d3d\\\"\",\r\n + \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET/subnets/monitorvmSubnet\"\r\n + \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": + \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": + [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": + \"555uzwxzjojuvf1uhunrqik2ia.bx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-99-E5-CD\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG\"\r\n + \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2628' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:16:54 GMT + etag: + - W/"53f41e11-f8be-4551-967a-6cee34cd9d3d" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - dca444a9-b8b6-4215-9485-95a8a4e72fc8 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP?api-version=2018-01-01 + response: + body: + string: "{\r\n \"name\": \"monitorvmPublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP\",\r\n + \ \"etag\": \"W/\\\"4e935423-afe4-4240-9a7d-17e1b5e77af6\\\"\",\r\n \"location\": + \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"resourceGuid\": \"72fc56eb-2209-4a67-982b-4c614b7edd83\",\r\n + \ \"ipAddress\": \"13.68.129.248\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic/ipConfigurations/ipconfigmonitorvm\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1021' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:16:55 GMT + etag: + - W/"4e935423-afe4-4240-9a7d-17e1b5e77af6" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 72baf1a7-e716-434e-9916-8e5c2634f994 + status: + code: 200 + message: OK +- request: + body: '{"properties": {"eventLogName": "System", "eventTypes": [{"eventType": + "Error"}, {"eventType": "Warning"}]}, "kind": "WindowsEvent"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsEvent_19e0670c-ab3e-4dcf-97f8-08cf832d1d39?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"WindowsEvent","properties":{"eventLogName":"System","eventTypes":[{"eventType":"Error"},{"eventType":"Warning"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsEvent_19e0670c-ab3e-4dcf-97f8-08cf832d1d39","etag":"W/\"datetime''2019-12-24T05%3A16%3A56.3084587Z''\"","name":"DataSource_WindowsEvent_19e0670c-ab3e-4dcf-97f8-08cf832d1d39","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '608' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:16:56 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"collectorType": "Default", "counterName": "Disk Transfers/sec", + "instanceName": "*", "intervalSeconds": 10, "objectName": "LogicalDisk"}, "kind": + "WindowsPerformanceCounter"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '191' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_d4406944-f20c-4b1c-8b95-9785f49a27c7?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Disk + Transfers/sec","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_d4406944-f20c-4b1c-8b95-9785f49a27c7","etag":"W/\"datetime''2019-12-24T05%3A16%3A57.1604932Z''\"","name":"DataSource_WindowsPerformanceCounter_d4406944-f20c-4b1c-8b95-9785f49a27c7","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:16:57 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"collectorType": "Default", "counterName": "Disk Reads/sec", + "instanceName": "*", "intervalSeconds": 10, "objectName": "LogicalDisk"}, "kind": + "WindowsPerformanceCounter"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '187' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_bc148ab5-0426-4bc9-bff1-486d8062cc0c?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Disk + Reads/sec","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_bc148ab5-0426-4bc9-bff1-486d8062cc0c","etag":"W/\"datetime''2019-12-24T05%3A16%3A59.2188169Z''\"","name":"DataSource_WindowsPerformanceCounter_bc148ab5-0426-4bc9-bff1-486d8062cc0c","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '686' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:16:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1195' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"collectorType": "Default", "counterName": "Bytes Total/sec", + "instanceName": "*", "intervalSeconds": 10, "objectName": "Network Interface"}, + "kind": "WindowsPerformanceCounter"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '194' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_375862a0-72b0-41b5-b3c6-1abea5a531b3?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Bytes + Total/sec","instanceName":"*","intervalSeconds":10,"objectName":"Network Interface","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_375862a0-72b0-41b5-b3c6-1abea5a531b3","etag":"W/\"datetime''2019-12-24T05%3A17%3A00.1505287Z''\"","name":"DataSource_WindowsPerformanceCounter_375862a0-72b0-41b5-b3c6-1abea5a531b3","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '693' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:17:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"collectorType": "Default", "counterName": "Available MBytes", + "instanceName": "*", "intervalSeconds": 10, "objectName": "Memory"}, "kind": + "WindowsPerformanceCounter"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '184' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_2d841e17-2d05-4c2c-9894-b28502495ea3?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Available + MBytes","instanceName":"*","intervalSeconds":10,"objectName":"Memory","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_2d841e17-2d05-4c2c-9894-b28502495ea3","etag":"W/\"datetime''2019-12-24T05%3A17%3A02.5368722Z''\"","name":"DataSource_WindowsPerformanceCounter_2d841e17-2d05-4c2c-9894-b28502495ea3","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '683' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:17:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"collectorType": "Default", "counterName": "% Free Space", + "instanceName": "*", "intervalSeconds": 10, "objectName": "LogicalDisk"}, "kind": + "WindowsPerformanceCounter"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '185' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_0ca1a415-cb40-4b13-8ba1-a799d207a68f?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"% + Free Space","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_0ca1a415-cb40-4b13-8ba1-a799d207a68f","etag":"W/\"datetime''2019-12-24T05%3A17%3A03.4639152Z''\"","name":"DataSource_WindowsPerformanceCounter_0ca1a415-cb40-4b13-8ba1-a799d207a68f","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '684' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:17:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"collectorType": "Default", "counterName": "Avg. Disk sec/Write", + "instanceName": "*", "intervalSeconds": 10, "objectName": "LogicalDisk"}, "kind": + "WindowsPerformanceCounter"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '192' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_f8e7b5a4-c99c-4ade-9fc2-db95d86d4074?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Avg. + Disk sec/Write","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_f8e7b5a4-c99c-4ade-9fc2-db95d86d4074","etag":"W/\"datetime''2019-12-24T05%3A17%3A04.4212992Z''\"","name":"DataSource_WindowsPerformanceCounter_f8e7b5a4-c99c-4ade-9fc2-db95d86d4074","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '691' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:17:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"collectorType": "Default", "counterName": "Bytes Received/sec", + "instanceName": "*", "intervalSeconds": 10, "objectName": "Network Adapter"}, + "kind": "WindowsPerformanceCounter"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '195' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_f12dd928-d764-4359-a2ef-859497a95ed4?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Bytes + Received/sec","instanceName":"*","intervalSeconds":10,"objectName":"Network + Adapter","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_f12dd928-d764-4359-a2ef-859497a95ed4","etag":"W/\"datetime''2019-12-24T05%3A17%3A05.3337111Z''\"","name":"DataSource_WindowsPerformanceCounter_f12dd928-d764-4359-a2ef-859497a95ed4","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '694' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:17:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"collectorType": "Default", "counterName": "Current Disk + Queue Length", "instanceName": "*", "intervalSeconds": 10, "objectName": "LogicalDisk"}, + "kind": "WindowsPerformanceCounter"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '198' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_58462b38-b0d7-42fc-b448-eed8ef9adc8f?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Current + Disk Queue Length","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_58462b38-b0d7-42fc-b448-eed8ef9adc8f","etag":"W/\"datetime''2019-12-24T05%3A17%3A06.2441771Z''\"","name":"DataSource_WindowsPerformanceCounter_58462b38-b0d7-42fc-b448-eed8ef9adc8f","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '697' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:17:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"collectorType": "Default", "counterName": "% Processor + Time", "instanceName": "_Total", "intervalSeconds": 10, "objectName": "Processor"}, + "kind": "WindowsPerformanceCounter"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '192' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_d2ca0b5d-f26c-4484-b548-dfe813340b98?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"% + Processor Time","instanceName":"_Total","intervalSeconds":10,"objectName":"Processor","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_d2ca0b5d-f26c-4484-b548-dfe813340b98","etag":"W/\"datetime''2019-12-24T05%3A17%3A07.1720009Z''\"","name":"DataSource_WindowsPerformanceCounter_d2ca0b5d-f26c-4484-b548-dfe813340b98","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '691' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:17:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"collectorType": "Default", "counterName": "Free Megabytes", + "instanceName": "*", "intervalSeconds": 10, "objectName": "LogicalDisk"}, "kind": + "WindowsPerformanceCounter"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '187' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_d7de9899-47ad-41d8-8c5f-fc1b73eefd81?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Free + Megabytes","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_d7de9899-47ad-41d8-8c5f-fc1b73eefd81","etag":"W/\"datetime''2019-12-24T05%3A17%3A09.4469863Z''\"","name":"DataSource_WindowsPerformanceCounter_d7de9899-47ad-41d8-8c5f-fc1b73eefd81","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '686' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:17:09 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"collectorType": "Default", "counterName": "Avg. Disk sec/Read", + "instanceName": "*", "intervalSeconds": 10, "objectName": "LogicalDisk"}, "kind": + "WindowsPerformanceCounter"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '191' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_2b5548fb-c02d-49f0-b798-d0feeb8672f1?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Avg. + Disk sec/Read","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_2b5548fb-c02d-49f0-b798-d0feeb8672f1","etag":"W/\"datetime''2019-12-24T05%3A17%3A10.5373266Z''\"","name":"DataSource_WindowsPerformanceCounter_2b5548fb-c02d-49f0-b798-d0feeb8672f1","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:17:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"collectorType": "Default", "counterName": "Bytes Sent/sec", + "instanceName": "*", "intervalSeconds": 10, "objectName": "Network Adapter"}, + "kind": "WindowsPerformanceCounter"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '191' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_acc8fce2-2487-47eb-857b-b9f88cb4e54b?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Bytes + Sent/sec","instanceName":"*","intervalSeconds":10,"objectName":"Network Adapter","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_acc8fce2-2487-47eb-857b-b9f88cb4e54b","etag":"W/\"datetime''2019-12-24T05%3A17%3A11.5248300Z''\"","name":"DataSource_WindowsPerformanceCounter_acc8fce2-2487-47eb-857b-b9f88cb4e54b","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:17:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1194' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"collectorType": "Default", "counterName": "% Committed + Bytes In Use", "instanceName": "*", "intervalSeconds": 10, "objectName": "Memory"}, + "kind": "WindowsPerformanceCounter"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '192' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_0c720551-c73d-402c-ba8d-4632405e43ab?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"% + Committed Bytes In Use","instanceName":"*","intervalSeconds":10,"objectName":"Memory","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_0c720551-c73d-402c-ba8d-4632405e43ab","etag":"W/\"datetime''2019-12-24T05%3A17%3A13.5861058Z''\"","name":"DataSource_WindowsPerformanceCounter_0c720551-c73d-402c-ba8d-4632405e43ab","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '691' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:17:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"collectorType": "Default", "counterName": "Disk Writes/sec", + "instanceName": "*", "intervalSeconds": 10, "objectName": "LogicalDisk"}, "kind": + "WindowsPerformanceCounter"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '188' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_8e8c712e-385c-475f-b7fd-21b93fa47ac4?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Disk + Writes/sec","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_8e8c712e-385c-475f-b7fd-21b93fa47ac4","etag":"W/\"datetime''2019-12-24T05%3A17%3A14.6322052Z''\"","name":"DataSource_WindowsPerformanceCounter_8e8c712e-385c-475f-b7fd-21b93fa47ac4","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '687' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:17:14 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"collectorType": "Default", "counterName": "Processor Queue + Length", "instanceName": "*", "intervalSeconds": 10, "objectName": "System"}, + "kind": "WindowsPerformanceCounter"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '190' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_c6dbb7f4-ee45-47ff-ad64-14405bc84b9d?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Processor + Queue Length","instanceName":"*","intervalSeconds":10,"objectName":"System","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_c6dbb7f4-ee45-47ff-ad64-14405bc84b9d","etag":"W/\"datetime''2019-12-24T05%3A17%3A16.9438404Z''\"","name":"DataSource_WindowsPerformanceCounter_c6dbb7f4-ee45-47ff-ad64-14405bc84b9d","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '689' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:17:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - monitor log-analytics workspace show + Connection: + - keep-alive + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002?api-version=2015-11-01-preview + response: + body: + string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": + \"aa77f0b8-d651-423d-95f6-22d3e71e71a6\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": + \"Tue, 24 Dec 2019 05:00:21 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, 24 Dec 2019 07:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \ }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002\",\r\n + \ \"name\": \"cliworkspace000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n + \ \"location\": \"eastus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '929' + content-type: + - application/json + date: + - Tue, 24 Dec 2019 05:17:18 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - rest + Connection: + - keep-alive + ParameterSetName: + - --method --uri + User-Agent: + - AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002/dataSources?$filter=kind%20eq%20'WindowsEvent'&api-version=2015-11-01-preview + response: + body: + string: '{"value":[{"kind":"WindowsEvent","properties":{"eventLogName":"System","eventTypes":[{"eventType":"Error"},{"eventType":"Warning"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsEvent_19e0670c-ab3e-4dcf-97f8-08cf832d1d39","etag":"W/\"datetime''2019-12-24T05%3A16%3A56.3084587Z''\"","name":"DataSource_WindowsEvent_19e0670c-ab3e-4dcf-97f8-08cf832d1d39","type":"Microsoft.OperationalInsights/workspaces/datasources"}]}' + headers: + cache-control: + - no-cache + content-length: + - '620' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:17:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - 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 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - rest + Connection: + - keep-alive + ParameterSetName: + - --method --uri + User-Agent: + - AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002/dataSources?$filter=kind%20eq%20'WindowsPerformanceCounter'&api-version=2015-11-01-preview + response: + body: + string: '{"value":[{"kind":"WindowsPerformanceCounter","properties":{"counterName":"% + Committed Bytes In Use","instanceName":"*","intervalSeconds":10,"objectName":"Memory","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_0c720551-c73d-402c-ba8d-4632405e43ab","etag":"W/\"datetime''2019-12-24T05%3A17%3A13.5861058Z''\"","name":"DataSource_WindowsPerformanceCounter_0c720551-c73d-402c-ba8d-4632405e43ab","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"% + Free Space","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_0ca1a415-cb40-4b13-8ba1-a799d207a68f","etag":"W/\"datetime''2019-12-24T05%3A17%3A03.4639152Z''\"","name":"DataSource_WindowsPerformanceCounter_0ca1a415-cb40-4b13-8ba1-a799d207a68f","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Avg. + Disk sec/Read","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_2b5548fb-c02d-49f0-b798-d0feeb8672f1","etag":"W/\"datetime''2019-12-24T05%3A17%3A10.5373266Z''\"","name":"DataSource_WindowsPerformanceCounter_2b5548fb-c02d-49f0-b798-d0feeb8672f1","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Available + MBytes","instanceName":"*","intervalSeconds":10,"objectName":"Memory","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_2d841e17-2d05-4c2c-9894-b28502495ea3","etag":"W/\"datetime''2019-12-24T05%3A17%3A02.5368722Z''\"","name":"DataSource_WindowsPerformanceCounter_2d841e17-2d05-4c2c-9894-b28502495ea3","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Bytes + Total/sec","instanceName":"*","intervalSeconds":10,"objectName":"Network Interface","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_375862a0-72b0-41b5-b3c6-1abea5a531b3","etag":"W/\"datetime''2019-12-24T05%3A17%3A00.1505287Z''\"","name":"DataSource_WindowsPerformanceCounter_375862a0-72b0-41b5-b3c6-1abea5a531b3","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Current + Disk Queue Length","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_58462b38-b0d7-42fc-b448-eed8ef9adc8f","etag":"W/\"datetime''2019-12-24T05%3A17%3A06.2441771Z''\"","name":"DataSource_WindowsPerformanceCounter_58462b38-b0d7-42fc-b448-eed8ef9adc8f","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Disk + Writes/sec","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_8e8c712e-385c-475f-b7fd-21b93fa47ac4","etag":"W/\"datetime''2019-12-24T05%3A17%3A14.6322052Z''\"","name":"DataSource_WindowsPerformanceCounter_8e8c712e-385c-475f-b7fd-21b93fa47ac4","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Bytes + Sent/sec","instanceName":"*","intervalSeconds":10,"objectName":"Network Adapter","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_acc8fce2-2487-47eb-857b-b9f88cb4e54b","etag":"W/\"datetime''2019-12-24T05%3A17%3A11.5248300Z''\"","name":"DataSource_WindowsPerformanceCounter_acc8fce2-2487-47eb-857b-b9f88cb4e54b","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Disk + Reads/sec","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_bc148ab5-0426-4bc9-bff1-486d8062cc0c","etag":"W/\"datetime''2019-12-24T05%3A16%3A59.2188169Z''\"","name":"DataSource_WindowsPerformanceCounter_bc148ab5-0426-4bc9-bff1-486d8062cc0c","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Processor + Queue Length","instanceName":"*","intervalSeconds":10,"objectName":"System","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_c6dbb7f4-ee45-47ff-ad64-14405bc84b9d","etag":"W/\"datetime''2019-12-24T05%3A17%3A16.9438404Z''\"","name":"DataSource_WindowsPerformanceCounter_c6dbb7f4-ee45-47ff-ad64-14405bc84b9d","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"% + Processor Time","instanceName":"_Total","intervalSeconds":10,"objectName":"Processor","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_d2ca0b5d-f26c-4484-b548-dfe813340b98","etag":"W/\"datetime''2019-12-24T05%3A17%3A07.1720009Z''\"","name":"DataSource_WindowsPerformanceCounter_d2ca0b5d-f26c-4484-b548-dfe813340b98","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Disk + Transfers/sec","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_d4406944-f20c-4b1c-8b95-9785f49a27c7","etag":"W/\"datetime''2019-12-24T05%3A16%3A57.1604932Z''\"","name":"DataSource_WindowsPerformanceCounter_d4406944-f20c-4b1c-8b95-9785f49a27c7","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Free + Megabytes","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_d7de9899-47ad-41d8-8c5f-fc1b73eefd81","etag":"W/\"datetime''2019-12-24T05%3A17%3A09.4469863Z''\"","name":"DataSource_WindowsPerformanceCounter_d7de9899-47ad-41d8-8c5f-fc1b73eefd81","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Bytes + Received/sec","instanceName":"*","intervalSeconds":10,"objectName":"Network + Adapter","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_f12dd928-d764-4359-a2ef-859497a95ed4","etag":"W/\"datetime''2019-12-24T05%3A17%3A05.3337111Z''\"","name":"DataSource_WindowsPerformanceCounter_f12dd928-d764-4359-a2ef-859497a95ed4","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Avg. + Disk sec/Write","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_f8e7b5a4-c99c-4ade-9fc2-db95d86d4074","etag":"W/\"datetime''2019-12-24T05%3A17%3A04.4212992Z''\"","name":"DataSource_WindowsPerformanceCounter_f8e7b5a4-c99c-4ade-9fc2-db95d86d4074","type":"Microsoft.OperationalInsights/workspaces/datasources"}]}' + headers: + cache-control: + - no-cache + content-length: + - '10368' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 24 Dec 2019 05:17:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - 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 + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py index ff8d424036f..653dd84bbb9 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py @@ -1241,6 +1241,64 @@ def test_vm_metric_tail(self, resource_group): self.check("length(@) != '0'", True) ]) + @ResourceGroupPreparer(name_prefix='cli_test_vm_create_with_workspace_linux', location='eastus') + def test_vm_create_with_workspace_linux(self, resource_group): + + self.kwargs.update({ + 'vm': 'monitorvm', + 'workspace': self.create_random_name('cliworkspace', 20), + 'rg': resource_group + }) + + self.cmd('vm create -n {vm} -g {rg} --image UbuntuLTS --workspace {workspace}') + + workspace_id = self.cmd('monitor log-analytics workspace show -n {workspace} -g {rg}').get_output_in_json()['id'] + uri_template = "https://management.azure.com{0}/dataSources?$filter=kind eq '{1}'&api-version=2015-11-01-preview" + uri = uri_template.format(workspace_id, 'LinuxPerformanceCollection') + self.cmd("az rest --method get --uri \"{}\"".format(uri), checks=[ + self.check('length(value)', 1) + ]) + + uri = uri_template.format(workspace_id, 'LinuxSyslog') + self.cmd("az rest --method get --uri \"{}\"".format(uri), checks=[ + self.check('length(value)', 1) + ]) + + uri = uri_template.format(workspace_id, 'LinuxSyslogCollection') + self.cmd("az rest --method get --uri \"{}\"".format(uri), checks=[ + self.check('length(value)', 1) + ]) + + uri = uri_template.format(workspace_id, 'LinuxPerformanceObject') + self.cmd("az rest --method get --uri \"{}\"".format(uri), checks=[ + self.check('length(value)', 4) + ]) + + @ResourceGroupPreparer(name_prefix='cli_test_vm_create_with_workspace_windows', location='eastus') + def test_vm_create_with_workspace_windows(self, resource_group): + + self.kwargs.update({ + 'vm': 'monitorvm', + 'workspace': self.create_random_name('cliworkspace', 20), + 'rg': resource_group + }) + + self.cmd('vm create -n {vm} -g {rg} --image Win2016Datacenter --workspace {workspace} --admin-password AzureCLI@1224') + + workspace_id = self.cmd('monitor log-analytics workspace show -n {workspace} -g {rg}').get_output_in_json()[ + 'id'] + uri_template = "https://management.azure.com{0}/dataSources?$filter=kind eq '{1}'&api-version=2015-11-01-preview" + uri = uri_template.format(workspace_id, 'WindowsEvent') + self.cmd("az rest --method get --uri \"{}\"".format(uri), checks=[ + self.check('length(value)', 1) + ]) + + uri = uri_template.format(workspace_id, 'WindowsPerformanceCounter') + self.cmd("az rest --method get --uri \"{}\"".format(uri), checks=[ + self.check('length(value)', 15) + ]) + + class VMBootDiagnostics(ScenarioTest): From 69509b7e2f79ccacc52b103e70692c5b504e0995 Mon Sep 17 00:00:00 2001 From: MyronFanQiu Date: Thu, 26 Dec 2019 10:05:45 +0800 Subject: [PATCH 2/8] fix test --- .../vm/tests/latest/_test_util.py | 20 +++++++++++++++++++ .../vm/tests/latest/test_vm_commands.py | 4 ++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/_test_util.py b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/_test_util.py index 9bf26374fbd..95524fb1af1 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/_test_util.py +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/_test_util.py @@ -23,3 +23,23 @@ def _replace_timespan(self, val): val, flags=re.IGNORECASE) return retval + + +class DataSourceProcessor(RecordingProcessor): + def __init__(self): + self.test_guid_count = 0 + + def process_request(self, request): + request.uri = self._replace_data_source(request.uri) + + return request + + def _replace_data_source(self, val): + import re + self.test_guid_count += 1 + moniker = '88888888-0000-0000-0000-00000000' + ("%0.4X" % self.test_guid_count) + retval = re.sub('DataSource_(.*?)_([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})', + r'DataSource_\1_{}'.format(moniker), + val, + flags=re.IGNORECASE) + return retval diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py index 653dd84bbb9..bb791b9d140 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py @@ -1204,8 +1204,8 @@ def __init__(self, method_name, config_file=None, recording_dir=None, recording_ TIMESPANTEMPLATE = '0000-00-00' super(VMMonitorTest, self).__init__( method_name, - recording_processors=TimeSpanProcessor(TIMESPANTEMPLATE), - replay_processors=TimeSpanProcessor(TIMESPANTEMPLATE) + recording_processors=[TimeSpanProcessor(TIMESPANTEMPLATE), DataSourceProcessor()], + replay_processors=[TimeSpanProcessor(TIMESPANTEMPLATE), DataSourceProcessor()] ) @ResourceGroupPreparer(name_prefix='cli_test_vm_create_with_monitor', location='eastus') From 153c0e82c8566ea3d756fb642f6b48387261fe21 Mon Sep 17 00:00:00 2001 From: MyronFanQiu Date: Mon, 30 Dec 2019 13:40:44 +0800 Subject: [PATCH 3/8] fix test --- .../azure/cli/testsdk/base.py | 2 +- .../vm/tests/latest/_test_util.py | 20 - .../test_vm_create_with_monitor.yaml | 964 +++++++++++++++--- .../test_vm_create_with_workspace_linux.yaml | 752 ++++---------- ...test_vm_create_with_workspace_windows.yaml | 742 ++++++++------ .../recordings/test_vm_metric_tail.yaml | 667 ++---------- .../vm/tests/latest/test_vm_commands.py | 25 +- 7 files changed, 1550 insertions(+), 1622 deletions(-) diff --git a/src/azure-cli-testsdk/azure/cli/testsdk/base.py b/src/azure-cli-testsdk/azure/cli/testsdk/base.py index 7920a0831c7..cbd48fd372d 100644 --- a/src/azure-cli-testsdk/azure/cli/testsdk/base.py +++ b/src/azure-cli-testsdk/azure/cli/testsdk/base.py @@ -151,7 +151,7 @@ def create_guid(self): if self.in_recording: name = uuid.uuid4() - self.name_replacer.register_name_pair(str(name), moniker) + self.name_replacer.register_name_pair(str(name), moniker.lower()) return name return uuid.UUID(moniker) diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/_test_util.py b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/_test_util.py index 95524fb1af1..9bf26374fbd 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/_test_util.py +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/_test_util.py @@ -23,23 +23,3 @@ def _replace_timespan(self, val): val, flags=re.IGNORECASE) return retval - - -class DataSourceProcessor(RecordingProcessor): - def __init__(self): - self.test_guid_count = 0 - - def process_request(self, request): - request.uri = self._replace_data_source(request.uri) - - return request - - def _replace_data_source(self, val): - import re - self.test_guid_count += 1 - moniker = '88888888-0000-0000-0000-00000000' + ("%0.4X" % self.test_guid_count) - retval = re.sub('DataSource_(.*?)_([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})', - r'DataSource_\1_{}'.format(moniker), - val, - flags=re.IGNORECASE) - return retval diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_create_with_monitor.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_create_with_monitor.yaml index b753b0489e8..201d72c487d 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_create_with_monitor.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_create_with_monitor.yaml @@ -13,15 +13,15 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001","name":"cli_test_vm_create_with_monitor000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2019-11-18T06:55:05Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001","name":"cli_test_vm_create_with_monitor000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2019-12-30T04:22:11Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 06:55:09 GMT + - Mon, 30 Dec 2019 04:22:20 GMT expires: - '-1' pragma: @@ -109,13 +109,13 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Mon, 18 Nov 2019 06:55:10 GMT + - Mon, 30 Dec 2019 04:22:20 GMT etag: - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" expires: - - Mon, 18 Nov 2019 07:00:10 GMT + - Mon, 30 Dec 2019 04:27:20 GMT source-age: - - '0' + - '1' strict-transport-security: - max-age=31536000 vary: @@ -123,23 +123,23 @@ interactions: via: - 1.1 varnish x-cache: - - MISS + - HIT x-cache-hits: - - '0' + - '1' x-content-type-options: - nosniff x-fastly-request-id: - - 6c6abf816f5dcfe4f6cf0d1cb2ed04e7c2215a13 + - 92dbb1318f0652e0534c1bd3ca72a4b37f94dbed x-frame-options: - deny x-geo-block-list: - '' x-github-request-id: - - A860:7F3B:139E:1524:5DD2404E + - 7BDC:5CF7:235A70:27778D:5E097B7B x-served-by: - - cache-sin18048-SIN + - cache-sin18032-SIN x-timer: - - S1574060111.557341,VS0,VE238 + - S1577679741.918664,VS0,VE1 x-xss-protection: - 1; mode=block status: @@ -159,8 +159,8 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -176,7 +176,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 06:55:10 GMT + - Mon, 30 Dec 2019 04:22:21 GMT expires: - '-1' pragma: @@ -206,8 +206,8 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -224,7 +224,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 06:55:12 GMT + - Mon, 30 Dec 2019 04:22:22 GMT expires: - '-1' pragma: @@ -252,15 +252,15 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001","name":"cli_test_vm_create_with_monitor000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2019-11-18T06:55:05Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001","name":"cli_test_vm_create_with_monitor000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2019-12-30T04:22:11Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -269,7 +269,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 06:55:12 GMT + - Mon, 30 Dec 2019 04:22:22 GMT expires: - '-1' pragma: @@ -302,8 +302,8 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT @@ -311,13 +311,13 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"0be5f1ce-011b-4b2d-867c-68c61a762893\",\r\n \"provisioningState\": \"Creating\",\r\n + \"7926ddbf-cc46-471a-84a6-9e1c63af5c38\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Mon, 18 Nov 2019 06:55:19 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Mon, 30 Dec 2019 04:22:30 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, 18 Nov 2019 21:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Mon, 30 Dec 2019 06:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002\",\r\n \ \"name\": \"cliworkspace000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -329,7 +329,7 @@ interactions: content-type: - application/json date: - - Mon, 18 Nov 2019 06:55:19 GMT + - Mon, 30 Dec 2019 04:22:32 GMT pragma: - no-cache server: @@ -340,7 +340,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET - ASP.NET @@ -361,20 +361,20 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002?api-version=2015-11-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"0be5f1ce-011b-4b2d-867c-68c61a762893\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"7926ddbf-cc46-471a-84a6-9e1c63af5c38\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Mon, 18 Nov 2019 06:55:19 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Mon, 30 Dec 2019 04:22:30 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, 18 Nov 2019 21:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Mon, 30 Dec 2019 06:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002\",\r\n \ \"name\": \"cliworkspace000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -386,7 +386,7 @@ interactions: content-type: - application/json date: - - Mon, 18 Nov 2019 06:55:50 GMT + - Mon, 30 Dec 2019 04:23:03 GMT pragma: - no-cache server: @@ -471,26 +471,26 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/vm_deploy_1EtkPEwur3fGIkwGjO8asR6oNNR1sxXm","name":"vm_deploy_1EtkPEwur3fGIkwGjO8asR6oNNR1sxXm","type":"Microsoft.Resources/deployments","properties":{"templateHash":"2393753852059205270","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-11-18T06:55:56.1123772Z","duration":"PT3.574482S","correlationId":"c070c810-f4f8-445c-bede-471f3dc5191a","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"monitorvmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"monitorvmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/DependencyAgentLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/DependencyAgentLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/vm_deploy_K8FCF27t7JSW3MPNVJySi31LrB7Ga55m","name":"vm_deploy_K8FCF27t7JSW3MPNVJySi31LrB7Ga55m","type":"Microsoft.Resources/deployments","properties":{"templateHash":"2730373754998968513","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-12-30T04:23:10.9063661Z","duration":"PT3.9337908S","correlationId":"b183a913-ecaa-4a7a-a049-c9942b195941","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"monitorvmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"monitorvmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/DependencyAgentLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/DependencyAgentLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/vm_deploy_1EtkPEwur3fGIkwGjO8asR6oNNR1sxXm/operationStatuses/08586275467329397445?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/vm_deploy_K8FCF27t7JSW3MPNVJySi31LrB7Ga55m/operationStatuses/08586239270985050577?api-version=2019-07-01 cache-control: - no-cache content-length: - - '4975' + - '4976' content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 06:55:56 GMT + - Mon, 30 Dec 2019 04:23:12 GMT expires: - '-1' pragma: @@ -518,10 +518,268 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239270985050577?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 30 Dec 2019 04:23: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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239270985050577?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 30 Dec 2019 04:24:14 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239270985050577?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 30 Dec 2019 04:24: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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239270985050577?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 30 Dec 2019 04:25:15 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239270985050577?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 30 Dec 2019 04:25:46 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239270985050577?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 30 Dec 2019 04:26:17 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586275467329397445?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239270985050577?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -533,7 +791,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 06:56:29 GMT + - Mon, 30 Dec 2019 04:26:47 GMT expires: - '-1' pragma: @@ -561,10 +819,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586275467329397445?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239270985050577?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -576,7 +834,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 06:57:00 GMT + - Mon, 30 Dec 2019 04:27:17 GMT expires: - '-1' pragma: @@ -604,10 +862,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586275467329397445?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239270985050577?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -619,7 +877,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 06:57:30 GMT + - Mon, 30 Dec 2019 04:27:48 GMT expires: - '-1' pragma: @@ -647,10 +905,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586275467329397445?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239270985050577?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -662,7 +920,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 06:58:00 GMT + - Mon, 30 Dec 2019 04:28:19 GMT expires: - '-1' pragma: @@ -690,10 +948,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586275467329397445?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239270985050577?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -705,7 +963,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 06:58:32 GMT + - Mon, 30 Dec 2019 04:28:50 GMT expires: - '-1' pragma: @@ -733,10 +991,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586275467329397445?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239270985050577?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -748,7 +1006,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 06:59:02 GMT + - Mon, 30 Dec 2019 04:29:20 GMT expires: - '-1' pragma: @@ -776,10 +1034,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586275467329397445?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239270985050577?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -791,7 +1049,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 06:59:32 GMT + - Mon, 30 Dec 2019 04:29:51 GMT expires: - '-1' pragma: @@ -819,10 +1077,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586275467329397445?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239270985050577?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -834,7 +1092,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 07:00:03 GMT + - Mon, 30 Dec 2019 04:30:21 GMT expires: - '-1' pragma: @@ -862,10 +1120,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586275467329397445?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239270985050577?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -877,7 +1135,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 07:00:33 GMT + - Mon, 30 Dec 2019 04:30:52 GMT expires: - '-1' pragma: @@ -905,10 +1163,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586275467329397445?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239270985050577?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -920,7 +1178,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 07:01:04 GMT + - Mon, 30 Dec 2019 04:31:22 GMT expires: - '-1' pragma: @@ -948,10 +1206,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586275467329397445?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239270985050577?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -963,7 +1221,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 07:01:35 GMT + - Mon, 30 Dec 2019 04:31:53 GMT expires: - '-1' pragma: @@ -991,10 +1249,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586275467329397445?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239270985050577?api-version=2019-07-01 response: body: string: '{"status":"Succeeded"}' @@ -1006,7 +1264,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 07:02:05 GMT + - Mon, 30 Dec 2019 04:32:24 GMT expires: - '-1' pragma: @@ -1034,13 +1292,13 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/vm_deploy_1EtkPEwur3fGIkwGjO8asR6oNNR1sxXm","name":"vm_deploy_1EtkPEwur3fGIkwGjO8asR6oNNR1sxXm","type":"Microsoft.Resources/deployments","properties":{"templateHash":"2393753852059205270","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-11-18T07:01:55.9278267Z","duration":"PT6M3.3899315S","correlationId":"c070c810-f4f8-445c-bede-471f3dc5191a","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"monitorvmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"monitorvmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/DependencyAgentLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/DependencyAgentLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/DependencyAgentLinux"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Resources/deployments/vm_deploy_K8FCF27t7JSW3MPNVJySi31LrB7Ga55m","name":"vm_deploy_K8FCF27t7JSW3MPNVJySi31LrB7Ga55m","type":"Microsoft.Resources/deployments","properties":{"templateHash":"2730373754998968513","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-12-30T04:32:10.3080644Z","duration":"PT9M3.3354891S","correlationId":"b183a913-ecaa-4a7a-a049-c9942b195941","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"monitorvmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"monitorvmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/DependencyAgentLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/DependencyAgentLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/DependencyAgentLinux"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET"}]}}' headers: cache-control: - no-cache @@ -1049,7 +1307,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 07:02:06 GMT + - Mon, 30 Dec 2019 04:32:24 GMT expires: - '-1' pragma: @@ -1077,8 +1335,8 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-compute/10.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -1087,16 +1345,16 @@ interactions: body: string: "{\r\n \"name\": \"monitorvm\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"db8e6665-76ee-4a0c-9df6-c2ebe118873e\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"168faf97-dff8-4e1f-b8db-53620a764faa\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": - \"18.04.201911130\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"monitorvm_disk1_301c1f6793f64712b6ef9e09ba872c2a\",\r\n + \"18.04.201912180\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": + \"Linux\",\r\n \"name\": \"monitorvm_OsDisk_1_3999c9611fd3484483e356e8bf9d11ce\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/disks/monitorvm_disk1_301c1f6793f64712b6ef9e09ba872c2a\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/disks/monitorvm_OsDisk_1_3999c9611fd3484483e356e8bf9d11ce\"\r\n \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"monitorvm\",\r\n \ \"adminUsername\": \"fanqiu\",\r\n \"linuxConfiguration\": {\r\n @@ -1109,25 +1367,25 @@ interactions: true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic\"}]},\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": \"monitorvm\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": \"18.04\",\r\n - \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.2.44\",\r\n \"statuses\": + \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.2.45\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2019-11-18T07:02:05+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + \"2019-12-30T04:32:23+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": [\r\n {\r\n \"type\": \"Microsoft.Azure.Monitoring.DependencyAgent.DependencyAgentLinux\",\r\n \ \"typeHandlerVersion\": \"9.10.0.7820\",\r\n \"status\": {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \"message\": \"Plugin enabled\"\r\n }\r\n },\r\n {\r\n \"type\": \"Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux\",\r\n \"typeHandlerVersion\": - \"1.12.15\",\r\n \"status\": {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n + \"1.12.17\",\r\n \"status\": {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Plugin enabled\"\r\n }\r\n }\r\n \ ]\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": - \"monitorvm_disk1_301c1f6793f64712b6ef9e09ba872c2a\",\r\n \"statuses\": + \"monitorvm_OsDisk_1_3999c9611fd3484483e356e8bf9d11ce\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2019-11-18T06:56:58.4064224+00:00\"\r\n + succeeded\",\r\n \"time\": \"2019-12-30T04:26:05.5230086+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"extensions\": [\r\n {\r\n \"name\": \"DependencyAgentLinux\",\r\n \"type\": \"Microsoft.Azure.Monitoring.DependencyAgent.DependencyAgentLinux\",\r\n \"typeHandlerVersion\": @@ -1136,14 +1394,14 @@ interactions: \ \"displayStatus\": \"Provisioning succeeded\",\r\n \"message\": \"Plugin enabled\"\r\n }\r\n ]\r\n },\r\n {\r\n \ \"name\": \"OMSExtension\",\r\n \"type\": \"Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux\",\r\n - \ \"typeHandlerVersion\": \"1.12.15\",\r\n \"statuses\": + \ \"typeHandlerVersion\": \"1.12.17\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning succeeded\",\r\n \"message\": \"Enable succeeded\"\r\n }\r\n \ ]\r\n }\r\n ],\r\n \"hyperVGeneration\": \"V1\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2019-11-18T07:01:51.0472378+00:00\"\r\n + succeeded\",\r\n \"time\": \"2019-12-30T04:32:00.7423619+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n \ }\r\n ]\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"name\": @@ -1158,17 +1416,17 @@ interactions: \"eastus\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"provisioningState\": \"Succeeded\",\r\n \"publisher\": \"Microsoft.EnterpriseCloud.Monitoring\",\r\n \"type\": \"OmsAgentForLinux\",\r\n - \ \"typeHandlerVersion\": \"1.4\",\r\n \"settings\": {\"workspaceId\":\"0be5f1ce-011b-4b2d-867c-68c61a762893\",\"stopOnMultipleConnections\":\"true\"}\r\n + \ \"typeHandlerVersion\": \"1.4\",\r\n \"settings\": {\"workspaceId\":\"7926ddbf-cc46-471a-84a6-9e1c63af5c38\",\"stopOnMultipleConnections\":\"true\"}\r\n \ }\r\n }\r\n ]\r\n}" headers: cache-control: - no-cache content-length: - - '7236' + - '7245' content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 07:02:07 GMT + - Mon, 30 Dec 2019 04:32:25 GMT expires: - '-1' pragma: @@ -1185,7 +1443,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31988 + - Microsoft.Compute/LowCostGet3Min;3991,Microsoft.Compute/LowCostGet30Min;31975 status: code: 200 message: OK @@ -1203,8 +1461,8 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -1212,12 +1470,12 @@ interactions: response: body: string: "{\r\n \"name\": \"monitorvmVMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic\",\r\n - \ \"etag\": \"W/\\\"61301d62-ae36-4980-aed9-8364593593bb\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"35cc993c-045f-4cdb-b7ed-efdcd43d2a37\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"06d3bde9-ae33-439c-bd7c-52a4f661a028\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"efff8cd7-c2ac-4400-95ad-da1c436cea6d\",\r\n \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigmonitorvm\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic/ipConfigurations/ipconfigmonitorvm\",\r\n - \ \"etag\": \"W/\\\"61301d62-ae36-4980-aed9-8364593593bb\\\"\",\r\n + \ \"etag\": \"W/\\\"35cc993c-045f-4cdb-b7ed-efdcd43d2a37\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -1226,8 +1484,8 @@ interactions: \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": - \"jbju450ksnnulorb51ucvfnk4d.bx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-0D-3A-8D-34-8B\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \"pbtawlzrhssefjpqceolgdzuje.bx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-8E-4C-F3\",\r\n \"enableAcceleratedNetworking\": false,\r\n \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": @@ -1241,9 +1499,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 07:02:08 GMT + - Mon, 30 Dec 2019 04:32:26 GMT etag: - - W/"61301d62-ae36-4980-aed9-8364593593bb" + - W/"35cc993c-045f-4cdb-b7ed-efdcd43d2a37" expires: - '-1' pragma: @@ -1260,7 +1518,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b206dfcd-0cd6-4d25-8274-4ee2634a46f1 + - 1a17b4fe-a6ff-423c-879a-69ac8648d236 status: code: 200 message: OK @@ -1278,8 +1536,8 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -1287,10 +1545,10 @@ interactions: response: body: string: "{\r\n \"name\": \"monitorvmPublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP\",\r\n - \ \"etag\": \"W/\\\"58e0656f-bee8-44eb-b221-e7171884678f\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"423740d0-d458-4013-85da-755eb953fe2e\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"9fba8e51-9f4d-42c8-ac03-b3ca31a0fc3e\",\r\n - \ \"ipAddress\": \"13.90.194.225\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"93920ccc-1b36-464c-bed3-c68fe7192b1d\",\r\n + \ \"ipAddress\": \"13.92.99.171\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic/ipConfigurations/ipconfigmonitorvm\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n @@ -1299,13 +1557,13 @@ interactions: cache-control: - no-cache content-length: - - '1021' + - '1020' content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 07:02:08 GMT + - Mon, 30 Dec 2019 04:32:26 GMT etag: - - W/"58e0656f-bee8-44eb-b221-e7171884678f" + - W/"423740d0-d458-4013-85da-755eb953fe2e" expires: - '-1' pragma: @@ -1322,7 +1580,425 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - bf1cdefd-a37d-40f0-9d6f-d33acd211447 + - 261b3173-0b5d-4fd1-80af-646a04f95771 + status: + code: 200 + message: OK +- request: + body: '{"properties": {"state": "Enabled"}, "kind": "LinuxPerformanceCollection"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '74' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"LinuxPerformanceCollection","properties":{"state":"Enabled"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001","etag":"W/\"datetime''2019-12-30T04%3A32%3A28.9033915Z''\"","name":"DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '583' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 30 Dec 2019 04:32:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"instanceName": "*", "intervalSeconds": 10, "objectName": + "Memory", "performanceCounters": [{"counterName": "Available MBytes Memory"}, + {"counterName": "% Used Memory"}, {"counterName": "% Used Swap Space"}]}, "kind": + "LinuxPerformanceObject"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '259' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Memory","performanceCounters":[{"counterName":"Available + MBytes Memory"},{"counterName":"% Used Memory"},{"counterName":"% Used Swap + Space"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002","etag":"W/\"datetime''2019-12-30T04%3A32%3A31.0786414Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '749' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 30 Dec 2019 04:32:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"instanceName": "*", "intervalSeconds": 10, "objectName": + "Processor", "performanceCounters": [{"counterName": "% Processor Time"}, {"counterName": + "% Privileged Time"}]}, "kind": "LinuxPerformanceObject"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '221' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Processor","performanceCounters":[{"counterName":"% + Processor Time"},{"counterName":"% Privileged Time"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003","etag":"W/\"datetime''2019-12-30T04%3A32%3A33.0531082Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '713' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 30 Dec 2019 04:32:33 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"instanceName": "*", "intervalSeconds": 10, "objectName": + "Logical Disk", "performanceCounters": [{"counterName": "% Used Inodes"}, {"counterName": + "Free Megabytes"}, {"counterName": "% Used Space"}, {"counterName": "Disk Transfers/sec"}, + {"counterName": "Disk Reads/sec"}, {"counterName": "Disk Writes/sec"}]}, "kind": + "LinuxPerformanceObject"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '361' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Logical + Disk","performanceCounters":[{"counterName":"% Used Inodes"},{"counterName":"Free + Megabytes"},{"counterName":"% Used Space"},{"counterName":"Disk Transfers/sec"},{"counterName":"Disk + Reads/sec"},{"counterName":"Disk Writes/sec"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004","etag":"W/\"datetime''2019-12-30T04%3A32%3A33.9695001Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '845' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 30 Dec 2019 04:32:33 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"instanceName": "*", "intervalSeconds": 10, "objectName": + "Network", "performanceCounters": [{"counterName": "Total Bytes Transmitted"}, + {"counterName": "Total Bytes Received"}]}, "kind": "LinuxPerformanceObject"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '229' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Network","performanceCounters":[{"counterName":"Total + Bytes Transmitted"},{"counterName":"Total Bytes Received"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005","etag":"W/\"datetime''2019-12-30T04%3A32%3A36.2395298Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 30 Dec 2019 04:32:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"state": "Enabled"}, "kind": "LinuxSyslogCollection"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '69' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"LinuxSyslogCollection","properties":{"state":"Enabled"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006","etag":"W/\"datetime''2019-12-30T04%3A32%3A37.2976611Z''\"","name":"DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '568' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 30 Dec 2019 04:32:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"syslogName": "syslog", "syslogSeverities": [{"severity": + "notice"}, {"severity": "info"}, {"severity": "debug"}]}, "kind": "LinuxSyslog"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '154' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g --image --workspace + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007?api-version=2015-11-01-preview + response: + body: + string: '{"kind":"LinuxSyslog","properties":{"syslogName":"syslog","syslogSeverities":[{"severity":"notice"},{"severity":"info"},{"severity":"debug"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007","etag":"W/\"datetime''2019-12-30T04%3A32%3A39.6843688Z''\"","name":"DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + headers: + cache-control: + - no-cache + content-length: + - '626' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 30 Dec 2019 04:32:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET status: code: 200 message: OK @@ -1340,8 +2016,8 @@ interactions: ParameterSetName: - -n -g -q User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-compute/10.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -1350,16 +2026,16 @@ interactions: body: string: "{\r\n \"name\": \"monitorvm\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/virtualMachines/monitorvm\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"db8e6665-76ee-4a0c-9df6-c2ebe118873e\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"168faf97-dff8-4e1f-b8db-53620a764faa\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": - \"18.04.201911130\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"monitorvm_disk1_301c1f6793f64712b6ef9e09ba872c2a\",\r\n + \"18.04.201912180\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": + \"Linux\",\r\n \"name\": \"monitorvm_OsDisk_1_3999c9611fd3484483e356e8bf9d11ce\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/disks/monitorvm_disk1_301c1f6793f64712b6ef9e09ba872c2a\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_monitor000001/providers/Microsoft.Compute/disks/monitorvm_OsDisk_1_3999c9611fd3484483e356e8bf9d11ce\"\r\n \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"monitorvm\",\r\n \ \"adminUsername\": \"fanqiu\",\r\n \"linuxConfiguration\": {\r\n @@ -1382,17 +2058,17 @@ interactions: \"eastus\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"provisioningState\": \"Succeeded\",\r\n \"publisher\": \"Microsoft.EnterpriseCloud.Monitoring\",\r\n \"type\": \"OmsAgentForLinux\",\r\n - \ \"typeHandlerVersion\": \"1.4\",\r\n \"settings\": {\"workspaceId\":\"0be5f1ce-011b-4b2d-867c-68c61a762893\",\"stopOnMultipleConnections\":\"true\"}\r\n + \ \"typeHandlerVersion\": \"1.4\",\r\n \"settings\": {\"workspaceId\":\"7926ddbf-cc46-471a-84a6-9e1c63af5c38\",\"stopOnMultipleConnections\":\"true\"}\r\n \ }\r\n }\r\n ]\r\n}" headers: cache-control: - no-cache content-length: - - '4268' + - '4274' content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 07:02:10 GMT + - Mon, 30 Dec 2019 04:32:40 GMT expires: - '-1' pragma: @@ -1409,7 +2085,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3995,Microsoft.Compute/LowCostGet30Min;31987 + - Microsoft.Compute/LowCostGet3Min;3991,Microsoft.Compute/LowCostGet30Min;31974 status: code: 200 message: OK @@ -1427,9 +2103,9 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 azure-loganalytics/0.1.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 azure-loganalytics/0.1.0 method: POST - uri: https://api.loganalytics.io/v1/workspaces/0be5f1ce-011b-4b2d-867c-68c61a762893/query + uri: https://api.loganalytics.io/v1/workspaces/7926ddbf-cc46-471a-84a6-9e1c63af5c38/query response: body: string: '{"tables":[{"name":"PrimaryResult","columns":[{"name":"TenantId","type":"string"},{"name":"Computer","type":"string"},{"name":"ObjectName","type":"string"},{"name":"CounterName","type":"string"},{"name":"InstanceName","type":"string"},{"name":"Min","type":"real"},{"name":"Max","type":"real"},{"name":"SampleCount","type":"int"},{"name":"CounterValue","type":"real"},{"name":"TimeGenerated","type":"datetime"},{"name":"BucketStartTime","type":"datetime"},{"name":"BucketEndTime","type":"datetime"},{"name":"SourceSystem","type":"string"},{"name":"CounterPath","type":"string"},{"name":"StandardDeviation","type":"real"},{"name":"MG","type":"string"},{"name":"Type","type":"string"},{"name":"_ResourceId","type":"string"}],"rows":[]}]}' @@ -1445,7 +2121,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 18 Nov 2019 07:02:13 GMT + - Mon, 30 Dec 2019 04:32:47 GMT strict-transport-security: - max-age=15724800; includeSubDomains transfer-encoding: @@ -1454,7 +2130,7 @@ interactions: - Accept-Encoding - Accept-Encoding via: - - 1.1 draft-oms-68687f776f-sqk54 + - 1.1 draft-oms-6c6d4bbfd9-9vdnd x-content-type-options: - nosniff status: diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_create_with_workspace_linux.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_create_with_workspace_linux.yaml index d7e2a8a8b75..080b7e33bc1 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_create_with_workspace_linux.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_create_with_workspace_linux.yaml @@ -13,15 +13,15 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001","name":"cli_test_vm_create_with_workspace_linux000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2019-12-24T04:22:36Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001","name":"cli_test_vm_create_with_workspace_linux000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2019-12-30T04:38:22Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:22:44 GMT + - Mon, 30 Dec 2019 04:38:28 GMT expires: - '-1' pragma: @@ -109,13 +109,13 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Tue, 24 Dec 2019 04:22:45 GMT + - Mon, 30 Dec 2019 04:38:28 GMT etag: - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" expires: - - Tue, 24 Dec 2019 04:27:45 GMT + - Mon, 30 Dec 2019 04:43:28 GMT source-age: - - '0' + - '260' strict-transport-security: - max-age=31536000 vary: @@ -123,23 +123,23 @@ interactions: via: - 1.1 varnish x-cache: - - MISS + - HIT x-cache-hits: - - '0' + - '1' x-content-type-options: - nosniff x-fastly-request-id: - - 61b5d6700cc3afe9d82bd8b83aa595d87876ccff + - be53662ae5600b966dc1fdc321a253ffa69ea806 x-frame-options: - deny x-geo-block-list: - '' x-github-request-id: - - 5DA6:1F61:387B27:3C9986:5E019295 + - C136:374E:6EBFE0:7739FA:5E097E3E x-served-by: - - cache-sin18028-SIN + - cache-sin18025-SIN x-timer: - - S1577161365.377904,VS0,VE293 + - S1577680709.661358,VS0,VE0 x-xss-protection: - 1; mode=block status: @@ -159,8 +159,8 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -176,7 +176,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:22:46 GMT + - Mon, 30 Dec 2019 04:38:28 GMT expires: - '-1' pragma: @@ -206,8 +206,8 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -225,7 +225,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:22:46 GMT + - Mon, 30 Dec 2019 04:38:30 GMT expires: - '-1' pragma: @@ -253,15 +253,15 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001","name":"cli_test_vm_create_with_workspace_linux000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2019-12-24T04:22:36Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001","name":"cli_test_vm_create_with_workspace_linux000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2019-12-30T04:38:22Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -270,7 +270,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:22:46 GMT + - Mon, 30 Dec 2019 04:38:30 GMT expires: - '-1' pragma: @@ -303,8 +303,8 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT @@ -312,13 +312,13 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"a621d78a-2d1e-448f-82ec-60e2bca11b99\",\r\n \"provisioningState\": \"Creating\",\r\n + \"bffad48f-9a72-4ec6-ab0f-3f77b9c58316\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Tue, 24 Dec 2019 04:22:56 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Mon, 30 Dec 2019 04:38:38 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, 25 Dec 2019 01:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Mon, 30 Dec 2019 18:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002\",\r\n \ \"name\": \"cliworkspace000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -330,7 +330,7 @@ interactions: content-type: - application/json date: - - Tue, 24 Dec 2019 04:22:57 GMT + - Mon, 30 Dec 2019 04:38:39 GMT pragma: - no-cache server: @@ -341,7 +341,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET - ASP.NET @@ -362,20 +362,20 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002?api-version=2015-11-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"a621d78a-2d1e-448f-82ec-60e2bca11b99\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"bffad48f-9a72-4ec6-ab0f-3f77b9c58316\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Tue, 24 Dec 2019 04:22:56 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Mon, 30 Dec 2019 04:38:38 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, 25 Dec 2019 01:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Mon, 30 Dec 2019 18:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002\",\r\n \ \"name\": \"cliworkspace000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -387,7 +387,7 @@ interactions: content-type: - application/json date: - - Tue, 24 Dec 2019 04:23:28 GMT + - Mon, 30 Dec 2019 04:39:09 GMT pragma: - no-cache server: @@ -448,11 +448,11 @@ interactions: "properties": {"hardwareProfile": {"vmSize": "Standard_DS1_v2"}, "networkProfile": {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic"}]}, "storageProfile": {"osDisk": {"createOption": "fromImage", "name": null, "caching": - "ReadWrite", "managedDisk": {"storageAccountType": null, "diskEncryptionSet": - {"id": null}}}, "imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", - "sku": "18.04-LTS", "version": "latest"}}, "osProfile": {"computerName": "monitorvm", - "adminUsername": "fanqiu", "linuxConfiguration": {"disablePasswordAuthentication": - true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC/6lyAsWCEt5FlwlP4E2dBLTrJlQ8F8eM7P+N60KN/G59ytk5e1hUZ9BsCLOQ+Ebh9Fq/ck2k2AbOPhTk+PcUOMDSTkxPIXcA/zUtfKOV9VHf4urkVFy+4mN9+xcs7NlAbyj0ZImvy3SIsdlL4dO3FWJ81QtRUOgdYQq5cBXi0eExClt0Hfjq4T4FqU0GKhjOnaO/MLZ7gf0UfWdqmYqUWOE5EZKdml1PG/LeYG5y7oXQ1uCz9wwsa8DO3PzUSzCw8RK1/6MJQIyBbytz2LzXSidHj8tHFkxt9Flhh+CeeoDTJYm13Jvic9DxrqFY3Px7+9Bt6D0exV+USneFGB2LRJk2Bm6Nz6/FYlyXUAgZbZx2w3ZSXhaiNoW7UfD4GJ5E9O3F2T0atN/IgW2IHp1wNdr8AAT18YqkN69iBSL1Rx9eel/V6YYjhG7F6dTHCsJUB1qQWoCEaWwiRw57fsrO2XRzF79QK96Oz4VkLZvJj/PhR4ez+/tsjIT5TKWKGHstQ4VNvvuUhbYt+SI3aLxg8EuEgmvfaJ3k77+ceb7Sy3WsWHyRDgmypHe1ncYqFMONTwGcPO5snIH40C34eD5hy3t3myX8WVpDwcBrn44cqQ722Q6u6z/qEpC4sDsYCH9fp+7/PMGQWwwgdqf7Leqe4IKxIL+OxoXxUswat/6wzpQ== + "ReadWrite", "managedDisk": {"storageAccountType": null}}, "imageReference": + {"publisher": "Canonical", "offer": "UbuntuServer", "sku": "18.04-LTS", "version": + "latest"}}, "osProfile": {"computerName": "monitorvm", "adminUsername": "fanqiu", + "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": + [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC/6lyAsWCEt5FlwlP4E2dBLTrJlQ8F8eM7P+N60KN/G59ytk5e1hUZ9BsCLOQ+Ebh9Fq/ck2k2AbOPhTk+PcUOMDSTkxPIXcA/zUtfKOV9VHf4urkVFy+4mN9+xcs7NlAbyj0ZImvy3SIsdlL4dO3FWJ81QtRUOgdYQq5cBXi0eExClt0Hfjq4T4FqU0GKhjOnaO/MLZ7gf0UfWdqmYqUWOE5EZKdml1PG/LeYG5y7oXQ1uCz9wwsa8DO3PzUSzCw8RK1/6MJQIyBbytz2LzXSidHj8tHFkxt9Flhh+CeeoDTJYm13Jvic9DxrqFY3Px7+9Bt6D0exV+USneFGB2LRJk2Bm6Nz6/FYlyXUAgZbZx2w3ZSXhaiNoW7UfD4GJ5E9O3F2T0atN/IgW2IHp1wNdr8AAT18YqkN69iBSL1Rx9eel/V6YYjhG7F6dTHCsJUB1qQWoCEaWwiRw57fsrO2XRzF79QK96Oz4VkLZvJj/PhR4ez+/tsjIT5TKWKGHstQ4VNvvuUhbYt+SI3aLxg8EuEgmvfaJ3k77+ceb7Sy3WsWHyRDgmypHe1ncYqFMONTwGcPO5snIH40C34eD5hy3t3myX8WVpDwcBrn44cqQ722Q6u6z/qEpC4sDsYCH9fp+7/PMGQWwwgdqf7Leqe4IKxIL+OxoXxUswat/6wzpQ== fanqiu@microsoft.com\\n", "path": "/home/fanqiu/.ssh/authorized_keys"}]}}}}}], "outputs": {}}, "parameters": {"workspaceId": {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002"}}, "mode": "Incremental"}}''' @@ -466,32 +466,32 @@ interactions: Connection: - keep-alive Content-Length: - - '5521' + - '5486' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/vm_deploy_fe9Bbg290rSjttIJaTdFchtsqpH8oQPd","name":"vm_deploy_fe9Bbg290rSjttIJaTdFchtsqpH8oQPd","type":"Microsoft.Resources/deployments","properties":{"templateHash":"8982832986653259472","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-12-24T04:23:34.6006758Z","duration":"PT3.6281749S","correlationId":"28fc8c4d-285f-4360-8438-c24965b22554","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"monitorvmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"monitorvmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/DependencyAgentLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/DependencyAgentLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/vm_deploy_ya5BlDEG5tx3AlUrVKF0nyOf8jtGdGOk","name":"vm_deploy_ya5BlDEG5tx3AlUrVKF0nyOf8jtGdGOk","type":"Microsoft.Resources/deployments","properties":{"templateHash":"15806262390124811023","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-12-30T04:39:17.6917547Z","duration":"PT4.0268813S","correlationId":"850b987a-6b99-4d0e-bdd6-c102c3dd2dc3","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"monitorvmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"monitorvmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/DependencyAgentLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/DependencyAgentLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/vm_deploy_fe9Bbg290rSjttIJaTdFchtsqpH8oQPd/operationStatuses/08586244454745051348?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/vm_deploy_ya5BlDEG5tx3AlUrVKF0nyOf8jtGdGOk/operationStatuses/08586239261318127608?api-version=2019-07-01 cache-control: - no-cache content-length: - - '4976' + - '4977' content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:23:35 GMT + - Mon, 30 Dec 2019 04:39:19 GMT expires: - '-1' pragma: @@ -501,7 +501,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 201 message: Created @@ -519,268 +519,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 24 Dec 2019 04:24:06 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: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -n -g --image --workspace - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 24 Dec 2019 04:24:38 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: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -n -g --image --workspace - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 24 Dec 2019 04:25:08 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: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -n -g --image --workspace - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 24 Dec 2019 04:25:38 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: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -n -g --image --workspace - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 24 Dec 2019 04:26:09 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: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -n -g --image --workspace - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 24 Dec 2019 04:26:39 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: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -n -g --image --workspace - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239261318127608?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -792,7 +534,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:27:11 GMT + - Mon, 30 Dec 2019 04:39:50 GMT expires: - '-1' pragma: @@ -820,10 +562,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239261318127608?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -835,7 +577,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:27:41 GMT + - Mon, 30 Dec 2019 04:40:20 GMT expires: - '-1' pragma: @@ -863,10 +605,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239261318127608?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -878,7 +620,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:28:11 GMT + - Mon, 30 Dec 2019 04:40:51 GMT expires: - '-1' pragma: @@ -906,10 +648,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239261318127608?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -921,7 +663,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:28:42 GMT + - Mon, 30 Dec 2019 04:41:22 GMT expires: - '-1' pragma: @@ -949,10 +691,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239261318127608?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -964,7 +706,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:29:12 GMT + - Mon, 30 Dec 2019 04:41:52 GMT expires: - '-1' pragma: @@ -992,10 +734,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239261318127608?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1007,7 +749,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:29:43 GMT + - Mon, 30 Dec 2019 04:42:23 GMT expires: - '-1' pragma: @@ -1035,10 +777,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239261318127608?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1050,7 +792,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:30:14 GMT + - Mon, 30 Dec 2019 04:42:54 GMT expires: - '-1' pragma: @@ -1078,10 +820,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239261318127608?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1093,7 +835,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:30:44 GMT + - Mon, 30 Dec 2019 04:43:24 GMT expires: - '-1' pragma: @@ -1121,10 +863,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239261318127608?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1136,7 +878,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:31:15 GMT + - Mon, 30 Dec 2019 04:43:55 GMT expires: - '-1' pragma: @@ -1164,10 +906,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239261318127608?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1179,7 +921,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:31:45 GMT + - Mon, 30 Dec 2019 04:44:25 GMT expires: - '-1' pragma: @@ -1207,10 +949,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239261318127608?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1222,7 +964,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:32:16 GMT + - Mon, 30 Dec 2019 04:44:56 GMT expires: - '-1' pragma: @@ -1250,10 +992,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239261318127608?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1265,7 +1007,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:32:47 GMT + - Mon, 30 Dec 2019 04:45:26 GMT expires: - '-1' pragma: @@ -1293,10 +1035,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239261318127608?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1308,7 +1050,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:33:17 GMT + - Mon, 30 Dec 2019 04:45:57 GMT expires: - '-1' pragma: @@ -1336,10 +1078,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239261318127608?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1351,7 +1093,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:33:47 GMT + - Mon, 30 Dec 2019 04:46:28 GMT expires: - '-1' pragma: @@ -1379,96 +1121,10 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 24 Dec 2019 04:34:18 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: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -n -g --image --workspace - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 24 Dec 2019 04:34:49 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: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -n -g --image --workspace - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244454745051348?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239261318127608?api-version=2019-07-01 response: body: string: '{"status":"Succeeded"}' @@ -1480,7 +1136,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:35:19 GMT + - Mon, 30 Dec 2019 04:46:58 GMT expires: - '-1' pragma: @@ -1508,13 +1164,13 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/vm_deploy_fe9Bbg290rSjttIJaTdFchtsqpH8oQPd","name":"vm_deploy_fe9Bbg290rSjttIJaTdFchtsqpH8oQPd","type":"Microsoft.Resources/deployments","properties":{"templateHash":"8982832986653259472","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-12-24T04:34:57.6708043Z","duration":"PT11M26.6983034S","correlationId":"28fc8c4d-285f-4360-8438-c24965b22554","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"monitorvmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"monitorvmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/DependencyAgentLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/DependencyAgentLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/DependencyAgentLinux"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Resources/deployments/vm_deploy_ya5BlDEG5tx3AlUrVKF0nyOf8jtGdGOk","name":"vm_deploy_ya5BlDEG5tx3AlUrVKF0nyOf8jtGdGOk","type":"Microsoft.Resources/deployments","properties":{"templateHash":"15806262390124811023","parameters":{"workspaceId":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-12-30T04:46:55.0934467Z","duration":"PT7M41.4285733S","correlationId":"850b987a-6b99-4d0e-bdd6-c102c3dd2dc3","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"monitorvmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"monitorvmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/OMSExtension"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/OMSExtension"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/DependencyAgentLinux","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/DependencyAgentLinux"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/DependencyAgentLinux"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/OMSExtension"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET"}]}}' headers: cache-control: - no-cache @@ -1523,7 +1179,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:35:19 GMT + - Mon, 30 Dec 2019 04:46:59 GMT expires: - '-1' pragma: @@ -1551,8 +1207,8 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-compute/10.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -1561,16 +1217,16 @@ interactions: body: string: "{\r\n \"name\": \"monitorvm\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/virtualMachines/monitorvm\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"3dd89a77-91a6-487f-a8d6-cdf0ae8603bb\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"bec5c0e2-ee7f-49fa-8b71-d1dc431e3244\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": \"18.04.201912180\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"monitorvm_disk1_8dd5e3f44a644531a1575e9abfe5f601\",\r\n + \"Linux\",\r\n \"name\": \"monitorvm_disk1_ae7fc1f46b5e45f891e13566b02ca647\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/disks/monitorvm_disk1_8dd5e3f44a644531a1575e9abfe5f601\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Compute/disks/monitorvm_disk1_ae7fc1f46b5e45f891e13566b02ca647\"\r\n \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"monitorvm\",\r\n \ \"adminUsername\": \"fanqiu\",\r\n \"linuxConfiguration\": {\r\n @@ -1587,7 +1243,7 @@ interactions: [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2019-12-24T04:35:20+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + \"2019-12-30T04:46:58+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": [\r\n {\r\n \"type\": \"Microsoft.Azure.Monitoring.DependencyAgent.DependencyAgentLinux\",\r\n \ \"typeHandlerVersion\": \"9.10.0.7820\",\r\n \"status\": {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \"level\": @@ -1598,10 +1254,10 @@ interactions: \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Plugin enabled\"\r\n }\r\n }\r\n \ ]\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": - \"monitorvm_disk1_8dd5e3f44a644531a1575e9abfe5f601\",\r\n \"statuses\": + \"monitorvm_disk1_ae7fc1f46b5e45f891e13566b02ca647\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2019-12-24T04:27:14.696258+00:00\"\r\n + succeeded\",\r\n \"time\": \"2019-12-30T04:40:55.0264239+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"extensions\": [\r\n {\r\n \"name\": \"DependencyAgentLinux\",\r\n \"type\": \"Microsoft.Azure.Monitoring.DependencyAgent.DependencyAgentLinux\",\r\n \"typeHandlerVersion\": @@ -1617,7 +1273,7 @@ interactions: \ ]\r\n }\r\n ],\r\n \"hyperVGeneration\": \"V1\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2019-12-24T04:34:53.0254522+00:00\"\r\n + succeeded\",\r\n \"time\": \"2019-12-30T04:46:41.4486595+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n \ }\r\n ]\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"name\": @@ -1632,17 +1288,17 @@ interactions: \"eastus\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"provisioningState\": \"Succeeded\",\r\n \"publisher\": \"Microsoft.EnterpriseCloud.Monitoring\",\r\n \"type\": \"OmsAgentForLinux\",\r\n - \ \"typeHandlerVersion\": \"1.4\",\r\n \"settings\": {\"workspaceId\":\"a621d78a-2d1e-448f-82ec-60e2bca11b99\",\"stopOnMultipleConnections\":\"true\"}\r\n + \ \"typeHandlerVersion\": \"1.4\",\r\n \"settings\": {\"workspaceId\":\"bffad48f-9a72-4ec6-ab0f-3f77b9c58316\",\"stopOnMultipleConnections\":\"true\"}\r\n \ }\r\n }\r\n ]\r\n}" headers: cache-control: - no-cache content-length: - - '7235' + - '7236' content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:35:20 GMT + - Mon, 30 Dec 2019 04:47:00 GMT expires: - '-1' pragma: @@ -1659,7 +1315,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3994,Microsoft.Compute/LowCostGet30Min;31990 + - Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31943 status: code: 200 message: OK @@ -1677,8 +1333,8 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -1686,12 +1342,12 @@ interactions: response: body: string: "{\r\n \"name\": \"monitorvmVMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic\",\r\n - \ \"etag\": \"W/\\\"ed8ce849-baa5-4274-aec1-8320fff418a5\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"68007c28-14c2-4de7-a396-17de52e71028\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"29876921-3d0f-4a69-a351-46034ef6e762\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"b0be42d6-14d0-4a34-90ec-733e9a44a7af\",\r\n \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigmonitorvm\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic/ipConfigurations/ipconfigmonitorvm\",\r\n - \ \"etag\": \"W/\\\"ed8ce849-baa5-4274-aec1-8320fff418a5\\\"\",\r\n + \ \"etag\": \"W/\\\"68007c28-14c2-4de7-a396-17de52e71028\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -1700,8 +1356,8 @@ interactions: \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": - \"khuwnxjujybude0wxi1ges3nwa.bx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-0D-3A-8F-07-A8\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \"ck4kyxgvlnhe3a3mxdtmphiyof.bx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-8F-69-59\",\r\n \"enableAcceleratedNetworking\": false,\r\n \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": @@ -1715,9 +1371,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:35:22 GMT + - Mon, 30 Dec 2019 04:47:00 GMT etag: - - W/"ed8ce849-baa5-4274-aec1-8320fff418a5" + - W/"68007c28-14c2-4de7-a396-17de52e71028" expires: - '-1' pragma: @@ -1734,7 +1390,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - bd0619ae-6363-4b0e-b9cb-775719f73715 + - facfdaaa-b226-46a9-b069-b29578db67f3 status: code: 200 message: OK @@ -1752,8 +1408,8 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -1761,11 +1417,11 @@ interactions: response: body: string: "{\r\n \"name\": \"monitorvmPublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP\",\r\n - \ \"etag\": \"W/\\\"11ea0314-e4f8-4da5-afb9-5187b3999c0d\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"40388d5f-9035-4214-9212-460368af587b\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"64d7abf3-dcd1-47e0-9cc2-8d7c804716f1\",\r\n - \ \"ipAddress\": \"40.114.45.240\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n - \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + \"Succeeded\",\r\n \"resourceGuid\": \"27eb6937-0b3a-4123-a80d-040568aca14a\",\r\n + \ \"ipAddress\": \"52.168.132.177\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic/ipConfigurations/ipconfigmonitorvm\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" @@ -1773,13 +1429,13 @@ interactions: cache-control: - no-cache content-length: - - '1021' + - '1022' content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:35:22 GMT + - Mon, 30 Dec 2019 04:47:00 GMT etag: - - W/"11ea0314-e4f8-4da5-afb9-5187b3999c0d" + - W/"40388d5f-9035-4214-9212-460368af587b" expires: - '-1' pragma: @@ -1796,7 +1452,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c6fd1972-4274-4168-aed8-5243001a537c + - f8f43d24-002a-421d-b17f-94ba33aefa21 status: code: 200 message: OK @@ -1818,15 +1474,15 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxPerformanceCollection_79bc5207-dab5-4f01-8dfd-fe59f5d70841?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001?api-version=2015-11-01-preview response: body: - string: '{"kind":"LinuxPerformanceCollection","properties":{"state":"Enabled"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceCollection_79bc5207-dab5-4f01-8dfd-fe59f5d70841","etag":"W/\"datetime''2019-12-24T04%3A35%3A23.0015604Z''\"","name":"DataSource_LinuxPerformanceCollection_79bc5207-dab5-4f01-8dfd-fe59f5d70841","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + string: '{"kind":"LinuxPerformanceCollection","properties":{"state":"Enabled"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001","etag":"W/\"datetime''2019-12-30T04%3A47%3A02.0720049Z''\"","name":"DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -1835,7 +1491,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:35:22 GMT + - Mon, 30 Dec 2019 04:47:01 GMT expires: - '-1' pragma: @@ -1851,7 +1507,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' x-powered-by: - ASP.NET status: @@ -1878,17 +1534,17 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxPerformanceObject_12501512-7a92-4902-92e1-8f6f848b10b2?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002?api-version=2015-11-01-preview response: body: string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Memory","performanceCounters":[{"counterName":"Available MBytes Memory"},{"counterName":"% Used Memory"},{"counterName":"% Used Swap - Space"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_12501512-7a92-4902-92e1-8f6f848b10b2","etag":"W/\"datetime''2019-12-24T04%3A35%3A24.1578074Z''\"","name":"DataSource_LinuxPerformanceObject_12501512-7a92-4902-92e1-8f6f848b10b2","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Space"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002","etag":"W/\"datetime''2019-12-30T04%3A47%3A02.9301982Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -1897,7 +1553,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:35:24 GMT + - Mon, 30 Dec 2019 04:47:02 GMT expires: - '-1' pragma: @@ -1913,7 +1569,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET status: @@ -1939,16 +1595,16 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxPerformanceObject_c98efb93-8896-40ec-b726-3e5b60e1cff6?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003?api-version=2015-11-01-preview response: body: string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Processor","performanceCounters":[{"counterName":"% - Processor Time"},{"counterName":"% Privileged Time"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_c98efb93-8896-40ec-b726-3e5b60e1cff6","etag":"W/\"datetime''2019-12-24T04%3A35%3A25.1796944Z''\"","name":"DataSource_LinuxPerformanceObject_c98efb93-8896-40ec-b726-3e5b60e1cff6","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Processor Time"},{"counterName":"% Privileged Time"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003","etag":"W/\"datetime''2019-12-30T04%3A47%3A05.1077615Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -1957,7 +1613,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:35:25 GMT + - Mon, 30 Dec 2019 04:47:05 GMT expires: - '-1' pragma: @@ -2001,18 +1657,18 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxPerformanceObject_81502588-49d6-46e5-9610-9c1209fa884c?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004?api-version=2015-11-01-preview response: body: string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Logical Disk","performanceCounters":[{"counterName":"% Used Inodes"},{"counterName":"Free Megabytes"},{"counterName":"% Used Space"},{"counterName":"Disk Transfers/sec"},{"counterName":"Disk - Reads/sec"},{"counterName":"Disk Writes/sec"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_81502588-49d6-46e5-9610-9c1209fa884c","etag":"W/\"datetime''2019-12-24T04%3A35%3A26.1735143Z''\"","name":"DataSource_LinuxPerformanceObject_81502588-49d6-46e5-9610-9c1209fa884c","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Reads/sec"},{"counterName":"Disk Writes/sec"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004","etag":"W/\"datetime''2019-12-30T04%3A47%3A06.0149377Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -2021,7 +1677,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:35:25 GMT + - Mon, 30 Dec 2019 04:47:06 GMT expires: - '-1' pragma: @@ -2063,16 +1719,16 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxPerformanceObject_87b0df84-a1f8-4c0e-bf43-52b007e2d0c4?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005?api-version=2015-11-01-preview response: body: string: '{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Network","performanceCounters":[{"counterName":"Total - Bytes Transmitted"},{"counterName":"Total Bytes Received"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_87b0df84-a1f8-4c0e-bf43-52b007e2d0c4","etag":"W/\"datetime''2019-12-24T04%3A35%3A28.3749385Z''\"","name":"DataSource_LinuxPerformanceObject_87b0df84-a1f8-4c0e-bf43-52b007e2d0c4","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Bytes Transmitted"},{"counterName":"Total Bytes Received"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005","etag":"W/\"datetime''2019-12-30T04%3A47%3A07.0149364Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -2081,7 +1737,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:35:28 GMT + - Mon, 30 Dec 2019 04:47:07 GMT expires: - '-1' pragma: @@ -2097,7 +1753,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' x-powered-by: - ASP.NET status: @@ -2121,15 +1777,15 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxSyslogCollection_e43183d5-4f7d-482b-8367-c9358118b5df?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006?api-version=2015-11-01-preview response: body: - string: '{"kind":"LinuxSyslogCollection","properties":{"state":"Enabled"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxSyslogCollection_e43183d5-4f7d-482b-8367-c9358118b5df","etag":"W/\"datetime''2019-12-24T04%3A35%3A29.2904010Z''\"","name":"DataSource_LinuxSyslogCollection_e43183d5-4f7d-482b-8367-c9358118b5df","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + string: '{"kind":"LinuxSyslogCollection","properties":{"state":"Enabled"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006","etag":"W/\"datetime''2019-12-30T04%3A47%3A09.4024380Z''\"","name":"DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -2138,7 +1794,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:35:29 GMT + - Mon, 30 Dec 2019 04:47:09 GMT expires: - '-1' pragma: @@ -2154,7 +1810,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET status: @@ -2179,15 +1835,15 @@ interactions: ParameterSetName: - -n -g --image --workspace User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxSyslog_29e49f6c-c190-4d2f-ab65-40eed3d36e44?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007?api-version=2015-11-01-preview response: body: - string: '{"kind":"LinuxSyslog","properties":{"syslogName":"syslog","syslogSeverities":[{"severity":"notice"},{"severity":"info"},{"severity":"debug"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxSyslog_29e49f6c-c190-4d2f-ab65-40eed3d36e44","etag":"W/\"datetime''2019-12-24T04%3A35%3A30.3216473Z''\"","name":"DataSource_LinuxSyslog_29e49f6c-c190-4d2f-ab65-40eed3d36e44","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + string: '{"kind":"LinuxSyslog","properties":{"syslogName":"syslog","syslogSeverities":[{"severity":"notice"},{"severity":"info"},{"severity":"debug"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007","etag":"W/\"datetime''2019-12-30T04%3A47%3A10.3050278Z''\"","name":"DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -2196,7 +1852,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:35:30 GMT + - Mon, 30 Dec 2019 04:47:10 GMT expires: - '-1' pragma: @@ -2212,7 +1868,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' x-powered-by: - ASP.NET status: @@ -2234,8 +1890,8 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -2243,13 +1899,13 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"a621d78a-2d1e-448f-82ec-60e2bca11b99\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"bffad48f-9a72-4ec6-ab0f-3f77b9c58316\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Tue, 24 Dec 2019 04:22:56 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Mon, 30 Dec 2019 04:38:38 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, 25 Dec 2019 01:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Mon, 30 Dec 2019 18:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002\",\r\n \ \"name\": \"cliworkspace000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -2261,7 +1917,7 @@ interactions: content-type: - application/json date: - - Tue, 24 Dec 2019 04:35:32 GMT + - Mon, 30 Dec 2019 04:47:11 GMT pragma: - no-cache server: @@ -2300,7 +1956,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002/dataSources?$filter=kind%20eq%20'LinuxPerformanceCollection'&api-version=2015-11-01-preview response: body: - string: '{"value":[{"kind":"LinuxPerformanceCollection","properties":{"state":"Enabled"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceCollection_79bc5207-dab5-4f01-8dfd-fe59f5d70841","etag":"W/\"datetime''2019-12-24T04%3A35%3A23.0015604Z''\"","name":"DataSource_LinuxPerformanceCollection_79bc5207-dab5-4f01-8dfd-fe59f5d70841","type":"Microsoft.OperationalInsights/workspaces/datasources"}]}' + string: '{"value":[{"kind":"LinuxPerformanceCollection","properties":{"state":"Enabled"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001","etag":"W/\"datetime''2019-12-30T04%3A47%3A02.0720049Z''\"","name":"DataSource_LinuxPerformanceCollection_88888888-0000-0000-0000-000000000001","type":"Microsoft.OperationalInsights/workspaces/datasources"}]}' headers: cache-control: - no-cache @@ -2309,7 +1965,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:35:35 GMT + - Mon, 30 Dec 2019 04:47:14 GMT expires: - '-1' pragma: @@ -2348,7 +2004,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002/dataSources?$filter=kind%20eq%20'LinuxSyslog'&api-version=2015-11-01-preview response: body: - string: '{"value":[{"kind":"LinuxSyslog","properties":{"syslogName":"syslog","syslogSeverities":[{"severity":"notice"},{"severity":"info"},{"severity":"debug"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxSyslog_29e49f6c-c190-4d2f-ab65-40eed3d36e44","etag":"W/\"datetime''2019-12-24T04%3A35%3A30.3216473Z''\"","name":"DataSource_LinuxSyslog_29e49f6c-c190-4d2f-ab65-40eed3d36e44","type":"Microsoft.OperationalInsights/workspaces/datasources"}]}' + string: '{"value":[{"kind":"LinuxSyslog","properties":{"syslogName":"syslog","syslogSeverities":[{"severity":"notice"},{"severity":"info"},{"severity":"debug"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007","etag":"W/\"datetime''2019-12-30T04%3A47%3A10.3050278Z''\"","name":"DataSource_LinuxSyslog_88888888-0000-0000-0000-000000000007","type":"Microsoft.OperationalInsights/workspaces/datasources"}]}' headers: cache-control: - no-cache @@ -2357,7 +2013,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:35:37 GMT + - Mon, 30 Dec 2019 04:47:17 GMT expires: - '-1' pragma: @@ -2396,7 +2052,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002/dataSources?$filter=kind%20eq%20'LinuxSyslogCollection'&api-version=2015-11-01-preview response: body: - string: '{"value":[{"kind":"LinuxSyslogCollection","properties":{"state":"Enabled"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxSyslogCollection_e43183d5-4f7d-482b-8367-c9358118b5df","etag":"W/\"datetime''2019-12-24T04%3A35%3A29.2904010Z''\"","name":"DataSource_LinuxSyslogCollection_e43183d5-4f7d-482b-8367-c9358118b5df","type":"Microsoft.OperationalInsights/workspaces/datasources"}]}' + string: '{"value":[{"kind":"LinuxSyslogCollection","properties":{"state":"Enabled"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006","etag":"W/\"datetime''2019-12-30T04%3A47%3A09.4024380Z''\"","name":"DataSource_LinuxSyslogCollection_88888888-0000-0000-0000-000000000006","type":"Microsoft.OperationalInsights/workspaces/datasources"}]}' headers: cache-control: - no-cache @@ -2405,7 +2061,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:35:38 GMT + - Mon, 30 Dec 2019 04:47:19 GMT expires: - '-1' pragma: @@ -2444,14 +2100,14 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_linux000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002/dataSources?$filter=kind%20eq%20'LinuxPerformanceObject'&api-version=2015-11-01-preview response: body: - string: '{"value":[{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Memory","performanceCounters":[{"counterName":"Available + string: '{"value":[{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Processor","performanceCounters":[{"counterName":"% + Processor Time"},{"counterName":"% Privileged Time"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003","etag":"W/\"datetime''2019-12-30T04%3A47%3A05.1077615Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000003","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Memory","performanceCounters":[{"counterName":"Available MBytes Memory"},{"counterName":"% Used Memory"},{"counterName":"% Used Swap - Space"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_12501512-7a92-4902-92e1-8f6f848b10b2","etag":"W/\"datetime''2019-12-24T04%3A35%3A24.1578074Z''\"","name":"DataSource_LinuxPerformanceObject_12501512-7a92-4902-92e1-8f6f848b10b2","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Logical + Space"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002","etag":"W/\"datetime''2019-12-30T04%3A47%3A02.9301982Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000002","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Logical Disk","performanceCounters":[{"counterName":"% Used Inodes"},{"counterName":"Free Megabytes"},{"counterName":"% Used Space"},{"counterName":"Disk Transfers/sec"},{"counterName":"Disk - Reads/sec"},{"counterName":"Disk Writes/sec"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_81502588-49d6-46e5-9610-9c1209fa884c","etag":"W/\"datetime''2019-12-24T04%3A35%3A26.1735143Z''\"","name":"DataSource_LinuxPerformanceObject_81502588-49d6-46e5-9610-9c1209fa884c","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Network","performanceCounters":[{"counterName":"Total - Bytes Transmitted"},{"counterName":"Total Bytes Received"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_87b0df84-a1f8-4c0e-bf43-52b007e2d0c4","etag":"W/\"datetime''2019-12-24T04%3A35%3A28.3749385Z''\"","name":"DataSource_LinuxPerformanceObject_87b0df84-a1f8-4c0e-bf43-52b007e2d0c4","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Processor","performanceCounters":[{"counterName":"% - Processor Time"},{"counterName":"% Privileged Time"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_c98efb93-8896-40ec-b726-3e5b60e1cff6","etag":"W/\"datetime''2019-12-24T04%3A35%3A25.1796944Z''\"","name":"DataSource_LinuxPerformanceObject_c98efb93-8896-40ec-b726-3e5b60e1cff6","type":"Microsoft.OperationalInsights/workspaces/datasources"}]}' + Reads/sec"},{"counterName":"Disk Writes/sec"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004","etag":"W/\"datetime''2019-12-30T04%3A47%3A06.0149377Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000004","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"LinuxPerformanceObject","properties":{"instanceName":"*","intervalSeconds":10,"objectName":"Network","performanceCounters":[{"counterName":"Total + Bytes Transmitted"},{"counterName":"Total Bytes Received"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_linux000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005","etag":"W/\"datetime''2019-12-30T04%3A47%3A07.0149364Z''\"","name":"DataSource_LinuxPerformanceObject_88888888-0000-0000-0000-000000000005","type":"Microsoft.OperationalInsights/workspaces/datasources"}]}' headers: cache-control: - no-cache @@ -2460,7 +2116,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 04:35:41 GMT + - Mon, 30 Dec 2019 04:47:21 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_create_with_workspace_windows.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_create_with_workspace_windows.yaml index 687c29f285e..36bc30dd55f 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_create_with_workspace_windows.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_create_with_workspace_windows.yaml @@ -13,15 +13,15 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001","name":"cli_test_vm_create_with_workspace_windows000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2019-12-24T05:00:03Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001","name":"cli_test_vm_create_with_workspace_windows000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2019-12-30T05:21:38Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:00:08 GMT + - Mon, 30 Dec 2019 05:21:46 GMT expires: - '-1' pragma: @@ -109,13 +109,13 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Tue, 24 Dec 2019 05:00:09 GMT + - Mon, 30 Dec 2019 05:21:47 GMT etag: - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" expires: - - Tue, 24 Dec 2019 05:05:09 GMT + - Mon, 30 Dec 2019 05:26:47 GMT source-age: - - '0' + - '185' strict-transport-security: - max-age=31536000 vary: @@ -123,23 +123,23 @@ interactions: via: - 1.1 varnish x-cache: - - MISS + - HIT x-cache-hits: - - '0' + - '1' x-content-type-options: - nosniff x-fastly-request-id: - - 46da865cee288cddec53be034289585537ba7048 + - 3ffbf3e256c5f9d279ce336bcc8a56656a2458c3 x-frame-options: - deny x-geo-block-list: - '' x-github-request-id: - - 6B04:374E:37EEFB:3C2827:5E019B58 + - 63EC:1D5E:21570C:255BA3:5E0988B1 x-served-by: - - cache-sin18038-SIN + - cache-sin18040-SIN x-timer: - - S1577163609.413764,VS0,VE288 + - S1577683307.429689,VS0,VE0 x-xss-protection: - 1; mode=block status: @@ -159,8 +159,8 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -176,7 +176,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:00:09 GMT + - Mon, 30 Dec 2019 05:21:47 GMT expires: - '-1' pragma: @@ -206,8 +206,8 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -225,7 +225,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:00:10 GMT + - Mon, 30 Dec 2019 05:21:48 GMT expires: - '-1' pragma: @@ -253,15 +253,15 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001","name":"cli_test_vm_create_with_workspace_windows000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2019-12-24T05:00:03Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001","name":"cli_test_vm_create_with_workspace_windows000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2019-12-30T05:21:38Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -270,7 +270,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:00:11 GMT + - Mon, 30 Dec 2019 05:21:49 GMT expires: - '-1' pragma: @@ -303,8 +303,8 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT @@ -312,13 +312,13 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"aa77f0b8-d651-423d-95f6-22d3e71e71a6\",\r\n \"provisioningState\": \"Creating\",\r\n + \"473b101f-db84-4f72-bbd3-2d1a4b070a37\",\r\n \"provisioningState\": \"Creating\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Tue, 24 Dec 2019 05:00:21 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Mon, 30 Dec 2019 05:22:01 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, 24 Dec 2019 07:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Mon, 30 Dec 2019 19:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002\",\r\n \ \"name\": \"cliworkspace000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -330,7 +330,7 @@ interactions: content-type: - application/json date: - - Tue, 24 Dec 2019 05:00:23 GMT + - Mon, 30 Dec 2019 05:22:02 GMT pragma: - no-cache server: @@ -341,7 +341,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' x-powered-by: - ASP.NET - ASP.NET @@ -362,20 +362,20 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002?api-version=2015-11-01-preview response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"aa77f0b8-d651-423d-95f6-22d3e71e71a6\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"473b101f-db84-4f72-bbd3-2d1a4b070a37\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Tue, 24 Dec 2019 05:00:21 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Mon, 30 Dec 2019 05:22:01 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, 24 Dec 2019 07:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Mon, 30 Dec 2019 19:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002\",\r\n \ \"name\": \"cliworkspace000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -387,7 +387,7 @@ interactions: content-type: - application/json date: - - Tue, 24 Dec 2019 05:00:53 GMT + - Mon, 30 Dec 2019 05:22:34 GMT pragma: - no-cache server: @@ -444,11 +444,11 @@ interactions: "properties": {"hardwareProfile": {"vmSize": "Standard_DS1_v2"}, "networkProfile": {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic"}]}, "storageProfile": {"osDisk": {"createOption": "fromImage", "name": null, "caching": - "ReadWrite", "managedDisk": {"storageAccountType": null, "diskEncryptionSet": - {"id": null}}}, "imageReference": {"publisher": "MicrosoftWindowsServer", "offer": - "WindowsServer", "sku": "2016-Datacenter", "version": "latest"}}, "osProfile": - {"computerName": "monitorvm", "adminUsername": "fanqiu", "adminPassword": "[parameters(\''adminPassword\'')]"}}}], - "outputs": {}}, "parameters": {"workspaceId": {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002"}, + "ReadWrite", "managedDisk": {"storageAccountType": null}}, "imageReference": + {"publisher": "MicrosoftWindowsServer", "offer": "WindowsServer", "sku": "2016-Datacenter", + "version": "latest"}}, "osProfile": {"computerName": "monitorvm", "adminUsername": + "fanqiu", "adminPassword": "[parameters(\''adminPassword\'')]"}}}], "outputs": + {}}, "parameters": {"workspaceId": {"value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002"}, "adminPassword": {"value": "AzureCLI@1224"}}, "mode": "Incremental"}}''' headers: Accept: @@ -460,32 +460,32 @@ interactions: Connection: - keep-alive Content-Length: - - '4436' + - '4401' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/vm_deploy_UScuEh0Mbt4D70pTmRCQdH7GZLH0h6Ta","name":"vm_deploy_UScuEh0Mbt4D70pTmRCQdH7GZLH0h6Ta","type":"Microsoft.Resources/deployments","properties":{"templateHash":"12859430362602009592","parameters":{"workspaceId":{"type":"SecureString"},"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-12-24T05:01:01.3607339Z","duration":"PT3.7416798S","correlationId":"bf6ac683-b99b-4ab4-aa48-11a6234592e0","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"monitorvmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"monitorvmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/MicrosoftMonitoringAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/MicrosoftMonitoringAgent"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/vm_deploy_pDoATQXMar8z1YjhB5CL4rekg3RAkNST","name":"vm_deploy_pDoATQXMar8z1YjhB5CL4rekg3RAkNST","type":"Microsoft.Resources/deployments","properties":{"templateHash":"5239028104932138033","parameters":{"workspaceId":{"type":"SecureString"},"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-12-30T05:22:41.0048613Z","duration":"PT3.2453898S","correlationId":"5b9fe669-4396-4341-bc23-bd6bdde036be","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"monitorvmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"monitorvmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/MicrosoftMonitoringAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/MicrosoftMonitoringAgent"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/vm_deploy_UScuEh0Mbt4D70pTmRCQdH7GZLH0h6Ta/operationStatuses/08586244432278585826?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/vm_deploy_pDoATQXMar8z1YjhB5CL4rekg3RAkNST/operationStatuses/08586239235277181644?api-version=2019-07-01 cache-control: - no-cache content-length: - - '4347' + - '4346' content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:01:03 GMT + - Mon, 30 Dec 2019 05:22:42 GMT expires: - '-1' pragma: @@ -495,7 +495,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -513,10 +513,96 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 30 Dec 2019 05:23:13 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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 30 Dec 2019 05:23: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: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --workspace --admin-password + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -528,7 +614,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:01:34 GMT + - Mon, 30 Dec 2019 05:24:14 GMT expires: - '-1' pragma: @@ -556,10 +642,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -571,7 +657,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:02:04 GMT + - Mon, 30 Dec 2019 05:24:45 GMT expires: - '-1' pragma: @@ -599,10 +685,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -614,7 +700,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:02:35 GMT + - Mon, 30 Dec 2019 05:25:15 GMT expires: - '-1' pragma: @@ -642,10 +728,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -657,7 +743,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:03:06 GMT + - Mon, 30 Dec 2019 05:25:46 GMT expires: - '-1' pragma: @@ -685,10 +771,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -700,7 +786,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:03:36 GMT + - Mon, 30 Dec 2019 05:26:17 GMT expires: - '-1' pragma: @@ -728,10 +814,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -743,7 +829,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:04:06 GMT + - Mon, 30 Dec 2019 05:26:47 GMT expires: - '-1' pragma: @@ -771,10 +857,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -786,7 +872,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:04:37 GMT + - Mon, 30 Dec 2019 05:27:17 GMT expires: - '-1' pragma: @@ -814,10 +900,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -829,7 +915,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:05:08 GMT + - Mon, 30 Dec 2019 05:27:48 GMT expires: - '-1' pragma: @@ -857,10 +943,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -872,7 +958,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:05:38 GMT + - Mon, 30 Dec 2019 05:28:18 GMT expires: - '-1' pragma: @@ -900,10 +986,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -915,7 +1001,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:06:09 GMT + - Mon, 30 Dec 2019 05:28:49 GMT expires: - '-1' pragma: @@ -943,10 +1029,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -958,7 +1044,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:06:39 GMT + - Mon, 30 Dec 2019 05:29:20 GMT expires: - '-1' pragma: @@ -986,10 +1072,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1001,7 +1087,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:07:10 GMT + - Mon, 30 Dec 2019 05:29:50 GMT expires: - '-1' pragma: @@ -1029,10 +1115,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1044,7 +1130,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:07:41 GMT + - Mon, 30 Dec 2019 05:30:21 GMT expires: - '-1' pragma: @@ -1072,10 +1158,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1087,7 +1173,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:08:11 GMT + - Mon, 30 Dec 2019 05:30:52 GMT expires: - '-1' pragma: @@ -1115,10 +1201,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1130,7 +1216,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:08:42 GMT + - Mon, 30 Dec 2019 05:31:22 GMT expires: - '-1' pragma: @@ -1158,10 +1244,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1173,7 +1259,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:09:13 GMT + - Mon, 30 Dec 2019 05:31:53 GMT expires: - '-1' pragma: @@ -1201,10 +1287,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1216,7 +1302,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:09:43 GMT + - Mon, 30 Dec 2019 05:32:24 GMT expires: - '-1' pragma: @@ -1244,10 +1330,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1259,7 +1345,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:10:14 GMT + - Mon, 30 Dec 2019 05:32:55 GMT expires: - '-1' pragma: @@ -1287,10 +1373,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1302,7 +1388,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:10:44 GMT + - Mon, 30 Dec 2019 05:33:25 GMT expires: - '-1' pragma: @@ -1330,10 +1416,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1345,7 +1431,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:11:15 GMT + - Mon, 30 Dec 2019 05:33:55 GMT expires: - '-1' pragma: @@ -1373,10 +1459,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1388,7 +1474,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:11:45 GMT + - Mon, 30 Dec 2019 05:34:26 GMT expires: - '-1' pragma: @@ -1416,10 +1502,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1431,7 +1517,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:12:16 GMT + - Mon, 30 Dec 2019 05:34:56 GMT expires: - '-1' pragma: @@ -1459,10 +1545,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1474,7 +1560,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:12:46 GMT + - Mon, 30 Dec 2019 05:35:27 GMT expires: - '-1' pragma: @@ -1502,10 +1588,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1517,7 +1603,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:13:16 GMT + - Mon, 30 Dec 2019 05:35:58 GMT expires: - '-1' pragma: @@ -1545,10 +1631,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1560,7 +1646,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:13:48 GMT + - Mon, 30 Dec 2019 05:36:29 GMT expires: - '-1' pragma: @@ -1588,10 +1674,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1603,7 +1689,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:14:19 GMT + - Mon, 30 Dec 2019 05:37:00 GMT expires: - '-1' pragma: @@ -1631,10 +1717,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1646,7 +1732,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:14:50 GMT + - Mon, 30 Dec 2019 05:37:30 GMT expires: - '-1' pragma: @@ -1674,10 +1760,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1689,7 +1775,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:15:20 GMT + - Mon, 30 Dec 2019 05:38:00 GMT expires: - '-1' pragma: @@ -1717,10 +1803,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1732,7 +1818,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:15:50 GMT + - Mon, 30 Dec 2019 05:38:32 GMT expires: - '-1' pragma: @@ -1760,10 +1846,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1775,7 +1861,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:16:21 GMT + - Mon, 30 Dec 2019 05:39:02 GMT expires: - '-1' pragma: @@ -1803,10 +1889,10 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586244432278585826?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239235277181644?api-version=2019-07-01 response: body: string: '{"status":"Succeeded"}' @@ -1818,7 +1904,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:16:52 GMT + - Mon, 30 Dec 2019 05:39:32 GMT expires: - '-1' pragma: @@ -1846,13 +1932,13 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/vm_deploy_UScuEh0Mbt4D70pTmRCQdH7GZLH0h6Ta","name":"vm_deploy_UScuEh0Mbt4D70pTmRCQdH7GZLH0h6Ta","type":"Microsoft.Resources/deployments","properties":{"templateHash":"12859430362602009592","parameters":{"workspaceId":{"type":"SecureString"},"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-12-24T05:16:39.2171001Z","duration":"PT15M41.598046S","correlationId":"bf6ac683-b99b-4ab4-aa48-11a6234592e0","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"monitorvmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"monitorvmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/MicrosoftMonitoringAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/MicrosoftMonitoringAgent"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/MicrosoftMonitoringAgent"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Resources/deployments/vm_deploy_pDoATQXMar8z1YjhB5CL4rekg3RAkNST","name":"vm_deploy_pDoATQXMar8z1YjhB5CL4rekg3RAkNST","type":"Microsoft.Resources/deployments","properties":{"templateHash":"5239028104932138033","parameters":{"workspaceId":{"type":"SecureString"},"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-12-30T05:39:04.0149894Z","duration":"PT16M26.2555179S","correlationId":"5b9fe669-4396-4341-bc23-bd6bdde036be","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines/extensions","locations":["eastus"]},{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"monitorvmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"monitorvmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","apiVersion":"2015-11-01-preview"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002","resourceType":"microsoft.operationalinsights/workspaces","resourceName":"cliworkspace000002","actionName":"listKeys","apiVersion":"2015-11-01-preview"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/MicrosoftMonitoringAgent","resourceType":"Microsoft.Compute/virtualMachines/extensions","resourceName":"monitorvm/MicrosoftMonitoringAgent"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm/extensions/MicrosoftMonitoringAgent"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET"}]}}' headers: cache-control: - no-cache @@ -1861,7 +1947,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:16:52 GMT + - Mon, 30 Dec 2019 05:39:32 GMT expires: - '-1' pragma: @@ -1889,8 +1975,8 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-compute/10.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -1899,16 +1985,16 @@ interactions: body: string: "{\r\n \"name\": \"monitorvm\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/virtualMachines/monitorvm\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"a6aca510-6de9-43f2-8000-2cbb7a5b6620\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"f138dad6-2246-4486-acb3-b06d7e319674\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": \"WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": \"14393.3384.1912042333\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Windows\",\r\n \"name\": \"monitorvm_OsDisk_1_72d928b2a0e2443c8f89e82a631cc917\",\r\n + \"Windows\",\r\n \"name\": \"monitorvm_OsDisk_1_03d77946b58d4c63a96e17a93cfb1446\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/disks/monitorvm_OsDisk_1_72d928b2a0e2443c8f89e82a631cc917\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Compute/disks/monitorvm_OsDisk_1_03d77946b58d4c63a96e17a93cfb1446\"\r\n \ },\r\n \"diskSizeGB\": 127\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"monitorvm\",\r\n \ \"adminUsername\": \"fanqiu\",\r\n \"windowsConfiguration\": {\r\n @@ -1923,17 +2009,17 @@ interactions: [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"GuestAgent is running and accepting new configurations.\",\r\n - \ \"time\": \"2019-12-24T05:16:42+00:00\"\r\n }\r\n ],\r\n + \ \"time\": \"2019-12-30T05:39:26+00:00\"\r\n }\r\n ],\r\n \ \"extensionHandlers\": [\r\n {\r\n \"type\": \"Microsoft.EnterpriseCloud.Monitoring.MicrosoftMonitoringAgent\",\r\n \ \"typeHandlerVersion\": \"1.0.18018.0\",\r\n \"status\": {\r\n \"code\": \"ProvisioningState/NotReady/21\",\r\n \"level\": \"Info\",\r\n \"displayStatus\": \"Not Ready\",\r\n \"message\": \"Checking the connection to Microsoft Operations Management Suite.\"\r\n \ }\r\n }\r\n ]\r\n },\r\n \"disks\": - [\r\n {\r\n \"name\": \"monitorvm_OsDisk_1_72d928b2a0e2443c8f89e82a631cc917\",\r\n + [\r\n {\r\n \"name\": \"monitorvm_OsDisk_1_03d77946b58d4c63a96e17a93cfb1446\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2019-12-24T05:03:49.1358805+00:00\"\r\n + succeeded\",\r\n \"time\": \"2019-12-30T05:26:09.8885823+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"extensions\": [\r\n {\r\n \"name\": \"MicrosoftMonitoringAgent\",\r\n \"type\": \"Microsoft.EnterpriseCloud.Monitoring.MicrosoftMonitoringAgent\",\r\n \"typeHandlerVersion\": @@ -1944,7 +2030,7 @@ interactions: \ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\": \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2019-12-24T05:16:34.370687+00:00\"\r\n + succeeded\",\r\n \"time\": \"2019-12-30T05:38:47.3579759+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n \ }\r\n ]\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"name\": @@ -1953,17 +2039,17 @@ interactions: \"eastus\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"provisioningState\": \"Succeeded\",\r\n \"publisher\": \"Microsoft.EnterpriseCloud.Monitoring\",\r\n \"type\": \"MicrosoftMonitoringAgent\",\r\n - \ \"typeHandlerVersion\": \"1.0\",\r\n \"settings\": {\"workspaceId\":\"aa77f0b8-d651-423d-95f6-22d3e71e71a6\",\"stopOnMultipleConnections\":\"true\"}\r\n + \ \"typeHandlerVersion\": \"1.0\",\r\n \"settings\": {\"workspaceId\":\"473b101f-db84-4f72-bbd3-2d1a4b070a37\",\"stopOnMultipleConnections\":\"true\"}\r\n \ }\r\n }\r\n ]\r\n}" headers: cache-control: - no-cache content-length: - - '5121' + - '5122' content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:16:53 GMT + - Mon, 30 Dec 2019 05:39:34 GMT expires: - '-1' pragma: @@ -1980,7 +2066,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3995,Microsoft.Compute/LowCostGet30Min;31989 + - Microsoft.Compute/LowCostGet3Min;3991,Microsoft.Compute/LowCostGet30Min;31957 status: code: 200 message: OK @@ -1998,8 +2084,8 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -2007,12 +2093,12 @@ interactions: response: body: string: "{\r\n \"name\": \"monitorvmVMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic\",\r\n - \ \"etag\": \"W/\\\"53f41e11-f8be-4551-967a-6cee34cd9d3d\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"66b58e6b-5605-49df-b8fe-6734c214a6dd\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"85ab8329-d3d2-40a8-bb4b-e0b9cc469b3f\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"6af31d00-8de2-40d0-8014-69d05a3acaec\",\r\n \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigmonitorvm\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic/ipConfigurations/ipconfigmonitorvm\",\r\n - \ \"etag\": \"W/\\\"53f41e11-f8be-4551-967a-6cee34cd9d3d\\\"\",\r\n + \ \"etag\": \"W/\\\"66b58e6b-5605-49df-b8fe-6734c214a6dd\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -2021,8 +2107,8 @@ interactions: \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": - \"555uzwxzjojuvf1uhunrqik2ia.bx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-0D-3A-99-E5-CD\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \"smwi3cv23vievf2war2qltueqh.bx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-98-3B-7D\",\r\n \"enableAcceleratedNetworking\": false,\r\n \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": @@ -2036,9 +2122,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:16:54 GMT + - Mon, 30 Dec 2019 05:39:34 GMT etag: - - W/"53f41e11-f8be-4551-967a-6cee34cd9d3d" + - W/"66b58e6b-5605-49df-b8fe-6734c214a6dd" expires: - '-1' pragma: @@ -2055,7 +2141,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - dca444a9-b8b6-4215-9485-95a8a4e72fc8 + - 24397994-71e1-4ebb-8c26-acd1f5d3b00b status: code: 200 message: OK @@ -2073,8 +2159,8 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -2082,10 +2168,10 @@ interactions: response: body: string: "{\r\n \"name\": \"monitorvmPublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP\",\r\n - \ \"etag\": \"W/\\\"4e935423-afe4-4240-9a7d-17e1b5e77af6\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"5a6e957e-e53d-43d0-8f64-2294e350081c\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"72fc56eb-2209-4a67-982b-4c614b7edd83\",\r\n - \ \"ipAddress\": \"13.68.129.248\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"7999b12c-8df8-4b01-bc8c-efd27d1e7bcb\",\r\n + \ \"ipAddress\": \"23.96.61.245\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic/ipConfigurations/ipconfigmonitorvm\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n @@ -2094,13 +2180,13 @@ interactions: cache-control: - no-cache content-length: - - '1021' + - '1020' content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:16:55 GMT + - Mon, 30 Dec 2019 05:39:35 GMT etag: - - W/"4e935423-afe4-4240-9a7d-17e1b5e77af6" + - W/"5a6e957e-e53d-43d0-8f64-2294e350081c" expires: - '-1' pragma: @@ -2117,7 +2203,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 72baf1a7-e716-434e-9916-8e5c2634f994 + - 71bcd378-99e9-402f-883b-9c3b76913db4 status: code: 200 message: OK @@ -2140,15 +2226,15 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsEvent_19e0670c-ab3e-4dcf-97f8-08cf832d1d39?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsEvent_88888888-0000-0000-0000-000000000001?api-version=2015-11-01-preview response: body: - string: '{"kind":"WindowsEvent","properties":{"eventLogName":"System","eventTypes":[{"eventType":"Error"},{"eventType":"Warning"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsEvent_19e0670c-ab3e-4dcf-97f8-08cf832d1d39","etag":"W/\"datetime''2019-12-24T05%3A16%3A56.3084587Z''\"","name":"DataSource_WindowsEvent_19e0670c-ab3e-4dcf-97f8-08cf832d1d39","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + string: '{"kind":"WindowsEvent","properties":{"eventLogName":"System","eventTypes":[{"eventType":"Error"},{"eventType":"Warning"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsEvent_88888888-0000-0000-0000-000000000001","etag":"W/\"datetime''2019-12-30T05%3A39%3A36.7982183Z''\"","name":"DataSource_WindowsEvent_88888888-0000-0000-0000-000000000001","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -2157,7 +2243,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:16:56 GMT + - Mon, 30 Dec 2019 05:39:36 GMT expires: - '-1' pragma: @@ -2173,7 +2259,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' x-powered-by: - ASP.NET status: @@ -2199,16 +2285,16 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_d4406944-f20c-4b1c-8b95-9785f49a27c7?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000002?api-version=2015-11-01-preview response: body: string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Disk - Transfers/sec","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_d4406944-f20c-4b1c-8b95-9785f49a27c7","etag":"W/\"datetime''2019-12-24T05%3A16%3A57.1604932Z''\"","name":"DataSource_WindowsPerformanceCounter_d4406944-f20c-4b1c-8b95-9785f49a27c7","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Transfers/sec","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000002","etag":"W/\"datetime''2019-12-30T05%3A39%3A39.0865414Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000002","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -2217,7 +2303,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:16:57 GMT + - Mon, 30 Dec 2019 05:39:39 GMT expires: - '-1' pragma: @@ -2233,7 +2319,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1196' x-powered-by: - ASP.NET status: @@ -2259,16 +2345,16 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_bc148ab5-0426-4bc9-bff1-486d8062cc0c?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000003?api-version=2015-11-01-preview response: body: string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Disk - Reads/sec","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_bc148ab5-0426-4bc9-bff1-486d8062cc0c","etag":"W/\"datetime''2019-12-24T05%3A16%3A59.2188169Z''\"","name":"DataSource_WindowsPerformanceCounter_bc148ab5-0426-4bc9-bff1-486d8062cc0c","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Reads/sec","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000003","etag":"W/\"datetime''2019-12-30T05%3A39%3A41.2723098Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000003","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -2277,7 +2363,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:16:59 GMT + - Mon, 30 Dec 2019 05:39:41 GMT expires: - '-1' pragma: @@ -2293,7 +2379,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1196' x-powered-by: - ASP.NET status: @@ -2319,16 +2405,16 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_375862a0-72b0-41b5-b3c6-1abea5a531b3?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000004?api-version=2015-11-01-preview response: body: string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Bytes - Total/sec","instanceName":"*","intervalSeconds":10,"objectName":"Network Interface","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_375862a0-72b0-41b5-b3c6-1abea5a531b3","etag":"W/\"datetime''2019-12-24T05%3A17%3A00.1505287Z''\"","name":"DataSource_WindowsPerformanceCounter_375862a0-72b0-41b5-b3c6-1abea5a531b3","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Total/sec","instanceName":"*","intervalSeconds":10,"objectName":"Network Interface","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000004","etag":"W/\"datetime''2019-12-30T05%3A39%3A43.7646797Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000004","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -2337,7 +2423,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:17:00 GMT + - Mon, 30 Dec 2019 05:39:43 GMT expires: - '-1' pragma: @@ -2353,7 +2439,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET status: @@ -2379,16 +2465,16 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_2d841e17-2d05-4c2c-9894-b28502495ea3?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000005?api-version=2015-11-01-preview response: body: string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Available - MBytes","instanceName":"*","intervalSeconds":10,"objectName":"Memory","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_2d841e17-2d05-4c2c-9894-b28502495ea3","etag":"W/\"datetime''2019-12-24T05%3A17%3A02.5368722Z''\"","name":"DataSource_WindowsPerformanceCounter_2d841e17-2d05-4c2c-9894-b28502495ea3","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + MBytes","instanceName":"*","intervalSeconds":10,"objectName":"Memory","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000005","etag":"W/\"datetime''2019-12-30T05%3A39%3A44.8271941Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000005","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -2397,7 +2483,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:17:02 GMT + - Mon, 30 Dec 2019 05:39:44 GMT expires: - '-1' pragma: @@ -2413,7 +2499,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET status: @@ -2439,16 +2525,16 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_0ca1a415-cb40-4b13-8ba1-a799d207a68f?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000006?api-version=2015-11-01-preview response: body: string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"% - Free Space","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_0ca1a415-cb40-4b13-8ba1-a799d207a68f","etag":"W/\"datetime''2019-12-24T05%3A17%3A03.4639152Z''\"","name":"DataSource_WindowsPerformanceCounter_0ca1a415-cb40-4b13-8ba1-a799d207a68f","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Free Space","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000006","etag":"W/\"datetime''2019-12-30T05%3A39%3A45.8740996Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000006","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -2457,7 +2543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:17:03 GMT + - Mon, 30 Dec 2019 05:39:45 GMT expires: - '-1' pragma: @@ -2473,7 +2559,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' x-powered-by: - ASP.NET status: @@ -2499,16 +2585,16 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_f8e7b5a4-c99c-4ade-9fc2-db95d86d4074?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000007?api-version=2015-11-01-preview response: body: string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Avg. - Disk sec/Write","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_f8e7b5a4-c99c-4ade-9fc2-db95d86d4074","etag":"W/\"datetime''2019-12-24T05%3A17%3A04.4212992Z''\"","name":"DataSource_WindowsPerformanceCounter_f8e7b5a4-c99c-4ade-9fc2-db95d86d4074","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Disk sec/Write","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000007","etag":"W/\"datetime''2019-12-30T05%3A39%3A46.8922727Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000007","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -2517,7 +2603,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:17:03 GMT + - Mon, 30 Dec 2019 05:39:46 GMT expires: - '-1' pragma: @@ -2533,7 +2619,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' x-powered-by: - ASP.NET status: @@ -2559,17 +2645,17 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_f12dd928-d764-4359-a2ef-859497a95ed4?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000008?api-version=2015-11-01-preview response: body: string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Bytes Received/sec","instanceName":"*","intervalSeconds":10,"objectName":"Network - Adapter","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_f12dd928-d764-4359-a2ef-859497a95ed4","etag":"W/\"datetime''2019-12-24T05%3A17%3A05.3337111Z''\"","name":"DataSource_WindowsPerformanceCounter_f12dd928-d764-4359-a2ef-859497a95ed4","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Adapter","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000008","etag":"W/\"datetime''2019-12-30T05%3A39%3A47.9600391Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000008","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -2578,7 +2664,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:17:05 GMT + - Mon, 30 Dec 2019 05:39:48 GMT expires: - '-1' pragma: @@ -2594,7 +2680,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1196' x-powered-by: - ASP.NET status: @@ -2620,16 +2706,16 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_58462b38-b0d7-42fc-b448-eed8ef9adc8f?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000009?api-version=2015-11-01-preview response: body: string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Current - Disk Queue Length","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_58462b38-b0d7-42fc-b448-eed8ef9adc8f","etag":"W/\"datetime''2019-12-24T05%3A17%3A06.2441771Z''\"","name":"DataSource_WindowsPerformanceCounter_58462b38-b0d7-42fc-b448-eed8ef9adc8f","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Disk Queue Length","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000009","etag":"W/\"datetime''2019-12-30T05%3A39%3A48.9532121Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000009","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -2638,7 +2724,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:17:06 GMT + - Mon, 30 Dec 2019 05:39:48 GMT expires: - '-1' pragma: @@ -2654,7 +2740,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1195' x-powered-by: - ASP.NET status: @@ -2680,16 +2766,16 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_d2ca0b5d-f26c-4484-b548-dfe813340b98?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000a?api-version=2015-11-01-preview response: body: string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"% - Processor Time","instanceName":"_Total","intervalSeconds":10,"objectName":"Processor","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_d2ca0b5d-f26c-4484-b548-dfe813340b98","etag":"W/\"datetime''2019-12-24T05%3A17%3A07.1720009Z''\"","name":"DataSource_WindowsPerformanceCounter_d2ca0b5d-f26c-4484-b548-dfe813340b98","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Processor Time","instanceName":"_Total","intervalSeconds":10,"objectName":"Processor","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000a","etag":"W/\"datetime''2019-12-30T05%3A39%3A49.9662512Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000a","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -2698,7 +2784,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:17:06 GMT + - Mon, 30 Dec 2019 05:39:50 GMT expires: - '-1' pragma: @@ -2714,7 +2800,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' x-powered-by: - ASP.NET status: @@ -2740,16 +2826,16 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_d7de9899-47ad-41d8-8c5f-fc1b73eefd81?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000b?api-version=2015-11-01-preview response: body: string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Free - Megabytes","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_d7de9899-47ad-41d8-8c5f-fc1b73eefd81","etag":"W/\"datetime''2019-12-24T05%3A17%3A09.4469863Z''\"","name":"DataSource_WindowsPerformanceCounter_d7de9899-47ad-41d8-8c5f-fc1b73eefd81","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Megabytes","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000b","etag":"W/\"datetime''2019-12-30T05%3A39%3A51.0369917Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000b","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -2758,7 +2844,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:17:09 GMT + - Mon, 30 Dec 2019 05:39:51 GMT expires: - '-1' pragma: @@ -2774,7 +2860,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1196' x-powered-by: - ASP.NET status: @@ -2800,16 +2886,16 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_2b5548fb-c02d-49f0-b798-d0feeb8672f1?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000c?api-version=2015-11-01-preview response: body: string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Avg. - Disk sec/Read","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_2b5548fb-c02d-49f0-b798-d0feeb8672f1","etag":"W/\"datetime''2019-12-24T05%3A17%3A10.5373266Z''\"","name":"DataSource_WindowsPerformanceCounter_2b5548fb-c02d-49f0-b798-d0feeb8672f1","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Disk sec/Read","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000c","etag":"W/\"datetime''2019-12-30T05%3A39%3A52.0070527Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000c","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -2818,7 +2904,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:17:10 GMT + - Mon, 30 Dec 2019 05:39:52 GMT expires: - '-1' pragma: @@ -2834,7 +2920,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET status: @@ -2860,16 +2946,16 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_acc8fce2-2487-47eb-857b-b9f88cb4e54b?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000d?api-version=2015-11-01-preview response: body: string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Bytes - Sent/sec","instanceName":"*","intervalSeconds":10,"objectName":"Network Adapter","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_acc8fce2-2487-47eb-857b-b9f88cb4e54b","etag":"W/\"datetime''2019-12-24T05%3A17%3A11.5248300Z''\"","name":"DataSource_WindowsPerformanceCounter_acc8fce2-2487-47eb-857b-b9f88cb4e54b","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Sent/sec","instanceName":"*","intervalSeconds":10,"objectName":"Network Adapter","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000d","etag":"W/\"datetime''2019-12-30T05%3A39%3A52.9378314Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000d","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -2878,7 +2964,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:17:11 GMT + - Mon, 30 Dec 2019 05:39:52 GMT expires: - '-1' pragma: @@ -2894,7 +2980,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1195' x-powered-by: - ASP.NET status: @@ -2920,16 +3006,16 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_0c720551-c73d-402c-ba8d-4632405e43ab?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000e?api-version=2015-11-01-preview response: body: string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"% - Committed Bytes In Use","instanceName":"*","intervalSeconds":10,"objectName":"Memory","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_0c720551-c73d-402c-ba8d-4632405e43ab","etag":"W/\"datetime''2019-12-24T05%3A17%3A13.5861058Z''\"","name":"DataSource_WindowsPerformanceCounter_0c720551-c73d-402c-ba8d-4632405e43ab","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Committed Bytes In Use","instanceName":"*","intervalSeconds":10,"objectName":"Memory","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000e","etag":"W/\"datetime''2019-12-30T05%3A39%3A53.9487569Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000e","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -2938,7 +3024,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:17:13 GMT + - Mon, 30 Dec 2019 05:39:53 GMT expires: - '-1' pragma: @@ -2980,16 +3066,16 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_8e8c712e-385c-475f-b7fd-21b93fa47ac4?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000f?api-version=2015-11-01-preview response: body: string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Disk - Writes/sec","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_8e8c712e-385c-475f-b7fd-21b93fa47ac4","etag":"W/\"datetime''2019-12-24T05%3A17%3A14.6322052Z''\"","name":"DataSource_WindowsPerformanceCounter_8e8c712e-385c-475f-b7fd-21b93fa47ac4","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Writes/sec","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000f","etag":"W/\"datetime''2019-12-30T05%3A39%3A54.9038793Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000f","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -2998,7 +3084,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:17:14 GMT + - Mon, 30 Dec 2019 05:39:54 GMT expires: - '-1' pragma: @@ -3014,7 +3100,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' x-powered-by: - ASP.NET status: @@ -3040,16 +3126,16 @@ interactions: ParameterSetName: - -n -g --image --workspace --admin-password User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_c6dbb7f4-ee45-47ff-ad64-14405bc84b9d?api-version=2015-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/dataSources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000010?api-version=2015-11-01-preview response: body: string: '{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Processor - Queue Length","instanceName":"*","intervalSeconds":10,"objectName":"System","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_c6dbb7f4-ee45-47ff-ad64-14405bc84b9d","etag":"W/\"datetime''2019-12-24T05%3A17%3A16.9438404Z''\"","name":"DataSource_WindowsPerformanceCounter_c6dbb7f4-ee45-47ff-ad64-14405bc84b9d","type":"Microsoft.OperationalInsights/workspaces/datasources"}' + Queue Length","instanceName":"*","intervalSeconds":10,"objectName":"System","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000010","etag":"W/\"datetime''2019-12-30T05%3A39%3A55.9097139Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000010","type":"Microsoft.OperationalInsights/workspaces/datasources"}' headers: cache-control: - no-cache @@ -3058,7 +3144,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:17:16 GMT + - Mon, 30 Dec 2019 05:39:55 GMT expires: - '-1' pragma: @@ -3074,7 +3160,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET status: @@ -3096,8 +3182,8 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-loganalytics/0.2.0 Azure-SDK-For-Python AZURECLI/2.0.78 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-loganalytics/0.2.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -3105,13 +3191,13 @@ interactions: response: body: string: "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": - \"aa77f0b8-d651-423d-95f6-22d3e71e71a6\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"473b101f-db84-4f72-bbd3-2d1a4b070a37\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"sku\": {\r\n \"name\": \"pergb2018\",\r\n \"lastSkuUpdate\": - \"Tue, 24 Dec 2019 05:00:21 GMT\"\r\n },\r\n \"retentionInDays\": 30,\r\n + \"Mon, 30 Dec 2019 05:22:01 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, 24 Dec 2019 07:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n + \"Mon, 30 Dec 2019 19:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n \ }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002\",\r\n \ \"name\": \"cliworkspace000002\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \ \"location\": \"eastus\"\r\n}" @@ -3123,7 +3209,7 @@ interactions: content-type: - application/json date: - - Tue, 24 Dec 2019 05:17:18 GMT + - Mon, 30 Dec 2019 05:39:57 GMT pragma: - no-cache server: @@ -3162,7 +3248,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_create_with_workspace_windows000001/providers/microsoft.operationalinsights/workspaces/cliworkspace000002/dataSources?$filter=kind%20eq%20'WindowsEvent'&api-version=2015-11-01-preview response: body: - string: '{"value":[{"kind":"WindowsEvent","properties":{"eventLogName":"System","eventTypes":[{"eventType":"Error"},{"eventType":"Warning"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsEvent_19e0670c-ab3e-4dcf-97f8-08cf832d1d39","etag":"W/\"datetime''2019-12-24T05%3A16%3A56.3084587Z''\"","name":"DataSource_WindowsEvent_19e0670c-ab3e-4dcf-97f8-08cf832d1d39","type":"Microsoft.OperationalInsights/workspaces/datasources"}]}' + string: '{"value":[{"kind":"WindowsEvent","properties":{"eventLogName":"System","eventTypes":[{"eventType":"Error"},{"eventType":"Warning"}]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsEvent_88888888-0000-0000-0000-000000000001","etag":"W/\"datetime''2019-12-30T05%3A39%3A36.7982183Z''\"","name":"DataSource_WindowsEvent_88888888-0000-0000-0000-000000000001","type":"Microsoft.OperationalInsights/workspaces/datasources"}]}' headers: cache-control: - no-cache @@ -3171,7 +3257,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:17:19 GMT + - Mon, 30 Dec 2019 05:39:58 GMT expires: - '-1' pragma: @@ -3211,22 +3297,22 @@ interactions: response: body: string: '{"value":[{"kind":"WindowsPerformanceCounter","properties":{"counterName":"% - Committed Bytes In Use","instanceName":"*","intervalSeconds":10,"objectName":"Memory","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_0c720551-c73d-402c-ba8d-4632405e43ab","etag":"W/\"datetime''2019-12-24T05%3A17%3A13.5861058Z''\"","name":"DataSource_WindowsPerformanceCounter_0c720551-c73d-402c-ba8d-4632405e43ab","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"% - Free Space","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_0ca1a415-cb40-4b13-8ba1-a799d207a68f","etag":"W/\"datetime''2019-12-24T05%3A17%3A03.4639152Z''\"","name":"DataSource_WindowsPerformanceCounter_0ca1a415-cb40-4b13-8ba1-a799d207a68f","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Avg. - Disk sec/Read","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_2b5548fb-c02d-49f0-b798-d0feeb8672f1","etag":"W/\"datetime''2019-12-24T05%3A17%3A10.5373266Z''\"","name":"DataSource_WindowsPerformanceCounter_2b5548fb-c02d-49f0-b798-d0feeb8672f1","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Available - MBytes","instanceName":"*","intervalSeconds":10,"objectName":"Memory","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_2d841e17-2d05-4c2c-9894-b28502495ea3","etag":"W/\"datetime''2019-12-24T05%3A17%3A02.5368722Z''\"","name":"DataSource_WindowsPerformanceCounter_2d841e17-2d05-4c2c-9894-b28502495ea3","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Bytes - Total/sec","instanceName":"*","intervalSeconds":10,"objectName":"Network Interface","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_375862a0-72b0-41b5-b3c6-1abea5a531b3","etag":"W/\"datetime''2019-12-24T05%3A17%3A00.1505287Z''\"","name":"DataSource_WindowsPerformanceCounter_375862a0-72b0-41b5-b3c6-1abea5a531b3","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Current - Disk Queue Length","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_58462b38-b0d7-42fc-b448-eed8ef9adc8f","etag":"W/\"datetime''2019-12-24T05%3A17%3A06.2441771Z''\"","name":"DataSource_WindowsPerformanceCounter_58462b38-b0d7-42fc-b448-eed8ef9adc8f","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Disk - Writes/sec","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_8e8c712e-385c-475f-b7fd-21b93fa47ac4","etag":"W/\"datetime''2019-12-24T05%3A17%3A14.6322052Z''\"","name":"DataSource_WindowsPerformanceCounter_8e8c712e-385c-475f-b7fd-21b93fa47ac4","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Bytes - Sent/sec","instanceName":"*","intervalSeconds":10,"objectName":"Network Adapter","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_acc8fce2-2487-47eb-857b-b9f88cb4e54b","etag":"W/\"datetime''2019-12-24T05%3A17%3A11.5248300Z''\"","name":"DataSource_WindowsPerformanceCounter_acc8fce2-2487-47eb-857b-b9f88cb4e54b","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Disk - Reads/sec","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_bc148ab5-0426-4bc9-bff1-486d8062cc0c","etag":"W/\"datetime''2019-12-24T05%3A16%3A59.2188169Z''\"","name":"DataSource_WindowsPerformanceCounter_bc148ab5-0426-4bc9-bff1-486d8062cc0c","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Processor - Queue Length","instanceName":"*","intervalSeconds":10,"objectName":"System","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_c6dbb7f4-ee45-47ff-ad64-14405bc84b9d","etag":"W/\"datetime''2019-12-24T05%3A17%3A16.9438404Z''\"","name":"DataSource_WindowsPerformanceCounter_c6dbb7f4-ee45-47ff-ad64-14405bc84b9d","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"% - Processor Time","instanceName":"_Total","intervalSeconds":10,"objectName":"Processor","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_d2ca0b5d-f26c-4484-b548-dfe813340b98","etag":"W/\"datetime''2019-12-24T05%3A17%3A07.1720009Z''\"","name":"DataSource_WindowsPerformanceCounter_d2ca0b5d-f26c-4484-b548-dfe813340b98","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Disk - Transfers/sec","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_d4406944-f20c-4b1c-8b95-9785f49a27c7","etag":"W/\"datetime''2019-12-24T05%3A16%3A57.1604932Z''\"","name":"DataSource_WindowsPerformanceCounter_d4406944-f20c-4b1c-8b95-9785f49a27c7","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Free - Megabytes","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_d7de9899-47ad-41d8-8c5f-fc1b73eefd81","etag":"W/\"datetime''2019-12-24T05%3A17%3A09.4469863Z''\"","name":"DataSource_WindowsPerformanceCounter_d7de9899-47ad-41d8-8c5f-fc1b73eefd81","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Bytes + Processor Time","instanceName":"_Total","intervalSeconds":10,"objectName":"Processor","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000a","etag":"W/\"datetime''2019-12-30T05%3A39%3A49.9662512Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000a","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Disk + Transfers/sec","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000002","etag":"W/\"datetime''2019-12-30T05%3A39%3A39.0865414Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000002","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Available + MBytes","instanceName":"*","intervalSeconds":10,"objectName":"Memory","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000005","etag":"W/\"datetime''2019-12-30T05%3A39%3A44.8271941Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000005","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"% + Free Space","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000006","etag":"W/\"datetime''2019-12-30T05%3A39%3A45.8740996Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000006","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"% + Committed Bytes In Use","instanceName":"*","intervalSeconds":10,"objectName":"Memory","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000e","etag":"W/\"datetime''2019-12-30T05%3A39%3A53.9487569Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000e","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Processor + Queue Length","instanceName":"*","intervalSeconds":10,"objectName":"System","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000010","etag":"W/\"datetime''2019-12-30T05%3A39%3A55.9097139Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000010","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Avg. + Disk sec/Write","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000007","etag":"W/\"datetime''2019-12-30T05%3A39%3A46.8922727Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000007","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Avg. + Disk sec/Read","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000c","etag":"W/\"datetime''2019-12-30T05%3A39%3A52.0070527Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000c","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Disk + Reads/sec","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000003","etag":"W/\"datetime''2019-12-30T05%3A39%3A41.2723098Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000003","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Free + Megabytes","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000b","etag":"W/\"datetime''2019-12-30T05%3A39%3A51.0369917Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000b","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Current + Disk Queue Length","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000009","etag":"W/\"datetime''2019-12-30T05%3A39%3A48.9532121Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000009","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Bytes + Sent/sec","instanceName":"*","intervalSeconds":10,"objectName":"Network Adapter","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000d","etag":"W/\"datetime''2019-12-30T05%3A39%3A52.9378314Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000d","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Bytes Received/sec","instanceName":"*","intervalSeconds":10,"objectName":"Network - Adapter","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_f12dd928-d764-4359-a2ef-859497a95ed4","etag":"W/\"datetime''2019-12-24T05%3A17%3A05.3337111Z''\"","name":"DataSource_WindowsPerformanceCounter_f12dd928-d764-4359-a2ef-859497a95ed4","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Avg. - Disk sec/Write","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_f8e7b5a4-c99c-4ade-9fc2-db95d86d4074","etag":"W/\"datetime''2019-12-24T05%3A17%3A04.4212992Z''\"","name":"DataSource_WindowsPerformanceCounter_f8e7b5a4-c99c-4ade-9fc2-db95d86d4074","type":"Microsoft.OperationalInsights/workspaces/datasources"}]}' + Adapter","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000008","etag":"W/\"datetime''2019-12-30T05%3A39%3A47.9600391Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000008","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Bytes + Total/sec","instanceName":"*","intervalSeconds":10,"objectName":"Network Interface","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000004","etag":"W/\"datetime''2019-12-30T05%3A39%3A43.7646797Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-000000000004","type":"Microsoft.OperationalInsights/workspaces/datasources"},{"kind":"WindowsPerformanceCounter","properties":{"counterName":"Disk + Writes/sec","instanceName":"*","intervalSeconds":10,"objectName":"LogicalDisk","collectorType":"Default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_create_with_workspace_windows000001/providers/Microsoft.OperationalInsights/workspaces/cliworkspace000002/datasources/DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000f","etag":"W/\"datetime''2019-12-30T05%3A39%3A54.9038793Z''\"","name":"DataSource_WindowsPerformanceCounter_88888888-0000-0000-0000-00000000000f","type":"Microsoft.OperationalInsights/workspaces/datasources"}]}' headers: cache-control: - no-cache @@ -3235,7 +3321,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 24 Dec 2019 05:17:20 GMT + - Mon, 30 Dec 2019 05:39:59 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_metric_tail.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_metric_tail.yaml index 1b2b304939d..5d24e49e98d 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_metric_tail.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_metric_tail.yaml @@ -13,15 +13,15 @@ interactions: ParameterSetName: - -n -g --image User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001","name":"cli_test_vm_metric_tail000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2019-12-11T02:57:45Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001","name":"cli_test_vm_metric_tail000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2019-12-30T04:22:11Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 Dec 2019 02:57:50 GMT + - Mon, 30 Dec 2019 04:22:18 GMT expires: - '-1' pragma: @@ -109,13 +109,13 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Wed, 11 Dec 2019 02:57:51 GMT + - Mon, 30 Dec 2019 04:22:20 GMT etag: - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" expires: - - Wed, 11 Dec 2019 03:02:51 GMT + - Mon, 30 Dec 2019 04:27:20 GMT source-age: - - '181' + - '0' strict-transport-security: - max-age=31536000 vary: @@ -123,23 +123,23 @@ interactions: via: - 1.1 varnish x-cache: - - HIT + - MISS x-cache-hits: - - '1' + - '0' x-content-type-options: - nosniff x-fastly-request-id: - - b545a897dc1ccd30205eaf119ed1a04ab63f39c9 + - 0f73e45703e127102610a8e3cc5fa485a0f40eb4 x-frame-options: - deny x-geo-block-list: - '' x-github-request-id: - - FB8C:368B:394F02:3F0E39:5DF05A7B + - 7BDC:5CF7:235A70:27778D:5E097B7B x-served-by: - - cache-sin18024-SIN + - cache-sin18021-SIN x-timer: - - S1576033072.998315,VS0,VE1 + - S1577679740.890685,VS0,VE239 x-xss-protection: - 1; mode=block status: @@ -159,8 +159,8 @@ interactions: ParameterSetName: - -n -g --image User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -176,7 +176,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 Dec 2019 02:57:52 GMT + - Mon, 30 Dec 2019 04:22:19 GMT expires: - '-1' pragma: @@ -240,18 +240,18 @@ interactions: ParameterSetName: - -n -g --image User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/vm_deploy_xSYs16vjMYMoKwfkziFsIInrNa87ITvX","name":"vm_deploy_xSYs16vjMYMoKwfkziFsIInrNa87ITvX","type":"Microsoft.Resources/deployments","properties":{"templateHash":"2915267496033042507","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-12-11T02:57:57.3165405Z","duration":"PT3.1641627S","correlationId":"a869293d-7a82-4178-ae0b-cf0edd8365e2","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"monitorvmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"monitorvmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/vm_deploy_rSLAjF5bzEFM2j6I0FmaTuiAZKOvTZIa","name":"vm_deploy_rSLAjF5bzEFM2j6I0FmaTuiAZKOvTZIa","type":"Microsoft.Resources/deployments","properties":{"templateHash":"7894436756002593472","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-12-30T04:22:25.5663508Z","duration":"PT3.2687423S","correlationId":"c609d13c-b1fb-4ae9-b1b4-d244375ca4d4","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"monitorvmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"monitorvmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/vm_deploy_xSYs16vjMYMoKwfkziFsIInrNa87ITvX/operationStatuses/08586255738113252481?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/vm_deploy_rSLAjF5bzEFM2j6I0FmaTuiAZKOvTZIa/operationStatuses/08586239271431800177?api-version=2019-07-01 cache-control: - no-cache content-length: @@ -259,7 +259,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 Dec 2019 02:57:58 GMT + - Mon, 30 Dec 2019 04:22:26 GMT expires: - '-1' pragma: @@ -269,7 +269,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -287,483 +287,10 @@ interactions: ParameterSetName: - -n -g --image User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586255738113252481?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 11 Dec 2019 02:58:28 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: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -n -g --image - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586255738113252481?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 11 Dec 2019 02:58:59 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: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -n -g --image - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586255738113252481?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 11 Dec 2019 02:59:30 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: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -n -g --image - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586255738113252481?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 11 Dec 2019 03:00:00 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: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -n -g --image - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586255738113252481?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 11 Dec 2019 03:00:31 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: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -n -g --image - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586255738113252481?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 11 Dec 2019 03:01:01 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: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -n -g --image - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586255738113252481?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 11 Dec 2019 03:01:32 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: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -n -g --image - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586255738113252481?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 11 Dec 2019 03:02:02 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: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -n -g --image - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586255738113252481?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 11 Dec 2019 03:02:33 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: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -n -g --image - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586255738113252481?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 11 Dec 2019 03:03:04 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: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -n -g --image - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586255738113252481?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 11 Dec 2019 03:03:34 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: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -n -g --image - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586255738113252481?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239271431800177?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -775,7 +302,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 Dec 2019 03:04:06 GMT + - Mon, 30 Dec 2019 04:22:59 GMT expires: - '-1' pragma: @@ -803,10 +330,10 @@ interactions: ParameterSetName: - -n -g --image User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586255738113252481?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239271431800177?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -818,7 +345,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 Dec 2019 03:04:36 GMT + - Mon, 30 Dec 2019 04:23:29 GMT expires: - '-1' pragma: @@ -846,10 +373,10 @@ interactions: ParameterSetName: - -n -g --image User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586255738113252481?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239271431800177?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -861,7 +388,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 Dec 2019 03:05:06 GMT + - Mon, 30 Dec 2019 04:24:00 GMT expires: - '-1' pragma: @@ -889,10 +416,10 @@ interactions: ParameterSetName: - -n -g --image User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586255738113252481?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586239271431800177?api-version=2019-07-01 response: body: string: '{"status":"Succeeded"}' @@ -904,7 +431,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 Dec 2019 03:05:37 GMT + - Mon, 30 Dec 2019 04:24:30 GMT expires: - '-1' pragma: @@ -932,13 +459,13 @@ interactions: ParameterSetName: - -n -g --image User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/vm_deploy_xSYs16vjMYMoKwfkziFsIInrNa87ITvX","name":"vm_deploy_xSYs16vjMYMoKwfkziFsIInrNa87ITvX","type":"Microsoft.Resources/deployments","properties":{"templateHash":"2915267496033042507","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-12-11T03:05:31.9769321Z","duration":"PT7M37.8245543S","correlationId":"a869293d-7a82-4178-ae0b-cf0edd8365e2","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"monitorvmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"monitorvmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Compute/virtualMachines/monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Resources/deployments/vm_deploy_rSLAjF5bzEFM2j6I0FmaTuiAZKOvTZIa","name":"vm_deploy_rSLAjF5bzEFM2j6I0FmaTuiAZKOvTZIa","type":"Microsoft.Resources/deployments","properties":{"templateHash":"7894436756002593472","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-12-30T04:24:16.0111982Z","duration":"PT1M53.7135897S","correlationId":"c609d13c-b1fb-4ae9-b1b4-d244375ca4d4","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"monitorvmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"monitorvmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"monitorvmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Compute/virtualMachines/monitorvm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"monitorvm"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Compute/virtualMachines/monitorvm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/virtualNetworks/monitorvmVNET"}]}}' headers: cache-control: - no-cache @@ -947,7 +474,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 Dec 2019 03:05:38 GMT + - Mon, 30 Dec 2019 04:24:31 GMT expires: - '-1' pragma: @@ -975,8 +502,8 @@ interactions: ParameterSetName: - -n -g --image User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-compute/10.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -985,16 +512,16 @@ interactions: body: string: "{\r\n \"name\": \"monitorvm\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Compute/virtualMachines/monitorvm\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"4fb23541-b6d1-482b-b49f-638a615ecccf\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"b160f676-0980-4859-acb0-14cc48aad308\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": - \"18.04.201912050\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"monitorvm_disk1_a8e646ffd0494318870dd540572c67c7\",\r\n + \"18.04.201912180\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": + \"Linux\",\r\n \"name\": \"monitorvm_disk1_8b213e96b115413a85014b64b2470bca\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Compute/disks/monitorvm_disk1_a8e646ffd0494318870dd540572c67c7\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Compute/disks/monitorvm_disk1_8b213e96b115413a85014b64b2470bca\"\r\n \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"monitorvm\",\r\n \ \"adminUsername\": \"fanqiu\",\r\n \"linuxConfiguration\": {\r\n @@ -1011,15 +538,15 @@ interactions: [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2019-12-11T03:05:40+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"monitorvm_disk1_a8e646ffd0494318870dd540572c67c7\",\r\n + \"2019-12-30T04:24:29+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"monitorvm_disk1_8b213e96b115413a85014b64b2470bca\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2019-12-11T03:04:01.8225241+00:00\"\r\n + succeeded\",\r\n \"time\": \"2019-12-30T04:23:56.1008924+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\": \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2019-12-11T03:04:45.3069294+00:00\"\r\n + succeeded\",\r\n \"time\": \"2019-12-30T04:24:11.3040532+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n \ }\r\n ]\r\n }\r\n }\r\n}" @@ -1031,7 +558,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 Dec 2019 03:05:40 GMT + - Mon, 30 Dec 2019 04:24:31 GMT expires: - '-1' pragma: @@ -1048,7 +575,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31989 + - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31991 status: code: 200 message: OK @@ -1066,8 +593,8 @@ interactions: ParameterSetName: - -n -g --image User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -1075,12 +602,12 @@ interactions: response: body: string: "{\r\n \"name\": \"monitorvmVMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic\",\r\n - \ \"etag\": \"W/\\\"aeba1dc6-6c6b-417f-b774-e6c545ad95f7\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"7d1331fe-f6dc-45f0-812f-1076e04e538a\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"9dd07602-5672-4025-9c0b-5fbe1c1417e0\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"98df080e-55b3-4f91-af37-879bdad5d0b1\",\r\n \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigmonitorvm\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic/ipConfigurations/ipconfigmonitorvm\",\r\n - \ \"etag\": \"W/\\\"aeba1dc6-6c6b-417f-b774-e6c545ad95f7\\\"\",\r\n + \ \"etag\": \"W/\\\"7d1331fe-f6dc-45f0-812f-1076e04e538a\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -1089,8 +616,8 @@ interactions: \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": - \"adpvb2hjb1yuhf1t0cintomtnc.bx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-0D-3A-8B-2A-CD\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \"rwanawskzypebb2mbfxse1mtyb.bx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-8E-87-EA\",\r\n \"enableAcceleratedNetworking\": false,\r\n \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/networkSecurityGroups/monitorvmNSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": @@ -1104,9 +631,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 Dec 2019 03:05:40 GMT + - Mon, 30 Dec 2019 04:24:32 GMT etag: - - W/"aeba1dc6-6c6b-417f-b774-e6c545ad95f7" + - W/"7d1331fe-f6dc-45f0-812f-1076e04e538a" expires: - '-1' pragma: @@ -1123,7 +650,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2127c07d-5b61-4ee7-a4e0-c91b97849d05 + - 6c4a4db0-f786-4304-b4a2-d561c0d7c953 status: code: 200 message: OK @@ -1141,8 +668,8 @@ interactions: ParameterSetName: - -n -g --image User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -1150,10 +677,10 @@ interactions: response: body: string: "{\r\n \"name\": \"monitorvmPublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/publicIPAddresses/monitorvmPublicIP\",\r\n - \ \"etag\": \"W/\\\"4a730177-f292-4b5d-b8f0-41f41baa68af\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"7b41e0b2-7abe-4dfa-af5b-2a993fb4df65\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"9bd7cb9a-2ed4-493f-9d99-6189a27c3813\",\r\n - \ \"ipAddress\": \"40.71.168.240\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"1a4afc96-c5d8-4184-aa47-369aa7376af6\",\r\n + \ \"ipAddress\": \"52.168.52.0\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Network/networkInterfaces/monitorvmVMNic/ipConfigurations/ipconfigmonitorvm\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n @@ -1162,13 +689,13 @@ interactions: cache-control: - no-cache content-length: - - '1021' + - '1019' content-type: - application/json; charset=utf-8 date: - - Wed, 11 Dec 2019 03:05:40 GMT + - Mon, 30 Dec 2019 04:24:32 GMT etag: - - W/"4a730177-f292-4b5d-b8f0-41f41baa68af" + - W/"7b41e0b2-7abe-4dfa-af5b-2a993fb4df65" expires: - '-1' pragma: @@ -1185,7 +712,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 25a6f69d-2376-4054-b22a-45274fe3ee5c + - 5bdc4460-f9f6-44f7-a4d0-95e9a190c369 status: code: 200 message: OK @@ -1205,8 +732,8 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-compute/10.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: POST @@ -1216,17 +743,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/5ba8c2b5-dde7-438f-bd14-bf9d92308bb1?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/74ada4de-d193-44f4-ad63-2b58201d87f1?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 11 Dec 2019 03:05:42 GMT + - Mon, 30 Dec 2019 04:24:33 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/5ba8c2b5-dde7-438f-bd14-bf9d92308bb1?monitor=true&api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/74ada4de-d193-44f4-ad63-2b58201d87f1?monitor=true&api-version=2019-07-01 pragma: - no-cache server: @@ -1237,7 +764,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/UpdateVM3Min;239,Microsoft.Compute/UpdateVM30Min;1198 + - Microsoft.Compute/UpdateVM3Min;239,Microsoft.Compute/UpdateVM30Min;1199 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -1257,24 +784,24 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.77 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-compute/10.0.0 + Azure-SDK-For-Python AZURECLI/2.0.78 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/5ba8c2b5-dde7-438f-bd14-bf9d92308bb1?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/74ada4de-d193-44f4-ad63-2b58201d87f1?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2019-12-11T03:05:42.619413+00:00\",\r\n \"endTime\": - \"2019-12-11T03:05:42.6975401+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"5ba8c2b5-dde7-438f-bd14-bf9d92308bb1\"\r\n}" + string: "{\r\n \"startTime\": \"2019-12-30T04:24:34.5071547+00:00\",\r\n \"endTime\": + \"2019-12-30T04:24:34.6009488+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"74ada4de-d193-44f4-ad63-2b58201d87f1\"\r\n}" headers: cache-control: - no-cache content-length: - - '183' + - '184' content-type: - application/json; charset=utf-8 date: - - Wed, 11 Dec 2019 03:05:52 GMT + - Mon, 30 Dec 2019 04:24:44 GMT expires: - '-1' pragma: @@ -1291,7 +818,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14997,Microsoft.Compute/GetOperation30Min;29988 + - Microsoft.Compute/GetOperation3Min;14997,Microsoft.Compute/GetOperation30Min;29997 status: code: 200 message: OK @@ -1309,27 +836,27 @@ interactions: ParameterSetName: - -n -g --metrics User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-monitor/0.7.0 Azure-SDK-For-Python AZURECLI/2.0.77 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-monitor/0.7.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Compute/virtualMachines/monitorvm/providers/microsoft.insights/metrics?timespan=0000-00-00&interval=PT1M&metricnames=Percentage%20CPU&top=10&api-version=2018-01-01 response: body: - string: '{"cost":0,"timespan":"2019-12-11T02:06:54Z/2019-12-11T03:06:54Z","interval":"PT1M","value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Compute/virtualMachines/monitorvm/providers/Microsoft.Insights/metrics/Percentage + string: '{"cost":0,"timespan":"2019-12-30T03:25:46Z/2019-12-30T04:25:46Z","interval":"PT1M","value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_metric_tail000001/providers/Microsoft.Compute/virtualMachines/monitorvm/providers/Microsoft.Insights/metrics/Percentage CPU","type":"Microsoft.Insights/metrics","name":{"value":"Percentage CPU","localizedValue":"Percentage CPU"},"displayDescription":"The percentage of allocated compute units that - are currently in use by the Virtual Machine(s)","unit":"Percent","timeseries":[{"metadatavalues":[],"data":[{"timeStamp":"2019-12-11T02:06:00Z"},{"timeStamp":"2019-12-11T02:07:00Z"},{"timeStamp":"2019-12-11T02:08:00Z"},{"timeStamp":"2019-12-11T02:09:00Z"},{"timeStamp":"2019-12-11T02:10:00Z"},{"timeStamp":"2019-12-11T02:11:00Z"},{"timeStamp":"2019-12-11T02:12:00Z"},{"timeStamp":"2019-12-11T02:13:00Z"},{"timeStamp":"2019-12-11T02:14:00Z"},{"timeStamp":"2019-12-11T02:15:00Z"},{"timeStamp":"2019-12-11T02:16:00Z"},{"timeStamp":"2019-12-11T02:17:00Z"},{"timeStamp":"2019-12-11T02:18:00Z"},{"timeStamp":"2019-12-11T02:19:00Z"},{"timeStamp":"2019-12-11T02:20:00Z"},{"timeStamp":"2019-12-11T02:21:00Z"},{"timeStamp":"2019-12-11T02:22:00Z"},{"timeStamp":"2019-12-11T02:23:00Z"},{"timeStamp":"2019-12-11T02:24:00Z"},{"timeStamp":"2019-12-11T02:25:00Z"},{"timeStamp":"2019-12-11T02:26:00Z"},{"timeStamp":"2019-12-11T02:27:00Z"},{"timeStamp":"2019-12-11T02:28:00Z"},{"timeStamp":"2019-12-11T02:29:00Z"},{"timeStamp":"2019-12-11T02:30:00Z"},{"timeStamp":"2019-12-11T02:31:00Z"},{"timeStamp":"2019-12-11T02:32:00Z"},{"timeStamp":"2019-12-11T02:33:00Z"},{"timeStamp":"2019-12-11T02:34:00Z"},{"timeStamp":"2019-12-11T02:35:00Z"},{"timeStamp":"2019-12-11T02:36:00Z"},{"timeStamp":"2019-12-11T02:37:00Z"},{"timeStamp":"2019-12-11T02:38:00Z"},{"timeStamp":"2019-12-11T02:39:00Z"},{"timeStamp":"2019-12-11T02:40:00Z"},{"timeStamp":"2019-12-11T02:41:00Z"},{"timeStamp":"2019-12-11T02:42:00Z"},{"timeStamp":"2019-12-11T02:43:00Z"},{"timeStamp":"2019-12-11T02:44:00Z"},{"timeStamp":"2019-12-11T02:45:00Z"},{"timeStamp":"2019-12-11T02:46:00Z"},{"timeStamp":"2019-12-11T02:47:00Z"},{"timeStamp":"2019-12-11T02:48:00Z"},{"timeStamp":"2019-12-11T02:49:00Z"},{"timeStamp":"2019-12-11T02:50:00Z"},{"timeStamp":"2019-12-11T02:51:00Z","average":0.065},{"timeStamp":"2019-12-11T02:52:00Z","average":0.065},{"timeStamp":"2019-12-11T02:53:00Z","average":0.07},{"timeStamp":"2019-12-11T02:54:00Z","average":0.065},{"timeStamp":"2019-12-11T02:55:00Z","average":0.065},{"timeStamp":"2019-12-11T02:56:00Z","average":0.06},{"timeStamp":"2019-12-11T02:57:00Z","average":0.06},{"timeStamp":"2019-12-11T02:58:00Z","average":0.065},{"timeStamp":"2019-12-11T02:59:00Z","average":0.065},{"timeStamp":"2019-12-11T03:00:00Z","average":0.06},{"timeStamp":"2019-12-11T03:01:00Z","average":0.07},{"timeStamp":"2019-12-11T03:02:00Z","average":0.065},{"timeStamp":"2019-12-11T03:03:00Z","average":0.065},{"timeStamp":"2019-12-11T03:04:00Z","average":0.065},{"timeStamp":"2019-12-11T03:05:00Z","average":2.635}]}],"errorCode":"Success"}],"namespace":"Microsoft.Compute/virtualMachines","resourceregion":"eastus"}' + are currently in use by the Virtual Machine(s)","unit":"Percent","timeseries":[{"metadatavalues":[],"data":[{"timeStamp":"2019-12-30T03:25:00Z"},{"timeStamp":"2019-12-30T03:26:00Z"},{"timeStamp":"2019-12-30T03:27:00Z"},{"timeStamp":"2019-12-30T03:28:00Z"},{"timeStamp":"2019-12-30T03:29:00Z"},{"timeStamp":"2019-12-30T03:30:00Z"},{"timeStamp":"2019-12-30T03:31:00Z"},{"timeStamp":"2019-12-30T03:32:00Z"},{"timeStamp":"2019-12-30T03:33:00Z"},{"timeStamp":"2019-12-30T03:34:00Z"},{"timeStamp":"2019-12-30T03:35:00Z"},{"timeStamp":"2019-12-30T03:36:00Z"},{"timeStamp":"2019-12-30T03:37:00Z"},{"timeStamp":"2019-12-30T03:38:00Z"},{"timeStamp":"2019-12-30T03:39:00Z"},{"timeStamp":"2019-12-30T03:40:00Z"},{"timeStamp":"2019-12-30T03:41:00Z"},{"timeStamp":"2019-12-30T03:42:00Z"},{"timeStamp":"2019-12-30T03:43:00Z"},{"timeStamp":"2019-12-30T03:44:00Z"},{"timeStamp":"2019-12-30T03:45:00Z"},{"timeStamp":"2019-12-30T03:46:00Z"},{"timeStamp":"2019-12-30T03:47:00Z"},{"timeStamp":"2019-12-30T03:48:00Z"},{"timeStamp":"2019-12-30T03:49:00Z"},{"timeStamp":"2019-12-30T03:50:00Z"},{"timeStamp":"2019-12-30T03:51:00Z"},{"timeStamp":"2019-12-30T03:52:00Z"},{"timeStamp":"2019-12-30T03:53:00Z"},{"timeStamp":"2019-12-30T03:54:00Z"},{"timeStamp":"2019-12-30T03:55:00Z"},{"timeStamp":"2019-12-30T03:56:00Z"},{"timeStamp":"2019-12-30T03:57:00Z"},{"timeStamp":"2019-12-30T03:58:00Z"},{"timeStamp":"2019-12-30T03:59:00Z"},{"timeStamp":"2019-12-30T04:00:00Z"},{"timeStamp":"2019-12-30T04:01:00Z"},{"timeStamp":"2019-12-30T04:02:00Z"},{"timeStamp":"2019-12-30T04:03:00Z"},{"timeStamp":"2019-12-30T04:04:00Z"},{"timeStamp":"2019-12-30T04:05:00Z"},{"timeStamp":"2019-12-30T04:06:00Z"},{"timeStamp":"2019-12-30T04:07:00Z"},{"timeStamp":"2019-12-30T04:08:00Z"},{"timeStamp":"2019-12-30T04:09:00Z"},{"timeStamp":"2019-12-30T04:10:00Z"},{"timeStamp":"2019-12-30T04:11:00Z"},{"timeStamp":"2019-12-30T04:12:00Z","average":0.145},{"timeStamp":"2019-12-30T04:13:00Z","average":0.14},{"timeStamp":"2019-12-30T04:14:00Z","average":0.135},{"timeStamp":"2019-12-30T04:15:00Z","average":0.145},{"timeStamp":"2019-12-30T04:16:00Z","average":0.135},{"timeStamp":"2019-12-30T04:17:00Z","average":0.14},{"timeStamp":"2019-12-30T04:18:00Z","average":0.14},{"timeStamp":"2019-12-30T04:19:00Z","average":0.135},{"timeStamp":"2019-12-30T04:20:00Z","average":0.14},{"timeStamp":"2019-12-30T04:21:00Z","average":0.135},{"timeStamp":"2019-12-30T04:22:00Z","average":0.145},{"timeStamp":"2019-12-30T04:23:00Z","average":0.14},{"timeStamp":"2019-12-30T04:24:00Z"}]}],"errorCode":"Success"}],"namespace":"Microsoft.Compute/virtualMachines","resourceregion":"eastus"}' headers: cache-control: - no-cache content-length: - - '3186' + - '3138' content-type: - application/json date: - - Wed, 11 Dec 2019 03:06:54 GMT + - Mon, 30 Dec 2019 04:25:47 GMT server: - Microsoft-IIS/10.0 strict-transport-security: @@ -1361,8 +888,8 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-monitor/0.7.0 Azure-SDK-For-Python AZURECLI/2.0.77 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-monitor/0.7.0 + Azure-SDK-For-Python AZURECLI/2.0.78 accept-language: - en-US method: GET @@ -1510,7 +1037,7 @@ interactions: content-type: - application/json date: - - Wed, 11 Dec 2019 03:06:55 GMT + - Mon, 30 Dec 2019 04:25:48 GMT server: - Microsoft-IIS/10.0 strict-transport-security: diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py index bb791b9d140..5b9fbc88c5e 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py @@ -1197,15 +1197,15 @@ def test_vm_create_none_options(self, resource_group): self.cmd('network public-ip show -n {vm}PublicIP -g {rg}', expect_failure=True) -class VMMonitorTest(ScenarioTest): +class VMMonitorTestDefault(ScenarioTest): def __init__(self, method_name, config_file=None, recording_dir=None, recording_name=None, recording_processors=None, replay_processors=None, recording_patches=None, replay_patches=None): from ._test_util import TimeSpanProcessor TIMESPANTEMPLATE = '0000-00-00' - super(VMMonitorTest, self).__init__( + super(VMMonitorTestDefault, self).__init__( method_name, - recording_processors=[TimeSpanProcessor(TIMESPANTEMPLATE), DataSourceProcessor()], - replay_processors=[TimeSpanProcessor(TIMESPANTEMPLATE), DataSourceProcessor()] + recording_processors=[TimeSpanProcessor(TIMESPANTEMPLATE)], + replay_processors=[TimeSpanProcessor(TIMESPANTEMPLATE)] ) @ResourceGroupPreparer(name_prefix='cli_test_vm_create_with_monitor', location='eastus') @@ -1216,8 +1216,8 @@ def test_vm_create_with_monitor(self, resource_group): 'workspace': self.create_random_name('cliworkspace', 20), 'rg': resource_group }) - - self.cmd('vm create -n {vm} -g {rg} --image UbuntuLTS --workspace {workspace}') + with mock.patch('azure.cli.command_modules.vm.custom._gen_guid', side_effect=self.create_guid): + self.cmd('vm create -n {vm} -g {rg} --image UbuntuLTS --workspace {workspace}') self.cmd('vm monitor log show -n {vm} -g {rg} -q "Perf | limit 10"') @ResourceGroupPreparer(name_prefix='cli_test_vm_metric_tail', location='eastus') @@ -1241,6 +1241,8 @@ def test_vm_metric_tail(self, resource_group): self.check("length(@) != '0'", True) ]) +class VMMonitorTestLinux(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_vm_create_with_workspace_linux', location='eastus') def test_vm_create_with_workspace_linux(self, resource_group): @@ -1249,8 +1251,8 @@ def test_vm_create_with_workspace_linux(self, resource_group): 'workspace': self.create_random_name('cliworkspace', 20), 'rg': resource_group }) - - self.cmd('vm create -n {vm} -g {rg} --image UbuntuLTS --workspace {workspace}') + with mock.patch('azure.cli.command_modules.vm.custom._gen_guid', side_effect=self.create_guid): + self.cmd('vm create -n {vm} -g {rg} --image UbuntuLTS --workspace {workspace}') workspace_id = self.cmd('monitor log-analytics workspace show -n {workspace} -g {rg}').get_output_in_json()['id'] uri_template = "https://management.azure.com{0}/dataSources?$filter=kind eq '{1}'&api-version=2015-11-01-preview" @@ -1274,6 +1276,8 @@ def test_vm_create_with_workspace_linux(self, resource_group): self.check('length(value)', 4) ]) +class VMMonitorTestWindows(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_test_vm_create_with_workspace_windows', location='eastus') def test_vm_create_with_workspace_windows(self, resource_group): @@ -1282,8 +1286,8 @@ def test_vm_create_with_workspace_windows(self, resource_group): 'workspace': self.create_random_name('cliworkspace', 20), 'rg': resource_group }) - - self.cmd('vm create -n {vm} -g {rg} --image Win2016Datacenter --workspace {workspace} --admin-password AzureCLI@1224') + with mock.patch('azure.cli.command_modules.vm.custom._gen_guid', side_effect=self.create_guid): + self.cmd('vm create -n {vm} -g {rg} --image Win2016Datacenter --workspace {workspace} --admin-password AzureCLI@1224') workspace_id = self.cmd('monitor log-analytics workspace show -n {workspace} -g {rg}').get_output_in_json()[ 'id'] @@ -1299,7 +1303,6 @@ def test_vm_create_with_workspace_windows(self, resource_group): ]) - class VMBootDiagnostics(ScenarioTest): @ResourceGroupPreparer(name_prefix='cli_test_vm_diagnostics') From 43b71c8d8cbcebe7544dd2e1bb17aeb935a745a0 Mon Sep 17 00:00:00 2001 From: MyronFanQiu Date: Mon, 30 Dec 2019 13:46:08 +0800 Subject: [PATCH 4/8] fix style --- .../cli/command_modules/vm/_workspace_data_source_settings.py | 2 +- src/azure-cli/azure/cli/command_modules/vm/custom.py | 1 + .../cli/command_modules/vm/tests/latest/test_vm_commands.py | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/azure-cli/azure/cli/command_modules/vm/_workspace_data_source_settings.py b/src/azure-cli/azure/cli/command_modules/vm/_workspace_data_source_settings.py index bb6a3573d84..6d08a487d32 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_workspace_data_source_settings.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_workspace_data_source_settings.py @@ -234,4 +234,4 @@ default_windows_data_sources = { "WindowsEvent": windows_event_properties, "WindowsPerformanceCounter": windows_performance_counter_properties -} \ No newline at end of file +} diff --git a/src/azure-cli/azure/cli/command_modules/vm/custom.py b/src/azure-cli/azure/cli/command_modules/vm/custom.py index a217506302f..d8db7a08afb 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/custom.py +++ b/src/azure-cli/azure/cli/command_modules/vm/custom.py @@ -1082,6 +1082,7 @@ def _prepare_workspace(cmd, resource_group_name, workspace): workspace_id = workspace return workspace_id + def _set_data_source_for_workspace(cmd, os_type, resource_group_name, workspace_id): from ._client_factory import cf_log_analytics_data_sources from azure.cli.core.commands.client_factory import get_subscription_id diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py index 5b9fbc88c5e..bf74f7886b0 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py @@ -1241,6 +1241,7 @@ def test_vm_metric_tail(self, resource_group): self.check("length(@) != '0'", True) ]) + class VMMonitorTestLinux(ScenarioTest): @ResourceGroupPreparer(name_prefix='cli_test_vm_create_with_workspace_linux', location='eastus') @@ -1276,6 +1277,7 @@ def test_vm_create_with_workspace_linux(self, resource_group): self.check('length(value)', 4) ]) + class VMMonitorTestWindows(ScenarioTest): @ResourceGroupPreparer(name_prefix='cli_test_vm_create_with_workspace_windows', location='eastus') From 94f60456efa6a4631f7ff47ce0c567baec396321 Mon Sep 17 00:00:00 2001 From: MyronFanQiu Date: Mon, 30 Dec 2019 15:19:52 +0800 Subject: [PATCH 5/8] fix python2 testing erros --- .../vm/_workspace_data_source_settings.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/vm/_workspace_data_source_settings.py b/src/azure-cli/azure/cli/command_modules/vm/_workspace_data_source_settings.py index 6d08a487d32..36046cd6415 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_workspace_data_source_settings.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_workspace_data_source_settings.py @@ -2,6 +2,7 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- +from collections import OrderedDict linux_performance_collection_properties = [ { @@ -224,14 +225,14 @@ } ] -default_linux_data_sources = { +default_linux_data_sources = OrderedDict({ "LinuxPerformanceCollection": linux_performance_collection_properties, "LinuxPerformanceObject": linux_performance_object_properties, "LinuxSyslogCollection": linux_syslog_collection_properties, "LinuxSyslog": linux_syslog_properties -} +}) -default_windows_data_sources = { +default_windows_data_sources = OrderedDict({ "WindowsEvent": windows_event_properties, "WindowsPerformanceCounter": windows_performance_counter_properties -} +}) From db3390c6354cacfe7b7e028cd96cd108ece26ab9 Mon Sep 17 00:00:00 2001 From: MyronFanQiu Date: Mon, 30 Dec 2019 18:57:36 +0800 Subject: [PATCH 6/8] order settings --- .../vm/_workspace_data_source_settings.py | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/vm/_workspace_data_source_settings.py b/src/azure-cli/azure/cli/command_modules/vm/_workspace_data_source_settings.py index 36046cd6415..9345615e9ba 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_workspace_data_source_settings.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_workspace_data_source_settings.py @@ -225,14 +225,14 @@ } ] -default_linux_data_sources = OrderedDict({ - "LinuxPerformanceCollection": linux_performance_collection_properties, - "LinuxPerformanceObject": linux_performance_object_properties, - "LinuxSyslogCollection": linux_syslog_collection_properties, - "LinuxSyslog": linux_syslog_properties -}) +default_linux_data_sources = OrderedDict() -default_windows_data_sources = OrderedDict({ - "WindowsEvent": windows_event_properties, - "WindowsPerformanceCounter": windows_performance_counter_properties -}) +default_linux_data_sources['LinuxPerformanceCollection'] = linux_performance_collection_properties +default_linux_data_sources['LinuxPerformanceObject'] = linux_performance_object_properties +default_linux_data_sources['LinuxSyslogCollection'] = linux_syslog_collection_properties +default_linux_data_sources['LinuxSyslog'] = linux_syslog_properties + +default_windows_data_sources = OrderedDict() + +default_windows_data_sources['WindowsEvent'] = windows_event_properties +default_windows_data_sources['WindowsPerformanceCounter'] = windows_performance_counter_properties From 2e45909343c68662511b188685a9b23ee0458ddf Mon Sep 17 00:00:00 2001 From: MyronFanQiu Date: Tue, 31 Dec 2019 11:01:56 +0800 Subject: [PATCH 7/8] address comments --- src/azure-cli-testsdk/azure/cli/testsdk/base.py | 4 ++-- .../cli/command_modules/vm/_template_builder.py | 4 +++- .../azure/cli/command_modules/vm/custom.py | 14 ++++++++++---- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/azure-cli-testsdk/azure/cli/testsdk/base.py b/src/azure-cli-testsdk/azure/cli/testsdk/base.py index cbd48fd372d..0ef0ee837a7 100644 --- a/src/azure-cli-testsdk/azure/cli/testsdk/base.py +++ b/src/azure-cli-testsdk/azure/cli/testsdk/base.py @@ -147,11 +147,11 @@ def create_random_name(self, prefix, length): def create_guid(self): import uuid self.test_guid_count += 1 - moniker = '88888888-0000-0000-0000-00000000' + ("%0.4X" % self.test_guid_count) + moniker = '88888888-0000-0000-0000-00000000' + ("%0.4x" % self.test_guid_count) if self.in_recording: name = uuid.uuid4() - self.name_replacer.register_name_pair(str(name), moniker.lower()) + self.name_replacer.register_name_pair(str(name), moniker) return name return uuid.UUID(moniker) diff --git a/src/azure-cli/azure/cli/command_modules/vm/_template_builder.py b/src/azure-cli/azure/cli/command_modules/vm/_template_builder.py index 943dbb9c171..7af1c856af5 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_template_builder.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_template_builder.py @@ -960,8 +960,10 @@ def build_vm_daExtension_resource(_, vm_name, location): return daExtensionName_resource -# used for log analytics workspace def build_vm_windows_log_analytics_workspace_agent(_, vm_name, location): + ''' + This function is used for log analytics workspace. + ''' mmaExtension_resource = { 'type': 'Microsoft.Compute/virtualMachines/extensions', 'apiVersion': '2018-10-01', diff --git a/src/azure-cli/azure/cli/command_modules/vm/custom.py b/src/azure-cli/azure/cli/command_modules/vm/custom.py index d8db7a08afb..c84b52ffc48 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/custom.py +++ b/src/azure-cli/azure/cli/command_modules/vm/custom.py @@ -763,6 +763,7 @@ def create_vm(cmd, vm_name, resource_group_name, image=None, size='Standard_DS1_ if workspace is not None: _set_data_source_for_workspace(cmd, os_type, resource_group_name, workspace_id) + return vm @@ -1088,6 +1089,7 @@ def _set_data_source_for_workspace(cmd, os_type, resource_group_name, workspace_ from azure.cli.core.commands.client_factory import get_subscription_id from azure.mgmt.loganalytics.models import DataSource from msrestazure.tools import parse_resource_id + from msrestazure.azure_exceptions import CloudError subscription_id = get_subscription_id(cmd.cli_ctx) data_sources_client = cf_log_analytics_data_sources(cmd.cli_ctx, subscription_id) @@ -1108,10 +1110,14 @@ def _set_data_source_for_workspace(cmd, os_type, resource_group_name, workspace_ data_source = DataSource(kind=data_source_kind, properties=data_source_setting) data_source_name = data_source_name_template.format(data_source_kind, _gen_guid()) - data_sources_client.create_or_update(resource_group_name, - workspace_name, - data_source_name, - data_source) + try: + data_sources_client.create_or_update(resource_group_name, + workspace_name, + data_source_name, + data_source) + except CloudError as ex: + logger.warning("Failed to set data source due to {}. " + "Skip this step and need manual work later.".format(ex.message)) else: logger.warning("Unsupported OS type. Skip the default settings for log analytics workspace.") From 81d44593b01cb27b5ba903565931aa9704671977 Mon Sep 17 00:00:00 2001 From: MyronFanQiu Date: Tue, 31 Dec 2019 11:10:59 +0800 Subject: [PATCH 8/8] address comments and fix style --- .../azure/cli/command_modules/vm/_template_builder.py | 8 ++++++-- src/azure-cli/azure/cli/command_modules/vm/custom.py | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/vm/_template_builder.py b/src/azure-cli/azure/cli/command_modules/vm/_template_builder.py index 7af1c856af5..9ce80cc1332 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_template_builder.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_template_builder.py @@ -915,8 +915,10 @@ def build_av_set_resource(cmd, name, location, tags, platform_update_domain_coun return av_set -# used for log analytics workspace def build_vm_linux_log_analytics_workspace_agent(_, vm_name, location): + ''' + This is used for log analytics workspace + ''' mmaExtension_resource = { 'type': 'Microsoft.Compute/virtualMachines/extensions', 'apiVersion': '2018-10-01', @@ -941,8 +943,10 @@ def build_vm_linux_log_analytics_workspace_agent(_, vm_name, location): return mmaExtension_resource -# used for log analytics workspace def build_vm_daExtension_resource(_, vm_name, location): + ''' + This is used for log analytics workspace + ''' daExtensionName_resource = { 'type': 'Microsoft.Compute/virtualMachines/extensions', 'apiVersion': '2018-10-01', diff --git a/src/azure-cli/azure/cli/command_modules/vm/custom.py b/src/azure-cli/azure/cli/command_modules/vm/custom.py index c84b52ffc48..ed03dae1352 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/custom.py +++ b/src/azure-cli/azure/cli/command_modules/vm/custom.py @@ -1116,8 +1116,8 @@ def _set_data_source_for_workspace(cmd, os_type, resource_group_name, workspace_ data_source_name, data_source) except CloudError as ex: - logger.warning("Failed to set data source due to {}. " - "Skip this step and need manual work later.".format(ex.message)) + logger.warning("Failed to set data source due to %s. " + "Skip this step and need manual work later.", ex.message) else: logger.warning("Unsupported OS type. Skip the default settings for log analytics workspace.")