From ccc295bd2046107680db847b1a822e2e74887cb2 Mon Sep 17 00:00:00 2001 From: zhoxing-ms Date: Mon, 1 Aug 2022 14:47:48 +0800 Subject: [PATCH] Fix tag issue for sig image version --- .../cli/command_modules/vm/_validators.py | 1 + .../recordings/test_specialized_image.yaml | 812 ++++++++---------- .../vm/tests/latest/test_vm_commands.py | 5 +- 3 files changed, 361 insertions(+), 457 deletions(-) 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 0086156951a..297e4a4c3e0 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_validators.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_validators.py @@ -2162,6 +2162,7 @@ def process_ppg_create_namespace(namespace): def process_image_version_create_namespace(cmd, namespace): + validate_tags(namespace) process_gallery_image_version_namespace(cmd, namespace) process_image_resource_id_namespace(namespace) # endregion diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_specialized_image.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_specialized_image.yaml index 72bf06fa6b5..618f1aa25d7 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_specialized_image.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_specialized_image.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001","name":"cli_test_test_specialized_image_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-23T06:04:01Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001","name":"cli_test_test_specialized_image_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-08-01T06:31:22Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:04:05 GMT + - Mon, 01 Aug 2022 06:31:28 GMT expires: - '-1' pragma: @@ -59,7 +59,7 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002?api-version=2021-10-01 response: @@ -67,11 +67,11 @@ interactions: string: "{\r\n \"name\": \"gallery_000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY_IU4T62GHYAQI\"\r\n },\r\n + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY_ZN7RSGZ65SVK\"\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/westus/capsOperations/d65306bc-08b0-4912-8351-fe177ae04dbe?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a5f79b79-b4b0-427e-99f1-0662afd897e9?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -79,7 +79,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:04:10 GMT + - Mon, 01 Aug 2022 06:31:34 GMT expires: - '-1' pragma: @@ -94,7 +94,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGallery3Min;49,Microsoft.Compute/CreateUpdateGallery30Min;299 x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1198' status: code: 201 message: Created @@ -112,14 +112,14 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/westus/capsOperations/d65306bc-08b0-4912-8351-fe177ae04dbe?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a5f79b79-b4b0-427e-99f1-0662afd897e9?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-23T06:04:09.7779577+00:00\",\r\n \"endTime\": - \"2022-06-23T06:04:10.4342142+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"d65306bc-08b0-4912-8351-fe177ae04dbe\"\r\n}" + string: "{\r\n \"startTime\": \"2022-08-01T06:31:34.2011934+00:00\",\r\n \"endTime\": + \"2022-08-01T06:31:34.8105915+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"a5f79b79-b4b0-427e-99f1-0662afd897e9\"\r\n}" headers: cache-control: - no-cache @@ -128,7 +128,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:04:40 GMT + - Mon, 01 Aug 2022 06:32:05 GMT expires: - '-1' pragma: @@ -163,7 +163,7 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002?api-version=2021-10-01 response: @@ -171,7 +171,7 @@ interactions: string: "{\r\n \"name\": \"gallery_000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY_IU4T62GHYAQI\"\r\n },\r\n + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY_ZN7RSGZ65SVK\"\r\n },\r\n \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: cache-control: @@ -181,7 +181,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:04:41 GMT + - Mon, 01 Aug 2022 06:32:06 GMT expires: - '-1' pragma: @@ -215,14 +215,14 @@ interactions: - keep-alive ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type --os-state -p -f -s - --features + --features --tags User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001","name":"cli_test_test_specialized_image_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-23T06:04:01Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001","name":"cli_test_test_specialized_image_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-08-01T06:31:22Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -231,7 +231,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:04:43 GMT + - Mon, 01 Aug 2022 06:32:06 GMT expires: - '-1' pragma: @@ -246,10 +246,10 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus", "tags": {}, "properties": {"osType": "Linux", "osState": - "Specialized", "hyperVGeneration": "V1", "identifier": {"publisher": "publisher1", - "offer": "offer1", "sku": "sku1"}, "disallowed": {}, "features": [{"name": "IsAcceleratedNetworkSupported", - "value": "true"}]}}' + body: '{"location": "westus", "tags": {"tag": "test"}, "properties": {"osType": + "Linux", "osState": "Specialized", "hyperVGeneration": "V1", "identifier": {"publisher": + "publisher1", "offer": "offer1", "sku": "sku1"}, "disallowed": {}, "features": + [{"name": "IsAcceleratedNetworkSupported", "value": "true"}]}}' headers: Accept: - application/json @@ -260,38 +260,38 @@ interactions: Connection: - keep-alive Content-Length: - - '290' + - '303' Content-Type: - application/json ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type --os-state -p -f -s - --features + --features --tags User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1?api-version=2021-10-01 response: body: string: "{\r\n \"name\": \"image1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1\",\r\n \ \"type\": \"Microsoft.Compute/galleries/images\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n - \ \"architecture\": \"x64\",\r\n \"features\": [\r\n {\r\n \"name\": - \"IsAcceleratedNetworkSupported\",\r\n \"value\": \"True\"\r\n }\r\n - \ ],\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Specialized\",\r\n - \ \"identifier\": {\r\n \"publisher\": \"publisher1\",\r\n \"offer\": - \"offer1\",\r\n \"sku\": \"sku1\"\r\n },\r\n \"provisioningState\": + \ \"tags\": {\r\n \"tag\": \"test\"\r\n },\r\n \"properties\": {\r\n + \ \"hyperVGeneration\": \"V1\",\r\n \"architecture\": \"x64\",\r\n \"features\": + [\r\n {\r\n \"name\": \"IsAcceleratedNetworkSupported\",\r\n \"value\": + \"True\"\r\n }\r\n ],\r\n \"osType\": \"Linux\",\r\n \"osState\": + \"Specialized\",\r\n \"identifier\": {\r\n \"publisher\": \"publisher1\",\r\n + \ \"offer\": \"offer1\",\r\n \"sku\": \"sku1\"\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/westus/capsOperations/67616656-58e9-4cb4-8bb8-81991181518e?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/3446b798-bfc3-429a-bfe0-723fa6e7cfac?api-version=2021-10-01 cache-control: - no-cache content-length: - - '704' + - '727' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:04:49 GMT + - Mon, 01 Aug 2022 06:32:15 GMT expires: - '-1' pragma: @@ -306,7 +306,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGalleryImage3Min;149,Microsoft.Compute/CreateUpdateGalleryImage30Min;749 x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1199' status: code: 201 message: Created @@ -323,25 +323,25 @@ interactions: - keep-alive ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type --os-state -p -f -s - --features + --features --tags User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/westus/capsOperations/67616656-58e9-4cb4-8bb8-81991181518e?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/3446b798-bfc3-429a-bfe0-723fa6e7cfac?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-23T06:04:48.4343726+00:00\",\r\n \"endTime\": - \"2022-06-23T06:04:48.543746+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"67616656-58e9-4cb4-8bb8-81991181518e\"\r\n}" + string: "{\r\n \"startTime\": \"2022-08-01T06:32:14.4839382+00:00\",\r\n \"endTime\": + \"2022-08-01T06:32:14.5933186+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"3446b798-bfc3-429a-bfe0-723fa6e7cfac\"\r\n}" headers: cache-control: - no-cache content-length: - - '183' + - '184' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:05:19 GMT + - Mon, 01 Aug 2022 06:32:46 GMT expires: - '-1' pragma: @@ -375,31 +375,31 @@ interactions: - keep-alive ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type --os-state -p -f -s - --features + --features --tags User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1?api-version=2021-10-01 response: body: string: "{\r\n \"name\": \"image1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1\",\r\n \ \"type\": \"Microsoft.Compute/galleries/images\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n - \ \"architecture\": \"x64\",\r\n \"features\": [\r\n {\r\n \"name\": - \"IsAcceleratedNetworkSupported\",\r\n \"value\": \"True\"\r\n }\r\n - \ ],\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Specialized\",\r\n - \ \"identifier\": {\r\n \"publisher\": \"publisher1\",\r\n \"offer\": - \"offer1\",\r\n \"sku\": \"sku1\"\r\n },\r\n \"provisioningState\": + \ \"tags\": {\r\n \"tag\": \"test\"\r\n },\r\n \"properties\": {\r\n + \ \"hyperVGeneration\": \"V1\",\r\n \"architecture\": \"x64\",\r\n \"features\": + [\r\n {\r\n \"name\": \"IsAcceleratedNetworkSupported\",\r\n \"value\": + \"True\"\r\n }\r\n ],\r\n \"osType\": \"Linux\",\r\n \"osState\": + \"Specialized\",\r\n \"identifier\": {\r\n \"publisher\": \"publisher1\",\r\n + \ \"offer\": \"offer1\",\r\n \"sku\": \"sku1\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '705' + - '728' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:05:20 GMT + - Mon, 01 Aug 2022 06:32:46 GMT expires: - '-1' pragma: @@ -434,12 +434,12 @@ interactions: ParameterSetName: - -g -n --image --nsg-rule --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001","name":"cli_test_test_specialized_image_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-23T06:04:01Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001","name":"cli_test_test_specialized_image_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-08-01T06:31:22Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -448,7 +448,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:05:22 GMT + - Mon, 01 Aug 2022 06:32:47 GMT expires: - '-1' pragma: @@ -539,13 +539,13 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Thu, 23 Jun 2022 06:05:23 GMT + - Mon, 01 Aug 2022 06:32:48 GMT etag: - W/"41b202f4dc5098d126019dc00721a4c5e30df0c5196794514fadc3710ee2a5cb" expires: - - Thu, 23 Jun 2022 06:10:23 GMT + - Mon, 01 Aug 2022 06:37:48 GMT source-age: - - '222' + - '0' strict-transport-security: - max-age=31536000 vary: @@ -553,21 +553,21 @@ interactions: via: - 1.1 varnish x-cache: - - HIT + - MISS x-cache-hits: - - '1' + - '0' x-content-type-options: - nosniff x-fastly-request-id: - - 8b46c7cf2a0e629f3971ffa514f555f6973acf8e + - b1aad1fe80a2dafefcfa68975baed78ba134caf8 x-frame-options: - deny x-github-request-id: - - 248E:57D0:39301:93749:62B3CCFF + - D1FC:6786:1E9CA9:30D950:62E77390 x-served-by: - - cache-qpg1274-QPG + - cache-hkg17923-HKG x-timer: - - S1655964324.829693,VS0,VE1 + - S1659335568.427852,VS0,VE313 x-xss-protection: - 1; mode=block status: @@ -587,13 +587,13 @@ interactions: ParameterSetName: - -g -n --image --nsg-rule --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-03-01 response: body: - string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202206150\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202206150\"\r\n + string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202207120\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202207120\"\r\n \ }\r\n]" headers: cache-control: @@ -603,7 +603,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:05:25 GMT + - Mon, 01 Aug 2022 06:32:49 GMT expires: - '-1' pragma: @@ -620,7 +620,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15997,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43991 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43999 status: code: 200 message: OK @@ -638,9 +638,9 @@ interactions: ParameterSetName: - -g -n --image --nsg-rule --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202206150?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202207120?api-version=2022-03-01 response: body: string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": @@ -651,20 +651,19 @@ interactions: \ {\r\n \"name\": \"IsAcceleratedNetworkSupported\",\r\n \"value\": \"True\"\r\n },\r\n {\r\n \"name\": \"DiskControllerTypes\",\r\n \ \"value\": \"SCSI\"\r\n },\r\n {\r\n \"name\": \"IsHibernateSupported\",\r\n - \ \"value\": \"False\"\r\n }\r\n ],\r\n \"osDiskImage\": - {\r\n \"operatingSystem\": \"Linux\",\r\n \"sizeInGb\": 31,\r\n - \ \"sizeInBytes\": 32213303808\r\n },\r\n \"dataDiskImages\": []\r\n - \ },\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202206150\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202206150\"\r\n}" + \ \"value\": \"True\"\r\n }\r\n ],\r\n \"osDiskImage\": {\r\n + \ \"operatingSystem\": \"Linux\",\r\n \"sizeInGb\": 31,\r\n \"sizeInBytes\": + 32213303808\r\n },\r\n \"dataDiskImages\": []\r\n },\r\n \"location\": + \"westus\",\r\n \"name\": \"18.04.202207120\",\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202207120\"\r\n}" headers: cache-control: - no-cache content-length: - - '1043' + - '1042' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:05:27 GMT + - Mon, 01 Aug 2022 06:32:51 GMT expires: - '-1' pragma: @@ -681,7 +680,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12997,Microsoft.Compute/GetVMImageFromLocation30Min;73993 + - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73999 status: code: 200 message: OK @@ -699,7 +698,7 @@ interactions: ParameterSetName: - -g -n --image --nsg-rule --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-network/20.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/cli_test_test_specialized_image_000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 response: @@ -713,7 +712,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:05:28 GMT + - Mon, 01 Aug 2022 06:32:52 GMT expires: - '-1' pragma: @@ -772,15 +771,15 @@ interactions: ParameterSetName: - -g -n --image --nsg-rule --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/vm_deploy_r84QLzXe9PShljxBCF8DAwNTWnFxIB2c","name":"vm_deploy_r84QLzXe9PShljxBCF8DAwNTWnFxIB2c","type":"Microsoft.Resources/deployments","properties":{"templateHash":"5840982802848008457","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-06-23T06:05:34.3924808Z","duration":"PT0.0007856S","correlationId":"576834f6-b0ec-4a4d-a23a-3c2691b2f9fb","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/vm_deploy_CkDB4l7QwchJq3jK7BaX7vihHa2O7HrB","name":"vm_deploy_CkDB4l7QwchJq3jK7BaX7vihHa2O7HrB","type":"Microsoft.Resources/deployments","properties":{"templateHash":"1337561554972598133","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-08-01T06:33:01.1242272Z","duration":"PT0.0007316S","correlationId":"11718a39-14fb-42ba-a900-e1f465616a31","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/vm_deploy_r84QLzXe9PShljxBCF8DAwNTWnFxIB2c/operationStatuses/08585456425538263475?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/vm_deploy_CkDB4l7QwchJq3jK7BaX7vihHa2O7HrB/operationStatuses/08585422713070332847?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -788,7 +787,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:05:35 GMT + - Mon, 01 Aug 2022 06:33:01 GMT expires: - '-1' pragma: @@ -798,7 +797,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' status: code: 201 message: Created @@ -816,51 +815,9 @@ interactions: ParameterSetName: - -g -n --image --nsg-rule --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585456425538263475?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: - - Thu, 23 Jun 2022 06:06:05 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 --nsg-rule --admin-username --admin-password --authentication-type - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585456425538263475?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585422713070332847?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -872,7 +829,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:06:36 GMT + - Mon, 01 Aug 2022 06:33:33 GMT expires: - '-1' pragma: @@ -900,9 +857,9 @@ interactions: ParameterSetName: - -g -n --image --nsg-rule --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585456425538263475?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585422713070332847?api-version=2021-04-01 response: body: string: '{"status":"Succeeded"}' @@ -914,7 +871,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:07:07 GMT + - Mon, 01 Aug 2022 06:34:03 GMT expires: - '-1' pragma: @@ -942,21 +899,21 @@ interactions: ParameterSetName: - -g -n --image --nsg-rule --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/vm_deploy_r84QLzXe9PShljxBCF8DAwNTWnFxIB2c","name":"vm_deploy_r84QLzXe9PShljxBCF8DAwNTWnFxIB2c","type":"Microsoft.Resources/deployments","properties":{"templateHash":"5840982802848008457","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-06-23T06:06:47.5610067Z","duration":"PT1M13.1693115S","correlationId":"576834f6-b0ec-4a4d-a23a-3c2691b2f9fb","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/vm_deploy_CkDB4l7QwchJq3jK7BaX7vihHa2O7HrB","name":"vm_deploy_CkDB4l7QwchJq3jK7BaX7vihHa2O7HrB","type":"Microsoft.Resources/deployments","properties":{"templateHash":"1337561554972598133","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-08-01T06:33:36.6663978Z","duration":"PT35.5429022S","correlationId":"11718a39-14fb-42ba-a900-e1f465616a31","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}' headers: cache-control: - no-cache content-length: - - '3404' + - '3402' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:07:08 GMT + - Mon, 01 Aug 2022 06:34:03 GMT expires: - '-1' pragma: @@ -984,23 +941,23 @@ interactions: ParameterSetName: - -g -n --image --nsg-rule --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachines/vm1?$expand=instanceView&api-version=2022-03-01 response: body: string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"f86db90a-db44-4c90-922d-0d2594e67fd0\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"40b5055a-80a5-4032-9659-1879c56695f0\",\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.202206150\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm1_disk1_8e47de8b061e4d278082fac2c63d21d6\",\r\n + \"18.04.202207120\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": + \"Linux\",\r\n \"name\": \"vm1_disk1_083b634e17dc4f9e8079e2bb060f4679\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/disks/vm1_disk1_8e47de8b061e4d278082fac2c63d21d6\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/disks/vm1_disk1_083b634e17dc4f9e8079e2bb060f4679\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n \"adminUsername\": \"azureuser\",\r\n @@ -1013,22 +970,22 @@ interactions: {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"}]},\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": \"vm1\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": \"18.04\",\r\n - \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.8.0.6\",\r\n \"statuses\": + \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.8.0.9\",\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\": - \"2022-06-23T06:06:50+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_8e47de8b061e4d278082fac2c63d21d6\",\r\n + \"2022-08-01T06:33:42+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_083b634e17dc4f9e8079e2bb060f4679\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-06-23T06:06:09.377668+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-08-01T06:33:20.9218188+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\": \"2022-06-23T06:06:41.9401887+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-08-01T06:33:31.453006+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 \"timeCreated\": \"2022-06-23T06:06:08.1745266+00:00\"\r\n + \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2022-08-01T06:33:19.1251692+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -1038,7 +995,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:07:09 GMT + - Mon, 01 Aug 2022 06:34:05 GMT expires: - '-1' pragma: @@ -1055,7 +1012,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3914,Microsoft.Compute/LowCostGet30Min;31120 + - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31997 status: code: 200 message: OK @@ -1073,18 +1030,17 @@ interactions: ParameterSetName: - -g -n --image --nsg-rule --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-network/20.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/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic?api-version=2018-01-01 response: body: string: "{\r\n \"name\": \"vm1VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\",\r\n - \ \"etag\": \"W/\\\"0ebdfdac-8991-4d21-ad16-3b274dffd276\\\"\",\r\n \"location\": - \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"9b104400-dcae-497a-9041-b8613da79ff1\",\r\n - \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm1\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\",\r\n - \ \"etag\": \"W/\\\"0ebdfdac-8991-4d21-ad16-3b274dffd276\\\"\",\r\n + \ \"etag\": \"W/\\\"c5729121-2c20-40b9-91ac-50e8cb321b02\\\"\",\r\n \"tags\": + {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"3d182ec8-7b97-449b-ac2b-a5a0f8d5df1b\",\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"ipconfigvm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\",\r\n + \ \"etag\": \"W/\\\"c5729121-2c20-40b9-91ac-50e8cb321b02\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -1093,12 +1049,13 @@ 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\": - \"jiif3ue4rdxebp3fbfhdafykia.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"60-45-BD-00-12-B3\",\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": + \"1kzmykpgjuou1bckqsflcuq1ng.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-31-B5-33\",\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n - \ }\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}" + \ }\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\",\r\n + \ \"location\": \"westus\"\r\n}" headers: cache-control: - no-cache @@ -1107,9 +1064,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:07:11 GMT + - Mon, 01 Aug 2022 06:34:06 GMT etag: - - W/"0ebdfdac-8991-4d21-ad16-3b274dffd276" + - W/"c5729121-2c20-40b9-91ac-50e8cb321b02" expires: - '-1' pragma: @@ -1126,7 +1083,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 52a3fb0c-5a47-4d7f-8073-7ad5e626add8 + - 9e775bc2-f5cc-4c3c-86c6-0b6f709094f7 status: code: 200 message: OK @@ -1144,17 +1101,17 @@ interactions: ParameterSetName: - -g -n --image --nsg-rule --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-network/20.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/cli_test_test_specialized_image_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP?api-version=2018-01-01 response: body: string: "{\r\n \"name\": \"vm1PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\",\r\n - \ \"etag\": \"W/\\\"01b09139-82c7-44c2-b93b-4f88adb5eff2\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"dd61c9ca-00d0-400a-8b5d-c7573ee4641b\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"2cc8b4d1-c3c1-460b-b80e-c047e683190e\",\r\n - \ \"ipAddress\": \"20.237.243.53\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n - \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + \"Succeeded\",\r\n \"resourceGuid\": \"cf975790-85e0-4118-bf2b-0a0e461bbe33\",\r\n + \ \"ipAddress\": \"20.245.113.235\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" @@ -1162,13 +1119,13 @@ interactions: cache-control: - no-cache content-length: - - '923' + - '924' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:07:11 GMT + - Mon, 01 Aug 2022 06:34:06 GMT etag: - - W/"01b09139-82c7-44c2-b93b-4f88adb5eff2" + - W/"dd61c9ca-00d0-400a-8b5d-c7573ee4641b" expires: - '-1' pragma: @@ -1185,7 +1142,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2b5e0733-1742-49c7-9989-f7403844422c + - aa942428-7690-4f63-a69a-9b0e5e347f34 status: code: 200 message: OK @@ -1203,23 +1160,23 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachines/vm1?api-version=2022-03-01 response: body: string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"f86db90a-db44-4c90-922d-0d2594e67fd0\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"40b5055a-80a5-4032-9659-1879c56695f0\",\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.202206150\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm1_disk1_8e47de8b061e4d278082fac2c63d21d6\",\r\n + \"18.04.202207120\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": + \"Linux\",\r\n \"name\": \"vm1_disk1_083b634e17dc4f9e8079e2bb060f4679\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/disks/vm1_disk1_8e47de8b061e4d278082fac2c63d21d6\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/disks/vm1_disk1_083b634e17dc4f9e8079e2bb060f4679\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n \"adminUsername\": \"azureuser\",\r\n @@ -1230,7 +1187,7 @@ interactions: false\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"}]},\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2022-06-23T06:06:08.1745266+00:00\"\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2022-08-01T06:33:19.1251692+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -1240,7 +1197,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:07:12 GMT + - Mon, 01 Aug 2022 06:34:08 GMT expires: - '-1' pragma: @@ -1257,7 +1214,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3913,Microsoft.Compute/LowCostGet30Min;31119 + - Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31996 status: code: 200 message: OK @@ -1275,12 +1232,12 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/snapshots/vm1_disk1_8e47de8b061e4d278082fac2c63d21d6?api-version=2021-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/snapshots/vm1_disk1_083b634e17dc4f9e8079e2bb060f4679?api-version=2021-12-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Compute/snapshots/vm1_disk1_8e47de8b061e4d278082fac2c63d21d6'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Compute/snapshots/vm1_disk1_083b634e17dc4f9e8079e2bb060f4679'' under resource group ''cli_test_test_specialized_image_000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -1291,7 +1248,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:07:18 GMT + - Mon, 01 Aug 2022 06:34:09 GMT expires: - '-1' pragma: @@ -1319,28 +1276,28 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/disks/vm1_disk1_8e47de8b061e4d278082fac2c63d21d6?api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/disks/vm1_disk1_083b634e17dc4f9e8079e2bb060f4679?api-version=2022-03-02 response: body: - string: "{\r\n \"name\": \"vm1_disk1_8e47de8b061e4d278082fac2c63d21d6\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/disks/vm1_disk1_8e47de8b061e4d278082fac2c63d21d6\",\r\n + string: "{\r\n \"name\": \"vm1_disk1_083b634e17dc4f9e8079e2bb060f4679\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/disks/vm1_disk1_083b634e17dc4f9e8079e2bb060f4679\",\r\n \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"managedBy\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n \ \"sku\": {\r\n \"name\": \"Premium_LRS\",\r\n \"tier\": \"Premium\"\r\n \ },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n \"hyperVGeneration\": - \"V1\",\r\n \"supportsHibernation\": false,\r\n \"supportedCapabilities\": + \"V1\",\r\n \"supportsHibernation\": true,\r\n \"supportedCapabilities\": {\r\n \"acceleratedNetwork\": true,\r\n \"architecture\": \"x64\"\r\n \ },\r\n \"creationData\": {\r\n \"createOption\": \"FromImage\",\r\n - \ \"imageReference\": {\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/canonical/ArtifactTypes/VMImage/Offers/ubuntuserver/Skus/18.04-lts/Versions/18.04.202206150\"\r\n + \ \"imageReference\": {\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/canonical/ArtifactTypes/VMImage/Offers/ubuntuserver/Skus/18.04-lts/Versions/18.04.202207120\"\r\n \ }\r\n },\r\n \"diskSizeGB\": 30,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": - \"2022-06-23T06:06:08.554758+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"2022-08-01T06:33:19.4839844+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"diskState\": \"Attached\",\r\n \"diskSizeBytes\": 32213303296,\r\n - \ \"uniqueId\": \"8e47de8b-061e-4d27-8082-fac2c63d21d6\",\r\n \"tier\": + \ \"uniqueId\": \"083b634e-17dc-4f9e-8079-e2bb060f4679\",\r\n \"tier\": \"P4\"\r\n }\r\n}" headers: cache-control: @@ -1350,7 +1307,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:07:20 GMT + - Mon, 01 Aug 2022 06:34:09 GMT expires: - '-1' pragma: @@ -1360,14 +1317,10 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4913,Microsoft.Compute/LowCostGet30Min;39179 + - Microsoft.Compute/LowCostGet3Min;4998,Microsoft.Compute/LowCostGet30Min;39998 status: code: 200 message: OK @@ -1385,12 +1338,12 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001","name":"cli_test_test_specialized_image_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-23T06:04:01Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001","name":"cli_test_test_specialized_image_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-08-01T06:31:22Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1399,7 +1352,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:07:21 GMT + - Mon, 01 Aug 2022 06:34:10 GMT expires: - '-1' pragma: @@ -1416,7 +1369,7 @@ interactions: - request: body: '{"location": "westus", "tags": {}, "sku": {"name": "Standard_LRS"}, "properties": {"hyperVGeneration": "V1", "creationData": {"createOption": "Copy", "sourceResourceId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/disks/vm1_disk1_8e47de8b061e4d278082fac2c63d21d6"}}}' + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/disks/vm1_disk1_083b634e17dc4f9e8079e2bb060f4679"}}}' headers: Accept: - application/json @@ -1433,35 +1386,36 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/snapshots/s1?api-version=2021-12-01 response: body: - string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n - \ \"name\": \"Standard_LRS\"\r\n },\r\n \"properties\": {\r\n \"osType\": - \"Linux\",\r\n \"hyperVGeneration\": \"V1\",\r\n \"supportsHibernation\": - false,\r\n \"supportedCapabilities\": {\r\n \"acceleratedNetwork\": - true,\r\n \"architecture\": \"x64\"\r\n },\r\n \"creationData\": - {\r\n \"createOption\": \"Copy\",\r\n \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/disks/vm1_disk1_8e47de8b061e4d278082fac2c63d21d6\",\r\n - \ \"sourceUniqueId\": \"8e47de8b-061e-4d27-8082-fac2c63d21d6\"\r\n },\r\n + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/snapshots/s1\",\r\n + \ \"location\": \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": + \"Standard_LRS\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n + \ \"hyperVGeneration\": \"V1\",\r\n \"supportsHibernation\": true,\r\n + \ \"supportedCapabilities\": {\r\n \"acceleratedNetwork\": true,\r\n + \ \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \"createOption\": + \"Copy\",\r\n \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/disks/vm1_disk1_083b634e17dc4f9e8079e2bb060f4679\",\r\n + \ \"sourceUniqueId\": \"083b634e-17dc-4f9e-8079-e2bb060f4679\"\r\n },\r\n \ \"publicNetworkAccess\": \"Enabled\",\r\n \"provisioningState\": \"Updating\",\r\n \ \"isArmResource\": true\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/71482b77-583c-431a-88c3-790dbb2d9439?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2021-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/6469262d-3c9b-44a7-9019-875a2a7d1ca7?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2021-12-01 cache-control: - no-cache content-length: - - '751' + - '909' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:07:26 GMT + - Mon, 01 Aug 2022 06:34:17 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/71482b77-583c-431a-88c3-790dbb2d9439?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2021-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/6469262d-3c9b-44a7-9019-875a2a7d1ca7?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2021-12-01 pragma: - no-cache server: @@ -1474,7 +1428,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/HighCostSnapshotCreateHydrate3Min;999,Microsoft.Compute/HighCostSnapshotCreateHydrate30Min;7999 x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1199' status: code: 202 message: Accepted @@ -1492,38 +1446,38 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/westus/DiskOperations/71482b77-583c-431a-88c3-790dbb2d9439?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2021-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/6469262d-3c9b-44a7-9019-875a2a7d1ca7?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2021-12-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-23T06:07:26.8705653+00:00\",\r\n \"endTime\": - \"2022-06-23T06:07:27.8236919+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2022-08-01T06:34:15.924585+00:00\",\r\n \"endTime\": + \"2022-08-01T06:34:16.6589959+00:00\",\r\n \"status\": \"Succeeded\",\r\n \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"s1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/snapshots/s1\",\r\n \ \"type\": \"Microsoft.Compute/snapshots\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_LRS\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n - \ \"hyperVGeneration\": \"V1\",\r\n \"supportsHibernation\": false,\r\n + \ \"hyperVGeneration\": \"V1\",\r\n \"supportsHibernation\": true,\r\n \ \"supportedCapabilities\": {\r\n \"acceleratedNetwork\": true,\r\n \ \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \"createOption\": - \"Copy\",\r\n \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/disks/vm1_disk1_8e47de8b061e4d278082fac2c63d21d6\",\r\n - \ \"sourceUniqueId\": \"8e47de8b-061e-4d27-8082-fac2c63d21d6\"\r\n },\r\n + \"Copy\",\r\n \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/disks/vm1_disk1_083b634e17dc4f9e8079e2bb060f4679\",\r\n + \ \"sourceUniqueId\": \"083b634e-17dc-4f9e-8079-e2bb060f4679\"\r\n },\r\n \ \"diskSizeGB\": 30,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n \ },\r\n \"incremental\": false,\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n - \ \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": \"2022-06-23T06:07:26.8705653+00:00\",\r\n + \ \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": \"2022-08-01T06:34:15.924585+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 32213303296,\r\n \"uniqueId\": \"4445bb8a-50ef-4a9a-a8da-66c66684f1b0\"\r\n - \ }\r\n}\r\n },\r\n \"name\": \"71482b77-583c-431a-88c3-790dbb2d9439\"\r\n}" + \ \"diskSizeBytes\": 32213303296,\r\n \"uniqueId\": \"b32ba55c-400f-4c83-a722-17b2a5fe5513\"\r\n + \ }\r\n}\r\n },\r\n \"name\": \"6469262d-3c9b-44a7-9019-875a2a7d1ca7\"\r\n}" headers: cache-control: - no-cache content-length: - - '1541' + - '1538' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:07:29 GMT + - Mon, 01 Aug 2022 06:34:19 GMT expires: - '-1' pragma: @@ -1540,7 +1494,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49996,Microsoft.Compute/GetOperation30Min;399979 + - Microsoft.Compute/GetOperation3Min;49999,Microsoft.Compute/GetOperation30Min;399999 status: code: 200 message: OK @@ -1558,7 +1512,7 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/snapshots/s1?api-version=2021-12-01 response: @@ -1567,26 +1521,26 @@ interactions: \ \"type\": \"Microsoft.Compute/snapshots\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_LRS\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n - \ \"hyperVGeneration\": \"V1\",\r\n \"supportsHibernation\": false,\r\n + \ \"hyperVGeneration\": \"V1\",\r\n \"supportsHibernation\": true,\r\n \ \"supportedCapabilities\": {\r\n \"acceleratedNetwork\": true,\r\n \ \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \"createOption\": - \"Copy\",\r\n \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/disks/vm1_disk1_8e47de8b061e4d278082fac2c63d21d6\",\r\n - \ \"sourceUniqueId\": \"8e47de8b-061e-4d27-8082-fac2c63d21d6\"\r\n },\r\n + \"Copy\",\r\n \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/disks/vm1_disk1_083b634e17dc4f9e8079e2bb060f4679\",\r\n + \ \"sourceUniqueId\": \"083b634e-17dc-4f9e-8079-e2bb060f4679\"\r\n },\r\n \ \"diskSizeGB\": 30,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n \ },\r\n \"incremental\": false,\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n - \ \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": \"2022-06-23T06:07:26.8705653+00:00\",\r\n + \ \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": \"2022-08-01T06:34:15.924585+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 32213303296,\r\n \"uniqueId\": \"4445bb8a-50ef-4a9a-a8da-66c66684f1b0\"\r\n + \ \"diskSizeBytes\": 32213303296,\r\n \"uniqueId\": \"b32ba55c-400f-4c83-a722-17b2a5fe5513\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '1316' + - '1314' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:07:29 GMT + - Mon, 01 Aug 2022 06:34:20 GMT expires: - '-1' pragma: @@ -1603,7 +1557,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4920,Microsoft.Compute/LowCostGet30Min;39169 + - Microsoft.Compute/LowCostGet3Min;4997,Microsoft.Compute/LowCostGet30Min;39997 status: code: 200 message: OK @@ -1621,12 +1575,12 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001","name":"cli_test_test_specialized_image_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-23T06:04:01Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001","name":"cli_test_test_specialized_image_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-08-01T06:31:22Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1635,7 +1589,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:07:31 GMT + - Mon, 01 Aug 2022 06:34:21 GMT expires: - '-1' pragma: @@ -1669,7 +1623,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions/1.0.0?api-version=2021-10-01 response: @@ -1680,7 +1634,7 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West 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\": \"2022-06-23T06:07:35.0289979+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-08-01T06:34:28.0201304+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"osDiskImage\": {\r\n \"hostCaching\": \"ReadWrite\",\r\n \ \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/snapshots/s1\"\r\n @@ -1688,7 +1642,7 @@ interactions: \ }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a6de7852-d3df-4b13-b685-4534f5eff69d?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/17c1892f-099f-49f9-9a5f-9acb186dd857?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -1696,7 +1650,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:07:35 GMT + - Mon, 01 Aug 2022 06:34:28 GMT expires: - '-1' pragma: @@ -1711,7 +1665,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;374,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1199 x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1199' status: code: 201 message: Created @@ -1729,13 +1683,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/westus/capsOperations/a6de7852-d3df-4b13-b685-4534f5eff69d?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/17c1892f-099f-49f9-9a5f-9acb186dd857?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-23T06:07:35.0289979+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"a6de7852-d3df-4b13-b685-4534f5eff69d\"\r\n}" + string: "{\r\n \"startTime\": \"2022-08-01T06:34:28.0201304+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"17c1892f-099f-49f9-9a5f-9acb186dd857\"\r\n}" headers: cache-control: - no-cache @@ -1744,7 +1698,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:08:36 GMT + - Mon, 01 Aug 2022 06:35:29 GMT expires: - '-1' pragma: @@ -1761,7 +1715,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1199,Microsoft.Compute/GetOperationStatus30Min;4195 + - Microsoft.Compute/GetOperationStatus3Min;1197,Microsoft.Compute/GetOperationStatus30Min;4195 status: code: 200 message: OK @@ -1779,13 +1733,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/westus/capsOperations/a6de7852-d3df-4b13-b685-4534f5eff69d?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/17c1892f-099f-49f9-9a5f-9acb186dd857?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-23T06:07:35.0289979+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"a6de7852-d3df-4b13-b685-4534f5eff69d\"\r\n}" + string: "{\r\n \"startTime\": \"2022-08-01T06:34:28.0201304+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"17c1892f-099f-49f9-9a5f-9acb186dd857\"\r\n}" headers: cache-control: - no-cache @@ -1794,7 +1748,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:09:37 GMT + - Mon, 01 Aug 2022 06:36:30 GMT expires: - '-1' pragma: @@ -1829,13 +1783,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/westus/capsOperations/a6de7852-d3df-4b13-b685-4534f5eff69d?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/17c1892f-099f-49f9-9a5f-9acb186dd857?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-23T06:07:35.0289979+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"a6de7852-d3df-4b13-b685-4534f5eff69d\"\r\n}" + string: "{\r\n \"startTime\": \"2022-08-01T06:34:28.0201304+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"17c1892f-099f-49f9-9a5f-9acb186dd857\"\r\n}" headers: cache-control: - no-cache @@ -1844,7 +1798,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:10:39 GMT + - Mon, 01 Aug 2022 06:37:30 GMT expires: - '-1' pragma: @@ -1879,13 +1833,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/westus/capsOperations/a6de7852-d3df-4b13-b685-4534f5eff69d?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/17c1892f-099f-49f9-9a5f-9acb186dd857?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-23T06:07:35.0289979+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"a6de7852-d3df-4b13-b685-4534f5eff69d\"\r\n}" + string: "{\r\n \"startTime\": \"2022-08-01T06:34:28.0201304+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"17c1892f-099f-49f9-9a5f-9acb186dd857\"\r\n}" headers: cache-control: - no-cache @@ -1894,7 +1848,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:11:39 GMT + - Mon, 01 Aug 2022 06:38:32 GMT expires: - '-1' pragma: @@ -1929,13 +1883,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/westus/capsOperations/a6de7852-d3df-4b13-b685-4534f5eff69d?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/17c1892f-099f-49f9-9a5f-9acb186dd857?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-23T06:07:35.0289979+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"a6de7852-d3df-4b13-b685-4534f5eff69d\"\r\n}" + string: "{\r\n \"startTime\": \"2022-08-01T06:34:28.0201304+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"17c1892f-099f-49f9-9a5f-9acb186dd857\"\r\n}" headers: cache-control: - no-cache @@ -1944,7 +1898,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:12:40 GMT + - Mon, 01 Aug 2022 06:39:32 GMT expires: - '-1' pragma: @@ -1979,13 +1933,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/westus/capsOperations/a6de7852-d3df-4b13-b685-4534f5eff69d?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/17c1892f-099f-49f9-9a5f-9acb186dd857?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-23T06:07:35.0289979+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"a6de7852-d3df-4b13-b685-4534f5eff69d\"\r\n}" + string: "{\r\n \"startTime\": \"2022-08-01T06:34:28.0201304+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"17c1892f-099f-49f9-9a5f-9acb186dd857\"\r\n}" headers: cache-control: - no-cache @@ -1994,7 +1948,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:13:41 GMT + - Mon, 01 Aug 2022 06:40:34 GMT expires: - '-1' pragma: @@ -2029,14 +1983,14 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/westus/capsOperations/a6de7852-d3df-4b13-b685-4534f5eff69d?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/17c1892f-099f-49f9-9a5f-9acb186dd857?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-23T06:07:35.0289979+00:00\",\r\n \"endTime\": - \"2022-06-23T06:14:42.8110359+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"a6de7852-d3df-4b13-b685-4534f5eff69d\"\r\n}" + string: "{\r\n \"startTime\": \"2022-08-01T06:34:28.0201304+00:00\",\r\n \"endTime\": + \"2022-08-01T06:41:14.0190963+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"17c1892f-099f-49f9-9a5f-9acb186dd857\"\r\n}" headers: cache-control: - no-cache @@ -2045,7 +1999,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:14:42 GMT + - Mon, 01 Aug 2022 06:41:34 GMT expires: - '-1' pragma: @@ -2080,7 +2034,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions/1.0.0?api-version=2021-10-01 response: @@ -2091,7 +2045,7 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West 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\": \"2022-06-23T06:07:35.0289979+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-08-01T06:34:28.0201304+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 30,\r\n \"hostCaching\": \"ReadWrite\",\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/snapshots/s1\"\r\n @@ -2105,7 +2059,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:14:43 GMT + - Mon, 01 Aug 2022 06:41:34 GMT expires: - '-1' pragma: @@ -2122,7 +2076,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImageVersion3Min;1998,Microsoft.Compute/GetGalleryImageVersion30Min;9987 + - Microsoft.Compute/GetGalleryImageVersion3Min;1999,Microsoft.Compute/GetGalleryImageVersion30Min;9997 status: code: 200 message: OK @@ -2140,12 +2094,12 @@ interactions: ParameterSetName: - -g -n --image --specialized --nsg-rule --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001","name":"cli_test_test_specialized_image_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-23T06:04:01Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001","name":"cli_test_test_specialized_image_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-08-01T06:31:22Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -2154,15 +2108,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:14:44 GMT + - Mon, 01 Aug 2022 06:41:36 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding x-content-type-options: - nosniff status: @@ -2182,29 +2134,29 @@ interactions: ParameterSetName: - -g -n --image --specialized --nsg-rule --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1?api-version=2021-10-01 response: body: string: "{\r\n \"name\": \"image1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1\",\r\n \ \"type\": \"Microsoft.Compute/galleries/images\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n - \ \"architecture\": \"x64\",\r\n \"features\": [\r\n {\r\n \"name\": - \"IsAcceleratedNetworkSupported\",\r\n \"value\": \"True\"\r\n }\r\n - \ ],\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Specialized\",\r\n - \ \"identifier\": {\r\n \"publisher\": \"publisher1\",\r\n \"offer\": - \"offer1\",\r\n \"sku\": \"sku1\"\r\n },\r\n \"provisioningState\": + \ \"tags\": {\r\n \"tag\": \"test\"\r\n },\r\n \"properties\": {\r\n + \ \"hyperVGeneration\": \"V1\",\r\n \"architecture\": \"x64\",\r\n \"features\": + [\r\n {\r\n \"name\": \"IsAcceleratedNetworkSupported\",\r\n \"value\": + \"True\"\r\n }\r\n ],\r\n \"osType\": \"Linux\",\r\n \"osState\": + \"Specialized\",\r\n \"identifier\": {\r\n \"publisher\": \"publisher1\",\r\n + \ \"offer\": \"offer1\",\r\n \"sku\": \"sku1\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '705' + - '728' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:14:45 GMT + - Mon, 01 Aug 2022 06:41:38 GMT expires: - '-1' pragma: @@ -2239,7 +2191,7 @@ interactions: ParameterSetName: - -g -n --image --specialized --nsg-rule --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions/1.0.0?api-version=2021-10-01 response: @@ -2250,7 +2202,7 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West 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\": \"2022-06-23T06:07:35.0289979+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-08-01T06:34:28.0201304+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 30,\r\n \"hostCaching\": \"ReadWrite\",\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/snapshots/s1\"\r\n @@ -2264,7 +2216,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:14:46 GMT + - Mon, 01 Aug 2022 06:41:38 GMT expires: - '-1' pragma: @@ -2281,7 +2233,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImageVersion3Min;1997,Microsoft.Compute/GetGalleryImageVersion30Min;9986 + - Microsoft.Compute/GetGalleryImageVersion3Min;1998,Microsoft.Compute/GetGalleryImageVersion30Min;9996 status: code: 200 message: OK @@ -2299,21 +2251,21 @@ interactions: ParameterSetName: - -g -n --image --specialized --nsg-rule --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-network/20.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/cli_test_test_specialized_image_000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"vm1VNET\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET\",\r\n - \ \"etag\": \"W/\\\"a39ce1f2-5c3d-4272-a52c-aec17e642a5d\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"ed6eecf1-d1f6-40ae-a315-cd2ddddbb29d\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"d05e104a-889e-40ee-bfa5-094e30170a40\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"29ccb2da-4de6-4d1d-844a-848ab1521b6e\",\r\n \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"vm1Subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet\",\r\n - \ \"etag\": \"W/\\\"a39ce1f2-5c3d-4272-a52c-aec17e642a5d\\\"\",\r\n + \ \"etag\": \"W/\\\"ed6eecf1-d1f6-40ae-a315-cd2ddddbb29d\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"ipConfigurations\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n @@ -2329,7 +2281,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:14:47 GMT + - Mon, 01 Aug 2022 06:41:39 GMT expires: - '-1' pragma: @@ -2346,7 +2298,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4a14f5de-7223-40d9-8031-6203e5a189d8 + - fc060d51-7c70-446a-80d9-4f1a5a46d349 status: code: 200 message: OK @@ -2390,23 +2342,23 @@ interactions: ParameterSetName: - -g -n --image --specialized --nsg-rule --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/vm_deploy_AqJBnrweblmg8pRgdH5Qbyxcizr9pbpe","name":"vm_deploy_AqJBnrweblmg8pRgdH5Qbyxcizr9pbpe","type":"Microsoft.Resources/deployments","properties":{"templateHash":"5750494698032363843","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-06-23T06:14:53.2775422Z","duration":"PT0.0004504S","correlationId":"1b950cc7-137b-4516-92f3-56c59e783ded","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkSecurityGroups/vm2NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm2NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm2PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachines/vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm2"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/vm_deploy_4UbcmxsArjGJl0DdSJ2bW1UjlfrncA01","name":"vm_deploy_4UbcmxsArjGJl0DdSJ2bW1UjlfrncA01","type":"Microsoft.Resources/deployments","properties":{"templateHash":"13336697522946637435","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-08-01T06:41:47.1716724Z","duration":"PT0.0008353S","correlationId":"3b438277-4606-40d3-b83f-a075a916087b","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkSecurityGroups/vm2NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm2NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm2PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachines/vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm2"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/vm_deploy_AqJBnrweblmg8pRgdH5Qbyxcizr9pbpe/operationStatuses/08585456419946098596?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/vm_deploy_4UbcmxsArjGJl0DdSJ2bW1UjlfrncA01/operationStatuses/08585422707806282656?api-version=2021-04-01 cache-control: - no-cache content-length: - - '2221' + - '2222' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:14:53 GMT + - Mon, 01 Aug 2022 06:41:47 GMT expires: - '-1' pragma: @@ -2416,7 +2368,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' status: code: 201 message: Created @@ -2434,51 +2386,9 @@ interactions: ParameterSetName: - -g -n --image --specialized --nsg-rule --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585456419946098596?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: - - Thu, 23 Jun 2022 06:15:24 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -g -n --image --specialized --nsg-rule --admin-username --admin-password --authentication-type - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585456419946098596?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585422707806282656?api-version=2021-04-01 response: body: string: '{"status":"Succeeded"}' @@ -2490,7 +2400,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:15:55 GMT + - Mon, 01 Aug 2022 06:42:18 GMT expires: - '-1' pragma: @@ -2518,21 +2428,21 @@ interactions: ParameterSetName: - -g -n --image --specialized --nsg-rule --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/vm_deploy_AqJBnrweblmg8pRgdH5Qbyxcizr9pbpe","name":"vm_deploy_AqJBnrweblmg8pRgdH5Qbyxcizr9pbpe","type":"Microsoft.Resources/deployments","properties":{"templateHash":"5750494698032363843","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-06-23T06:15:29.5522243Z","duration":"PT36.2751325S","correlationId":"1b950cc7-137b-4516-92f3-56c59e783ded","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkSecurityGroups/vm2NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm2NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm2PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachines/vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm2"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachines/vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkSecurityGroups/vm2NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/vm_deploy_4UbcmxsArjGJl0DdSJ2bW1UjlfrncA01","name":"vm_deploy_4UbcmxsArjGJl0DdSJ2bW1UjlfrncA01","type":"Microsoft.Resources/deployments","properties":{"templateHash":"13336697522946637435","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-08-01T06:42:17.2917716Z","duration":"PT30.1209345S","correlationId":"3b438277-4606-40d3-b83f-a075a916087b","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkSecurityGroups/vm2NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm2NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm2PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachines/vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm2"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachines/vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkSecurityGroups/vm2NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP"}]}}' headers: cache-control: - no-cache content-length: - - '2934' + - '2935' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:15:55 GMT + - Mon, 01 Aug 2022 06:42:20 GMT expires: - '-1' pragma: @@ -2560,22 +2470,22 @@ interactions: ParameterSetName: - -g -n --image --specialized --nsg-rule --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachines/vm2?$expand=instanceView&api-version=2022-03-01 response: body: string: "{\r\n \"name\": \"vm2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachines/vm2\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"4cc7ded6-e4b3-4776-8ae7-acf866136e43\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"fb50c695-c675-47a1-bd90-982c92ddfebd\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions/1.0.0\",\r\n \ \"exactVersion\": \"1.0.0\"\r\n },\r\n \"osDisk\": {\r\n - \ \"osType\": \"Linux\",\r\n \"name\": \"vm2_OsDisk_1_94ec7e359f834cb3aa62250a522b24ce\",\r\n + \ \"osType\": \"Linux\",\r\n \"name\": \"vm2_OsDisk_1_40be23db290046739b5b9cdf61f894d9\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/disks/vm2_OsDisk_1_94ec7e359f834cb3aa62250a522b24ce\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/disks/vm2_OsDisk_1_40be23db290046739b5b9cdf61f894d9\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic\"}]},\r\n @@ -2584,21 +2494,21 @@ interactions: \ {\r\n \"code\": \"ProvisioningState/Unavailable\",\r\n \ \"level\": \"Warning\",\r\n \"displayStatus\": \"Not Ready\",\r\n \"message\": \"VM status blob is found but not yet - populated.\",\r\n \"time\": \"2022-06-23T06:15:57+00:00\"\r\n }\r\n + populated.\",\r\n \"time\": \"2022-08-01T06:42:21+00:00\"\r\n }\r\n \ ]\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": - \"vm2_OsDisk_1_94ec7e359f834cb3aa62250a522b24ce\",\r\n \"statuses\": + \"vm2_OsDisk_1_40be23db290046739b5b9cdf61f894d9\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-06-23T06:15:15.0825732+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-08-01T06:42:04.5492491+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\": \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"OSState/specialized\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM specialized\"\r\n \ },\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-06-23T06:15:26.9576032+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-08-01T06:42:14.6430863+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 \"timeCreated\": \"2022-06-23T06:15:13.9732036+00:00\"\r\n + \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2022-08-01T06:42:02.9711427+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -2608,7 +2518,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:15:57 GMT + - Mon, 01 Aug 2022 06:42:21 GMT expires: - '-1' pragma: @@ -2625,7 +2535,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3895,Microsoft.Compute/LowCostGet30Min;31163 + - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31992 status: code: 200 message: OK @@ -2643,18 +2553,17 @@ interactions: ParameterSetName: - -g -n --image --specialized --nsg-rule --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-network/20.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/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic?api-version=2018-01-01 response: body: string: "{\r\n \"name\": \"vm2VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic\",\r\n - \ \"etag\": \"W/\\\"8b88e3a2-f6f9-4ced-875a-d059ca2d5183\\\"\",\r\n \"location\": - \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"29bca8d9-84d8-4f56-b4e8-0edbd0f168d5\",\r\n - \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm2\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic/ipConfigurations/ipconfigvm2\",\r\n - \ \"etag\": \"W/\\\"8b88e3a2-f6f9-4ced-875a-d059ca2d5183\\\"\",\r\n + \ \"etag\": \"W/\\\"c7280173-022d-49fd-bc18-a9a06733605e\\\"\",\r\n \"tags\": + {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"d4540143-c5e8-4ac7-9dfe-ce85626a75c6\",\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"ipconfigvm2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic/ipConfigurations/ipconfigvm2\",\r\n + \ \"etag\": \"W/\\\"c7280173-022d-49fd-bc18-a9a06733605e\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.5\",\r\n \"privateIPAllocationMethod\": @@ -2663,12 +2572,13 @@ 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\": - \"jiif3ue4rdxebp3fbfhdafykia.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-22-48-09-53-D7\",\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": + \"1kzmykpgjuou1bckqsflcuq1ng.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-22-48-09-0E-63\",\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkSecurityGroups/vm2NSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachines/vm2\"\r\n - \ }\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}" + \ }\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\",\r\n + \ \"location\": \"westus\"\r\n}" headers: cache-control: - no-cache @@ -2677,9 +2587,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:15:58 GMT + - Mon, 01 Aug 2022 06:42:21 GMT etag: - - W/"8b88e3a2-f6f9-4ced-875a-d059ca2d5183" + - W/"c7280173-022d-49fd-bc18-a9a06733605e" expires: - '-1' pragma: @@ -2696,7 +2606,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4561630d-cc4d-4ec8-b873-01f167f42e44 + - ecc88884-4a9d-4a1d-997d-84309c3a7cc1 status: code: 200 message: OK @@ -2714,16 +2624,16 @@ interactions: ParameterSetName: - -g -n --image --specialized --nsg-rule --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-network/20.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/cli_test_test_specialized_image_000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP?api-version=2018-01-01 response: body: string: "{\r\n \"name\": \"vm2PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP\",\r\n - \ \"etag\": \"W/\\\"5c6fe4a3-a94d-4094-8501-986ae8a7d2b7\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"db7f436c-68ab-4b15-90f6-860a20b74ac0\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"fe4bc973-37ec-49e9-b157-1c2f1de62878\",\r\n - \ \"ipAddress\": \"20.245.29.115\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"ecb9512f-0edb-4256-84b8-fb5d75a34c38\",\r\n + \ \"ipAddress\": \"20.245.116.51\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic/ipConfigurations/ipconfigvm2\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n @@ -2736,9 +2646,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:15:58 GMT + - Mon, 01 Aug 2022 06:42:22 GMT etag: - - W/"5c6fe4a3-a94d-4094-8501-986ae8a7d2b7" + - W/"db7f436c-68ab-4b15-90f6-860a20b74ac0" expires: - '-1' pragma: @@ -2755,7 +2665,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 514f49c1-d383-4ac7-9dc4-4d24ef12f701 + - b35a0438-58e6-4466-80d8-2ef990fc9cac status: code: 200 message: OK @@ -2773,12 +2683,12 @@ interactions: ParameterSetName: - -g -n --image --specialized --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001","name":"cli_test_test_specialized_image_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-23T06:04:01Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001","name":"cli_test_test_specialized_image_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-08-01T06:31:22Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -2787,7 +2697,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:15:59 GMT + - Mon, 01 Aug 2022 06:42:22 GMT expires: - '-1' pragma: @@ -2815,29 +2725,29 @@ interactions: ParameterSetName: - -g -n --image --specialized --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1?api-version=2021-10-01 response: body: string: "{\r\n \"name\": \"image1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1\",\r\n \ \"type\": \"Microsoft.Compute/galleries/images\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n - \ \"architecture\": \"x64\",\r\n \"features\": [\r\n {\r\n \"name\": - \"IsAcceleratedNetworkSupported\",\r\n \"value\": \"True\"\r\n }\r\n - \ ],\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Specialized\",\r\n - \ \"identifier\": {\r\n \"publisher\": \"publisher1\",\r\n \"offer\": - \"offer1\",\r\n \"sku\": \"sku1\"\r\n },\r\n \"provisioningState\": + \ \"tags\": {\r\n \"tag\": \"test\"\r\n },\r\n \"properties\": {\r\n + \ \"hyperVGeneration\": \"V1\",\r\n \"architecture\": \"x64\",\r\n \"features\": + [\r\n {\r\n \"name\": \"IsAcceleratedNetworkSupported\",\r\n \"value\": + \"True\"\r\n }\r\n ],\r\n \"osType\": \"Linux\",\r\n \"osState\": + \"Specialized\",\r\n \"identifier\": {\r\n \"publisher\": \"publisher1\",\r\n + \ \"offer\": \"offer1\",\r\n \"sku\": \"sku1\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '705' + - '728' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:16:01 GMT + - Mon, 01 Aug 2022 06:42:24 GMT expires: - '-1' pragma: @@ -2847,14 +2757,10 @@ interactions: - 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/GetGalleryImage3Min;594,Microsoft.Compute/GetGalleryImage30Min;2989 + - Microsoft.Compute/GetGalleryImage3Min;596,Microsoft.Compute/GetGalleryImage30Min;2991 status: code: 200 message: OK @@ -2872,7 +2778,7 @@ interactions: ParameterSetName: - -g -n --image --specialized --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-compute/27.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/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions/1.0.0?api-version=2021-10-01 response: @@ -2883,7 +2789,7 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West 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\": \"2022-06-23T06:07:35.0289979+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-08-01T06:34:28.0201304+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 30,\r\n \"hostCaching\": \"ReadWrite\",\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/snapshots/s1\"\r\n @@ -2897,7 +2803,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:16:01 GMT + - Mon, 01 Aug 2022 06:42:24 GMT expires: - '-1' pragma: @@ -2907,14 +2813,10 @@ interactions: - 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/GetGalleryImageVersion3Min;1994,Microsoft.Compute/GetGalleryImageVersion30Min;9984 + - Microsoft.Compute/GetGalleryImageVersion3Min;1995,Microsoft.Compute/GetGalleryImageVersion30Min;9993 status: code: 200 message: OK @@ -2932,21 +2834,21 @@ interactions: ParameterSetName: - -g -n --image --specialized --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-network/20.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/cli_test_test_specialized_image_000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"vm1VNET\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET\",\r\n - \ \"etag\": \"W/\\\"fafa468f-3acb-4344-a736-6b4ad51f5c4d\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"c2cefb88-b0ab-406e-ba17-1abf09ee08d5\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"d05e104a-889e-40ee-bfa5-094e30170a40\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"29ccb2da-4de6-4d1d-844a-848ab1521b6e\",\r\n \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"vm1Subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet\",\r\n - \ \"etag\": \"W/\\\"fafa468f-3acb-4344-a736-6b4ad51f5c4d\\\"\",\r\n + \ \"etag\": \"W/\\\"c2cefb88-b0ab-406e-ba17-1abf09ee08d5\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"ipConfigurations\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n @@ -2963,7 +2865,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:16:03 GMT + - Mon, 01 Aug 2022 06:42:25 GMT expires: - '-1' pragma: @@ -2980,7 +2882,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e3dc7b64-762f-464f-9e76-351c2c8d38e5 + - 5d449bd5-d2ad-46f6-930a-bd49cb2d22af status: code: 200 message: OK @@ -3000,13 +2902,13 @@ interactions: ''/frontendIPConfigurations/'', ''loadBalancerFrontEnd'')]"}, "protocol": "tcp", "frontendPortRangeStart": "50000", "frontendPortRangeEnd": "50119", "backendPort": 22}}]}}, {"type": "Microsoft.Compute/virtualMachineScaleSets", "name": "vmss1", - "location": "westus", "tags": {}, "apiVersion": "2021-11-01", "dependsOn": ["Microsoft.Network/loadBalancers/vmss1LB"], + "location": "westus", "tags": {}, "apiVersion": "2022-03-01", "dependsOn": ["Microsoft.Network/loadBalancers/vmss1LB"], "properties": {"overprovision": true, "upgradePolicy": {"mode": "manual", "rollingUpgradePolicy": {}}, "singlePlacementGroup": null, "virtualMachineProfile": {"storageProfile": {"osDisk": {"createOption": "FromImage", "caching": "ReadWrite", "managedDisk": {"storageAccountType": null}}, "imageReference": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions/1.0.0"}}, - "networkProfile": {"networkInterfaceConfigurations": [{"name": "vmss128afNic", - "properties": {"ipConfigurations": [{"name": "vmss128afIPConfig", "properties": + "networkProfile": {"networkInterfaceConfigurations": [{"name": "vmss10ccaNic", + "properties": {"ipConfigurations": [{"name": "vmss10ccaIPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet"}, "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}], "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}], @@ -3030,15 +2932,15 @@ interactions: ParameterSetName: - -g -n --image --specialized --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/vmss_deploy_AObFUx24K1q6PjgJLLp3GazcjpbzJaBe","name":"vmss_deploy_AObFUx24K1q6PjgJLLp3GazcjpbzJaBe","type":"Microsoft.Resources/deployments","properties":{"templateHash":"7726372611496083412","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-06-23T06:16:21.6681291Z","duration":"PT0.0007248S","correlationId":"52216bbc-db25-45a9-a113-7e65953b70b7","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/vmss_deploy_VRd3UrxOVblThUg9CZnAftoDz5QCmLqB","name":"vmss_deploy_VRd3UrxOVblThUg9CZnAftoDz5QCmLqB","type":"Microsoft.Resources/deployments","properties":{"templateHash":"2936867015625293132","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-08-01T06:42:44.7808419Z","duration":"PT0.0000959S","correlationId":"44ac7192-ce5e-42e4-8535-534d174ea877","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/vmss_deploy_AObFUx24K1q6PjgJLLp3GazcjpbzJaBe/operationStatuses/08585456419060528139?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/vmss_deploy_VRd3UrxOVblThUg9CZnAftoDz5QCmLqB/operationStatuses/08585422707232643692?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -3046,7 +2948,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:16:23 GMT + - Mon, 01 Aug 2022 06:42:46 GMT expires: - '-1' pragma: @@ -3056,7 +2958,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1199' status: code: 201 message: Created @@ -3074,9 +2976,9 @@ interactions: ParameterSetName: - -g -n --image --specialized --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585456419060528139?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585422707232643692?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -3088,7 +2990,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:16:55 GMT + - Mon, 01 Aug 2022 06:43:17 GMT expires: - '-1' pragma: @@ -3116,9 +3018,9 @@ interactions: ParameterSetName: - -g -n --image --specialized --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585456419060528139?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585422707232643692?api-version=2021-04-01 response: body: string: '{"status":"Succeeded"}' @@ -3130,7 +3032,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:17:26 GMT + - Mon, 01 Aug 2022 06:43:48 GMT expires: - '-1' pragma: @@ -3158,12 +3060,12 @@ interactions: ParameterSetName: - -g -n --image --specialized --admin-username --admin-password --authentication-type User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/vmss_deploy_AObFUx24K1q6PjgJLLp3GazcjpbzJaBe","name":"vmss_deploy_AObFUx24K1q6PjgJLLp3GazcjpbzJaBe","type":"Microsoft.Resources/deployments","properties":{"templateHash":"7726372611496083412","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-06-23T06:17:04.5446241Z","duration":"PT42.8772198S","correlationId":"52216bbc-db25-45a9-a113-7e65953b70b7","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual","rollingUpgradePolicy":{"maxBatchInstancePercent":20,"maxUnhealthyInstancePercent":20,"maxUnhealthyUpgradedInstancePercent":20,"pauseTimeBetweenBatches":"PT0S"}},"virtualMachineProfile":{"storageProfile":{"osDisk":{"osType":"Linux","createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":30},"imageReference":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions/1.0.0"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss128afNic","properties":{"primary":true,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss128afIPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"f3ef6f0e-2b10-4709-98d3-dbe681847b48","timeCreated":"2022-06-23T06:16:39.7546676+00:00"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/loadBalancers/vmss1LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Resources/deployments/vmss_deploy_VRd3UrxOVblThUg9CZnAftoDz5QCmLqB","name":"vmss_deploy_VRd3UrxOVblThUg9CZnAftoDz5QCmLqB","type":"Microsoft.Resources/deployments","properties":{"templateHash":"2936867015625293132","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-08-01T06:43:27.1327523Z","duration":"PT42.3520063S","correlationId":"44ac7192-ce5e-42e4-8535-534d174ea877","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual","rollingUpgradePolicy":{"maxBatchInstancePercent":20,"maxUnhealthyInstancePercent":20,"maxUnhealthyUpgradedInstancePercent":20,"pauseTimeBetweenBatches":"PT0S"}},"virtualMachineProfile":{"storageProfile":{"osDisk":{"osType":"Linux","createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":30},"imageReference":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions/1.0.0"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss10ccaNic","properties":{"primary":true,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss10ccaIPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"8fff0c98-1cf0-49df-b2a2-25527718a4e5","timeCreated":"2022-08-01T06:43:01.5337038+00:00"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/loadBalancers/vmss1LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP"}]}}' headers: cache-control: - no-cache @@ -3172,7 +3074,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:17:27 GMT + - Mon, 01 Aug 2022 06:43:49 GMT expires: - '-1' pragma: @@ -3200,12 +3102,12 @@ interactions: ParameterSetName: - -g -n --specialized User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001","name":"cli_test_test_specialized_image_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-23T06:04:01Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001","name":"cli_test_test_specialized_image_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-08-01T06:31:22Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -3214,7 +3116,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:17:28 GMT + - Mon, 01 Aug 2022 06:43:50 GMT expires: - '-1' pragma: @@ -3242,12 +3144,12 @@ interactions: ParameterSetName: - -g -n --specialized User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.39.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_test_specialized_image_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001","name":"cli_test_test_specialized_image_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-23T06:04:01Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001","name":"cli_test_test_specialized_image_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-08-01T06:31:22Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -3256,7 +3158,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 06:17:30 GMT + - Mon, 01 Aug 2022 06:43:51 GMT expires: - '-1' pragma: 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 f0d957029e0..6e123b42448 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 @@ -5655,8 +5655,9 @@ def test_specialized_image(self, resource_group): 'vmss2': 'vmss2' }) self.cmd('sig create -g {rg} --gallery-name {gallery}') - self.cmd('sig image-definition create -g {rg} --gallery-name {gallery} --gallery-image-definition {image} --os-type linux --os-state specialized -p publisher1 -f offer1 -s sku1 --features "IsAcceleratedNetworkSupported=true"', checks=[ - self.check('osState', 'Specialized') + self.cmd('sig image-definition create -g {rg} --gallery-name {gallery} --gallery-image-definition {image} --os-type linux --os-state specialized -p publisher1 -f offer1 -s sku1 --features "IsAcceleratedNetworkSupported=true" --tags tag=test', checks=[ + self.check('osState', 'Specialized'), + self.check('tags', {'tag': 'test'}) ]) self.cmd('vm create -g {rg} -n {vm1} --image ubuntults --nsg-rule NONE --admin-username azureuser --admin-password testPassword0 --authentication-type password') disk = self.cmd('vm show -g {rg} -n {vm1}').get_output_in_json()['storageProfile']['osDisk']['name']