From b80dd0a46ac336b41247359e538cc99e799ebe25 Mon Sep 17 00:00:00 2001 From: Feiyue Yu Date: Fri, 21 Feb 2020 16:43:50 +0800 Subject: [PATCH 1/2] [Compute] sig image-version: add --data-snapshot-luns --- .../azure/cli/command_modules/vm/_params.py | 1 + .../azure/cli/command_modules/vm/custom.py | 11 +- .../recordings/test_gallery_specialized.yaml | 764 ++++++++---------- .../vm/tests/latest/test_vm_commands.py | 4 +- 4 files changed, 340 insertions(+), 440 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/vm/_params.py b/src/azure-cli/azure/cli/command_modules/vm/_params.py index 18e7f38351c..9cefd678926 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_params.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_params.py @@ -816,6 +816,7 @@ def load_arguments(self, _): c.argument('managed_image', help='image name(if in the same resource group) or resource id') c.argument('os_snapshot', help='Name or ID of OS disk snapshot') c.argument('data_snapshots', nargs='+', help='Names or IDs (space-delimited) of data disk snapshots') + c.argument('data_snapshot_luns', nargs='+', help='LUNs (space-delimited) of data disk snapshots') c.argument('exclude_from_latest', arg_type=get_three_state_flag(), help='The flag means that if it is set to true, people deploying VMs with version omitted will not use this version.') c.argument('version', help='image version') c.argument('end_of_life_date', help="the end of life date, e.g. '2020-12-31'") diff --git a/src/azure-cli/azure/cli/command_modules/vm/custom.py b/src/azure-cli/azure/cli/command_modules/vm/custom.py index 73f47ab9a10..f634de84770 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/custom.py +++ b/src/azure-cli/azure/cli/command_modules/vm/custom.py @@ -2983,7 +2983,7 @@ def create_gallery_image(cmd, resource_group_name, gallery_name, gallery_image_n def create_image_version(cmd, resource_group_name, gallery_name, gallery_image_name, gallery_image_version, location=None, target_regions=None, storage_account_type=None, end_of_life_date=None, exclude_from_latest=None, replica_count=None, tags=None, - os_snapshot=None, data_snapshots=None, managed_image=None): + os_snapshot=None, data_snapshots=None, managed_image=None, data_snapshot_luns=None): from msrestazure.tools import resource_id, is_valid_resource_id ImageVersionPublishingProfile, GalleryArtifactSource, ManagedArtifact, ImageVersion, TargetRegion = cmd.get_models( 'GalleryImageVersionPublishingProfile', 'GalleryArtifactSource', 'ManagedArtifact', 'GalleryImageVersion', @@ -3020,10 +3020,17 @@ def create_image_version(cmd, resource_group_name, gallery_name, gallery_image_n source = GalleryArtifactVersionSource(id=managed_image) if os_snapshot is not None: os_disk_image = GalleryOSDiskImage(source=GalleryArtifactVersionSource(id=os_snapshot)) + if data_snapshot_luns and not data_snapshots: + raise CLIError('usage error: --data-snapshot-luns must be used together with --data-snapshots') if data_snapshots: + if data_snapshot_luns and len(data_snapshots) != len(data_snapshot_luns): + raise CLIError('usage error: Length of --data-snapshots and --data-snapshot-luns should be equal.') + if not data_snapshot_luns: + data_snapshot_luns = [i for i in range(len(data_snapshots))] data_disk_images = [] for i, s in enumerate(data_snapshots): - data_disk_images.append(GalleryDataDiskImage(source=GalleryArtifactVersionSource(id=s), lun=i)) + data_disk_images.append(GalleryDataDiskImage(source=GalleryArtifactVersionSource(id=s), + lun=data_snapshot_luns[i])) storage_profile = GalleryImageVersionStorageProfile(source=source, os_disk_image=os_disk_image, data_disk_images=data_disk_images) image_version = ImageVersion(publishing_profile=profile, location=location, tags=(tags or {}), diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_gallery_specialized.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_gallery_specialized.yaml index 2cfd73c8884..f924106ff62 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_gallery_specialized.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_gallery_specialized.yaml @@ -13,15 +13,15 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_gallery_specialized_000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001","name":"cli_test_gallery_specialized_000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2019-11-21T05:42:13Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001","name":"cli_test_gallery_specialized_000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2020-02-21T08:25:02Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:42:20 GMT + - Fri, 21 Feb 2020 08:25:20 GMT expires: - '-1' pragma: @@ -62,8 +62,8 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: PUT @@ -77,7 +77,7 @@ interactions: \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/61a01473-1d7c-4788-a7d4-a25a59022dc7?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/a3988bdd-2761-4147-a375-b322940de718?api-version=2019-07-01 cache-control: - no-cache content-length: @@ -85,7 +85,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:42:26 GMT + - Fri, 21 Feb 2020 08:25:33 GMT expires: - '-1' pragma: @@ -116,24 +116,24 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/61a01473-1d7c-4788-a7d4-a25a59022dc7?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/a3988bdd-2761-4147-a375-b322940de718?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2019-11-21T05:42:25.4184037+00:00\",\r\n \"endTime\": - \"2019-11-21T05:42:25.652783+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"61a01473-1d7c-4788-a7d4-a25a59022dc7\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-21T08:25:31.0694589+00:00\",\r\n \"endTime\": + \"2020-02-21T08:25:31.3038433+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"a3988bdd-2761-4147-a375-b322940de718\"\r\n}" headers: cache-control: - no-cache content-length: - - '183' + - '184' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:42:58 GMT + - Fri, 21 Feb 2020 08:26:06 GMT expires: - '-1' pragma: @@ -166,8 +166,8 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/galleries/gallery1?api-version=2019-07-01 response: @@ -185,7 +185,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:42:58 GMT + - Fri, 21 Feb 2020 08:26:07 GMT expires: - '-1' pragma: @@ -219,15 +219,15 @@ interactions: - -g --gallery-name --gallery-image-definition --os-type --os-state --hyper-v-generation -p -f -s User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_gallery_specialized_000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001","name":"cli_test_gallery_specialized_000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2019-11-21T05:42:13Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001","name":"cli_test_gallery_specialized_000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2020-02-21T08:25:02Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -236,7 +236,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:42:59 GMT + - Fri, 21 Feb 2020 08:26:14 GMT expires: - '-1' pragma: @@ -271,8 +271,8 @@ interactions: - -g --gallery-name --gallery-image-definition --os-type --os-state --hyper-v-generation -p -f -s User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: PUT @@ -288,7 +288,7 @@ interactions: \ }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/142e0581-810d-420e-9e26-44fc1c0a27fc?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/9df37d1f-83a4-4239-b647-811abec06351?api-version=2019-07-01 cache-control: - no-cache content-length: @@ -296,7 +296,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:43:07 GMT + - Fri, 21 Feb 2020 08:26:26 GMT expires: - '-1' pragma: @@ -328,24 +328,24 @@ interactions: - -g --gallery-name --gallery-image-definition --os-type --os-state --hyper-v-generation -p -f -s User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/142e0581-810d-420e-9e26-44fc1c0a27fc?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/9df37d1f-83a4-4239-b647-811abec06351?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2019-11-21T05:43:06.529652+00:00\",\r\n \"endTime\": - \"2019-11-21T05:43:06.6390296+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"142e0581-810d-420e-9e26-44fc1c0a27fc\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-21T08:26:24.3844125+00:00\",\r\n \"endTime\": + \"2020-02-21T08:26:24.4938114+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"9df37d1f-83a4-4239-b647-811abec06351\"\r\n}" headers: cache-control: - no-cache content-length: - - '183' + - '184' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:43:39 GMT + - Fri, 21 Feb 2020 08:27:01 GMT expires: - '-1' pragma: @@ -379,8 +379,8 @@ interactions: - -g --gallery-name --gallery-image-definition --os-type --os-state --hyper-v-generation -p -f -s User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/galleries/gallery1/images/image1?api-version=2019-07-01 response: @@ -400,7 +400,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:43:39 GMT + - Fri, 21 Feb 2020 08:27:02 GMT expires: - '-1' pragma: @@ -433,15 +433,15 @@ interactions: ParameterSetName: - -g -n --size-gb User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_gallery_specialized_000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001","name":"cli_test_gallery_specialized_000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2019-11-21T05:42:13Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001","name":"cli_test_gallery_specialized_000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2020-02-21T08:25:02Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -450,7 +450,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:43:40 GMT + - Fri, 21 Feb 2020 08:27:09 GMT expires: - '-1' pragma: @@ -484,8 +484,8 @@ interactions: ParameterSetName: - -g -n --size-gb User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: PUT @@ -499,7 +499,7 @@ interactions: \"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/eastus2/DiskOperations/c0f392a3-58af-4825-8cad-409c635b38e8?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/b2cc2aaa-7955-4706-b385-6206f2ad88d7?api-version=2019-07-01 cache-control: - no-cache content-length: @@ -507,11 +507,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:43:48 GMT + - Fri, 21 Feb 2020 08:27:22 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/c0f392a3-58af-4825-8cad-409c635b38e8?monitor=true&api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/b2cc2aaa-7955-4706-b385-6206f2ad88d7?monitor=true&api-version=2019-07-01 pragma: - no-cache server: @@ -542,14 +542,14 @@ interactions: ParameterSetName: - -g -n --size-gb User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/c0f392a3-58af-4825-8cad-409c635b38e8?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/b2cc2aaa-7955-4706-b385-6206f2ad88d7?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2019-11-21T05:43:48.0554721+00:00\",\r\n \"endTime\": - \"2019-11-21T05:43:48.2116878+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2020-02-21T08:27:22.4649442+00:00\",\r\n \"endTime\": + \"2020-02-21T08:27:22.589974+00:00\",\r\n \"status\": \"Succeeded\",\r\n \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"d1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/disks/d1\",\r\n \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"eastus2\",\r\n @@ -558,19 +558,19 @@ interactions: \ \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \ \"diskSizeGB\": 10,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n - \ },\r\n \"timeCreated\": \"2019-11-21T05:43:48.0710845+00:00\",\r\n + \ },\r\n \"timeCreated\": \"2020-02-21T08:27:22.4649442+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"c8c71afc-4103-45ed-9c8c-74fb03d6e13b\"\r\n - \ }\r\n}\r\n },\r\n \"name\": \"c0f392a3-58af-4825-8cad-409c635b38e8\"\r\n}" + \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"21c611b9-1b7b-409e-8961-6416888b5a86\"\r\n + \ }\r\n}\r\n },\r\n \"name\": \"b2cc2aaa-7955-4706-b385-6206f2ad88d7\"\r\n}" headers: cache-control: - no-cache content-length: - - '1084' + - '1083' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:43:50 GMT + - Fri, 21 Feb 2020 08:27:28 GMT expires: - '-1' pragma: @@ -587,7 +587,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49999,Microsoft.Compute/GetOperation30Min;399999 + - Microsoft.Compute/GetOperation3Min;49999,Microsoft.Compute/GetOperation30Min;399182 status: code: 200 message: OK @@ -605,8 +605,8 @@ interactions: ParameterSetName: - -g -n --size-gb User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/disks/d1?api-version=2019-07-01 response: @@ -618,9 +618,9 @@ interactions: \ \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \ \"diskSizeGB\": 10,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n - \ },\r\n \"timeCreated\": \"2019-11-21T05:43:48.0710845+00:00\",\r\n + \ },\r\n \"timeCreated\": \"2020-02-21T08:27:22.4649442+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"c8c71afc-4103-45ed-9c8c-74fb03d6e13b\"\r\n + \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"21c611b9-1b7b-409e-8961-6416888b5a86\"\r\n \ }\r\n}" headers: cache-control: @@ -630,7 +630,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:43:51 GMT + - Fri, 21 Feb 2020 08:27:28 GMT expires: - '-1' pragma: @@ -647,7 +647,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4999,Microsoft.Compute/LowCostGet30Min;39999 + - Microsoft.Compute/LowCostGet3Min;4999,Microsoft.Compute/LowCostGet30Min;39399 status: code: 200 message: OK @@ -665,15 +665,15 @@ interactions: ParameterSetName: - -g -n --size-gb User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_gallery_specialized_000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001","name":"cli_test_gallery_specialized_000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2019-11-21T05:42:13Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001","name":"cli_test_gallery_specialized_000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2020-02-21T08:25:02Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -682,7 +682,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:43:52 GMT + - Fri, 21 Feb 2020 08:27:32 GMT expires: - '-1' pragma: @@ -716,8 +716,8 @@ interactions: ParameterSetName: - -g -n --size-gb User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: PUT @@ -731,7 +731,7 @@ interactions: \"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/eastus2/DiskOperations/93ebc0ed-c1c5-4c57-a1be-9cdabceb06ae?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/ffde7faa-0f8b-479c-8993-5f98572ca8cd?api-version=2019-07-01 cache-control: - no-cache content-length: @@ -739,11 +739,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:43:57 GMT + - Fri, 21 Feb 2020 08:27:41 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/93ebc0ed-c1c5-4c57-a1be-9cdabceb06ae?monitor=true&api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/ffde7faa-0f8b-479c-8993-5f98572ca8cd?monitor=true&api-version=2019-07-01 pragma: - no-cache server: @@ -774,14 +774,14 @@ interactions: ParameterSetName: - -g -n --size-gb User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/93ebc0ed-c1c5-4c57-a1be-9cdabceb06ae?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/ffde7faa-0f8b-479c-8993-5f98572ca8cd?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2019-11-21T05:43:58.2277757+00:00\",\r\n \"endTime\": - \"2019-11-21T05:43:58.3840422+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2020-02-21T08:27:42.5908187+00:00\",\r\n \"endTime\": + \"2020-02-21T08:27:42.700204+00:00\",\r\n \"status\": \"Succeeded\",\r\n \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"d2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/disks/d2\",\r\n \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"eastus2\",\r\n @@ -790,19 +790,19 @@ interactions: \ \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \ \"diskSizeGB\": 10,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n - \ },\r\n \"timeCreated\": \"2019-11-21T05:43:58.2277757+00:00\",\r\n + \ },\r\n \"timeCreated\": \"2020-02-21T08:27:42.5908187+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"d760443b-bf33-4210-b4de-48986487768d\"\r\n - \ }\r\n}\r\n },\r\n \"name\": \"93ebc0ed-c1c5-4c57-a1be-9cdabceb06ae\"\r\n}" + \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"7b26aa89-df20-4853-91a7-a905ca93f9de\"\r\n + \ }\r\n}\r\n },\r\n \"name\": \"ffde7faa-0f8b-479c-8993-5f98572ca8cd\"\r\n}" headers: cache-control: - no-cache content-length: - - '1084' + - '1083' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:01 GMT + - Fri, 21 Feb 2020 08:27:47 GMT expires: - '-1' pragma: @@ -819,7 +819,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49997,Microsoft.Compute/GetOperation30Min;399997 + - Microsoft.Compute/GetOperation3Min;49997,Microsoft.Compute/GetOperation30Min;399180 status: code: 200 message: OK @@ -837,8 +837,8 @@ interactions: ParameterSetName: - -g -n --size-gb User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/disks/d2?api-version=2019-07-01 response: @@ -850,9 +850,9 @@ interactions: \ \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \ \"diskSizeGB\": 10,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n - \ },\r\n \"timeCreated\": \"2019-11-21T05:43:58.2277757+00:00\",\r\n + \ },\r\n \"timeCreated\": \"2020-02-21T08:27:42.5908187+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"d760443b-bf33-4210-b4de-48986487768d\"\r\n + \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"7b26aa89-df20-4853-91a7-a905ca93f9de\"\r\n \ }\r\n}" headers: cache-control: @@ -862,7 +862,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:01 GMT + - Fri, 21 Feb 2020 08:27:49 GMT expires: - '-1' pragma: @@ -879,7 +879,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4997,Microsoft.Compute/LowCostGet30Min;39997 + - Microsoft.Compute/LowCostGet3Min;4995,Microsoft.Compute/LowCostGet30Min;39395 status: code: 200 message: OK @@ -897,15 +897,15 @@ interactions: ParameterSetName: - -g -n --size-gb User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_gallery_specialized_000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001","name":"cli_test_gallery_specialized_000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2019-11-21T05:42:13Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001","name":"cli_test_gallery_specialized_000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2020-02-21T08:25:02Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -914,7 +914,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:02 GMT + - Fri, 21 Feb 2020 08:27:56 GMT expires: - '-1' pragma: @@ -948,8 +948,8 @@ interactions: ParameterSetName: - -g -n --size-gb User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: PUT @@ -963,7 +963,7 @@ interactions: \"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/eastus2/DiskOperations/02ebc0eb-f707-464b-b270-d68e574af3d4?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/977e6a92-83d4-45a6-9700-23bad8681205?api-version=2019-07-01 cache-control: - no-cache content-length: @@ -971,11 +971,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:08 GMT + - Fri, 21 Feb 2020 08:28:06 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/02ebc0eb-f707-464b-b270-d68e574af3d4?monitor=true&api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/977e6a92-83d4-45a6-9700-23bad8681205?monitor=true&api-version=2019-07-01 pragma: - no-cache server: @@ -988,7 +988,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateDisks3Min;997,Microsoft.Compute/CreateUpdateDisks30Min;7997 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -1006,14 +1006,14 @@ interactions: ParameterSetName: - -g -n --size-gb User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/02ebc0eb-f707-464b-b270-d68e574af3d4?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/977e6a92-83d4-45a6-9700-23bad8681205?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2019-11-21T05:44:08.2750613+00:00\",\r\n \"endTime\": - \"2019-11-21T05:44:08.415709+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2020-02-21T08:28:06.9824812+00:00\",\r\n \"endTime\": + \"2020-02-21T08:28:07.1074905+00:00\",\r\n \"status\": \"Succeeded\",\r\n \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"d3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/disks/d3\",\r\n \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"eastus2\",\r\n @@ -1022,19 +1022,19 @@ interactions: \ \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \ \"diskSizeGB\": 10,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n - \ },\r\n \"timeCreated\": \"2019-11-21T05:44:08.2750613+00:00\",\r\n + \ },\r\n \"timeCreated\": \"2020-02-21T08:28:06.9824812+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"86045375-8b20-4cc0-b4ee-554d74a83658\"\r\n - \ }\r\n}\r\n },\r\n \"name\": \"02ebc0eb-f707-464b-b270-d68e574af3d4\"\r\n}" + \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"c694ecd2-c545-4565-a0b7-123da13b9eb7\"\r\n + \ }\r\n}\r\n },\r\n \"name\": \"977e6a92-83d4-45a6-9700-23bad8681205\"\r\n}" headers: cache-control: - no-cache content-length: - - '1083' + - '1084' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:10 GMT + - Fri, 21 Feb 2020 08:28:11 GMT expires: - '-1' pragma: @@ -1051,7 +1051,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49995,Microsoft.Compute/GetOperation30Min;399995 + - Microsoft.Compute/GetOperation3Min;49995,Microsoft.Compute/GetOperation30Min;399178 status: code: 200 message: OK @@ -1069,8 +1069,8 @@ interactions: ParameterSetName: - -g -n --size-gb User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/disks/d3?api-version=2019-07-01 response: @@ -1082,9 +1082,9 @@ interactions: \ \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \ \"diskSizeGB\": 10,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n - \ },\r\n \"timeCreated\": \"2019-11-21T05:44:08.2750613+00:00\",\r\n + \ },\r\n \"timeCreated\": \"2020-02-21T08:28:06.9824812+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"86045375-8b20-4cc0-b4ee-554d74a83658\"\r\n + \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"c694ecd2-c545-4565-a0b7-123da13b9eb7\"\r\n \ }\r\n}" headers: cache-control: @@ -1094,7 +1094,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:11 GMT + - Fri, 21 Feb 2020 08:28:12 GMT expires: - '-1' pragma: @@ -1111,7 +1111,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4994,Microsoft.Compute/LowCostGet30Min;39994 + - Microsoft.Compute/LowCostGet3Min;4993,Microsoft.Compute/LowCostGet30Min;39393 status: code: 200 message: OK @@ -1129,8 +1129,8 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: GET @@ -1147,7 +1147,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:12 GMT + - Fri, 21 Feb 2020 08:28:20 GMT expires: - '-1' pragma: @@ -1175,8 +1175,8 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: GET @@ -1190,9 +1190,9 @@ interactions: \ \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \ \"diskSizeGB\": 10,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n - \ },\r\n \"timeCreated\": \"2019-11-21T05:43:48.0710845+00:00\",\r\n + \ },\r\n \"timeCreated\": \"2020-02-21T08:27:22.4649442+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"c8c71afc-4103-45ed-9c8c-74fb03d6e13b\"\r\n + \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"21c611b9-1b7b-409e-8961-6416888b5a86\"\r\n \ }\r\n}" headers: cache-control: @@ -1202,7 +1202,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:13 GMT + - Fri, 21 Feb 2020 08:28:21 GMT expires: - '-1' pragma: @@ -1219,7 +1219,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4993,Microsoft.Compute/LowCostGet30Min;39993 + - Microsoft.Compute/LowCostGet3Min;4991,Microsoft.Compute/LowCostGet30Min;39391 status: code: 200 message: OK @@ -1237,15 +1237,15 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_gallery_specialized_000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001","name":"cli_test_gallery_specialized_000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2019-11-21T05:42:13Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001","name":"cli_test_gallery_specialized_000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2020-02-21T08:25:02Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1254,7 +1254,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:14 GMT + - Fri, 21 Feb 2020 08:28:27 GMT expires: - '-1' pragma: @@ -1288,8 +1288,8 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: PUT @@ -1300,12 +1300,12 @@ interactions: {\r\n \"name\": \"Standard_LRS\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"creationData\": {\r\n \"createOption\": \"Copy\",\r\n \ \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/disks/d1\",\r\n - \ \"sourceUniqueId\": \"c8c71afc-4103-45ed-9c8c-74fb03d6e13b\"\r\n },\r\n + \ \"sourceUniqueId\": \"21c611b9-1b7b-409e-8961-6416888b5a86\"\r\n },\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/eastus2/DiskOperations/4a801a7e-b66f-4f9d-b26f-07de55087fd7?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/bb40387b-25e4-47dd-81d3-e3fea34e43ea?api-version=2019-07-01 cache-control: - no-cache content-length: @@ -1313,11 +1313,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:19 GMT + - Fri, 21 Feb 2020 08:28:38 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/4a801a7e-b66f-4f9d-b26f-07de55087fd7?monitor=true&api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/bb40387b-25e4-47dd-81d3-e3fea34e43ea?monitor=true&api-version=2019-07-01 pragma: - no-cache server: @@ -1348,14 +1348,14 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/4a801a7e-b66f-4f9d-b26f-07de55087fd7?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/bb40387b-25e4-47dd-81d3-e3fea34e43ea?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2019-11-21T05:44:19.7599161+00:00\",\r\n \"endTime\": - \"2019-11-21T05:44:20.900594+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2020-02-21T08:28:38.8744749+00:00\",\r\n \"endTime\": + \"2020-02-21T08:28:40.3745645+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_gallery_specialized_000001/providers/Microsoft.Compute/snapshots/s1\",\r\n \ \"type\": \"Microsoft.Compute/snapshots\",\r\n \"location\": \"eastus2\",\r\n @@ -1363,21 +1363,21 @@ interactions: \"Standard\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \ \"creationData\": {\r\n \"createOption\": \"Copy\",\r\n \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/disks/d1\",\r\n - \ \"sourceUniqueId\": \"c8c71afc-4103-45ed-9c8c-74fb03d6e13b\"\r\n },\r\n + \ \"sourceUniqueId\": \"21c611b9-1b7b-409e-8961-6416888b5a86\"\r\n },\r\n \ \"diskSizeGB\": 10,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n - \ },\r\n \"incremental\": false,\r\n \"timeCreated\": \"2019-11-21T05:44:19.7599161+00:00\",\r\n + \ },\r\n \"incremental\": false,\r\n \"timeCreated\": \"2020-02-21T08:28:38.8744749+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"a781b246-559a-4f1d-bc3b-af36a31270e4\"\r\n - \ }\r\n}\r\n },\r\n \"name\": \"4a801a7e-b66f-4f9d-b26f-07de55087fd7\"\r\n}" + \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"accc44db-b9d3-4204-a088-2c2fd5e5341b\"\r\n + \ }\r\n}\r\n },\r\n \"name\": \"bb40387b-25e4-47dd-81d3-e3fea34e43ea\"\r\n}" headers: cache-control: - no-cache content-length: - - '1333' + - '1334' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:22 GMT + - Fri, 21 Feb 2020 08:28:42 GMT expires: - '-1' pragma: @@ -1394,7 +1394,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49993,Microsoft.Compute/GetOperation30Min;399993 + - Microsoft.Compute/GetOperation3Min;49993,Microsoft.Compute/GetOperation30Min;399176 status: code: 200 message: OK @@ -1412,8 +1412,8 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/snapshots/s1?api-version=2019-07-01 response: @@ -1424,11 +1424,11 @@ interactions: \"Standard\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \ \"creationData\": {\r\n \"createOption\": \"Copy\",\r\n \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/disks/d1\",\r\n - \ \"sourceUniqueId\": \"c8c71afc-4103-45ed-9c8c-74fb03d6e13b\"\r\n },\r\n + \ \"sourceUniqueId\": \"21c611b9-1b7b-409e-8961-6416888b5a86\"\r\n },\r\n \ \"diskSizeGB\": 10,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n - \ },\r\n \"incremental\": false,\r\n \"timeCreated\": \"2019-11-21T05:44:19.7599161+00:00\",\r\n + \ },\r\n \"incremental\": false,\r\n \"timeCreated\": \"2020-02-21T08:28:38.8744749+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"a781b246-559a-4f1d-bc3b-af36a31270e4\"\r\n + \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"accc44db-b9d3-4204-a088-2c2fd5e5341b\"\r\n \ }\r\n}" headers: cache-control: @@ -1438,7 +1438,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:23 GMT + - Fri, 21 Feb 2020 08:28:42 GMT expires: - '-1' pragma: @@ -1455,7 +1455,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4990,Microsoft.Compute/LowCostGet30Min;39990 + - Microsoft.Compute/LowCostGet3Min;4989,Microsoft.Compute/LowCostGet30Min;39389 status: code: 200 message: OK @@ -1473,8 +1473,8 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: GET @@ -1491,7 +1491,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:24 GMT + - Fri, 21 Feb 2020 08:28:46 GMT expires: - '-1' pragma: @@ -1519,8 +1519,8 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: GET @@ -1534,9 +1534,9 @@ interactions: \ \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \ \"diskSizeGB\": 10,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n - \ },\r\n \"timeCreated\": \"2019-11-21T05:43:58.2277757+00:00\",\r\n + \ },\r\n \"timeCreated\": \"2020-02-21T08:27:42.5908187+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"d760443b-bf33-4210-b4de-48986487768d\"\r\n + \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"7b26aa89-df20-4853-91a7-a905ca93f9de\"\r\n \ }\r\n}" headers: cache-control: @@ -1546,7 +1546,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:24 GMT + - Fri, 21 Feb 2020 08:28:47 GMT expires: - '-1' pragma: @@ -1563,7 +1563,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4989,Microsoft.Compute/LowCostGet30Min;39989 + - Microsoft.Compute/LowCostGet3Min;4987,Microsoft.Compute/LowCostGet30Min;39387 status: code: 200 message: OK @@ -1581,15 +1581,15 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_gallery_specialized_000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001","name":"cli_test_gallery_specialized_000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2019-11-21T05:42:13Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001","name":"cli_test_gallery_specialized_000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2020-02-21T08:25:02Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1598,7 +1598,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:24 GMT + - Fri, 21 Feb 2020 08:28:50 GMT expires: - '-1' pragma: @@ -1632,8 +1632,8 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: PUT @@ -1644,12 +1644,12 @@ interactions: {\r\n \"name\": \"Standard_LRS\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"creationData\": {\r\n \"createOption\": \"Copy\",\r\n \ \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/disks/d2\",\r\n - \ \"sourceUniqueId\": \"d760443b-bf33-4210-b4de-48986487768d\"\r\n },\r\n + \ \"sourceUniqueId\": \"7b26aa89-df20-4853-91a7-a905ca93f9de\"\r\n },\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/eastus2/DiskOperations/826d3b06-b1bc-4701-b265-d69d0406bf97?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/52de43c8-b5cd-49b2-8c03-916af81a5898?api-version=2019-07-01 cache-control: - no-cache content-length: @@ -1657,11 +1657,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:30 GMT + - Fri, 21 Feb 2020 08:29:03 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/826d3b06-b1bc-4701-b265-d69d0406bf97?monitor=true&api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/52de43c8-b5cd-49b2-8c03-916af81a5898?monitor=true&api-version=2019-07-01 pragma: - no-cache server: @@ -1692,36 +1692,25 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/826d3b06-b1bc-4701-b265-d69d0406bf97?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/52de43c8-b5cd-49b2-8c03-916af81a5898?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2019-11-21T05:44:30.9010323+00:00\",\r\n \"endTime\": - \"2019-11-21T05:44:31.4010534+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"s2\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/snapshots/s2\",\r\n - \ \"type\": \"Microsoft.Compute/snapshots\",\r\n \"location\": \"eastus2\",\r\n - \ \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_LRS\",\r\n \"tier\": - \"Standard\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n - \ \"creationData\": {\r\n \"createOption\": \"Copy\",\r\n \"sourceResourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/disks/d2\",\r\n - \ \"sourceUniqueId\": \"d760443b-bf33-4210-b4de-48986487768d\"\r\n },\r\n - \ \"diskSizeGB\": 10,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n - \ },\r\n \"incremental\": false,\r\n \"timeCreated\": \"2019-11-21T05:44:30.9166745+00:00\",\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"4130ab92-4d17-41e2-b9b9-3713d52f9449\"\r\n - \ }\r\n}\r\n },\r\n \"name\": \"826d3b06-b1bc-4701-b265-d69d0406bf97\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-21T08:29:02.9852311+00:00\",\r\n \"endTime\": + \"2020-02-21T08:29:03.5321036+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\"name\":\"s2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/snapshots/s2\",\"type\":\"Microsoft.Compute/snapshots\",\"location\":\"eastus2\",\"tags\":{},\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"properties\":{\"hyperVGeneration\":\"V1\",\"creationData\":{\"createOption\":\"Copy\",\"sourceResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/disks/d2\",\"sourceUniqueId\":\"7b26aa89-df20-4853-91a7-a905ca93f9de\"},\"diskSizeGB\":10,\"encryption\":{\"type\":\"EncryptionAtRestWithPlatformKey\"},\"incremental\":false,\"timeCreated\":\"2020-02-21T08:29:02.9852311+00:00\",\"provisioningState\":\"Succeeded\",\"diskState\":\"Unattached\",\"diskSizeBytes\":10737418240,\"uniqueId\":\"cc74f1d4-b403-4819-ae16-128b13f60caa\"}}\r\n + \ },\r\n \"name\": \"52de43c8-b5cd-49b2-8c03-916af81a5898\"\r\n}" headers: cache-control: - no-cache content-length: - - '1334' + - '1157' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:34 GMT + - Fri, 21 Feb 2020 08:29:09 GMT expires: - '-1' pragma: @@ -1738,7 +1727,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49991,Microsoft.Compute/GetOperation30Min;399991 + - Microsoft.Compute/GetOperation3Min;49990,Microsoft.Compute/GetOperation30Min;399173 status: code: 200 message: OK @@ -1756,8 +1745,8 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/snapshots/s2?api-version=2019-07-01 response: @@ -1768,11 +1757,11 @@ interactions: \"Standard\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \ \"creationData\": {\r\n \"createOption\": \"Copy\",\r\n \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/disks/d2\",\r\n - \ \"sourceUniqueId\": \"d760443b-bf33-4210-b4de-48986487768d\"\r\n },\r\n + \ \"sourceUniqueId\": \"7b26aa89-df20-4853-91a7-a905ca93f9de\"\r\n },\r\n \ \"diskSizeGB\": 10,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n - \ },\r\n \"incremental\": false,\r\n \"timeCreated\": \"2019-11-21T05:44:30.9166745+00:00\",\r\n + \ },\r\n \"incremental\": false,\r\n \"timeCreated\": \"2020-02-21T08:29:02.9852311+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"4130ab92-4d17-41e2-b9b9-3713d52f9449\"\r\n + \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"cc74f1d4-b403-4819-ae16-128b13f60caa\"\r\n \ }\r\n}" headers: cache-control: @@ -1782,7 +1771,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:34 GMT + - Fri, 21 Feb 2020 08:29:11 GMT expires: - '-1' pragma: @@ -1799,7 +1788,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4986,Microsoft.Compute/LowCostGet30Min;39986 + - Microsoft.Compute/LowCostGet3Min;4984,Microsoft.Compute/LowCostGet30Min;39384 status: code: 200 message: OK @@ -1817,8 +1806,8 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: GET @@ -1835,7 +1824,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:35 GMT + - Fri, 21 Feb 2020 08:29:14 GMT expires: - '-1' pragma: @@ -1863,8 +1852,8 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: GET @@ -1878,9 +1867,9 @@ interactions: \ \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \ \"diskSizeGB\": 10,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n - \ },\r\n \"timeCreated\": \"2019-11-21T05:44:08.2750613+00:00\",\r\n + \ },\r\n \"timeCreated\": \"2020-02-21T08:28:06.9824812+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"86045375-8b20-4cc0-b4ee-554d74a83658\"\r\n + \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"c694ecd2-c545-4565-a0b7-123da13b9eb7\"\r\n \ }\r\n}" headers: cache-control: @@ -1890,7 +1879,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:36 GMT + - Fri, 21 Feb 2020 08:29:17 GMT expires: - '-1' pragma: @@ -1907,7 +1896,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4984,Microsoft.Compute/LowCostGet30Min;39984 + - Microsoft.Compute/LowCostGet3Min;4982,Microsoft.Compute/LowCostGet30Min;39382 status: code: 200 message: OK @@ -1925,15 +1914,15 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_gallery_specialized_000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001","name":"cli_test_gallery_specialized_000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2019-11-21T05:42:13Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001","name":"cli_test_gallery_specialized_000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2020-02-21T08:25:02Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1942,7 +1931,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:37 GMT + - Fri, 21 Feb 2020 08:29:22 GMT expires: - '-1' pragma: @@ -1976,8 +1965,8 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: PUT @@ -1988,12 +1977,12 @@ interactions: {\r\n \"name\": \"Standard_LRS\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"creationData\": {\r\n \"createOption\": \"Copy\",\r\n \ \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/disks/d3\",\r\n - \ \"sourceUniqueId\": \"86045375-8b20-4cc0-b4ee-554d74a83658\"\r\n },\r\n + \ \"sourceUniqueId\": \"c694ecd2-c545-4565-a0b7-123da13b9eb7\"\r\n },\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/eastus2/DiskOperations/8e3aa517-8911-45b8-a1d8-152e69da14c6?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/06cb7fa3-8cfe-40af-ae34-ecb9c73af12b?api-version=2019-07-01 cache-control: - no-cache content-length: @@ -2001,11 +1990,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:42 GMT + - Fri, 21 Feb 2020 08:29:32 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/8e3aa517-8911-45b8-a1d8-152e69da14c6?monitor=true&api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/06cb7fa3-8cfe-40af-ae34-ecb9c73af12b?monitor=true&api-version=2019-07-01 pragma: - no-cache server: @@ -2018,7 +2007,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/HighCostSnapshotCreateHydrate3Min;237,Microsoft.Compute/HighCostSnapshotCreateHydrate30Min;1917 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -2036,35 +2025,36 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/8e3aa517-8911-45b8-a1d8-152e69da14c6?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/06cb7fa3-8cfe-40af-ae34-ecb9c73af12b?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2019-11-21T05:44:42.8234013+00:00\",\r\n \"endTime\": - \"2019-11-21T05:44:43.27654+00:00\",\r\n \"status\": \"Succeeded\",\r\n \"properties\": - {\r\n \"output\": {\r\n \"name\": \"s3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/snapshots/s3\",\r\n + string: "{\r\n \"startTime\": \"2020-02-21T08:29:32.7364634+00:00\",\r\n \"endTime\": + \"2020-02-21T08:29:33.267737+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"s3\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/snapshots/s3\",\r\n \ \"type\": \"Microsoft.Compute/snapshots\",\r\n \"location\": \"eastus2\",\r\n \ \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_LRS\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \ \"creationData\": {\r\n \"createOption\": \"Copy\",\r\n \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/disks/d3\",\r\n - \ \"sourceUniqueId\": \"86045375-8b20-4cc0-b4ee-554d74a83658\"\r\n },\r\n + \ \"sourceUniqueId\": \"c694ecd2-c545-4565-a0b7-123da13b9eb7\"\r\n },\r\n \ \"diskSizeGB\": 10,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n - \ },\r\n \"incremental\": false,\r\n \"timeCreated\": \"2019-11-21T05:44:42.8234013+00:00\",\r\n + \ },\r\n \"incremental\": false,\r\n \"timeCreated\": \"2020-02-21T08:29:32.7364634+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"d5c4c466-3b59-4553-9203-30fbdd3a978d\"\r\n - \ }\r\n}\r\n },\r\n \"name\": \"8e3aa517-8911-45b8-a1d8-152e69da14c6\"\r\n}" + \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"b23a15ac-c817-4274-909b-a2df2375eddc\"\r\n + \ }\r\n}\r\n },\r\n \"name\": \"06cb7fa3-8cfe-40af-ae34-ecb9c73af12b\"\r\n}" headers: cache-control: - no-cache content-length: - - '1332' + - '1333' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:44 GMT + - Fri, 21 Feb 2020 08:29:38 GMT expires: - '-1' pragma: @@ -2081,7 +2071,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49989,Microsoft.Compute/GetOperation30Min;399989 + - Microsoft.Compute/GetOperation3Min;49989,Microsoft.Compute/GetOperation30Min;399172 status: code: 200 message: OK @@ -2099,8 +2089,8 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/snapshots/s3?api-version=2019-07-01 response: @@ -2111,11 +2101,11 @@ interactions: \"Standard\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \ \"creationData\": {\r\n \"createOption\": \"Copy\",\r\n \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/disks/d3\",\r\n - \ \"sourceUniqueId\": \"86045375-8b20-4cc0-b4ee-554d74a83658\"\r\n },\r\n + \ \"sourceUniqueId\": \"c694ecd2-c545-4565-a0b7-123da13b9eb7\"\r\n },\r\n \ \"diskSizeGB\": 10,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n - \ },\r\n \"incremental\": false,\r\n \"timeCreated\": \"2019-11-21T05:44:42.8234013+00:00\",\r\n + \ },\r\n \"incremental\": false,\r\n \"timeCreated\": \"2020-02-21T08:29:32.7364634+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"d5c4c466-3b59-4553-9203-30fbdd3a978d\"\r\n + \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"b23a15ac-c817-4274-909b-a2df2375eddc\"\r\n \ }\r\n}" headers: cache-control: @@ -2125,7 +2115,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:45 GMT + - Fri, 21 Feb 2020 08:29:39 GMT expires: - '-1' pragma: @@ -2142,7 +2132,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4981,Microsoft.Compute/LowCostGet30Min;39981 + - Microsoft.Compute/LowCostGet3Min;4981,Microsoft.Compute/LowCostGet30Min;39381 status: code: 200 message: OK @@ -2159,17 +2149,17 @@ interactions: - keep-alive ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot - --data-snapshots + --data-snapshots --data-snapshot-luns User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_gallery_specialized_000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001","name":"cli_test_gallery_specialized_000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2019-11-21T05:42:13Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001","name":"cli_test_gallery_specialized_000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2020-02-21T08:25:02Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -2178,7 +2168,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:46 GMT + - Fri, 21 Feb 2020 08:29:45 GMT expires: - '-1' pragma: @@ -2197,8 +2187,8 @@ interactions: {"targetRegions": [{"name": "eastus2"}]}, "storageProfile": {"osDiskImage": {"source": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/snapshots/s1"}}, "dataDiskImages": [{"source": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/snapshots/s2"}, - "lun": 0}, {"source": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/snapshots/s3"}, - "lun": 1}]}}}''' + "lun": 2}, {"source": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/snapshots/s3"}, + "lun": 3}]}}}''' headers: Accept: - application/json @@ -2214,10 +2204,10 @@ interactions: - application/json; charset=utf-8 ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot - --data-snapshots + --data-snapshots --data-snapshot-luns User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: PUT @@ -2230,20 +2220,20 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"East US 2\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2019-11-21T05:44:52.3781977+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2020-02-21T08:29:52.0328629+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_gallery_specialized_000001/providers/Microsoft.Compute/snapshots/s1\"\r\n \ }\r\n },\r\n \"dataDiskImages\": [\r\n {\r\n \"lun\": - 0,\r\n \"hostCaching\": \"ReadOnly\",\r\n \"source\": {\r\n + 2,\r\n \"hostCaching\": \"ReadOnly\",\r\n \"source\": {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/snapshots/s2\"\r\n - \ }\r\n },\r\n {\r\n \"lun\": 1,\r\n \"hostCaching\": + \ }\r\n },\r\n {\r\n \"lun\": 3,\r\n \"hostCaching\": \"ReadOnly\",\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/snapshots/s3\"\r\n \ }\r\n }\r\n ]\r\n },\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/e48e8e40-dc40-4943-9f3f-bbae2dc2fc35?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/010cc106-ff2c-489d-8982-91221376124c?api-version=2019-07-01 cache-control: - no-cache content-length: @@ -2251,7 +2241,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:44:52 GMT + - Fri, 21 Feb 2020 08:29:53 GMT expires: - '-1' pragma: @@ -2264,7 +2254,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -2281,16 +2271,16 @@ interactions: - keep-alive ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot - --data-snapshots + --data-snapshots --data-snapshot-luns User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/e48e8e40-dc40-4943-9f3f-bbae2dc2fc35?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/010cc106-ff2c-489d-8982-91221376124c?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2019-11-21T05:44:52.3781977+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"e48e8e40-dc40-4943-9f3f-bbae2dc2fc35\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-21T08:29:52.0172342+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"010cc106-ff2c-489d-8982-91221376124c\"\r\n}" headers: cache-control: - no-cache @@ -2299,7 +2289,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:45:23 GMT + - Fri, 21 Feb 2020 08:30:26 GMT expires: - '-1' pragma: @@ -2331,16 +2321,16 @@ interactions: - keep-alive ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot - --data-snapshots + --data-snapshots --data-snapshot-luns User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/e48e8e40-dc40-4943-9f3f-bbae2dc2fc35?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/010cc106-ff2c-489d-8982-91221376124c?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2019-11-21T05:44:52.3781977+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"e48e8e40-dc40-4943-9f3f-bbae2dc2fc35\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-21T08:29:52.0172342+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"010cc106-ff2c-489d-8982-91221376124c\"\r\n}" headers: cache-control: - no-cache @@ -2349,7 +2339,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:45:54 GMT + - Fri, 21 Feb 2020 08:30:56 GMT expires: - '-1' pragma: @@ -2381,16 +2371,16 @@ interactions: - keep-alive ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot - --data-snapshots + --data-snapshots --data-snapshot-luns User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/e48e8e40-dc40-4943-9f3f-bbae2dc2fc35?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/010cc106-ff2c-489d-8982-91221376124c?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2019-11-21T05:44:52.3781977+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"e48e8e40-dc40-4943-9f3f-bbae2dc2fc35\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-21T08:29:52.0172342+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"010cc106-ff2c-489d-8982-91221376124c\"\r\n}" headers: cache-control: - no-cache @@ -2399,7 +2389,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:46:24 GMT + - Fri, 21 Feb 2020 08:31:28 GMT expires: - '-1' pragma: @@ -2431,16 +2421,16 @@ interactions: - keep-alive ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot - --data-snapshots + --data-snapshots --data-snapshot-luns User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/e48e8e40-dc40-4943-9f3f-bbae2dc2fc35?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/010cc106-ff2c-489d-8982-91221376124c?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2019-11-21T05:44:52.3781977+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"e48e8e40-dc40-4943-9f3f-bbae2dc2fc35\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-21T08:29:52.0172342+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"010cc106-ff2c-489d-8982-91221376124c\"\r\n}" headers: cache-control: - no-cache @@ -2449,7 +2439,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:46:55 GMT + - Fri, 21 Feb 2020 08:32:00 GMT expires: - '-1' pragma: @@ -2481,16 +2471,16 @@ interactions: - keep-alive ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot - --data-snapshots + --data-snapshots --data-snapshot-luns User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/e48e8e40-dc40-4943-9f3f-bbae2dc2fc35?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/010cc106-ff2c-489d-8982-91221376124c?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2019-11-21T05:44:52.3781977+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"e48e8e40-dc40-4943-9f3f-bbae2dc2fc35\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-21T08:29:52.0172342+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"010cc106-ff2c-489d-8982-91221376124c\"\r\n}" headers: cache-control: - no-cache @@ -2499,7 +2489,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:47:27 GMT + - Fri, 21 Feb 2020 08:32:31 GMT expires: - '-1' pragma: @@ -2531,16 +2521,16 @@ interactions: - keep-alive ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot - --data-snapshots + --data-snapshots --data-snapshot-luns User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/e48e8e40-dc40-4943-9f3f-bbae2dc2fc35?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/010cc106-ff2c-489d-8982-91221376124c?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2019-11-21T05:44:52.3781977+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"e48e8e40-dc40-4943-9f3f-bbae2dc2fc35\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-21T08:29:52.0172342+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"010cc106-ff2c-489d-8982-91221376124c\"\r\n}" headers: cache-control: - no-cache @@ -2549,7 +2539,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:47:57 GMT + - Fri, 21 Feb 2020 08:33:03 GMT expires: - '-1' pragma: @@ -2581,16 +2571,16 @@ interactions: - keep-alive ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot - --data-snapshots + --data-snapshots --data-snapshot-luns User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/e48e8e40-dc40-4943-9f3f-bbae2dc2fc35?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/010cc106-ff2c-489d-8982-91221376124c?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2019-11-21T05:44:52.3781977+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"e48e8e40-dc40-4943-9f3f-bbae2dc2fc35\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-21T08:29:52.0172342+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"010cc106-ff2c-489d-8982-91221376124c\"\r\n}" headers: cache-control: - no-cache @@ -2599,7 +2589,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:48:28 GMT + - Fri, 21 Feb 2020 08:33:34 GMT expires: - '-1' pragma: @@ -2631,16 +2621,16 @@ interactions: - keep-alive ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot - --data-snapshots + --data-snapshots --data-snapshot-luns User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/e48e8e40-dc40-4943-9f3f-bbae2dc2fc35?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/010cc106-ff2c-489d-8982-91221376124c?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2019-11-21T05:44:52.3781977+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"e48e8e40-dc40-4943-9f3f-bbae2dc2fc35\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-21T08:29:52.0172342+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"010cc106-ff2c-489d-8982-91221376124c\"\r\n}" headers: cache-control: - no-cache @@ -2649,7 +2639,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:48:58 GMT + - Fri, 21 Feb 2020 08:34:05 GMT expires: - '-1' pragma: @@ -2681,16 +2671,16 @@ interactions: - keep-alive ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot - --data-snapshots + --data-snapshots --data-snapshot-luns User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/e48e8e40-dc40-4943-9f3f-bbae2dc2fc35?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/010cc106-ff2c-489d-8982-91221376124c?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2019-11-21T05:44:52.3781977+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"e48e8e40-dc40-4943-9f3f-bbae2dc2fc35\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-21T08:29:52.0172342+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"010cc106-ff2c-489d-8982-91221376124c\"\r\n}" headers: cache-control: - no-cache @@ -2699,7 +2689,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:49:28 GMT + - Fri, 21 Feb 2020 08:34:36 GMT expires: - '-1' pragma: @@ -2731,126 +2721,26 @@ interactions: - keep-alive ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot - --data-snapshots + --data-snapshots --data-snapshot-luns User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/e48e8e40-dc40-4943-9f3f-bbae2dc2fc35?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/010cc106-ff2c-489d-8982-91221376124c?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2019-11-21T05:44:52.3781977+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"e48e8e40-dc40-4943-9f3f-bbae2dc2fc35\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-21T08:29:52.0172342+00:00\",\r\n \"endTime\": + \"2020-02-21T08:35:07.372987+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"010cc106-ff2c-489d-8982-91221376124c\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 21 Nov 2019 05:49:59 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - sig image-version create - Connection: - - keep-alive - ParameterSetName: - - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot - --data-snapshots - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/e48e8e40-dc40-4943-9f3f-bbae2dc2fc35?api-version=2019-07-01 - response: - body: - string: "{\r\n \"startTime\": \"2019-11-21T05:44:52.3781977+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"e48e8e40-dc40-4943-9f3f-bbae2dc2fc35\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 21 Nov 2019 05:50:30 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - sig image-version create - Connection: - - keep-alive - ParameterSetName: - - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot - --data-snapshots - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/e48e8e40-dc40-4943-9f3f-bbae2dc2fc35?api-version=2019-07-01 - response: - body: - string: "{\r\n \"startTime\": \"2019-11-21T05:44:52.3781977+00:00\",\r\n \"endTime\": - \"2019-11-21T05:50:52.9257899+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"e48e8e40-dc40-4943-9f3f-bbae2dc2fc35\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '184' + - '183' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:51:00 GMT + - Fri, 21 Feb 2020 08:35:07 GMT expires: - '-1' pragma: @@ -2882,10 +2772,10 @@ interactions: - keep-alive ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --os-snapshot - --data-snapshots + --data-snapshots --data-snapshot-luns User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/galleries/gallery1/images/image1/versions/1.0.0?api-version=2019-07-01 response: @@ -2896,14 +2786,14 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"East US 2\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2019-11-21T05:44:52.3781977+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2020-02-21T08:29:52.0328629+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 10,\r\n \"hostCaching\": \"ReadWrite\",\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/snapshots/s1\"\r\n \ }\r\n },\r\n \"dataDiskImages\": [\r\n {\r\n \"lun\": - 0,\r\n \"sizeInGB\": 10,\r\n \"hostCaching\": \"ReadOnly\",\r\n + 2,\r\n \"sizeInGB\": 10,\r\n \"hostCaching\": \"ReadOnly\",\r\n \ \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/snapshots/s2\"\r\n - \ }\r\n },\r\n {\r\n \"lun\": 1,\r\n \"sizeInGB\": + \ }\r\n },\r\n {\r\n \"lun\": 3,\r\n \"sizeInGB\": 10,\r\n \"hostCaching\": \"ReadOnly\",\r\n \"source\": {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/snapshots/s3\"\r\n \ }\r\n }\r\n ]\r\n },\r\n \"provisioningState\": @@ -2916,7 +2806,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Nov 2019 05:51:01 GMT + - Fri, 21 Feb 2020 08:35:07 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 3e2e3a25c4d..1b5a2806ee5 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 @@ -3427,11 +3427,13 @@ def test_gallery_specialized(self, resource_group): s1_id = self.cmd('snapshot create -g {rg} -n s1 --source d1').get_output_in_json()['id'] s2_id = self.cmd('snapshot create -g {rg} -n s2 --source d2').get_output_in_json()['id'] s3_id = self.cmd('snapshot create -g {rg} -n s3 --source d3').get_output_in_json()['id'] - self.cmd('sig image-version create -g {rg} --gallery-name {gallery} --gallery-image-definition {image} --gallery-image-version 1.0.0 --os-snapshot s1 --data-snapshots s2 s3', + self.cmd('sig image-version create -g {rg} --gallery-name {gallery} --gallery-image-definition {image} --gallery-image-version 1.0.0 --os-snapshot s1 --data-snapshots s2 s3 --data-snapshot-luns 2 3', checks=[ self.check('storageProfile.osDiskImage.source.id', s1_id), self.check('storageProfile.dataDiskImages[0].source.id', s2_id), self.check('storageProfile.dataDiskImages[1].source.id', s3_id), + self.check('storageProfile.dataDiskImages[0].lun', 2), + self.check('storageProfile.dataDiskImages[1].lun', 3) ]) # endregion From 237e88eae2ec3fcfba1dd10792e2fc51b15d47a2 Mon Sep 17 00:00:00 2001 From: Feiyue Yu Date: Mon, 24 Feb 2020 20:54:16 +0800 Subject: [PATCH 2/2] Update help --- src/azure-cli/azure/cli/command_modules/vm/_params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/azure-cli/azure/cli/command_modules/vm/_params.py b/src/azure-cli/azure/cli/command_modules/vm/_params.py index 9cefd678926..d3e8e154d3e 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_params.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_params.py @@ -816,7 +816,7 @@ def load_arguments(self, _): c.argument('managed_image', help='image name(if in the same resource group) or resource id') c.argument('os_snapshot', help='Name or ID of OS disk snapshot') c.argument('data_snapshots', nargs='+', help='Names or IDs (space-delimited) of data disk snapshots') - c.argument('data_snapshot_luns', nargs='+', help='LUNs (space-delimited) of data disk snapshots') + c.argument('data_snapshot_luns', nargs='+', help='Logical unit numbers (space-delimited) of data disk snapshots') c.argument('exclude_from_latest', arg_type=get_three_state_flag(), help='The flag means that if it is set to true, people deploying VMs with version omitted will not use this version.') c.argument('version', help='image version') c.argument('end_of_life_date', help="the end of life date, e.g. '2020-12-31'")