diff --git a/src/azure-cli/azure/cli/command_modules/vm/_help.py b/src/azure-cli/azure/cli/command_modules/vm/_help.py index 2a727c7beb1..8da239dbcc6 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_help.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_help.py @@ -1443,6 +1443,15 @@ crafted: true """ +helps['vm host group get-instance-view'] = """ +type: command +short-summary: Get instance view of a dedicated host group. +examples: + - name: Get instance view of a dedicated host group + text: | + az vm host group get-instance-view --name MyDedicatedHostGroup --resource-group MyResourceGroup +""" + helps['vm host group update'] = """ type: command short-summary: Update a dedicated host group. diff --git a/src/azure-cli/azure/cli/command_modules/vm/_params.py b/src/azure-cli/azure/cli/command_modules/vm/_params.py index 1afb3ca01bc..f7943e5c583 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_params.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_params.py @@ -476,6 +476,11 @@ def load_arguments(self, _): with self.argument_context('vm host group') as c: c.argument('host_group_name', name_arg_type, id_part='name', help="Name of the Dedicated Host Group") + c.argument('automatic_placement', arg_type=get_three_state_flag(), min_api='2020-06-01', + help='Specify whether virtual machines or virtual machine scale sets can be placed automatically ' + 'on the dedicated host group. Automatic placement means resources are allocated on dedicated ' + 'hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to ' + 'true when not provided.') with self.argument_context('vm host group create') as c: c.argument('platform_fault_domain_count', options_list=["--platform-fault-domain-count", "-c"], type=int, @@ -502,6 +507,8 @@ def load_arguments(self, _): c.argument('caching', help='Disk caching policy', arg_type=get_enum_type(CachingTypes)) for dest in scaleset_name_aliases: c.argument(dest, vmss_name_type) + c.argument('host_group', min_api='2020-06-01', + help='Name or ID of dedicated host group that the virtual machine scale set resides in') for scope in ['vmss deallocate', 'vmss delete-instances', 'vmss restart', 'vmss start', 'vmss stop', 'vmss show', 'vmss update-instances', 'vmss simulate-eviction']: with self.argument_context(scope) as c: 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 7fa8280208a..1bde8d4be8c 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 @@ -254,7 +254,7 @@ def build_vm_resource( # pylint: disable=too-many-locals, too-many-statements disk_info=None, boot_diagnostics_storage_uri=None, ultra_ssd_enabled=None, proximity_placement_group=None, computer_name=None, dedicated_host=None, priority=None, max_price=None, eviction_policy=None, enable_agent=None, vmss=None, os_disk_encryption_set=None, data_disk_encryption_sets=None, specialized=None, - encryption_at_host=None): + encryption_at_host=None, dedicated_host_group=None): os_caching = disk_info['os'].get('caching') @@ -436,6 +436,9 @@ def _build_storage_profile(): if dedicated_host: vm_properties['host'] = {'id': dedicated_host} + if dedicated_host_group: + vm_properties['hostGroup'] = {'id': dedicated_host_group} + if priority is not None: vm_properties['priority'] = priority @@ -679,7 +682,7 @@ def build_vmss_resource(cmd, name, naming_prefix, location, tags, overprovision, terminate_notification_time=None, max_price=None, scale_in_policy=None, os_disk_encryption_set=None, data_disk_encryption_sets=None, data_disk_iops=None, data_disk_mbps=None, automatic_repairs_grace_period=None, - specialized=None, os_disk_size_gb=None, encryption_at_host=None): + specialized=None, os_disk_size_gb=None, encryption_at_host=None, host_group=None): # Build IP configuration ip_configuration = { @@ -905,6 +908,9 @@ def build_vmss_resource(cmd, name, naming_prefix, location, tags, overprovision, if encryption_at_host: vmss_properties['virtualMachineProfile']['securityProfile'] = {'encryptionAtHost': encryption_at_host} + if host_group: + vmss_properties['hostGroup'] = {'id': host_group} + vmss = { 'type': 'Microsoft.Compute/virtualMachineScaleSets', 'name': name, diff --git a/src/azure-cli/azure/cli/command_modules/vm/_validators.py b/src/azure-cli/azure/cli/command_modules/vm/_validators.py index 608cf121408..29f902dd102 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_validators.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_validators.py @@ -599,43 +599,37 @@ def _validate_vm_create_vmss(cmd, namespace): def _validate_vm_create_dedicated_host(cmd, namespace): + """ + "host": { + "$ref": "#/definitions/SubResource", + "description": "Specifies information about the dedicated host that the virtual machine resides in. +

Minimum api-version: 2018-10-01." + }, + "hostGroup": { + "$ref": "#/definitions/SubResource", + "description": "Specifies information about the dedicated host group that the virtual machine resides in. +

Minimum api-version: 2020-06-01.

NOTE: User cannot specify both host and hostGroup properties." + } + + :param cmd: + :param namespace: + :return: + """ from msrestazure.tools import resource_id, is_valid_resource_id from azure.cli.core.commands.client_factory import get_subscription_id - # handle incorrect usage - if namespace.dedicated_host_group and namespace.dedicated_host is None: - raise CLIError("incorrect usage: --host ID | --host-group NAME --host NAME") - - # if this is a valid dedicated host resource id return - if is_valid_resource_id(namespace.dedicated_host): - if namespace.dedicated_host_group is not None: - logger.warning("Ignoring `--host-group` as `--host` is a valid resource id.") - return - - # otherwise this should just be a dedicated host name. If host group provided, build resource id - if namespace.dedicated_host: - if namespace.dedicated_host_group is None: - raise CLIError("incorrect usage: --host ID | --host-group NAME --host NAME") - - host_name = namespace.dedicated_host - rg = namespace.resource_group_name - host_group_name = namespace.dedicated_host_group - - if not check_existence(cmd.cli_ctx, host_name, rg, 'Microsoft.Compute', 'hosts', - parent_name=host_group_name, parent_type='hostGroups'): - raise CLIError("The dedicated host '{}' in host group '{}' and resource group '{}' does not exist." - .format(host_name, host_group_name, rg)) + if namespace.dedicated_host and namespace.dedicated_host_group: + raise CLIError('usage error: User cannot specify both --host and --host-group properties.') - namespace.dedicated_host = resource_id( - subscription=get_subscription_id(cmd.cli_ctx), - resource_group=rg, - namespace='Microsoft.Compute', - type='hostGroups', - name=host_group_name, - child_type_1="hosts", - child_name_1=host_name) + if namespace.dedicated_host and not is_valid_resource_id(namespace.dedicated_host): + raise CLIError('usage error: --host is not a valid resource ID.') - logger.info("Built dedicated host ID '%s' from host name and host group.", namespace.dedicated_host) + if namespace.dedicated_host_group: + if not is_valid_resource_id(namespace.dedicated_host_group): + namespace.dedicated_host_group = resource_id( + subscription=get_subscription_id(cmd.cli_ctx), resource_group=namespace.resource_group_name, + namespace='Microsoft.Compute', type='hostGroups', name=namespace.dedicated_host_group + ) def _validate_vm_vmss_create_vnet(cmd, namespace, for_scale_set=False): @@ -1411,6 +1405,7 @@ def process_vmss_create_namespace(cmd, namespace): _validate_proximity_placement_group(cmd, namespace) _validate_vmss_terminate_notification(cmd, namespace) _validate_vmss_create_automatic_repairs(cmd, namespace) + _validate_vmss_create_host_group(cmd, namespace) if namespace.secrets: _validate_secrets(namespace.secrets, namespace.os_type) @@ -1711,3 +1706,14 @@ def _validate_vmss_automatic_repairs(cmd, namespace): # pylint: disable=unused- """ if namespace.automatic_repairs_grace_period is not None: namespace.automatic_repairs_grace_period = 'PT' + namespace.automatic_repairs_grace_period + 'M' + + +def _validate_vmss_create_host_group(cmd, namespace): + from msrestazure.tools import resource_id, is_valid_resource_id + from azure.cli.core.commands.client_factory import get_subscription_id + if namespace.host_group: + if not is_valid_resource_id(namespace.host_group): + namespace.host_group = resource_id( + subscription=get_subscription_id(cmd.cli_ctx), resource_group=namespace.resource_group_name, + namespace='Microsoft.Compute', type='hostGroups', name=namespace.host_group + ) diff --git a/src/azure-cli/azure/cli/command_modules/vm/commands.py b/src/azure-cli/azure/cli/command_modules/vm/commands.py index 133f4ed6f0a..824fe27a1fe 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/commands.py +++ b/src/azure-cli/azure/cli/command_modules/vm/commands.py @@ -383,6 +383,7 @@ def load_command_table(self, _): with self.command_group('vm host group', compute_dedicated_host_groups_sdk, client_factory=cf_dedicated_host_groups, min_api='2019-03-01') as g: g.show_command('show', 'get') + g.custom_command('get-instance-view', 'get_dedicated_host_group_instance_view', min_api='2020-06-01') g.custom_command('create', 'create_dedicated_host_group') g.custom_command('list', 'list_dedicated_host_groups') g.generic_update_command('update') 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 0df9474713b..2f6185af4c9 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/custom.py +++ b/src/azure-cli/azure/cli/command_modules/vm/custom.py @@ -822,7 +822,7 @@ def create_vm(cmd, vm_name, resource_group_name, image=None, size='Standard_DS1_ dedicated_host=dedicated_host, priority=priority, max_price=max_price, eviction_policy=eviction_policy, enable_agent=enable_agent, vmss=vmss, os_disk_encryption_set=os_disk_encryption_set, data_disk_encryption_sets=data_disk_encryption_sets, specialized=specialized, - encryption_at_host=encryption_at_host) + encryption_at_host=encryption_at_host, dedicated_host_group=dedicated_host_group) vm_resource['dependsOn'] = vm_dependencies @@ -2240,7 +2240,8 @@ def create_vmss(cmd, vmss_name, resource_group_name, image=None, proximity_placement_group=None, aux_subscriptions=None, terminate_notification_time=None, max_price=None, computer_name_prefix=None, orchestration_mode='ScaleSetVM', scale_in_policy=None, os_disk_encryption_set=None, data_disk_encryption_sets=None, data_disk_iops=None, data_disk_mbps=None, - automatic_repairs_grace_period=None, specialized=None, os_disk_size_gb=None, encryption_at_host=None): + automatic_repairs_grace_period=None, specialized=None, os_disk_size_gb=None, encryption_at_host=None, + host_group=None): from azure.cli.core.commands.client_factory import get_subscription_id from azure.cli.core.util import random_string, hash_string from azure.cli.core.commands.arm import ArmTemplateBuilder @@ -2474,7 +2475,8 @@ def _get_public_ip_address_allocation(value, sku): scale_in_policy=scale_in_policy, os_disk_encryption_set=os_disk_encryption_set, data_disk_encryption_sets=data_disk_encryption_sets, data_disk_iops=data_disk_iops, data_disk_mbps=data_disk_mbps, automatic_repairs_grace_period=automatic_repairs_grace_period, - specialized=specialized, os_disk_size_gb=os_disk_size_gb, encryption_at_host=encryption_at_host) + specialized=specialized, os_disk_size_gb=os_disk_size_gb, encryption_at_host=encryption_at_host, + host_group=host_group) vmss_resource['dependsOn'] = vmss_dependencies @@ -3227,12 +3229,12 @@ def list_proximity_placement_groups(client, resource_group_name=None): # region dedicated host def create_dedicated_host_group(cmd, client, host_group_name, resource_group_name, platform_fault_domain_count=None, - location=None, zones=None, tags=None): + automatic_placement=None, location=None, zones=None, tags=None): DedicatedHostGroup = cmd.get_models('DedicatedHostGroup') location = location or _get_resource_group_location(cmd.cli_ctx, resource_group_name) host_group_params = DedicatedHostGroup(location=location, platform_fault_domain_count=platform_fault_domain_count, - zones=zones, tags=tags) + support_automatic_placement=automatic_placement, zones=zones, tags=tags) return client.create_or_update(resource_group_name, host_group_name, parameters=host_group_params) @@ -3243,6 +3245,10 @@ def list_dedicated_host_groups(cmd, client, resource_group_name=None): return client.list_by_subscription() +def get_dedicated_host_group_instance_view(client, host_group_name, resource_group_name): + return client.get(resource_group_name, host_group_name, expand="instanceView") + + def create_dedicated_host(cmd, client, host_group_name, host_name, resource_group_name, sku, platform_fault_domain=None, auto_replace_on_failure=None, license_type=None, location=None, tags=None): DedicatedHostType = cmd.get_models('DedicatedHost') diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_dedicated_host_e2e.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_dedicated_host_e2e.yaml index 5c55da75a17..ef400b8c1be 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_dedicated_host_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_dedicated_host_e2e.yaml @@ -13,7 +13,7 @@ interactions: ParameterSetName: - -n -c -g --tags User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 Azure-SDK-For-Python AZURECLI/2.9.1 accept-language: - en-US @@ -21,7 +21,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host_000001?api-version=2020-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001","name":"cli_test_dedicated_host_000001","type":"Microsoft.Resources/resourceGroups","location":"westeurope","tags":{"product":"azurecli","cause":"automation","date":"2020-07-24T13:58:00Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001","name":"cli_test_dedicated_host_000001","type":"Microsoft.Resources/resourceGroups","location":"westeurope","tags":{"product":"azurecli","cause":"automation","date":"2020-07-29T09:25:15Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 13:58:32 GMT + - Wed, 29 Jul 2020 09:25:21 GMT expires: - '-1' pragma: @@ -63,7 +63,7 @@ interactions: ParameterSetName: - -n -c -g --tags User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.9.1 accept-language: - en-US @@ -71,7 +71,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Compute/hostGroups/my-host-group?api-version=2020-06-01 response: body: - string: "{\r\n \"name\": \"my-host-group\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DEDICATED_HOST_WQYZ5WCZTTZ3A4KR57SAO54NFHLXG7OFHKG6CYBME5GYWFAHJ2H/providers/Microsoft.Compute/hostGroups/my-host-group\",\r\n + string: "{\r\n \"name\": \"my-host-group\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DEDICATED_HOST_5ERRLSHJAHZXGQC3FCMYAQJHF2P7TUPIKOJXSXCEMR6XIWTJNMP/providers/Microsoft.Compute/hostGroups/my-host-group\",\r\n \ \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"foo\": \"bar\"\r\n \ },\r\n \"properties\": {\r\n \"platformFaultDomainCount\": 3\r\n }\r\n}" headers: @@ -82,7 +82,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 13:58:42 GMT + - Wed, 29 Jul 2020 09:25:28 GMT expires: - '-1' pragma: @@ -95,9 +95,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PutDeleteDedicatedHost3Min;119,Microsoft.Compute/PutDeleteDedicatedHost30Min;599 + - Microsoft.Compute/PutDeleteDedicatedHost3Min;119,Microsoft.Compute/PutDeleteDedicatedHost30Min;593 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1196' status: code: 201 message: Created @@ -115,7 +115,7 @@ interactions: ParameterSetName: - -n --host-group -d -g --sku --auto-replace --tags User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 Azure-SDK-For-Python AZURECLI/2.9.1 accept-language: - en-US @@ -123,7 +123,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host_000001?api-version=2020-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001","name":"cli_test_dedicated_host_000001","type":"Microsoft.Resources/resourceGroups","location":"westeurope","tags":{"product":"azurecli","cause":"automation","date":"2020-07-24T13:58:00Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001","name":"cli_test_dedicated_host_000001","type":"Microsoft.Resources/resourceGroups","location":"westeurope","tags":{"product":"azurecli","cause":"automation","date":"2020-07-29T09:25:15Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -132,7 +132,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 13:58:45 GMT + - Wed, 29 Jul 2020 09:25:30 GMT expires: - '-1' pragma: @@ -165,7 +165,7 @@ interactions: ParameterSetName: - -n --host-group -d -g --sku --auto-replace --tags User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.9.1 accept-language: - en-US @@ -177,13 +177,13 @@ interactions: \ \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"bar\": \"baz\"\r\n \ },\r\n \"sku\": {\r\n \"name\": \"DSv3-Type1\"\r\n },\r\n \"properties\": {\r\n \"platformFaultDomain\": 2,\r\n \"autoReplaceOnFailure\": false,\r\n - \ \"hostId\": \"76e6c3c0-60ac-497a-8ca7-0f2b1725dbcc\",\r\n \"provisioningState\": + \ \"hostId\": \"d4329273-3fc9-4ec3-87ac-130038a0663a\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/operations/65dc71a9-2bc0-4c00-94e5-e2fcfd24f5e4?api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/operations/2b51df7f-a2c3-4695-ab93-95cc0049d84e?api-version=2020-06-01 cache-control: - no-cache content-length: @@ -191,7 +191,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 13:58:54 GMT + - Wed, 29 Jul 2020 09:25:35 GMT expires: - '-1' pragma: @@ -204,9 +204,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PutDeleteDedicatedHost3Min;118,Microsoft.Compute/PutDeleteDedicatedHost30Min;598 + - Microsoft.Compute/PutDeleteDedicatedHost3Min;118,Microsoft.Compute/PutDeleteDedicatedHost30Min;592 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1195' status: code: 201 message: Created @@ -224,15 +224,15 @@ interactions: ParameterSetName: - -n --host-group -d -g --sku --auto-replace --tags User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.9.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/operations/65dc71a9-2bc0-4c00-94e5-e2fcfd24f5e4?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/operations/2b51df7f-a2c3-4695-ab93-95cc0049d84e?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-07-24T13:58:52.8634328+00:00\",\r\n \"endTime\": - \"2020-07-24T13:58:53.1915492+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"65dc71a9-2bc0-4c00-94e5-e2fcfd24f5e4\"\r\n}" + string: "{\r\n \"startTime\": \"2020-07-29T09:25:34.0199412+00:00\",\r\n \"endTime\": + \"2020-07-29T09:25:34.2543143+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"2b51df7f-a2c3-4695-ab93-95cc0049d84e\"\r\n}" headers: cache-control: - no-cache @@ -241,7 +241,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 13:59:27 GMT + - Wed, 29 Jul 2020 09:26:05 GMT expires: - '-1' pragma: @@ -258,7 +258,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14998,Microsoft.Compute/GetOperation30Min;29998 + - Microsoft.Compute/GetOperation3Min;14998,Microsoft.Compute/GetOperation30Min;29983 status: code: 200 message: OK @@ -276,7 +276,7 @@ interactions: ParameterSetName: - -n --host-group -d -g --sku --auto-replace --tags User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.9.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Compute/hostGroups/my-host-group/hosts/my-host?api-version=2020-06-01 @@ -286,18 +286,18 @@ interactions: \ \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"bar\": \"baz\"\r\n \ },\r\n \"sku\": {\r\n \"name\": \"DSv3-Type1\"\r\n },\r\n \"properties\": {\r\n \"platformFaultDomain\": 2,\r\n \"autoReplaceOnFailure\": false,\r\n - \ \"hostId\": \"76e6c3c0-60ac-497a-8ca7-0f2b1725dbcc\",\r\n \"virtualMachines\": - [],\r\n \"provisioningTime\": \"2020-07-24T13:58:53.160299+00:00\",\r\n + \ \"hostId\": \"d4329273-3fc9-4ec3-87ac-130038a0663a\",\r\n \"virtualMachines\": + [],\r\n \"provisioningTime\": \"2020-07-29T09:25:34.2386891+00:00\",\r\n \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '631' + - '632' content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 13:59:30 GMT + - Wed, 29 Jul 2020 09:26:06 GMT expires: - '-1' pragma: @@ -314,7 +314,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetDedicatedHost3Min;247,Microsoft.Compute/GetDedicatedHost30Min;997 + - Microsoft.Compute/GetDedicatedHost3Min;247,Microsoft.Compute/GetDedicatedHost30Min;970 status: code: 200 message: OK @@ -332,7 +332,7 @@ interactions: ParameterSetName: - --host-group --name -g User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.9.1 accept-language: - en-US @@ -344,10 +344,10 @@ interactions: \ \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"bar\": \"baz\"\r\n \ },\r\n \"sku\": {\r\n \"name\": \"DSv3-Type1\"\r\n },\r\n \"properties\": {\r\n \"platformFaultDomain\": 2,\r\n \"autoReplaceOnFailure\": false,\r\n - \ \"hostId\": \"76e6c3c0-60ac-497a-8ca7-0f2b1725dbcc\",\r\n \"virtualMachines\": - [],\r\n \"provisioningTime\": \"2020-07-24T13:58:53.160299+00:00\",\r\n + \ \"hostId\": \"d4329273-3fc9-4ec3-87ac-130038a0663a\",\r\n \"virtualMachines\": + [],\r\n \"provisioningTime\": \"2020-07-29T09:25:34.2386891+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"assetId\": - \"ab382a47-b4a6-441b-bcc2-af3b4ebe587d\",\r\n \"availableCapacity\": + \"5bf3fa79-c436-44c9-80dd-af51ede4ae2e\",\r\n \"availableCapacity\": {\r\n \"allocatableVMs\": [\r\n {\r\n \"vmSize\": \"Standard_D2hs_v3\",\r\n \"count\": 32\r\n },\r\n {\r\n \ \"vmSize\": \"Standard_D2s_v3\",\r\n \"count\": 32\r\n @@ -370,7 +370,7 @@ interactions: \ }\r\n ]\r\n },\r\n \"statuses\": [\r\n {\r\n \ \"code\": \"ProvisioningState/succeeded\",\r\n \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning succeeded\",\r\n - \ \"time\": \"2020-07-24T13:58:53.160299+00:00\"\r\n },\r\n + \ \"time\": \"2020-07-29T09:25:34.2386891+00:00\"\r\n },\r\n \ {\r\n \"code\": \"HealthState/available\",\r\n \"level\": \"Info\",\r\n \"displayStatus\": \"Host available\"\r\n }\r\n \ ]\r\n }\r\n }\r\n}" @@ -378,11 +378,153 @@ interactions: cache-control: - no-cache content-length: - - '2505' + - '2507' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:26:08 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/GetDedicatedHost3Min;246,Microsoft.Compute/GetDedicatedHost30Min;969 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm host group get-instance-view + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Compute/hostGroups/my-host-group?$expand=instanceView&api-version=2020-06-01 + response: + body: + string: "{\r\n \"name\": \"my-host-group\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DEDICATED_HOST_5ERRLSHJAHZXGQC3FCMYAQJHF2P7TUPIKOJXSXCEMR6XIWTJNMP/providers/Microsoft.Compute/hostGroups/my-host-group\",\r\n + \ \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"foo\": \"bar\"\r\n + \ },\r\n \"properties\": {\r\n \"platformFaultDomainCount\": 3,\r\n \"hosts\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DEDICATED_HOST_5ERRLSHJAHZXGQC3FCMYAQJHF2P7TUPIKOJXSXCEMR6XIWTJNMP/providers/Microsoft.Compute/hostGroups/MY-HOST-GROUP/hosts/MY-HOST\"\r\n + \ }\r\n ],\r\n \"instanceView\": {\r\n \"hosts\": [\r\n {\r\n + \ \"name\": \"my-host\",\r\n \"assetId\": \"5bf3fa79-c436-44c9-80dd-af51ede4ae2e\",\r\n + \ \"availableCapacity\": {\r\n \"allocatableVMs\": [\r\n + \ {\r\n \"vmSize\": \"Standard_D2hs_v3\",\r\n \"count\": + 32\r\n },\r\n {\r\n \"vmSize\": \"Standard_D2s_v3\",\r\n + \ \"count\": 32\r\n },\r\n {\r\n \"vmSize\": + \"Standard_D4hs_v3\",\r\n \"count\": 17\r\n },\r\n + \ {\r\n \"vmSize\": \"Standard_D4s_v3\",\r\n \"count\": + 17\r\n },\r\n {\r\n \"vmSize\": \"Standard_D8hs_v3\",\r\n + \ \"count\": 8\r\n },\r\n {\r\n \"vmSize\": + \"Standard_D8s_v3\",\r\n \"count\": 8\r\n },\r\n + \ {\r\n \"vmSize\": \"Standard_D16s_v3\",\r\n \"count\": + 4\r\n },\r\n {\r\n \"vmSize\": \"Standard_D32-8s_v3\",\r\n + \ \"count\": 2\r\n },\r\n {\r\n \"vmSize\": + \"Standard_D32-16s_v3\",\r\n \"count\": 2\r\n },\r\n + \ {\r\n \"vmSize\": \"Standard_D32s_v3\",\r\n \"count\": + 2\r\n },\r\n {\r\n \"vmSize\": \"Standard_D48s_v3\",\r\n + \ \"count\": 1\r\n },\r\n {\r\n \"vmSize\": + \"Standard_D64-16s_v3\",\r\n \"count\": 1\r\n },\r\n + \ {\r\n \"vmSize\": \"Standard_D64-32s_v3\",\r\n + \ \"count\": 1\r\n },\r\n {\r\n \"vmSize\": + \"Standard_D64s_v3\",\r\n \"count\": 1\r\n }\r\n + \ ]\r\n },\r\n \"statuses\": [\r\n {\r\n + \ \"code\": \"ProvisioningState/succeeded\",\r\n \"level\": + \"Info\",\r\n \"displayStatus\": \"Provisioning succeeded\",\r\n + \ \"time\": \"2020-07-29T09:25:34.2386891+00:00\"\r\n },\r\n + \ {\r\n \"code\": \"HealthState/available\",\r\n \"level\": + \"Info\",\r\n \"displayStatus\": \"Host available\"\r\n }\r\n + \ ]\r\n }\r\n ]\r\n }\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2884' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:26:09 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/GetDedicatedHost30Min;968 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm host show + Connection: + - keep-alive + ParameterSetName: + - -g -n --host-group + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Compute/hostGroups/my-host-group/hosts/my-host?api-version=2020-06-01 + response: + body: + string: "{\r\n \"name\": \"my-host\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Compute/hostGroups/my-host-group/hosts/my-host\",\r\n + \ \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"bar\": \"baz\"\r\n + \ },\r\n \"sku\": {\r\n \"name\": \"DSv3-Type1\"\r\n },\r\n \"properties\": + {\r\n \"platformFaultDomain\": 2,\r\n \"autoReplaceOnFailure\": false,\r\n + \ \"hostId\": \"d4329273-3fc9-4ec3-87ac-130038a0663a\",\r\n \"virtualMachines\": + [],\r\n \"provisioningTime\": \"2020-07-29T09:25:34.2386891+00:00\",\r\n + \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '632' content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 13:59:33 GMT + - Wed, 29 Jul 2020 09:26:10 GMT expires: - '-1' pragma: @@ -399,7 +541,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetDedicatedHost3Min;246,Microsoft.Compute/GetDedicatedHost30Min;996 + - Microsoft.Compute/GetDedicatedHost3Min;245,Microsoft.Compute/GetDedicatedHost30Min;967 status: code: 200 message: OK @@ -415,9 +557,9 @@ interactions: Connection: - keep-alive ParameterSetName: - - -n --image -g --size --host-group --host --generate-ssh-keys --admin-username + - -n --image -g --size --host --generate-ssh-keys --admin-username --nsg-rule User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 Azure-SDK-For-Python AZURECLI/2.9.1 accept-language: - en-US @@ -425,7 +567,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host_000001?api-version=2020-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001","name":"cli_test_dedicated_host_000001","type":"Microsoft.Resources/resourceGroups","location":"westeurope","tags":{"product":"azurecli","cause":"automation","date":"2020-07-24T13:58:00Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001","name":"cli_test_dedicated_host_000001","type":"Microsoft.Resources/resourceGroups","location":"westeurope","tags":{"product":"azurecli","cause":"automation","date":"2020-07-29T09:25:15Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -434,7 +576,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 13:59:36 GMT + - Wed, 29 Jul 2020 09:26:10 GMT expires: - '-1' pragma: @@ -513,36 +655,36 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Fri, 24 Jul 2020 13:59:38 GMT + - Wed, 29 Jul 2020 09:26:11 GMT etag: - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" expires: - - Fri, 24 Jul 2020 14:04:38 GMT + - Wed, 29 Jul 2020 09:31:11 GMT source-age: - - '64' + - '43' strict-transport-security: - max-age=31536000 vary: - - Authorization,Accept-Encoding + - Authorization,Accept-Encoding, Accept-Encoding via: - 1.1 varnish (Varnish/6.0) - 1.1 varnish x-cache: - - HIT, MISS + - HIT, HIT x-cache-hits: - - 1, 0 + - 3, 1 x-content-type-options: - nosniff x-fastly-request-id: - - d04f8493abe05b136921f6ba979769f86f39c70f + - ca680ddfe3650bdaeeb0f5d8ad83ac7ca7ed00c2 x-frame-options: - deny x-github-request-id: - - C004:6AAA:B59709:D7B65D:5F1AE947 + - 5606:45C7:20635:24EAA:5F21356E x-served-by: - - cache-hkg17933-HKG + - cache-sin18024-SIN x-timer: - - S1595599178.904014,VS0,VE210 + - S1596014772.736274,VS0,VE233 x-xss-protection: - 1; mode=block status: @@ -560,9 +702,9 @@ interactions: Connection: - keep-alive ParameterSetName: - - -n --image -g --size --host-group --host --generate-ssh-keys --admin-username + - -n --image -g --size --host --generate-ssh-keys --admin-username --nsg-rule User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/11.0.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/11.0.0 Azure-SDK-For-Python AZURECLI/2.9.1 accept-language: - en-US @@ -579,7 +721,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 13:59:40 GMT + - Wed, 29 Jul 2020 09:26:11 GMT expires: - '-1' pragma: @@ -605,9 +747,9 @@ interactions: Connection: - keep-alive ParameterSetName: - - -n --image -g --size --host-group --host --generate-ssh-keys --admin-username + - -n --image -g --size --host --generate-ssh-keys --admin-username --nsg-rule User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.9.1 accept-language: - en-US @@ -1566,6 +1708,18 @@ interactions: \ },\r\n {\r\n \"name\": \"Standard_ND24s\",\r\n \"numberOfCores\": 24,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 1376256,\r\n \"memoryInMB\": 458752,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_DC8_v2\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 409600,\r\n \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_DC1s_v2\",\r\n \"numberOfCores\": + 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 51200,\r\n \"memoryInMB\": 4096,\r\n \"maxDataDiskCount\": 1\r\n + \ },\r\n {\r\n \"name\": \"Standard_DC2s_v2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 102400,\r\n \"memoryInMB\": 8192,\r\n \"maxDataDiskCount\": 2\r\n + \ },\r\n {\r\n \"name\": \"Standard_DC4s_v2\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 204800,\r\n \"memoryInMB\": 16384,\r\n \"maxDataDiskCount\": 4\r\n \ },\r\n {\r\n \"name\": \"Standard_ND40rs_v2\",\r\n \"numberOfCores\": 40,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 2969600,\r\n \"memoryInMB\": 688128,\r\n \"maxDataDiskCount\": 8\r\n @@ -1743,18 +1897,6 @@ interactions: \ },\r\n {\r\n \"name\": \"Standard_A11\",\r\n \"numberOfCores\": 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 391168,\r\n \"memoryInMB\": 114688,\r\n \"maxDataDiskCount\": 64\r\n - \ },\r\n {\r\n \"name\": \"Standard_DC8_v2\",\r\n \"numberOfCores\": - 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": - 409600,\r\n \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 8\r\n - \ },\r\n {\r\n \"name\": \"Standard_DC1s_v2\",\r\n \"numberOfCores\": - 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": - 51200,\r\n \"memoryInMB\": 4096,\r\n \"maxDataDiskCount\": 1\r\n - \ },\r\n {\r\n \"name\": \"Standard_DC2s_v2\",\r\n \"numberOfCores\": - 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": - 102400,\r\n \"memoryInMB\": 8192,\r\n \"maxDataDiskCount\": 2\r\n - \ },\r\n {\r\n \"name\": \"Standard_DC4s_v2\",\r\n \"numberOfCores\": - 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": - 204800,\r\n \"memoryInMB\": 16384,\r\n \"maxDataDiskCount\": 4\r\n \ }\r\n ]\r\n}" headers: cache-control: @@ -1764,7 +1906,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 13:59:45 GMT + - Wed, 29 Jul 2020 09:26:12 GMT expires: - '-1' pragma: @@ -1786,460 +1928,22 @@ interactions: code: 200 message: OK - request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -n --image -g --size --host-group --host --generate-ssh-keys --admin-username - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 - Azure-SDK-For-Python AZURECLI/2.9.1 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute?api-version=2020-06-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute","namespace":"Microsoft.Compute","authorizations":[{"applicationId":"60e6cd67-9c8c-4951-9b3c-23c25a2169af","roleDefinitionId":"e4770acb-272e-4dc8-87f3-12f44a612224"},{"applicationId":"a303894e-f1d8-4a37-bf10-67aa654a0596","roleDefinitionId":"903ac751-8ad5-4e5a-bfc2-5e49f450a241"},{"applicationId":"a8b6bf88-1d1a-4626-b040-9a729ea93c65","roleDefinitionId":"45c8267c-80ba-4b96-9a43-115b8f49fccd"},{"applicationId":"184909ca-69f1-4368-a6a7-c558ee6eb0bd","roleDefinitionId":"45c8267c-80ba-4b96-9a43-115b8f49fccd"},{"applicationId":"5e5e43d4-54da-4211-86a4-c6e7f3715801","roleDefinitionId":"ffcd6e5b-8772-457d-bb17-89703c03428f"},{"applicationId":"ce6ff14a-7fdc-4685-bbe0-f6afdfcfa8e0","roleDefinitionId":"cb17cddc-dbac-4ae0-ae79-8db34eddfca0"},{"applicationId":"372140e0-b3b7-4226-8ef9-d57986796201","roleDefinitionId":"cb17cddc-dbac-4ae0-ae79-8db34eddfca0"},{"applicationId":"b9a92e36-2cf8-4f4e-bcb3-9d99e00e14ab","roleDefinitionId":"6efa92ca-56b6-40af-a468-5e3d2b5232f0"}],"resourceTypes":[{"resourceType":"availabilitySets","locations":["East - US","East US 2","West US","Central US","North Central US","South Central US","North - Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia - East","Australia Southeast","Australia Central","Brazil South","South India","Central - India","West India","Canada Central","Canada East","West US 2","West Central - US","UK South","UK West","Korea Central","Korea South","France Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"virtualMachines","locations":["East - US","East US 2","West US","Central US","North Central US","South Central US","North - Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia - East","Australia Southeast","Australia Central","Brazil South","South India","Central - India","West India","Canada Central","Canada East","West US 2","West Central - US","UK South","UK West","Korea Central","Korea South","France Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":[]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":[]},{"location":"Canada Central","zones":[]},{"location":"Germany - West Central","zones":[]}],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"virtualMachines/extensions","locations":["East - US","East US 2","West US","Central US","North Central US","South Central US","North - Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia - East","Australia Southeast","Australia Central","Brazil South","South India","Central - India","West India","Canada Central","Canada East","West US 2","West Central - US","UK South","UK West","Korea Central","Korea South","France Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"virtualMachineScaleSets","locations":["East - US","East US 2","West US","Central US","North Central US","South Central US","North - Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia - East","Australia Southeast","Australia Central","Brazil South","South India","Central - India","West India","Canada Central","Canada East","West US 2","West Central - US","UK South","UK West","Korea Central","Korea South","France Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-10-30-preview","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":[]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":[]},{"location":"Canada Central","zones":[]},{"location":"Germany - West Central","zones":[]}],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, - SupportsLocation"},{"resourceType":"virtualMachineScaleSets/extensions","locations":["East - US","East US 2","West US","Central US","North Central US","South Central US","North - Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia - East","Australia Southeast","Australia Central","Brazil South","South India","Central - India","West India","Canada Central","Canada East","West US 2","West Central - US","UK South","UK West","Korea Central","Korea South","France Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-10-30-preview","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"defaultApiVersion":"2015-06-15","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"virtualMachineScaleSets/virtualMachines","locations":["East - US","East US 2","West US","Central US","North Central US","South Central US","North - Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia - East","Australia Southeast","Australia Central","Brazil South","South India","Central - India","West India","Canada Central","Canada East","West US 2","West Central - US","UK South","UK West","Korea Central","Korea South","France Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-10-30-preview","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"virtualMachineScaleSets/networkInterfaces","locations":["East - US","East US 2","West US","Central US","North Central US","South Central US","North - Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia - East","Australia Southeast","Australia Central","Brazil South","South India","Central - India","West India","Canada Central","Canada East","West US 2","West Central - US","UK South","UK West","Korea Central","Korea South","France Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"virtualMachineScaleSets/virtualMachines/networkInterfaces","locations":["East - US","East US 2","West US","Central US","North Central US","South Central US","North - Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia - East","Australia Southeast","Australia Central","Brazil South","South India","Central - India","West India","Canada Central","Canada East","West US 2","West Central - US","UK South","UK West","Korea Central","Korea South","France Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"virtualMachineScaleSets/publicIPAddresses","locations":["East - US","East US 2","West US","Central US","North Central US","South Central US","North - Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia - East","Australia Southeast","Australia Central","Brazil South","South India","Central - India","West India","Canada Central","Canada East","West US 2","West Central - US","UK South","UK West","Korea Central","Korea South","France Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30"],"apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"locations","locations":[],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"capabilities":"None"},{"resourceType":"locations/operations","locations":["East - US","East US 2","West US","Central US","North Central US","South Central US","North - Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia - East","Australia Southeast","Australia Central","Brazil South","South India","Central - India","West India","Canada Central","Canada East","West US 2","West Central - US","UK South","UK West","Korea Central","Korea South","France Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-10-30-preview","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"locations/vmSizes","locations":["East - US","East US 2","West US","Central US","North Central US","South Central US","North - Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia - East","Australia Southeast","Australia Central","Brazil South","South India","Central - India","West India","Canada Central","Canada East","West US 2","West Central - US","UK South","UK West","Korea Central","Korea South","France Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"locations/runCommands","locations":["East - US","East US 2","West US","Central US","North Central US","South Central US","North - Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia - East","Australia Southeast","Australia Central","Brazil South","South India","Central - India","West India","Canada Central","Canada East","West US 2","West Central - US","UK South","UK West","Korea Central","Korea South","France Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30"],"apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"locations/usages","locations":["East - US","East US 2","West US","Central US","North Central US","South Central US","North - Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia - East","Australia Southeast","Australia Central","Brazil South","South India","Central - India","West India","Canada Central","Canada East","West US 2","West Central - US","UK South","UK West","Korea Central","Korea South","France Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"locations/virtualMachines","locations":["East - US","East US 2","West US","Central US","North Central US","South Central US","North - Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia - East","Australia Southeast","Australia Central","Brazil South","South India","Central - India","West India","Canada Central","Canada East","West US 2","West Central - US","UK South","UK West","Korea Central","Korea South","France Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"locations/publishers","locations":["East - US","East US 2","West US","Central US","North Central US","South Central US","North - Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia - East","Australia Southeast","Australia Central","Brazil South","South India","Central - India","West India","Canada Central","Canada East","West US 2","West Central - US","UK South","UK West","Korea Central","Korea South","France Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"operations","locations":["East - US","East US 2","West US","Central US","North Central US","South Central US","North - Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia - East","Australia Southeast","Australia Central","Brazil South","South India","Central - India","West India","Canada Central","Canada East","West US 2","West Central - US","UK South","UK West","Korea Central","Korea South","France Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-03-30","2015-06-15","2015-05-01-preview"],"capabilities":"None"},{"resourceType":"restorePointCollections","locations":["Southeast - Asia","East US 2","Central US","West Europe","East US","North Central US","South - Central US","West US","North Europe","East Asia","Brazil South","West US 2","West - Central US","UK West","UK South","Japan East","Japan West","Canada Central","Canada - East","Central India","South India","Australia East","Australia Southeast","Korea - Central","Korea South","West India","France Central","South Africa North","UAE - North","Australia Central","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30"],"defaultApiVersion":"2018-06-01","capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"restorePointCollections/restorePoints","locations":["Southeast - Asia","East US 2","Central US","West Europe","East US","North Central US","South - Central US","West US","North Europe","East Asia","Brazil South","West US 2","West - Central US","UK West","UK South","Japan East","Japan West","Canada Central","Canada - East","Central India","South India","Australia East","Australia Southeast","Korea - Central","Korea South","West India","France Central","South Africa North","UAE - North","Australia Central","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30"],"capabilities":"None"},{"resourceType":"proximityPlacementGroups","locations":["East - US","East US 2","West US","Central US","North Central US","South Central US","North - Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia - East","Australia Southeast","Australia Central","Brazil South","South India","Central - India","West India","Canada Central","Canada East","West US 2","West Central - US","UK South","UK West","Korea Central","Korea South","France Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01"],"defaultApiVersion":"2018-06-01","capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"sshPublicKeys","locations":["East - US","East US 2","West US","Central US","North Central US","South Central US","North - Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia - East","Australia Southeast","Australia Central","Brazil South","South India","Central - India","West India","Canada Central","Canada East","West US 2","West Central - US","UK South","UK West","Korea Central","Korea South","France Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01"],"defaultApiVersion":"2019-12-01","capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"virtualMachines/metricDefinitions","locations":["East - US","East US 2","West US","Central US","North Central US","South Central US","North - Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia - East","Australia Southeast","Australia Central","Brazil South","South India","Central - India","West India","Canada Central","Canada East","West US 2","West Central - US","UK South","UK West","Korea Central","Korea South","France Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2014-04-01"],"capabilities":"None"},{"resourceType":"sharedVMImages","locations":["West - Central US","South Central US","East US 2","Southeast Asia","West Europe","West - US","East US","Canada Central","North Europe","North Central US","Brazil South","UK - West","West India","East Asia","Australia East","Japan East","Korea South","West - US 2","Canada East","UK South","Central India","South India","Australia Southeast","Japan - West","Korea Central","France Central","Central US","Australia Central","East - US 2 EUAP","Central US EUAP"],"apiVersions":["2017-10-15-preview"],"defaultApiVersion":"2017-10-15-preview","capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"sharedVMImages/versions","locations":["West - Central US","South Central US","East US 2","Southeast Asia","West Europe","West - US","East US","Canada Central","North Europe","North Central US","Brazil South","UK - West","West India","East Asia","Australia East","Japan East","Korea South","West - US 2","Canada East","UK South","Central India","South India","Australia Southeast","Japan - West","Korea Central","France Central","Central US","Australia Central","East - US 2 EUAP","Central US EUAP"],"apiVersions":["2017-10-15-preview"],"defaultApiVersion":"2017-10-15-preview","capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"locations/artifactPublishers","locations":["West - Central US","South Central US","East US 2","Southeast Asia","West Europe","West - US","East US","Canada Central","North Europe","North Central US","Brazil South","UK - West","West India","East Asia","Australia East","Japan East","Korea South","West - US 2","Canada East","UK South","Central India","South India","Australia Southeast","Japan - West","Korea Central","France Central","Central US","Australia Central","East - US 2 EUAP","Central US EUAP"],"apiVersions":["2017-10-15-preview"],"capabilities":"None"},{"resourceType":"locations/capsoperations","locations":["West - Central US","South Central US","East US 2","Southeast Asia","West Europe","West - US","East US","Canada Central","North Europe","North Central US","Brazil South","UK - West","West India","East Asia","Australia East","Japan East","Korea South","West - US 2","Canada East","UK South","Central India","South India","Australia Southeast","Japan - West","Korea Central","France Central","Central US","Australia Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-06-01","2017-10-15-preview"],"capabilities":"None"},{"resourceType":"galleries","locations":["West - Central US","South Central US","East US 2","Southeast Asia","West Europe","West - US","East US","Canada Central","North Europe","North Central US","Brazil South","UK - West","West India","East Asia","Australia East","Japan East","Korea South","West - US 2","Canada East","UK South","Central India","South India","Australia Southeast","Japan - West","Korea Central","France Central","Central US","Australia Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-06-01"],"defaultApiVersion":"2018-06-01","capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"galleries/images","locations":["West Central - US","South Central US","East US 2","Southeast Asia","West Europe","West US","East - US","Canada Central","North Europe","North Central US","Brazil South","UK - West","West India","East Asia","Australia East","Japan East","Korea South","West - US 2","Canada East","UK South","Central India","South India","Australia Southeast","Japan - West","Korea Central","France Central","Central US","Australia Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-06-01"],"defaultApiVersion":"2018-06-01","capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"galleries/images/versions","locations":["West - Central US","South Central US","East US 2","Southeast Asia","West Europe","West - US","East US","Canada Central","North Europe","North Central US","Brazil South","UK - West","West India","East Asia","Australia East","Japan East","Korea South","West - US 2","Canada East","UK South","Central India","South India","Australia Southeast","Japan - West","Korea Central","France Central","Central US","Australia Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-06-01"],"defaultApiVersion":"2018-06-01","capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"disks","locations":["Southeast Asia","East - US 2","Central US","West Europe","East US","North Central US","South Central - US","West US","North Europe","East Asia","Brazil South","West US 2","West - Central US","UK West","UK South","Japan East","Japan West","Canada Central","Canada - East","Central India","South India","Australia East","Australia Southeast","Korea - Central","Korea South","West India","France Central","South Africa North","UAE - North","Australia Central","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-05-01","2019-11-01","2019-07-01","2019-03-01","2018-09-30","2018-06-01","2018-04-01","2017-03-30","2016-04-30-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2018-04-01"}],"zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":[]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":[]},{"location":"Canada Central","zones":[]},{"location":"Germany - West Central","zones":[]}],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"snapshots","locations":["Southeast - Asia","East US 2","Central US","West Europe","East US","North Central US","South - Central US","West US","North Europe","East Asia","Brazil South","West US 2","West - Central US","UK West","UK South","Japan East","Japan West","Canada Central","Canada - East","Central India","South India","Australia East","Australia Southeast","Korea - Central","Korea South","West India","France Central","South Africa North","UAE - North","Australia Central","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-05-01","2019-11-01","2019-07-01","2019-03-01","2018-09-30","2018-06-01","2018-04-01","2017-03-30","2016-04-30-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2018-04-01"}],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/diskoperations","locations":["Southeast - Asia","East US 2","Central US","West Europe","East US","North Central US","South - Central US","West US","North Europe","East Asia","Brazil South","West US 2","West - Central US","UK West","UK South","Japan East","Japan West","Canada Central","Canada - East","Central India","South India","Australia East","Australia Southeast","Korea - Central","Korea South","West India","France Central","South Africa North","UAE - North","Australia Central","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-05-01","2019-11-01","2019-07-01","2019-03-01","2018-09-30","2018-06-01","2018-04-01","2017-03-30","2016-04-30-preview"],"apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2018-04-01"}],"capabilities":"None"},{"resourceType":"diskEncryptionSets","locations":["Southeast - Asia","East US 2","Central US","West Europe","East US","North Central US","South - Central US","West US","North Europe","East Asia","Brazil South","West US 2","West - Central US","UK West","UK South","Japan East","Japan West","Canada Central","Canada - East","Central India","South India","Australia East","Australia Southeast","Korea - Central","Korea South","West India","France Central","South Africa North","UAE - North","Australia Central","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-05-01","2019-11-01","2019-07-01"],"defaultApiVersion":"2019-07-01","capabilities":"SystemAssignedResourceIdentity, - SupportsTags, SupportsLocation"},{"resourceType":"diskAccesses","locations":["Southeast - Asia","East US 2","Central US","West Europe","East US","North Central US","South - Central US","West US","North Europe","East Asia","Brazil South","West US 2","West - Central US","UK West","UK South","Japan East","Japan West","Canada Central","Canada - East","Central India","South India","Australia East","Australia Southeast","Korea - Central","Korea South","West India","France Central","South Africa North","UAE - North","Australia Central","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-05-01"],"defaultApiVersion":"2020-05-01","capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"locations/vsmoperations","locations":["East - US","West Central US","South Central US","North Europe","Australia East","Central - US","North Central US","Southeast Asia","West US","East US 2","West Europe","West - India","Australia Central","Australia Central 2","UK West","Brazil South","East - Asia","South India","Australia Southeast","France South","West US 2","Japan - West","France Central","Central India","Korea South","Korea Central","Japan - East","Canada East","Canada Central","South Africa North","UAE North","South - Africa West","Switzerland North","Germany West Central","Norway East","East - US 2 EUAP","Central US EUAP"],"apiVersions":["2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"images","locations":["Southeast - Asia","East US 2","Central US","West Europe","East US","North Central US","South - Central US","West US","North Europe","East Asia","Brazil South","West US 2","West - Central US","UK West","UK South","Japan East","Japan West","Canada Central","Canada - East","Central India","South India","Australia East","Australia Southeast","Korea - Central","Korea South","West India","France Central","South Africa North","UAE - North","Australia Central","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2018-04-01"}],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/logAnalytics","locations":["East - US","East US 2","West US","Central US","North Central US","South Central US","North - Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia - East","Australia Southeast","Australia Central","Brazil South","South India","Central - India","West India","Canada Central","Canada East","West US 2","West Central - US","UK South","UK West","Korea Central","Korea South","France Central","South - Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01"],"capabilities":"None"},{"resourceType":"hostGroups","locations":["Central - US","East US 2","West Europe","Southeast Asia","France Central","North Europe","West - US 2","East US","UK South","Japan East","Japan West","East Asia","North Central - US","South Central US","Canada East","Korea Central","Brazil South","UK West","Canada - Central","West US","West Central US","Central India","South India","Australia - Southeast","Korea South","West India","South Africa North","UAE North","Australia - Central","Switzerland North","Germany West Central","Norway East","Australia - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01"],"defaultApiVersion":"2018-10-01","zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":[]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":[]},{"location":"Canada Central","zones":[]},{"location":"Germany - West Central","zones":[]}],"capabilities":"SupportsTags, SupportsLocation"},{"resourceType":"hostGroups/hosts","locations":["Central - US","East US 2","West Europe","Southeast Asia","France Central","North Europe","West - US 2","East US","UK South","Japan East","Japan West","East Asia","North Central - US","South Central US","Canada East","Korea Central","Brazil South","UK West","Canada - Central","West US","West Central US","Central India","South India","Australia - Southeast","Korea South","West India","South Africa North","UAE North","Australia - Central","Switzerland North","Germany West Central","Norway East","Australia - East","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01"],"defaultApiVersion":"2018-10-01","zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":[]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":[]},{"location":"Canada Central","zones":[]},{"location":"Germany - West Central","zones":[]}],"capabilities":"SupportsTags, SupportsLocation"},{"resourceType":"sharedVMExtensions","locations":["East - US 2 EUAP","Central US EUAP","West Central US","South Central US"],"apiVersions":["2019-12-01"],"defaultApiVersion":"2019-12-01","capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"sharedVMExtensions/versions","locations":["East - US 2 EUAP","Central US EUAP","West Central US","South Central US"],"apiVersions":["2019-12-01"],"defaultApiVersion":"2019-12-01","capabilities":"SupportsTags, - SupportsLocation"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' - headers: - cache-control: - - no-cache - content-length: - - '40150' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 24 Jul 2020 13:59: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 --image -g --size --host-group --host --generate-ssh-keys --admin-username - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 - Azure-SDK-For-Python AZURECLI/2.9.1 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host_000001/providers/Microsoft.Compute/hostGroups/my-host-group/hosts/my-host?api-version=2020-06-01 - response: - body: - string: "{\r\n \"name\": \"my-host\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Compute/hostGroups/my-host-group/hosts/my-host\",\r\n - \ \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"bar\": \"baz\"\r\n - \ },\r\n \"sku\": {\r\n \"name\": \"DSv3-Type1\"\r\n },\r\n \"properties\": - {\r\n \"platformFaultDomain\": 2,\r\n \"autoReplaceOnFailure\": false,\r\n - \ \"hostId\": \"76e6c3c0-60ac-497a-8ca7-0f2b1725dbcc\",\r\n \"virtualMachines\": - [],\r\n \"provisioningTime\": \"2020-07-24T13:58:53.160299+00:00\",\r\n - \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '631' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 24 Jul 2020 13:59:51 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/GetDedicatedHost3Min;245,Microsoft.Compute/GetDedicatedHost30Min;995 - status: - code: 200 - message: OK -- request: - body: 'b''{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {}, "variables": {}, "resources": [{"name": "ded-host-vmVNET", "type": "Microsoft.Network/virtualNetworks", "location": "westeurope", "apiVersion": "2015-06-15", "dependsOn": [], "tags": {}, "properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "subnets": [{"name": "ded-host-vmSubnet", "properties": {"addressPrefix": "10.0.0.0/24"}}]}}, {"type": "Microsoft.Network/networkSecurityGroups", "name": "ded-host-vmNSG", "apiVersion": - "2015-06-15", "location": "westeurope", "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": "ded-host-vmPublicIP", "location": "westeurope", "tags": {}, "dependsOn": - [], "properties": {"publicIPAllocationMethod": null}}, {"apiVersion": "2015-06-15", - "type": "Microsoft.Network/networkInterfaces", "name": "ded-host-vmVMNic", "location": - "westeurope", "tags": {}, "dependsOn": ["Microsoft.Network/virtualNetworks/ded-host-vmVNET", - "Microsoft.Network/networkSecurityGroups/ded-host-vmNSG", "Microsoft.Network/publicIpAddresses/ded-host-vmPublicIP"], - "properties": {"ipConfigurations": [{"name": "ipconfigded-host-vm", "properties": - {"privateIPAllocationMethod": "Dynamic", "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/virtualNetworks/ded-host-vmVNET/subnets/ded-host-vmSubnet"}, + "2015-06-15", "location": "westeurope", "tags": {}, "dependsOn": []}, {"apiVersion": + "2018-01-01", "type": "Microsoft.Network/publicIPAddresses", "name": "ded-host-vmPublicIP", + "location": "westeurope", "tags": {}, "dependsOn": [], "properties": {"publicIPAllocationMethod": + null}}, {"apiVersion": "2015-06-15", "type": "Microsoft.Network/networkInterfaces", + "name": "ded-host-vmVMNic", "location": "westeurope", "tags": {}, "dependsOn": + ["Microsoft.Network/virtualNetworks/ded-host-vmVNET", "Microsoft.Network/networkSecurityGroups/ded-host-vmNSG", + "Microsoft.Network/publicIpAddresses/ded-host-vmPublicIP"], "properties": {"ipConfigurations": + [{"name": "ipconfigded-host-vm", "properties": {"privateIPAllocationMethod": + "Dynamic", "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/virtualNetworks/ded-host-vmVNET/subnets/ded-host-vmSubnet"}, "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/publicIPAddresses/ded-host-vmPublicIP"}}}], "networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/networkSecurityGroups/ded-host-vmNSG"}}}, {"apiVersion": "2020-06-01", "type": "Microsoft.Compute/virtualMachines", "name": @@ -2251,10 +1955,10 @@ interactions: {"publisher": "Debian", "offer": "debian-10", "sku": "10", "version": "latest"}}, "osProfile": {"computerName": "ded-host-vm", "adminUsername": "azureuser", "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABgQDdfdN+YWbkBS84r36yJbgfTI+Gx1W/ErinzCGvXBeO0S8F8JBc45BGTSaNmgOiqVMef3L9Dne7xUv6CwK+NaPRF23B2Sfv1VT1RWjKzgsgLAGiMvMuXA8/BfnKyQU43P6ImgXW/89E8OE9tS2TYLWiSSOjSTiCDnH+bJOw0Gqb25CLhZiahL1lS8MPuZHQaLa71GGUJS93GeBBF6eM2aFKitdFif38RsHxwY/aLlKhjwuy0XPI/4HcIHJR9uyEiFsPQXZMbFPwfvTWyRQDqS0KfxgFXtoVQgaNq74zJv94JdqDykoXYrempJU33jCC06vi39u+xZHAdAagp6e8z/WQc7fIPEOoKqNBKO3UhjXfLfHsxM9QvEiE2kL1xBekS9XrzqSvYZBi4tiSiLAYajOdI5dlv9HgvRTdCtnfF6v8iVGpwql/B1OTOn/A9uCmRIu3o9aMjsQoegqGX6e+h7omfVaExdClXOrW1Qi5l9mUSDLJgsGm1sT9nLaVJlPotFM= - Zhou.Xing@microsoft.com\\n", "path": "/home/azureuser/.ssh/authorized_keys"}]}}}, + AAAAB3NzaC1yc2EAAAADAQABAAABAQDmzXeK++L20uMK/Ug5wpjnWWyMlHoecEOxyHueHc1gPDj8qgLChiHt1OWJ1sDjiqBJ+hEEwZLjN8lCmUvWzzrl20d7M/BVp1ejulE/zr999kWuY3m5+FpAkbbxeO9LWoafwOir9dPzIOjDGdPWKbgHr3SerOHAuvVdXJDhWHtW5lB/MEnrxi48Pz/8k1lD1YccUAI6zDgKVJPBEk9fWMW8H0hKYsRXmlxdtg2npBQK7kbmcB2NJPEhTVgxVPqSaBVAt2lOCC/QQvAXcoD0lJGujp1IVYqSUarS5RnrYEDZ9Q6EKduWrP0GFkFkF8YzpFe+BRFaV8bLJrvZN43vgzRj + fey@DESKTOP-ARGPJS4\n", "path": "/home/azureuser/.ssh/authorized_keys"}]}}}, "host": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Compute/hostGroups/my-host-group/hosts/my-host"}}}], - "outputs": {}}, "parameters": {}, "mode": "Incremental"}}''' + "outputs": {}}, "parameters": {}, "mode": "Incremental"}}' headers: Accept: - application/json @@ -2265,13 +1969,13 @@ interactions: Connection: - keep-alive Content-Length: - - '4229' + - '3776' Content-Type: - application/json; charset=utf-8 ParameterSetName: - - -n --image -g --size --host-group --host --generate-ssh-keys --admin-username + - -n --image -g --size --host --generate-ssh-keys --admin-username --nsg-rule User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 Azure-SDK-For-Python AZURECLI/2.9.1 accept-language: - en-US @@ -2279,18 +1983,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Resources/deployments/vm_deploy_zr9eZ3fKZgqxgeQKvbzcbVANS7ZyjLN8","name":"vm_deploy_zr9eZ3fKZgqxgeQKvbzcbVANS7ZyjLN8","type":"Microsoft.Resources/deployments","properties":{"templateHash":"15998601867543307547","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-07-24T14:00:01.0557453Z","duration":"PT2.6714086S","correlationId":"79069cd2-17d6-471a-ae1b-65c0e2bde306","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westeurope"]},{"resourceType":"networkSecurityGroups","locations":["westeurope"]},{"resourceType":"publicIPAddresses","locations":["westeurope"]},{"resourceType":"networkInterfaces","locations":["westeurope"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westeurope"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/virtualNetworks/ded-host-vmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"ded-host-vmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/networkSecurityGroups/ded-host-vmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"ded-host-vmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/publicIPAddresses/ded-host-vmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"ded-host-vmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/networkInterfaces/ded-host-vmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"ded-host-vmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/networkInterfaces/ded-host-vmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"ded-host-vmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Compute/virtualMachines/ded-host-vm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"ded-host-vm"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Resources/deployments/vm_deploy_ZcIkqdjTytgVkbnz5b4guuSwXkOAMPyF","name":"vm_deploy_ZcIkqdjTytgVkbnz5b4guuSwXkOAMPyF","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18405115850724258935","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-07-29T09:26:18.8863201Z","duration":"PT3.235418S","correlationId":"115e0d15-1487-42fa-b0b3-82df78773a44","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westeurope"]},{"resourceType":"networkSecurityGroups","locations":["westeurope"]},{"resourceType":"publicIPAddresses","locations":["westeurope"]},{"resourceType":"networkInterfaces","locations":["westeurope"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westeurope"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/virtualNetworks/ded-host-vmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"ded-host-vmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/networkSecurityGroups/ded-host-vmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"ded-host-vmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/publicIPAddresses/ded-host-vmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"ded-host-vmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/networkInterfaces/ded-host-vmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"ded-host-vmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/networkInterfaces/ded-host-vmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"ded-host-vmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Compute/virtualMachines/ded-host-vm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"ded-host-vm"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host_000001/providers/Microsoft.Resources/deployments/vm_deploy_zr9eZ3fKZgqxgeQKvbzcbVANS7ZyjLN8/operationStatuses/08586060076870932950?api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host_000001/providers/Microsoft.Resources/deployments/vm_deploy_ZcIkqdjTytgVkbnz5b4guuSwXkOAMPyF/operationStatuses/08586055921098267254?api-version=2020-06-01 cache-control: - no-cache content-length: - - '2859' + - '2858' content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 14:00:01 GMT + - Wed, 29 Jul 2020 09:26:19 GMT expires: - '-1' pragma: @@ -2300,7 +2004,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1191' status: code: 201 message: Created @@ -2316,12 +2020,12 @@ interactions: Connection: - keep-alive ParameterSetName: - - -n --image -g --size --host-group --host --generate-ssh-keys --admin-username + - -n --image -g --size --host --generate-ssh-keys --admin-username --nsg-rule User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 Azure-SDK-For-Python AZURECLI/2.9.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586060076870932950?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586055921098267254?api-version=2020-06-01 response: body: string: '{"status":"Running"}' @@ -2333,7 +2037,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 14:00:35 GMT + - Wed, 29 Jul 2020 09:26:51 GMT expires: - '-1' pragma: @@ -2359,12 +2063,12 @@ interactions: Connection: - keep-alive ParameterSetName: - - -n --image -g --size --host-group --host --generate-ssh-keys --admin-username + - -n --image -g --size --host --generate-ssh-keys --admin-username --nsg-rule User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 Azure-SDK-For-Python AZURECLI/2.9.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586060076870932950?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586055921098267254?api-version=2020-06-01 response: body: string: '{"status":"Running"}' @@ -2376,7 +2080,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 14:01:07 GMT + - Wed, 29 Jul 2020 09:27:21 GMT expires: - '-1' pragma: @@ -2402,12 +2106,12 @@ interactions: Connection: - keep-alive ParameterSetName: - - -n --image -g --size --host-group --host --generate-ssh-keys --admin-username + - -n --image -g --size --host --generate-ssh-keys --admin-username --nsg-rule User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 Azure-SDK-For-Python AZURECLI/2.9.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586060076870932950?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586055921098267254?api-version=2020-06-01 response: body: string: '{"status":"Succeeded"}' @@ -2419,7 +2123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 14:01:40 GMT + - Wed, 29 Jul 2020 09:27:52 GMT expires: - '-1' pragma: @@ -2445,15 +2149,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -n --image -g --size --host-group --host --generate-ssh-keys --admin-username + - -n --image -g --size --host --generate-ssh-keys --admin-username --nsg-rule User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 Azure-SDK-For-Python AZURECLI/2.9.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Resources/deployments/vm_deploy_zr9eZ3fKZgqxgeQKvbzcbVANS7ZyjLN8","name":"vm_deploy_zr9eZ3fKZgqxgeQKvbzcbVANS7ZyjLN8","type":"Microsoft.Resources/deployments","properties":{"templateHash":"15998601867543307547","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-07-24T14:01:11.8424339Z","duration":"PT1M13.4580972S","correlationId":"79069cd2-17d6-471a-ae1b-65c0e2bde306","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westeurope"]},{"resourceType":"networkSecurityGroups","locations":["westeurope"]},{"resourceType":"publicIPAddresses","locations":["westeurope"]},{"resourceType":"networkInterfaces","locations":["westeurope"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westeurope"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/virtualNetworks/ded-host-vmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"ded-host-vmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/networkSecurityGroups/ded-host-vmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"ded-host-vmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/publicIPAddresses/ded-host-vmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"ded-host-vmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/networkInterfaces/ded-host-vmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"ded-host-vmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/networkInterfaces/ded-host-vmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"ded-host-vmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Compute/virtualMachines/ded-host-vm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"ded-host-vm"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Compute/virtualMachines/ded-host-vm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/networkInterfaces/ded-host-vmVMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/networkSecurityGroups/ded-host-vmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/publicIPAddresses/ded-host-vmPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/virtualNetworks/ded-host-vmVNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Resources/deployments/vm_deploy_ZcIkqdjTytgVkbnz5b4guuSwXkOAMPyF","name":"vm_deploy_ZcIkqdjTytgVkbnz5b4guuSwXkOAMPyF","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18405115850724258935","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-07-29T09:27:44.2308869Z","duration":"PT1M28.5799848S","correlationId":"115e0d15-1487-42fa-b0b3-82df78773a44","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westeurope"]},{"resourceType":"networkSecurityGroups","locations":["westeurope"]},{"resourceType":"publicIPAddresses","locations":["westeurope"]},{"resourceType":"networkInterfaces","locations":["westeurope"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westeurope"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/virtualNetworks/ded-host-vmVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"ded-host-vmVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/networkSecurityGroups/ded-host-vmNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"ded-host-vmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/publicIPAddresses/ded-host-vmPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"ded-host-vmPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/networkInterfaces/ded-host-vmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"ded-host-vmVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/networkInterfaces/ded-host-vmVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"ded-host-vmVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Compute/virtualMachines/ded-host-vm","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"ded-host-vm"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Compute/virtualMachines/ded-host-vm"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/networkInterfaces/ded-host-vmVMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/networkSecurityGroups/ded-host-vmNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/publicIPAddresses/ded-host-vmPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/virtualNetworks/ded-host-vmVNET"}]}}' headers: cache-control: - no-cache @@ -2462,7 +2166,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 14:01:42 GMT + - Wed, 29 Jul 2020 09:27:52 GMT expires: - '-1' pragma: @@ -2488,9 +2192,9 @@ interactions: Connection: - keep-alive ParameterSetName: - - -n --image -g --size --host-group --host --generate-ssh-keys --admin-username + - -n --image -g --size --host --generate-ssh-keys --admin-username --nsg-rule User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.9.1 accept-language: - en-US @@ -2500,24 +2204,24 @@ interactions: body: string: "{\r\n \"name\": \"ded-host-vm\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Compute/virtualMachines/ded-host-vm\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westeurope\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"1abb586d-40c3-40ec-8d8e-16d2bb45dc63\",\r\n - \ \"host\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DEDICATED_HOST_WQYZ5WCZTTZ3A4KR57SAO54NFHLXG7OFHKG6CYBME5GYWFAHJ2H/providers/Microsoft.Compute/hostGroups/my-host-group/hosts/my-host\"\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"e9b51731-2278-444d-8b7f-ad053621e959\",\r\n + \ \"host\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DEDICATED_HOST_5ERRLSHJAHZXGQC3FCMYAQJHF2P7TUPIKOJXSXCEMR6XIWTJNMP/providers/Microsoft.Compute/hostGroups/my-host-group/hosts/my-host\"\r\n \ },\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_D4s_v3\"\r\n \ },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \ \"version\": \"latest\",\r\n \"exactVersion\": \"0.20200610.293\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"ded-host-vm_OsDisk_1_e62cc1b2e4a244d9bb52f7cfd5a6f2b3\",\r\n \"createOption\": + \"ded-host-vm_OsDisk_1_a1c83c16c2f74805ac0153f51daa015a\",\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_DEDICATED_HOST_WQYZ5WCZTTZ3A4KR57SAO54NFHLXG7OFHKG6CYBME5GYWFAHJ2H/providers/Microsoft.Compute/disks/ded-host-vm_OsDisk_1_e62cc1b2e4a244d9bb52f7cfd5a6f2b3\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DEDICATED_HOST_5ERRLSHJAHZXGQC3FCMYAQJHF2P7TUPIKOJXSXCEMR6XIWTJNMP/providers/Microsoft.Compute/disks/ded-host-vm_OsDisk_1_a1c83c16c2f74805ac0153f51daa015a\"\r\n \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"ded-host-vm\",\r\n \ \"adminUsername\": \"azureuser\",\r\n \"linuxConfiguration\": {\r\n \ \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \ \"publicKeys\": [\r\n {\r\n \"path\": \"/home/azureuser/.ssh/authorized_keys\",\r\n - \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDdfdN+YWbkBS84r36yJbgfTI+Gx1W/ErinzCGvXBeO0S8F8JBc45BGTSaNmgOiqVMef3L9Dne7xUv6CwK+NaPRF23B2Sfv1VT1RWjKzgsgLAGiMvMuXA8/BfnKyQU43P6ImgXW/89E8OE9tS2TYLWiSSOjSTiCDnH+bJOw0Gqb25CLhZiahL1lS8MPuZHQaLa71GGUJS93GeBBF6eM2aFKitdFif38RsHxwY/aLlKhjwuy0XPI/4HcIHJR9uyEiFsPQXZMbFPwfvTWyRQDqS0KfxgFXtoVQgaNq74zJv94JdqDykoXYrempJU33jCC06vi39u+xZHAdAagp6e8z/WQc7fIPEOoKqNBKO3UhjXfLfHsxM9QvEiE2kL1xBekS9XrzqSvYZBi4tiSiLAYajOdI5dlv9HgvRTdCtnfF6v8iVGpwql/B1OTOn/A9uCmRIu3o9aMjsQoegqGX6e+h7omfVaExdClXOrW1Qi5l9mUSDLJgsGm1sT9nLaVJlPotFM= - Zhou.Xing@microsoft.com\\n\"\r\n }\r\n ]\r\n },\r\n + \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDmzXeK++L20uMK/Ug5wpjnWWyMlHoecEOxyHueHc1gPDj8qgLChiHt1OWJ1sDjiqBJ+hEEwZLjN8lCmUvWzzrl20d7M/BVp1ejulE/zr999kWuY3m5+FpAkbbxeO9LWoafwOir9dPzIOjDGdPWKbgHr3SerOHAuvVdXJDhWHtW5lB/MEnrxi48Pz/8k1lD1YccUAI6zDgKVJPBEk9fWMW8H0hKYsRXmlxdtg2npBQK7kbmcB2NJPEhTVgxVPqSaBVAt2lOCC/QQvAXcoD0lJGujp1IVYqSUarS5RnrYEDZ9Q6EKduWrP0GFkFkF8YzpFe+BRFaV8bLJrvZN43vgzRj + fey@DESKTOP-ARGPJS4\\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_dedicated_host_000001/providers/Microsoft.Network/networkInterfaces/ded-host-vmVMNic\"}]},\r\n @@ -2527,15 +2231,15 @@ interactions: \"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\": - \"2020-07-24T14:01:45+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"ded-host-vm_OsDisk_1_e62cc1b2e4a244d9bb52f7cfd5a6f2b3\",\r\n + \"2020-07-29T09:27:52+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"ded-host-vm_OsDisk_1_a1c83c16c2f74805ac0153f51daa015a\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2020-07-24T14:00:25.1143502+00:00\"\r\n + succeeded\",\r\n \"time\": \"2020-07-29T09:26:55.4573579+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\": \"2020-07-24T14:01:10.4274671+00:00\"\r\n + succeeded\",\r\n \"time\": \"2020-07-29T09:27:39.4571626+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}" @@ -2543,11 +2247,11 @@ interactions: cache-control: - no-cache content-length: - - '4284' + - '4108' content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 14:01:45 GMT + - Wed, 29 Jul 2020 09:27:54 GMT expires: - '-1' pragma: @@ -2564,7 +2268,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31996 + - Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31981 status: code: 200 message: OK @@ -2580,9 +2284,9 @@ interactions: Connection: - keep-alive ParameterSetName: - - -n --image -g --size --host-group --host --generate-ssh-keys --admin-username + - -n --image -g --size --host --generate-ssh-keys --admin-username --nsg-rule User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/11.0.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/11.0.0 Azure-SDK-For-Python AZURECLI/2.9.1 accept-language: - en-US @@ -2591,12 +2295,12 @@ interactions: response: body: string: "{\r\n \"name\": \"ded-host-vmVMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/networkInterfaces/ded-host-vmVMNic\",\r\n - \ \"etag\": \"W/\\\"ec0ddf46-a009-4532-ad4c-3bf04a73bab0\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"4bb7895f-13d3-4afa-bd12-3e6b2beaba91\\\"\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"ebac9c34-1d53-41a9-b627-2c68d8cdd696\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"745dee2f-99b9-4aba-b69f-9ee38385336c\",\r\n \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigded-host-vm\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/networkInterfaces/ded-host-vmVMNic/ipConfigurations/ipconfigded-host-vm\",\r\n - \ \"etag\": \"W/\\\"ec0ddf46-a009-4532-ad4c-3bf04a73bab0\\\"\",\r\n + \ \"etag\": \"W/\\\"4bb7895f-13d3-4afa-bd12-3e6b2beaba91\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -2605,8 +2309,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\": - \"mpbu0klq3pqu5dqaedkgfydtbf.ax.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-0D-3A-20-4A-85\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \"1hkudz4gl25efeys24of1kjnba.ax.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-BE-5A-AF\",\r\n \"enableAcceleratedNetworking\": false,\r\n \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/networkSecurityGroups/ded-host-vmNSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": @@ -2620,9 +2324,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 14:01:47 GMT + - Wed, 29 Jul 2020 09:27:54 GMT etag: - - W/"ec0ddf46-a009-4532-ad4c-3bf04a73bab0" + - W/"4bb7895f-13d3-4afa-bd12-3e6b2beaba91" expires: - '-1' pragma: @@ -2639,7 +2343,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 95501f87-672c-481f-a893-5f27a98bc03b + - 3342c279-5f24-49f2-9e60-bf2bc5ad3952 status: code: 200 message: OK @@ -2655,9 +2359,9 @@ interactions: Connection: - keep-alive ParameterSetName: - - -n --image -g --size --host-group --host --generate-ssh-keys --admin-username + - -n --image -g --size --host --generate-ssh-keys --admin-username --nsg-rule User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/11.0.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/11.0.0 Azure-SDK-For-Python AZURECLI/2.9.1 accept-language: - en-US @@ -2666,10 +2370,10 @@ interactions: response: body: string: "{\r\n \"name\": \"ded-host-vmPublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Network/publicIPAddresses/ded-host-vmPublicIP\",\r\n - \ \"etag\": \"W/\\\"6a69d170-9d93-4f17-b9c4-0b3d72d084c7\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"e215ba41-dcf9-4344-9690-10ba7dd0d0f7\\\"\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"965bc146-cc82-4478-941c-2f1fde992d62\",\r\n - \ \"ipAddress\": \"52.166.95.109\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"c44de78e-2b1e-449f-b22f-9057b26f9152\",\r\n + \ \"ipAddress\": \"52.236.169.24\",\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_dedicated_host_000001/providers/Microsoft.Network/networkInterfaces/ded-host-vmVMNic/ipConfigurations/ipconfigded-host-vm\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n @@ -2682,9 +2386,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 14:01:49 GMT + - Wed, 29 Jul 2020 09:27:55 GMT etag: - - W/"6a69d170-9d93-4f17-b9c4-0b3d72d084c7" + - W/"e215ba41-dcf9-4344-9690-10ba7dd0d0f7" expires: - '-1' pragma: @@ -2701,7 +2405,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 121453dc-a824-4c14-8d23-09ed1c84f648 + - 88bd10cf-4a49-477f-8f29-95399ceb9c8d status: code: 200 message: OK @@ -2719,7 +2423,7 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.9.1 accept-language: - en-US @@ -2729,24 +2433,24 @@ interactions: body: string: "{\r\n \"name\": \"ded-host-vm\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Compute/virtualMachines/ded-host-vm\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westeurope\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"1abb586d-40c3-40ec-8d8e-16d2bb45dc63\",\r\n - \ \"host\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DEDICATED_HOST_WQYZ5WCZTTZ3A4KR57SAO54NFHLXG7OFHKG6CYBME5GYWFAHJ2H/providers/Microsoft.Compute/hostGroups/my-host-group/hosts/my-host\"\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"e9b51731-2278-444d-8b7f-ad053621e959\",\r\n + \ \"host\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DEDICATED_HOST_5ERRLSHJAHZXGQC3FCMYAQJHF2P7TUPIKOJXSXCEMR6XIWTJNMP/providers/Microsoft.Compute/hostGroups/my-host-group/hosts/my-host\"\r\n \ },\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_D4s_v3\"\r\n \ },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \ \"version\": \"latest\",\r\n \"exactVersion\": \"0.20200610.293\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"ded-host-vm_OsDisk_1_e62cc1b2e4a244d9bb52f7cfd5a6f2b3\",\r\n \"createOption\": + \"ded-host-vm_OsDisk_1_a1c83c16c2f74805ac0153f51daa015a\",\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_DEDICATED_HOST_WQYZ5WCZTTZ3A4KR57SAO54NFHLXG7OFHKG6CYBME5GYWFAHJ2H/providers/Microsoft.Compute/disks/ded-host-vm_OsDisk_1_e62cc1b2e4a244d9bb52f7cfd5a6f2b3\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DEDICATED_HOST_5ERRLSHJAHZXGQC3FCMYAQJHF2P7TUPIKOJXSXCEMR6XIWTJNMP/providers/Microsoft.Compute/disks/ded-host-vm_OsDisk_1_a1c83c16c2f74805ac0153f51daa015a\"\r\n \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"ded-host-vm\",\r\n \ \"adminUsername\": \"azureuser\",\r\n \"linuxConfiguration\": {\r\n \ \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \ \"publicKeys\": [\r\n {\r\n \"path\": \"/home/azureuser/.ssh/authorized_keys\",\r\n - \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDdfdN+YWbkBS84r36yJbgfTI+Gx1W/ErinzCGvXBeO0S8F8JBc45BGTSaNmgOiqVMef3L9Dne7xUv6CwK+NaPRF23B2Sfv1VT1RWjKzgsgLAGiMvMuXA8/BfnKyQU43P6ImgXW/89E8OE9tS2TYLWiSSOjSTiCDnH+bJOw0Gqb25CLhZiahL1lS8MPuZHQaLa71GGUJS93GeBBF6eM2aFKitdFif38RsHxwY/aLlKhjwuy0XPI/4HcIHJR9uyEiFsPQXZMbFPwfvTWyRQDqS0KfxgFXtoVQgaNq74zJv94JdqDykoXYrempJU33jCC06vi39u+xZHAdAagp6e8z/WQc7fIPEOoKqNBKO3UhjXfLfHsxM9QvEiE2kL1xBekS9XrzqSvYZBi4tiSiLAYajOdI5dlv9HgvRTdCtnfF6v8iVGpwql/B1OTOn/A9uCmRIu3o9aMjsQoegqGX6e+h7omfVaExdClXOrW1Qi5l9mUSDLJgsGm1sT9nLaVJlPotFM= - Zhou.Xing@microsoft.com\\n\"\r\n }\r\n ]\r\n },\r\n + \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDmzXeK++L20uMK/Ug5wpjnWWyMlHoecEOxyHueHc1gPDj8qgLChiHt1OWJ1sDjiqBJ+hEEwZLjN8lCmUvWzzrl20d7M/BVp1ejulE/zr999kWuY3m5+FpAkbbxeO9LWoafwOir9dPzIOjDGdPWKbgHr3SerOHAuvVdXJDhWHtW5lB/MEnrxi48Pz/8k1lD1YccUAI6zDgKVJPBEk9fWMW8H0hKYsRXmlxdtg2npBQK7kbmcB2NJPEhTVgxVPqSaBVAt2lOCC/QQvAXcoD0lJGujp1IVYqSUarS5RnrYEDZ9Q6EKduWrP0GFkFkF8YzpFe+BRFaV8bLJrvZN43vgzRj + fey@DESKTOP-ARGPJS4\\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_dedicated_host_000001/providers/Microsoft.Network/networkInterfaces/ded-host-vmVMNic\"}]},\r\n @@ -2755,11 +2459,11 @@ interactions: cache-control: - no-cache content-length: - - '2944' + - '2768' content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 14:01:52 GMT + - Wed, 29 Jul 2020 09:27:56 GMT expires: - '-1' pragma: @@ -2776,7 +2480,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3995,Microsoft.Compute/LowCostGet30Min;31995 + - Microsoft.Compute/LowCostGet3Min;3995,Microsoft.Compute/LowCostGet30Min;31980 status: code: 200 message: OK @@ -2794,7 +2498,7 @@ interactions: ParameterSetName: - --name --host-group -g User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.9.1 accept-language: - en-US @@ -2806,19 +2510,19 @@ interactions: \ \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"bar\": \"baz\"\r\n \ },\r\n \"sku\": {\r\n \"name\": \"DSv3-Type1\"\r\n },\r\n \"properties\": {\r\n \"platformFaultDomain\": 2,\r\n \"autoReplaceOnFailure\": false,\r\n - \ \"hostId\": \"76e6c3c0-60ac-497a-8ca7-0f2b1725dbcc\",\r\n \"virtualMachines\": - [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DEDICATED_HOST_WQYZ5WCZTTZ3A4KR57SAO54NFHLXG7OFHKG6CYBME5GYWFAHJ2H/providers/Microsoft.Compute/virtualMachines/DED-HOST-VM\"\r\n - \ }\r\n ],\r\n \"provisioningTime\": \"2020-07-24T13:58:53.160299+00:00\",\r\n + \ \"hostId\": \"d4329273-3fc9-4ec3-87ac-130038a0663a\",\r\n \"virtualMachines\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DEDICATED_HOST_5ERRLSHJAHZXGQC3FCMYAQJHF2P7TUPIKOJXSXCEMR6XIWTJNMP/providers/Microsoft.Compute/virtualMachines/DED-HOST-VM\"\r\n + \ }\r\n ],\r\n \"provisioningTime\": \"2020-07-29T09:25:34.2386891+00:00\",\r\n \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '871' + - '872' content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 14:01:53 GMT + - Wed, 29 Jul 2020 09:27:56 GMT expires: - '-1' pragma: @@ -2835,7 +2539,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetDedicatedHost3Min;245,Microsoft.Compute/GetDedicatedHost30Min;994 + - Microsoft.Compute/GetDedicatedHost3Min;244,Microsoft.Compute/GetDedicatedHost30Min;966 status: code: 200 message: OK @@ -2853,7 +2557,7 @@ interactions: ParameterSetName: - --name -g User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.9.1 accept-language: - en-US @@ -2861,10 +2565,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host_000001/providers/Microsoft.Compute/hostGroups/my-host-group?api-version=2020-06-01 response: body: - string: "{\r\n \"name\": \"my-host-group\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DEDICATED_HOST_WQYZ5WCZTTZ3A4KR57SAO54NFHLXG7OFHKG6CYBME5GYWFAHJ2H/providers/Microsoft.Compute/hostGroups/my-host-group\",\r\n + string: "{\r\n \"name\": \"my-host-group\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DEDICATED_HOST_5ERRLSHJAHZXGQC3FCMYAQJHF2P7TUPIKOJXSXCEMR6XIWTJNMP/providers/Microsoft.Compute/hostGroups/my-host-group\",\r\n \ \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"foo\": \"bar\"\r\n \ },\r\n \"properties\": {\r\n \"platformFaultDomainCount\": 3,\r\n \"hosts\": - [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DEDICATED_HOST_WQYZ5WCZTTZ3A4KR57SAO54NFHLXG7OFHKG6CYBME5GYWFAHJ2H/providers/Microsoft.Compute/hostGroups/MY-HOST-GROUP/hosts/MY-HOST\"\r\n + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DEDICATED_HOST_5ERRLSHJAHZXGQC3FCMYAQJHF2P7TUPIKOJXSXCEMR6XIWTJNMP/providers/Microsoft.Compute/hostGroups/MY-HOST-GROUP/hosts/MY-HOST\"\r\n \ }\r\n ]\r\n }\r\n}" headers: cache-control: @@ -2874,7 +2578,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 14:01:57 GMT + - Wed, 29 Jul 2020 09:27:58 GMT expires: - '-1' pragma: @@ -2891,7 +2595,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetDedicatedHost30Min;993 + - Microsoft.Compute/GetDedicatedHost30Min;965 status: code: 200 message: OK @@ -2911,7 +2615,7 @@ interactions: ParameterSetName: - --name -g --yes User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.9.1 accept-language: - en-US @@ -2924,17 +2628,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/operations/cda88996-6401-4c7a-9577-5cb3c5459be6?api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/operations/674432c1-824a-4d19-b176-d5023dd563ba?api-version=2020-06-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 24 Jul 2020 14:02:01 GMT + - Wed, 29 Jul 2020 09:27:59 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/operations/cda88996-6401-4c7a-9577-5cb3c5459be6?monitor=true&api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/operations/674432c1-824a-4d19-b176-d5023dd563ba?monitor=true&api-version=2020-06-01 pragma: - no-cache server: @@ -2945,9 +2649,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/DeleteVM3Min;239,Microsoft.Compute/DeleteVM30Min;1199 + - Microsoft.Compute/DeleteVM3Min;239,Microsoft.Compute/DeleteVM30Min;1197 x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14995' status: code: 202 message: Accepted @@ -2965,23 +2669,23 @@ interactions: ParameterSetName: - --name -g --yes User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.9.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/operations/cda88996-6401-4c7a-9577-5cb3c5459be6?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/operations/674432c1-824a-4d19-b176-d5023dd563ba?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-07-24T14:02:02.3030454+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"cda88996-6401-4c7a-9577-5cb3c5459be6\"\r\n}" + string: "{\r\n \"startTime\": \"2020-07-29T09:27:59.941535+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"674432c1-824a-4d19-b176-d5023dd563ba\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 14:02:15 GMT + - Wed, 29 Jul 2020 09:28:10 GMT expires: - '-1' pragma: @@ -2998,7 +2702,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14997,Microsoft.Compute/GetOperation30Min;29995 + - Microsoft.Compute/GetOperation3Min;14995,Microsoft.Compute/GetOperation30Min;29980 status: code: 200 message: OK @@ -3016,15 +2720,15 @@ interactions: ParameterSetName: - --name -g --yes User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.9.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/operations/cda88996-6401-4c7a-9577-5cb3c5459be6?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/operations/674432c1-824a-4d19-b176-d5023dd563ba?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-07-24T14:02:02.3030454+00:00\",\r\n \"endTime\": - \"2020-07-24T14:02:44.241019+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"cda88996-6401-4c7a-9577-5cb3c5459be6\"\r\n}" + string: "{\r\n \"startTime\": \"2020-07-29T09:27:59.941535+00:00\",\r\n \"endTime\": + \"2020-07-29T09:28:38.4884677+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"674432c1-824a-4d19-b176-d5023dd563ba\"\r\n}" headers: cache-control: - no-cache @@ -3033,7 +2737,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 14:02:47 GMT + - Wed, 29 Jul 2020 09:28:41 GMT expires: - '-1' pragma: @@ -3050,7 +2754,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14995,Microsoft.Compute/GetOperation30Min;29993 + - Microsoft.Compute/GetOperation3Min;14995,Microsoft.Compute/GetOperation30Min;29979 status: code: 200 message: OK @@ -3070,7 +2774,7 @@ interactions: ParameterSetName: - --name --host-group -g --yes User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.9.1 accept-language: - en-US @@ -3083,17 +2787,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/operations/39caaf89-f55a-4ceb-8524-049de59a0cb1?api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/operations/7652be29-9875-49ce-a77c-d19106959127?api-version=2020-06-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 24 Jul 2020 14:03:25 GMT + - Wed, 29 Jul 2020 09:29:15 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/operations/39caaf89-f55a-4ceb-8524-049de59a0cb1?monitor=true&api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/operations/7652be29-9875-49ce-a77c-d19106959127?monitor=true&api-version=2020-06-01 pragma: - no-cache server: @@ -3104,9 +2808,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PutDeleteDedicatedHost3Min;119,Microsoft.Compute/PutDeleteDedicatedHost30Min;597 + - Microsoft.Compute/PutDeleteDedicatedHost3Min;119,Microsoft.Compute/PutDeleteDedicatedHost30Min;591 x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14997' status: code: 202 message: Accepted @@ -3124,15 +2828,15 @@ interactions: ParameterSetName: - --name --host-group -g --yes User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.9.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/operations/39caaf89-f55a-4ceb-8524-049de59a0cb1?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/operations/7652be29-9875-49ce-a77c-d19106959127?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-07-24T14:03:25.8196353+00:00\",\r\n \"endTime\": - \"2020-07-24T14:03:25.8821371+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"39caaf89-f55a-4ceb-8524-049de59a0cb1\"\r\n}" + string: "{\r\n \"startTime\": \"2020-07-29T09:29:15.6915625+00:00\",\r\n \"endTime\": + \"2020-07-29T09:29:15.7696841+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"7652be29-9875-49ce-a77c-d19106959127\"\r\n}" headers: cache-control: - no-cache @@ -3141,7 +2845,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 24 Jul 2020 14:04:08 GMT + - Wed, 29 Jul 2020 09:29:46 GMT expires: - '-1' pragma: @@ -3158,7 +2862,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14995,Microsoft.Compute/GetOperation30Min;29991 + - Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29976 status: code: 200 message: OK @@ -3178,7 +2882,7 @@ interactions: ParameterSetName: - --name -g --yes User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.9.1 accept-language: - en-US @@ -3193,7 +2897,7 @@ interactions: content-length: - '0' date: - - Fri, 24 Jul 2020 14:04:47 GMT + - Wed, 29 Jul 2020 09:30:22 GMT expires: - '-1' pragma: @@ -3206,9 +2910,3393 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PutDeleteDedicatedHost3Min;118,Microsoft.Compute/PutDeleteDedicatedHost30Min;596 + - Microsoft.Compute/PutDeleteDedicatedHost3Min;118,Microsoft.Compute/PutDeleteDedicatedHost30Min;592 x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14994' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm host group create + Connection: + - keep-alive + ParameterSetName: + - -n -c -g --automatic-placement + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host2_000002?api-version=2020-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002","name":"cli_test_dedicated_host2_000002","type":"Microsoft.Resources/resourceGroups","location":"centraluseuap","tags":{"product":"azurecli","cause":"automation","date":"2020-07-29T09:25:18Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '435' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:30:22 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": "centraluseuap", "properties": {"platformFaultDomainCount": + 1, "supportAutomaticPlacement": true}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm host group create + Connection: + - keep-alive + Content-Length: + - '111' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -c -g --automatic-placement + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/hostGroups/my-host-group?api-version=2020-06-01 + response: + body: + string: "{\r\n \"name\": \"my-host-group\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DEDICATED_HOST2_4ZDQV764YKL7SROQB55ND7AHG3ZLWQZG227375ER32JFWB3EEK/providers/Microsoft.Compute/hostGroups/my-host-group\",\r\n + \ \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"platformFaultDomainCount\": + 1,\r\n \"supportAutomaticPlacement\": true\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '371' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:30:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/PutDeleteDedicatedHost3Min;119,Microsoft.Compute/PutDeleteDedicatedHost30Min;592 + x-ms-ratelimit-remaining-subscription-writes: + - '1194' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm host create + Connection: + - keep-alive + ParameterSetName: + - -n --host-group -d -g --sku + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host2_000002?api-version=2020-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002","name":"cli_test_dedicated_host2_000002","type":"Microsoft.Resources/resourceGroups","location":"centraluseuap","tags":{"product":"azurecli","cause":"automation","date":"2020-07-29T09:25:18Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '435' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:30:29 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": "centraluseuap", "properties": {"platformFaultDomain": 0}, + "sku": {"name": "DSv3-Type1"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm host create + Connection: + - keep-alive + Content-Length: + - '102' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n --host-group -d -g --sku + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/hostGroups/my-host-group/hosts/my-host?api-version=2020-06-01 + response: + body: + string: "{\r\n \"name\": \"my-host\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/hostGroups/my-host-group/hosts/my-host\",\r\n + \ \"location\": \"centraluseuap\",\r\n \"sku\": {\r\n \"name\": \"DSv3-Type1\"\r\n + \ },\r\n \"properties\": {\r\n \"platformFaultDomain\": 0,\r\n \"autoReplaceOnFailure\": + true,\r\n \"hostId\": \"4e1eaba2-867a-48f5-8162-926c76747bcd\",\r\n \"provisioningState\": + \"Creating\"\r\n }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/c2ec1bdf-309a-489e-9afb-7e4da0cd296b?api-version=2020-06-01 + cache-control: + - no-cache + content-length: + - '506' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:30:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/PutDeleteDedicatedHost3Min;118,Microsoft.Compute/PutDeleteDedicatedHost30Min;591 + x-ms-ratelimit-remaining-subscription-writes: + - '1194' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm host create + Connection: + - keep-alive + ParameterSetName: + - -n --host-group -d -g --sku + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/c2ec1bdf-309a-489e-9afb-7e4da0cd296b?api-version=2020-06-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-07-29T09:30:34.1601352+00:00\",\r\n \"endTime\": + \"2020-07-29T09:30:35.4413881+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"c2ec1bdf-309a-489e-9afb-7e4da0cd296b\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:31:07 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/GetOperation3Min;14995,Microsoft.Compute/GetOperation30Min;29992 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm host create + Connection: + - keep-alive + ParameterSetName: + - -n --host-group -d -g --sku + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/hostGroups/my-host-group/hosts/my-host?api-version=2020-06-01 + response: + body: + string: "{\r\n \"name\": \"my-host\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/hostGroups/my-host-group/hosts/my-host\",\r\n + \ \"location\": \"centraluseuap\",\r\n \"sku\": {\r\n \"name\": \"DSv3-Type1\"\r\n + \ },\r\n \"properties\": {\r\n \"platformFaultDomain\": 0,\r\n \"autoReplaceOnFailure\": + true,\r\n \"hostId\": \"4e1eaba2-867a-48f5-8162-926c76747bcd\",\r\n \"virtualMachines\": + [],\r\n \"provisioningTime\": \"2020-07-29T09:30:35.4101394+00:00\",\r\n + \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:31:07 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/GetDedicatedHost3Min;244,Microsoft.Compute/GetDedicatedHost30Min;986 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --host --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host2_000002?api-version=2020-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002","name":"cli_test_dedicated_host2_000002","type":"Microsoft.Resources/resourceGroups","location":"centraluseuap","tags":{"product":"azurecli","cause":"automation","date":"2020-07-29T09:25:18Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '435' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:31: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: + - '*/*' + 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: + - Wed, 29 Jul 2020 09:31:10 GMT + etag: + - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" + expires: + - Wed, 29 Jul 2020 09:36:10 GMT + source-age: + - '0' + strict-transport-security: + - max-age=31536000 + vary: + - Authorization,Accept-Encoding, Accept-Encoding + via: + - 1.1 varnish (Varnish/6.0) + - 1.1 varnish + x-cache: + - HIT, HIT + x-cache-hits: + - 3, 1 + x-content-type-options: + - nosniff + x-fastly-request-id: + - 6bf6a2f51b99127edde4fba9b5193db2f65354a5 + x-frame-options: + - deny + x-github-request-id: + - 5606:45C7:20635:24EAA:5F21356E + x-served-by: + - cache-sin18023-SIN + x-timer: + - S1596015070.922980,VS0,VE248 + 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: + - -g -n --image --host --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/11.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/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: + - Wed, 29 Jul 2020 09:31: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: + - -g -n --image --host --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/centraluseuap/vmSizes?api-version=2020-06-01 + response: + body: + string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"Standard_B1ls\",\r\n + \ \"numberOfCores\": 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 4096,\r\n \"memoryInMB\": 512,\r\n \"maxDataDiskCount\": 2\r\n },\r\n + \ {\r\n \"name\": \"Standard_B1ms\",\r\n \"numberOfCores\": 1,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 4096,\r\n + \ \"memoryInMB\": 2048,\r\n \"maxDataDiskCount\": 2\r\n },\r\n + \ {\r\n \"name\": \"Standard_B1s\",\r\n \"numberOfCores\": 1,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 4096,\r\n + \ \"memoryInMB\": 1024,\r\n \"maxDataDiskCount\": 2\r\n },\r\n + \ {\r\n \"name\": \"Standard_B2ms\",\r\n \"numberOfCores\": 2,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 16384,\r\n + \ \"memoryInMB\": 8192,\r\n \"maxDataDiskCount\": 4\r\n },\r\n + \ {\r\n \"name\": \"Standard_B2s\",\r\n \"numberOfCores\": 2,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 8192,\r\n + \ \"memoryInMB\": 4096,\r\n \"maxDataDiskCount\": 4\r\n },\r\n + \ {\r\n \"name\": \"Standard_B4ms\",\r\n \"numberOfCores\": 4,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 32768,\r\n + \ \"memoryInMB\": 16384,\r\n \"maxDataDiskCount\": 8\r\n },\r\n + \ {\r\n \"name\": \"Standard_B8ms\",\r\n \"numberOfCores\": 8,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 65536,\r\n + \ \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 16\r\n },\r\n + \ {\r\n \"name\": \"Standard_B12ms\",\r\n \"numberOfCores\": 12,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 98304,\r\n + \ \"memoryInMB\": 49152,\r\n \"maxDataDiskCount\": 16\r\n },\r\n + \ {\r\n \"name\": \"Standard_B16ms\",\r\n \"numberOfCores\": 16,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 131072,\r\n + \ \"memoryInMB\": 65536,\r\n \"maxDataDiskCount\": 32\r\n },\r\n + \ {\r\n \"name\": \"Standard_B20ms\",\r\n \"numberOfCores\": 20,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 163840,\r\n + \ \"memoryInMB\": 81920,\r\n \"maxDataDiskCount\": 32\r\n },\r\n + \ {\r\n \"name\": \"Standard_D1_v2\",\r\n \"numberOfCores\": 1,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 51200,\r\n + \ \"memoryInMB\": 3584,\r\n \"maxDataDiskCount\": 4\r\n },\r\n + \ {\r\n \"name\": \"Standard_D2_v2\",\r\n \"numberOfCores\": 2,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 102400,\r\n + \ \"memoryInMB\": 7168,\r\n \"maxDataDiskCount\": 8\r\n },\r\n + \ {\r\n \"name\": \"Standard_D3_v2\",\r\n \"numberOfCores\": 4,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 204800,\r\n + \ \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 16\r\n },\r\n + \ {\r\n \"name\": \"Standard_D4_v2\",\r\n \"numberOfCores\": 8,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 409600,\r\n + \ \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 32\r\n },\r\n + \ {\r\n \"name\": \"Standard_D5_v2\",\r\n \"numberOfCores\": 16,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 819200,\r\n + \ \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 64\r\n },\r\n + \ {\r\n \"name\": \"Standard_D11_v2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 102400,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_D12_v2\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 204800,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_D13_v2\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 409600,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D14_v2\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 819200,\r\n \"memoryInMB\": 114688,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_D2_v2_Promo\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 102400,\r\n \"memoryInMB\": 7168,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_D3_v2_Promo\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 204800,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_D4_v2_Promo\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 409600,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D5_v2_Promo\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 819200,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_D11_v2_Promo\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 102400,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_D12_v2_Promo\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 204800,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_D13_v2_Promo\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 409600,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D14_v2_Promo\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 819200,\r\n \"memoryInMB\": 114688,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_F1\",\r\n \"numberOfCores\": + 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 16384,\r\n \"memoryInMB\": 2048,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_F2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 32768,\r\n \"memoryInMB\": 4096,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_F4\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 65536,\r\n \"memoryInMB\": 8192,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_F8\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 131072,\r\n \"memoryInMB\": 16384,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_F16\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 262144,\r\n \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS1_v2\",\r\n \"numberOfCores\": + 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 7168,\r\n \"memoryInMB\": 3584,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS2_v2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 14336,\r\n \"memoryInMB\": 7168,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS3_v2\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 28672,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS4_v2\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 57344,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS5_v2\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 114688,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS11-1_v2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 28672,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS11_v2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 28672,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS12-1_v2\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 57344,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS12-2_v2\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 57344,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS12_v2\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 57344,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS13-2_v2\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 114688,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS13-4_v2\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 114688,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS13_v2\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 114688,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS14-4_v2\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 229376,\r\n \"memoryInMB\": 114688,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS14-8_v2\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 229376,\r\n \"memoryInMB\": 114688,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS14_v2\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 229376,\r\n \"memoryInMB\": 114688,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS2_v2_Promo\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 14336,\r\n \"memoryInMB\": 7168,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS3_v2_Promo\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 28672,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS4_v2_Promo\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 57344,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS5_v2_Promo\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 114688,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS11_v2_Promo\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 28672,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS12_v2_Promo\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 57344,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS13_v2_Promo\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 114688,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS14_v2_Promo\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 229376,\r\n \"memoryInMB\": 114688,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_F1s\",\r\n \"numberOfCores\": + 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 4096,\r\n \"memoryInMB\": 2048,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_F2s\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 8192,\r\n \"memoryInMB\": 4096,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_F4s\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 16384,\r\n \"memoryInMB\": 8192,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_F8s\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 32768,\r\n \"memoryInMB\": 16384,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_F16s\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 65536,\r\n \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_A1_v2\",\r\n \"numberOfCores\": + 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 10240,\r\n \"memoryInMB\": 2048,\r\n \"maxDataDiskCount\": 2\r\n + \ },\r\n {\r\n \"name\": \"Standard_A2m_v2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 20480,\r\n \"memoryInMB\": 16384,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_A2_v2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 20480,\r\n \"memoryInMB\": 4096,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_A4m_v2\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 40960,\r\n \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_A4_v2\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 40960,\r\n \"memoryInMB\": 8192,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_A8m_v2\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 81920,\r\n \"memoryInMB\": 65536,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_A8_v2\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 81920,\r\n \"memoryInMB\": 16384,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_D2_v3\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 51200,\r\n \"memoryInMB\": 8192,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_D4_v3\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 102400,\r\n \"memoryInMB\": 16384,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_D8_v3\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 204800,\r\n \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_D16_v3\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 409600,\r\n \"memoryInMB\": 65536,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D32_v3\",\r\n \"numberOfCores\": + 32,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 819200,\r\n \"memoryInMB\": 131072,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D48_v3\",\r\n \"numberOfCores\": + 48,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 1228800,\r\n \"memoryInMB\": 196608,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D64_v3\",\r\n \"numberOfCores\": + 64,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 1638400,\r\n \"memoryInMB\": 262144,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D2s_v3\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 16384,\r\n \"memoryInMB\": 8192,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_D4s_v3\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 32768,\r\n \"memoryInMB\": 16384,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_D8s_v3\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 65536,\r\n \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_D16s_v3\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 131072,\r\n \"memoryInMB\": 65536,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D32s_v3\",\r\n \"numberOfCores\": + 32,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 262144,\r\n \"memoryInMB\": 131072,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D48s_v3\",\r\n \"numberOfCores\": + 48,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 393216,\r\n \"memoryInMB\": 196608,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D64s_v3\",\r\n \"numberOfCores\": + 64,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 524288,\r\n \"memoryInMB\": 262144,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E2_v3\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 51200,\r\n \"memoryInMB\": 16384,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_E4_v3\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 102400,\r\n \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_E8_v3\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 204800,\r\n \"memoryInMB\": 65536,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_E16_v3\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 409600,\r\n \"memoryInMB\": 131072,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E20_v3\",\r\n \"numberOfCores\": + 20,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 512000,\r\n \"memoryInMB\": 163840,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E32_v3\",\r\n \"numberOfCores\": + 32,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 819200,\r\n \"memoryInMB\": 262144,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E48_v3\",\r\n \"numberOfCores\": + 48,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 1228800,\r\n \"memoryInMB\": 393216,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E64i_v3\",\r\n \"numberOfCores\": + 64,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 1638400,\r\n \"memoryInMB\": 442368,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E64_v3\",\r\n \"numberOfCores\": + 64,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 1638400,\r\n \"memoryInMB\": 442368,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E2s_v3\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 32768,\r\n \"memoryInMB\": 16384,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_E4-2s_v3\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 65536,\r\n \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_E4s_v3\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 65536,\r\n \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_E8-2s_v3\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 131072,\r\n \"memoryInMB\": 65536,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_E8-4s_v3\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 131072,\r\n \"memoryInMB\": 65536,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_E8s_v3\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 131072,\r\n \"memoryInMB\": 65536,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_E16-4s_v3\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 262144,\r\n \"memoryInMB\": 131072,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E16-8s_v3\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 262144,\r\n \"memoryInMB\": 131072,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E16s_v3\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 262144,\r\n \"memoryInMB\": 131072,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E20s_v3\",\r\n \"numberOfCores\": + 20,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 327680,\r\n \"memoryInMB\": 163840,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E32-8s_v3\",\r\n \"numberOfCores\": + 32,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 524288,\r\n \"memoryInMB\": 262144,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E32-16s_v3\",\r\n \"numberOfCores\": + 32,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 524288,\r\n \"memoryInMB\": 262144,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E32s_v3\",\r\n \"numberOfCores\": + 32,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 524288,\r\n \"memoryInMB\": 262144,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E48s_v3\",\r\n \"numberOfCores\": + 48,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 786432,\r\n \"memoryInMB\": 393216,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E64-16s_v3\",\r\n \"numberOfCores\": + 64,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 884736,\r\n \"memoryInMB\": 442368,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E64-32s_v3\",\r\n \"numberOfCores\": + 64,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 884736,\r\n \"memoryInMB\": 442368,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E64is_v3\",\r\n \"numberOfCores\": + 64,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 884736,\r\n \"memoryInMB\": 442368,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E64s_v3\",\r\n \"numberOfCores\": + 64,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 884736,\r\n \"memoryInMB\": 442368,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_F2s_v2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 16384,\r\n \"memoryInMB\": 4096,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_F4s_v2\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 32768,\r\n \"memoryInMB\": 8192,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_F8s_v2\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 65536,\r\n \"memoryInMB\": 16384,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_F16s_v2\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 131072,\r\n \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_F32s_v2\",\r\n \"numberOfCores\": + 32,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 262144,\r\n \"memoryInMB\": 65536,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_F48s_v2\",\r\n \"numberOfCores\": + 48,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 393216,\r\n \"memoryInMB\": 98304,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_F64s_v2\",\r\n \"numberOfCores\": + 64,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 524288,\r\n \"memoryInMB\": 131072,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_F72s_v2\",\r\n \"numberOfCores\": + 72,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 589824,\r\n \"memoryInMB\": 147456,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_A0\",\r\n \"numberOfCores\": + 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 20480,\r\n \"memoryInMB\": 768,\r\n \"maxDataDiskCount\": 1\r\n + \ },\r\n {\r\n \"name\": \"Standard_A1\",\r\n \"numberOfCores\": + 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 71680,\r\n \"memoryInMB\": 1792,\r\n \"maxDataDiskCount\": 2\r\n + \ },\r\n {\r\n \"name\": \"Standard_A2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 138240,\r\n \"memoryInMB\": 3584,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_A3\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 291840,\r\n \"memoryInMB\": 7168,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_A5\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 138240,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_A4\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 619520,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_A6\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 291840,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_A7\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 619520,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Basic_A0\",\r\n \"numberOfCores\": + 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 20480,\r\n \"memoryInMB\": 768,\r\n \"maxDataDiskCount\": 1\r\n + \ },\r\n {\r\n \"name\": \"Basic_A1\",\r\n \"numberOfCores\": + 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 40960,\r\n \"memoryInMB\": 1792,\r\n \"maxDataDiskCount\": 2\r\n + \ },\r\n {\r\n \"name\": \"Basic_A2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 61440,\r\n \"memoryInMB\": 3584,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Basic_A3\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 122880,\r\n \"memoryInMB\": 7168,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Basic_A4\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 245760,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_D1\",\r\n \"numberOfCores\": + 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 51200,\r\n \"memoryInMB\": 3584,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_D2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 102400,\r\n \"memoryInMB\": 7168,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_D3\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 204800,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_D4\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 409600,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D11\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 102400,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_D12\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 204800,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_D13\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 409600,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D14\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 819200,\r\n \"memoryInMB\": 114688,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS1\",\r\n \"numberOfCores\": + 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 7168,\r\n \"memoryInMB\": 3584,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 14336,\r\n \"memoryInMB\": 7168,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS3\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 28672,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS4\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 57344,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS11\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 28672,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS12\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 57344,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS13\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 114688,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS14\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 229376,\r\n \"memoryInMB\": 114688,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_D15_v2\",\r\n \"numberOfCores\": + 20,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 1024000,\r\n \"memoryInMB\": 143360,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS15_v2\",\r\n \"numberOfCores\": + 20,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 286720,\r\n \"memoryInMB\": 143360,\r\n \"maxDataDiskCount\": 64\r\n + \ }\r\n ]\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30573' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:31:11 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/GetSubscriptionInfo3Min;359 + status: + code: 200 + message: OK +- request: + body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {}, "variables": {}, "resources": + [{"name": "vm1VNET", "type": "Microsoft.Network/virtualNetworks", "location": + "centraluseuap", "apiVersion": "2015-06-15", "dependsOn": [], "tags": {}, "properties": + {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "subnets": [{"name": + "vm1Subnet", "properties": {"addressPrefix": "10.0.0.0/24"}}]}}, {"type": "Microsoft.Network/networkSecurityGroups", + "name": "vm1NSG", "apiVersion": "2015-06-15", "location": "centraluseuap", "tags": + {}, "dependsOn": []}, {"apiVersion": "2018-01-01", "type": "Microsoft.Network/publicIPAddresses", + "name": "vm1PublicIP", "location": "centraluseuap", "tags": {}, "dependsOn": + [], "properties": {"publicIPAllocationMethod": null}}, {"apiVersion": "2015-06-15", + "type": "Microsoft.Network/networkInterfaces", "name": "vm1VMNic", "location": + "centraluseuap", "tags": {}, "dependsOn": ["Microsoft.Network/virtualNetworks/vm1VNET", + "Microsoft.Network/networkSecurityGroups/vm1NSG", "Microsoft.Network/publicIpAddresses/vm1PublicIP"], + "properties": {"ipConfigurations": [{"name": "ipconfigvm1", "properties": {"privateIPAllocationMethod": + "Dynamic", "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet"}, + "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"}}}], + "networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"}}}, + {"apiVersion": "2020-06-01", "type": "Microsoft.Compute/virtualMachines", "name": + "vm1", "location": "centraluseuap", "tags": {}, "dependsOn": ["Microsoft.Network/networkInterfaces/vm1VMNic"], + "properties": {"hardwareProfile": {"vmSize": "Standard_D4s_v3"}, "networkProfile": + {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm1VMNic"}]}, + "storageProfile": {"osDisk": {"createOption": "fromImage", "name": null, "caching": + "ReadWrite", "managedDisk": {"storageAccountType": null}}, "imageReference": + {"publisher": "OpenLogic", "offer": "CentOS", "sku": "7.5", "version": "latest"}}, + "osProfile": {"computerName": "vm1", "adminUsername": "azureuser", "linuxConfiguration": + {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAABAQDmzXeK++L20uMK/Ug5wpjnWWyMlHoecEOxyHueHc1gPDj8qgLChiHt1OWJ1sDjiqBJ+hEEwZLjN8lCmUvWzzrl20d7M/BVp1ejulE/zr999kWuY3m5+FpAkbbxeO9LWoafwOir9dPzIOjDGdPWKbgHr3SerOHAuvVdXJDhWHtW5lB/MEnrxi48Pz/8k1lD1YccUAI6zDgKVJPBEk9fWMW8H0hKYsRXmlxdtg2npBQK7kbmcB2NJPEhTVgxVPqSaBVAt2lOCC/QQvAXcoD0lJGujp1IVYqSUarS5RnrYEDZ9Q6EKduWrP0GFkFkF8YzpFe+BRFaV8bLJrvZN43vgzRj + fey@DESKTOP-ARGPJS4\n", "path": "/home/azureuser/.ssh/authorized_keys"}]}}}, + "host": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/hostGroups/my-host-group/hosts/my-host"}}}], + "outputs": {}}, "parameters": {}, "mode": "Incremental"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '3656' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n --image --host --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host2_000002/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Resources/deployments/vm_deploy_hwrXu9uVT8GxeNNQ3utLMQjK1670JCx9","name":"vm_deploy_hwrXu9uVT8GxeNNQ3utLMQjK1670JCx9","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16283897713141948589","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-07-29T09:31:20.9447616Z","duration":"PT7.2907593S","correlationId":"319fc755-a933-4a55-a315-55a0f7deec25","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["centraluseuap"]},{"resourceType":"networkSecurityGroups","locations":["centraluseuap"]},{"resourceType":"publicIPAddresses","locations":["centraluseuap"]},{"resourceType":"networkInterfaces","locations":["centraluseuap"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["centraluseuap"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host2_000002/providers/Microsoft.Resources/deployments/vm_deploy_hwrXu9uVT8GxeNNQ3utLMQjK1670JCx9/operationStatuses/08586055918118236341?api-version=2020-06-01 + cache-control: + - no-cache + content-length: + - '2778' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:31:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1193' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --host --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host2_000002/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586055918118236341?api-version=2020-06-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:31: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: + - -g -n --image --host --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host2_000002/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586055918118236341?api-version=2020-06-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:32:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --host --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host2_000002/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586055918118236341?api-version=2020-06-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:32:53 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: + - -g -n --image --host --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host2_000002/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586055918118236341?api-version=2020-06-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:33:24 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: + - -g -n --image --host --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host2_000002/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Resources/deployments/vm_deploy_hwrXu9uVT8GxeNNQ3utLMQjK1670JCx9","name":"vm_deploy_hwrXu9uVT8GxeNNQ3utLMQjK1670JCx9","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16283897713141948589","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-07-29T09:33:03.9092405Z","duration":"PT1M50.2552382S","correlationId":"319fc755-a933-4a55-a315-55a0f7deec25","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["centraluseuap"]},{"resourceType":"networkSecurityGroups","locations":["centraluseuap"]},{"resourceType":"publicIPAddresses","locations":["centraluseuap"]},{"resourceType":"networkInterfaces","locations":["centraluseuap"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["centraluseuap"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '3845' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:33:24 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: + - -g -n --image --host --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/virtualMachines/vm1?$expand=instanceView&api-version=2020-06-01 + response: + body: + string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"centraluseuap\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"edbb2774-b9c5-4bcb-a773-4d83ed7f8042\",\r\n + \ \"host\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DEDICATED_HOST2_4ZDQV764YKL7SROQB55ND7AHG3ZLWQZG227375ER32JFWB3EEK/providers/Microsoft.Compute/hostGroups/my-host-group/hosts/my-host\"\r\n + \ },\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_D4s_v3\"\r\n + \ },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": + \"OpenLogic\",\r\n \"offer\": \"CentOS\",\r\n \"sku\": \"7.5\",\r\n + \ \"version\": \"latest\",\r\n \"exactVersion\": \"7.5.201808150\"\r\n + \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": + \"vm1_OsDisk_1_3ea49b17996c457c89cfd16936fbc81c\",\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_DEDICATED_HOST2_4ZDQV764YKL7SROQB55ND7AHG3ZLWQZG227375ER32JFWB3EEK/providers/Microsoft.Compute/disks/vm1_OsDisk_1_3ea49b17996c457c89cfd16936fbc81c\"\r\n + \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": + []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n + \ \"adminUsername\": \"azureuser\",\r\n \"linuxConfiguration\": {\r\n + \ \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n + \ \"publicKeys\": [\r\n {\r\n \"path\": \"/home/azureuser/.ssh/authorized_keys\",\r\n + \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDmzXeK++L20uMK/Ug5wpjnWWyMlHoecEOxyHueHc1gPDj8qgLChiHt1OWJ1sDjiqBJ+hEEwZLjN8lCmUvWzzrl20d7M/BVp1ejulE/zr999kWuY3m5+FpAkbbxeO9LWoafwOir9dPzIOjDGdPWKbgHr3SerOHAuvVdXJDhWHtW5lB/MEnrxi48Pz/8k1lD1YccUAI6zDgKVJPBEk9fWMW8H0hKYsRXmlxdtg2npBQK7kbmcB2NJPEhTVgxVPqSaBVAt2lOCC/QQvAXcoD0lJGujp1IVYqSUarS5RnrYEDZ9Q6EKduWrP0GFkFkF8YzpFe+BRFaV8bLJrvZN43vgzRj + fey@DESKTOP-ARGPJS4\\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_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"}]},\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"platformFaultDomain\": + 0,\r\n \"computerName\": \"vm1\",\r\n \"osName\": \"centos\",\r\n + \ \"osVersion\": \"7.5.1804\",\r\n \"vmAgent\": {\r\n \"vmAgentVersion\": + \"2.2.49.2\",\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\": + \"2020-07-29T09:33:25+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_OsDisk_1_3ea49b17996c457c89cfd16936fbc81c\",\r\n + \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n + \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning + succeeded\",\r\n \"time\": \"2020-07-29T09:31:55.3325318+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\": \"2020-07-29T09:32:59.2079186+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}" + headers: + cache-control: + - no-cache + content-length: + - '4053' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:33:25 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;3996,Microsoft.Compute/LowCostGet30Min;31986 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --host --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/11.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm1VMNic?api-version=2018-01-01 + response: + body: + string: "{\r\n \"name\": \"vm1VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm1VMNic\",\r\n + \ \"etag\": \"W/\\\"c22a7e66-b557-44b5-8337-9124b344abb4\\\"\",\r\n \"location\": + \"centraluseuap\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"resourceGuid\": \"d61d9215-1851-473a-b35c-2d696498ed91\",\r\n + \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\",\r\n + \ \"etag\": \"W/\\\"c22a7e66-b557-44b5-8337-9124b344abb4\\\"\",\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_dedicated_host2_000002/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet\"\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\": + \"dt1zba0bqrtu3c1klovq3yobsg.cdmx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-22-48-6D-00-A2\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkSecurityGroups/vm1NSG\"\r\n + \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2577' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:33:26 GMT + etag: + - W/"c22a7e66-b557-44b5-8337-9124b344abb4" + 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: + - fde422cd-655c-4eae-a3f3-72bd41e183a1 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --host --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/11.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP?api-version=2018-01-01 + response: + body: + string: "{\r\n \"name\": \"vm1PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\",\r\n + \ \"etag\": \"W/\\\"63cd2f38-cd30-4f84-b1a7-39a728cababc\\\"\",\r\n \"location\": + \"centraluseuap\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"resourceGuid\": \"07ec610b-c881-43c6-b054-2e249f51d087\",\r\n + \ \"ipAddress\": \"104.208.48.120\",\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_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\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: + - '1005' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:33:27 GMT + etag: + - W/"63cd2f38-cd30-4f84-b1a7-39a728cababc" + 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: + - 88f753b6-3f18-441e-a862-721c94f863ac + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --host-group --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host2_000002?api-version=2020-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002","name":"cli_test_dedicated_host2_000002","type":"Microsoft.Resources/resourceGroups","location":"centraluseuap","tags":{"product":"azurecli","cause":"automation","date":"2020-07-29T09:25:18Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '435' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:33: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: + - '*/*' + 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: + - Wed, 29 Jul 2020 09:33:28 GMT + etag: + - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" + expires: + - Wed, 29 Jul 2020 09:38:28 GMT + source-age: + - '139' + strict-transport-security: + - max-age=31536000 + vary: + - Authorization,Accept-Encoding, Accept-Encoding + via: + - 1.1 varnish (Varnish/6.0) + - 1.1 varnish + x-cache: + - HIT, HIT + x-cache-hits: + - 3, 1 + x-content-type-options: + - nosniff + x-fastly-request-id: + - 1d769788f8cf7577cc1f859cf6efbb6a5b47c9eb + x-frame-options: + - deny + x-github-request-id: + - 5606:45C7:20635:24EAA:5F21356E + x-served-by: + - cache-sin18048-SIN + x-timer: + - S1596015209.959883,VS0,VE1 + 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: + - -g -n --image --host-group --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/11.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 + response: + body: + string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"vm1VNET\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/virtualNetworks/vm1VNET\",\r\n + \ \"etag\": \"W/\\\"a614dae0-de6b-442a-8b31-6e62e90af6f7\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"centraluseuap\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"resourceGuid\": \"8390f71c-8441-4e67-8b6a-5bab0ee1c196\",\r\n + \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n + \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": + \"vm1Subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet\",\r\n + \ \"etag\": \"W/\\\"a614dae0-de6b-442a-8b31-6e62e90af6f7\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"ipConfigurations\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n + \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": + false,\r\n \"enableVmProtection\": false\r\n }\r\n }\r\n ]\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1757' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:33:29 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-arm-service-request-id: + - 1a0a9546-1e09-4e5b-929b-60f030b94adb + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --host-group --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/centraluseuap/vmSizes?api-version=2020-06-01 + response: + body: + string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"Standard_B1ls\",\r\n + \ \"numberOfCores\": 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 4096,\r\n \"memoryInMB\": 512,\r\n \"maxDataDiskCount\": 2\r\n },\r\n + \ {\r\n \"name\": \"Standard_B1ms\",\r\n \"numberOfCores\": 1,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 4096,\r\n + \ \"memoryInMB\": 2048,\r\n \"maxDataDiskCount\": 2\r\n },\r\n + \ {\r\n \"name\": \"Standard_B1s\",\r\n \"numberOfCores\": 1,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 4096,\r\n + \ \"memoryInMB\": 1024,\r\n \"maxDataDiskCount\": 2\r\n },\r\n + \ {\r\n \"name\": \"Standard_B2ms\",\r\n \"numberOfCores\": 2,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 16384,\r\n + \ \"memoryInMB\": 8192,\r\n \"maxDataDiskCount\": 4\r\n },\r\n + \ {\r\n \"name\": \"Standard_B2s\",\r\n \"numberOfCores\": 2,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 8192,\r\n + \ \"memoryInMB\": 4096,\r\n \"maxDataDiskCount\": 4\r\n },\r\n + \ {\r\n \"name\": \"Standard_B4ms\",\r\n \"numberOfCores\": 4,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 32768,\r\n + \ \"memoryInMB\": 16384,\r\n \"maxDataDiskCount\": 8\r\n },\r\n + \ {\r\n \"name\": \"Standard_B8ms\",\r\n \"numberOfCores\": 8,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 65536,\r\n + \ \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 16\r\n },\r\n + \ {\r\n \"name\": \"Standard_B12ms\",\r\n \"numberOfCores\": 12,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 98304,\r\n + \ \"memoryInMB\": 49152,\r\n \"maxDataDiskCount\": 16\r\n },\r\n + \ {\r\n \"name\": \"Standard_B16ms\",\r\n \"numberOfCores\": 16,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 131072,\r\n + \ \"memoryInMB\": 65536,\r\n \"maxDataDiskCount\": 32\r\n },\r\n + \ {\r\n \"name\": \"Standard_B20ms\",\r\n \"numberOfCores\": 20,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 163840,\r\n + \ \"memoryInMB\": 81920,\r\n \"maxDataDiskCount\": 32\r\n },\r\n + \ {\r\n \"name\": \"Standard_D1_v2\",\r\n \"numberOfCores\": 1,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 51200,\r\n + \ \"memoryInMB\": 3584,\r\n \"maxDataDiskCount\": 4\r\n },\r\n + \ {\r\n \"name\": \"Standard_D2_v2\",\r\n \"numberOfCores\": 2,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 102400,\r\n + \ \"memoryInMB\": 7168,\r\n \"maxDataDiskCount\": 8\r\n },\r\n + \ {\r\n \"name\": \"Standard_D3_v2\",\r\n \"numberOfCores\": 4,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 204800,\r\n + \ \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 16\r\n },\r\n + \ {\r\n \"name\": \"Standard_D4_v2\",\r\n \"numberOfCores\": 8,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 409600,\r\n + \ \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 32\r\n },\r\n + \ {\r\n \"name\": \"Standard_D5_v2\",\r\n \"numberOfCores\": 16,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 819200,\r\n + \ \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 64\r\n },\r\n + \ {\r\n \"name\": \"Standard_D11_v2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 102400,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_D12_v2\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 204800,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_D13_v2\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 409600,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D14_v2\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 819200,\r\n \"memoryInMB\": 114688,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_D2_v2_Promo\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 102400,\r\n \"memoryInMB\": 7168,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_D3_v2_Promo\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 204800,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_D4_v2_Promo\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 409600,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D5_v2_Promo\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 819200,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_D11_v2_Promo\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 102400,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_D12_v2_Promo\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 204800,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_D13_v2_Promo\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 409600,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D14_v2_Promo\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 819200,\r\n \"memoryInMB\": 114688,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_F1\",\r\n \"numberOfCores\": + 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 16384,\r\n \"memoryInMB\": 2048,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_F2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 32768,\r\n \"memoryInMB\": 4096,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_F4\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 65536,\r\n \"memoryInMB\": 8192,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_F8\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 131072,\r\n \"memoryInMB\": 16384,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_F16\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 262144,\r\n \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS1_v2\",\r\n \"numberOfCores\": + 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 7168,\r\n \"memoryInMB\": 3584,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS2_v2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 14336,\r\n \"memoryInMB\": 7168,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS3_v2\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 28672,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS4_v2\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 57344,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS5_v2\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 114688,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS11-1_v2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 28672,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS11_v2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 28672,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS12-1_v2\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 57344,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS12-2_v2\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 57344,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS12_v2\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 57344,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS13-2_v2\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 114688,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS13-4_v2\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 114688,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS13_v2\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 114688,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS14-4_v2\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 229376,\r\n \"memoryInMB\": 114688,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS14-8_v2\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 229376,\r\n \"memoryInMB\": 114688,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS14_v2\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 229376,\r\n \"memoryInMB\": 114688,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS2_v2_Promo\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 14336,\r\n \"memoryInMB\": 7168,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS3_v2_Promo\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 28672,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS4_v2_Promo\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 57344,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS5_v2_Promo\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 114688,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS11_v2_Promo\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 28672,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS12_v2_Promo\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 57344,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS13_v2_Promo\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 114688,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS14_v2_Promo\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 229376,\r\n \"memoryInMB\": 114688,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_F1s\",\r\n \"numberOfCores\": + 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 4096,\r\n \"memoryInMB\": 2048,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_F2s\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 8192,\r\n \"memoryInMB\": 4096,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_F4s\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 16384,\r\n \"memoryInMB\": 8192,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_F8s\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 32768,\r\n \"memoryInMB\": 16384,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_F16s\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 65536,\r\n \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_A1_v2\",\r\n \"numberOfCores\": + 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 10240,\r\n \"memoryInMB\": 2048,\r\n \"maxDataDiskCount\": 2\r\n + \ },\r\n {\r\n \"name\": \"Standard_A2m_v2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 20480,\r\n \"memoryInMB\": 16384,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_A2_v2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 20480,\r\n \"memoryInMB\": 4096,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_A4m_v2\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 40960,\r\n \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_A4_v2\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 40960,\r\n \"memoryInMB\": 8192,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_A8m_v2\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 81920,\r\n \"memoryInMB\": 65536,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_A8_v2\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 81920,\r\n \"memoryInMB\": 16384,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_D2_v3\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 51200,\r\n \"memoryInMB\": 8192,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_D4_v3\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 102400,\r\n \"memoryInMB\": 16384,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_D8_v3\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 204800,\r\n \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_D16_v3\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 409600,\r\n \"memoryInMB\": 65536,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D32_v3\",\r\n \"numberOfCores\": + 32,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 819200,\r\n \"memoryInMB\": 131072,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D48_v3\",\r\n \"numberOfCores\": + 48,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 1228800,\r\n \"memoryInMB\": 196608,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D64_v3\",\r\n \"numberOfCores\": + 64,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 1638400,\r\n \"memoryInMB\": 262144,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D2s_v3\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 16384,\r\n \"memoryInMB\": 8192,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_D4s_v3\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 32768,\r\n \"memoryInMB\": 16384,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_D8s_v3\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 65536,\r\n \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_D16s_v3\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 131072,\r\n \"memoryInMB\": 65536,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D32s_v3\",\r\n \"numberOfCores\": + 32,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 262144,\r\n \"memoryInMB\": 131072,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D48s_v3\",\r\n \"numberOfCores\": + 48,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 393216,\r\n \"memoryInMB\": 196608,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D64s_v3\",\r\n \"numberOfCores\": + 64,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 524288,\r\n \"memoryInMB\": 262144,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E2_v3\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 51200,\r\n \"memoryInMB\": 16384,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_E4_v3\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 102400,\r\n \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_E8_v3\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 204800,\r\n \"memoryInMB\": 65536,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_E16_v3\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 409600,\r\n \"memoryInMB\": 131072,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E20_v3\",\r\n \"numberOfCores\": + 20,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 512000,\r\n \"memoryInMB\": 163840,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E32_v3\",\r\n \"numberOfCores\": + 32,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 819200,\r\n \"memoryInMB\": 262144,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E48_v3\",\r\n \"numberOfCores\": + 48,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 1228800,\r\n \"memoryInMB\": 393216,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E64i_v3\",\r\n \"numberOfCores\": + 64,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 1638400,\r\n \"memoryInMB\": 442368,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E64_v3\",\r\n \"numberOfCores\": + 64,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 1638400,\r\n \"memoryInMB\": 442368,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E2s_v3\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 32768,\r\n \"memoryInMB\": 16384,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_E4-2s_v3\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 65536,\r\n \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_E4s_v3\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 65536,\r\n \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_E8-2s_v3\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 131072,\r\n \"memoryInMB\": 65536,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_E8-4s_v3\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 131072,\r\n \"memoryInMB\": 65536,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_E8s_v3\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 131072,\r\n \"memoryInMB\": 65536,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_E16-4s_v3\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 262144,\r\n \"memoryInMB\": 131072,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E16-8s_v3\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 262144,\r\n \"memoryInMB\": 131072,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E16s_v3\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 262144,\r\n \"memoryInMB\": 131072,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E20s_v3\",\r\n \"numberOfCores\": + 20,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 327680,\r\n \"memoryInMB\": 163840,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E32-8s_v3\",\r\n \"numberOfCores\": + 32,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 524288,\r\n \"memoryInMB\": 262144,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E32-16s_v3\",\r\n \"numberOfCores\": + 32,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 524288,\r\n \"memoryInMB\": 262144,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E32s_v3\",\r\n \"numberOfCores\": + 32,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 524288,\r\n \"memoryInMB\": 262144,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E48s_v3\",\r\n \"numberOfCores\": + 48,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 786432,\r\n \"memoryInMB\": 393216,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E64-16s_v3\",\r\n \"numberOfCores\": + 64,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 884736,\r\n \"memoryInMB\": 442368,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E64-32s_v3\",\r\n \"numberOfCores\": + 64,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 884736,\r\n \"memoryInMB\": 442368,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E64is_v3\",\r\n \"numberOfCores\": + 64,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 884736,\r\n \"memoryInMB\": 442368,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_E64s_v3\",\r\n \"numberOfCores\": + 64,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 884736,\r\n \"memoryInMB\": 442368,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_F2s_v2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 16384,\r\n \"memoryInMB\": 4096,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_F4s_v2\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 32768,\r\n \"memoryInMB\": 8192,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_F8s_v2\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 65536,\r\n \"memoryInMB\": 16384,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_F16s_v2\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 131072,\r\n \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_F32s_v2\",\r\n \"numberOfCores\": + 32,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 262144,\r\n \"memoryInMB\": 65536,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_F48s_v2\",\r\n \"numberOfCores\": + 48,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 393216,\r\n \"memoryInMB\": 98304,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_F64s_v2\",\r\n \"numberOfCores\": + 64,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 524288,\r\n \"memoryInMB\": 131072,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_F72s_v2\",\r\n \"numberOfCores\": + 72,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 589824,\r\n \"memoryInMB\": 147456,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_A0\",\r\n \"numberOfCores\": + 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 20480,\r\n \"memoryInMB\": 768,\r\n \"maxDataDiskCount\": 1\r\n + \ },\r\n {\r\n \"name\": \"Standard_A1\",\r\n \"numberOfCores\": + 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 71680,\r\n \"memoryInMB\": 1792,\r\n \"maxDataDiskCount\": 2\r\n + \ },\r\n {\r\n \"name\": \"Standard_A2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 138240,\r\n \"memoryInMB\": 3584,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_A3\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 291840,\r\n \"memoryInMB\": 7168,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_A5\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 138240,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_A4\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 619520,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_A6\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 291840,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_A7\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 619520,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Basic_A0\",\r\n \"numberOfCores\": + 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 20480,\r\n \"memoryInMB\": 768,\r\n \"maxDataDiskCount\": 1\r\n + \ },\r\n {\r\n \"name\": \"Basic_A1\",\r\n \"numberOfCores\": + 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 40960,\r\n \"memoryInMB\": 1792,\r\n \"maxDataDiskCount\": 2\r\n + \ },\r\n {\r\n \"name\": \"Basic_A2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 61440,\r\n \"memoryInMB\": 3584,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Basic_A3\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 122880,\r\n \"memoryInMB\": 7168,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Basic_A4\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 245760,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_D1\",\r\n \"numberOfCores\": + 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 51200,\r\n \"memoryInMB\": 3584,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_D2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 102400,\r\n \"memoryInMB\": 7168,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_D3\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 204800,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_D4\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 409600,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D11\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 102400,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_D12\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 204800,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_D13\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 409600,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_D14\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 819200,\r\n \"memoryInMB\": 114688,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS1\",\r\n \"numberOfCores\": + 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 7168,\r\n \"memoryInMB\": 3584,\r\n \"maxDataDiskCount\": 4\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS2\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 14336,\r\n \"memoryInMB\": 7168,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS3\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 28672,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS4\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 57344,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS11\",\r\n \"numberOfCores\": + 2,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 28672,\r\n \"memoryInMB\": 14336,\r\n \"maxDataDiskCount\": 8\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS12\",\r\n \"numberOfCores\": + 4,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 57344,\r\n \"memoryInMB\": 28672,\r\n \"maxDataDiskCount\": 16\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS13\",\r\n \"numberOfCores\": + 8,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 114688,\r\n \"memoryInMB\": 57344,\r\n \"maxDataDiskCount\": 32\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS14\",\r\n \"numberOfCores\": + 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 229376,\r\n \"memoryInMB\": 114688,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_D15_v2\",\r\n \"numberOfCores\": + 20,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 1024000,\r\n \"memoryInMB\": 143360,\r\n \"maxDataDiskCount\": 64\r\n + \ },\r\n {\r\n \"name\": \"Standard_DS15_v2\",\r\n \"numberOfCores\": + 20,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": + 286720,\r\n \"memoryInMB\": 143360,\r\n \"maxDataDiskCount\": 64\r\n + \ }\r\n ]\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30573' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:33:29 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/GetSubscriptionInfo3Min;358 + status: + code: 200 + message: OK +- request: + body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {}, "variables": {}, "resources": + [{"type": "Microsoft.Network/networkSecurityGroups", "name": "vm2NSG", "apiVersion": + "2015-06-15", "location": "centraluseuap", "tags": {}, "dependsOn": []}, {"apiVersion": + "2018-01-01", "type": "Microsoft.Network/publicIPAddresses", "name": "vm2PublicIP", + "location": "centraluseuap", "tags": {}, "dependsOn": [], "properties": {"publicIPAllocationMethod": + null}}, {"apiVersion": "2015-06-15", "type": "Microsoft.Network/networkInterfaces", + "name": "vm2VMNic", "location": "centraluseuap", "tags": {}, "dependsOn": ["Microsoft.Network/networkSecurityGroups/vm2NSG", + "Microsoft.Network/publicIpAddresses/vm2PublicIP"], "properties": {"ipConfigurations": + [{"name": "ipconfigvm2", "properties": {"privateIPAllocationMethod": "Dynamic", + "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet"}, + "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP"}}}], + "networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkSecurityGroups/vm2NSG"}}}, + {"apiVersion": "2020-06-01", "type": "Microsoft.Compute/virtualMachines", "name": + "vm2", "location": "centraluseuap", "tags": {}, "dependsOn": ["Microsoft.Network/networkInterfaces/vm2VMNic"], + "properties": {"hardwareProfile": {"vmSize": "Standard_D4s_v3"}, "networkProfile": + {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm2VMNic"}]}, + "storageProfile": {"osDisk": {"createOption": "fromImage", "name": null, "caching": + "ReadWrite", "managedDisk": {"storageAccountType": null}}, "imageReference": + {"publisher": "OpenLogic", "offer": "CentOS", "sku": "7.5", "version": "latest"}}, + "osProfile": {"computerName": "vm2", "adminUsername": "azureuser", "linuxConfiguration": + {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAABAQDmzXeK++L20uMK/Ug5wpjnWWyMlHoecEOxyHueHc1gPDj8qgLChiHt1OWJ1sDjiqBJ+hEEwZLjN8lCmUvWzzrl20d7M/BVp1ejulE/zr999kWuY3m5+FpAkbbxeO9LWoafwOir9dPzIOjDGdPWKbgHr3SerOHAuvVdXJDhWHtW5lB/MEnrxi48Pz/8k1lD1YccUAI6zDgKVJPBEk9fWMW8H0hKYsRXmlxdtg2npBQK7kbmcB2NJPEhTVgxVPqSaBVAt2lOCC/QQvAXcoD0lJGujp1IVYqSUarS5RnrYEDZ9Q6EKduWrP0GFkFkF8YzpFe+BRFaV8bLJrvZN43vgzRj + fey@DESKTOP-ARGPJS4\n", "path": "/home/azureuser/.ssh/authorized_keys"}]}}}, + "hostGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/hostGroups/my-host-group"}}}], + "outputs": {}}, "parameters": {}, "mode": "Incremental"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '3296' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n --image --host-group --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host2_000002/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Resources/deployments/vm_deploy_YplnbPkflIDoZYjkWwq0X0V5k9BVmUWR","name":"vm_deploy_YplnbPkflIDoZYjkWwq0X0V5k9BVmUWR","type":"Microsoft.Resources/deployments","properties":{"templateHash":"7010588484333803744","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-07-29T09:33:36.8506243Z","duration":"PT3.0721955S","correlationId":"dd3d980a-7f8a-4ed1-bc20-2d38750050a4","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["centraluseuap"]},{"resourceType":"publicIPAddresses","locations":["centraluseuap"]},{"resourceType":"networkInterfaces","locations":["centraluseuap"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["centraluseuap"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkSecurityGroups/vm2NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm2NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm2PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/virtualMachines/vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm2"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host2_000002/providers/Microsoft.Resources/deployments/vm_deploy_YplnbPkflIDoZYjkWwq0X0V5k9BVmUWR/operationStatuses/08586055916716991931?api-version=2020-06-01 + cache-control: + - no-cache + content-length: + - '2432' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:33:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --host-group --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host2_000002/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586055916716991931?api-version=2020-06-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:34: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: + - -g -n --image --host-group --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host2_000002/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586055916716991931?api-version=2020-06-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:34:40 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: + - -g -n --image --host-group --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host2_000002/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586055916716991931?api-version=2020-06-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:35: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: + - -g -n --image --host-group --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host2_000002/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586055916716991931?api-version=2020-06-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:35: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: + - -g -n --image --host-group --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dedicated_host2_000002/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Resources/deployments/vm_deploy_YplnbPkflIDoZYjkWwq0X0V5k9BVmUWR","name":"vm_deploy_YplnbPkflIDoZYjkWwq0X0V5k9BVmUWR","type":"Microsoft.Resources/deployments","properties":{"templateHash":"7010588484333803744","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-07-29T09:35:28.0189172Z","duration":"PT1M54.2404884S","correlationId":"dd3d980a-7f8a-4ed1-bc20-2d38750050a4","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["centraluseuap"]},{"resourceType":"publicIPAddresses","locations":["centraluseuap"]},{"resourceType":"networkInterfaces","locations":["centraluseuap"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["centraluseuap"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkSecurityGroups/vm2NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm2NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm2PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/virtualMachines/vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm2"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/virtualMachines/vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm2VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkSecurityGroups/vm2NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '3295' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:35: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: + - -g -n --image --host-group --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/virtualMachines/vm2?$expand=instanceView&api-version=2020-06-01 + response: + body: + string: "{\r\n \"name\": \"vm2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/virtualMachines/vm2\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"centraluseuap\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"548f78dc-1d8b-4924-b425-79aa0c2a5af3\",\r\n + \ \"hostGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DEDICATED_HOST2_4ZDQV764YKL7SROQB55ND7AHG3ZLWQZG227375ER32JFWB3EEK/providers/Microsoft.Compute/hostGroups/my-host-group\"\r\n + \ },\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_D4s_v3\"\r\n + \ },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": + \"OpenLogic\",\r\n \"offer\": \"CentOS\",\r\n \"sku\": \"7.5\",\r\n + \ \"version\": \"latest\",\r\n \"exactVersion\": \"7.5.201808150\"\r\n + \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": + \"vm2_OsDisk_1_addc47b1d65f4a61b1b0214b5d6a6151\",\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_DEDICATED_HOST2_4ZDQV764YKL7SROQB55ND7AHG3ZLWQZG227375ER32JFWB3EEK/providers/Microsoft.Compute/disks/vm2_OsDisk_1_addc47b1d65f4a61b1b0214b5d6a6151\"\r\n + \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": + []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm2\",\r\n + \ \"adminUsername\": \"azureuser\",\r\n \"linuxConfiguration\": {\r\n + \ \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n + \ \"publicKeys\": [\r\n {\r\n \"path\": \"/home/azureuser/.ssh/authorized_keys\",\r\n + \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDmzXeK++L20uMK/Ug5wpjnWWyMlHoecEOxyHueHc1gPDj8qgLChiHt1OWJ1sDjiqBJ+hEEwZLjN8lCmUvWzzrl20d7M/BVp1ejulE/zr999kWuY3m5+FpAkbbxeO9LWoafwOir9dPzIOjDGdPWKbgHr3SerOHAuvVdXJDhWHtW5lB/MEnrxi48Pz/8k1lD1YccUAI6zDgKVJPBEk9fWMW8H0hKYsRXmlxdtg2npBQK7kbmcB2NJPEhTVgxVPqSaBVAt2lOCC/QQvAXcoD0lJGujp1IVYqSUarS5RnrYEDZ9Q6EKduWrP0GFkFkF8YzpFe+BRFaV8bLJrvZN43vgzRj + fey@DESKTOP-ARGPJS4\\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_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm2VMNic\"}]},\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"assignedHost\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DEDICATED_HOST2_4ZDQV764YKL7SROQB55ND7AHG3ZLWQZG227375ER32JFWB3EEK/providers/Microsoft.Compute/hostGroups/my-host-group/hosts/my-host\",\r\n + \ \"computerName\": \"vm2\",\r\n \"osName\": \"centos\",\r\n \"osVersion\": + \"7.5.1804\",\r\n \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.2.49.2\",\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\": + \"2020-07-29T09:35:42+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm2_OsDisk_1_addc47b1d65f4a61b1b0214b5d6a6151\",\r\n + \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n + \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning + succeeded\",\r\n \"time\": \"2020-07-29T09:34:12.9427226+00:00\"\r\n + \ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\": + \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded/osProvisioningInProgress\",\r\n + \ \"level\": \"Info\",\r\n \"displayStatus\": \"OS provisioning + in progress\",\r\n \"time\": \"2020-07-29T09:35:21.4118839+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}" + headers: + cache-control: + - no-cache + content-length: + - '4277' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:35:43 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;3992,Microsoft.Compute/LowCostGet30Min;31983 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --host-group --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/11.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm2VMNic?api-version=2018-01-01 + response: + body: + string: "{\r\n \"name\": \"vm2VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm2VMNic\",\r\n + \ \"etag\": \"W/\\\"d9661b98-6448-4cbb-974a-3a4a0ac5d647\\\"\",\r\n \"location\": + \"centraluseuap\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"resourceGuid\": \"438fdcfe-36a9-4e35-b4ec-8b45438593fb\",\r\n + \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm2\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm2VMNic/ipConfigurations/ipconfigvm2\",\r\n + \ \"etag\": \"W/\\\"d9661b98-6448-4cbb-974a-3a4a0ac5d647\\\"\",\r\n + \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAddress\": \"10.0.0.5\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet\"\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\": + \"dt1zba0bqrtu3c1klovq3yobsg.cdmx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-22-48-6D-01-E2\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/networkSecurityGroups/vm2NSG\"\r\n + \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/virtualMachines/vm2\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2577' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:35:44 GMT + etag: + - W/"d9661b98-6448-4cbb-974a-3a4a0ac5d647" + 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: + - 0169254d-f70e-4144-98b2-deec36cf57d4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --host-group --size --nsg-rule --generate-ssh-keys --admin-username + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/11.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP?api-version=2018-01-01 + response: + body: + string: "{\r\n \"name\": \"vm2PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP\",\r\n + \ \"etag\": \"W/\\\"d6405873-9552-4aa9-8b68-6553f341b989\\\"\",\r\n \"location\": + \"centraluseuap\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"resourceGuid\": \"4ac2e685-3444-4620-9e01-d69cd90d497a\",\r\n + \ \"ipAddress\": \"52.180.161.198\",\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_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm2VMNic/ipConfigurations/ipconfigvm2\"\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: + - '1005' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:35:44 GMT + etag: + - W/"d6405873-9552-4aa9-8b68-6553f341b989" + 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: + - 60f81c6d-8a98-4605-883c-390fa0199545 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/virtualMachines/vm1?api-version=2020-06-01 + response: + body: + string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"centraluseuap\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"edbb2774-b9c5-4bcb-a773-4d83ed7f8042\",\r\n + \ \"host\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DEDICATED_HOST2_4ZDQV764YKL7SROQB55ND7AHG3ZLWQZG227375ER32JFWB3EEK/providers/Microsoft.Compute/hostGroups/my-host-group/hosts/my-host\"\r\n + \ },\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_D4s_v3\"\r\n + \ },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": + \"OpenLogic\",\r\n \"offer\": \"CentOS\",\r\n \"sku\": \"7.5\",\r\n + \ \"version\": \"latest\",\r\n \"exactVersion\": \"7.5.201808150\"\r\n + \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": + \"vm1_OsDisk_1_3ea49b17996c457c89cfd16936fbc81c\",\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_DEDICATED_HOST2_4ZDQV764YKL7SROQB55ND7AHG3ZLWQZG227375ER32JFWB3EEK/providers/Microsoft.Compute/disks/vm1_OsDisk_1_3ea49b17996c457c89cfd16936fbc81c\"\r\n + \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": + []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n + \ \"adminUsername\": \"azureuser\",\r\n \"linuxConfiguration\": {\r\n + \ \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n + \ \"publicKeys\": [\r\n {\r\n \"path\": \"/home/azureuser/.ssh/authorized_keys\",\r\n + \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDmzXeK++L20uMK/Ug5wpjnWWyMlHoecEOxyHueHc1gPDj8qgLChiHt1OWJ1sDjiqBJ+hEEwZLjN8lCmUvWzzrl20d7M/BVp1ejulE/zr999kWuY3m5+FpAkbbxeO9LWoafwOir9dPzIOjDGdPWKbgHr3SerOHAuvVdXJDhWHtW5lB/MEnrxi48Pz/8k1lD1YccUAI6zDgKVJPBEk9fWMW8H0hKYsRXmlxdtg2npBQK7kbmcB2NJPEhTVgxVPqSaBVAt2lOCC/QQvAXcoD0lJGujp1IVYqSUarS5RnrYEDZ9Q6EKduWrP0GFkFkF8YzpFe+BRFaV8bLJrvZN43vgzRj + fey@DESKTOP-ARGPJS4\\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_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"}]},\r\n + \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2723' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:35:45 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;3991,Microsoft.Compute/LowCostGet30Min;31982 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/virtualMachines/vm2?api-version=2020-06-01 + response: + body: + string: "{\r\n \"name\": \"vm2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/virtualMachines/vm2\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"centraluseuap\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"548f78dc-1d8b-4924-b425-79aa0c2a5af3\",\r\n + \ \"hostGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DEDICATED_HOST2_4ZDQV764YKL7SROQB55ND7AHG3ZLWQZG227375ER32JFWB3EEK/providers/Microsoft.Compute/hostGroups/my-host-group\"\r\n + \ },\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_D4s_v3\"\r\n + \ },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": + \"OpenLogic\",\r\n \"offer\": \"CentOS\",\r\n \"sku\": \"7.5\",\r\n + \ \"version\": \"latest\",\r\n \"exactVersion\": \"7.5.201808150\"\r\n + \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": + \"vm2_OsDisk_1_addc47b1d65f4a61b1b0214b5d6a6151\",\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_DEDICATED_HOST2_4ZDQV764YKL7SROQB55ND7AHG3ZLWQZG227375ER32JFWB3EEK/providers/Microsoft.Compute/disks/vm2_OsDisk_1_addc47b1d65f4a61b1b0214b5d6a6151\"\r\n + \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": + []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm2\",\r\n + \ \"adminUsername\": \"azureuser\",\r\n \"linuxConfiguration\": {\r\n + \ \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n + \ \"publicKeys\": [\r\n {\r\n \"path\": \"/home/azureuser/.ssh/authorized_keys\",\r\n + \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDmzXeK++L20uMK/Ug5wpjnWWyMlHoecEOxyHueHc1gPDj8qgLChiHt1OWJ1sDjiqBJ+hEEwZLjN8lCmUvWzzrl20d7M/BVp1ejulE/zr999kWuY3m5+FpAkbbxeO9LWoafwOir9dPzIOjDGdPWKbgHr3SerOHAuvVdXJDhWHtW5lB/MEnrxi48Pz/8k1lD1YccUAI6zDgKVJPBEk9fWMW8H0hKYsRXmlxdtg2npBQK7kbmcB2NJPEhTVgxVPqSaBVAt2lOCC/QQvAXcoD0lJGujp1IVYqSUarS5RnrYEDZ9Q6EKduWrP0GFkFkF8YzpFe+BRFaV8bLJrvZN43vgzRj + fey@DESKTOP-ARGPJS4\\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_dedicated_host2_000002/providers/Microsoft.Network/networkInterfaces/vm2VMNic\"}]},\r\n + \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2714' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:35:46 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;3990,Microsoft.Compute/LowCostGet30Min;31981 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --name -g --yes + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/virtualMachines/vm1?api-version=2020-06-01 + response: + body: + string: '' + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/6bfd2254-b1ac-4bfa-9128-580fe3115604?api-version=2020-06-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 29 Jul 2020 09:35:48 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/6bfd2254-b1ac-4bfa-9128-580fe3115604?monitor=true&api-version=2020-06-01 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/DeleteVM3Min;239,Microsoft.Compute/DeleteVM30Min;1197 + x-ms-ratelimit-remaining-subscription-deletes: + - '14996' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm delete + Connection: + - keep-alive + ParameterSetName: + - --name -g --yes + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/6bfd2254-b1ac-4bfa-9128-580fe3115604?api-version=2020-06-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-07-29T09:35:48.4120959+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"6bfd2254-b1ac-4bfa-9128-580fe3115604\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:35:59 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/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29987 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm delete + Connection: + - keep-alive + ParameterSetName: + - --name -g --yes + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/6bfd2254-b1ac-4bfa-9128-580fe3115604?api-version=2020-06-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-07-29T09:35:48.4120959+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"6bfd2254-b1ac-4bfa-9128-580fe3115604\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:36:29 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/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29986 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm delete + Connection: + - keep-alive + ParameterSetName: + - --name -g --yes + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/6bfd2254-b1ac-4bfa-9128-580fe3115604?api-version=2020-06-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-07-29T09:35:48.4120959+00:00\",\r\n \"endTime\": + \"2020-07-29T09:36:30.4279658+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"6bfd2254-b1ac-4bfa-9128-580fe3115604\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:36:59 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/GetOperation3Min;14994,Microsoft.Compute/GetOperation30Min;29984 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --name -g --yes + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/virtualMachines/vm2?api-version=2020-06-01 + response: + body: + string: '' + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/4e2f3104-3809-4805-b650-17cd18f200a9?api-version=2020-06-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 29 Jul 2020 09:37:01 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/4e2f3104-3809-4805-b650-17cd18f200a9?monitor=true&api-version=2020-06-01 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/DeleteVM3Min;238,Microsoft.Compute/DeleteVM30Min;1196 + x-ms-ratelimit-remaining-subscription-deletes: + - '14996' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm delete + Connection: + - keep-alive + ParameterSetName: + - --name -g --yes + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/4e2f3104-3809-4805-b650-17cd18f200a9?api-version=2020-06-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-07-29T09:37:02.5375308+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"4e2f3104-3809-4805-b650-17cd18f200a9\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:37:13 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/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29983 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm delete + Connection: + - keep-alive + ParameterSetName: + - --name -g --yes + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/4e2f3104-3809-4805-b650-17cd18f200a9?api-version=2020-06-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-07-29T09:37:02.5375308+00:00\",\r\n \"endTime\": + \"2020-07-29T09:37:42.6002053+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"4e2f3104-3809-4805-b650-17cd18f200a9\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:37:43 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/GetOperation3Min;14992,Microsoft.Compute/GetOperation30Min;29982 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm host delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --name --host-group -g --yes + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dedicated_host2_000002/providers/Microsoft.Compute/hostGroups/my-host-group/hosts/my-host?api-version=2020-06-01 + response: + body: + string: '' + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/b008c8b0-1e09-4b71-af4e-2ba07bb7886c?api-version=2020-06-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 29 Jul 2020 09:37:47 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/b008c8b0-1e09-4b71-af4e-2ba07bb7886c?monitor=true&api-version=2020-06-01 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/PutDeleteDedicatedHost3Min;119,Microsoft.Compute/PutDeleteDedicatedHost30Min;590 + x-ms-ratelimit-remaining-subscription-deletes: + - '14993' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm host delete + Connection: + - keep-alive + ParameterSetName: + - --name --host-group -g --yes + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-compute/13.0.0 + Azure-SDK-For-Python AZURECLI/2.9.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/b008c8b0-1e09-4b71-af4e-2ba07bb7886c?api-version=2020-06-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-07-29T09:37:46.6471212+00:00\",\r\n \"endTime\": + \"2020-07-29T09:37:47.8033578+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"b008c8b0-1e09-4b71-af4e-2ba07bb7886c\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 29 Jul 2020 09:38:17 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/GetOperation3Min;14991,Microsoft.Compute/GetOperation30Min;29979 status: code: 200 message: OK 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 925c922ef23..58256708525 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 @@ -18,7 +18,7 @@ from azure.cli.core.profiles import ResourceType from azure.cli.testsdk import ( ScenarioTest, ResourceGroupPreparer, LiveScenarioTest, api_version_constraint, - StorageAccountPreparer, JMESPathCheck) + StorageAccountPreparer, JMESPathCheck, StringContainCheck) TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) # pylint: disable=line-too-long @@ -4013,9 +4013,9 @@ def _assert_ids_equal(self, id_1, id_2, rg_prefix=None): class DedicatedHostScenarioTest(ScenarioTest): @ResourceGroupPreparer(name_prefix='cli_test_dedicated_host_', location='westeurope') + @ResourceGroupPreparer(name_prefix='cli_test_dedicated_host2_', location='centraluseuap', key='rg2') def test_dedicated_host_e2e(self, resource_group, resource_group_location): self.kwargs.update({ - 'loc': resource_group_location, 'host-group': 'my-host-group', 'host-name': 'my-host', 'vm-name': 'ded-host-vm' @@ -4024,7 +4024,6 @@ def test_dedicated_host_e2e(self, resource_group, resource_group_location): # create resources self.cmd('vm host group create -n {host-group} -c 3 -g {rg} --tags "foo=bar"', checks=[ self.check('name', '{host-group}'), - self.check('location', '{loc}'), self.check('platformFaultDomainCount', 3), self.check('tags.foo', 'bar') ]) @@ -4032,7 +4031,6 @@ def test_dedicated_host_e2e(self, resource_group, resource_group_location): self.cmd('vm host create -n {host-name} --host-group {host-group} -d 2 -g {rg} ' '--sku DSv3-Type1 --auto-replace false --tags "bar=baz" ', checks=[ self.check('name', '{host-name}'), - self.check('location', '{loc}'), self.check('platformFaultDomain', 2), self.check('sku.name', 'DSv3-Type1'), self.check('autoReplaceOnFailure', False), @@ -4046,8 +4044,17 @@ def test_dedicated_host_e2e(self, resource_group, resource_group_location): self.assertTrue(instance_view["assetId"]) self.assertTrue(instance_view["availableCapacity"]) + self.cmd('vm host group get-instance-view -g {rg} -n {host-group}', checks=[ + self.exists('instanceView') + ]) + + host_id = self.cmd('vm host show -g {rg} -n {host-name} --host-group {host-group}').get_output_in_json()['id'] + self.kwargs.update({ + 'host_id': host_id + }) + self.cmd('vm create -n {vm-name} --image debian -g {rg} --size Standard_D4s_v3 ' - ' --host-group {host-group} --host {host-name} --generate-ssh-keys --admin-username azureuser') + '--host {host_id} --generate-ssh-keys --admin-username azureuser --nsg-rule NONE') # validate resources created successfully vm_json = self.cmd('vm show -n {vm-name} -g {rg}', checks=[ @@ -4074,6 +4081,26 @@ def test_dedicated_host_e2e(self, resource_group, resource_group_location): # Service has problem. It is not deleted yet but it returns. time.sleep(30) self.cmd('vm host group delete --name {host-group} -g {rg} --yes') + + # Test --automatic-placement + self.cmd('vm host group create -n {host-group} -c 1 -g {rg2} --automatic-placement', checks=[ + self.check('supportAutomaticPlacement', True), + ]) + host_id = self.cmd('vm host create -n {host-name} --host-group {host-group} -d 0 -g {rg2} --sku DSv3-Type1').get_output_in_json()['id'] + self.kwargs.update({ + 'host_id': host_id + }) + self.cmd('vm create -g {rg2} -n vm1 --image centos --host {host_id} --size Standard_D4s_v3 --nsg-rule NONE --generate-ssh-keys --admin-username azureuser') + self.cmd('vm create -g {rg2} -n vm2 --image centos --host-group {host-group} --size Standard_D4s_v3 --nsg-rule NONE --generate-ssh-keys --admin-username azureuser') + self.cmd('vm show -g {rg2} -n vm1', checks=[ + self.check_pattern('host.id', '.*/{host-name}$') + ]) + self.cmd('vm show -g {rg2} -n vm2', checks=[ + self.check_pattern('hostGroup.id', '.*/{host-group}$') + ]) + self.cmd('vm delete --name vm1 -g {rg2} --yes') + self.cmd('vm delete --name vm2 -g {rg2} --yes') + self.cmd('vm host delete --name {host-name} --host-group {host-group} -g {rg2} --yes') # endregion