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 3695a8dcd02..5c121136f39 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_validators.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_validators.py @@ -518,8 +518,24 @@ def _validate_vm_create_storage_profile(cmd, namespace, for_scale_set=False): namespace.attach_data_disks = [_get_resource_id(cmd.cli_ctx, d, namespace.resource_group_name, 'disks', 'Microsoft.Compute') for d in namespace.attach_data_disks] - if not namespace.os_type and namespace.storage_profile != StorageProfile.SharedGalleryImage: - namespace.os_type = 'windows' if 'windows' in namespace.os_offer.lower() else 'linux' + if not namespace.os_type: + if namespace.storage_profile == StorageProfile.SharedGalleryImage: + + if namespace.location is None: + from azure.cli.core.azclierror import RequiredArgumentMissingError + raise RequiredArgumentMissingError( + 'Please input the location of the shared gallery image through the parameter --location.') + + from ._vm_utils import parse_shared_gallery_image_id + image_info = parse_shared_gallery_image_id(namespace.image) + + from ._client_factory import cf_shared_gallery_image + shared_gallery_image_info = cf_shared_gallery_image(cmd.cli_ctx).get( + location=namespace.location, gallery_unique_name=image_info[0], gallery_image_name=image_info[1]) + namespace.os_type = shared_gallery_image_info.os_type + + else: + namespace.os_type = 'windows' if 'windows' in namespace.os_offer.lower() else 'linux' from ._vm_utils import normalize_disk_info # attach_data_disks are not exposed yet for VMSS, so use 'getattr' to avoid crash diff --git a/src/azure-cli/azure/cli/command_modules/vm/_vm_utils.py b/src/azure-cli/azure/cli/command_modules/vm/_vm_utils.py index 462f11fa39c..41b9fca080c 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_vm_utils.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_vm_utils.py @@ -372,6 +372,23 @@ def is_shared_gallery_image_id(image_reference): return False +def parse_shared_gallery_image_id(image_reference): + from azure.cli.core.azclierror import InvalidArgumentValueError + + if not image_reference: + raise InvalidArgumentValueError( + 'Please pass in the shared gallery image id through the parameter --image') + + image_info = re.search(r'^/SharedGalleries/([^/]*)/Images/([^/]*)/Versions/.*$', image_reference, re.IGNORECASE) + if not image_info or len(image_info.groups()) < 2: + raise InvalidArgumentValueError( + 'The shared gallery image id is invalid. The valid format should be ' + '"/SharedGalleries/{gallery_unique_name}/Images/{gallery_image_name}/Versions/{image_version}"') + + # Return the gallery unique name and gallery image name parsed from shared gallery image id + return image_info.group(1), image_info.group(2) + + class ArmTemplateBuilder20190401(ArmTemplateBuilder): def __init__(self): diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_vm_with_shared_gallery_image.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_vm_with_shared_gallery_image.yaml index 78bf94b93c6..d825beba0b6 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_vm_with_shared_gallery_image.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_vm_with_shared_gallery_image.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - -g --gallery-name --permissions User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-08-06T08:02:02Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T09:20:31Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:03:33 GMT + - Fri, 20 Aug 2021 09:22:16 GMT expires: - '-1' pragma: @@ -60,7 +60,7 @@ interactions: ParameterSetName: - -g --gallery-name --permissions User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gellery000005?api-version=2020-09-30 response: @@ -68,12 +68,12 @@ interactions: string: "{\r\n \"name\": \"gellery000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gellery000005\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4KTUHRIW\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSM62OGHPN\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Groups\"\r\n },\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/d87a36da-0038-4467-b455-ae45f04658c3?api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/82c48b07-fd50-4ee6-a463-c57d37f69cef?api-version=2020-09-30 cache-control: - no-cache content-length: @@ -81,7 +81,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:03:39 GMT + - Fri, 20 Aug 2021 09:22:23 GMT expires: - '-1' pragma: @@ -96,7 +96,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGallery3Min;49,Microsoft.Compute/CreateUpdateGallery30Min;299 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -114,14 +114,14 @@ interactions: ParameterSetName: - -g --gallery-name --permissions User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/d87a36da-0038-4467-b455-ae45f04658c3?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/82c48b07-fd50-4ee6-a463-c57d37f69cef?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-08-06T08:03:38.8256169+00:00\",\r\n \"endTime\": - \"2021-08-06T08:03:39.0912162+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"d87a36da-0038-4467-b455-ae45f04658c3\"\r\n}" + string: "{\r\n \"startTime\": \"2021-08-20T09:22:22.3431408+00:00\",\r\n \"endTime\": + \"2021-08-20T09:22:22.5931394+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"82c48b07-fd50-4ee6-a463-c57d37f69cef\"\r\n}" headers: cache-control: - no-cache @@ -130,7 +130,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:04:10 GMT + - Fri, 20 Aug 2021 09:22:53 GMT expires: - '-1' pragma: @@ -147,7 +147,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4183 + - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4174 status: code: 200 message: OK @@ -165,7 +165,7 @@ interactions: ParameterSetName: - -g --gallery-name --permissions User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gellery000005?api-version=2020-09-30 response: @@ -173,17 +173,18 @@ interactions: string: "{\r\n \"name\": \"gellery000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gellery000005\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4KTUHRIW\"\r\n },\r\n \"provisioningState\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSM62OGHPN\"\r\n },\r\n \"sharingProfile\": + {\r\n \"permissions\": \"Groups\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '495' + - '559' content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:04:10 GMT + - Fri, 20 Aug 2021 09:22:54 GMT expires: - '-1' pragma: @@ -200,7 +201,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;346,Microsoft.Compute/GetGallery30Min;2490 + - Microsoft.Compute/GetGallery3Min;346,Microsoft.Compute/GetGallery30Min;2488 status: code: 200 message: OK @@ -218,12 +219,12 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-08-06T08:02:02Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T09:20:31Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -232,7 +233,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:04:11 GMT + - Fri, 20 Aug 2021 09:22:54 GMT expires: - '-1' pragma: @@ -266,7 +267,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gellery000005/images/image000006?api-version=2020-09-30 response: @@ -280,7 +281,7 @@ interactions: \ }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/f5bf12f7-6104-4950-a505-bd5949a0a723?api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/93f371a5-411b-4cdf-a331-1225f66c3cd6?api-version=2020-09-30 cache-control: - no-cache content-length: @@ -288,7 +289,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:04:19 GMT + - Fri, 20 Aug 2021 09:23:03 GMT expires: - '-1' pragma: @@ -321,14 +322,14 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/f5bf12f7-6104-4950-a505-bd5949a0a723?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/93f371a5-411b-4cdf-a331-1225f66c3cd6?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-08-06T08:04:18.3880942+00:00\",\r\n \"endTime\": - \"2021-08-06T08:04:18.4818674+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"f5bf12f7-6104-4950-a505-bd5949a0a723\"\r\n}" + string: "{\r\n \"startTime\": \"2021-08-20T09:23:01.3277413+00:00\",\r\n \"endTime\": + \"2021-08-20T09:23:01.4371288+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"93f371a5-411b-4cdf-a331-1225f66c3cd6\"\r\n}" headers: cache-control: - no-cache @@ -337,7 +338,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:04:50 GMT + - Fri, 20 Aug 2021 09:23:33 GMT expires: - '-1' pragma: @@ -354,7 +355,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1196,Microsoft.Compute/GetOperationStatus30Min;4181 + - Microsoft.Compute/GetOperationStatus3Min;1196,Microsoft.Compute/GetOperationStatus30Min;4172 status: code: 200 message: OK @@ -372,7 +373,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gellery000005/images/image000006?api-version=2020-09-30 response: @@ -392,7 +393,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:04:50 GMT + - Fri, 20 Aug 2021 09:23:34 GMT expires: - '-1' pragma: @@ -409,7 +410,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImage3Min;596,Microsoft.Compute/GetGalleryImage30Min;2990 + - Microsoft.Compute/GetGalleryImage3Min;594,Microsoft.Compute/GetGalleryImage30Min;2985 status: code: 200 message: OK @@ -427,12 +428,12 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-08-06T08:02:02Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T09:20:31Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -441,7 +442,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:04:52 GMT + - Fri, 20 Aug 2021 09:23:34 GMT expires: - '-1' pragma: @@ -521,11 +522,11 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Fri, 06 Aug 2021 08:04:53 GMT + - Fri, 20 Aug 2021 09:23:35 GMT etag: - W/"54bceef15b892f2aa7f4c2145a49f1b5e33608722acdbb47933d7b6cbebbd7f4" expires: - - Fri, 06 Aug 2021 08:09:53 GMT + - Fri, 20 Aug 2021 09:28:35 GMT source-age: - '0' strict-transport-security: @@ -541,15 +542,15 @@ interactions: x-content-type-options: - nosniff x-fastly-request-id: - - 1e8a9718f4bbf49a1709bab4aede099f0265ff6e + - e6e78e3373358725984c6aae1313f9bbefddf478 x-frame-options: - deny x-github-request-id: - - 4A52:1645:30C1B4:4416EB:610CDF19 + - B06E:757E:B0B47:C6FA3:611F6821 x-served-by: - - cache-hkg17926-HKG + - cache-hkg17920-HKG x-timer: - - S1628237093.939264,VS0,VE272 + - S1629451415.484718,VS0,VE266 x-xss-protection: - 1; mode=block status: @@ -569,7 +570,7 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 response: @@ -583,7 +584,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:04:53 GMT + - Fri, 20 Aug 2021 09:23:35 GMT expires: - '-1' pragma: @@ -645,23 +646,23 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_b0tHhFz62GwrDUmTDiI6Jj9rQ7JyLptP","name":"vm_deploy_b0tHhFz62GwrDUmTDiI6Jj9rQ7JyLptP","type":"Microsoft.Resources/deployments","properties":{"templateHash":"2028613629860173674","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-08-06T08:04:58.1689413Z","duration":"PT3.0295062S","correlationId":"5b3cf7f7-26ee-4cc1-bb1a-9a9e515f2b61","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm000002VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm000002PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm000002"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_AE9d3ou8FXFy7B0c5GOjJbOys5hWNiGT","name":"vm_deploy_AE9d3ou8FXFy7B0c5GOjJbOys5hWNiGT","type":"Microsoft.Resources/deployments","properties":{"templateHash":"81153334482368479","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-08-20T09:23:42.8340164Z","duration":"PT2.9624247S","correlationId":"f87e086b-d0be-4f05-9ef2-05365b9c7826","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm000002VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm000002PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm000002"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_b0tHhFz62GwrDUmTDiI6Jj9rQ7JyLptP/operationStatuses/08585733697903382007?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_AE9d3ou8FXFy7B0c5GOjJbOys5hWNiGT/operationStatuses/08585721554656060555?api-version=2021-04-01 cache-control: - no-cache content-length: - - '2898' + - '2896' content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:04:58 GMT + - Fri, 20 Aug 2021 09:23:43 GMT expires: - '-1' pragma: @@ -671,7 +672,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -689,9 +690,9 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585733697903382007?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585721554656060555?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -703,7 +704,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:05:29 GMT + - Fri, 20 Aug 2021 09:24:14 GMT expires: - '-1' pragma: @@ -731,9 +732,9 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585733697903382007?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585721554656060555?api-version=2021-04-01 response: body: string: '{"status":"Succeeded"}' @@ -745,7 +746,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:06:02 GMT + - Fri, 20 Aug 2021 09:24:45 GMT expires: - '-1' pragma: @@ -773,21 +774,21 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_b0tHhFz62GwrDUmTDiI6Jj9rQ7JyLptP","name":"vm_deploy_b0tHhFz62GwrDUmTDiI6Jj9rQ7JyLptP","type":"Microsoft.Resources/deployments","properties":{"templateHash":"2028613629860173674","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-08-06T08:05:35.001014Z","duration":"PT39.8615789S","correlationId":"5b3cf7f7-26ee-4cc1-bb1a-9a9e515f2b61","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm000002VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm000002PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm000002"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_AE9d3ou8FXFy7B0c5GOjJbOys5hWNiGT","name":"vm_deploy_AE9d3ou8FXFy7B0c5GOjJbOys5hWNiGT","type":"Microsoft.Resources/deployments","properties":{"templateHash":"81153334482368479","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-08-20T09:24:24.7387744Z","duration":"PT44.8671827S","correlationId":"f87e086b-d0be-4f05-9ef2-05365b9c7826","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm000002VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm000002PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm000002"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET"}]}}' headers: cache-control: - no-cache content-length: - - '4027' + - '4026' content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:06:02 GMT + - Fri, 20 Aug 2021 09:24:46 GMT expires: - '-1' pragma: @@ -815,36 +816,36 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002?$expand=instanceView&api-version=2021-04-01 response: body: string: "{\r\n \"name\": \"vm000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"b30ab5a4-bb17-4aec-b541-b273e386b061\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"bab87804-c73b-469c-9a9f-1823fb1a971b\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": \"18.04.202107200\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm000002_disk1_ab1b1a276cf14381997a135c87928034\",\r\n + \"Linux\",\r\n \"name\": \"vm000002_disk1_021187b4894947aca48a447e52fcfabc\",\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/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk1_ab1b1a276cf14381997a135c87928034\"\r\n - \ },\r\n \"diskSizeGB\": 30,\r\n \"deleteOption\": \"Detach\"\r\n - \ },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": 0,\r\n - \ \"name\": \"vm000002_disk2_7dc5fe3dbba241baabbeead7eacc0658\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk1_021187b4894947aca48a447e52fcfabc\"\r\n + \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": + 30\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": + 0,\r\n \"name\": \"vm000002_disk2_357a76698a9146b7b66d856fe15fbe4d\",\r\n \ \"createOption\": \"Empty\",\r\n \"caching\": \"None\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk2_7dc5fe3dbba241baabbeead7eacc0658\"\r\n - \ },\r\n \"diskSizeGB\": 10,\r\n \"toBeDetached\": - false,\r\n \"deleteOption\": \"Detach\"\r\n }\r\n ]\r\n - \ },\r\n \"osProfile\": {\r\n \"computerName\": \"vm000002\",\r\n - \ \"adminUsername\": \"clitest1\",\r\n \"linuxConfiguration\": {\r\n - \ \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n - \ \"publicKeys\": [\r\n {\r\n \"path\": \"/home/clitest1/.ssh/authorized_keys\",\r\n - \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDdfdN+YWbkBS84r36yJbgfTI+Gx1W/ErinzCGvXBeO0S8F8JBc45BGTSaNmgOiqVMef3L9Dne7xUv6CwK+NaPRF23B2Sfv1VT1RWjKzgsgLAGiMvMuXA8/BfnKyQU43P6ImgXW/89E8OE9tS2TYLWiSSOjSTiCDnH+bJOw0Gqb25CLhZiahL1lS8MPuZHQaLa71GGUJS93GeBBF6eM2aFKitdFif38RsHxwY/aLlKhjwuy0XPI/4HcIHJR9uyEiFsPQXZMbFPwfvTWyRQDqS0KfxgFXtoVQgaNq74zJv94JdqDykoXYrempJU33jCC06vi39u+xZHAdAagp6e8z/WQc7fIPEOoKqNBKO3UhjXfLfHsxM9QvEiE2kL1xBekS9XrzqSvYZBi4tiSiLAYajOdI5dlv9HgvRTdCtnfF6v8iVGpwql/B1OTOn/A9uCmRIu3o9aMjsQoegqGX6e+h7omfVaExdClXOrW1Qi5l9mUSDLJgsGm1sT9nLaVJlPotFM= + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk2_357a76698a9146b7b66d856fe15fbe4d\"\r\n + \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": + 10,\r\n \"toBeDetached\": false\r\n }\r\n ]\r\n },\r\n + \ \"osProfile\": {\r\n \"computerName\": \"vm000002\",\r\n \"adminUsername\": + \"clitest1\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": + true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n + \ \"path\": \"/home/clitest1/.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 \ \"provisionVMAgent\": true,\r\n \"patchSettings\": {\r\n \"patchMode\": \"ImageDefault\",\r\n \"assessmentMode\": \"ImageDefault\"\r\n }\r\n @@ -853,24 +854,24 @@ interactions: {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic\"}]},\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": \"vm000002\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": \"18.04\",\r\n - \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.3.1.1\",\r\n \"statuses\": + \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.4.0.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\": - \"2021-08-06T08:05:43+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm000002_disk1_ab1b1a276cf14381997a135c87928034\",\r\n + \"2021-08-20T09:24:35+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm000002_disk1_021187b4894947aca48a447e52fcfabc\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-08-06T08:05:19.9289681+00:00\"\r\n + succeeded\",\r\n \"time\": \"2021-08-20T09:24:11.6171152+00:00\"\r\n \ }\r\n ]\r\n },\r\n {\r\n \"name\": - \"vm000002_disk2_7dc5fe3dbba241baabbeead7eacc0658\",\r\n \"statuses\": + \"vm000002_disk2_357a76698a9146b7b66d856fe15fbe4d\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-08-06T08:05:19.9289681+00:00\"\r\n + succeeded\",\r\n \"time\": \"2021-08-20T09:24:11.6171152+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\": \"2021-08-06T08:05:33.8821777+00:00\"\r\n + succeeded\",\r\n \"time\": \"2021-08-20T09:24:24.0703042+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}" @@ -882,7 +883,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:06:03 GMT + - Fri, 20 Aug 2021 09:24:46 GMT expires: - '-1' pragma: @@ -899,7 +900,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31973 + - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31982 status: code: 200 message: OK @@ -917,18 +918,18 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic?api-version=2018-01-01 response: body: string: "{\r\n \"name\": \"vm000002VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic\",\r\n - \ \"etag\": \"W/\\\"1b6fbdb6-4c0c-48e9-8255-aa81e147a39f\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"b157902d-64b5-4bdb-8e41-9db55cfe9a15\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"ea9c630f-c8c9-4cb8-81f3-57a213a092b6\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"f74a346c-fa75-41e4-a1b2-986b53e00d53\",\r\n \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm000002\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic/ipConfigurations/ipconfigvm000002\",\r\n - \ \"etag\": \"W/\\\"1b6fbdb6-4c0c-48e9-8255-aa81e147a39f\\\"\",\r\n + \ \"etag\": \"W/\\\"b157902d-64b5-4bdb-8e41-9db55cfe9a15\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -937,8 +938,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\": - \"kmaa1yjjoseepahw2e4il5mqjf.bx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-0D-3A-14-58-30\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \"5ev51w1w2kfepasswh2wsn2pud.bx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-56-35-78\",\r\n \"enableAcceleratedNetworking\": false,\r\n \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": @@ -952,9 +953,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:06:06 GMT + - Fri, 20 Aug 2021 09:24:47 GMT etag: - - W/"1b6fbdb6-4c0c-48e9-8255-aa81e147a39f" + - W/"b157902d-64b5-4bdb-8e41-9db55cfe9a15" expires: - '-1' pragma: @@ -971,7 +972,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7345f905-211b-44b6-97e0-a5380ea9ecd0 + - 7a454a8d-bd49-493c-9978-a0b2d20d12fa status: code: 200 message: OK @@ -989,16 +990,16 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP?api-version=2018-01-01 response: body: string: "{\r\n \"name\": \"vm000002PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP\",\r\n - \ \"etag\": \"W/\\\"c0e5406b-7510-4c8f-b06d-5a1243fca0f8\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"88c5596b-8eaf-45f1-bebd-3ff8f09ba207\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"835ed065-5935-4139-948e-57408b34d555\",\r\n - \ \"ipAddress\": \"52.186.87.97\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"22ebc674-30f0-45b9-bd78-b82ef06ce674\",\r\n + \ \"ipAddress\": \"40.76.218.210\",\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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic/ipConfigurations/ipconfigvm000002\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n @@ -1007,13 +1008,13 @@ interactions: cache-control: - no-cache content-length: - - '1048' + - '1049' content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:06:06 GMT + - Fri, 20 Aug 2021 09:24:47 GMT etag: - - W/"c0e5406b-7510-4c8f-b06d-5a1243fca0f8" + - W/"88c5596b-8eaf-45f1-bebd-3ff8f09ba207" expires: - '-1' pragma: @@ -1030,7 +1031,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 88327daa-a66f-411b-8511-f0237fe7d02d + - 9e29d3a0-40fa-4241-9b1e-94c5e738e249 status: code: 200 message: OK @@ -1050,7 +1051,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002/deallocate?api-version=2021-04-01 response: @@ -1058,17 +1059,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/2f9de018-47fb-492a-8d11-691da0f86093?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/18936d78-2c37-4b4d-aa1b-3063e5d7a3ce?p=54253b73-cb53-496f-ab42-5e5ee19426f8&api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 06 Aug 2021 08:07:16 GMT + - Fri, 20 Aug 2021 09:25:58 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/2f9de018-47fb-492a-8d11-691da0f86093?monitor=true&api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/18936d78-2c37-4b4d-aa1b-3063e5d7a3ce?p=54253b73-cb53-496f-ab42-5e5ee19426f8&monitor=true&api-version=2021-04-01 pragma: - no-cache server: @@ -1079,7 +1080,7 @@ 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;1198 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -1099,13 +1100,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/2f9de018-47fb-492a-8d11-691da0f86093?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/18936d78-2c37-4b4d-aa1b-3063e5d7a3ce?p=54253b73-cb53-496f-ab42-5e5ee19426f8&api-version=2021-04-01 response: body: - string: "{\r\n \"startTime\": \"2021-08-06T08:07:17.2120918+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"2f9de018-47fb-492a-8d11-691da0f86093\"\r\n}" + string: "{\r\n \"startTime\": \"2021-08-20T09:25:59.2269162+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"18936d78-2c37-4b4d-aa1b-3063e5d7a3ce\"\r\n}" headers: cache-control: - no-cache @@ -1114,7 +1115,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:07:27 GMT + - Fri, 20 Aug 2021 09:26:08 GMT expires: - '-1' pragma: @@ -1131,7 +1132,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29992 + - Microsoft.Compute/GetOperation3Min;14997,Microsoft.Compute/GetOperation30Min;29995 status: code: 200 message: OK @@ -1149,14 +1150,14 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/2f9de018-47fb-492a-8d11-691da0f86093?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/18936d78-2c37-4b4d-aa1b-3063e5d7a3ce?p=54253b73-cb53-496f-ab42-5e5ee19426f8&api-version=2021-04-01 response: body: - string: "{\r\n \"startTime\": \"2021-08-06T08:07:17.2120918+00:00\",\r\n \"endTime\": - \"2021-08-06T08:07:48.1187434+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"2f9de018-47fb-492a-8d11-691da0f86093\"\r\n}" + string: "{\r\n \"startTime\": \"2021-08-20T09:25:59.2269162+00:00\",\r\n \"endTime\": + \"2021-08-20T09:26:44.4145838+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"18936d78-2c37-4b4d-aa1b-3063e5d7a3ce\"\r\n}" headers: cache-control: - no-cache @@ -1165,7 +1166,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:07:59 GMT + - Fri, 20 Aug 2021 09:26:45 GMT expires: - '-1' pragma: @@ -1182,7 +1183,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;29991 status: code: 200 message: OK @@ -1200,9 +1201,9 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/2f9de018-47fb-492a-8d11-691da0f86093?monitor=true&api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/18936d78-2c37-4b4d-aa1b-3063e5d7a3ce?p=54253b73-cb53-496f-ab42-5e5ee19426f8&monitor=true&api-version=2021-04-01 response: body: string: '' @@ -1212,7 +1213,7 @@ interactions: content-length: - '0' date: - - Fri, 06 Aug 2021 08:07:59 GMT + - Fri, 20 Aug 2021 09:26:46 GMT expires: - '-1' pragma: @@ -1225,7 +1226,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14994,Microsoft.Compute/GetOperation30Min;29990 + - Microsoft.Compute/GetOperation3Min;14992,Microsoft.Compute/GetOperation30Min;29990 status: code: 200 message: OK @@ -1245,7 +1246,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002/generalize?api-version=2021-04-01 response: @@ -1257,7 +1258,7 @@ interactions: content-length: - '0' date: - - Fri, 06 Aug 2021 08:08:00 GMT + - Fri, 20 Aug 2021 09:26:48 GMT expires: - '-1' pragma: @@ -1270,7 +1271,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/UpdateVM3Min;239,Microsoft.Compute/UpdateVM30Min;1198 + - Microsoft.Compute/UpdateVM3Min;239,Microsoft.Compute/UpdateVM30Min;1199 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -1290,28 +1291,28 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002?api-version=2021-04-01 response: body: string: "{\r\n \"name\": \"vm000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"b30ab5a4-bb17-4aec-b541-b273e386b061\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"bab87804-c73b-469c-9a9f-1823fb1a971b\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": \"18.04.202107200\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm000002_disk1_ab1b1a276cf14381997a135c87928034\",\r\n + \"Linux\",\r\n \"name\": \"vm000002_disk1_021187b4894947aca48a447e52fcfabc\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n - \ \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk1_ab1b1a276cf14381997a135c87928034\"\r\n + \ \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk1_021187b4894947aca48a447e52fcfabc\"\r\n \ },\r\n \"deleteOption\": \"Detach\"\r\n },\r\n \"dataDisks\": - [\r\n {\r\n \"lun\": 0,\r\n \"name\": \"vm000002_disk2_7dc5fe3dbba241baabbeead7eacc0658\",\r\n + [\r\n {\r\n \"lun\": 0,\r\n \"name\": \"vm000002_disk2_357a76698a9146b7b66d856fe15fbe4d\",\r\n \ \"createOption\": \"Empty\",\r\n \"caching\": \"None\",\r\n - \ \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk2_7dc5fe3dbba241baabbeead7eacc0658\"\r\n - \ },\r\n \"toBeDetached\": false,\r\n \"deleteOption\": - \"Detach\"\r\n }\r\n ]\r\n },\r\n \"osProfile\": {\r\n \"computerName\": + \ \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk2_357a76698a9146b7b66d856fe15fbe4d\"\r\n + \ },\r\n \"deleteOption\": \"Detach\",\r\n \"toBeDetached\": + false\r\n }\r\n ]\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm000002\",\r\n \"adminUsername\": \"clitest1\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": @@ -1332,7 +1333,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:08:01 GMT + - Fri, 20 Aug 2021 09:26:48 GMT expires: - '-1' pragma: @@ -1349,7 +1350,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3995,Microsoft.Compute/LowCostGet30Min;31972 + - Microsoft.Compute/LowCostGet3Min;3995,Microsoft.Compute/LowCostGet30Min;31985 status: code: 200 message: OK @@ -1367,12 +1368,12 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-08-06T08:02:02Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T09:20:31Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1381,7 +1382,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:08:01 GMT + - Fri, 20 Aug 2021 09:26:49 GMT expires: - '-1' pragma: @@ -1415,7 +1416,7 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1?api-version=2021-04-01 response: @@ -1426,10 +1427,10 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002\"\r\n \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"managedDisk\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk1_ab1b1a276cf14381997a135c87928034\"\r\n + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk1_021187b4894947aca48a447e52fcfabc\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": - 0,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk2_7dc5fe3dbba241baabbeead7eacc0658\"\r\n + 0,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk2_357a76698a9146b7b66d856fe15fbe4d\"\r\n \ },\r\n \"caching\": \"None\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n }\r\n ]\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"hyperVGeneration\": \"V1\"\r\n }\r\n}" @@ -1437,7 +1438,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/6b5c18d7-ee1a-466f-a0be-91b43a9f434b?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/7bb5ed74-57bc-4642-836c-7173444e8016?p=54253b73-cb53-496f-ab42-5e5ee19426f8&api-version=2021-04-01 cache-control: - no-cache content-length: @@ -1445,7 +1446,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:08:08 GMT + - Fri, 20 Aug 2021 09:26:55 GMT expires: - '-1' pragma: @@ -1460,7 +1461,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateImages3Min;39,Microsoft.Compute/CreateImages30Min;199 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -1478,23 +1479,23 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/6b5c18d7-ee1a-466f-a0be-91b43a9f434b?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/7bb5ed74-57bc-4642-836c-7173444e8016?p=54253b73-cb53-496f-ab42-5e5ee19426f8&api-version=2021-04-01 response: body: - string: "{\r\n \"startTime\": \"2021-08-06T08:08:08.1973093+00:00\",\r\n \"endTime\": - \"2021-08-06T08:08:13.2911358+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"6b5c18d7-ee1a-466f-a0be-91b43a9f434b\"\r\n}" + string: "{\r\n \"startTime\": \"2021-08-20T09:26:55.5083917+00:00\",\r\n \"endTime\": + \"2021-08-20T09:27:00.617745+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"7bb5ed74-57bc-4642-836c-7173444e8016\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '183' content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:08:39 GMT + - Fri, 20 Aug 2021 09:27:27 GMT expires: - '-1' pragma: @@ -1511,7 +1512,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29987 + - Microsoft.Compute/GetOperation3Min;14991,Microsoft.Compute/GetOperation30Min;29987 status: code: 200 message: OK @@ -1529,7 +1530,7 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1?api-version=2021-04-01 response: @@ -1540,11 +1541,11 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002\"\r\n \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": - 30,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk1_ab1b1a276cf14381997a135c87928034\"\r\n + 30,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk1_021187b4894947aca48a447e52fcfabc\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": 0,\r\n \"diskSizeGB\": 10,\r\n \"managedDisk\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk2_7dc5fe3dbba241baabbeead7eacc0658\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk2_357a76698a9146b7b66d856fe15fbe4d\"\r\n \ },\r\n \"caching\": \"None\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n }\r\n ]\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"hyperVGeneration\": \"V1\"\r\n }\r\n}" @@ -1556,7 +1557,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:08:39 GMT + - Fri, 20 Aug 2021 09:27:28 GMT expires: - '-1' pragma: @@ -1573,7 +1574,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetImages3Min;358,Microsoft.Compute/GetImages30Min;1792 + - Microsoft.Compute/GetImages3Min;358,Microsoft.Compute/GetImages30Min;1794 status: code: 200 message: OK @@ -1592,12 +1593,12 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-08-06T08:02:02Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T09:20:31Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1606,7 +1607,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:08:40 GMT + - Fri, 20 Aug 2021 09:27:28 GMT expires: - '-1' pragma: @@ -1641,7 +1642,7 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gellery000005/images/image000006/versions/1.1.2?api-version=2020-09-30 response: @@ -1652,13 +1653,13 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"East US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2021-08-06T08:08:46.5920013+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2021-08-20T09:27:35.9543714+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1\"\r\n \ }\r\n },\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/bff6e656-28af-47f4-93b7-d415c4b02412?api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/3e32a9d4-4890-4872-b933-7394e4e167f7?api-version=2020-09-30 cache-control: - no-cache content-length: @@ -1666,7 +1667,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:08:48 GMT + - Fri, 20 Aug 2021 09:27:36 GMT expires: - '-1' pragma: @@ -1681,7 +1682,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;374,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1199 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -1700,13 +1701,64 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/3e32a9d4-4890-4872-b933-7394e4e167f7?api-version=2020-09-30 + response: + body: + string: "{\r\n \"startTime\": \"2021-08-20T09:27:35.9387465+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"3e32a9d4-4890-4872-b933-7394e4e167f7\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 20 Aug 2021 09:28:37 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/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4172 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image + --replica-count + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/bff6e656-28af-47f4-93b7-d415c4b02412?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/3e32a9d4-4890-4872-b933-7394e4e167f7?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-08-06T08:08:46.5763572+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"bff6e656-28af-47f4-93b7-d415c4b02412\"\r\n}" + string: "{\r\n \"startTime\": \"2021-08-20T09:27:35.9387465+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"3e32a9d4-4890-4872-b933-7394e4e167f7\"\r\n}" headers: cache-control: - no-cache @@ -1715,7 +1767,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:09:48 GMT + - Fri, 20 Aug 2021 09:29:38 GMT expires: - '-1' pragma: @@ -1732,7 +1784,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4183 + - Microsoft.Compute/GetOperationStatus3Min;1197,Microsoft.Compute/GetOperationStatus30Min;4171 status: code: 200 message: OK @@ -1751,13 +1803,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/bff6e656-28af-47f4-93b7-d415c4b02412?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/3e32a9d4-4890-4872-b933-7394e4e167f7?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-08-06T08:08:46.5763572+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"bff6e656-28af-47f4-93b7-d415c4b02412\"\r\n}" + string: "{\r\n \"startTime\": \"2021-08-20T09:27:35.9387465+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"3e32a9d4-4890-4872-b933-7394e4e167f7\"\r\n}" headers: cache-control: - no-cache @@ -1766,7 +1818,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:10:49 GMT + - Fri, 20 Aug 2021 09:30:39 GMT expires: - '-1' pragma: @@ -1783,7 +1835,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1196,Microsoft.Compute/GetOperationStatus30Min;4190 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4177 status: code: 200 message: OK @@ -1802,13 +1854,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/bff6e656-28af-47f4-93b7-d415c4b02412?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/3e32a9d4-4890-4872-b933-7394e4e167f7?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-08-06T08:08:46.5763572+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"bff6e656-28af-47f4-93b7-d415c4b02412\"\r\n}" + string: "{\r\n \"startTime\": \"2021-08-20T09:27:35.9387465+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"3e32a9d4-4890-4872-b933-7394e4e167f7\"\r\n}" headers: cache-control: - no-cache @@ -1817,7 +1869,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:11:49 GMT + - Fri, 20 Aug 2021 09:31:40 GMT expires: - '-1' pragma: @@ -1834,7 +1886,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4188 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4175 status: code: 200 message: OK @@ -1853,13 +1905,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/bff6e656-28af-47f4-93b7-d415c4b02412?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/3e32a9d4-4890-4872-b933-7394e4e167f7?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-08-06T08:08:46.5763572+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"bff6e656-28af-47f4-93b7-d415c4b02412\"\r\n}" + string: "{\r\n \"startTime\": \"2021-08-20T09:27:35.9387465+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"3e32a9d4-4890-4872-b933-7394e4e167f7\"\r\n}" headers: cache-control: - no-cache @@ -1868,7 +1920,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:12:49 GMT + - Fri, 20 Aug 2021 09:32:41 GMT expires: - '-1' pragma: @@ -1885,7 +1937,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4187 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4173 status: code: 200 message: OK @@ -1904,13 +1956,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/bff6e656-28af-47f4-93b7-d415c4b02412?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/3e32a9d4-4890-4872-b933-7394e4e167f7?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-08-06T08:08:46.5763572+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"bff6e656-28af-47f4-93b7-d415c4b02412\"\r\n}" + string: "{\r\n \"startTime\": \"2021-08-20T09:27:35.9387465+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"3e32a9d4-4890-4872-b933-7394e4e167f7\"\r\n}" headers: cache-control: - no-cache @@ -1919,7 +1971,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:13:51 GMT + - Fri, 20 Aug 2021 09:33:41 GMT expires: - '-1' pragma: @@ -1936,7 +1988,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4185 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4171 status: code: 200 message: OK @@ -1955,13 +2007,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/bff6e656-28af-47f4-93b7-d415c4b02412?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/3e32a9d4-4890-4872-b933-7394e4e167f7?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-08-06T08:08:46.5763572+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"bff6e656-28af-47f4-93b7-d415c4b02412\"\r\n}" + string: "{\r\n \"startTime\": \"2021-08-20T09:27:35.9387465+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"3e32a9d4-4890-4872-b933-7394e4e167f7\"\r\n}" headers: cache-control: - no-cache @@ -1970,7 +2022,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:14:52 GMT + - Fri, 20 Aug 2021 09:34:42 GMT expires: - '-1' pragma: @@ -1987,7 +2039,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4183 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4169 status: code: 200 message: OK @@ -2006,13 +2058,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/bff6e656-28af-47f4-93b7-d415c4b02412?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/3e32a9d4-4890-4872-b933-7394e4e167f7?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-08-06T08:08:46.5763572+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"bff6e656-28af-47f4-93b7-d415c4b02412\"\r\n}" + string: "{\r\n \"startTime\": \"2021-08-20T09:27:35.9387465+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"3e32a9d4-4890-4872-b933-7394e4e167f7\"\r\n}" headers: cache-control: - no-cache @@ -2021,7 +2073,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:15:52 GMT + - Fri, 20 Aug 2021 09:35:42 GMT expires: - '-1' pragma: @@ -2038,7 +2090,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4183 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4178 status: code: 200 message: OK @@ -2057,13 +2109,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/bff6e656-28af-47f4-93b7-d415c4b02412?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/3e32a9d4-4890-4872-b933-7394e4e167f7?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-08-06T08:08:46.5763572+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"bff6e656-28af-47f4-93b7-d415c4b02412\"\r\n}" + string: "{\r\n \"startTime\": \"2021-08-20T09:27:35.9387465+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"3e32a9d4-4890-4872-b933-7394e4e167f7\"\r\n}" headers: cache-control: - no-cache @@ -2072,7 +2124,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:16:53 GMT + - Fri, 20 Aug 2021 09:36:42 GMT expires: - '-1' pragma: @@ -2089,7 +2141,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4181 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4176 status: code: 200 message: OK @@ -2108,14 +2160,65 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/bff6e656-28af-47f4-93b7-d415c4b02412?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/3e32a9d4-4890-4872-b933-7394e4e167f7?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-08-06T08:08:46.5763572+00:00\",\r\n \"endTime\": - \"2021-08-06T08:17:47.6886226+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"bff6e656-28af-47f4-93b7-d415c4b02412\"\r\n}" + string: "{\r\n \"startTime\": \"2021-08-20T09:27:35.9387465+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"3e32a9d4-4890-4872-b933-7394e4e167f7\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 20 Aug 2021 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/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4174 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image + --replica-count + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/3e32a9d4-4890-4872-b933-7394e4e167f7?api-version=2020-09-30 + response: + body: + string: "{\r\n \"startTime\": \"2021-08-20T09:27:35.9387465+00:00\",\r\n \"endTime\": + \"2021-08-20T09:38:06.2227925+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"3e32a9d4-4890-4872-b933-7394e4e167f7\"\r\n}" headers: cache-control: - no-cache @@ -2124,7 +2227,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:17:54 GMT + - Fri, 20 Aug 2021 09:38:44 GMT expires: - '-1' pragma: @@ -2141,7 +2244,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4179 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4172 status: code: 200 message: OK @@ -2160,7 +2263,7 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gellery000005/images/image000006/versions/1.1.2?api-version=2020-09-30 response: @@ -2171,7 +2274,7 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"East US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2021-08-06T08:08:46.5920013+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2021-08-20T09:27:35.9543714+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1\"\r\n \ },\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 30,\r\n \"hostCaching\": @@ -2187,7 +2290,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:17:55 GMT + - Fri, 20 Aug 2021 09:38:44 GMT expires: - '-1' pragma: @@ -2204,7 +2307,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImageVersion3Min;1999,Microsoft.Compute/GetGalleryImageVersion30Min;9991 + - Microsoft.Compute/GetGalleryImageVersion3Min;1999,Microsoft.Compute/GetGalleryImageVersion30Min;9993 status: code: 200 message: OK @@ -2222,7 +2325,7 @@ interactions: ParameterSetName: - --gallery-name --resource-group --select User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gellery000005?api-version=2020-09-30&$select=Permissions response: @@ -2230,7 +2333,7 @@ interactions: string: "{\r\n \"name\": \"gellery000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gellery000005\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4KTUHRIW\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSM62OGHPN\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Groups\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -2241,7 +2344,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:17:55 GMT + - Fri, 20 Aug 2021 09:38:47 GMT expires: - '-1' pragma: @@ -2258,7 +2361,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;349,Microsoft.Compute/GetGallery30Min;2488 + - Microsoft.Compute/GetGallery3Min;349,Microsoft.Compute/GetGallery30Min;2487 status: code: 200 message: OK @@ -2281,7 +2384,7 @@ interactions: ParameterSetName: - --gallery-name -g --subscription-ids --tenant-ids User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gellery000005/share?api-version=2020-09-30 response: @@ -2289,17 +2392,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/59e23640-85c2-4f44-afd9-d849e0abf639?api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/6ed00ecb-04fe-43ea-a8ed-e473210080ae?api-version=2020-09-30 cache-control: - no-cache content-length: - '0' date: - - Fri, 06 Aug 2021 08:17:57 GMT + - Fri, 20 Aug 2021 09:38:48 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/59e23640-85c2-4f44-afd9-d849e0abf639?monitor=true&api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/6ed00ecb-04fe-43ea-a8ed-e473210080ae?monitor=true&api-version=2020-09-30 pragma: - no-cache server: @@ -2312,7 +2415,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/PostShareGallery3Min;9,Microsoft.Compute/PostShareGallery30Min;59 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -2330,23 +2433,23 @@ interactions: ParameterSetName: - --gallery-name -g --subscription-ids --tenant-ids User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/59e23640-85c2-4f44-afd9-d849e0abf639?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/6ed00ecb-04fe-43ea-a8ed-e473210080ae?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-08-06T08:17:57.48553+00:00\",\r\n \"endTime\": - \"2021-08-06T08:17:58.8917785+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"59e23640-85c2-4f44-afd9-d849e0abf639\"\r\n}" + string: "{\r\n \"startTime\": \"2021-08-20T09:38:48.7229868+00:00\",\r\n \"endTime\": + \"2021-08-20T09:38:49.9105017+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"6ed00ecb-04fe-43ea-a8ed-e473210080ae\"\r\n}" headers: cache-control: - no-cache content-length: - - '182' + - '184' content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:18:27 GMT + - Fri, 20 Aug 2021 09:39:18 GMT expires: - '-1' pragma: @@ -2363,7 +2466,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4176 + - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4169 status: code: 200 message: OK @@ -2381,9 +2484,9 @@ interactions: ParameterSetName: - --gallery-name -g --subscription-ids --tenant-ids User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/59e23640-85c2-4f44-afd9-d849e0abf639?monitor=true&api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/6ed00ecb-04fe-43ea-a8ed-e473210080ae?monitor=true&api-version=2020-09-30 response: body: string: '' @@ -2393,7 +2496,7 @@ interactions: content-length: - '0' date: - - Fri, 06 Aug 2021 08:18:27 GMT + - Fri, 20 Aug 2021 09:39:18 GMT expires: - '-1' pragma: @@ -2406,7 +2509,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4175 + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4168 status: code: 200 message: OK @@ -2424,13 +2527,13 @@ interactions: ParameterSetName: - --gallery-image-definition --gallery-unique-name --location --gallery-image-version User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4KTUHRIW/images/image000006/versions/1.1.2?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSM62OGHPN/images/image000006/versions/1.1.2?api-version=2020-09-30 response: body: - string: "{\r\n \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4KTUHRIW/Images/image000006/Versions/1.1.2\"\r\n - \ },\r\n \"properties\": {\r\n \"publishedDate\": \"2021-08-06T08:08:46.5920013+00:00\"\r\n + string: "{\r\n \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSM62OGHPN/Images/image000006/Versions/1.1.2\"\r\n + \ },\r\n \"properties\": {\r\n \"publishedDate\": \"2021-08-20T09:27:35.9543714+00:00\"\r\n \ },\r\n \"location\": \"eastus\",\r\n \"name\": \"1.1.2\"\r\n}" headers: cache-control: @@ -2440,7 +2543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:18:30 GMT + - Fri, 20 Aug 2021 09:39:21 GMT expires: - '-1' pragma: @@ -2473,12 +2576,12 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-08-06T08:02:02Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-08-20T09:20:31Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -2487,13 +2590,65 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:18:30 GMT + - Fri, 20 Aug 2021 09:39:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --generate-ssh-key --nsg-rule + User-Agent: + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSM62OGHPN/images/image000006?api-version=2020-09-30 + response: + body: + string: "{\r\n \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSM62OGHPN/Images/image000006\"\r\n + \ },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": + \"Generalized\",\r\n \"identifier\": {\r\n \"publisher\": \"publisher1\",\r\n + \ \"offer\": \"offer1\",\r\n \"sku\": \"sku1\"\r\n },\r\n \"recommended\": + {},\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": \"x64\"\r\n + \ },\r\n \"location\": \"eastus\",\r\n \"name\": \"image000006\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '470' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 20 Aug 2021 09:39:23 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: @@ -2515,21 +2670,21 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"vm000002VNET\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET\",\r\n - \ \"etag\": \"W/\\\"e80a7280-35e8-41b1-bfee-b7cc8426db3a\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"c4ed1ca2-79fd-479a-94d5-0e1ca5246d25\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"e10d0053-7429-4788-80f6-e13c85fd904d\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"dbfd2bf9-e276-478a-8252-b1f969378fa3\",\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\": \"vm000002Subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET/subnets/vm000002Subnet\",\r\n - \ \"etag\": \"W/\\\"e80a7280-35e8-41b1-bfee-b7cc8426db3a\\\"\",\r\n + \ \"etag\": \"W/\\\"c4ed1ca2-79fd-479a-94d5-0e1ca5246d25\\\"\",\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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic/ipConfigurations/ipconfigvm000002\"\r\n @@ -2545,7 +2700,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:18:31 GMT + - Fri, 20 Aug 2021 09:39:23 GMT expires: - '-1' pragma: @@ -2562,7 +2717,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7c81334e-4ed3-4cf7-a1c6-2b94e032a932 + - 23dd5f3a-d96c-48fa-bf01-dfb14a0ff464 status: code: 200 message: OK @@ -2587,8 +2742,8 @@ interactions: {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic", "properties": {"deleteOption": null}}]}, "storageProfile": {"osDisk": {"caching": "ReadWrite", "managedDisk": {"storageAccountType": null}, "name": null, "createOption": - "fromImage"}, "imageReference": {"sharedGalleryImageId": "/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4KTUHRIW/Images/image000006/Versions/1.1.2"}}, - "osProfile": {"computerName": "vmsgvgnujfvlhur", "adminUsername": "clitest1", + "fromImage"}, "imageReference": {"sharedGalleryImageId": "/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSM62OGHPN/Images/image000006/Versions/1.1.2"}}, + "osProfile": {"computerName": "vmsgven4egs4cxl", "adminUsername": "clitest1", "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/clitest1/.ssh/authorized_keys"}]}}}}}], @@ -2609,15 +2764,15 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_e7hXCTU7o4BPV9ApZSYKE9qjgdtd972m","name":"vm_deploy_e7hXCTU7o4BPV9ApZSYKE9qjgdtd972m","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14107219625377096749","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-08-06T08:18:36.5696404Z","duration":"PT2.9353082S","correlationId":"37e58aa4-a791-4d22-b013-ddd26750da40","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm_sgv000004NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm_sgv000004NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm_sgv000004PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm_sgv000004PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sgv000004VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sgv000004VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sgv000004","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm_sgv000004"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_jRjZxg2NVRXPNU4EWhgWL8xULxvZuoG1","name":"vm_deploy_jRjZxg2NVRXPNU4EWhgWL8xULxvZuoG1","type":"Microsoft.Resources/deployments","properties":{"templateHash":"12335556255160417245","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-08-20T09:39:28.5714769Z","duration":"PT1.6802888S","correlationId":"c9a74125-d82e-4595-ad11-c466d5d53ea9","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm_sgv000004NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm_sgv000004NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm_sgv000004PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm_sgv000004PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sgv000004VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sgv000004VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sgv000004","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm_sgv000004"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_e7hXCTU7o4BPV9ApZSYKE9qjgdtd972m/operationStatuses/08585733689718433003?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_jRjZxg2NVRXPNU4EWhgWL8xULxvZuoG1/operationStatuses/08585721545185864403?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -2625,7 +2780,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:18:37 GMT + - Fri, 20 Aug 2021 09:39:29 GMT expires: - '-1' pragma: @@ -2635,7 +2790,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 201 message: Created @@ -2653,51 +2808,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585733689718433003?api-version=2021-04-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 Aug 2021 08:19:08 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -g -n --image --admin-username --generate-ssh-key --nsg-rule - User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585733689718433003?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585721545185864403?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -2709,7 +2822,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:19:38 GMT + - Fri, 20 Aug 2021 09:40:00 GMT expires: - '-1' pragma: @@ -2737,93 +2850,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585733689718433003?api-version=2021-04-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 Aug 2021 08:20: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 - CommandName: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -g -n --image --admin-username --generate-ssh-key --nsg-rule - User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585733689718433003?api-version=2021-04-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 06 Aug 2021 08:20: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: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -g -n --image --admin-username --generate-ssh-key --nsg-rule - User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585733689718433003?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585721545185864403?api-version=2021-04-01 response: body: string: '{"status":"Succeeded"}' @@ -2835,7 +2864,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:21:11 GMT + - Fri, 20 Aug 2021 09:40:37 GMT expires: - '-1' pragma: @@ -2863,21 +2892,21 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_e7hXCTU7o4BPV9ApZSYKE9qjgdtd972m","name":"vm_deploy_e7hXCTU7o4BPV9ApZSYKE9qjgdtd972m","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14107219625377096749","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-08-06T08:20:44.846046Z","duration":"PT2M11.2117138S","correlationId":"37e58aa4-a791-4d22-b013-ddd26750da40","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm_sgv000004NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm_sgv000004NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm_sgv000004PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm_sgv000004PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sgv000004VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sgv000004VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sgv000004","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm_sgv000004"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sgv000004"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm_sgv000004NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm_sgv000004PublicIP"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_jRjZxg2NVRXPNU4EWhgWL8xULxvZuoG1","name":"vm_deploy_jRjZxg2NVRXPNU4EWhgWL8xULxvZuoG1","type":"Microsoft.Resources/deployments","properties":{"templateHash":"12335556255160417245","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-08-20T09:40:26.509928Z","duration":"PT59.6187399S","correlationId":"c9a74125-d82e-4595-ad11-c466d5d53ea9","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm_sgv000004NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm_sgv000004NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm_sgv000004PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm_sgv000004PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sgv000004VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sgv000004VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sgv000004","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm_sgv000004"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sgv000004"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm_sgv000004NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm_sgv000004PublicIP"}]}}' headers: cache-control: - no-cache content-length: - - '3449' + - '3447' content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:21:11 GMT + - Fri, 20 Aug 2021 09:40:38 GMT expires: - '-1' pragma: @@ -2905,35 +2934,35 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sgv000004?$expand=instanceView&api-version=2021-04-01 response: body: string: "{\r\n \"name\": \"vm_sgv000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sgv000004\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"b79dc50c-b6de-4a66-94da-d5779f4dc1ca\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"99b930e7-05e4-4b72-b1fd-4fd2a1339e55\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"exactVersion\": - \"1.1.2\",\r\n \"sharedGalleryImageId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4KTUHRIW/Images/image000006/Versions/1.1.2\"\r\n + \"1.1.2\",\r\n \"sharedGalleryImageId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSM62OGHPN/Images/image000006/Versions/1.1.2\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm_sgv000004_OsDisk_1_c7e0abd0310047cb8358d956e186f5e5\",\r\n \"createOption\": + \"vm_sgv000004_OsDisk_1_128386cc866542d3bbae12259ace5505\",\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/clitest.rg000001/providers/Microsoft.Compute/disks/vm_sgv000004_OsDisk_1_c7e0abd0310047cb8358d956e186f5e5\"\r\n - \ },\r\n \"diskSizeGB\": 30,\r\n \"deleteOption\": \"Detach\"\r\n - \ },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": 0,\r\n - \ \"name\": \"vm_sgv000004_lun_0_2_ceb16355e4c94ce3b5e7819a9decc6a5\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm_sgv000004_OsDisk_1_128386cc866542d3bbae12259ace5505\"\r\n + \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": + 30\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": + 0,\r\n \"name\": \"vm_sgv000004_lun_0_2_ba9a21a43ba7410aa7d2fe94cf333df0\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"None\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm_sgv000004_lun_0_2_ceb16355e4c94ce3b5e7819a9decc6a5\"\r\n - \ },\r\n \"diskSizeGB\": 10,\r\n \"toBeDetached\": - false,\r\n \"deleteOption\": \"Detach\"\r\n }\r\n ]\r\n - \ },\r\n \"osProfile\": {\r\n \"computerName\": \"vmsgvgnujfvlhur\",\r\n - \ \"adminUsername\": \"clitest1\",\r\n \"linuxConfiguration\": {\r\n - \ \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n - \ \"publicKeys\": [\r\n {\r\n \"path\": \"/home/clitest1/.ssh/authorized_keys\",\r\n - \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDdfdN+YWbkBS84r36yJbgfTI+Gx1W/ErinzCGvXBeO0S8F8JBc45BGTSaNmgOiqVMef3L9Dne7xUv6CwK+NaPRF23B2Sfv1VT1RWjKzgsgLAGiMvMuXA8/BfnKyQU43P6ImgXW/89E8OE9tS2TYLWiSSOjSTiCDnH+bJOw0Gqb25CLhZiahL1lS8MPuZHQaLa71GGUJS93GeBBF6eM2aFKitdFif38RsHxwY/aLlKhjwuy0XPI/4HcIHJR9uyEiFsPQXZMbFPwfvTWyRQDqS0KfxgFXtoVQgaNq74zJv94JdqDykoXYrempJU33jCC06vi39u+xZHAdAagp6e8z/WQc7fIPEOoKqNBKO3UhjXfLfHsxM9QvEiE2kL1xBekS9XrzqSvYZBi4tiSiLAYajOdI5dlv9HgvRTdCtnfF6v8iVGpwql/B1OTOn/A9uCmRIu3o9aMjsQoegqGX6e+h7omfVaExdClXOrW1Qi5l9mUSDLJgsGm1sT9nLaVJlPotFM= + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm_sgv000004_lun_0_2_ba9a21a43ba7410aa7d2fe94cf333df0\"\r\n + \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": + 10,\r\n \"toBeDetached\": false\r\n }\r\n ]\r\n },\r\n + \ \"osProfile\": {\r\n \"computerName\": \"vmsgven4egs4cxl\",\r\n \"adminUsername\": + \"clitest1\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": + true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n + \ \"path\": \"/home/clitest1/.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 \ \"provisionVMAgent\": true,\r\n \"patchSettings\": {\r\n \"patchMode\": \"ImageDefault\",\r\n \"assessmentMode\": \"ImageDefault\"\r\n }\r\n @@ -2941,25 +2970,25 @@ interactions: true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic\"}]},\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": - \"vmsgvgnujfvlhur\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": - \"18.04\",\r\n \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.3.1.1\",\r\n + \"vmsgven4egs4cxl\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": + \"18.04\",\r\n \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.4.0.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\": - \"2021-08-06T08:20:52+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm_sgv000004_OsDisk_1_c7e0abd0310047cb8358d956e186f5e5\",\r\n + \"2021-08-20T09:40:32+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm_sgv000004_OsDisk_1_128386cc866542d3bbae12259ace5505\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-08-06T08:19:01.0148301+00:00\"\r\n + succeeded\",\r\n \"time\": \"2021-08-20T09:39:55.7617828+00:00\"\r\n \ }\r\n ]\r\n },\r\n {\r\n \"name\": - \"vm_sgv000004_lun_0_2_ceb16355e4c94ce3b5e7819a9decc6a5\",\r\n \"statuses\": + \"vm_sgv000004_lun_0_2_ba9a21a43ba7410aa7d2fe94cf333df0\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-08-06T08:19:01.0148301+00:00\"\r\n + succeeded\",\r\n \"time\": \"2021-08-20T09:39:55.7617828+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\": \"2021-08-06T08:20:44.4062212+00:00\"\r\n + succeeded\",\r\n \"time\": \"2021-08-20T09:40:25.1838114+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}" @@ -2971,7 +3000,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:21:13 GMT + - Fri, 20 Aug 2021 09:40:39 GMT expires: - '-1' pragma: @@ -2988,7 +3017,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3986,Microsoft.Compute/LowCostGet30Min;31944 + - Microsoft.Compute/LowCostGet3Min;3991,Microsoft.Compute/LowCostGet30Min;31982 status: code: 200 message: OK @@ -3006,18 +3035,18 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic?api-version=2018-01-01 response: body: string: "{\r\n \"name\": \"vm_sgv000004VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic\",\r\n - \ \"etag\": \"W/\\\"07a18f71-69e3-471b-8818-b1dec6cd8215\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"9dcf2f23-435c-4638-96a8-e79175d5e83c\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"a6b06309-a598-4f73-b313-7f92d14ebfce\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"5947ff35-0e3a-4308-bf5e-4ba09f972383\",\r\n \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm_sgv000004\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic/ipConfigurations/ipconfigvm_sgv000004\",\r\n - \ \"etag\": \"W/\\\"07a18f71-69e3-471b-8818-b1dec6cd8215\\\"\",\r\n + \ \"etag\": \"W/\\\"9dcf2f23-435c-4638-96a8-e79175d5e83c\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.5\",\r\n \"privateIPAllocationMethod\": @@ -3026,8 +3055,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\": - \"kmaa1yjjoseepahw2e4il5mqjf.bx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-0D-3A-1F-F8-28\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \"5ev51w1w2kfepasswh2wsn2pud.bx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-57-3D-67\",\r\n \"enableAcceleratedNetworking\": false,\r\n \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm_sgv000004NSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": @@ -3041,9 +3070,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:21:14 GMT + - Fri, 20 Aug 2021 09:40:40 GMT etag: - - W/"07a18f71-69e3-471b-8818-b1dec6cd8215" + - W/"9dcf2f23-435c-4638-96a8-e79175d5e83c" expires: - '-1' pragma: @@ -3060,7 +3089,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 69ff0d0a-70dc-44ac-b983-e16b1b8fc88f + - 9d785e47-a7dd-4460-8709-ee1567219513 status: code: 200 message: OK @@ -3078,16 +3107,16 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm_sgv000004PublicIP?api-version=2018-01-01 response: body: string: "{\r\n \"name\": \"vm_sgv000004PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm_sgv000004PublicIP\",\r\n - \ \"etag\": \"W/\\\"569475ab-78b9-41f6-b277-e800fed98db2\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"a0c6a56a-6b74-43f6-b4de-952e0ebefe27\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"6267b2d3-6b51-490f-8466-1704f73dc779\",\r\n - \ \"ipAddress\": \"20.185.177.238\",\r\n \"publicIPAddressVersion\": + \"Succeeded\",\r\n \"resourceGuid\": \"09e57eeb-7c6e-4cbf-b969-7024243689ee\",\r\n + \ \"ipAddress\": \"52.170.137.215\",\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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic/ipConfigurations/ipconfigvm_sgv000004\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n @@ -3100,9 +3129,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:21:14 GMT + - Fri, 20 Aug 2021 09:40:40 GMT etag: - - W/"569475ab-78b9-41f6-b277-e800fed98db2" + - W/"a0c6a56a-6b74-43f6-b4de-952e0ebefe27" expires: - '-1' pragma: @@ -3119,7 +3148,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6d185456-86d3-4816-ad3a-30ddcdbc363b + - 3df1d151-0946-450f-8a39-33bfb3cda329 status: code: 200 message: OK @@ -3137,35 +3166,35 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sgv000004?api-version=2021-04-01 response: body: string: "{\r\n \"name\": \"vm_sgv000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sgv000004\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"b79dc50c-b6de-4a66-94da-d5779f4dc1ca\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"99b930e7-05e4-4b72-b1fd-4fd2a1339e55\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"exactVersion\": - \"1.1.2\",\r\n \"sharedGalleryImageId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4KTUHRIW/Images/image000006/Versions/1.1.2\"\r\n + \"1.1.2\",\r\n \"sharedGalleryImageId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSM62OGHPN/Images/image000006/Versions/1.1.2\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm_sgv000004_OsDisk_1_c7e0abd0310047cb8358d956e186f5e5\",\r\n \"createOption\": + \"vm_sgv000004_OsDisk_1_128386cc866542d3bbae12259ace5505\",\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/clitest.rg000001/providers/Microsoft.Compute/disks/vm_sgv000004_OsDisk_1_c7e0abd0310047cb8358d956e186f5e5\"\r\n - \ },\r\n \"diskSizeGB\": 30,\r\n \"deleteOption\": \"Detach\"\r\n - \ },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": 0,\r\n - \ \"name\": \"vm_sgv000004_lun_0_2_ceb16355e4c94ce3b5e7819a9decc6a5\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm_sgv000004_OsDisk_1_128386cc866542d3bbae12259ace5505\"\r\n + \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": + 30\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": + 0,\r\n \"name\": \"vm_sgv000004_lun_0_2_ba9a21a43ba7410aa7d2fe94cf333df0\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"None\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm_sgv000004_lun_0_2_ceb16355e4c94ce3b5e7819a9decc6a5\"\r\n - \ },\r\n \"diskSizeGB\": 10,\r\n \"toBeDetached\": - false,\r\n \"deleteOption\": \"Detach\"\r\n }\r\n ]\r\n - \ },\r\n \"osProfile\": {\r\n \"computerName\": \"vmsgvgnujfvlhur\",\r\n - \ \"adminUsername\": \"clitest1\",\r\n \"linuxConfiguration\": {\r\n - \ \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n - \ \"publicKeys\": [\r\n {\r\n \"path\": \"/home/clitest1/.ssh/authorized_keys\",\r\n - \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDdfdN+YWbkBS84r36yJbgfTI+Gx1W/ErinzCGvXBeO0S8F8JBc45BGTSaNmgOiqVMef3L9Dne7xUv6CwK+NaPRF23B2Sfv1VT1RWjKzgsgLAGiMvMuXA8/BfnKyQU43P6ImgXW/89E8OE9tS2TYLWiSSOjSTiCDnH+bJOw0Gqb25CLhZiahL1lS8MPuZHQaLa71GGUJS93GeBBF6eM2aFKitdFif38RsHxwY/aLlKhjwuy0XPI/4HcIHJR9uyEiFsPQXZMbFPwfvTWyRQDqS0KfxgFXtoVQgaNq74zJv94JdqDykoXYrempJU33jCC06vi39u+xZHAdAagp6e8z/WQc7fIPEOoKqNBKO3UhjXfLfHsxM9QvEiE2kL1xBekS9XrzqSvYZBi4tiSiLAYajOdI5dlv9HgvRTdCtnfF6v8iVGpwql/B1OTOn/A9uCmRIu3o9aMjsQoegqGX6e+h7omfVaExdClXOrW1Qi5l9mUSDLJgsGm1sT9nLaVJlPotFM= + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm_sgv000004_lun_0_2_ba9a21a43ba7410aa7d2fe94cf333df0\"\r\n + \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": + 10,\r\n \"toBeDetached\": false\r\n }\r\n ]\r\n },\r\n + \ \"osProfile\": {\r\n \"computerName\": \"vmsgven4egs4cxl\",\r\n \"adminUsername\": + \"clitest1\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": + true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n + \ \"path\": \"/home/clitest1/.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 \ \"provisionVMAgent\": true,\r\n \"patchSettings\": {\r\n \"patchMode\": \"ImageDefault\",\r\n \"assessmentMode\": \"ImageDefault\"\r\n }\r\n @@ -3181,7 +3210,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:21:15 GMT + - Fri, 20 Aug 2021 09:40:41 GMT expires: - '-1' pragma: @@ -3198,7 +3227,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3981,Microsoft.Compute/LowCostGet30Min;31939 + - Microsoft.Compute/LowCostGet3Min;3990,Microsoft.Compute/LowCostGet30Min;31981 status: code: 200 message: OK @@ -3220,7 +3249,7 @@ interactions: ParameterSetName: - --gallery-name -g User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gellery000005/share?api-version=2020-09-30 response: @@ -3228,17 +3257,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/fc9dcd85-0ba5-400a-abee-8f2dcc0f3d65?api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/5fa7aa62-5eb4-47d3-8c5f-13ce3ac847c1?api-version=2020-09-30 cache-control: - no-cache content-length: - '0' date: - - Fri, 06 Aug 2021 08:21:17 GMT + - Fri, 20 Aug 2021 09:40:43 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/fc9dcd85-0ba5-400a-abee-8f2dcc0f3d65?monitor=true&api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/5fa7aa62-5eb4-47d3-8c5f-13ce3ac847c1?monitor=true&api-version=2020-09-30 pragma: - no-cache server: @@ -3249,9 +3278,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PostShareGallery3Min;9,Microsoft.Compute/PostShareGallery30Min;58 + - Microsoft.Compute/PostShareGallery3Min;8,Microsoft.Compute/PostShareGallery30Min;58 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 202 message: Accepted @@ -3269,23 +3298,23 @@ interactions: ParameterSetName: - --gallery-name -g User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/fc9dcd85-0ba5-400a-abee-8f2dcc0f3d65?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/5fa7aa62-5eb4-47d3-8c5f-13ce3ac847c1?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-08-06T08:21:17.6578649+00:00\",\r\n \"endTime\": - \"2021-08-06T08:21:18.829769+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"fc9dcd85-0ba5-400a-abee-8f2dcc0f3d65\"\r\n}" + string: "{\r\n \"startTime\": \"2021-08-20T09:40:43.4736295+00:00\",\r\n \"endTime\": + \"2021-08-20T09:40:44.6298936+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"5fa7aa62-5eb4-47d3-8c5f-13ce3ac847c1\"\r\n}" headers: cache-control: - no-cache content-length: - - '183' + - '184' content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:21:48 GMT + - Fri, 20 Aug 2021 09:41:13 GMT expires: - '-1' pragma: @@ -3302,7 +3331,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4173 + - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4169 status: code: 200 message: OK @@ -3320,9 +3349,9 @@ interactions: ParameterSetName: - --gallery-name -g User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/fc9dcd85-0ba5-400a-abee-8f2dcc0f3d65?monitor=true&api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/5fa7aa62-5eb4-47d3-8c5f-13ce3ac847c1?monitor=true&api-version=2020-09-30 response: body: string: '' @@ -3332,7 +3361,7 @@ interactions: content-length: - '0' date: - - Fri, 06 Aug 2021 08:21:48 GMT + - Fri, 20 Aug 2021 09:41:13 GMT expires: - '-1' pragma: @@ -3345,7 +3374,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1197,Microsoft.Compute/GetOperationStatus30Min;4172 + - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4168 status: code: 200 message: OK @@ -3363,7 +3392,7 @@ interactions: ParameterSetName: - --gallery-name --resource-group --select User-Agent: - - AZURECLI/2.27.0 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.27.1 azsdk-python-azure-mgmt-compute/22.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gellery000005?api-version=2020-09-30&$select=Permissions response: @@ -3371,7 +3400,7 @@ interactions: string: "{\r\n \"name\": \"gellery000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gellery000005\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4KTUHRIW\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSM62OGHPN\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Private\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -3382,7 +3411,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 06 Aug 2021 08:21:49 GMT + - Fri, 20 Aug 2021 09:41:15 GMT expires: - '-1' pragma: @@ -3399,7 +3428,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;349,Microsoft.Compute/GetGallery30Min;2488 + - Microsoft.Compute/GetGallery3Min;348,Microsoft.Compute/GetGallery30Min;2486 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 d8ef5f66ed3..c36ddea12e2 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 @@ -4217,7 +4217,7 @@ def test_create_vm_with_shared_gallery_image(self, resource_group, resource_grou self.cmd('sig create -g {rg} --gallery-name {gallery} --permissions groups') self.cmd('sig image-definition create -g {rg} --gallery-name {gallery} --gallery-image-definition {image} --os-type linux -p publisher1 -f offer1 -s sku1') - self.cmd('vm create -g {rg} -n {vm} --image ubuntults --data-disk-sizes-gb 10 --admin-username clitest1 --generate-ssh-key --nsg-rule NONE') + self.cmd('vm create -g {rg} -n {vm} --image ubuntults --data-disk-sizes-gb 10 --admin-username clitest1 --generate-ssh-key --nsg-rule None') if self.is_live: time.sleep(70) self.cmd('vm deallocate -g {rg} -n {vm}') @@ -4231,7 +4231,7 @@ def test_create_vm_with_shared_gallery_image(self, resource_group, resource_grou self.kwargs['shared_gallery_image_version'] = self.cmd('sig image-version show-shared --gallery-image-definition {image} --gallery-unique-name {unique_name} --location {location} --gallery-image-version {version}').get_output_in_json()['uniqueId'] - self.cmd('vm create -g {rg} -n {vm_with_shared_gallery_version} --image {shared_gallery_image_version} --admin-username clitest1 --generate-ssh-key --nsg-rule NONE') + self.cmd('vm create -g {rg} -n {vm_with_shared_gallery_version} --image {shared_gallery_image_version} --admin-username clitest1 --generate-ssh-key --nsg-rule None') self.cmd('vm show -g {rg} -n {vm_with_shared_gallery_version}', checks=[ self.check('provisioningState', 'Succeeded'),