From 36ff446010603958fb08914c3083edba23217dba Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Tue, 7 Jun 2022 15:47:42 +0800 Subject: [PATCH 1/5] finish function and test, but sdk is private version and some details need to be checked --- .../azure/cli/core/profiles/_shared.py | 2 +- .../azure/cli/command_modules/vm/_help.py | 10 +- .../cli/command_modules/vm/_image_builder.py | 10 + .../azure/cli/command_modules/vm/_params.py | 3 +- .../cli/command_modules/vm/_validators.py | 29 + .../azure/cli/command_modules/vm/_vm_utils.py | 12 + .../azure/cli/command_modules/vm/custom.py | 5 +- ..._disk_from_diff_gallery_image_version.yaml | 4211 +++++++++++++++++ .../vm/tests/latest/test_vm_commands.py | 96 + 9 files changed, 4372 insertions(+), 6 deletions(-) create mode 100644 src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_disk_from_diff_gallery_image_version.yaml diff --git a/src/azure-cli-core/azure/cli/core/profiles/_shared.py b/src/azure-cli-core/azure/cli/core/profiles/_shared.py index b7a2336ecd5..4862e9ebd4f 100644 --- a/src/azure-cli-core/azure/cli/core/profiles/_shared.py +++ b/src/azure-cli-core/azure/cli/core/profiles/_shared.py @@ -150,7 +150,7 @@ def default_api_version(self): ResourceType.MGMT_NETWORK: '2021-08-01', ResourceType.MGMT_COMPUTE: SDKProfile('2022-03-01', { 'resource_skus': '2019-04-01', - 'disks': '2021-12-01', + 'disks': '2022-03-02', 'disk_encryption_sets': '2020-12-01', 'disk_accesses': '2020-05-01', 'snapshots': '2021-12-01', diff --git a/src/azure-cli/azure/cli/command_modules/vm/_help.py b/src/azure-cli/azure/cli/command_modules/vm/_help.py index 612142eefb4..828db9099d9 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_help.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_help.py @@ -56,12 +56,18 @@ - name: Create a disk from image. text: > az disk create -g MyResourceGroup -n MyDisk --image-reference Canonical:UbuntuServer:18.04-LTS:18.04.202002180 - - name: Create a disk from the OS Disk of a gallery image version + - name: Create a disk from the OS Disk of a compute gallery image version text: > az disk create -g MyResourceGroup -n MyDisk --gallery-image-reference /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Compute/galleries/myGallery/images/myImage/versions/1.0.0 - - name: Create a disk from the OS Disk of the latest version in a gallery image + - name: Create a disk from the OS Disk of the latest version in a compute gallery image text: > az disk create -g MyResourceGroup -n MyDisk --gallery-image-reference /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Compute/galleries/myGallery/images/myImage + - name: Create a disk from the OS Disk of a shared gallery image version + text: > + az disk create -g MyResourceGroup -n MyDisk --gallery-image-reference /SharedGalleries/sharedGalleryUniqueName/Images/imageName/Versions/1.0.0 + - name: Create a disk from the OS Disk of a community gallery image version + text: > + az disk create -g MyResourceGroup -n MyDisk --gallery-image-reference /CommunityGalleries/communityGalleryPublicGalleryName/Images/imageName/Versions/1.0.0 - name: Create a disk from the Data Disk of a gallery image text: > az disk create -g MyResourceGroup -n MyDisk --gallery-image-reference /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Compute/galleries/myGallery/images/myImage/versions/1.0.0 --gallery-image-reference-lun 0 diff --git a/src/azure-cli/azure/cli/command_modules/vm/_image_builder.py b/src/azure-cli/azure/cli/command_modules/vm/_image_builder.py index 085abb5c482..211d9fc0d8e 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_image_builder.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_image_builder.py @@ -56,6 +56,16 @@ class ScriptType(Enum): FILE = "file" +class GalleryImageReferenceType(Enum): + COMPUTE = (0, 'id') + COMMUNITY = (1, 'communityGalleryImageId') + SHARED = (2, 'sharedGalleryImageId') + + def __init__(self, index, backend_parameter): + self.index = index + self.backend_parameter = backend_parameter + + # region Client Factories def image_builder_client_factory(cli_ctx, _): 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 3892324c0a4..34078e8af76 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_params.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_params.py @@ -181,7 +181,8 @@ def load_arguments(self, _): c.argument('disk_mbps_read_only', type=int, help='The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10') c.argument('image_reference', help='ID or URN (publisher:offer:sku:version) of the image from which to create a disk') c.argument('image_reference_lun', type=int, help='If the disk is created from an image\'s data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null') - c.argument('gallery_image_reference', help='ID of the Compute Gallery image version from which to create a disk') + c.argument('gallery_image_reference', help='ID of the Compute\Shared\Community Gallery image version from which to create a disk') + c.ignore('gallery_image_reference_backend') c.argument('gallery_image_reference_lun', type=int, help='If the disk is created from an image\'s data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null') c.argument('logical_sector_size', type=int, help='Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.') c.argument('tier', help='Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/pricing/details/managed-disks/. Does not apply to Ultra disks.') diff --git a/src/azure-cli/azure/cli/command_modules/vm/_validators.py b/src/azure-cli/azure/cli/command_modules/vm/_validators.py index ada0738516a..4dfe0b336ad 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_validators.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_validators.py @@ -1713,10 +1713,39 @@ def validate_vmss_disk(cmd, namespace): raise CLIError('usage error: --disk EXIST_DISK --instance-id ID') +def _validate_gallery_image_reference(cmd, namespace): + from azure.cli.core.profiles import ResourceType + is_validate = 'gallery_image_reference' in namespace and namespace.gallery_image_reference is not None \ + and cmd.supported_api_version(resource_type=ResourceType.MGMT_COMPUTE, + operation_group='disks', min_api='2022-03-02') + if not is_validate: + return + + from azure.cli.command_modules.vm._image_builder import GalleryImageReferenceType + from ._vm_utils import is_compute_gallery_image_id, is_community_gallery_image_id, \ + is_shared_gallery_image_id + + gallery_image_reference = namespace.gallery_image_reference + if is_compute_gallery_image_id(gallery_image_reference): + namespace.gallery_image_reference_backend = GalleryImageReferenceType.COMPUTE.backend_parameter + return + if is_community_gallery_image_id(gallery_image_reference): + namespace.gallery_image_reference_backend = GalleryImageReferenceType.COMMUNITY.backend_parameter + return + if is_shared_gallery_image_id(gallery_image_reference): + namespace.gallery_image_reference_backend = GalleryImageReferenceType.SHARED.backend_parameter + return + + from azure.cli.core.parser import InvalidArgumentValueError + raise InvalidArgumentValueError('usage error: {} is an invalid gallery image reference, please provide valid ' + 'compute\shared\community gallery image version'.format(gallery_image_reference)) + + def process_disk_or_snapshot_create_namespace(cmd, namespace): from azure.core.exceptions import HttpResponseError validate_tags(namespace) validate_edge_zone(cmd, namespace) + _validate_gallery_image_reference(cmd, namespace) if namespace.source: usage_error = 'usage error: --source {SNAPSHOT | DISK} | --source VHD_BLOB_URI [--source-storage-account-id ID]' try: diff --git a/src/azure-cli/azure/cli/command_modules/vm/_vm_utils.py b/src/azure-cli/azure/cli/command_modules/vm/_vm_utils.py index 42f03ba1030..e1f4277b31f 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_vm_utils.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_vm_utils.py @@ -419,6 +419,18 @@ def parse_shared_gallery_image_id(image_reference): return image_info.group(1), image_info.group(2) +def is_compute_gallery_image_id(image_reference): + if not image_reference: + return False + + compute_gallery_id_pattern = re.compile(r'^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.Compute/' + r'galleries/[^/]*/images/.*$', re.IGNORECASE) + if compute_gallery_id_pattern.match(image_reference): + return True + + return False + + def is_community_gallery_image_id(image_reference): if not image_reference: return False 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 7c85b4e5806..0072e025456 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/custom.py +++ b/src/azure-cli/azure/cli/command_modules/vm/custom.py @@ -297,7 +297,7 @@ def create_managed_disk(cmd, resource_group_name, disk_name, location=None, # p network_access_policy=None, disk_access=None, logical_sector_size=None, tier=None, enable_bursting=None, edge_zone=None, security_type=None, support_hibernation=None, public_network_access=None, accelerated_network=None, architecture=None, - data_access_auth_mode=None): + data_access_auth_mode=None, gallery_image_reference_backend=None): from msrestazure.tools import resource_id, is_valid_resource_id from azure.cli.core.commands.client_factory import get_subscription_id @@ -347,7 +347,8 @@ def create_managed_disk(cmd, resource_group_name, disk_name, location=None, # p image_reference['lun'] = image_reference_lun if gallery_image_reference is not None: - gallery_image_reference = {'id': gallery_image_reference} + key = gallery_image_reference_backend if gallery_image_reference_backend else 'id' + gallery_image_reference = {key: gallery_image_reference} if gallery_image_reference_lun is not None: gallery_image_reference['lun'] = gallery_image_reference_lun diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_disk_from_diff_gallery_image_version.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_disk_from_diff_gallery_image_version.yaml new file mode 100644 index 00000000000..a817deedbd3 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_disk_from_diff_gallery_image_version.yaml @@ -0,0 +1,4211 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T03:47:29Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '396' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:47:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.27.1 + method: GET + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + response: + body: + string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n + \ \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\": + {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"type\": + \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": + {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n + \ \"sku\": \"7.5\",\n \"version\": \"latest\"\n },\n + \ \"Debian\": {\n \"publisher\": \"Debian\",\n \"offer\": + \"debian-10\",\n \"sku\": \"10\",\n \"version\": \"latest\"\n + \ },\n \"Flatcar\": {\n \"publisher\": \"kinvolk\",\n + \ \"offer\": \"flatcar-container-linux-free\",\n \"sku\": + \"stable\",\n \"version\": \"latest\"\n },\n \"openSUSE-Leap\": + {\n \"publisher\": \"SUSE\",\n \"offer\": \"opensuse-leap-15-3\",\n + \ \"sku\": \"gen2\",\n \"version\": \"latest\"\n },\n + \ \"RHEL\": {\n \"publisher\": \"RedHat\",\n \"offer\": + \"RHEL\",\n \"sku\": \"7-LVM\",\n \"version\": \"latest\"\n + \ },\n \"SLES\": {\n \"publisher\": \"SUSE\",\n + \ \"offer\": \"sles-15-sp3\",\n \"sku\": \"gen2\",\n + \ \"version\": \"latest\"\n },\n \"UbuntuLTS\": + {\n \"publisher\": \"Canonical\",\n \"offer\": \"UbuntuServer\",\n + \ \"sku\": \"18.04-LTS\",\n \"version\": \"latest\"\n + \ }\n },\n \"Windows\": {\n \"Win2022Datacenter\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2022-Datacenter\",\n \"version\": + \"latest\"\n },\n \"Win2022AzureEditionCore\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2022-datacenter-azure-edition-core\",\n \"version\": \"latest\"\n + \ },\n \"Win2019Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2019-Datacenter\",\n \"version\": \"latest\"\n },\n + \ \"Win2016Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2016-Datacenter\",\n + \ \"version\": \"latest\"\n },\n \"Win2012R2Datacenter\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2012-R2-Datacenter\",\n \"version\": + \"latest\"\n },\n \"Win2012Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2012-Datacenter\",\n \"version\": \"latest\"\n },\n + \ \"Win2008R2SP1\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2008-R2-SP1\",\n + \ \"version\": \"latest\"\n }\n }\n }\n }\n + \ }\n}\n" + headers: + accept-ranges: + - bytes + access-control-allow-origin: + - '*' + cache-control: + - max-age=300 + connection: + - keep-alive + content-length: + - '2974' + content-security-policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + content-type: + - text/plain; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:47:35 GMT + etag: + - W/"714b55b3e325c9c936add41807880935e033af5676c36a1ed8ab2e1e476a45f2" + expires: + - Tue, 07 Jun 2022 03:52:35 GMT + source-age: + - '187' + strict-transport-security: + - max-age=31536000 + vary: + - Authorization,Accept-Encoding,Origin + via: + - 1.1 varnish + x-cache: + - HIT + x-cache-hits: + - '1' + x-content-type-options: + - nosniff + x-fastly-request-id: + - 336f2cd3fa391f40dc19839d47da6bc9014b1b77 + x-frame-options: + - deny + x-github-request-id: + - 5830:11C9:2644C1:3C0570:629EBC6F + x-served-by: + - cache-qpg1243-QPG + x-timer: + - S1654573655.374314,VS0,VE1 + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-03-01 + response: + body: + string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202205270\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202205270\"\r\n + \ }\r\n]" + headers: + cache-control: + - no-cache + content-length: + - '286' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:47:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43999 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202205270?api-version=2022-03-01 + response: + body: + string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": + \"x64\",\r\n \"replicaType\": \"Unmanaged\",\r\n \"disallowed\": {\r\n + \ \"vmDiskType\": \"None\"\r\n },\r\n \"automaticOSUpgradeProperties\": + {\r\n \"automaticOSUpgradeSupported\": true\r\n },\r\n \"imageDeprecationStatus\": + {\r\n \"imageState\": \"Active\"\r\n },\r\n \"features\": [\r\n + \ {\r\n \"name\": \"IsAcceleratedNetworkSupported\",\r\n \"value\": + \"True\"\r\n },\r\n {\r\n \"name\": \"DiskControllerTypes\",\r\n + \ \"value\": \"SCSI\"\r\n },\r\n {\r\n \"name\": \"IsHibernateSupported\",\r\n + \ \"value\": \"False\"\r\n }\r\n ],\r\n \"osDiskImage\": + {\r\n \"operatingSystem\": \"Linux\",\r\n \"sizeInGb\": 31,\r\n + \ \"sizeInBytes\": 32213303808\r\n },\r\n \"dataDiskImages\": []\r\n + \ },\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202205270\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202205270\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1043' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:47:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73999 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:47:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {}, "variables": {}, "resources": + [{"name": "vm1VNET", "type": "Microsoft.Network/virtualNetworks", "location": + "westus", "apiVersion": "2015-06-15", "dependsOn": [], "tags": {}, "properties": + {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "subnets": [{"name": + "vm1Subnet", "properties": {"addressPrefix": "10.0.0.0/24"}}]}}, {"type": "Microsoft.Network/networkSecurityGroups", + "name": "vm1NSG", "apiVersion": "2015-06-15", "location": "westus", "tags": + {}, "dependsOn": []}, {"apiVersion": "2018-01-01", "type": "Microsoft.Network/publicIPAddresses", + "name": "vm1PublicIP", "location": "westus", "tags": {}, "dependsOn": [], "properties": + {"publicIPAllocationMethod": null}}, {"apiVersion": "2015-06-15", "type": "Microsoft.Network/networkInterfaces", + "name": "vm1VMNic", "location": "westus", "tags": {}, "dependsOn": ["Microsoft.Network/virtualNetworks/vm1VNET", + "Microsoft.Network/networkSecurityGroups/vm1NSG", "Microsoft.Network/publicIpAddresses/vm1PublicIP"], + "properties": {"ipConfigurations": [{"name": "ipconfigvm1", "properties": {"privateIPAllocationMethod": + "Dynamic", "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet"}, + "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"}}}], + "networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"}}}, + {"apiVersion": "2022-03-01", "type": "Microsoft.Compute/virtualMachines", "name": + "vm1", "location": "westus", "tags": {}, "dependsOn": ["Microsoft.Network/networkInterfaces/vm1VMNic"], + "properties": {"hardwareProfile": {"vmSize": "Standard_DS1_v2"}, "networkProfile": + {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic", + "properties": {"deleteOption": null}}]}, "storageProfile": {"osDisk": {"createOption": + "fromImage", "name": null, "caching": "ReadWrite", "managedDisk": {"storageAccountType": + null}}, "imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", + "sku": "18.04-LTS", "version": "latest"}, "dataDisks": [{"lun": 0, "managedDisk": + {"storageAccountType": null}, "createOption": "empty", "diskSizeGB": 10}]}, + "osProfile": {"computerName": "vm1", "adminUsername": "clitest1", "linuxConfiguration": + {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAABgQDg4qZ5NLtcJdQtFC6W0Q2J64NudXnUpyFOYJjJwU2pQHBoFCGyJ/t87VsXGWa1eAixenDCXhTdjMAQQh+S5STnywT+KfXfTVEp1dpjbPWulANTuSPYtBqQxjcXBPlUNK4VXZR1jPAQtM2+ux6LfGPF8dWXXGf/1rFw2lPT9brNlt2ATSRamKX4MBVeP1oMTa5FB1AQNa4F01JsX88ppRGNc7Bz66yV/YqgjK3gh4pVK7ETu0LXRbEzTJAmH3+TJ26Kld7Pl/fOvbDQESxOzgcbnvgUfIKo3Ye41+bV/Z+bO4YhjVY7WRkHhkYhf/lOOqYSUea4S7WQFjbLY75xbXm64WCNAEQjoKIfppx2xIudgzkwBpqCmyEtR532wTRsczczxyNlk6sn9AKw0zfd6n4W0kh9rvOZbcdaheKcDaw748E3G4NhDVoEoaZKnx/B75QVMAKQDbWzhEtpe8IiZm4RVEPysFrJmaD5KFiSgJT9MW79l7XrDQkbokD5NyxQM5U= + zhuyan@microsoft.com\n", "path": "/home/clitest1/.ssh/authorized_keys"}]}}}}}], + "outputs": {}}, "parameters": {}, "mode": "incremental"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '3664' + Content-Type: + - application/json + ParameterSetName: + - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/vm_deploy_rq0kZ1TCjWLCPk1EH2pz0KZXPgiS0jA7","name":"vm_deploy_rq0kZ1TCjWLCPk1EH2pz0KZXPgiS0jA7","type":"Microsoft.Resources/deployments","properties":{"templateHash":"2568840760450979906","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-06-07T03:47:50.0944604Z","duration":"PT0.0001718S","correlationId":"2f7f976f-eb26-4303-a865-d9e3a7ffc185","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/vm_deploy_rq0kZ1TCjWLCPk1EH2pz0KZXPgiS0jA7/operationStatuses/08585470332189849524?api-version=2021-04-01 + cache-control: + - no-cache + content-length: + - '2630' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:47:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1195' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585470332189849524?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:48:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585470332189849524?api-version=2021-04-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:48:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/vm_deploy_rq0kZ1TCjWLCPk1EH2pz0KZXPgiS0jA7","name":"vm_deploy_rq0kZ1TCjWLCPk1EH2pz0KZXPgiS0jA7","type":"Microsoft.Resources/deployments","properties":{"templateHash":"2568840760450979906","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-06-07T03:48:24.9610387Z","duration":"PT34.8667501S","correlationId":"2f7f976f-eb26-4303-a865-d9e3a7ffc185","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '3615' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:48:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1?$expand=instanceView&api-version=2022-03-01 + response: + body: + string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"ed271bd8-bb6c-4b8c-9ee5-f07bd4040849\",\r\n + \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n + \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": + \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": + \"18.04-LTS\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": + \"18.04.202205270\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": + \"Linux\",\r\n \"name\": \"vm1_disk1_ad30e2e606f64956b9f803531cc62be9\",\r\n + \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n + \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/vm1_disk1_ad30e2e606f64956b9f803531cc62be9\"\r\n + \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": + 30\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": + 0,\r\n \"name\": \"vm1_disk2_76b0ce4572fe4a1d829ec99b8169ac2d\",\r\n + \ \"createOption\": \"Empty\",\r\n \"caching\": \"None\",\r\n + \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/vm1_disk2_76b0ce4572fe4a1d829ec99b8169ac2d\"\r\n + \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": + 10,\r\n \"toBeDetached\": false\r\n }\r\n ]\r\n },\r\n + \ \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n \"adminUsername\": + \"clitest1\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": + true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n + \ \"path\": \"/home/clitest1/.ssh/authorized_keys\",\r\n \"keyData\": + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDg4qZ5NLtcJdQtFC6W0Q2J64NudXnUpyFOYJjJwU2pQHBoFCGyJ/t87VsXGWa1eAixenDCXhTdjMAQQh+S5STnywT+KfXfTVEp1dpjbPWulANTuSPYtBqQxjcXBPlUNK4VXZR1jPAQtM2+ux6LfGPF8dWXXGf/1rFw2lPT9brNlt2ATSRamKX4MBVeP1oMTa5FB1AQNa4F01JsX88ppRGNc7Bz66yV/YqgjK3gh4pVK7ETu0LXRbEzTJAmH3+TJ26Kld7Pl/fOvbDQESxOzgcbnvgUfIKo3Ye41+bV/Z+bO4YhjVY7WRkHhkYhf/lOOqYSUea4S7WQFjbLY75xbXm64WCNAEQjoKIfppx2xIudgzkwBpqCmyEtR532wTRsczczxyNlk6sn9AKw0zfd6n4W0kh9rvOZbcdaheKcDaw748E3G4NhDVoEoaZKnx/B75QVMAKQDbWzhEtpe8IiZm4RVEPysFrJmaD5KFiSgJT9MW79l7XrDQkbokD5NyxQM5U= + zhuyan@microsoft.com\\n\"\r\n }\r\n ]\r\n },\r\n + \ \"provisionVMAgent\": true,\r\n \"patchSettings\": {\r\n \"patchMode\": + \"ImageDefault\",\r\n \"assessmentMode\": \"ImageDefault\"\r\n },\r\n + \ \"enableVMAgentPlatformUpdates\": false\r\n },\r\n \"secrets\": + [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": + true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"}]},\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": + \"vm1\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": \"18.04\",\r\n + \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.8.0.6\",\r\n \"statuses\": + [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n + \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n + \ \"message\": \"Guest Agent is running\",\r\n \"time\": + \"2022-06-07T03:48:34+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_ad30e2e606f64956b9f803531cc62be9\",\r\n + \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n + \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning + succeeded\",\r\n \"time\": \"2022-06-07T03:48:10.8050823+00:00\"\r\n + \ }\r\n ]\r\n },\r\n {\r\n \"name\": + \"vm1_disk2_76b0ce4572fe4a1d829ec99b8169ac2d\",\r\n \"statuses\": + [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n + \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning + succeeded\",\r\n \"time\": \"2022-06-07T03:48:10.8050823+00:00\"\r\n + \ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\": + \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n + \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning + succeeded\",\r\n \"time\": \"2022-06-07T03:48:20.2113239+00:00\"\r\n + \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n + \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n + \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2022-06-07T03:48:08.9456966+00:00\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '5110' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:48:54 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/LowCostGet3Min;3995,Microsoft.Compute/LowCostGet30Min;31979 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic?api-version=2018-01-01 + response: + body: + string: "{\r\n \"name\": \"vm1VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\",\r\n + \ \"etag\": \"W/\\\"f7d552c7-45f3-4f46-b0d5-e393b61d7e62\\\"\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"resourceGuid\": \"7bb47ee2-cb34-49ea-9118-fd14c9813e97\",\r\n + \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\",\r\n + \ \"etag\": \"W/\\\"f7d552c7-45f3-4f46-b0d5-e393b61d7e62\\\"\",\r\n + \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet\"\r\n + \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": + \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": + [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": + \"jsl04jv0mmgubebcjm4pht0s4b.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-22-48-0C-11-E3\",\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG\"\r\n + \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2429' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:48:55 GMT + etag: + - W/"f7d552c7-45f3-4f46-b0d5-e393b61d7e62" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - bca74453-6c56-405b-956a-8e5ad911768a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP?api-version=2018-01-01 + response: + body: + string: "{\r\n \"name\": \"vm1PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\",\r\n + \ \"etag\": \"W/\\\"5e4d786d-59b0-4a35-b486-c979a156b777\\\"\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"resourceGuid\": \"4c843adc-f68f-4c76-ba6d-df2887e29295\",\r\n + \ \"ipAddress\": \"20.245.169.148\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '966' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:48:55 GMT + etag: + - W/"5e4d786d-59b0-4a35-b486-c979a156b777" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 0e767cc9-bc02-4a40-8caf-13b0fb5e1ea1 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --permissions --publisher-uri --publisher-email --eula --public-name-prefix + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T03:47:29Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '396' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:50:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "tags": {}, "properties": {"sharingProfile": {"permissions": + "Community", "communityGalleryInfo": {"publisherUri": "publisher1", "publisherContact": + "test@microsoft.com", "eula": "eula1", "publicNamePrefix": "name1"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig create + Connection: + - keep-alive + Content-Length: + - '242' + Content-Type: + - application/json + ParameterSetName: + - -g --gallery-name --permissions --publisher-uri --publisher-email --eula --public-name-prefix + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-compute/1.0.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002?api-version=2021-07-01 + response: + body: + string: "{\r\n \"name\": \"gallery1000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002\",\r\n + \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1BZS7G3FL\"\r\n },\r\n \"sharingProfile\": + {\r\n \"permissions\": \"Community\",\r\n \"communityGalleryInfo\": + {\r\n \"communityGalleryEnabled\": false,\r\n \"publisherUri\": + \"publisher1\",\r\n \"publisherContact\": \"test@microsoft.com\",\r\n + \ \"eula\": \"eula1\",\r\n \"publicNames\": [\r\n \"name1-6b520970-2035-4a69-badc-7644b3a06b9c\"\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/westus/capsOperations/05c697ee-298d-4d36-9a65-f3d56cb7bc56?api-version=2021-07-01 + cache-control: + - no-cache + content-length: + - '836' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:50:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/CreateUpdateGallery3Min;49,Microsoft.Compute/CreateUpdateGallery30Min;297 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --permissions --publisher-uri --publisher-email --eula --public-name-prefix + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-compute/1.0.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/05c697ee-298d-4d36-9a65-f3d56cb7bc56?api-version=2021-07-01 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T03:50:14.1783172+00:00\",\r\n \"endTime\": + \"2022-06-07T03:50:14.4283258+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"05c697ee-298d-4d36-9a65-f3d56cb7bc56\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:50:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4172 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --permissions --publisher-uri --publisher-email --eula --public-name-prefix + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-compute/1.0.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002?api-version=2021-07-01 + response: + body: + string: "{\r\n \"name\": \"gallery1000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002\",\r\n + \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1BZS7G3FL\"\r\n },\r\n \"sharingProfile\": + {\r\n \"permissions\": \"Community\",\r\n \"communityGalleryInfo\": + {\r\n \"communityGalleryEnabled\": false,\r\n \"publisherUri\": + \"publisher1\",\r\n \"publisherContact\": \"test@microsoft.com\",\r\n + \ \"eula\": \"eula1\",\r\n \"publicNames\": [\r\n \"name1-6b520970-2035-4a69-badc-7644b3a06b9c\"\r\n + \ ]\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '837' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:50:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetGallery3Min;329,Microsoft.Compute/GetGallery30Min;2368 + status: + code: 200 + message: OK +- request: + body: '{"operationType": "EnableCommunity", "groups": []}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig share enable-community + Connection: + - keep-alive + Content-Length: + - '50' + Content-Type: + - application/json + ParameterSetName: + - -g -r + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-compute/1.0.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002/share?api-version=2021-07-01 + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/02546340-1c34-4911-bf29-beb6c354fbe1?api-version=2021-07-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 07 Jun 2022 03:50:47 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/02546340-1c34-4911-bf29-beb6c354fbe1?monitor=true&api-version=2021-07-01 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/PostShareGallery3Min;9,Microsoft.Compute/PostShareGallery30Min;55 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig share enable-community + Connection: + - keep-alive + ParameterSetName: + - -g -r + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-compute/1.0.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/02546340-1c34-4911-bf29-beb6c354fbe1?api-version=2021-07-01 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T03:50:48.0537768+00:00\",\r\n \"endTime\": + \"2022-06-07T03:50:49.5538156+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"02546340-1c34-4911-bf29-beb6c354fbe1\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:51:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1196,Microsoft.Compute/GetOperationStatus30Min;4170 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig share enable-community + Connection: + - keep-alive + ParameterSetName: + - -g -r + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-compute/1.0.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/02546340-1c34-4911-bf29-beb6c354fbe1?monitor=true&api-version=2021-07-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 07 Jun 2022 03:51:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4169 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-definition create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --os-type --os-state -p -f -s + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T03:47:29Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '396' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:51:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "tags": {}, "properties": {"osType": "Linux", "osState": + "Specialized", "hyperVGeneration": "V1", "identifier": {"publisher": "publisher1", + "offer": "offer1", "sku": "sku1"}, "disallowed": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-definition create + Connection: + - keep-alive + Content-Length: + - '216' + Content-Type: + - application/json + ParameterSetName: + - -g --gallery-name --gallery-image-definition --os-type --os-state -p -f -s + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002/images/image1?api-version=2021-10-01 + response: + body: + string: "{\r\n \"name\": \"image1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002/images/image1\",\r\n + \ \"type\": \"Microsoft.Compute/galleries/images\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n + \ \"architecture\": \"x64\",\r\n \"osType\": \"Linux\",\r\n \"osState\": + \"Specialized\",\r\n \"identifier\": {\r\n \"publisher\": \"publisher1\",\r\n + \ \"offer\": \"offer1\",\r\n \"sku\": \"sku1\"\r\n },\r\n \"provisioningState\": + \"Creating\"\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/6617a943-9f61-41b0-b40e-cf0fc6b977dd?api-version=2021-10-01 + cache-control: + - no-cache + content-length: + - '605' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:51:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/CreateUpdateGalleryImage3Min;149,Microsoft.Compute/CreateUpdateGalleryImage30Min;749 + x-ms-ratelimit-remaining-subscription-writes: + - '1194' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-definition create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --os-type --os-state -p -f -s + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/6617a943-9f61-41b0-b40e-cf0fc6b977dd?api-version=2021-10-01 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T03:51:25.3824759+00:00\",\r\n \"endTime\": + \"2022-06-07T03:51:25.4918072+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"6617a943-9f61-41b0-b40e-cf0fc6b977dd\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:51:55 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4167 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-definition create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --os-type --os-state -p -f -s + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002/images/image1?api-version=2021-10-01 + response: + body: + string: "{\r\n \"name\": \"image1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002/images/image1\",\r\n + \ \"type\": \"Microsoft.Compute/galleries/images\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n + \ \"architecture\": \"x64\",\r\n \"osType\": \"Linux\",\r\n \"osState\": + \"Specialized\",\r\n \"identifier\": {\r\n \"publisher\": \"publisher1\",\r\n + \ \"offer\": \"offer1\",\r\n \"sku\": \"sku1\"\r\n },\r\n \"provisioningState\": + \"Succeeded\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '606' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:51:56 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetGalleryImage3Min;592,Microsoft.Compute/GetGalleryImage30Min;2959 + 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 --virtual-machine + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T03:47:29Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '396' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:51:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "tags": {}, "properties": {"publishingProfile": + {"targetRegions": [{"name": "westus"}]}, "storageProfile": {"source": {"id": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + Content-Length: + - '328' + Content-Type: + - application/json + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002/images/image1/versions/1.1.2?api-version=2021-10-01 + response: + body: + string: "{\r\n \"name\": \"1.1.2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002/images/image1/versions/1.1.2\",\r\n + \ \"type\": \"Microsoft.Compute/galleries/images/versions\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"publishingProfile\": + {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West + US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": + \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-07T03:52:01.6329201+00:00\",\r\n + \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": + {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\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/westus/capsOperations/343d2bd3-581b-4dfb-ba85-c868bb009628?api-version=2021-10-01 + cache-control: + - no-cache + content-length: + - '1033' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:52:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;374,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1199 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/343d2bd3-581b-4dfb-ba85-c868bb009628?api-version=2021-10-01 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T03:52:01.6172861+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"343d2bd3-581b-4dfb-ba85-c868bb009628\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:53:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4165 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/343d2bd3-581b-4dfb-ba85-c868bb009628?api-version=2021-10-01 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T03:52:01.6172861+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"343d2bd3-581b-4dfb-ba85-c868bb009628\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:54:04 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4164 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/343d2bd3-581b-4dfb-ba85-c868bb009628?api-version=2021-10-01 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T03:52:01.6172861+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"343d2bd3-581b-4dfb-ba85-c868bb009628\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:55:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4170 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/343d2bd3-581b-4dfb-ba85-c868bb009628?api-version=2021-10-01 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T03:52:01.6172861+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"343d2bd3-581b-4dfb-ba85-c868bb009628\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:56:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4168 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/343d2bd3-581b-4dfb-ba85-c868bb009628?api-version=2021-10-01 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T03:52:01.6172861+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"343d2bd3-581b-4dfb-ba85-c868bb009628\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:57:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4166 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/343d2bd3-581b-4dfb-ba85-c868bb009628?api-version=2021-10-01 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T03:52:01.6172861+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"343d2bd3-581b-4dfb-ba85-c868bb009628\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:58:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4164 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/343d2bd3-581b-4dfb-ba85-c868bb009628?api-version=2021-10-01 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T03:52:01.6172861+00:00\",\r\n \"endTime\": + \"2022-06-07T03:58:48.7944922+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"343d2bd3-581b-4dfb-ba85-c868bb009628\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:59:09 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4162 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002/images/image1/versions/1.1.2?api-version=2021-10-01 + response: + body: + string: "{\r\n \"name\": \"1.1.2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002/images/image1/versions/1.1.2\",\r\n + \ \"type\": \"Microsoft.Compute/galleries/images/versions\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"publishingProfile\": + {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West + US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": + \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-07T03:52:01.6329201+00:00\",\r\n + \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": + {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n + \ },\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 30,\r\n \"hostCaching\": + \"ReadWrite\",\r\n \"source\": {}\r\n },\r\n \"dataDiskImages\": + [\r\n {\r\n \"lun\": 0,\r\n \"sizeInGB\": 10,\r\n + \ \"hostCaching\": \"None\"\r\n }\r\n ]\r\n },\r\n + \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1292' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:59:09 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetGalleryImageVersion3Min;1995,Microsoft.Compute/GetGalleryImageVersion30Min;9958 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig show + Connection: + - keep-alive + ParameterSetName: + - --gallery-name --resource-group --select + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002?api-version=2021-10-01&$select=Permissions + response: + body: + string: "{\r\n \"name\": \"gallery1000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002\",\r\n + \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1BZS7G3FL\"\r\n },\r\n \"sharingProfile\": + {\r\n \"permissions\": \"Community\",\r\n \"communityGalleryInfo\": + {\r\n \"communityGalleryEnabled\": true,\r\n \"publisherUri\": + \"publisher1\",\r\n \"publisherContact\": \"test@microsoft.com\",\r\n + \ \"eula\": \"eula1\",\r\n \"publicNames\": [\r\n \"name1-6b520970-2035-4a69-badc-7644b3a06b9c\"\r\n + \ ]\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '836' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:59:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetGallery3Min;331,Microsoft.Compute/GetGallery30Min;2322 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - disk create + Connection: + - keep-alive + ParameterSetName: + - -g -n --gallery-image-reference + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T03:47:29Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '396' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:59:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "tags": {}, "sku": {"name": "Premium_LRS"}, "properties": + {"hyperVGeneration": "V1", "creationData": {"createOption": "FromImage", "galleryImageReference": + {"communityGalleryImageId": "/CommunityGalleries/name1-6b520970-2035-4a69-badc-7644b3a06b9c/Images/image1/Versions/1.1.2"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - disk create + Connection: + - keep-alive + Content-Length: + - '304' + Content-Type: + - application/json + ParameterSetName: + - -g -n --gallery-image-reference + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk1?api-version=2022-03-02 + response: + body: + string: "{\r\n \"name\": \"disk1\",\r\n \"location\": \"westus\",\r\n \"tags\": + {},\r\n \"sku\": {\r\n \"name\": \"Premium_LRS\"\r\n },\r\n \"properties\": + {\r\n \"osType\": \"Linux\",\r\n \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": + {\r\n \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n + \ \"createOption\": \"FromImage\",\r\n \"galleryImageReference\": + {\r\n \"communityGalleryImageId\": \"/CommunityGalleries/name1-6b520970-2035-4a69-badc-7644b3a06b9c/Images/image1/Versions/1.1.2\"\r\n + \ }\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/westus/DiskOperations/5ffa2194-40e9-4e39-a614-37c5b5f4dcb9?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + cache-control: + - no-cache + content-length: + - '562' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:59:15 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/5ffa2194-40e9-4e39-a614-37c5b5f4dcb9?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2022-03-02 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/CreateUpdateDisks3Min;999,Microsoft.Compute/CreateUpdateDisks30Min;7997 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk create + Connection: + - keep-alive + ParameterSetName: + - -g -n --gallery-image-reference + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/5ffa2194-40e9-4e39-a614-37c5b5f4dcb9?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T03:59:16.1208531+00:00\",\r\n \"endTime\": + \"2022-06-07T03:59:16.9490028+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"disk1\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk1\",\r\n + \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Premium_LRS\",\r\n \"tier\": + \"Premium\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n + \ \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n + \ \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \"createOption\": + \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/CommunityGalleries/name1-6b520970-2035-4a69-badc-7644b3a06b9c/Images/image1/Versions/1.1.2\"\r\n + \ },\r\n \"galleryImageReference\": {\r\n \"communityGalleryImageId\": + \"/CommunityGalleries/name1-6b520970-2035-4a69-badc-7644b3a06b9c/Images/image1/Versions/1.1.2\"\r\n + \ }\r\n },\r\n \"diskSizeGB\": 30,\r\n \"diskIOPSReadWrite\": + 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": + \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": + \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": + \"2022-06-07T03:59:16.308364+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32213303296,\r\n + \ \"uniqueId\": \"43794d11-12b3-4455-bf59-5d08e272fffe\",\r\n \"tier\": + \"P4\"\r\n }\r\n}\r\n },\r\n \"name\": \"5ffa2194-40e9-4e39-a614-37c5b5f4dcb9\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1587' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:59:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;49997,Microsoft.Compute/GetOperation30Min;399973 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk create + Connection: + - keep-alive + ParameterSetName: + - -g -n --gallery-image-reference + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk1?api-version=2022-03-02 + response: + body: + string: "{\r\n \"name\": \"disk1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk1\",\r\n + \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Premium_LRS\",\r\n \"tier\": + \"Premium\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n + \ \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n + \ \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \"createOption\": + \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/CommunityGalleries/name1-6b520970-2035-4a69-badc-7644b3a06b9c/Images/image1/Versions/1.1.2\"\r\n + \ },\r\n \"galleryImageReference\": {\r\n \"communityGalleryImageId\": + \"/CommunityGalleries/name1-6b520970-2035-4a69-badc-7644b3a06b9c/Images/image1/Versions/1.1.2\"\r\n + \ }\r\n },\r\n \"diskSizeGB\": 30,\r\n \"diskIOPSReadWrite\": + 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": + \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": + \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": + \"2022-06-07T03:59:16.308364+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32213303296,\r\n + \ \"uniqueId\": \"43794d11-12b3-4455-bf59-5d08e272fffe\",\r\n \"tier\": + \"P4\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1362' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:59:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/LowCostGet3Min;4983,Microsoft.Compute/LowCostGet30Min;39873 + status: + code: 200 + message: OK +- request: + body: '{"operationType": "Reset"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig share reset + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + ParameterSetName: + - --gallery-name -g + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002/share?api-version=2022-01-03 + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/6dc4e1f7-b773-4c29-9f6a-63ec368002e6?api-version=2022-01-03 + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 07 Jun 2022 03:59:21 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/6dc4e1f7-b773-4c29-9f6a-63ec368002e6?monitor=true&api-version=2022-01-03 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/PostShareGallery3Min;9,Microsoft.Compute/PostShareGallery30Min;54 + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig share reset + Connection: + - keep-alive + ParameterSetName: + - --gallery-name -g + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/6dc4e1f7-b773-4c29-9f6a-63ec368002e6?api-version=2022-01-03 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T03:59:21.7013364+00:00\",\r\n \"endTime\": + \"2022-06-07T03:59:23.40445+00:00\",\r\n \"status\": \"Succeeded\",\r\n \"name\": + \"6dc4e1f7-b773-4c29-9f6a-63ec368002e6\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '182' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:59:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4159 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig share reset + Connection: + - keep-alive + ParameterSetName: + - --gallery-name -g + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/6dc4e1f7-b773-4c29-9f6a-63ec368002e6?monitor=true&api-version=2022-01-03 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 07 Jun 2022 03:59:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4158 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig show + Connection: + - keep-alive + ParameterSetName: + - --gallery-name --resource-group --select + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002?api-version=2021-10-01&$select=Permissions + response: + body: + string: "{\r\n \"name\": \"gallery1000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002\",\r\n + \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1BZS7G3FL\"\r\n },\r\n \"sharingProfile\": + {\r\n \"permissions\": \"Private\"\r\n },\r\n \"provisioningState\": + \"Succeeded\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '540' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:59:54 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetGallery3Min;328,Microsoft.Compute/GetGallery30Min;2318 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --permissions + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T03:47:29Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '396' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 03:59:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "tags": {}, "properties": {"sharingProfile": {"permissions": + "Groups"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig create + Connection: + - keep-alive + Content-Length: + - '95' + Content-Type: + - application/json + ParameterSetName: + - -g --gallery-name --permissions + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-compute/1.0.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003?api-version=2021-07-01 + response: + body: + string: "{\r\n \"name\": \"gallery2000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003\",\r\n + \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV\"\r\n },\r\n \"sharingProfile\": + {\r\n \"permissions\": \"Groups\"\r\n },\r\n \"provisioningState\": + \"Creating\"\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a09a8cc7-4296-4022-9c47-cfe5539d9c47?api-version=2021-07-01 + cache-control: + - no-cache + content-length: + - '538' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:00:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/CreateUpdateGallery3Min;49,Microsoft.Compute/CreateUpdateGallery30Min;296 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --permissions + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-compute/1.0.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a09a8cc7-4296-4022-9c47-cfe5539d9c47?api-version=2021-07-01 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T04:00:03.3893426+00:00\",\r\n \"endTime\": + \"2022-06-07T04:00:03.4987314+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"a09a8cc7-4296-4022-9c47-cfe5539d9c47\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:00:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4156 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --permissions + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-compute/1.0.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003?api-version=2021-07-01 + response: + body: + string: "{\r\n \"name\": \"gallery2000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003\",\r\n + \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV\"\r\n },\r\n \"sharingProfile\": + {\r\n \"permissions\": \"Groups\"\r\n },\r\n \"provisioningState\": + \"Succeeded\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '539' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:00:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetGallery3Min;327,Microsoft.Compute/GetGallery30Min;2330 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-definition create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --os-type --os-state -p -f -s + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T03:47:29Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '396' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:00:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "tags": {}, "properties": {"osType": "Linux", "osState": + "Specialized", "hyperVGeneration": "V1", "identifier": {"publisher": "publisher1", + "offer": "offer1", "sku": "sku1"}, "disallowed": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-definition create + Connection: + - keep-alive + Content-Length: + - '216' + Content-Type: + - application/json + ParameterSetName: + - -g --gallery-name --gallery-image-definition --os-type --os-state -p -f -s + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003/images/image2?api-version=2021-10-01 + response: + body: + string: "{\r\n \"name\": \"image2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003/images/image2\",\r\n + \ \"type\": \"Microsoft.Compute/galleries/images\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n + \ \"architecture\": \"x64\",\r\n \"osType\": \"Linux\",\r\n \"osState\": + \"Specialized\",\r\n \"identifier\": {\r\n \"publisher\": \"publisher1\",\r\n + \ \"offer\": \"offer1\",\r\n \"sku\": \"sku1\"\r\n },\r\n \"provisioningState\": + \"Creating\"\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/3df33c72-f4e0-464b-9753-ec2351dbc4a7?api-version=2021-10-01 + cache-control: + - no-cache + content-length: + - '605' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:00:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/CreateUpdateGalleryImage3Min;149,Microsoft.Compute/CreateUpdateGalleryImage30Min;748 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-definition create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --os-type --os-state -p -f -s + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/3df33c72-f4e0-464b-9753-ec2351dbc4a7?api-version=2021-10-01 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T04:00:41.6398542+00:00\",\r\n \"endTime\": + \"2022-06-07T04:00:41.7492279+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"3df33c72-f4e0-464b-9753-ec2351dbc4a7\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:01:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4154 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-definition create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --os-type --os-state -p -f -s + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003/images/image2?api-version=2021-10-01 + response: + body: + string: "{\r\n \"name\": \"image2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003/images/image2\",\r\n + \ \"type\": \"Microsoft.Compute/galleries/images\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n + \ \"architecture\": \"x64\",\r\n \"osType\": \"Linux\",\r\n \"osState\": + \"Specialized\",\r\n \"identifier\": {\r\n \"publisher\": \"publisher1\",\r\n + \ \"offer\": \"offer1\",\r\n \"sku\": \"sku1\"\r\n },\r\n \"provisioningState\": + \"Succeeded\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '606' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:01:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetGalleryImage3Min;592,Microsoft.Compute/GetGalleryImage30Min;2955 + 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 --virtual-machine + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T03:47:29Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '396' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:01:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "tags": {}, "properties": {"publishingProfile": + {"targetRegions": [{"name": "westus"}]}, "storageProfile": {"source": {"id": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + Content-Length: + - '328' + Content-Type: + - application/json + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003/images/image2/versions/1.1.2?api-version=2021-10-01 + response: + body: + string: "{\r\n \"name\": \"1.1.2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003/images/image2/versions/1.1.2\",\r\n + \ \"type\": \"Microsoft.Compute/galleries/images/versions\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"publishingProfile\": + {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West + US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": + \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-07T04:01:20.9528593+00:00\",\r\n + \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": + {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\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/westus/capsOperations/5bfcd7ff-f967-4e46-85f2-f2de9669dceb?api-version=2021-10-01 + cache-control: + - no-cache + content-length: + - '1033' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:01:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;374,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1198 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/5bfcd7ff-f967-4e46-85f2-f2de9669dceb?api-version=2021-10-01 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T04:01:20.9528593+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"5bfcd7ff-f967-4e46-85f2-f2de9669dceb\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:02:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4152 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/5bfcd7ff-f967-4e46-85f2-f2de9669dceb?api-version=2021-10-01 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T04:01:20.9528593+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"5bfcd7ff-f967-4e46-85f2-f2de9669dceb\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:03:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4150 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/5bfcd7ff-f967-4e46-85f2-f2de9669dceb?api-version=2021-10-01 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T04:01:20.9528593+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"5bfcd7ff-f967-4e46-85f2-f2de9669dceb\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:04:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4148 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/5bfcd7ff-f967-4e46-85f2-f2de9669dceb?api-version=2021-10-01 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T04:01:20.9528593+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"5bfcd7ff-f967-4e46-85f2-f2de9669dceb\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:05:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4151 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/5bfcd7ff-f967-4e46-85f2-f2de9669dceb?api-version=2021-10-01 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T04:01:20.9528593+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"5bfcd7ff-f967-4e46-85f2-f2de9669dceb\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:06:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4149 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/5bfcd7ff-f967-4e46-85f2-f2de9669dceb?api-version=2021-10-01 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T04:01:20.9528593+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"5bfcd7ff-f967-4e46-85f2-f2de9669dceb\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:07:27 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4147 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/5bfcd7ff-f967-4e46-85f2-f2de9669dceb?api-version=2021-10-01 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T04:01:20.9528593+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"5bfcd7ff-f967-4e46-85f2-f2de9669dceb\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:08:27 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4146 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/5bfcd7ff-f967-4e46-85f2-f2de9669dceb?api-version=2021-10-01 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T04:01:20.9528593+00:00\",\r\n \"endTime\": + \"2022-06-07T04:08:28.6938599+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"5bfcd7ff-f967-4e46-85f2-f2de9669dceb\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:09:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4144 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003/images/image2/versions/1.1.2?api-version=2021-10-01 + response: + body: + string: "{\r\n \"name\": \"1.1.2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003/images/image2/versions/1.1.2\",\r\n + \ \"type\": \"Microsoft.Compute/galleries/images/versions\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"publishingProfile\": + {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West + US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": + \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-07T04:01:20.9528593+00:00\",\r\n + \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": + {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n + \ },\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 30,\r\n \"hostCaching\": + \"ReadWrite\",\r\n \"source\": {}\r\n },\r\n \"dataDiskImages\": + [\r\n {\r\n \"lun\": 0,\r\n \"sizeInGB\": 10,\r\n + \ \"hostCaching\": \"None\"\r\n }\r\n ]\r\n },\r\n + \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1292' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:09:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetGalleryImageVersion3Min;1992,Microsoft.Compute/GetGalleryImageVersion30Min;9945 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - disk create + Connection: + - keep-alive + ParameterSetName: + - -g -n --gallery-image-reference + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T03:47:29Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '396' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:09:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "tags": {}, "sku": {"name": "Premium_LRS"}, "properties": + {"hyperVGeneration": "V1", "creationData": {"createOption": "FromImage", "galleryImageReference": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003/images/image2/versions/1.1.2"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - disk create + Connection: + - keep-alive + Content-Length: + - '400' + Content-Type: + - application/json + ParameterSetName: + - -g -n --gallery-image-reference + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk2?api-version=2022-03-02 + response: + body: + string: "{\r\n \"name\": \"disk2\",\r\n \"location\": \"westus\",\r\n \"tags\": + {},\r\n \"sku\": {\r\n \"name\": \"Premium_LRS\"\r\n },\r\n \"properties\": + {\r\n \"osType\": \"Linux\",\r\n \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": + {\r\n \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n + \ \"createOption\": \"FromImage\",\r\n \"galleryImageReference\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003/images/image2/versions/1.1.2\"\r\n + \ }\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/westus/DiskOperations/bffed8e6-ffde-4aca-97c5-47a51918d7b5?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + cache-control: + - no-cache + content-length: + - '658' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:09:36 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/bffed8e6-ffde-4aca-97c5-47a51918d7b5?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2022-03-02 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/CreateUpdateDisks3Min;999,Microsoft.Compute/CreateUpdateDisks30Min;7994 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk create + Connection: + - keep-alive + ParameterSetName: + - -g -n --gallery-image-reference + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/bffed8e6-ffde-4aca-97c5-47a51918d7b5?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T04:09:37.1093967+00:00\",\r\n \"endTime\": + \"2022-06-07T04:09:37.7812948+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"disk2\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk2\",\r\n + \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Premium_LRS\",\r\n \"tier\": + \"Premium\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n + \ \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n + \ \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \"createOption\": + \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003/images/image2/versions/1.1.2\"\r\n + \ },\r\n \"galleryImageReference\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003/images/image2/versions/1.1.2\"\r\n + \ }\r\n },\r\n \"diskSizeGB\": 30,\r\n \"diskIOPSReadWrite\": + 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": + \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": + \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": + \"2022-06-07T04:09:37.1406685+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32213303296,\r\n + \ \"uniqueId\": \"359a4532-f178-4b4a-94dd-fe8f30a8717e\",\r\n \"tier\": + \"P4\"\r\n }\r\n}\r\n },\r\n \"name\": \"bffed8e6-ffde-4aca-97c5-47a51918d7b5\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1801' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:09:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;49997,Microsoft.Compute/GetOperation30Min;399945 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk create + Connection: + - keep-alive + ParameterSetName: + - -g -n --gallery-image-reference + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk2?api-version=2022-03-02 + response: + body: + string: "{\r\n \"name\": \"disk2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk2\",\r\n + \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Premium_LRS\",\r\n \"tier\": + \"Premium\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n + \ \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n + \ \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \"createOption\": + \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003/images/image2/versions/1.1.2\"\r\n + \ },\r\n \"galleryImageReference\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003/images/image2/versions/1.1.2\"\r\n + \ }\r\n },\r\n \"diskSizeGB\": 30,\r\n \"diskIOPSReadWrite\": + 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": + \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": + \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": + \"2022-06-07T04:09:37.1406685+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32213303296,\r\n + \ \"uniqueId\": \"359a4532-f178-4b4a-94dd-fe8f30a8717e\",\r\n \"tier\": + \"P4\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1576' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:09:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/LowCostGet3Min;4986,Microsoft.Compute/LowCostGet30Min;39869 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig show + Connection: + - keep-alive + ParameterSetName: + - --gallery-name --resource-group --select + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003?api-version=2021-10-01&$select=Permissions + response: + body: + string: "{\r\n \"name\": \"gallery2000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003\",\r\n + \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV\"\r\n },\r\n \"sharingProfile\": + {\r\n \"permissions\": \"Groups\"\r\n },\r\n \"provisioningState\": + \"Succeeded\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '539' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:09:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetGallery3Min;335,Microsoft.Compute/GetGallery30Min;2299 + status: + code: 200 + message: OK +- request: + body: '{"operationType": "Add", "groups": [{"type": "Subscriptions", "ids": ["0b1f6471-1bf0-4dda-aec3-cb9272f09590"]}, + {"type": "AADTenants", "ids": ["54826b22-38d6-4fb2-bad9-b7b93a3e9c5a"]}]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig share add + Connection: + - keep-alive + Content-Length: + - '185' + Content-Type: + - application/json + ParameterSetName: + - --gallery-name -g --subscription-ids --tenant-ids + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003/share?api-version=2022-01-03 + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f316b2ae-899e-476f-ba02-561a089e8bb8?api-version=2022-01-03 + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 07 Jun 2022 04:09:43 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f316b2ae-899e-476f-ba02-561a089e8bb8?monitor=true&api-version=2022-01-03 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/PostShareGallery3Min;9,Microsoft.Compute/PostShareGallery30Min;54 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig share add + Connection: + - keep-alive + ParameterSetName: + - --gallery-name -g --subscription-ids --tenant-ids + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f316b2ae-899e-476f-ba02-561a089e8bb8?api-version=2022-01-03 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T04:09:44.0543437+00:00\",\r\n \"endTime\": + \"2022-06-07T04:09:45.7573873+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"f316b2ae-899e-476f-ba02-561a089e8bb8\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:10:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4149 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig share add + Connection: + - keep-alive + ParameterSetName: + - --gallery-name -g --subscription-ids --tenant-ids + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f316b2ae-899e-476f-ba02-561a089e8bb8?monitor=true&api-version=2022-01-03 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 07 Jun 2022 04:10:14 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4148 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version show-shared + Connection: + - keep-alive + ParameterSetName: + - --gallery-image-definition --gallery-unique-name --location --gallery-image-version + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV/images/image2/versions/1.1.2?api-version=2020-09-30 + response: + body: + string: "{\r\n \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV/Images/image2/Versions/1.1.2\"\r\n + \ },\r\n \"properties\": {\r\n \"publishedDate\": \"2022-06-07T04:01:20.9528593+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"storageProfile\": {\r\n \"osDiskImage\": + {\r\n \"diskSizeGB\": 30,\r\n \"hostCaching\": \"ReadWrite\"\r\n + \ },\r\n \"dataDiskImages\": [\r\n {\r\n \"lun\": + 0,\r\n \"diskSizeGB\": 10,\r\n \"hostCaching\": \"None\"\r\n + \ }\r\n ]\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"name\": + \"1.1.2\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '579' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:10:16 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: + - disk create + Connection: + - keep-alive + ParameterSetName: + - -g -n --gallery-image-reference + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T03:47:29Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '396' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:10:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "tags": {}, "sku": {"name": "Premium_LRS"}, "properties": + {"hyperVGeneration": "V1", "creationData": {"createOption": "FromImage", "galleryImageReference": + {"sharedGalleryImageId": "/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV/Images/image2/Versions/1.1.2"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - disk create + Connection: + - keep-alive + Content-Length: + - '309' + Content-Type: + - application/json + ParameterSetName: + - -g -n --gallery-image-reference + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk3?api-version=2022-03-02 + response: + body: + string: "{\r\n \"name\": \"disk3\",\r\n \"location\": \"westus\",\r\n \"tags\": + {},\r\n \"sku\": {\r\n \"name\": \"Premium_LRS\"\r\n },\r\n \"properties\": + {\r\n \"osType\": \"Linux\",\r\n \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": + {\r\n \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n + \ \"createOption\": \"FromImage\",\r\n \"galleryImageReference\": + {\r\n \"sharedGalleryImageId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV/Images/image2/Versions/1.1.2\"\r\n + \ }\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/westus/DiskOperations/187353b9-f2a0-4a69-ba9d-7306127c1727?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + cache-control: + - no-cache + content-length: + - '567' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:10:24 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/187353b9-f2a0-4a69-ba9d-7306127c1727?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2022-03-02 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/CreateUpdateDisks3Min;998,Microsoft.Compute/CreateUpdateDisks30Min;7993 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk create + Connection: + - keep-alive + ParameterSetName: + - -g -n --gallery-image-reference + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/187353b9-f2a0-4a69-ba9d-7306127c1727?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T04:10:24.937797+00:00\",\r\n \"endTime\": + \"2022-06-07T04:10:25.2659401+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"disk3\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk3\",\r\n + \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Premium_LRS\",\r\n \"tier\": + \"Premium\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n + \ \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n + \ \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \"createOption\": + \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV/Images/image2/Versions/1.1.2\"\r\n + \ },\r\n \"galleryImageReference\": {\r\n \"sharedGalleryImageId\": + \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV/Images/image2/Versions/1.1.2\"\r\n + \ }\r\n },\r\n \"diskSizeGB\": 30,\r\n \"diskIOPSReadWrite\": + 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": + \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": + \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": + \"2022-06-07T04:10:24.9534299+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32213303296,\r\n + \ \"uniqueId\": \"f5128e86-6c03-4d94-8f25-732985d888da\",\r\n \"tier\": + \"P4\"\r\n }\r\n}\r\n },\r\n \"name\": \"187353b9-f2a0-4a69-ba9d-7306127c1727\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1600' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:10:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;49995,Microsoft.Compute/GetOperation30Min;399943 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - disk create + Connection: + - keep-alive + ParameterSetName: + - -g -n --gallery-image-reference + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk3?api-version=2022-03-02 + response: + body: + string: "{\r\n \"name\": \"disk3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk3\",\r\n + \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Premium_LRS\",\r\n \"tier\": + \"Premium\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n + \ \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n + \ \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \"createOption\": + \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV/Images/image2/Versions/1.1.2\"\r\n + \ },\r\n \"galleryImageReference\": {\r\n \"sharedGalleryImageId\": + \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV/Images/image2/Versions/1.1.2\"\r\n + \ }\r\n },\r\n \"diskSizeGB\": 30,\r\n \"diskIOPSReadWrite\": + 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": + \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": + \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": + \"2022-06-07T04:10:24.9534299+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32213303296,\r\n + \ \"uniqueId\": \"f5128e86-6c03-4d94-8f25-732985d888da\",\r\n \"tier\": + \"P4\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1376' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:10:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/LowCostGet3Min;4982,Microsoft.Compute/LowCostGet30Min;39874 + status: + code: 200 + message: OK +- request: + body: '{"operationType": "Reset"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig share reset + Connection: + - keep-alive + Content-Length: + - '26' + Content-Type: + - application/json + ParameterSetName: + - --gallery-name -g + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003/share?api-version=2022-01-03 + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a1765d3a-d375-4b2c-806a-d2fe80ecde05?api-version=2022-01-03 + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 07 Jun 2022 04:10:29 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a1765d3a-d375-4b2c-806a-d2fe80ecde05?monitor=true&api-version=2022-01-03 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/PostShareGallery3Min;8,Microsoft.Compute/PostShareGallery30Min;55 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig share reset + Connection: + - keep-alive + ParameterSetName: + - --gallery-name -g + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a1765d3a-d375-4b2c-806a-d2fe80ecde05?api-version=2022-01-03 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-07T04:10:29.6798619+00:00\",\r\n \"endTime\": + \"2022-06-07T04:10:30.1329965+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"a1765d3a-d375-4b2c-806a-d2fe80ecde05\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:10:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4146 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig share reset + Connection: + - keep-alive + ParameterSetName: + - --gallery-name -g + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a1765d3a-d375-4b2c-806a-d2fe80ecde05?monitor=true&api-version=2022-01-03 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 07 Jun 2022 04:10:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4145 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig show + Connection: + - keep-alive + ParameterSetName: + - --gallery-name --resource-group --select + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003?api-version=2021-10-01&$select=Permissions + response: + body: + string: "{\r\n \"name\": \"gallery2000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003\",\r\n + \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV\"\r\n },\r\n \"sharingProfile\": + {\r\n \"permissions\": \"Private\"\r\n },\r\n \"provisioningState\": + \"Succeeded\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '540' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 04:11:01 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetGallery3Min;329,Microsoft.Compute/GetGallery30Min;2310 + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py index 082236fe265..03353f7c4b2 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 @@ -1005,6 +1005,102 @@ def test_vm_disk_max_shares_etc(self, resource_group): self.check('maxShares', 1) ]) + @ResourceGroupPreparer(name_prefix='cli_test_create_disk_from_diff_gallery_image_version_', location='westus') + def test_create_disk_from_diff_gallery_image_version(self): + self.kwargs.update({ + 'location': 'westus', + 'vm': 'vm1', + 'gallery1': self.create_random_name('gallery1', 16), + 'gallery2': self.create_random_name('gallery2', 16), + 'image1': 'image1', + 'image2': 'image2', + 'version': '1.1.2', + 'disk1': 'disk1', + 'disk2': 'disk2', + 'disk3': 'disk3', + 'subId': '0b1f6471-1bf0-4dda-aec3-cb9272f09590', + 'tenantId': '54826b22-38d6-4fb2-bad9-b7b93a3e9c5a' + }) + + self.kwargs['vm_id'] = \ + self.cmd('vm create -g {rg} -n {vm} --image ubuntults --data-disk-sizes-gb 10 --admin-username clitest1 ' + '--generate-ssh-key --nsg-rule NONE').get_output_in_json()['id'] + time.sleep(70) + + self.cmd('sig create -g {rg} --gallery-name {gallery1} --permissions community --publisher-uri publisher1 ' + '--publisher-email test@microsoft.com --eula eula1 --public-name-prefix name1') + self.cmd('sig share enable-community -g {rg} -r {gallery1}') + + self.cmd('sig image-definition create -g {rg} --gallery-name {gallery1} --gallery-image-definition {image1} ' + '--os-type linux --os-state Specialized -p publisher1 -f offer1 -s sku1') + self.cmd('sig image-version create -g {rg} --gallery-name {gallery1} --gallery-image-definition {image1} ' + '--gallery-image-version {version} --virtual-machine {vm_id}') + + public_name = self.cmd('sig show --gallery-name {gallery1} --resource-group {rg} --select Permissions', checks=[ + self.check('provisioningState', 'Succeeded'), + self.check('length(sharingProfile.communityGalleryInfo.publicNames)', '1') + ]).get_output_in_json()['sharingProfile']['communityGalleryInfo']['publicNames'][0] + community_gallery_image_version = '/CommunityGalleries/' + public_name + '/Images/' + self.kwargs['image1'] \ + + '/Versions/' + self.kwargs['version'] + self.kwargs.update({'community_gallery_image_version': community_gallery_image_version}) + + # test creating disk from community gallery image version + self.cmd('disk create -g {rg} -n {disk1} --gallery-image-reference {community_gallery_image_version}', checks=[ + self.check('provisioningState', 'Succeeded'), + self.check('creationData.galleryImageReference.communityGalleryImageId', '{community_gallery_image_version}') + ]) + + # gallery permissions must be reset, or the resource group can't be deleted + self.cmd('sig share reset --gallery-name {gallery1} -g {rg}') + self.cmd('sig show --gallery-name {gallery1} --resource-group {rg} --select Permissions', checks=[ + self.check('sharingProfile.permissions', 'Private') + ]) + + self.cmd('sig create -g {rg} --gallery-name {gallery2} --permissions groups') + self.cmd('sig image-definition create -g {rg} --gallery-name {gallery2} --gallery-image-definition {image2} ' + '--os-type linux --os-state Specialized -p publisher1 -f offer1 -s sku1') + + compute_gallery_image_version = self.cmd( + 'sig image-version create -g {rg} --gallery-name {gallery2} --gallery-image-definition {image2} ' + '--gallery-image-version {version} --virtual-machine {vm_id}', + checks=[self.check('provisioningState', 'Succeeded')]).get_output_in_json()['id'] + self.kwargs.update({'compute_gallery_image_version': compute_gallery_image_version}) + + # test creating disk from compute gallery image version + self.cmd('disk create -g {rg} -n {disk2} --gallery-image-reference {compute_gallery_image_version}', checks=[ + self.check('provisioningState', 'Succeeded'), + self.check('creationData.galleryImageReference.id', '{compute_gallery_image_version}') + ]) + + unique_name = self.cmd('sig show --gallery-name {gallery2} --resource-group {rg} --select Permissions') \ + .get_output_in_json()['identifier']['uniqueName'] + self.kwargs.update({'unique_name': unique_name}) + + self.cmd('sig share add --gallery-name {gallery2} -g {rg} --subscription-ids {subId} --tenant-ids {tenantId}') + shared_gallery_image_version = \ + self.cmd('sig image-version show-shared --gallery-image-definition {image2} --gallery-unique-name ' + '{unique_name} --location {location} --gallery-image-version {version}') \ + .get_output_in_json()['uniqueId'] + self.kwargs.update({'shared_gallery_image_version': shared_gallery_image_version}) + + # test creating disk from invalid gallery image version + self.kwargs.update({'invalid_gallery_image_version': shared_gallery_image_version.replace('SharedGalleries', 'Shared')}) + from azure.cli.core.azclierror import InvalidArgumentValueError + with self.assertRaises(InvalidArgumentValueError): + self.cmd('disk create -g {rg} -n {disk3} --gallery-image-reference {invalid_gallery_image_version}') + + # test creating disk from shared gallery image version + self.cmd('disk create -g {rg} -n {disk3} --gallery-image-reference {shared_gallery_image_version}', checks=[ + self.check('provisioningState', 'Succeeded'), + self.check('creationData.galleryImageReference.sharedGalleryImageId', '{shared_gallery_image_version}') + ]) + + # gallery permissions must be reset, or the resource group can't be deleted + self.cmd('sig share reset --gallery-name {gallery2} -g {rg}') + self.cmd('sig show --gallery-name {gallery2} --resource-group {rg} --select Permissions', checks=[ + self.check('sharingProfile.permissions', 'Private') + ]) + class VMCreateAndStateModificationsScenarioTest(ScenarioTest): From 8a32460551fb5cd99cdf08ef2eae4c2c6d8cb745 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Tue, 7 Jun 2022 16:19:12 +0800 Subject: [PATCH 2/5] style check --- src/azure-cli/azure/cli/command_modules/vm/_params.py | 2 +- src/azure-cli/azure/cli/command_modules/vm/_validators.py | 3 ++- 2 files changed, 3 insertions(+), 2 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 34078e8af76..b4c0b5df191 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_params.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_params.py @@ -181,7 +181,7 @@ def load_arguments(self, _): c.argument('disk_mbps_read_only', type=int, help='The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10') c.argument('image_reference', help='ID or URN (publisher:offer:sku:version) of the image from which to create a disk') c.argument('image_reference_lun', type=int, help='If the disk is created from an image\'s data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null') - c.argument('gallery_image_reference', help='ID of the Compute\Shared\Community Gallery image version from which to create a disk') + c.argument('gallery_image_reference', help='ID of the Compute, Shared or Community Gallery image version from which to create a disk') c.ignore('gallery_image_reference_backend') c.argument('gallery_image_reference_lun', type=int, help='If the disk is created from an image\'s data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null') c.argument('logical_sector_size', type=int, help='Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.') diff --git a/src/azure-cli/azure/cli/command_modules/vm/_validators.py b/src/azure-cli/azure/cli/command_modules/vm/_validators.py index 4dfe0b336ad..c3a3078b53f 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_validators.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_validators.py @@ -1738,7 +1738,8 @@ def _validate_gallery_image_reference(cmd, namespace): from azure.cli.core.parser import InvalidArgumentValueError raise InvalidArgumentValueError('usage error: {} is an invalid gallery image reference, please provide valid ' - 'compute\shared\community gallery image version'.format(gallery_image_reference)) + 'compute, shared or community gallery image version' + .format(gallery_image_reference)) def process_disk_or_snapshot_create_namespace(cmd, namespace): From c271c335860a667940bb1630ecb203433b2ef333 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Wed, 8 Jun 2022 10:40:50 +0800 Subject: [PATCH 3/5] some details are modified --- .../cli/command_modules/vm/_image_builder.py | 4 +- .../azure/cli/command_modules/vm/_params.py | 4 +- .../cli/command_modules/vm/_validators.py | 10 +- .../azure/cli/command_modules/vm/custom.py | 4 +- ..._disk_from_diff_gallery_image_version.yaml | 782 +++++++++--------- .../vm/tests/latest/test_vm_commands.py | 2 +- 6 files changed, 412 insertions(+), 394 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/vm/_image_builder.py b/src/azure-cli/azure/cli/command_modules/vm/_image_builder.py index 211d9fc0d8e..fe93e20ecb6 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_image_builder.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_image_builder.py @@ -61,9 +61,9 @@ class GalleryImageReferenceType(Enum): COMMUNITY = (1, 'communityGalleryImageId') SHARED = (2, 'sharedGalleryImageId') - def __init__(self, index, backend_parameter): + def __init__(self, index, backend_key): self.index = index - self.backend_parameter = backend_parameter + self.backend_key = backend_key # region Client Factories 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 b4c0b5df191..41a6322619e 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_params.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_params.py @@ -181,8 +181,8 @@ def load_arguments(self, _): c.argument('disk_mbps_read_only', type=int, help='The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10') c.argument('image_reference', help='ID or URN (publisher:offer:sku:version) of the image from which to create a disk') c.argument('image_reference_lun', type=int, help='If the disk is created from an image\'s data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null') - c.argument('gallery_image_reference', help='ID of the Compute, Shared or Community Gallery image version from which to create a disk') - c.ignore('gallery_image_reference_backend') + c.argument('gallery_image_reference', help='ID of the Compute, Shared or Community Gallery image version from which to create a disk. For details about valid format, please refer to the help sample') + c.ignore('gallery_image_reference_type') c.argument('gallery_image_reference_lun', type=int, help='If the disk is created from an image\'s data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null') c.argument('logical_sector_size', type=int, help='Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.') c.argument('tier', help='Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/pricing/details/managed-disks/. Does not apply to Ultra disks.') diff --git a/src/azure-cli/azure/cli/command_modules/vm/_validators.py b/src/azure-cli/azure/cli/command_modules/vm/_validators.py index c3a3078b53f..b597884dfc5 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_validators.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_validators.py @@ -1727,19 +1727,19 @@ def _validate_gallery_image_reference(cmd, namespace): gallery_image_reference = namespace.gallery_image_reference if is_compute_gallery_image_id(gallery_image_reference): - namespace.gallery_image_reference_backend = GalleryImageReferenceType.COMPUTE.backend_parameter + namespace.gallery_image_reference_type = GalleryImageReferenceType.COMPUTE.backend_key return if is_community_gallery_image_id(gallery_image_reference): - namespace.gallery_image_reference_backend = GalleryImageReferenceType.COMMUNITY.backend_parameter + namespace.gallery_image_reference_type = GalleryImageReferenceType.COMMUNITY.backend_key return if is_shared_gallery_image_id(gallery_image_reference): - namespace.gallery_image_reference_backend = GalleryImageReferenceType.SHARED.backend_parameter + namespace.gallery_image_reference_type = GalleryImageReferenceType.SHARED.backend_key return from azure.cli.core.parser import InvalidArgumentValueError raise InvalidArgumentValueError('usage error: {} is an invalid gallery image reference, please provide valid ' - 'compute, shared or community gallery image version' - .format(gallery_image_reference)) + 'compute, shared or community gallery image version. For details about valid ' + 'format, please refer to the help sample'.format(gallery_image_reference)) def process_disk_or_snapshot_create_namespace(cmd, namespace): 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 0072e025456..4e7c2bf254b 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/custom.py +++ b/src/azure-cli/azure/cli/command_modules/vm/custom.py @@ -297,7 +297,7 @@ def create_managed_disk(cmd, resource_group_name, disk_name, location=None, # p network_access_policy=None, disk_access=None, logical_sector_size=None, tier=None, enable_bursting=None, edge_zone=None, security_type=None, support_hibernation=None, public_network_access=None, accelerated_network=None, architecture=None, - data_access_auth_mode=None, gallery_image_reference_backend=None): + data_access_auth_mode=None, gallery_image_reference_type=None): from msrestazure.tools import resource_id, is_valid_resource_id from azure.cli.core.commands.client_factory import get_subscription_id @@ -347,7 +347,7 @@ def create_managed_disk(cmd, resource_group_name, disk_name, location=None, # p image_reference['lun'] = image_reference_lun if gallery_image_reference is not None: - key = gallery_image_reference_backend if gallery_image_reference_backend else 'id' + key = gallery_image_reference_type if gallery_image_reference_type else 'id' gallery_image_reference = {key: gallery_image_reference} if gallery_image_reference_lun is not None: gallery_image_reference['lun'] = gallery_image_reference_lun diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_disk_from_diff_gallery_image_version.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_disk_from_diff_gallery_image_version.yaml index a817deedbd3..009401883cc 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_disk_from_diff_gallery_image_version.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_disk_from_diff_gallery_image_version.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T03:47:29Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T11:07:55Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:47:34 GMT + - Tue, 07 Jun 2022 11:08:02 GMT expires: - '-1' pragma: @@ -113,13 +113,13 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Tue, 07 Jun 2022 03:47:35 GMT + - Tue, 07 Jun 2022 11:08:03 GMT etag: - W/"714b55b3e325c9c936add41807880935e033af5676c36a1ed8ab2e1e476a45f2" expires: - - Tue, 07 Jun 2022 03:52:35 GMT + - Tue, 07 Jun 2022 11:13:03 GMT source-age: - - '187' + - '220' strict-transport-security: - max-age=31536000 vary: @@ -133,15 +133,15 @@ interactions: x-content-type-options: - nosniff x-fastly-request-id: - - 336f2cd3fa391f40dc19839d47da6bc9014b1b77 + - 246c99eeb225842b195646aba7237f81644c4562 x-frame-options: - deny x-github-request-id: - - 5830:11C9:2644C1:3C0570:629EBC6F + - EF40:0B26:308274:5187E4:629F0696 x-served-by: - - cache-qpg1243-QPG + - cache-qpg1279-QPG x-timer: - - S1654573655.374314,VS0,VE1 + - S1654600083.341440,VS0,VE1 x-xss-protection: - 1; mode=block status: @@ -163,21 +163,21 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Debian/artifacttypes/vmimage/offers/debian-10/skus/10/versions?$top=1&$orderby=name%20desc&api-version=2022-03-01 response: body: - string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202205270\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202205270\"\r\n + string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"0.20220328.962\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Debian/ArtifactTypes/VMImage/Offers/debian-10/Skus/10/Versions/0.20220328.962\"\r\n \ }\r\n]" headers: cache-control: - no-cache content-length: - - '286' + - '271' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:47:36 GMT + - Tue, 07 Jun 2022 11:08:05 GMT expires: - '-1' pragma: @@ -194,7 +194,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43999 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43997 status: code: 200 message: OK @@ -214,31 +214,28 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202205270?api-version=2022-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Debian/artifacttypes/vmimage/offers/debian-10/skus/10/versions/0.20220328.962?api-version=2022-03-01 response: body: string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": \"x64\",\r\n \"replicaType\": \"Unmanaged\",\r\n \"disallowed\": {\r\n \ \"vmDiskType\": \"None\"\r\n },\r\n \"automaticOSUpgradeProperties\": - {\r\n \"automaticOSUpgradeSupported\": true\r\n },\r\n \"imageDeprecationStatus\": + {\r\n \"automaticOSUpgradeSupported\": false\r\n },\r\n \"imageDeprecationStatus\": {\r\n \"imageState\": \"Active\"\r\n },\r\n \"features\": [\r\n \ {\r\n \"name\": \"IsAcceleratedNetworkSupported\",\r\n \"value\": - \"True\"\r\n },\r\n {\r\n \"name\": \"DiskControllerTypes\",\r\n - \ \"value\": \"SCSI\"\r\n },\r\n {\r\n \"name\": \"IsHibernateSupported\",\r\n - \ \"value\": \"False\"\r\n }\r\n ],\r\n \"osDiskImage\": - {\r\n \"operatingSystem\": \"Linux\",\r\n \"sizeInGb\": 31,\r\n - \ \"sizeInBytes\": 32213303808\r\n },\r\n \"dataDiskImages\": []\r\n - \ },\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202205270\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202205270\"\r\n}" + \"True\"\r\n }\r\n ],\r\n \"osDiskImage\": {\r\n \"operatingSystem\": + \"Linux\",\r\n \"sizeInGb\": 30,\r\n \"sizeInBytes\": 32212255232\r\n + \ },\r\n \"dataDiskImages\": []\r\n },\r\n \"location\": \"westus\",\r\n + \ \"name\": \"0.20220328.962\",\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Debian/ArtifactTypes/VMImage/Offers/debian-10/Skus/10/Versions/0.20220328.962\"\r\n}" headers: cache-control: - no-cache content-length: - - '1043' + - '859' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:47:37 GMT + - Tue, 07 Jun 2022 11:08:05 GMT expires: - '-1' pragma: @@ -251,7 +248,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73999 + - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73998 status: code: 200 message: OK @@ -283,7 +280,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:47:38 GMT + - Tue, 07 Jun 2022 11:08:07 GMT expires: - '-1' pragma: @@ -318,12 +315,11 @@ interactions: {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic", "properties": {"deleteOption": null}}]}, "storageProfile": {"osDisk": {"createOption": "fromImage", "name": null, "caching": "ReadWrite", "managedDisk": {"storageAccountType": - null}}, "imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", - "sku": "18.04-LTS", "version": "latest"}, "dataDisks": [{"lun": 0, "managedDisk": - {"storageAccountType": null}, "createOption": "empty", "diskSizeGB": 10}]}, - "osProfile": {"computerName": "vm1", "adminUsername": "clitest1", "linuxConfiguration": - {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABgQDg4qZ5NLtcJdQtFC6W0Q2J64NudXnUpyFOYJjJwU2pQHBoFCGyJ/t87VsXGWa1eAixenDCXhTdjMAQQh+S5STnywT+KfXfTVEp1dpjbPWulANTuSPYtBqQxjcXBPlUNK4VXZR1jPAQtM2+ux6LfGPF8dWXXGf/1rFw2lPT9brNlt2ATSRamKX4MBVeP1oMTa5FB1AQNa4F01JsX88ppRGNc7Bz66yV/YqgjK3gh4pVK7ETu0LXRbEzTJAmH3+TJ26Kld7Pl/fOvbDQESxOzgcbnvgUfIKo3Ye41+bV/Z+bO4YhjVY7WRkHhkYhf/lOOqYSUea4S7WQFjbLY75xbXm64WCNAEQjoKIfppx2xIudgzkwBpqCmyEtR532wTRsczczxyNlk6sn9AKw0zfd6n4W0kh9rvOZbcdaheKcDaw748E3G4NhDVoEoaZKnx/B75QVMAKQDbWzhEtpe8IiZm4RVEPysFrJmaD5KFiSgJT9MW79l7XrDQkbokD5NyxQM5U= + null}}, "imageReference": {"publisher": "Debian", "offer": "debian-10", "sku": + "10", "version": "latest"}, "dataDisks": [{"lun": 0, "managedDisk": {"storageAccountType": + null}, "createOption": "empty", "diskSizeGB": 10}]}, "osProfile": {"computerName": + "vm1", "adminUsername": "clitest1", "linuxConfiguration": {"disablePasswordAuthentication": + true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDg4qZ5NLtcJdQtFC6W0Q2J64NudXnUpyFOYJjJwU2pQHBoFCGyJ/t87VsXGWa1eAixenDCXhTdjMAQQh+S5STnywT+KfXfTVEp1dpjbPWulANTuSPYtBqQxjcXBPlUNK4VXZR1jPAQtM2+ux6LfGPF8dWXXGf/1rFw2lPT9brNlt2ATSRamKX4MBVeP1oMTa5FB1AQNa4F01JsX88ppRGNc7Bz66yV/YqgjK3gh4pVK7ETu0LXRbEzTJAmH3+TJ26Kld7Pl/fOvbDQESxOzgcbnvgUfIKo3Ye41+bV/Z+bO4YhjVY7WRkHhkYhf/lOOqYSUea4S7WQFjbLY75xbXm64WCNAEQjoKIfppx2xIudgzkwBpqCmyEtR532wTRsczczxyNlk6sn9AKw0zfd6n4W0kh9rvOZbcdaheKcDaw748E3G4NhDVoEoaZKnx/B75QVMAKQDbWzhEtpe8IiZm4RVEPysFrJmaD5KFiSgJT9MW79l7XrDQkbokD5NyxQM5U= zhuyan@microsoft.com\n", "path": "/home/clitest1/.ssh/authorized_keys"}]}}}}}], "outputs": {}}, "parameters": {}, "mode": "incremental"}}' headers: @@ -336,7 +332,7 @@ interactions: Connection: - keep-alive Content-Length: - - '3664' + - '3651' Content-Type: - application/json ParameterSetName: @@ -347,18 +343,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/vm_deploy_rq0kZ1TCjWLCPk1EH2pz0KZXPgiS0jA7","name":"vm_deploy_rq0kZ1TCjWLCPk1EH2pz0KZXPgiS0jA7","type":"Microsoft.Resources/deployments","properties":{"templateHash":"2568840760450979906","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-06-07T03:47:50.0944604Z","duration":"PT0.0001718S","correlationId":"2f7f976f-eb26-4303-a865-d9e3a7ffc185","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/vm_deploy_oiVVHC4GPwI041kbJhKq8pZmIQlLzB35","name":"vm_deploy_oiVVHC4GPwI041kbJhKq8pZmIQlLzB35","type":"Microsoft.Resources/deployments","properties":{"templateHash":"274370791005235909","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-06-07T11:08:11.4047622Z","duration":"PT0.0009311S","correlationId":"1eac6f51-814c-4bea-be71-d89ae5a026f8","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/vm_deploy_rq0kZ1TCjWLCPk1EH2pz0KZXPgiS0jA7/operationStatuses/08585470332189849524?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/vm_deploy_oiVVHC4GPwI041kbJhKq8pZmIQlLzB35/operationStatuses/08585470067965815647?api-version=2021-04-01 cache-control: - no-cache content-length: - - '2630' + - '2629' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:47:51 GMT + - Tue, 07 Jun 2022 11:08:11 GMT expires: - '-1' pragma: @@ -368,7 +364,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1198' status: code: 201 message: Created @@ -388,7 +384,7 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585470332189849524?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585470067965815647?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -400,7 +396,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:48:21 GMT + - Tue, 07 Jun 2022 11:08:41 GMT expires: - '-1' pragma: @@ -428,7 +424,7 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585470332189849524?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585470067965815647?api-version=2021-04-01 response: body: string: '{"status":"Succeeded"}' @@ -440,7 +436,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:48:52 GMT + - Tue, 07 Jun 2022 11:09:13 GMT expires: - '-1' pragma: @@ -471,16 +467,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/vm_deploy_rq0kZ1TCjWLCPk1EH2pz0KZXPgiS0jA7","name":"vm_deploy_rq0kZ1TCjWLCPk1EH2pz0KZXPgiS0jA7","type":"Microsoft.Resources/deployments","properties":{"templateHash":"2568840760450979906","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-06-07T03:48:24.9610387Z","duration":"PT34.8667501S","correlationId":"2f7f976f-eb26-4303-a865-d9e3a7ffc185","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/vm_deploy_oiVVHC4GPwI041kbJhKq8pZmIQlLzB35","name":"vm_deploy_oiVVHC4GPwI041kbJhKq8pZmIQlLzB35","type":"Microsoft.Resources/deployments","properties":{"templateHash":"274370791005235909","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-06-07T11:09:00.7995671Z","duration":"PT49.395736S","correlationId":"1eac6f51-814c-4bea-be71-d89ae5a026f8","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}' headers: cache-control: - no-cache content-length: - - '3615' + - '3613' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:48:53 GMT + - Tue, 07 Jun 2022 11:09:13 GMT expires: - '-1' pragma: @@ -513,22 +509,22 @@ interactions: body: string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"ed271bd8-bb6c-4b8c-9ee5-f07bd4040849\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"5a560ebb-0684-4ecd-910f-e33d175df8ae\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": - \"18.04.202205270\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm1_disk1_ad30e2e606f64956b9f803531cc62be9\",\r\n - \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n - \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/vm1_disk1_ad30e2e606f64956b9f803531cc62be9\"\r\n + \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n + \ \"version\": \"latest\",\r\n \"exactVersion\": \"0.20220328.962\"\r\n + \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": + \"vm1_OsDisk_1_cb5c5962f190403eace7a80c23b151be\",\r\n \"createOption\": + \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": + {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_cb5c5962f190403eace7a80c23b151be\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": - 0,\r\n \"name\": \"vm1_disk2_76b0ce4572fe4a1d829ec99b8169ac2d\",\r\n + 0,\r\n \"name\": \"vm1_disk2_25ae3c0afa9847a4aa3c1a2aa53c52c5\",\r\n \ \"createOption\": \"Empty\",\r\n \"caching\": \"None\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/vm1_disk2_76b0ce4572fe4a1d829ec99b8169ac2d\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/vm1_disk2_25ae3c0afa9847a4aa3c1a2aa53c52c5\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 10,\r\n \"toBeDetached\": false\r\n }\r\n ]\r\n },\r\n \ \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n \"adminUsername\": @@ -543,38 +539,38 @@ interactions: [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"}]},\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": - \"vm1\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": \"18.04\",\r\n - \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.8.0.6\",\r\n \"statuses\": + \"vm1\",\r\n \"osName\": \"debian\",\r\n \"osVersion\": \"10.12\",\r\n + \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.2.45\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2022-06-07T03:48:34+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_ad30e2e606f64956b9f803531cc62be9\",\r\n + \"2022-06-07T11:09:02+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_OsDisk_1_cb5c5962f190403eace7a80c23b151be\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-06-07T03:48:10.8050823+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-06-07T11:08:30.0107719+00:00\"\r\n \ }\r\n ]\r\n },\r\n {\r\n \"name\": - \"vm1_disk2_76b0ce4572fe4a1d829ec99b8169ac2d\",\r\n \"statuses\": + \"vm1_disk2_25ae3c0afa9847a4aa3c1a2aa53c52c5\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-06-07T03:48:10.8050823+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-06-07T11:08:30.0107719+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\": \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-06-07T03:48:20.2113239+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-06-07T11:08:56.4014099+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n - \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2022-06-07T03:48:08.9456966+00:00\"\r\n + \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2022-06-07T11:08:27.6826275+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '5110' + - '5104' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:48:54 GMT + - Tue, 07 Jun 2022 11:09:14 GMT expires: - '-1' pragma: @@ -584,10 +580,14 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3995,Microsoft.Compute/LowCostGet30Min;31979 + - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31997 status: code: 200 message: OK @@ -611,12 +611,12 @@ interactions: response: body: string: "{\r\n \"name\": \"vm1VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\",\r\n - \ \"etag\": \"W/\\\"f7d552c7-45f3-4f46-b0d5-e393b61d7e62\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"6074d176-ed5a-48ef-87f6-38232d9bf2ad\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"7bb47ee2-cb34-49ea-9118-fd14c9813e97\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"a5567c5f-b213-4bab-9718-391c0725a157\",\r\n \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\",\r\n - \ \"etag\": \"W/\\\"f7d552c7-45f3-4f46-b0d5-e393b61d7e62\\\"\",\r\n + \ \"etag\": \"W/\\\"6074d176-ed5a-48ef-87f6-38232d9bf2ad\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -625,8 +625,8 @@ interactions: \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": - \"jsl04jv0mmgubebcjm4pht0s4b.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-22-48-0C-11-E3\",\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": + \"mwgttai4hhxehh1xngu33otz1f.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-35-31-7E\",\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n @@ -639,9 +639,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:48:55 GMT + - Tue, 07 Jun 2022 11:09:14 GMT etag: - - W/"f7d552c7-45f3-4f46-b0d5-e393b61d7e62" + - W/"6074d176-ed5a-48ef-87f6-38232d9bf2ad" expires: - '-1' pragma: @@ -651,10 +651,14 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-arm-service-request-id: - - bca74453-6c56-405b-956a-8e5ad911768a + - 23ceba9b-2fa1-48d3-b751-56934a1e29b4 status: code: 200 message: OK @@ -678,11 +682,11 @@ interactions: response: body: string: "{\r\n \"name\": \"vm1PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\",\r\n - \ \"etag\": \"W/\\\"5e4d786d-59b0-4a35-b486-c979a156b777\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"8adee754-00f7-4c73-9a9d-265fa8a75995\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"4c843adc-f68f-4c76-ba6d-df2887e29295\",\r\n - \ \"ipAddress\": \"20.245.169.148\",\r\n \"publicIPAddressVersion\": - \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + \"Succeeded\",\r\n \"resourceGuid\": \"2ae8e12a-86b8-4aae-980c-4f8080ee104f\",\r\n + \ \"ipAddress\": \"20.245.56.3\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" @@ -690,13 +694,13 @@ interactions: cache-control: - no-cache content-length: - - '966' + - '963' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:48:55 GMT + - Tue, 07 Jun 2022 11:09:14 GMT etag: - - W/"5e4d786d-59b0-4a35-b486-c979a156b777" + - W/"8adee754-00f7-4c73-9a9d-265fa8a75995" expires: - '-1' pragma: @@ -706,10 +710,14 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0e767cc9-bc02-4a40-8caf-13b0fb5e1ea1 + - 8f81f377-1dad-4e36-89a5-e184e4e54170 status: code: 200 message: OK @@ -732,7 +740,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T03:47:29Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T11:07:55Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -741,7 +749,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:50:05 GMT + - Tue, 07 Jun 2022 11:10:26 GMT expires: - '-1' pragma: @@ -783,16 +791,16 @@ interactions: string: "{\r\n \"name\": \"gallery1000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1BZS7G3FL\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1XSP4X6ZU\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Community\",\r\n \"communityGalleryInfo\": {\r\n \"communityGalleryEnabled\": false,\r\n \"publisherUri\": \"publisher1\",\r\n \"publisherContact\": \"test@microsoft.com\",\r\n - \ \"eula\": \"eula1\",\r\n \"publicNames\": [\r\n \"name1-6b520970-2035-4a69-badc-7644b3a06b9c\"\r\n + \ \"eula\": \"eula1\",\r\n \"publicNames\": [\r\n \"name1-fb0adcec-857a-4be4-96eb-42101b8de5ef\"\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/westus/capsOperations/05c697ee-298d-4d36-9a65-f3d56cb7bc56?api-version=2021-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/5a6f63b8-4c48-4bd0-90d8-07c8ab6d27de?api-version=2021-07-01 cache-control: - no-cache content-length: @@ -800,7 +808,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:50:15 GMT + - Tue, 07 Jun 2022 11:10:34 GMT expires: - '-1' pragma: @@ -813,9 +821,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateGallery3Min;49,Microsoft.Compute/CreateUpdateGallery30Min;297 + - Microsoft.Compute/CreateUpdateGallery3Min;49,Microsoft.Compute/CreateUpdateGallery30Min;299 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -835,12 +843,12 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-mgmt-compute/1.0.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/05c697ee-298d-4d36-9a65-f3d56cb7bc56?api-version=2021-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/5a6f63b8-4c48-4bd0-90d8-07c8ab6d27de?api-version=2021-07-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T03:50:14.1783172+00:00\",\r\n \"endTime\": - \"2022-06-07T03:50:14.4283258+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"05c697ee-298d-4d36-9a65-f3d56cb7bc56\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:10:34.2040754+00:00\",\r\n \"endTime\": + \"2022-06-07T11:10:34.4697375+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"5a6f63b8-4c48-4bd0-90d8-07c8ab6d27de\"\r\n}" headers: cache-control: - no-cache @@ -849,7 +857,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:50:45 GMT + - Tue, 07 Jun 2022 11:11:05 GMT expires: - '-1' pragma: @@ -866,7 +874,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4172 + - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4198 status: code: 200 message: OK @@ -892,11 +900,11 @@ interactions: string: "{\r\n \"name\": \"gallery1000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1BZS7G3FL\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1XSP4X6ZU\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Community\",\r\n \"communityGalleryInfo\": {\r\n \"communityGalleryEnabled\": false,\r\n \"publisherUri\": \"publisher1\",\r\n \"publisherContact\": \"test@microsoft.com\",\r\n - \ \"eula\": \"eula1\",\r\n \"publicNames\": [\r\n \"name1-6b520970-2035-4a69-badc-7644b3a06b9c\"\r\n + \ \"eula\": \"eula1\",\r\n \"publicNames\": [\r\n \"name1-fb0adcec-857a-4be4-96eb-42101b8de5ef\"\r\n \ ]\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n \ }\r\n}" headers: @@ -907,7 +915,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:50:45 GMT + - Tue, 07 Jun 2022 11:11:05 GMT expires: - '-1' pragma: @@ -924,7 +932,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;329,Microsoft.Compute/GetGallery30Min;2368 + - Microsoft.Compute/GetGallery3Min;346,Microsoft.Compute/GetGallery30Min;2496 status: code: 200 message: OK @@ -954,17 +962,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/02546340-1c34-4911-bf29-beb6c354fbe1?api-version=2021-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b1095379-b258-4346-88fa-d157507ab5dd?api-version=2021-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 07 Jun 2022 03:50:47 GMT + - Tue, 07 Jun 2022 11:11:07 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/02546340-1c34-4911-bf29-beb6c354fbe1?monitor=true&api-version=2021-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b1095379-b258-4346-88fa-d157507ab5dd?monitor=true&api-version=2021-07-01 pragma: - no-cache server: @@ -975,7 +983,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PostShareGallery3Min;9,Microsoft.Compute/PostShareGallery30Min;55 + - Microsoft.Compute/PostShareGallery3Min;9,Microsoft.Compute/PostShareGallery30Min;59 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -997,12 +1005,12 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-mgmt-compute/1.0.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/02546340-1c34-4911-bf29-beb6c354fbe1?api-version=2021-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b1095379-b258-4346-88fa-d157507ab5dd?api-version=2021-07-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T03:50:48.0537768+00:00\",\r\n \"endTime\": - \"2022-06-07T03:50:49.5538156+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"02546340-1c34-4911-bf29-beb6c354fbe1\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:11:08.0798524+00:00\",\r\n \"endTime\": + \"2022-06-07T11:11:29.3769645+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"b1095379-b258-4346-88fa-d157507ab5dd\"\r\n}" headers: cache-control: - no-cache @@ -1011,7 +1019,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:51:18 GMT + - Tue, 07 Jun 2022 11:11:37 GMT expires: - '-1' pragma: @@ -1028,7 +1036,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1196,Microsoft.Compute/GetOperationStatus30Min;4170 + - Microsoft.Compute/GetOperationStatus3Min;1196,Microsoft.Compute/GetOperationStatus30Min;4196 status: code: 200 message: OK @@ -1048,7 +1056,7 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-mgmt-compute/1.0.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/02546340-1c34-4911-bf29-beb6c354fbe1?monitor=true&api-version=2021-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b1095379-b258-4346-88fa-d157507ab5dd?monitor=true&api-version=2021-07-01 response: body: string: '' @@ -1058,7 +1066,7 @@ interactions: content-length: - '0' date: - - Tue, 07 Jun 2022 03:51:18 GMT + - Tue, 07 Jun 2022 11:11:38 GMT expires: - '-1' pragma: @@ -1071,7 +1079,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4169 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4195 status: code: 200 message: OK @@ -1094,7 +1102,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T03:47:29Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T11:07:55Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1103,13 +1111,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:51:19 GMT + - Tue, 07 Jun 2022 11:11:39 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding x-content-type-options: - nosniff status: @@ -1149,7 +1159,7 @@ interactions: \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/6617a943-9f61-41b0-b40e-cf0fc6b977dd?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/2290c64f-c547-4525-a184-e9a6203259f6?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -1157,7 +1167,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:51:25 GMT + - Tue, 07 Jun 2022 11:11:48 GMT expires: - '-1' pragma: @@ -1172,7 +1182,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGalleryImage3Min;149,Microsoft.Compute/CreateUpdateGalleryImage30Min;749 x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' status: code: 201 message: Created @@ -1192,12 +1202,12 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/6617a943-9f61-41b0-b40e-cf0fc6b977dd?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/2290c64f-c547-4525-a184-e9a6203259f6?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T03:51:25.3824759+00:00\",\r\n \"endTime\": - \"2022-06-07T03:51:25.4918072+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"6617a943-9f61-41b0-b40e-cf0fc6b977dd\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:11:47.9553337+00:00\",\r\n \"endTime\": + \"2022-06-07T11:11:48.0803264+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"2290c64f-c547-4525-a184-e9a6203259f6\"\r\n}" headers: cache-control: - no-cache @@ -1206,7 +1216,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:51:55 GMT + - Tue, 07 Jun 2022 11:12:19 GMT expires: - '-1' pragma: @@ -1216,10 +1226,14 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4167 + - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4192 status: code: 200 message: OK @@ -1257,7 +1271,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:51:56 GMT + - Tue, 07 Jun 2022 11:12:19 GMT expires: - '-1' pragma: @@ -1267,10 +1281,14 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImage3Min;592,Microsoft.Compute/GetGalleryImage30Min;2959 + - Microsoft.Compute/GetGalleryImage3Min;596,Microsoft.Compute/GetGalleryImage30Min;2996 status: code: 200 message: OK @@ -1293,7 +1311,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T03:47:29Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T11:07:55Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1302,7 +1320,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:51:57 GMT + - Tue, 07 Jun 2022 11:12:19 GMT expires: - '-1' pragma: @@ -1347,13 +1365,13 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-07T03:52:01.6329201+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-07T11:12:26.5027514+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\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/westus/capsOperations/343d2bd3-581b-4dfb-ba85-c868bb009628?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/39ed65a8-8c4f-4245-8f99-948db577321b?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -1361,7 +1379,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:52:02 GMT + - Tue, 07 Jun 2022 11:12:26 GMT expires: - '-1' pragma: @@ -1376,7 +1394,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;374,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1199 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -1396,11 +1414,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/343d2bd3-581b-4dfb-ba85-c868bb009628?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/39ed65a8-8c4f-4245-8f99-948db577321b?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T03:52:01.6172861+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"343d2bd3-581b-4dfb-ba85-c868bb009628\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:12:26.5027514+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"39ed65a8-8c4f-4245-8f99-948db577321b\"\r\n}" headers: cache-control: - no-cache @@ -1409,7 +1427,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:53:03 GMT + - Tue, 07 Jun 2022 11:13:28 GMT expires: - '-1' pragma: @@ -1426,7 +1444,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4165 + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4191 status: code: 200 message: OK @@ -1446,11 +1464,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/343d2bd3-581b-4dfb-ba85-c868bb009628?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/39ed65a8-8c4f-4245-8f99-948db577321b?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T03:52:01.6172861+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"343d2bd3-581b-4dfb-ba85-c868bb009628\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:12:26.5027514+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"39ed65a8-8c4f-4245-8f99-948db577321b\"\r\n}" headers: cache-control: - no-cache @@ -1459,7 +1477,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:54:04 GMT + - Tue, 07 Jun 2022 11:14:28 GMT expires: - '-1' pragma: @@ -1476,7 +1494,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4164 + - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4189 status: code: 200 message: OK @@ -1496,11 +1514,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/343d2bd3-581b-4dfb-ba85-c868bb009628?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/39ed65a8-8c4f-4245-8f99-948db577321b?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T03:52:01.6172861+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"343d2bd3-581b-4dfb-ba85-c868bb009628\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:12:26.5027514+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"39ed65a8-8c4f-4245-8f99-948db577321b\"\r\n}" headers: cache-control: - no-cache @@ -1509,7 +1527,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:55:06 GMT + - Tue, 07 Jun 2022 11:15:29 GMT expires: - '-1' pragma: @@ -1526,7 +1544,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4170 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4187 status: code: 200 message: OK @@ -1546,11 +1564,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/343d2bd3-581b-4dfb-ba85-c868bb009628?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/39ed65a8-8c4f-4245-8f99-948db577321b?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T03:52:01.6172861+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"343d2bd3-581b-4dfb-ba85-c868bb009628\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:12:26.5027514+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"39ed65a8-8c4f-4245-8f99-948db577321b\"\r\n}" headers: cache-control: - no-cache @@ -1559,7 +1577,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:56:06 GMT + - Tue, 07 Jun 2022 11:16:30 GMT expires: - '-1' pragma: @@ -1576,7 +1594,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4168 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4185 status: code: 200 message: OK @@ -1596,11 +1614,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/343d2bd3-581b-4dfb-ba85-c868bb009628?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/39ed65a8-8c4f-4245-8f99-948db577321b?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T03:52:01.6172861+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"343d2bd3-581b-4dfb-ba85-c868bb009628\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:12:26.5027514+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"39ed65a8-8c4f-4245-8f99-948db577321b\"\r\n}" headers: cache-control: - no-cache @@ -1609,7 +1627,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:57:07 GMT + - Tue, 07 Jun 2022 11:17:31 GMT expires: - '-1' pragma: @@ -1626,7 +1644,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4166 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4183 status: code: 200 message: OK @@ -1646,11 +1664,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/343d2bd3-581b-4dfb-ba85-c868bb009628?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/39ed65a8-8c4f-4245-8f99-948db577321b?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T03:52:01.6172861+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"343d2bd3-581b-4dfb-ba85-c868bb009628\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:12:26.5027514+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"39ed65a8-8c4f-4245-8f99-948db577321b\"\r\n}" headers: cache-control: - no-cache @@ -1659,7 +1677,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:58:08 GMT + - Tue, 07 Jun 2022 11:18:32 GMT expires: - '-1' pragma: @@ -1676,7 +1694,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4164 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4181 status: code: 200 message: OK @@ -1696,12 +1714,12 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/343d2bd3-581b-4dfb-ba85-c868bb009628?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/39ed65a8-8c4f-4245-8f99-948db577321b?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T03:52:01.6172861+00:00\",\r\n \"endTime\": - \"2022-06-07T03:58:48.7944922+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"343d2bd3-581b-4dfb-ba85-c868bb009628\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:12:26.5027514+00:00\",\r\n \"endTime\": + \"2022-06-07T11:19:13.1177947+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"39ed65a8-8c4f-4245-8f99-948db577321b\"\r\n}" headers: cache-control: - no-cache @@ -1710,7 +1728,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:59:09 GMT + - Tue, 07 Jun 2022 11:19:32 GMT expires: - '-1' pragma: @@ -1727,7 +1745,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4162 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4179 status: code: 200 message: OK @@ -1756,7 +1774,7 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-07T03:52:01.6329201+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-07T11:12:26.5027514+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n \ },\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 30,\r\n \"hostCaching\": @@ -1772,7 +1790,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:59:09 GMT + - Tue, 07 Jun 2022 11:19:33 GMT expires: - '-1' pragma: @@ -1789,7 +1807,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImageVersion3Min;1995,Microsoft.Compute/GetGalleryImageVersion30Min;9958 + - Microsoft.Compute/GetGalleryImageVersion3Min;1999,Microsoft.Compute/GetGalleryImageVersion30Min;9997 status: code: 200 message: OK @@ -1815,11 +1833,11 @@ interactions: string: "{\r\n \"name\": \"gallery1000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1BZS7G3FL\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1XSP4X6ZU\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Community\",\r\n \"communityGalleryInfo\": {\r\n \"communityGalleryEnabled\": true,\r\n \"publisherUri\": \"publisher1\",\r\n \"publisherContact\": \"test@microsoft.com\",\r\n - \ \"eula\": \"eula1\",\r\n \"publicNames\": [\r\n \"name1-6b520970-2035-4a69-badc-7644b3a06b9c\"\r\n + \ \"eula\": \"eula1\",\r\n \"publicNames\": [\r\n \"name1-fb0adcec-857a-4be4-96eb-42101b8de5ef\"\r\n \ ]\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n \ }\r\n}" headers: @@ -1830,7 +1848,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:59:10 GMT + - Tue, 07 Jun 2022 11:19:35 GMT expires: - '-1' pragma: @@ -1847,7 +1865,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;331,Microsoft.Compute/GetGallery30Min;2322 + - Microsoft.Compute/GetGallery3Min;349,Microsoft.Compute/GetGallery30Min;2495 status: code: 200 message: OK @@ -1870,7 +1888,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T03:47:29Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T11:07:55Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1879,7 +1897,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:59:11 GMT + - Tue, 07 Jun 2022 11:19:36 GMT expires: - '-1' pragma: @@ -1896,7 +1914,7 @@ interactions: - request: body: '{"location": "westus", "tags": {}, "sku": {"name": "Premium_LRS"}, "properties": {"hyperVGeneration": "V1", "creationData": {"createOption": "FromImage", "galleryImageReference": - {"communityGalleryImageId": "/CommunityGalleries/name1-6b520970-2035-4a69-badc-7644b3a06b9c/Images/image1/Versions/1.1.2"}}}}' + {"communityGalleryImageId": "/CommunityGalleries/name1-fb0adcec-857a-4be4-96eb-42101b8de5ef/Images/image1/Versions/1.1.2"}}}}' headers: Accept: - application/json @@ -1923,12 +1941,12 @@ interactions: {\r\n \"osType\": \"Linux\",\r\n \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \ \"createOption\": \"FromImage\",\r\n \"galleryImageReference\": - {\r\n \"communityGalleryImageId\": \"/CommunityGalleries/name1-6b520970-2035-4a69-badc-7644b3a06b9c/Images/image1/Versions/1.1.2\"\r\n + {\r\n \"communityGalleryImageId\": \"/CommunityGalleries/name1-fb0adcec-857a-4be4-96eb-42101b8de5ef/Images/image1/Versions/1.1.2\"\r\n \ }\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/westus/DiskOperations/5ffa2194-40e9-4e39-a614-37c5b5f4dcb9?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/b3b2862e-3487-4914-bfd8-4df90b5df40f?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 cache-control: - no-cache content-length: @@ -1936,11 +1954,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:59:15 GMT + - Tue, 07 Jun 2022 11:19:42 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/5ffa2194-40e9-4e39-a614-37c5b5f4dcb9?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/b3b2862e-3487-4914-bfd8-4df90b5df40f?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -1953,7 +1971,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateDisks3Min;999,Microsoft.Compute/CreateUpdateDisks30Min;7997 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -1973,11 +1991,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/5ffa2194-40e9-4e39-a614-37c5b5f4dcb9?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/b3b2862e-3487-4914-bfd8-4df90b5df40f?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T03:59:16.1208531+00:00\",\r\n \"endTime\": - \"2022-06-07T03:59:16.9490028+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2022-06-07T11:19:42.4369759+00:00\",\r\n \"endTime\": + \"2022-06-07T11:19:43.3119766+00:00\",\r\n \"status\": \"Succeeded\",\r\n \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"disk1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk1\",\r\n \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westus\",\r\n @@ -1985,26 +2003,26 @@ interactions: \"Premium\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n \ \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n \ \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \"createOption\": - \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/CommunityGalleries/name1-6b520970-2035-4a69-badc-7644b3a06b9c/Images/image1/Versions/1.1.2\"\r\n + \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/CommunityGalleries/name1-fb0adcec-857a-4be4-96eb-42101b8de5ef/Images/image1/Versions/1.1.2\"\r\n \ },\r\n \"galleryImageReference\": {\r\n \"communityGalleryImageId\": - \"/CommunityGalleries/name1-6b520970-2035-4a69-badc-7644b3a06b9c/Images/image1/Versions/1.1.2\"\r\n + \"/CommunityGalleries/name1-fb0adcec-857a-4be4-96eb-42101b8de5ef/Images/image1/Versions/1.1.2\"\r\n \ }\r\n },\r\n \"diskSizeGB\": 30,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": - \"2022-06-07T03:59:16.308364+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32213303296,\r\n - \ \"uniqueId\": \"43794d11-12b3-4455-bf59-5d08e272fffe\",\r\n \"tier\": - \"P4\"\r\n }\r\n}\r\n },\r\n \"name\": \"5ffa2194-40e9-4e39-a614-37c5b5f4dcb9\"\r\n}" + \"2022-06-07T11:19:42.6088496+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32212254720,\r\n + \ \"uniqueId\": \"c103e6d1-2939-4c1f-92b4-2572a0cb604d\",\r\n \"tier\": + \"P4\"\r\n }\r\n}\r\n },\r\n \"name\": \"b3b2862e-3487-4914-bfd8-4df90b5df40f\"\r\n}" headers: cache-control: - no-cache content-length: - - '1587' + - '1588' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:59:18 GMT + - Tue, 07 Jun 2022 11:19:44 GMT expires: - '-1' pragma: @@ -2050,26 +2068,26 @@ interactions: \"Premium\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n \ \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n \ \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \"createOption\": - \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/CommunityGalleries/name1-6b520970-2035-4a69-badc-7644b3a06b9c/Images/image1/Versions/1.1.2\"\r\n + \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/CommunityGalleries/name1-fb0adcec-857a-4be4-96eb-42101b8de5ef/Images/image1/Versions/1.1.2\"\r\n \ },\r\n \"galleryImageReference\": {\r\n \"communityGalleryImageId\": - \"/CommunityGalleries/name1-6b520970-2035-4a69-badc-7644b3a06b9c/Images/image1/Versions/1.1.2\"\r\n + \"/CommunityGalleries/name1-fb0adcec-857a-4be4-96eb-42101b8de5ef/Images/image1/Versions/1.1.2\"\r\n \ }\r\n },\r\n \"diskSizeGB\": 30,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": - \"2022-06-07T03:59:16.308364+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32213303296,\r\n - \ \"uniqueId\": \"43794d11-12b3-4455-bf59-5d08e272fffe\",\r\n \"tier\": + \"2022-06-07T11:19:42.6088496+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32212254720,\r\n + \ \"uniqueId\": \"c103e6d1-2939-4c1f-92b4-2572a0cb604d\",\r\n \"tier\": \"P4\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1362' + - '1363' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:59:18 GMT + - Tue, 07 Jun 2022 11:19:45 GMT expires: - '-1' pragma: @@ -2086,7 +2104,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4983,Microsoft.Compute/LowCostGet30Min;39873 + - Microsoft.Compute/LowCostGet3Min;4995,Microsoft.Compute/LowCostGet30Min;39992 status: code: 200 message: OK @@ -2116,17 +2134,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/6dc4e1f7-b773-4c29-9f6a-63ec368002e6?api-version=2022-01-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/c09a97f3-581b-40c1-bbab-873fb1e13519?api-version=2022-01-03 cache-control: - no-cache content-length: - '0' date: - - Tue, 07 Jun 2022 03:59:21 GMT + - Tue, 07 Jun 2022 11:19:47 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/6dc4e1f7-b773-4c29-9f6a-63ec368002e6?monitor=true&api-version=2022-01-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/c09a97f3-581b-40c1-bbab-873fb1e13519?monitor=true&api-version=2022-01-03 pragma: - no-cache server: @@ -2137,9 +2155,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PostShareGallery3Min;9,Microsoft.Compute/PostShareGallery30Min;54 + - Microsoft.Compute/PostShareGallery3Min;9,Microsoft.Compute/PostShareGallery30Min;58 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 202 message: Accepted @@ -2159,21 +2177,21 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/6dc4e1f7-b773-4c29-9f6a-63ec368002e6?api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/c09a97f3-581b-40c1-bbab-873fb1e13519?api-version=2022-01-03 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T03:59:21.7013364+00:00\",\r\n \"endTime\": - \"2022-06-07T03:59:23.40445+00:00\",\r\n \"status\": \"Succeeded\",\r\n \"name\": - \"6dc4e1f7-b773-4c29-9f6a-63ec368002e6\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:19:47.3994387+00:00\",\r\n \"endTime\": + \"2022-06-07T11:19:49.0557396+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"c09a97f3-581b-40c1-bbab-873fb1e13519\"\r\n}" headers: cache-control: - no-cache content-length: - - '182' + - '184' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:59:51 GMT + - Tue, 07 Jun 2022 11:20:17 GMT expires: - '-1' pragma: @@ -2190,7 +2208,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4159 + - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4176 status: code: 200 message: OK @@ -2210,7 +2228,7 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/6dc4e1f7-b773-4c29-9f6a-63ec368002e6?monitor=true&api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/c09a97f3-581b-40c1-bbab-873fb1e13519?monitor=true&api-version=2022-01-03 response: body: string: '' @@ -2220,7 +2238,7 @@ interactions: content-length: - '0' date: - - Tue, 07 Jun 2022 03:59:51 GMT + - Tue, 07 Jun 2022 11:20:17 GMT expires: - '-1' pragma: @@ -2233,7 +2251,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4158 + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4175 status: code: 200 message: OK @@ -2259,7 +2277,7 @@ interactions: string: "{\r\n \"name\": \"gallery1000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1BZS7G3FL\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1XSP4X6ZU\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Private\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -2270,7 +2288,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:59:54 GMT + - Tue, 07 Jun 2022 11:20:19 GMT expires: - '-1' pragma: @@ -2287,7 +2305,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;328,Microsoft.Compute/GetGallery30Min;2318 + - Microsoft.Compute/GetGallery3Min;348,Microsoft.Compute/GetGallery30Min;2494 status: code: 200 message: OK @@ -2310,7 +2328,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T03:47:29Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T11:07:55Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -2319,7 +2337,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 03:59:55 GMT + - Tue, 07 Jun 2022 11:20:20 GMT expires: - '-1' pragma: @@ -2360,12 +2378,12 @@ interactions: string: "{\r\n \"name\": \"gallery2000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Groups\"\r\n },\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a09a8cc7-4296-4022-9c47-cfe5539d9c47?api-version=2021-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/35418ed2-0af5-4e72-9768-f85176bbe386?api-version=2021-07-01 cache-control: - no-cache content-length: @@ -2373,7 +2391,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:00:03 GMT + - Tue, 07 Jun 2022 11:20:27 GMT expires: - '-1' pragma: @@ -2386,9 +2404,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateGallery3Min;49,Microsoft.Compute/CreateUpdateGallery30Min;296 + - Microsoft.Compute/CreateUpdateGallery3Min;49,Microsoft.Compute/CreateUpdateGallery30Min;298 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -2408,12 +2426,12 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-mgmt-compute/1.0.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a09a8cc7-4296-4022-9c47-cfe5539d9c47?api-version=2021-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/35418ed2-0af5-4e72-9768-f85176bbe386?api-version=2021-07-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T04:00:03.3893426+00:00\",\r\n \"endTime\": - \"2022-06-07T04:00:03.4987314+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"a09a8cc7-4296-4022-9c47-cfe5539d9c47\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:20:26.8687293+00:00\",\r\n \"endTime\": + \"2022-06-07T11:20:27.0093797+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"35418ed2-0af5-4e72-9768-f85176bbe386\"\r\n}" headers: cache-control: - no-cache @@ -2422,7 +2440,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:00:34 GMT + - Tue, 07 Jun 2022 11:20:57 GMT expires: - '-1' pragma: @@ -2439,7 +2457,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4156 + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4173 status: code: 200 message: OK @@ -2465,7 +2483,7 @@ interactions: string: "{\r\n \"name\": \"gallery2000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Groups\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -2476,7 +2494,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:00:35 GMT + - Tue, 07 Jun 2022 11:20:57 GMT expires: - '-1' pragma: @@ -2493,7 +2511,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;327,Microsoft.Compute/GetGallery30Min;2330 + - Microsoft.Compute/GetGallery3Min;340,Microsoft.Compute/GetGallery30Min;2486 status: code: 200 message: OK @@ -2516,7 +2534,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T03:47:29Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T11:07:55Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -2525,7 +2543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:00:35 GMT + - Tue, 07 Jun 2022 11:20:59 GMT expires: - '-1' pragma: @@ -2573,7 +2591,7 @@ interactions: \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/3df33c72-f4e0-464b-9753-ec2351dbc4a7?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/e5ec7f17-501e-4736-b92d-f09521373ac5?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -2581,7 +2599,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:00:42 GMT + - Tue, 07 Jun 2022 11:21:10 GMT expires: - '-1' pragma: @@ -2616,12 +2634,12 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/3df33c72-f4e0-464b-9753-ec2351dbc4a7?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/e5ec7f17-501e-4736-b92d-f09521373ac5?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T04:00:41.6398542+00:00\",\r\n \"endTime\": - \"2022-06-07T04:00:41.7492279+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"3df33c72-f4e0-464b-9753-ec2351dbc4a7\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:21:10.6505664+00:00\",\r\n \"endTime\": + \"2022-06-07T11:21:10.7599315+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"e5ec7f17-501e-4736-b92d-f09521373ac5\"\r\n}" headers: cache-control: - no-cache @@ -2630,7 +2648,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:01:13 GMT + - Tue, 07 Jun 2022 11:21:41 GMT expires: - '-1' pragma: @@ -2647,7 +2665,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4154 + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4171 status: code: 200 message: OK @@ -2685,7 +2703,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:01:13 GMT + - Tue, 07 Jun 2022 11:21:42 GMT expires: - '-1' pragma: @@ -2702,7 +2720,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImage3Min;592,Microsoft.Compute/GetGalleryImage30Min;2955 + - Microsoft.Compute/GetGalleryImage3Min;595,Microsoft.Compute/GetGalleryImage30Min;2991 status: code: 200 message: OK @@ -2725,7 +2743,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T03:47:29Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T11:07:55Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -2734,7 +2752,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:01:15 GMT + - Tue, 07 Jun 2022 11:21:42 GMT expires: - '-1' pragma: @@ -2779,13 +2797,13 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-07T04:01:20.9528593+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-07T11:21:49.3229345+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\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/westus/capsOperations/5bfcd7ff-f967-4e46-85f2-f2de9669dceb?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/d82096e0-2588-4dd3-912a-c77643615f63?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -2793,7 +2811,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:01:21 GMT + - Tue, 07 Jun 2022 11:21:51 GMT expires: - '-1' pragma: @@ -2828,11 +2846,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/5bfcd7ff-f967-4e46-85f2-f2de9669dceb?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/d82096e0-2588-4dd3-912a-c77643615f63?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T04:01:20.9528593+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"5bfcd7ff-f967-4e46-85f2-f2de9669dceb\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:21:49.3229345+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"d82096e0-2588-4dd3-912a-c77643615f63\"\r\n}" headers: cache-control: - no-cache @@ -2841,7 +2859,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:02:21 GMT + - Tue, 07 Jun 2022 11:22:51 GMT expires: - '-1' pragma: @@ -2858,7 +2876,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4152 + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4169 status: code: 200 message: OK @@ -2878,11 +2896,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/5bfcd7ff-f967-4e46-85f2-f2de9669dceb?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/d82096e0-2588-4dd3-912a-c77643615f63?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T04:01:20.9528593+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"5bfcd7ff-f967-4e46-85f2-f2de9669dceb\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:21:49.3229345+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"d82096e0-2588-4dd3-912a-c77643615f63\"\r\n}" headers: cache-control: - no-cache @@ -2891,7 +2909,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:03:22 GMT + - Tue, 07 Jun 2022 11:23:53 GMT expires: - '-1' pragma: @@ -2908,7 +2926,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4150 + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4167 status: code: 200 message: OK @@ -2928,11 +2946,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/5bfcd7ff-f967-4e46-85f2-f2de9669dceb?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/d82096e0-2588-4dd3-912a-c77643615f63?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T04:01:20.9528593+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"5bfcd7ff-f967-4e46-85f2-f2de9669dceb\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:21:49.3229345+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"d82096e0-2588-4dd3-912a-c77643615f63\"\r\n}" headers: cache-control: - no-cache @@ -2941,7 +2959,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:04:24 GMT + - Tue, 07 Jun 2022 11:24:53 GMT expires: - '-1' pragma: @@ -2958,7 +2976,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4148 + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4165 status: code: 200 message: OK @@ -2978,11 +2996,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/5bfcd7ff-f967-4e46-85f2-f2de9669dceb?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/d82096e0-2588-4dd3-912a-c77643615f63?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T04:01:20.9528593+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"5bfcd7ff-f967-4e46-85f2-f2de9669dceb\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:21:49.3229345+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"d82096e0-2588-4dd3-912a-c77643615f63\"\r\n}" headers: cache-control: - no-cache @@ -2991,7 +3009,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:05:25 GMT + - Tue, 07 Jun 2022 11:25:54 GMT expires: - '-1' pragma: @@ -3008,7 +3026,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4151 + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4163 status: code: 200 message: OK @@ -3028,11 +3046,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/5bfcd7ff-f967-4e46-85f2-f2de9669dceb?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/d82096e0-2588-4dd3-912a-c77643615f63?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T04:01:20.9528593+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"5bfcd7ff-f967-4e46-85f2-f2de9669dceb\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:21:49.3229345+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"d82096e0-2588-4dd3-912a-c77643615f63\"\r\n}" headers: cache-control: - no-cache @@ -3041,7 +3059,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:06:26 GMT + - Tue, 07 Jun 2022 11:26:56 GMT expires: - '-1' pragma: @@ -3058,7 +3076,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4149 + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4161 status: code: 200 message: OK @@ -3078,11 +3096,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/5bfcd7ff-f967-4e46-85f2-f2de9669dceb?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/d82096e0-2588-4dd3-912a-c77643615f63?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T04:01:20.9528593+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"5bfcd7ff-f967-4e46-85f2-f2de9669dceb\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:21:49.3229345+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"d82096e0-2588-4dd3-912a-c77643615f63\"\r\n}" headers: cache-control: - no-cache @@ -3091,7 +3109,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:07:27 GMT + - Tue, 07 Jun 2022 11:27:57 GMT expires: - '-1' pragma: @@ -3108,7 +3126,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4147 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4160 status: code: 200 message: OK @@ -3128,11 +3146,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/5bfcd7ff-f967-4e46-85f2-f2de9669dceb?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/d82096e0-2588-4dd3-912a-c77643615f63?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T04:01:20.9528593+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"5bfcd7ff-f967-4e46-85f2-f2de9669dceb\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:21:49.3229345+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"d82096e0-2588-4dd3-912a-c77643615f63\"\r\n}" headers: cache-control: - no-cache @@ -3141,7 +3159,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:08:27 GMT + - Tue, 07 Jun 2022 11:28:58 GMT expires: - '-1' pragma: @@ -3158,7 +3176,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4146 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4158 status: code: 200 message: OK @@ -3178,21 +3196,21 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/5bfcd7ff-f967-4e46-85f2-f2de9669dceb?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/d82096e0-2588-4dd3-912a-c77643615f63?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T04:01:20.9528593+00:00\",\r\n \"endTime\": - \"2022-06-07T04:08:28.6938599+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"5bfcd7ff-f967-4e46-85f2-f2de9669dceb\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:21:49.3229345+00:00\",\r\n \"endTime\": + \"2022-06-07T11:29:20.329152+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"d82096e0-2588-4dd3-912a-c77643615f63\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '183' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:09:28 GMT + - Tue, 07 Jun 2022 11:29:58 GMT expires: - '-1' pragma: @@ -3209,7 +3227,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4144 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4156 status: code: 200 message: OK @@ -3238,7 +3256,7 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-07T04:01:20.9528593+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-07T11:21:49.3229345+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n \ },\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 30,\r\n \"hostCaching\": @@ -3254,7 +3272,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:09:28 GMT + - Tue, 07 Jun 2022 11:29:59 GMT expires: - '-1' pragma: @@ -3271,7 +3289,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImageVersion3Min;1992,Microsoft.Compute/GetGalleryImageVersion30Min;9945 + - Microsoft.Compute/GetGalleryImageVersion3Min;1997,Microsoft.Compute/GetGalleryImageVersion30Min;9988 status: code: 200 message: OK @@ -3294,7 +3312,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T03:47:29Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T11:07:55Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -3303,7 +3321,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:09:30 GMT + - Tue, 07 Jun 2022 11:29:59 GMT expires: - '-1' pragma: @@ -3352,7 +3370,7 @@ interactions: true\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/bffed8e6-ffde-4aca-97c5-47a51918d7b5?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/c9cc0032-cb55-4770-b2a6-6975b8e08cc5?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 cache-control: - no-cache content-length: @@ -3360,11 +3378,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:09:36 GMT + - Tue, 07 Jun 2022 11:30:03 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/bffed8e6-ffde-4aca-97c5-47a51918d7b5?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/c9cc0032-cb55-4770-b2a6-6975b8e08cc5?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -3377,7 +3395,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateDisks3Min;999,Microsoft.Compute/CreateUpdateDisks30Min;7994 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -3397,11 +3415,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/bffed8e6-ffde-4aca-97c5-47a51918d7b5?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/c9cc0032-cb55-4770-b2a6-6975b8e08cc5?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T04:09:37.1093967+00:00\",\r\n \"endTime\": - \"2022-06-07T04:09:37.7812948+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2022-06-07T11:30:04.2678003+00:00\",\r\n \"endTime\": + \"2022-06-07T11:30:04.8146507+00:00\",\r\n \"status\": \"Succeeded\",\r\n \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"disk2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk2\",\r\n \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westus\",\r\n @@ -3415,10 +3433,10 @@ interactions: 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": - \"2022-06-07T04:09:37.1406685+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32213303296,\r\n - \ \"uniqueId\": \"359a4532-f178-4b4a-94dd-fe8f30a8717e\",\r\n \"tier\": - \"P4\"\r\n }\r\n}\r\n },\r\n \"name\": \"bffed8e6-ffde-4aca-97c5-47a51918d7b5\"\r\n}" + \"2022-06-07T11:30:04.3146479+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32212254720,\r\n + \ \"uniqueId\": \"d6b97282-78fb-4fa3-8793-3be2f4765548\",\r\n \"tier\": + \"P4\"\r\n }\r\n}\r\n },\r\n \"name\": \"c9cc0032-cb55-4770-b2a6-6975b8e08cc5\"\r\n}" headers: cache-control: - no-cache @@ -3427,7 +3445,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:09:38 GMT + - Tue, 07 Jun 2022 11:30:06 GMT expires: - '-1' pragma: @@ -3479,9 +3497,9 @@ interactions: 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": - \"2022-06-07T04:09:37.1406685+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32213303296,\r\n - \ \"uniqueId\": \"359a4532-f178-4b4a-94dd-fe8f30a8717e\",\r\n \"tier\": + \"2022-06-07T11:30:04.3146479+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32212254720,\r\n + \ \"uniqueId\": \"d6b97282-78fb-4fa3-8793-3be2f4765548\",\r\n \"tier\": \"P4\"\r\n }\r\n}" headers: cache-control: @@ -3491,7 +3509,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:09:39 GMT + - Tue, 07 Jun 2022 11:30:06 GMT expires: - '-1' pragma: @@ -3508,7 +3526,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4986,Microsoft.Compute/LowCostGet30Min;39869 + - Microsoft.Compute/LowCostGet3Min;4995,Microsoft.Compute/LowCostGet30Min;39984 status: code: 200 message: OK @@ -3534,7 +3552,7 @@ interactions: string: "{\r\n \"name\": \"gallery2000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Groups\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -3545,7 +3563,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:09:40 GMT + - Tue, 07 Jun 2022 11:30:09 GMT expires: - '-1' pragma: @@ -3562,7 +3580,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;335,Microsoft.Compute/GetGallery30Min;2299 + - Microsoft.Compute/GetGallery3Min;349,Microsoft.Compute/GetGallery30Min;2484 status: code: 200 message: OK @@ -3593,17 +3611,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f316b2ae-899e-476f-ba02-561a089e8bb8?api-version=2022-01-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/602bbaa6-df58-4ac5-9b55-320c4224fa15?api-version=2022-01-03 cache-control: - no-cache content-length: - '0' date: - - Tue, 07 Jun 2022 04:09:43 GMT + - Tue, 07 Jun 2022 11:30:10 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f316b2ae-899e-476f-ba02-561a089e8bb8?monitor=true&api-version=2022-01-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/602bbaa6-df58-4ac5-9b55-320c4224fa15?monitor=true&api-version=2022-01-03 pragma: - no-cache server: @@ -3614,7 +3632,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PostShareGallery3Min;9,Microsoft.Compute/PostShareGallery30Min;54 + - Microsoft.Compute/PostShareGallery3Min;9,Microsoft.Compute/PostShareGallery30Min;57 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -3636,21 +3654,21 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f316b2ae-899e-476f-ba02-561a089e8bb8?api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/602bbaa6-df58-4ac5-9b55-320c4224fa15?api-version=2022-01-03 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T04:09:44.0543437+00:00\",\r\n \"endTime\": - \"2022-06-07T04:09:45.7573873+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"f316b2ae-899e-476f-ba02-561a089e8bb8\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:30:11.0173217+00:00\",\r\n \"endTime\": + \"2022-06-07T11:30:12.564215+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"602bbaa6-df58-4ac5-9b55-320c4224fa15\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '183' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:10:13 GMT + - Tue, 07 Jun 2022 11:30:40 GMT expires: - '-1' pragma: @@ -3667,7 +3685,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4149 + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4153 status: code: 200 message: OK @@ -3687,7 +3705,7 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f316b2ae-899e-476f-ba02-561a089e8bb8?monitor=true&api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/602bbaa6-df58-4ac5-9b55-320c4224fa15?monitor=true&api-version=2022-01-03 response: body: string: '' @@ -3697,7 +3715,7 @@ interactions: content-length: - '0' date: - - Tue, 07 Jun 2022 04:10:14 GMT + - Tue, 07 Jun 2022 11:30:41 GMT expires: - '-1' pragma: @@ -3710,7 +3728,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4148 + - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4152 status: code: 200 message: OK @@ -3730,11 +3748,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV/images/image2/versions/1.1.2?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4/images/image2/versions/1.1.2?api-version=2020-09-30 response: body: - string: "{\r\n \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV/Images/image2/Versions/1.1.2\"\r\n - \ },\r\n \"properties\": {\r\n \"publishedDate\": \"2022-06-07T04:01:20.9528593+00:00\",\r\n + string: "{\r\n \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4/Images/image2/Versions/1.1.2\"\r\n + \ },\r\n \"properties\": {\r\n \"publishedDate\": \"2022-06-07T11:21:49.3229345+00:00\",\r\n \ \"excludeFromLatest\": false,\r\n \"storageProfile\": {\r\n \"osDiskImage\": {\r\n \"diskSizeGB\": 30,\r\n \"hostCaching\": \"ReadWrite\"\r\n \ },\r\n \"dataDiskImages\": [\r\n {\r\n \"lun\": @@ -3749,7 +3767,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:10:16 GMT + - Tue, 07 Jun 2022 11:30:42 GMT expires: - '-1' pragma: @@ -3787,7 +3805,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T03:47:29Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T11:07:55Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -3796,7 +3814,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:10:17 GMT + - Tue, 07 Jun 2022 11:30:43 GMT expires: - '-1' pragma: @@ -3813,7 +3831,7 @@ interactions: - request: body: '{"location": "westus", "tags": {}, "sku": {"name": "Premium_LRS"}, "properties": {"hyperVGeneration": "V1", "creationData": {"createOption": "FromImage", "galleryImageReference": - {"sharedGalleryImageId": "/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV/Images/image2/Versions/1.1.2"}}}}' + {"sharedGalleryImageId": "/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4/Images/image2/Versions/1.1.2"}}}}' headers: Accept: - application/json @@ -3840,12 +3858,12 @@ interactions: {\r\n \"osType\": \"Linux\",\r\n \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \ \"createOption\": \"FromImage\",\r\n \"galleryImageReference\": - {\r\n \"sharedGalleryImageId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV/Images/image2/Versions/1.1.2\"\r\n + {\r\n \"sharedGalleryImageId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4/Images/image2/Versions/1.1.2\"\r\n \ }\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/westus/DiskOperations/187353b9-f2a0-4a69-ba9d-7306127c1727?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/55824d32-5a51-456f-8342-5f25887555af?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 cache-control: - no-cache content-length: @@ -3853,11 +3871,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:10:24 GMT + - Tue, 07 Jun 2022 11:30:50 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/187353b9-f2a0-4a69-ba9d-7306127c1727?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/55824d32-5a51-456f-8342-5f25887555af?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -3890,11 +3908,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/187353b9-f2a0-4a69-ba9d-7306127c1727?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/55824d32-5a51-456f-8342-5f25887555af?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T04:10:24.937797+00:00\",\r\n \"endTime\": - \"2022-06-07T04:10:25.2659401+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2022-06-07T11:30:51.3929912+00:00\",\r\n \"endTime\": + \"2022-06-07T11:30:51.6429738+00:00\",\r\n \"status\": \"Succeeded\",\r\n \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"disk3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk3\",\r\n \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westus\",\r\n @@ -3902,26 +3920,26 @@ interactions: \"Premium\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n \ \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n \ \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \"createOption\": - \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV/Images/image2/Versions/1.1.2\"\r\n + \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4/Images/image2/Versions/1.1.2\"\r\n \ },\r\n \"galleryImageReference\": {\r\n \"sharedGalleryImageId\": - \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV/Images/image2/Versions/1.1.2\"\r\n + \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4/Images/image2/Versions/1.1.2\"\r\n \ }\r\n },\r\n \"diskSizeGB\": 30,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": - \"2022-06-07T04:10:24.9534299+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32213303296,\r\n - \ \"uniqueId\": \"f5128e86-6c03-4d94-8f25-732985d888da\",\r\n \"tier\": - \"P4\"\r\n }\r\n}\r\n },\r\n \"name\": \"187353b9-f2a0-4a69-ba9d-7306127c1727\"\r\n}" + \"2022-06-07T11:30:51.4086166+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32212254720,\r\n + \ \"uniqueId\": \"34a19030-14d4-454b-b507-240d20392746\",\r\n \"tier\": + \"P4\"\r\n }\r\n}\r\n },\r\n \"name\": \"55824d32-5a51-456f-8342-5f25887555af\"\r\n}" headers: cache-control: - no-cache content-length: - - '1600' + - '1601' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:10:26 GMT + - Tue, 07 Jun 2022 11:30:53 GMT expires: - '-1' pragma: @@ -3967,16 +3985,16 @@ interactions: \"Premium\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n \ \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n \ \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \"createOption\": - \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV/Images/image2/Versions/1.1.2\"\r\n + \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4/Images/image2/Versions/1.1.2\"\r\n \ },\r\n \"galleryImageReference\": {\r\n \"sharedGalleryImageId\": - \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV/Images/image2/Versions/1.1.2\"\r\n + \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4/Images/image2/Versions/1.1.2\"\r\n \ }\r\n },\r\n \"diskSizeGB\": 30,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": - \"2022-06-07T04:10:24.9534299+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32213303296,\r\n - \ \"uniqueId\": \"f5128e86-6c03-4d94-8f25-732985d888da\",\r\n \"tier\": + \"2022-06-07T11:30:51.4086166+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32212254720,\r\n + \ \"uniqueId\": \"34a19030-14d4-454b-b507-240d20392746\",\r\n \"tier\": \"P4\"\r\n }\r\n}" headers: cache-control: @@ -3986,7 +4004,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:10:26 GMT + - Tue, 07 Jun 2022 11:30:53 GMT expires: - '-1' pragma: @@ -4003,7 +4021,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4982,Microsoft.Compute/LowCostGet30Min;39874 + - Microsoft.Compute/LowCostGet3Min;4992,Microsoft.Compute/LowCostGet30Min;39981 status: code: 200 message: OK @@ -4033,17 +4051,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a1765d3a-d375-4b2c-806a-d2fe80ecde05?api-version=2022-01-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/745df98a-aae2-4367-b1c9-72f8cc0e1c22?api-version=2022-01-03 cache-control: - no-cache content-length: - '0' date: - - Tue, 07 Jun 2022 04:10:29 GMT + - Tue, 07 Jun 2022 11:30:55 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a1765d3a-d375-4b2c-806a-d2fe80ecde05?monitor=true&api-version=2022-01-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/745df98a-aae2-4367-b1c9-72f8cc0e1c22?monitor=true&api-version=2022-01-03 pragma: - no-cache server: @@ -4054,7 +4072,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PostShareGallery3Min;8,Microsoft.Compute/PostShareGallery30Min;55 + - Microsoft.Compute/PostShareGallery3Min;8,Microsoft.Compute/PostShareGallery30Min;56 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -4076,12 +4094,12 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a1765d3a-d375-4b2c-806a-d2fe80ecde05?api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/745df98a-aae2-4367-b1c9-72f8cc0e1c22?api-version=2022-01-03 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T04:10:29.6798619+00:00\",\r\n \"endTime\": - \"2022-06-07T04:10:30.1329965+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"a1765d3a-d375-4b2c-806a-d2fe80ecde05\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-07T11:30:56.0961435+00:00\",\r\n \"endTime\": + \"2022-06-07T11:30:56.5649142+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"745df98a-aae2-4367-b1c9-72f8cc0e1c22\"\r\n}" headers: cache-control: - no-cache @@ -4090,7 +4108,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:10:59 GMT + - Tue, 07 Jun 2022 11:31:25 GMT expires: - '-1' pragma: @@ -4107,7 +4125,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4146 + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4150 status: code: 200 message: OK @@ -4127,7 +4145,7 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a1765d3a-d375-4b2c-806a-d2fe80ecde05?monitor=true&api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/745df98a-aae2-4367-b1c9-72f8cc0e1c22?monitor=true&api-version=2022-01-03 response: body: string: '' @@ -4137,7 +4155,7 @@ interactions: content-length: - '0' date: - - Tue, 07 Jun 2022 04:10:59 GMT + - Tue, 07 Jun 2022 11:31:25 GMT expires: - '-1' pragma: @@ -4150,7 +4168,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4145 + - Microsoft.Compute/GetOperationStatus3Min;1190,Microsoft.Compute/GetOperationStatus30Min;4149 status: code: 200 message: OK @@ -4176,7 +4194,7 @@ interactions: string: "{\r\n \"name\": \"gallery2000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2TPYU7FTV\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Private\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -4187,7 +4205,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:11:01 GMT + - Tue, 07 Jun 2022 11:31:28 GMT expires: - '-1' pragma: @@ -4204,7 +4222,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;329,Microsoft.Compute/GetGallery30Min;2310 + - Microsoft.Compute/GetGallery3Min;343,Microsoft.Compute/GetGallery30Min;2478 status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py index 03353f7c4b2..64bafcd4125 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 @@ -1023,7 +1023,7 @@ def test_create_disk_from_diff_gallery_image_version(self): }) self.kwargs['vm_id'] = \ - self.cmd('vm create -g {rg} -n {vm} --image ubuntults --data-disk-sizes-gb 10 --admin-username clitest1 ' + self.cmd('vm create -g {rg} -n {vm} --image debian --data-disk-sizes-gb 10 --admin-username clitest1 ' '--generate-ssh-key --nsg-rule NONE').get_output_in_json()['id'] time.sleep(70) From 57c85a22a0a9d8578bbdc158a4e864a38f761c3c Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Tue, 21 Jun 2022 10:09:30 +0800 Subject: [PATCH 4/5] test --- ..._disk_from_diff_gallery_image_version.yaml | 984 +++++++++--------- .../vm/tests/latest/test_vm_commands.py | 7 +- 2 files changed, 476 insertions(+), 515 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_disk_from_diff_gallery_image_version.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_disk_from_diff_gallery_image_version.yaml index 009401883cc..0eccae3c07f 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_disk_from_diff_gallery_image_version.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_disk_from_diff_gallery_image_version.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T11:07:55Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-20T14:02:42Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:08:02 GMT + - Mon, 20 Jun 2022 14:02:48 GMT expires: - '-1' pragma: @@ -41,112 +41,6 @@ interactions: status: code: 200 message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.27.1 - method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json - response: - body: - string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n - \ \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\": - {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"type\": - \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": - {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n - \ \"sku\": \"7.5\",\n \"version\": \"latest\"\n },\n - \ \"Debian\": {\n \"publisher\": \"Debian\",\n \"offer\": - \"debian-10\",\n \"sku\": \"10\",\n \"version\": \"latest\"\n - \ },\n \"Flatcar\": {\n \"publisher\": \"kinvolk\",\n - \ \"offer\": \"flatcar-container-linux-free\",\n \"sku\": - \"stable\",\n \"version\": \"latest\"\n },\n \"openSUSE-Leap\": - {\n \"publisher\": \"SUSE\",\n \"offer\": \"opensuse-leap-15-3\",\n - \ \"sku\": \"gen2\",\n \"version\": \"latest\"\n },\n - \ \"RHEL\": {\n \"publisher\": \"RedHat\",\n \"offer\": - \"RHEL\",\n \"sku\": \"7-LVM\",\n \"version\": \"latest\"\n - \ },\n \"SLES\": {\n \"publisher\": \"SUSE\",\n - \ \"offer\": \"sles-15-sp3\",\n \"sku\": \"gen2\",\n - \ \"version\": \"latest\"\n },\n \"UbuntuLTS\": - {\n \"publisher\": \"Canonical\",\n \"offer\": \"UbuntuServer\",\n - \ \"sku\": \"18.04-LTS\",\n \"version\": \"latest\"\n - \ }\n },\n \"Windows\": {\n \"Win2022Datacenter\": - {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": - \"WindowsServer\",\n \"sku\": \"2022-Datacenter\",\n \"version\": - \"latest\"\n },\n \"Win2022AzureEditionCore\": {\n \"publisher\": - \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": - \"2022-datacenter-azure-edition-core\",\n \"version\": \"latest\"\n - \ },\n \"Win2019Datacenter\": {\n \"publisher\": - \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": - \"2019-Datacenter\",\n \"version\": \"latest\"\n },\n - \ \"Win2016Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n - \ \"offer\": \"WindowsServer\",\n \"sku\": \"2016-Datacenter\",\n - \ \"version\": \"latest\"\n },\n \"Win2012R2Datacenter\": - {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": - \"WindowsServer\",\n \"sku\": \"2012-R2-Datacenter\",\n \"version\": - \"latest\"\n },\n \"Win2012Datacenter\": {\n \"publisher\": - \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": - \"2012-Datacenter\",\n \"version\": \"latest\"\n },\n - \ \"Win2008R2SP1\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n - \ \"offer\": \"WindowsServer\",\n \"sku\": \"2008-R2-SP1\",\n - \ \"version\": \"latest\"\n }\n }\n }\n }\n - \ }\n}\n" - headers: - accept-ranges: - - bytes - access-control-allow-origin: - - '*' - cache-control: - - max-age=300 - connection: - - keep-alive - content-length: - - '2974' - content-security-policy: - - default-src 'none'; style-src 'unsafe-inline'; sandbox - content-type: - - text/plain; charset=utf-8 - date: - - Tue, 07 Jun 2022 11:08:03 GMT - etag: - - W/"714b55b3e325c9c936add41807880935e033af5676c36a1ed8ab2e1e476a45f2" - expires: - - Tue, 07 Jun 2022 11:13:03 GMT - source-age: - - '220' - strict-transport-security: - - max-age=31536000 - vary: - - Authorization,Accept-Encoding,Origin - via: - - 1.1 varnish - x-cache: - - HIT - x-cache-hits: - - '1' - x-content-type-options: - - nosniff - x-fastly-request-id: - - 246c99eeb225842b195646aba7237f81644c4562 - x-frame-options: - - deny - x-github-request-id: - - EF40:0B26:308274:5187E4:629F0696 - x-served-by: - - cache-qpg1279-QPG - x-timer: - - S1654600083.341440,VS0,VE1 - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK - request: body: null headers: @@ -161,7 +55,7 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Debian/artifacttypes/vmimage/offers/debian-10/skus/10/versions?$top=1&$orderby=name%20desc&api-version=2022-03-01 response: @@ -177,7 +71,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:08:05 GMT + - Mon, 20 Jun 2022 14:02:49 GMT expires: - '-1' pragma: @@ -194,7 +88,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43997 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43999 status: code: 200 message: OK @@ -212,7 +106,7 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Debian/artifacttypes/vmimage/offers/debian-10/skus/10/versions/0.20220328.962?api-version=2022-03-01 response: @@ -235,7 +129,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:08:05 GMT + - Mon, 20 Jun 2022 14:02:50 GMT expires: - '-1' pragma: @@ -245,10 +139,14 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73998 + - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73999 status: code: 200 message: OK @@ -280,13 +178,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:08:07 GMT + - Mon, 20 Jun 2022 14:02:51 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding x-content-type-options: - nosniff status: @@ -343,18 +243,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/vm_deploy_oiVVHC4GPwI041kbJhKq8pZmIQlLzB35","name":"vm_deploy_oiVVHC4GPwI041kbJhKq8pZmIQlLzB35","type":"Microsoft.Resources/deployments","properties":{"templateHash":"274370791005235909","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-06-07T11:08:11.4047622Z","duration":"PT0.0009311S","correlationId":"1eac6f51-814c-4bea-be71-d89ae5a026f8","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/vm_deploy_pMo2j8TqeXQEf00iv5RTMe6JNyDrNzSi","name":"vm_deploy_pMo2j8TqeXQEf00iv5RTMe6JNyDrNzSi","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14131002411702648083","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-06-20T14:02:55.8191836Z","duration":"PT0.0008131S","correlationId":"a84f830e-fdb9-4887-8118-3579f012cdea","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/vm_deploy_oiVVHC4GPwI041kbJhKq8pZmIQlLzB35/operationStatuses/08585470067965815647?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/vm_deploy_pMo2j8TqeXQEf00iv5RTMe6JNyDrNzSi/operationStatuses/08585458731122298027?api-version=2021-04-01 cache-control: - no-cache content-length: - - '2629' + - '2631' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:08:11 GMT + - Mon, 20 Jun 2022 14:02:56 GMT expires: - '-1' pragma: @@ -364,7 +264,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1192' status: code: 201 message: Created @@ -384,7 +284,7 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585470067965815647?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585458731122298027?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -396,13 +296,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:08:41 GMT + - Mon, 20 Jun 2022 14:03:26 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding x-content-type-options: - nosniff status: @@ -424,7 +326,7 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585470067965815647?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585458731122298027?api-version=2021-04-01 response: body: string: '{"status":"Succeeded"}' @@ -436,13 +338,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:09:13 GMT + - Mon, 20 Jun 2022 14:03:57 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding x-content-type-options: - nosniff status: @@ -467,22 +371,24 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/vm_deploy_oiVVHC4GPwI041kbJhKq8pZmIQlLzB35","name":"vm_deploy_oiVVHC4GPwI041kbJhKq8pZmIQlLzB35","type":"Microsoft.Resources/deployments","properties":{"templateHash":"274370791005235909","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-06-07T11:09:00.7995671Z","duration":"PT49.395736S","correlationId":"1eac6f51-814c-4bea-be71-d89ae5a026f8","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/vm_deploy_pMo2j8TqeXQEf00iv5RTMe6JNyDrNzSi","name":"vm_deploy_pMo2j8TqeXQEf00iv5RTMe6JNyDrNzSi","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14131002411702648083","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-06-20T14:03:35.9688489Z","duration":"PT40.1504784S","correlationId":"a84f830e-fdb9-4887-8118-3579f012cdea","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}' headers: cache-control: - no-cache content-length: - - '3613' + - '3616' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:09:13 GMT + - Mon, 20 Jun 2022 14:03:57 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding x-content-type-options: - nosniff status: @@ -502,29 +408,29 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1?$expand=instanceView&api-version=2022-03-01 response: body: string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"5a560ebb-0684-4ecd-910f-e33d175df8ae\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"79fb5f7d-2c2a-4138-9e91-a77ffc41fa79\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \ \"version\": \"latest\",\r\n \"exactVersion\": \"0.20220328.962\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm1_OsDisk_1_cb5c5962f190403eace7a80c23b151be\",\r\n \"createOption\": + \"vm1_disk1_e3fe641fd434446891c58f38589ebb5b\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_cb5c5962f190403eace7a80c23b151be\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/vm1_disk1_e3fe641fd434446891c58f38589ebb5b\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": - 0,\r\n \"name\": \"vm1_disk2_25ae3c0afa9847a4aa3c1a2aa53c52c5\",\r\n + 0,\r\n \"name\": \"vm1_disk2_89085235cd2c4ef3803f163df4b9cacc\",\r\n \ \"createOption\": \"Empty\",\r\n \"caching\": \"None\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/vm1_disk2_25ae3c0afa9847a4aa3c1a2aa53c52c5\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/vm1_disk2_89085235cd2c4ef3803f163df4b9cacc\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 10,\r\n \"toBeDetached\": false\r\n }\r\n ]\r\n },\r\n \ \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n \"adminUsername\": @@ -544,33 +450,33 @@ interactions: [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2022-06-07T11:09:02+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_OsDisk_1_cb5c5962f190403eace7a80c23b151be\",\r\n + \"2022-06-20T14:03:35+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_e3fe641fd434446891c58f38589ebb5b\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-06-07T11:08:30.0107719+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-06-20T14:03:18.8157473+00:00\"\r\n \ }\r\n ]\r\n },\r\n {\r\n \"name\": - \"vm1_disk2_25ae3c0afa9847a4aa3c1a2aa53c52c5\",\r\n \"statuses\": + \"vm1_disk2_89085235cd2c4ef3803f163df4b9cacc\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-06-07T11:08:30.0107719+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-06-20T14:03:18.8157473+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\": \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-06-07T11:08:56.4014099+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-06-20T14:03:32.4103912+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n - \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2022-06-07T11:08:27.6826275+00:00\"\r\n + \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2022-06-20T14:03:17.346994+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '5104' + - '5094' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:09:14 GMT + - Mon, 20 Jun 2022 14:03:59 GMT expires: - '-1' pragma: @@ -587,7 +493,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31997 + - Microsoft.Compute/LowCostGet3Min;3994,Microsoft.Compute/LowCostGet30Min;31981 status: code: 200 message: OK @@ -611,12 +517,12 @@ interactions: response: body: string: "{\r\n \"name\": \"vm1VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\",\r\n - \ \"etag\": \"W/\\\"6074d176-ed5a-48ef-87f6-38232d9bf2ad\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"3d7af2a4-63cf-41a3-9709-5718bac6d970\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"a5567c5f-b213-4bab-9718-391c0725a157\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"30246ad5-2e5e-485d-999a-5a85605a46a3\",\r\n \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\",\r\n - \ \"etag\": \"W/\\\"6074d176-ed5a-48ef-87f6-38232d9bf2ad\\\"\",\r\n + \ \"etag\": \"W/\\\"3d7af2a4-63cf-41a3-9709-5718bac6d970\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -625,8 +531,8 @@ interactions: \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": - \"mwgttai4hhxehh1xngu33otz1f.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-0D-3A-35-31-7E\",\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": + \"cwnih4f5onrudnyidcw0zfpw2c.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"60-45-BD-00-FA-7E\",\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n @@ -639,9 +545,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:09:14 GMT + - Mon, 20 Jun 2022 14:04:00 GMT etag: - - W/"6074d176-ed5a-48ef-87f6-38232d9bf2ad" + - W/"3d7af2a4-63cf-41a3-9709-5718bac6d970" expires: - '-1' pragma: @@ -658,7 +564,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 23ceba9b-2fa1-48d3-b751-56934a1e29b4 + - 8a3cab3e-2312-4953-b561-b373565e511f status: code: 200 message: OK @@ -682,10 +588,10 @@ interactions: response: body: string: "{\r\n \"name\": \"vm1PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\",\r\n - \ \"etag\": \"W/\\\"8adee754-00f7-4c73-9a9d-265fa8a75995\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"2f5cb367-46ce-4ef5-b711-f2f5fae20a38\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"2ae8e12a-86b8-4aae-980c-4f8080ee104f\",\r\n - \ \"ipAddress\": \"20.245.56.3\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"718bbc67-9b93-413c-9d21-05081d00bfca\",\r\n + \ \"ipAddress\": \"20.66.100.120\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n @@ -694,13 +600,13 @@ interactions: cache-control: - no-cache content-length: - - '963' + - '965' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:09:14 GMT + - Mon, 20 Jun 2022 14:04:01 GMT etag: - - W/"8adee754-00f7-4c73-9a9d-265fa8a75995" + - W/"2f5cb367-46ce-4ef5-b711-f2f5fae20a38" expires: - '-1' pragma: @@ -717,7 +623,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8f81f377-1dad-4e36-89a5-e184e4e54170 + - 80c28c9d-f258-4052-af04-d20f436a96c5 status: code: 200 message: OK @@ -740,7 +646,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T11:07:55Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-20T14:02:42Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -749,7 +655,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:10:26 GMT + - Mon, 20 Jun 2022 14:05:11 GMT expires: - '-1' pragma: @@ -783,24 +689,24 @@ interactions: ParameterSetName: - -g --gallery-name --permissions --publisher-uri --publisher-email --eula --public-name-prefix User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-compute/1.0.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002?api-version=2021-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002?api-version=2021-10-01 response: body: string: "{\r\n \"name\": \"gallery1000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1XSP4X6ZU\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1IFR2MQQW\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Community\",\r\n \"communityGalleryInfo\": {\r\n \"communityGalleryEnabled\": false,\r\n \"publisherUri\": \"publisher1\",\r\n \"publisherContact\": \"test@microsoft.com\",\r\n - \ \"eula\": \"eula1\",\r\n \"publicNames\": [\r\n \"name1-fb0adcec-857a-4be4-96eb-42101b8de5ef\"\r\n + \ \"eula\": \"eula1\",\r\n \"publicNames\": [\r\n \"name1-e3f0375b-f49c-4b04-be26-d927bc5c7318\"\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/westus/capsOperations/5a6f63b8-4c48-4bd0-90d8-07c8ab6d27de?api-version=2021-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/846f6485-06b9-44ac-9823-a1f3ea6f1d45?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -808,7 +714,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:10:34 GMT + - Mon, 20 Jun 2022 14:05:17 GMT expires: - '-1' pragma: @@ -821,9 +727,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateGallery3Min;49,Microsoft.Compute/CreateUpdateGallery30Min;299 + - Microsoft.Compute/CreateUpdateGallery3Min;49,Microsoft.Compute/CreateUpdateGallery30Min;298 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 201 message: Created @@ -841,23 +747,23 @@ interactions: ParameterSetName: - -g --gallery-name --permissions --publisher-uri --publisher-email --eula --public-name-prefix User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-compute/1.0.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/5a6f63b8-4c48-4bd0-90d8-07c8ab6d27de?api-version=2021-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/846f6485-06b9-44ac-9823-a1f3ea6f1d45?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:10:34.2040754+00:00\",\r\n \"endTime\": - \"2022-06-07T11:10:34.4697375+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"5a6f63b8-4c48-4bd0-90d8-07c8ab6d27de\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:05:16.8704205+00:00\",\r\n \"endTime\": + \"2022-06-20T14:05:17.136035+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"846f6485-06b9-44ac-9823-a1f3ea6f1d45\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '183' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:11:05 GMT + - Mon, 20 Jun 2022 14:05:47 GMT expires: - '-1' pragma: @@ -874,7 +780,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4198 + - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4165 status: code: 200 message: OK @@ -892,19 +798,19 @@ interactions: ParameterSetName: - -g --gallery-name --permissions --publisher-uri --publisher-email --eula --public-name-prefix User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-compute/1.0.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002?api-version=2021-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002?api-version=2021-10-01 response: body: string: "{\r\n \"name\": \"gallery1000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1XSP4X6ZU\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1IFR2MQQW\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Community\",\r\n \"communityGalleryInfo\": {\r\n \"communityGalleryEnabled\": false,\r\n \"publisherUri\": \"publisher1\",\r\n \"publisherContact\": \"test@microsoft.com\",\r\n - \ \"eula\": \"eula1\",\r\n \"publicNames\": [\r\n \"name1-fb0adcec-857a-4be4-96eb-42101b8de5ef\"\r\n + \ \"eula\": \"eula1\",\r\n \"publicNames\": [\r\n \"name1-e3f0375b-f49c-4b04-be26-d927bc5c7318\"\r\n \ ]\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n \ }\r\n}" headers: @@ -915,7 +821,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:11:05 GMT + - Mon, 20 Jun 2022 14:05:48 GMT expires: - '-1' pragma: @@ -932,7 +838,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;346,Microsoft.Compute/GetGallery30Min;2496 + - Microsoft.Compute/GetGallery3Min;340,Microsoft.Compute/GetGallery30Min;2438 status: code: 200 message: OK @@ -954,25 +860,25 @@ interactions: ParameterSetName: - -g -r User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-compute/1.0.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002/share?api-version=2021-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002/share?api-version=2022-01-03 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b1095379-b258-4346-88fa-d157507ab5dd?api-version=2021-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f2855a60-3d8f-414a-b565-e499526dd415?api-version=2022-01-03 cache-control: - no-cache content-length: - '0' date: - - Tue, 07 Jun 2022 11:11:07 GMT + - Mon, 20 Jun 2022 14:05:49 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b1095379-b258-4346-88fa-d157507ab5dd?monitor=true&api-version=2021-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f2855a60-3d8f-414a-b565-e499526dd415?monitor=true&api-version=2022-01-03 pragma: - no-cache server: @@ -983,7 +889,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PostShareGallery3Min;9,Microsoft.Compute/PostShareGallery30Min;59 + - Microsoft.Compute/PostShareGallery3Min;9,Microsoft.Compute/PostShareGallery30Min;57 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -1003,14 +909,14 @@ interactions: ParameterSetName: - -g -r User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-compute/1.0.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b1095379-b258-4346-88fa-d157507ab5dd?api-version=2021-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f2855a60-3d8f-414a-b565-e499526dd415?api-version=2022-01-03 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:11:08.0798524+00:00\",\r\n \"endTime\": - \"2022-06-07T11:11:29.3769645+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"b1095379-b258-4346-88fa-d157507ab5dd\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:05:50.4814503+00:00\",\r\n \"endTime\": + \"2022-06-20T14:05:52.0127762+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"f2855a60-3d8f-414a-b565-e499526dd415\"\r\n}" headers: cache-control: - no-cache @@ -1019,7 +925,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:11:37 GMT + - Mon, 20 Jun 2022 14:06:20 GMT expires: - '-1' pragma: @@ -1036,7 +942,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1196,Microsoft.Compute/GetOperationStatus30Min;4196 + - Microsoft.Compute/GetOperationStatus3Min;1196,Microsoft.Compute/GetOperationStatus30Min;4163 status: code: 200 message: OK @@ -1054,9 +960,9 @@ interactions: ParameterSetName: - -g -r User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-compute/1.0.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b1095379-b258-4346-88fa-d157507ab5dd?monitor=true&api-version=2021-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f2855a60-3d8f-414a-b565-e499526dd415?monitor=true&api-version=2022-01-03 response: body: string: '' @@ -1066,7 +972,7 @@ interactions: content-length: - '0' date: - - Tue, 07 Jun 2022 11:11:38 GMT + - Mon, 20 Jun 2022 14:06:20 GMT expires: - '-1' pragma: @@ -1079,7 +985,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4195 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4162 status: code: 200 message: OK @@ -1102,7 +1008,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T11:07:55Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-20T14:02:42Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1111,7 +1017,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:11:39 GMT + - Mon, 20 Jun 2022 14:06:21 GMT expires: - '-1' pragma: @@ -1145,7 +1051,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type --os-state -p -f -s User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002/images/image1?api-version=2021-10-01 response: @@ -1159,7 +1065,7 @@ interactions: \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/2290c64f-c547-4525-a184-e9a6203259f6?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/d69f6292-300d-4877-bd24-018278396712?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -1167,7 +1073,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:11:48 GMT + - Mon, 20 Jun 2022 14:06:26 GMT expires: - '-1' pragma: @@ -1180,9 +1086,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateGalleryImage3Min;149,Microsoft.Compute/CreateUpdateGalleryImage30Min;749 + - Microsoft.Compute/CreateUpdateGalleryImage3Min;149,Microsoft.Compute/CreateUpdateGalleryImage30Min;748 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -1200,14 +1106,14 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type --os-state -p -f -s User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/2290c64f-c547-4525-a184-e9a6203259f6?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/d69f6292-300d-4877-bd24-018278396712?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:11:47.9553337+00:00\",\r\n \"endTime\": - \"2022-06-07T11:11:48.0803264+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"2290c64f-c547-4525-a184-e9a6203259f6\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:06:25.9676194+00:00\",\r\n \"endTime\": + \"2022-06-20T14:06:26.0770225+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"d69f6292-300d-4877-bd24-018278396712\"\r\n}" headers: cache-control: - no-cache @@ -1216,7 +1122,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:12:19 GMT + - Mon, 20 Jun 2022 14:06:56 GMT expires: - '-1' pragma: @@ -1233,7 +1139,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4192 + - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4160 status: code: 200 message: OK @@ -1251,7 +1157,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type --os-state -p -f -s User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002/images/image1?api-version=2021-10-01 response: @@ -1271,7 +1177,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:12:19 GMT + - Mon, 20 Jun 2022 14:06:56 GMT expires: - '-1' pragma: @@ -1288,7 +1194,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImage3Min;596,Microsoft.Compute/GetGalleryImage30Min;2996 + - Microsoft.Compute/GetGalleryImage3Min;590,Microsoft.Compute/GetGalleryImage30Min;2935 status: code: 200 message: OK @@ -1311,7 +1217,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T11:07:55Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-20T14:02:42Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1320,7 +1226,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:12:19 GMT + - Mon, 20 Jun 2022 14:06:57 GMT expires: - '-1' pragma: @@ -1354,7 +1260,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002/images/image1/versions/1.1.2?api-version=2021-10-01 response: @@ -1365,13 +1271,13 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-07T11:12:26.5027514+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-20T14:07:02.0319337+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\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/westus/capsOperations/39ed65a8-8c4f-4245-8f99-948db577321b?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b47f128f-0d33-4966-8234-c69130510203?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -1379,7 +1285,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:12:26 GMT + - Mon, 20 Jun 2022 14:07:02 GMT expires: - '-1' pragma: @@ -1392,9 +1298,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;374,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1199 + - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;374,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1198 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1196' status: code: 201 message: Created @@ -1412,13 +1318,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/39ed65a8-8c4f-4245-8f99-948db577321b?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b47f128f-0d33-4966-8234-c69130510203?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:12:26.5027514+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"39ed65a8-8c4f-4245-8f99-948db577321b\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:07:02.0319337+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"b47f128f-0d33-4966-8234-c69130510203\"\r\n}" headers: cache-control: - no-cache @@ -1427,7 +1333,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:13:28 GMT + - Mon, 20 Jun 2022 14:08:03 GMT expires: - '-1' pragma: @@ -1444,7 +1350,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4191 + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4158 status: code: 200 message: OK @@ -1462,13 +1368,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/39ed65a8-8c4f-4245-8f99-948db577321b?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b47f128f-0d33-4966-8234-c69130510203?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:12:26.5027514+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"39ed65a8-8c4f-4245-8f99-948db577321b\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:07:02.0319337+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"b47f128f-0d33-4966-8234-c69130510203\"\r\n}" headers: cache-control: - no-cache @@ -1477,7 +1383,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:14:28 GMT + - Mon, 20 Jun 2022 14:09:03 GMT expires: - '-1' pragma: @@ -1494,7 +1400,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4189 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4157 status: code: 200 message: OK @@ -1512,13 +1418,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/39ed65a8-8c4f-4245-8f99-948db577321b?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b47f128f-0d33-4966-8234-c69130510203?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:12:26.5027514+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"39ed65a8-8c4f-4245-8f99-948db577321b\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:07:02.0319337+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"b47f128f-0d33-4966-8234-c69130510203\"\r\n}" headers: cache-control: - no-cache @@ -1527,7 +1433,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:15:29 GMT + - Mon, 20 Jun 2022 14:10:04 GMT expires: - '-1' pragma: @@ -1544,7 +1450,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4187 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4168 status: code: 200 message: OK @@ -1562,13 +1468,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/39ed65a8-8c4f-4245-8f99-948db577321b?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b47f128f-0d33-4966-8234-c69130510203?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:12:26.5027514+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"39ed65a8-8c4f-4245-8f99-948db577321b\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:07:02.0319337+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"b47f128f-0d33-4966-8234-c69130510203\"\r\n}" headers: cache-control: - no-cache @@ -1577,7 +1483,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:16:30 GMT + - Mon, 20 Jun 2022 14:11:05 GMT expires: - '-1' pragma: @@ -1594,7 +1500,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4185 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4166 status: code: 200 message: OK @@ -1612,13 +1518,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/39ed65a8-8c4f-4245-8f99-948db577321b?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b47f128f-0d33-4966-8234-c69130510203?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:12:26.5027514+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"39ed65a8-8c4f-4245-8f99-948db577321b\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:07:02.0319337+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"b47f128f-0d33-4966-8234-c69130510203\"\r\n}" headers: cache-control: - no-cache @@ -1627,7 +1533,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:17:31 GMT + - Mon, 20 Jun 2022 14:12:06 GMT expires: - '-1' pragma: @@ -1644,7 +1550,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4183 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4164 status: code: 200 message: OK @@ -1662,13 +1568,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/39ed65a8-8c4f-4245-8f99-948db577321b?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b47f128f-0d33-4966-8234-c69130510203?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:12:26.5027514+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"39ed65a8-8c4f-4245-8f99-948db577321b\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:07:02.0319337+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"b47f128f-0d33-4966-8234-c69130510203\"\r\n}" headers: cache-control: - no-cache @@ -1677,7 +1583,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:18:32 GMT + - Mon, 20 Jun 2022 14:13:06 GMT expires: - '-1' pragma: @@ -1694,7 +1600,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4181 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4162 status: code: 200 message: OK @@ -1712,14 +1618,14 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/39ed65a8-8c4f-4245-8f99-948db577321b?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b47f128f-0d33-4966-8234-c69130510203?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:12:26.5027514+00:00\",\r\n \"endTime\": - \"2022-06-07T11:19:13.1177947+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"39ed65a8-8c4f-4245-8f99-948db577321b\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:07:02.0319337+00:00\",\r\n \"endTime\": + \"2022-06-20T14:13:48.8009109+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"b47f128f-0d33-4966-8234-c69130510203\"\r\n}" headers: cache-control: - no-cache @@ -1728,7 +1634,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:19:32 GMT + - Mon, 20 Jun 2022 14:14:07 GMT expires: - '-1' pragma: @@ -1745,7 +1651,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4179 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4160 status: code: 200 message: OK @@ -1763,7 +1669,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002/images/image1/versions/1.1.2?api-version=2021-10-01 response: @@ -1774,7 +1680,7 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-07T11:12:26.5027514+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-20T14:07:02.0319337+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n \ },\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 30,\r\n \"hostCaching\": @@ -1790,7 +1696,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:19:33 GMT + - Mon, 20 Jun 2022 14:14:08 GMT expires: - '-1' pragma: @@ -1807,7 +1713,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImageVersion3Min;1999,Microsoft.Compute/GetGalleryImageVersion30Min;9997 + - Microsoft.Compute/GetGalleryImageVersion3Min;1991,Microsoft.Compute/GetGalleryImageVersion30Min;9916 status: code: 200 message: OK @@ -1825,7 +1731,7 @@ interactions: ParameterSetName: - --gallery-name --resource-group --select User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002?api-version=2021-10-01&$select=Permissions response: @@ -1833,11 +1739,11 @@ interactions: string: "{\r\n \"name\": \"gallery1000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1XSP4X6ZU\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1IFR2MQQW\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Community\",\r\n \"communityGalleryInfo\": {\r\n \"communityGalleryEnabled\": true,\r\n \"publisherUri\": \"publisher1\",\r\n \"publisherContact\": \"test@microsoft.com\",\r\n - \ \"eula\": \"eula1\",\r\n \"publicNames\": [\r\n \"name1-fb0adcec-857a-4be4-96eb-42101b8de5ef\"\r\n + \ \"eula\": \"eula1\",\r\n \"publicNames\": [\r\n \"name1-e3f0375b-f49c-4b04-be26-d927bc5c7318\"\r\n \ ]\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n \ }\r\n}" headers: @@ -1848,7 +1754,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:19:35 GMT + - Mon, 20 Jun 2022 14:14:09 GMT expires: - '-1' pragma: @@ -1865,7 +1771,61 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;349,Microsoft.Compute/GetGallery30Min;2495 + - Microsoft.Compute/GetGallery3Min;345,Microsoft.Compute/GetGallery30Min;2435 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version show-community + Connection: + - keep-alive + ParameterSetName: + - --gallery-image-definition --public-gallery-name --location --gallery-image-version + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/communityGalleries/name1-e3f0375b-f49c-4b04-be26-d927bc5c7318/images/image1/versions/1.1.2?api-version=2022-01-03 + response: + body: + string: "{\r\n \"identifier\": {\r\n \"uniqueId\": \"/CommunityGalleries/name1-e3f0375b-f49c-4b04-be26-d927bc5c7318/Images/image1/Versions/1.1.2\"\r\n + \ },\r\n \"properties\": {\r\n \"publishedDate\": \"2022-06-20T14:07:02.0319337+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"storageProfile\": {\r\n \"osDiskImage\": + {\r\n \"diskSizeGB\": 30,\r\n \"hostCaching\": \"ReadWrite\"\r\n + \ },\r\n \"dataDiskImages\": [\r\n {\r\n \"lun\": + 0,\r\n \"diskSizeGB\": 10,\r\n \"hostCaching\": \"None\"\r\n + \ }\r\n ]\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"name\": + \"1.1.2\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '571' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 20 Jun 2022 14:14:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff status: code: 200 message: OK @@ -1888,7 +1848,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T11:07:55Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-20T14:02:42Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1897,7 +1857,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:19:36 GMT + - Mon, 20 Jun 2022 14:14:12 GMT expires: - '-1' pragma: @@ -1914,7 +1874,7 @@ interactions: - request: body: '{"location": "westus", "tags": {}, "sku": {"name": "Premium_LRS"}, "properties": {"hyperVGeneration": "V1", "creationData": {"createOption": "FromImage", "galleryImageReference": - {"communityGalleryImageId": "/CommunityGalleries/name1-fb0adcec-857a-4be4-96eb-42101b8de5ef/Images/image1/Versions/1.1.2"}}}}' + {"communityGalleryImageId": "/CommunityGalleries/name1-e3f0375b-f49c-4b04-be26-d927bc5c7318/Images/image1/Versions/1.1.2"}}}}' headers: Accept: - application/json @@ -1931,7 +1891,7 @@ interactions: ParameterSetName: - -g -n --gallery-image-reference User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk1?api-version=2022-03-02 response: @@ -1941,12 +1901,12 @@ interactions: {\r\n \"osType\": \"Linux\",\r\n \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \ \"createOption\": \"FromImage\",\r\n \"galleryImageReference\": - {\r\n \"communityGalleryImageId\": \"/CommunityGalleries/name1-fb0adcec-857a-4be4-96eb-42101b8de5ef/Images/image1/Versions/1.1.2\"\r\n + {\r\n \"communityGalleryImageId\": \"/CommunityGalleries/name1-e3f0375b-f49c-4b04-be26-d927bc5c7318/Images/image1/Versions/1.1.2\"\r\n \ }\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/westus/DiskOperations/b3b2862e-3487-4914-bfd8-4df90b5df40f?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/a860bdcb-f992-4de7-810f-96b42f3a39cf?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 cache-control: - no-cache content-length: @@ -1954,11 +1914,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:19:42 GMT + - Mon, 20 Jun 2022 14:14:17 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/b3b2862e-3487-4914-bfd8-4df90b5df40f?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/a860bdcb-f992-4de7-810f-96b42f3a39cf?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -1969,9 +1929,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateDisks3Min;999,Microsoft.Compute/CreateUpdateDisks30Min;7997 + - Microsoft.Compute/CreateUpdateDisks3Min;999,Microsoft.Compute/CreateUpdateDisks30Min;7995 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -1989,13 +1949,13 @@ interactions: ParameterSetName: - -g -n --gallery-image-reference User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/b3b2862e-3487-4914-bfd8-4df90b5df40f?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/a860bdcb-f992-4de7-810f-96b42f3a39cf?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:19:42.4369759+00:00\",\r\n \"endTime\": - \"2022-06-07T11:19:43.3119766+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2022-06-20T14:14:17.7480352+00:00\",\r\n \"endTime\": + \"2022-06-20T14:14:18.4199562+00:00\",\r\n \"status\": \"Succeeded\",\r\n \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"disk1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk1\",\r\n \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westus\",\r\n @@ -2003,17 +1963,17 @@ interactions: \"Premium\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n \ \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n \ \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \"createOption\": - \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/CommunityGalleries/name1-fb0adcec-857a-4be4-96eb-42101b8de5ef/Images/image1/Versions/1.1.2\"\r\n + \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/CommunityGalleries/name1-e3f0375b-f49c-4b04-be26-d927bc5c7318/Images/image1/Versions/1.1.2\"\r\n \ },\r\n \"galleryImageReference\": {\r\n \"communityGalleryImageId\": - \"/CommunityGalleries/name1-fb0adcec-857a-4be4-96eb-42101b8de5ef/Images/image1/Versions/1.1.2\"\r\n + \"/CommunityGalleries/name1-e3f0375b-f49c-4b04-be26-d927bc5c7318/Images/image1/Versions/1.1.2\"\r\n \ }\r\n },\r\n \"diskSizeGB\": 30,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": - \"2022-06-07T11:19:42.6088496+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"2022-06-20T14:14:17.8574154+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32212254720,\r\n - \ \"uniqueId\": \"c103e6d1-2939-4c1f-92b4-2572a0cb604d\",\r\n \"tier\": - \"P4\"\r\n }\r\n}\r\n },\r\n \"name\": \"b3b2862e-3487-4914-bfd8-4df90b5df40f\"\r\n}" + \ \"uniqueId\": \"8058c76a-e4ff-4898-8d7a-f8e62c1de340\",\r\n \"tier\": + \"P4\"\r\n }\r\n}\r\n },\r\n \"name\": \"a860bdcb-f992-4de7-810f-96b42f3a39cf\"\r\n}" headers: cache-control: - no-cache @@ -2022,7 +1982,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:19:44 GMT + - Mon, 20 Jun 2022 14:14:19 GMT expires: - '-1' pragma: @@ -2039,7 +1999,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49997,Microsoft.Compute/GetOperation30Min;399973 + - Microsoft.Compute/GetOperation3Min;49997,Microsoft.Compute/GetOperation30Min;399954 status: code: 200 message: OK @@ -2057,7 +2017,7 @@ interactions: ParameterSetName: - -g -n --gallery-image-reference User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk1?api-version=2022-03-02 response: @@ -2068,16 +2028,16 @@ interactions: \"Premium\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n \ \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n \ \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \"createOption\": - \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/CommunityGalleries/name1-fb0adcec-857a-4be4-96eb-42101b8de5ef/Images/image1/Versions/1.1.2\"\r\n + \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/CommunityGalleries/name1-e3f0375b-f49c-4b04-be26-d927bc5c7318/Images/image1/Versions/1.1.2\"\r\n \ },\r\n \"galleryImageReference\": {\r\n \"communityGalleryImageId\": - \"/CommunityGalleries/name1-fb0adcec-857a-4be4-96eb-42101b8de5ef/Images/image1/Versions/1.1.2\"\r\n + \"/CommunityGalleries/name1-e3f0375b-f49c-4b04-be26-d927bc5c7318/Images/image1/Versions/1.1.2\"\r\n \ }\r\n },\r\n \"diskSizeGB\": 30,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": - \"2022-06-07T11:19:42.6088496+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"2022-06-20T14:14:17.8574154+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32212254720,\r\n - \ \"uniqueId\": \"c103e6d1-2939-4c1f-92b4-2572a0cb604d\",\r\n \"tier\": + \ \"uniqueId\": \"8058c76a-e4ff-4898-8d7a-f8e62c1de340\",\r\n \"tier\": \"P4\"\r\n }\r\n}" headers: cache-control: @@ -2087,7 +2047,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:19:45 GMT + - Mon, 20 Jun 2022 14:14:19 GMT expires: - '-1' pragma: @@ -2104,7 +2064,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4995,Microsoft.Compute/LowCostGet30Min;39992 + - Microsoft.Compute/LowCostGet3Min;4985,Microsoft.Compute/LowCostGet30Min;39896 status: code: 200 message: OK @@ -2126,7 +2086,7 @@ interactions: ParameterSetName: - --gallery-name -g User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002/share?api-version=2022-01-03 response: @@ -2134,17 +2094,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/c09a97f3-581b-40c1-bbab-873fb1e13519?api-version=2022-01-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/7a56e730-f621-40f0-96ea-dd46652d0d9c?api-version=2022-01-03 cache-control: - no-cache content-length: - '0' date: - - Tue, 07 Jun 2022 11:19:47 GMT + - Mon, 20 Jun 2022 14:14:21 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/c09a97f3-581b-40c1-bbab-873fb1e13519?monitor=true&api-version=2022-01-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/7a56e730-f621-40f0-96ea-dd46652d0d9c?monitor=true&api-version=2022-01-03 pragma: - no-cache server: @@ -2155,9 +2115,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PostShareGallery3Min;9,Microsoft.Compute/PostShareGallery30Min;58 + - Microsoft.Compute/PostShareGallery3Min;9,Microsoft.Compute/PostShareGallery30Min;56 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -2175,14 +2135,14 @@ interactions: ParameterSetName: - --gallery-name -g User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/c09a97f3-581b-40c1-bbab-873fb1e13519?api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/7a56e730-f621-40f0-96ea-dd46652d0d9c?api-version=2022-01-03 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:19:47.3994387+00:00\",\r\n \"endTime\": - \"2022-06-07T11:19:49.0557396+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"c09a97f3-581b-40c1-bbab-873fb1e13519\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:14:22.3807048+00:00\",\r\n \"endTime\": + \"2022-06-20T14:14:24.0995721+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"7a56e730-f621-40f0-96ea-dd46652d0d9c\"\r\n}" headers: cache-control: - no-cache @@ -2191,7 +2151,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:20:17 GMT + - Mon, 20 Jun 2022 14:14:52 GMT expires: - '-1' pragma: @@ -2208,7 +2168,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4176 + - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4157 status: code: 200 message: OK @@ -2226,9 +2186,9 @@ interactions: ParameterSetName: - --gallery-name -g User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/c09a97f3-581b-40c1-bbab-873fb1e13519?monitor=true&api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/7a56e730-f621-40f0-96ea-dd46652d0d9c?monitor=true&api-version=2022-01-03 response: body: string: '' @@ -2238,7 +2198,7 @@ interactions: content-length: - '0' date: - - Tue, 07 Jun 2022 11:20:17 GMT + - Mon, 20 Jun 2022 14:14:52 GMT expires: - '-1' pragma: @@ -2251,7 +2211,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4175 + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4156 status: code: 200 message: OK @@ -2269,7 +2229,7 @@ interactions: ParameterSetName: - --gallery-name --resource-group --select User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002?api-version=2021-10-01&$select=Permissions response: @@ -2277,7 +2237,7 @@ interactions: string: "{\r\n \"name\": \"gallery1000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1XSP4X6ZU\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1IFR2MQQW\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Private\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -2288,7 +2248,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:20:19 GMT + - Mon, 20 Jun 2022 14:14:53 GMT expires: - '-1' pragma: @@ -2305,7 +2265,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;348,Microsoft.Compute/GetGallery30Min;2494 + - Microsoft.Compute/GetGallery3Min;342,Microsoft.Compute/GetGallery30Min;2431 status: code: 200 message: OK @@ -2328,7 +2288,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T11:07:55Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-20T14:02:42Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -2337,7 +2297,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:20:20 GMT + - Mon, 20 Jun 2022 14:14:54 GMT expires: - '-1' pragma: @@ -2370,20 +2330,20 @@ interactions: ParameterSetName: - -g --gallery-name --permissions User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-compute/1.0.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003?api-version=2021-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003?api-version=2021-10-01 response: body: string: "{\r\n \"name\": \"gallery2000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Groups\"\r\n },\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/35418ed2-0af5-4e72-9768-f85176bbe386?api-version=2021-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/307358d5-cb50-44ca-beba-56f7786e69e2?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -2391,7 +2351,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:20:27 GMT + - Mon, 20 Jun 2022 14:15:00 GMT expires: - '-1' pragma: @@ -2424,14 +2384,14 @@ interactions: ParameterSetName: - -g --gallery-name --permissions User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-compute/1.0.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/35418ed2-0af5-4e72-9768-f85176bbe386?api-version=2021-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/307358d5-cb50-44ca-beba-56f7786e69e2?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:20:26.8687293+00:00\",\r\n \"endTime\": - \"2022-06-07T11:20:27.0093797+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"35418ed2-0af5-4e72-9768-f85176bbe386\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:14:59.6169247+00:00\",\r\n \"endTime\": + \"2022-06-20T14:14:59.7420211+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"307358d5-cb50-44ca-beba-56f7786e69e2\"\r\n}" headers: cache-control: - no-cache @@ -2440,7 +2400,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:20:57 GMT + - Mon, 20 Jun 2022 14:15:31 GMT expires: - '-1' pragma: @@ -2457,7 +2417,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4173 + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4166 status: code: 200 message: OK @@ -2475,15 +2435,15 @@ interactions: ParameterSetName: - -g --gallery-name --permissions User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-compute/1.0.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003?api-version=2021-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003?api-version=2021-10-01 response: body: string: "{\r\n \"name\": \"gallery2000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Groups\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -2494,7 +2454,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:20:57 GMT + - Mon, 20 Jun 2022 14:15:31 GMT expires: - '-1' pragma: @@ -2511,7 +2471,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;340,Microsoft.Compute/GetGallery30Min;2486 + - Microsoft.Compute/GetGallery3Min;337,Microsoft.Compute/GetGallery30Min;2432 status: code: 200 message: OK @@ -2534,7 +2494,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T11:07:55Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-20T14:02:42Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -2543,7 +2503,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:20:59 GMT + - Mon, 20 Jun 2022 14:15:31 GMT expires: - '-1' pragma: @@ -2577,7 +2537,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type --os-state -p -f -s User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003/images/image2?api-version=2021-10-01 response: @@ -2591,7 +2551,7 @@ interactions: \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/e5ec7f17-501e-4736-b92d-f09521373ac5?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/420c61dd-fec5-49e9-8a47-059ef442547f?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -2599,7 +2559,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:21:10 GMT + - Mon, 20 Jun 2022 14:15:36 GMT expires: - '-1' pragma: @@ -2614,7 +2574,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGalleryImage3Min;149,Microsoft.Compute/CreateUpdateGalleryImage30Min;748 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 201 message: Created @@ -2632,14 +2592,14 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type --os-state -p -f -s User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/e5ec7f17-501e-4736-b92d-f09521373ac5?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/420c61dd-fec5-49e9-8a47-059ef442547f?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:21:10.6505664+00:00\",\r\n \"endTime\": - \"2022-06-07T11:21:10.7599315+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"e5ec7f17-501e-4736-b92d-f09521373ac5\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:15:35.3374853+00:00\",\r\n \"endTime\": + \"2022-06-20T14:15:35.4469039+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"420c61dd-fec5-49e9-8a47-059ef442547f\"\r\n}" headers: cache-control: - no-cache @@ -2648,7 +2608,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:21:41 GMT + - Mon, 20 Jun 2022 14:16:05 GMT expires: - '-1' pragma: @@ -2665,7 +2625,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4171 + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4164 status: code: 200 message: OK @@ -2683,7 +2643,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type --os-state -p -f -s User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003/images/image2?api-version=2021-10-01 response: @@ -2703,7 +2663,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:21:42 GMT + - Mon, 20 Jun 2022 14:16:06 GMT expires: - '-1' pragma: @@ -2720,7 +2680,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImage3Min;595,Microsoft.Compute/GetGalleryImage30Min;2991 + - Microsoft.Compute/GetGalleryImage3Min;590,Microsoft.Compute/GetGalleryImage30Min;2934 status: code: 200 message: OK @@ -2743,7 +2703,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T11:07:55Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-20T14:02:42Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -2752,7 +2712,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:21:42 GMT + - Mon, 20 Jun 2022 14:16:08 GMT expires: - '-1' pragma: @@ -2786,7 +2746,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003/images/image2/versions/1.1.2?api-version=2021-10-01 response: @@ -2797,13 +2757,13 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-07T11:21:49.3229345+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-20T14:16:09.7298679+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\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/westus/capsOperations/d82096e0-2588-4dd3-912a-c77643615f63?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -2811,7 +2771,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:21:51 GMT + - Mon, 20 Jun 2022 14:16:09 GMT expires: - '-1' pragma: @@ -2826,7 +2786,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;374,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1198 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1194' status: code: 201 message: Created @@ -2844,13 +2804,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/d82096e0-2588-4dd3-912a-c77643615f63?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:21:49.3229345+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"d82096e0-2588-4dd3-912a-c77643615f63\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:16:09.7143341+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b\"\r\n}" headers: cache-control: - no-cache @@ -2859,7 +2819,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:22:51 GMT + - Mon, 20 Jun 2022 14:17:10 GMT expires: - '-1' pragma: @@ -2876,7 +2836,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4169 + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4162 status: code: 200 message: OK @@ -2894,13 +2854,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/d82096e0-2588-4dd3-912a-c77643615f63?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:21:49.3229345+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"d82096e0-2588-4dd3-912a-c77643615f63\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:16:09.7143341+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b\"\r\n}" headers: cache-control: - no-cache @@ -2909,7 +2869,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:23:53 GMT + - Mon, 20 Jun 2022 14:18:11 GMT expires: - '-1' pragma: @@ -2926,7 +2886,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4167 + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4161 status: code: 200 message: OK @@ -2944,13 +2904,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/d82096e0-2588-4dd3-912a-c77643615f63?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:21:49.3229345+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"d82096e0-2588-4dd3-912a-c77643615f63\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:16:09.7143341+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b\"\r\n}" headers: cache-control: - no-cache @@ -2959,7 +2919,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:24:53 GMT + - Mon, 20 Jun 2022 14:19:12 GMT expires: - '-1' pragma: @@ -2976,7 +2936,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4165 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4159 status: code: 200 message: OK @@ -2994,13 +2954,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/d82096e0-2588-4dd3-912a-c77643615f63?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:21:49.3229345+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"d82096e0-2588-4dd3-912a-c77643615f63\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:16:09.7143341+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b\"\r\n}" headers: cache-control: - no-cache @@ -3009,7 +2969,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:25:54 GMT + - Mon, 20 Jun 2022 14:20:12 GMT expires: - '-1' pragma: @@ -3026,7 +2986,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4163 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4165 status: code: 200 message: OK @@ -3044,13 +3004,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/d82096e0-2588-4dd3-912a-c77643615f63?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:21:49.3229345+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"d82096e0-2588-4dd3-912a-c77643615f63\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:16:09.7143341+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b\"\r\n}" headers: cache-control: - no-cache @@ -3059,7 +3019,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:26:56 GMT + - Mon, 20 Jun 2022 14:21:13 GMT expires: - '-1' pragma: @@ -3076,7 +3036,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4161 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4163 status: code: 200 message: OK @@ -3094,13 +3054,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/d82096e0-2588-4dd3-912a-c77643615f63?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:21:49.3229345+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"d82096e0-2588-4dd3-912a-c77643615f63\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:16:09.7143341+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b\"\r\n}" headers: cache-control: - no-cache @@ -3109,7 +3069,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:27:57 GMT + - Mon, 20 Jun 2022 14:22:13 GMT expires: - '-1' pragma: @@ -3126,7 +3086,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4160 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4161 status: code: 200 message: OK @@ -3144,13 +3104,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/d82096e0-2588-4dd3-912a-c77643615f63?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:21:49.3229345+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"d82096e0-2588-4dd3-912a-c77643615f63\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:16:09.7143341+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b\"\r\n}" headers: cache-control: - no-cache @@ -3159,7 +3119,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:28:58 GMT + - Mon, 20 Jun 2022 14:23:14 GMT expires: - '-1' pragma: @@ -3176,7 +3136,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4158 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4159 status: code: 200 message: OK @@ -3194,23 +3154,23 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/d82096e0-2588-4dd3-912a-c77643615f63?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:21:49.3229345+00:00\",\r\n \"endTime\": - \"2022-06-07T11:29:20.329152+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"d82096e0-2588-4dd3-912a-c77643615f63\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:16:09.7143341+00:00\",\r\n \"endTime\": + \"2022-06-20T14:23:17.4856793+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b\"\r\n}" headers: cache-control: - no-cache content-length: - - '183' + - '184' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:29:58 GMT + - Mon, 20 Jun 2022 14:24:15 GMT expires: - '-1' pragma: @@ -3227,7 +3187,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4156 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4157 status: code: 200 message: OK @@ -3245,7 +3205,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003/images/image2/versions/1.1.2?api-version=2021-10-01 response: @@ -3256,7 +3216,7 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-07T11:21:49.3229345+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-20T14:16:09.7298679+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n \ },\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 30,\r\n \"hostCaching\": @@ -3272,7 +3232,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:29:59 GMT + - Mon, 20 Jun 2022 14:24:16 GMT expires: - '-1' pragma: @@ -3289,7 +3249,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImageVersion3Min;1997,Microsoft.Compute/GetGalleryImageVersion30Min;9988 + - Microsoft.Compute/GetGalleryImageVersion3Min;1989,Microsoft.Compute/GetGalleryImageVersion30Min;9912 status: code: 200 message: OK @@ -3312,7 +3272,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T11:07:55Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-20T14:02:42Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -3321,7 +3281,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:29:59 GMT + - Mon, 20 Jun 2022 14:24:17 GMT expires: - '-1' pragma: @@ -3355,7 +3315,7 @@ interactions: ParameterSetName: - -g -n --gallery-image-reference User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk2?api-version=2022-03-02 response: @@ -3370,7 +3330,7 @@ interactions: true\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/c9cc0032-cb55-4770-b2a6-6975b8e08cc5?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/95fb16b7-b43e-4d21-bef3-dc64ac42fe8d?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 cache-control: - no-cache content-length: @@ -3378,11 +3338,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:30:03 GMT + - Mon, 20 Jun 2022 14:24:21 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/c9cc0032-cb55-4770-b2a6-6975b8e08cc5?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/95fb16b7-b43e-4d21-bef3-dc64ac42fe8d?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -3395,7 +3355,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateDisks3Min;999,Microsoft.Compute/CreateUpdateDisks30Min;7994 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1192' status: code: 202 message: Accepted @@ -3413,13 +3373,13 @@ interactions: ParameterSetName: - -g -n --gallery-image-reference User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/c9cc0032-cb55-4770-b2a6-6975b8e08cc5?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/95fb16b7-b43e-4d21-bef3-dc64ac42fe8d?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:30:04.2678003+00:00\",\r\n \"endTime\": - \"2022-06-07T11:30:04.8146507+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2022-06-20T14:24:22.0069+00:00\",\r\n \"endTime\": + \"2022-06-20T14:24:22.5850126+00:00\",\r\n \"status\": \"Succeeded\",\r\n \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"disk2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk2\",\r\n \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westus\",\r\n @@ -3433,19 +3393,19 @@ interactions: 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": - \"2022-06-07T11:30:04.3146479+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"2022-06-20T14:24:22.0537803+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32212254720,\r\n - \ \"uniqueId\": \"d6b97282-78fb-4fa3-8793-3be2f4765548\",\r\n \"tier\": - \"P4\"\r\n }\r\n}\r\n },\r\n \"name\": \"c9cc0032-cb55-4770-b2a6-6975b8e08cc5\"\r\n}" + \ \"uniqueId\": \"c89140fa-0359-4f4d-9599-84d63f484f04\",\r\n \"tier\": + \"P4\"\r\n }\r\n}\r\n },\r\n \"name\": \"95fb16b7-b43e-4d21-bef3-dc64ac42fe8d\"\r\n}" headers: cache-control: - no-cache content-length: - - '1801' + - '1798' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:30:06 GMT + - Mon, 20 Jun 2022 14:24:24 GMT expires: - '-1' pragma: @@ -3480,7 +3440,7 @@ interactions: ParameterSetName: - -g -n --gallery-image-reference User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk2?api-version=2022-03-02 response: @@ -3497,9 +3457,9 @@ interactions: 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": - \"2022-06-07T11:30:04.3146479+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"2022-06-20T14:24:22.0537803+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32212254720,\r\n - \ \"uniqueId\": \"d6b97282-78fb-4fa3-8793-3be2f4765548\",\r\n \"tier\": + \ \"uniqueId\": \"c89140fa-0359-4f4d-9599-84d63f484f04\",\r\n \"tier\": \"P4\"\r\n }\r\n}" headers: cache-control: @@ -3509,7 +3469,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:30:06 GMT + - Mon, 20 Jun 2022 14:24:24 GMT expires: - '-1' pragma: @@ -3526,7 +3486,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4995,Microsoft.Compute/LowCostGet30Min;39984 + - Microsoft.Compute/LowCostGet3Min;4987,Microsoft.Compute/LowCostGet30Min;39889 status: code: 200 message: OK @@ -3544,7 +3504,7 @@ interactions: ParameterSetName: - --gallery-name --resource-group --select User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003?api-version=2021-10-01&$select=Permissions response: @@ -3552,7 +3512,7 @@ interactions: string: "{\r\n \"name\": \"gallery2000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Groups\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -3563,7 +3523,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:30:09 GMT + - Mon, 20 Jun 2022 14:24:25 GMT expires: - '-1' pragma: @@ -3580,7 +3540,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;349,Microsoft.Compute/GetGallery30Min;2484 + - Microsoft.Compute/GetGallery3Min;343,Microsoft.Compute/GetGallery30Min;2424 status: code: 200 message: OK @@ -3603,7 +3563,7 @@ interactions: ParameterSetName: - --gallery-name -g --subscription-ids --tenant-ids User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003/share?api-version=2022-01-03 response: @@ -3611,17 +3571,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/602bbaa6-df58-4ac5-9b55-320c4224fa15?api-version=2022-01-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/ee67704e-9ee9-47c3-bc10-9695f840b1d5?api-version=2022-01-03 cache-control: - no-cache content-length: - '0' date: - - Tue, 07 Jun 2022 11:30:10 GMT + - Mon, 20 Jun 2022 14:24:26 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/602bbaa6-df58-4ac5-9b55-320c4224fa15?monitor=true&api-version=2022-01-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/ee67704e-9ee9-47c3-bc10-9695f840b1d5?monitor=true&api-version=2022-01-03 pragma: - no-cache server: @@ -3652,14 +3612,14 @@ interactions: ParameterSetName: - --gallery-name -g --subscription-ids --tenant-ids User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/602bbaa6-df58-4ac5-9b55-320c4224fa15?api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/ee67704e-9ee9-47c3-bc10-9695f840b1d5?api-version=2022-01-03 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:30:11.0173217+00:00\",\r\n \"endTime\": - \"2022-06-07T11:30:12.564215+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"602bbaa6-df58-4ac5-9b55-320c4224fa15\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:24:27.2235751+00:00\",\r\n \"endTime\": + \"2022-06-20T14:24:28.723637+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"ee67704e-9ee9-47c3-bc10-9695f840b1d5\"\r\n}" headers: cache-control: - no-cache @@ -3668,7 +3628,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:30:40 GMT + - Mon, 20 Jun 2022 14:24:57 GMT expires: - '-1' pragma: @@ -3685,7 +3645,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4153 + - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4155 status: code: 200 message: OK @@ -3703,9 +3663,9 @@ interactions: ParameterSetName: - --gallery-name -g --subscription-ids --tenant-ids User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/602bbaa6-df58-4ac5-9b55-320c4224fa15?monitor=true&api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/ee67704e-9ee9-47c3-bc10-9695f840b1d5?monitor=true&api-version=2022-01-03 response: body: string: '' @@ -3715,7 +3675,7 @@ interactions: content-length: - '0' date: - - Tue, 07 Jun 2022 11:30:41 GMT + - Mon, 20 Jun 2022 14:24:57 GMT expires: - '-1' pragma: @@ -3728,7 +3688,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4152 + - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4154 status: code: 200 message: OK @@ -3746,13 +3706,13 @@ interactions: ParameterSetName: - --gallery-image-definition --gallery-unique-name --location --gallery-image-version User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4/images/image2/versions/1.1.2?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665/images/image2/versions/1.1.2?api-version=2022-01-03 response: body: - string: "{\r\n \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4/Images/image2/Versions/1.1.2\"\r\n - \ },\r\n \"properties\": {\r\n \"publishedDate\": \"2022-06-07T11:21:49.3229345+00:00\",\r\n + string: "{\r\n \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665/Images/image2/Versions/1.1.2\"\r\n + \ },\r\n \"properties\": {\r\n \"publishedDate\": \"2022-06-20T14:16:09.7298679+00:00\",\r\n \ \"excludeFromLatest\": false,\r\n \"storageProfile\": {\r\n \"osDiskImage\": {\r\n \"diskSizeGB\": 30,\r\n \"hostCaching\": \"ReadWrite\"\r\n \ },\r\n \"dataDiskImages\": [\r\n {\r\n \"lun\": @@ -3767,7 +3727,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:30:42 GMT + - Mon, 20 Jun 2022 14:24:59 GMT expires: - '-1' pragma: @@ -3805,7 +3765,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T11:07:55Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-20T14:02:42Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -3814,7 +3774,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:30:43 GMT + - Mon, 20 Jun 2022 14:24:59 GMT expires: - '-1' pragma: @@ -3831,7 +3791,7 @@ interactions: - request: body: '{"location": "westus", "tags": {}, "sku": {"name": "Premium_LRS"}, "properties": {"hyperVGeneration": "V1", "creationData": {"createOption": "FromImage", "galleryImageReference": - {"sharedGalleryImageId": "/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4/Images/image2/Versions/1.1.2"}}}}' + {"sharedGalleryImageId": "/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665/Images/image2/Versions/1.1.2"}}}}' headers: Accept: - application/json @@ -3848,7 +3808,7 @@ interactions: ParameterSetName: - -g -n --gallery-image-reference User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk3?api-version=2022-03-02 response: @@ -3858,12 +3818,12 @@ interactions: {\r\n \"osType\": \"Linux\",\r\n \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \ \"createOption\": \"FromImage\",\r\n \"galleryImageReference\": - {\r\n \"sharedGalleryImageId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4/Images/image2/Versions/1.1.2\"\r\n + {\r\n \"sharedGalleryImageId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665/Images/image2/Versions/1.1.2\"\r\n \ }\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/westus/DiskOperations/55824d32-5a51-456f-8342-5f25887555af?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/be8cbcb5-d2c5-443f-8cd9-9b7ecd1b64b7?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 cache-control: - no-cache content-length: @@ -3871,11 +3831,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:30:50 GMT + - Mon, 20 Jun 2022 14:25:03 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/55824d32-5a51-456f-8342-5f25887555af?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/be8cbcb5-d2c5-443f-8cd9-9b7ecd1b64b7?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -3888,7 +3848,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateDisks3Min;998,Microsoft.Compute/CreateUpdateDisks30Min;7993 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -3906,13 +3866,13 @@ interactions: ParameterSetName: - -g -n --gallery-image-reference User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/55824d32-5a51-456f-8342-5f25887555af?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/be8cbcb5-d2c5-443f-8cd9-9b7ecd1b64b7?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:30:51.3929912+00:00\",\r\n \"endTime\": - \"2022-06-07T11:30:51.6429738+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2022-06-20T14:25:03.9460549+00:00\",\r\n \"endTime\": + \"2022-06-20T14:25:04.1960224+00:00\",\r\n \"status\": \"Succeeded\",\r\n \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"disk3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk3\",\r\n \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westus\",\r\n @@ -3920,17 +3880,17 @@ interactions: \"Premium\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n \ \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n \ \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \"createOption\": - \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4/Images/image2/Versions/1.1.2\"\r\n + \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665/Images/image2/Versions/1.1.2\"\r\n \ },\r\n \"galleryImageReference\": {\r\n \"sharedGalleryImageId\": - \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4/Images/image2/Versions/1.1.2\"\r\n + \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665/Images/image2/Versions/1.1.2\"\r\n \ }\r\n },\r\n \"diskSizeGB\": 30,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": - \"2022-06-07T11:30:51.4086166+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"2022-06-20T14:25:03.9616647+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32212254720,\r\n - \ \"uniqueId\": \"34a19030-14d4-454b-b507-240d20392746\",\r\n \"tier\": - \"P4\"\r\n }\r\n}\r\n },\r\n \"name\": \"55824d32-5a51-456f-8342-5f25887555af\"\r\n}" + \ \"uniqueId\": \"c38dbcd4-2fec-42be-90a3-d6aa3e94cadf\",\r\n \"tier\": + \"P4\"\r\n }\r\n}\r\n },\r\n \"name\": \"be8cbcb5-d2c5-443f-8cd9-9b7ecd1b64b7\"\r\n}" headers: cache-control: - no-cache @@ -3939,7 +3899,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:30:53 GMT + - Mon, 20 Jun 2022 14:25:05 GMT expires: - '-1' pragma: @@ -3974,7 +3934,7 @@ interactions: ParameterSetName: - -g -n --gallery-image-reference User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk3?api-version=2022-03-02 response: @@ -3985,16 +3945,16 @@ interactions: \"Premium\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n \ \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n \ \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \"createOption\": - \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4/Images/image2/Versions/1.1.2\"\r\n + \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665/Images/image2/Versions/1.1.2\"\r\n \ },\r\n \"galleryImageReference\": {\r\n \"sharedGalleryImageId\": - \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4/Images/image2/Versions/1.1.2\"\r\n + \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665/Images/image2/Versions/1.1.2\"\r\n \ }\r\n },\r\n \"diskSizeGB\": 30,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": - \"2022-06-07T11:30:51.4086166+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"2022-06-20T14:25:03.9616647+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32212254720,\r\n - \ \"uniqueId\": \"34a19030-14d4-454b-b507-240d20392746\",\r\n \"tier\": + \ \"uniqueId\": \"c38dbcd4-2fec-42be-90a3-d6aa3e94cadf\",\r\n \"tier\": \"P4\"\r\n }\r\n}" headers: cache-control: @@ -4004,7 +3964,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:30:53 GMT + - Mon, 20 Jun 2022 14:25:05 GMT expires: - '-1' pragma: @@ -4021,7 +3981,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4992,Microsoft.Compute/LowCostGet30Min;39981 + - Microsoft.Compute/LowCostGet3Min;4985,Microsoft.Compute/LowCostGet30Min;39900 status: code: 200 message: OK @@ -4043,7 +4003,7 @@ interactions: ParameterSetName: - --gallery-name -g User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003/share?api-version=2022-01-03 response: @@ -4051,17 +4011,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/745df98a-aae2-4367-b1c9-72f8cc0e1c22?api-version=2022-01-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b0beb395-3269-4f56-b892-236757ee1681?api-version=2022-01-03 cache-control: - no-cache content-length: - '0' date: - - Tue, 07 Jun 2022 11:30:55 GMT + - Mon, 20 Jun 2022 14:25:07 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/745df98a-aae2-4367-b1c9-72f8cc0e1c22?monitor=true&api-version=2022-01-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b0beb395-3269-4f56-b892-236757ee1681?monitor=true&api-version=2022-01-03 pragma: - no-cache server: @@ -4074,7 +4034,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/PostShareGallery3Min;8,Microsoft.Compute/PostShareGallery30Min;56 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -4092,14 +4052,14 @@ interactions: ParameterSetName: - --gallery-name -g User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/745df98a-aae2-4367-b1c9-72f8cc0e1c22?api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b0beb395-3269-4f56-b892-236757ee1681?api-version=2022-01-03 response: body: - string: "{\r\n \"startTime\": \"2022-06-07T11:30:56.0961435+00:00\",\r\n \"endTime\": - \"2022-06-07T11:30:56.5649142+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"745df98a-aae2-4367-b1c9-72f8cc0e1c22\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-20T14:25:08.0848315+00:00\",\r\n \"endTime\": + \"2022-06-20T14:25:08.5379622+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"b0beb395-3269-4f56-b892-236757ee1681\"\r\n}" headers: cache-control: - no-cache @@ -4108,7 +4068,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:31:25 GMT + - Mon, 20 Jun 2022 14:25:38 GMT expires: - '-1' pragma: @@ -4125,7 +4085,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4150 + - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4152 status: code: 200 message: OK @@ -4143,9 +4103,9 @@ interactions: ParameterSetName: - --gallery-name -g User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/745df98a-aae2-4367-b1c9-72f8cc0e1c22?monitor=true&api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b0beb395-3269-4f56-b892-236757ee1681?monitor=true&api-version=2022-01-03 response: body: string: '' @@ -4155,7 +4115,7 @@ interactions: content-length: - '0' date: - - Tue, 07 Jun 2022 11:31:25 GMT + - Mon, 20 Jun 2022 14:25:38 GMT expires: - '-1' pragma: @@ -4168,7 +4128,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1190,Microsoft.Compute/GetOperationStatus30Min;4149 + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4151 status: code: 200 message: OK @@ -4186,7 +4146,7 @@ interactions: ParameterSetName: - --gallery-name --resource-group --select User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003?api-version=2021-10-01&$select=Permissions response: @@ -4194,7 +4154,7 @@ interactions: string: "{\r\n \"name\": \"gallery2000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2JYM4C4Z4\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Private\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -4205,7 +4165,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 11:31:28 GMT + - Mon, 20 Jun 2022 14:25:39 GMT expires: - '-1' pragma: @@ -4222,7 +4182,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;343,Microsoft.Compute/GetGallery30Min;2478 + - Microsoft.Compute/GetGallery3Min;339,Microsoft.Compute/GetGallery30Min;2429 status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py index 4779c649d62..7e0c77448d9 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 @@ -1036,12 +1036,13 @@ def test_create_disk_from_diff_gallery_image_version(self): self.cmd('sig image-version create -g {rg} --gallery-name {gallery1} --gallery-image-definition {image1} ' '--gallery-image-version {version} --virtual-machine {vm_id}') - public_name = self.cmd('sig show --gallery-name {gallery1} --resource-group {rg} --select Permissions', checks=[ + self.kwargs['public_name'] = self.cmd('sig show --gallery-name {gallery1} --resource-group {rg} --select Permissions', checks=[ self.check('provisioningState', 'Succeeded'), self.check('length(sharingProfile.communityGalleryInfo.publicNames)', '1') ]).get_output_in_json()['sharingProfile']['communityGalleryInfo']['publicNames'][0] - community_gallery_image_version = '/CommunityGalleries/' + public_name + '/Images/' + self.kwargs['image1'] \ - + '/Versions/' + self.kwargs['version'] + community_gallery_image_version = self.cmd( + 'sig image-version show-community --gallery-image-definition {image1} --public-gallery-name {public_name} ' + '--location {location} --gallery-image-version {version}').get_output_in_json()['uniqueId'] self.kwargs.update({'community_gallery_image_version': community_gallery_image_version}) # test creating disk from community gallery image version From c4a33b2e0cb3e17579935389068f86954a332fa6 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Wed, 22 Jun 2022 09:56:06 +0800 Subject: [PATCH 5/5] test recording file --- ..._disk_from_diff_gallery_image_version.yaml | 1259 +++++++++++------ 1 file changed, 860 insertions(+), 399 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_disk_from_diff_gallery_image_version.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_disk_from_diff_gallery_image_version.yaml index 0eccae3c07f..5bfaf955056 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_disk_from_diff_gallery_image_version.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_disk_from_diff_gallery_image_version.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-20T14:02:42Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-21T14:47:19Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:02:48 GMT + - Tue, 21 Jun 2022 14:47:25 GMT expires: - '-1' pragma: @@ -41,6 +41,117 @@ interactions: status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.26.0 + method: GET + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + response: + body: + string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n + \ \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\": + {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"type\": + \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": + {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n + \ \"sku\": \"7.5\",\n \"version\": \"latest\",\n \"architecture\": + \"x64\"\n },\n \"Debian\": {\n \"publisher\": + \"Debian\",\n \"offer\": \"debian-10\",\n \"sku\": \"10\",\n + \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n + \ },\n \"Flatcar\": {\n \"publisher\": \"kinvolk\",\n + \ \"offer\": \"flatcar-container-linux-free\",\n \"sku\": + \"stable\",\n \"version\": \"latest\",\n \"architecture\": + \"x64\"\n },\n \"openSUSE-Leap\": {\n \"publisher\": + \"SUSE\",\n \"offer\": \"opensuse-leap-15-3\",\n \"sku\": + \"gen2\",\n \"version\": \"latest\",\n \"architecture\": + \"x64\"\n },\n \"RHEL\": {\n \"publisher\": \"RedHat\",\n + \ \"offer\": \"RHEL\",\n \"sku\": \"7-LVM\",\n \"version\": + \"latest\",\n \"architecture\": \"x64\"\n },\n \"SLES\": + {\n \"publisher\": \"SUSE\",\n \"offer\": \"sles-15-sp3\",\n + \ \"sku\": \"gen2\",\n \"version\": \"latest\",\n \"architecture\": + \"x64\"\n },\n \"UbuntuLTS\": {\n \"publisher\": + \"Canonical\",\n \"offer\": \"UbuntuServer\",\n \"sku\": + \"18.04-LTS\",\n \"version\": \"latest\",\n \"architecture\": + \"x64\"\n }\n },\n \"Windows\": {\n \"Win2022Datacenter\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2022-Datacenter\",\n \"version\": + \"latest\",\n \"architecture\": \"x64\"\n },\n \"Win2022AzureEditionCore\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2022-datacenter-azure-edition-core\",\n + \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n + \ },\n \"Win2019Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2019-Datacenter\",\n \"version\": \"latest\",\n \"architecture\": + \"x64\"\n },\n \"Win2016Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2016-Datacenter\",\n \"version\": \"latest\",\n \"architecture\": + \"x64\"\n },\n \"Win2012R2Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2012-R2-Datacenter\",\n \"version\": \"latest\",\n \"architecture\": + \"x64\"\n },\n \"Win2012Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2012-Datacenter\",\n \"version\": \"latest\",\n \"architecture\": + \"x64\"\n },\n \"Win2008R2SP1\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2008-R2-SP1\",\n \"version\": \"latest\",\n \"architecture\": + \"x64\"\n }\n }\n }\n }\n }\n}" + headers: + accept-ranges: + - bytes + access-control-allow-origin: + - '*' + cache-control: + - max-age=300 + connection: + - keep-alive + content-length: + - '3463' + content-security-policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + content-type: + - text/plain; charset=utf-8 + date: + - Tue, 21 Jun 2022 14:47:26 GMT + etag: + - W/"41b202f4dc5098d126019dc00721a4c5e30df0c5196794514fadc3710ee2a5cb" + expires: + - Tue, 21 Jun 2022 14:52:26 GMT + source-age: + - '153' + strict-transport-security: + - max-age=31536000 + vary: + - Authorization,Accept-Encoding,Origin + via: + - 1.1 varnish + x-cache: + - HIT + x-cache-hits: + - '1' + x-content-type-options: + - nosniff + x-fastly-request-id: + - e7594861a14a310566147f61c9ca4f1bf6b49d11 + x-frame-options: + - deny + x-github-request-id: + - 4B96:25B1:1351:34F3:62B1D5D9 + x-served-by: + - cache-qpg1252-QPG + x-timer: + - S1655822847.680274,VS0,VE1 + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK - request: body: null headers: @@ -71,7 +182,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:02:49 GMT + - Tue, 21 Jun 2022 14:47:27 GMT expires: - '-1' pragma: @@ -129,7 +240,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:02:50 GMT + - Tue, 21 Jun 2022 14:47:28 GMT expires: - '-1' pragma: @@ -178,7 +289,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:02:51 GMT + - Tue, 21 Jun 2022 14:47:29 GMT expires: - '-1' pragma: @@ -243,18 +354,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/vm_deploy_pMo2j8TqeXQEf00iv5RTMe6JNyDrNzSi","name":"vm_deploy_pMo2j8TqeXQEf00iv5RTMe6JNyDrNzSi","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14131002411702648083","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-06-20T14:02:55.8191836Z","duration":"PT0.0008131S","correlationId":"a84f830e-fdb9-4887-8118-3579f012cdea","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/vm_deploy_4X24AQypdZt95BhdbrYtVZc4p5XgVSlq","name":"vm_deploy_4X24AQypdZt95BhdbrYtVZc4p5XgVSlq","type":"Microsoft.Resources/deployments","properties":{"templateHash":"2163214619295171838","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-06-21T14:47:36.5278497Z","duration":"PT0.0005962S","correlationId":"e2e97bc0-dc18-44de-99f6-28799c86f2cc","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/vm_deploy_pMo2j8TqeXQEf00iv5RTMe6JNyDrNzSi/operationStatuses/08585458731122298027?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/vm_deploy_4X24AQypdZt95BhdbrYtVZc4p5XgVSlq/operationStatuses/08585457840320951164?api-version=2021-04-01 cache-control: - no-cache content-length: - - '2631' + - '2630' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:02:56 GMT + - Tue, 21 Jun 2022 14:47:37 GMT expires: - '-1' pragma: @@ -264,7 +375,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1199' status: code: 201 message: Created @@ -284,7 +395,7 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585458731122298027?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585457840320951164?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -296,7 +407,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:03:26 GMT + - Tue, 21 Jun 2022 14:48:08 GMT expires: - '-1' pragma: @@ -326,7 +437,7 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585458731122298027?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585457840320951164?api-version=2021-04-01 response: body: string: '{"status":"Succeeded"}' @@ -338,7 +449,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:03:57 GMT + - Tue, 21 Jun 2022 14:48:38 GMT expires: - '-1' pragma: @@ -371,16 +482,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/vm_deploy_pMo2j8TqeXQEf00iv5RTMe6JNyDrNzSi","name":"vm_deploy_pMo2j8TqeXQEf00iv5RTMe6JNyDrNzSi","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14131002411702648083","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-06-20T14:03:35.9688489Z","duration":"PT40.1504784S","correlationId":"a84f830e-fdb9-4887-8118-3579f012cdea","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Resources/deployments/vm_deploy_4X24AQypdZt95BhdbrYtVZc4p5XgVSlq","name":"vm_deploy_4X24AQypdZt95BhdbrYtVZc4p5XgVSlq","type":"Microsoft.Resources/deployments","properties":{"templateHash":"2163214619295171838","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-06-21T14:48:14.5982058Z","duration":"PT38.0709523S","correlationId":"e2e97bc0-dc18-44de-99f6-28799c86f2cc","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}' headers: cache-control: - no-cache content-length: - - '3616' + - '3615' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:03:57 GMT + - Tue, 21 Jun 2022 14:48:38 GMT expires: - '-1' pragma: @@ -415,22 +526,22 @@ interactions: body: string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"79fb5f7d-2c2a-4138-9e91-a77ffc41fa79\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"29eb61b1-349e-4443-9b98-a844df23eec8\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \ \"version\": \"latest\",\r\n \"exactVersion\": \"0.20220328.962\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm1_disk1_e3fe641fd434446891c58f38589ebb5b\",\r\n \"createOption\": + \"vm1_disk1_84ce1f4d9f5f4f00a4e138106ebe03c2\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/vm1_disk1_e3fe641fd434446891c58f38589ebb5b\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/vm1_disk1_84ce1f4d9f5f4f00a4e138106ebe03c2\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": - 0,\r\n \"name\": \"vm1_disk2_89085235cd2c4ef3803f163df4b9cacc\",\r\n + 0,\r\n \"name\": \"vm1_disk2_3066c23163bf456f9ec9fbbc0ce245db\",\r\n \ \"createOption\": \"Empty\",\r\n \"caching\": \"None\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/vm1_disk2_89085235cd2c4ef3803f163df4b9cacc\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/vm1_disk2_3066c23163bf456f9ec9fbbc0ce245db\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 10,\r\n \"toBeDetached\": false\r\n }\r\n ]\r\n },\r\n \ \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n \"adminUsername\": @@ -450,23 +561,23 @@ interactions: [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2022-06-20T14:03:35+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_e3fe641fd434446891c58f38589ebb5b\",\r\n + \"2022-06-21T14:48:13+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_84ce1f4d9f5f4f00a4e138106ebe03c2\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-06-20T14:03:18.8157473+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-06-21T14:47:55.8623019+00:00\"\r\n \ }\r\n ]\r\n },\r\n {\r\n \"name\": - \"vm1_disk2_89085235cd2c4ef3803f163df4b9cacc\",\r\n \"statuses\": + \"vm1_disk2_3066c23163bf456f9ec9fbbc0ce245db\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-06-20T14:03:18.8157473+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-06-21T14:47:55.8623019+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\": \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-06-20T14:03:32.4103912+00:00\"\r\n + succeeded\",\r\n \"time\": \"2022-06-21T14:48:09.5028864+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n - \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2022-06-20T14:03:17.346994+00:00\"\r\n + \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2022-06-21T14:47:54.127829+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -476,7 +587,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:03:59 GMT + - Tue, 21 Jun 2022 14:48:40 GMT expires: - '-1' pragma: @@ -493,7 +604,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3994,Microsoft.Compute/LowCostGet30Min;31981 + - Microsoft.Compute/LowCostGet3Min;3932,Microsoft.Compute/LowCostGet30Min;31355 status: code: 200 message: OK @@ -517,12 +628,12 @@ interactions: response: body: string: "{\r\n \"name\": \"vm1VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\",\r\n - \ \"etag\": \"W/\\\"3d7af2a4-63cf-41a3-9709-5718bac6d970\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"10a474a8-ad30-4c15-be72-4e3738230428\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"30246ad5-2e5e-485d-999a-5a85605a46a3\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"d633d7d1-b0f2-4b12-888a-f690bdafa360\",\r\n \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\",\r\n - \ \"etag\": \"W/\\\"3d7af2a4-63cf-41a3-9709-5718bac6d970\\\"\",\r\n + \ \"etag\": \"W/\\\"10a474a8-ad30-4c15-be72-4e3738230428\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -531,8 +642,8 @@ interactions: \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": - \"cwnih4f5onrudnyidcw0zfpw2c.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"60-45-BD-00-FA-7E\",\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": + \"qh1z0kptsnwezlx5m3mrnegc0e.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-3B-AE-79\",\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n @@ -545,9 +656,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:04:00 GMT + - Tue, 21 Jun 2022 14:48:40 GMT etag: - - W/"3d7af2a4-63cf-41a3-9709-5718bac6d970" + - W/"10a474a8-ad30-4c15-be72-4e3738230428" expires: - '-1' pragma: @@ -564,7 +675,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8a3cab3e-2312-4953-b561-b373565e511f + - 947b531f-e99b-48bb-baa8-c4659a63240e status: code: 200 message: OK @@ -588,10 +699,10 @@ interactions: response: body: string: "{\r\n \"name\": \"vm1PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\",\r\n - \ \"etag\": \"W/\\\"2f5cb367-46ce-4ef5-b711-f2f5fae20a38\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"8d0106c0-7a58-42b2-8eb0-76700679d503\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"718bbc67-9b93-413c-9d21-05081d00bfca\",\r\n - \ \"ipAddress\": \"20.66.100.120\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"9e43fea1-16af-4472-80e5-756e806335b4\",\r\n + \ \"ipAddress\": \"20.237.191.55\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n @@ -604,9 +715,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:04:01 GMT + - Tue, 21 Jun 2022 14:48:40 GMT etag: - - W/"2f5cb367-46ce-4ef5-b711-f2f5fae20a38" + - W/"8d0106c0-7a58-42b2-8eb0-76700679d503" expires: - '-1' pragma: @@ -623,7 +734,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 80c28c9d-f258-4052-af04-d20f436a96c5 + - e702c0f8-3aa3-49db-bc0c-a64e77a59a45 status: code: 200 message: OK @@ -646,7 +757,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-20T14:02:42Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-21T14:47:19Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -655,7 +766,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:05:11 GMT + - Tue, 21 Jun 2022 14:49:51 GMT expires: - '-1' pragma: @@ -697,16 +808,16 @@ interactions: string: "{\r\n \"name\": \"gallery1000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1IFR2MQQW\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1VFBJCIXX\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Community\",\r\n \"communityGalleryInfo\": {\r\n \"communityGalleryEnabled\": false,\r\n \"publisherUri\": \"publisher1\",\r\n \"publisherContact\": \"test@microsoft.com\",\r\n - \ \"eula\": \"eula1\",\r\n \"publicNames\": [\r\n \"name1-e3f0375b-f49c-4b04-be26-d927bc5c7318\"\r\n + \ \"eula\": \"eula1\",\r\n \"publicNames\": [\r\n \"name1-735e7398-a54d-46e6-a3d2-7b8752e5cbd2\"\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/westus/capsOperations/846f6485-06b9-44ac-9823-a1f3ea6f1d45?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a226d5f7-e6a0-438f-8590-9828cd553a8d?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -714,7 +825,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:05:17 GMT + - Tue, 21 Jun 2022 14:49:59 GMT expires: - '-1' pragma: @@ -727,9 +838,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateGallery3Min;49,Microsoft.Compute/CreateUpdateGallery30Min;298 + - Microsoft.Compute/CreateUpdateGallery3Min;49,Microsoft.Compute/CreateUpdateGallery30Min;299 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 201 message: Created @@ -749,21 +860,21 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/846f6485-06b9-44ac-9823-a1f3ea6f1d45?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a226d5f7-e6a0-438f-8590-9828cd553a8d?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:05:16.8704205+00:00\",\r\n \"endTime\": - \"2022-06-20T14:05:17.136035+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"846f6485-06b9-44ac-9823-a1f3ea6f1d45\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-21T14:49:57.4652554+00:00\",\r\n \"endTime\": + \"2022-06-21T14:49:57.7309423+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"a226d5f7-e6a0-438f-8590-9828cd553a8d\"\r\n}" headers: cache-control: - no-cache content-length: - - '183' + - '184' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:05:47 GMT + - Tue, 21 Jun 2022 14:50:29 GMT expires: - '-1' pragma: @@ -780,7 +891,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4165 + - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4198 status: code: 200 message: OK @@ -806,11 +917,11 @@ interactions: string: "{\r\n \"name\": \"gallery1000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1IFR2MQQW\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1VFBJCIXX\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Community\",\r\n \"communityGalleryInfo\": {\r\n \"communityGalleryEnabled\": false,\r\n \"publisherUri\": \"publisher1\",\r\n \"publisherContact\": \"test@microsoft.com\",\r\n - \ \"eula\": \"eula1\",\r\n \"publicNames\": [\r\n \"name1-e3f0375b-f49c-4b04-be26-d927bc5c7318\"\r\n + \ \"eula\": \"eula1\",\r\n \"publicNames\": [\r\n \"name1-735e7398-a54d-46e6-a3d2-7b8752e5cbd2\"\r\n \ ]\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n \ }\r\n}" headers: @@ -821,7 +932,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:05:48 GMT + - Tue, 21 Jun 2022 14:50:29 GMT expires: - '-1' pragma: @@ -838,7 +949,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;340,Microsoft.Compute/GetGallery30Min;2438 + - Microsoft.Compute/GetGallery3Min;346,Microsoft.Compute/GetGallery30Min;2496 status: code: 200 message: OK @@ -868,17 +979,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f2855a60-3d8f-414a-b565-e499526dd415?api-version=2022-01-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/ba79981a-8eef-438f-9cd5-c2d9868ae83b?api-version=2022-01-03 cache-control: - no-cache content-length: - '0' date: - - Mon, 20 Jun 2022 14:05:49 GMT + - Tue, 21 Jun 2022 14:50:31 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f2855a60-3d8f-414a-b565-e499526dd415?monitor=true&api-version=2022-01-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/ba79981a-8eef-438f-9cd5-c2d9868ae83b?monitor=true&api-version=2022-01-03 pragma: - no-cache server: @@ -889,7 +1000,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PostShareGallery3Min;9,Microsoft.Compute/PostShareGallery30Min;57 + - Microsoft.Compute/PostShareGallery3Min;9,Microsoft.Compute/PostShareGallery30Min;59 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -911,21 +1022,21 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f2855a60-3d8f-414a-b565-e499526dd415?api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/ba79981a-8eef-438f-9cd5-c2d9868ae83b?api-version=2022-01-03 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:05:50.4814503+00:00\",\r\n \"endTime\": - \"2022-06-20T14:05:52.0127762+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"f2855a60-3d8f-414a-b565-e499526dd415\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-21T14:50:31.912757+00:00\",\r\n \"endTime\": + \"2022-06-21T14:50:53.1216213+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"ba79981a-8eef-438f-9cd5-c2d9868ae83b\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '183' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:06:20 GMT + - Tue, 21 Jun 2022 14:51:01 GMT expires: - '-1' pragma: @@ -942,7 +1053,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1196,Microsoft.Compute/GetOperationStatus30Min;4163 + - Microsoft.Compute/GetOperationStatus3Min;1196,Microsoft.Compute/GetOperationStatus30Min;4196 status: code: 200 message: OK @@ -962,7 +1073,7 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f2855a60-3d8f-414a-b565-e499526dd415?monitor=true&api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/ba79981a-8eef-438f-9cd5-c2d9868ae83b?monitor=true&api-version=2022-01-03 response: body: string: '' @@ -972,7 +1083,7 @@ interactions: content-length: - '0' date: - - Mon, 20 Jun 2022 14:06:20 GMT + - Tue, 21 Jun 2022 14:51:02 GMT expires: - '-1' pragma: @@ -985,7 +1096,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4162 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4195 status: code: 200 message: OK @@ -1008,7 +1119,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-20T14:02:42Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-21T14:47:19Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1017,7 +1128,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:06:21 GMT + - Tue, 21 Jun 2022 14:51:03 GMT expires: - '-1' pragma: @@ -1065,7 +1176,7 @@ interactions: \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/d69f6292-300d-4877-bd24-018278396712?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/791c11f3-d7e8-4440-a0a4-7b234f5d337c?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -1073,7 +1184,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:06:26 GMT + - Tue, 21 Jun 2022 14:51:13 GMT expires: - '-1' pragma: @@ -1086,9 +1197,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateGalleryImage3Min;149,Microsoft.Compute/CreateUpdateGalleryImage30Min;748 + - Microsoft.Compute/CreateUpdateGalleryImage3Min;149,Microsoft.Compute/CreateUpdateGalleryImage30Min;749 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -1108,12 +1219,12 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/d69f6292-300d-4877-bd24-018278396712?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/791c11f3-d7e8-4440-a0a4-7b234f5d337c?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:06:25.9676194+00:00\",\r\n \"endTime\": - \"2022-06-20T14:06:26.0770225+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"d69f6292-300d-4877-bd24-018278396712\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-21T14:51:10.9994345+00:00\",\r\n \"endTime\": + \"2022-06-21T14:51:11.0775225+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"791c11f3-d7e8-4440-a0a4-7b234f5d337c\"\r\n}" headers: cache-control: - no-cache @@ -1122,7 +1233,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:06:56 GMT + - Tue, 21 Jun 2022 14:51:43 GMT expires: - '-1' pragma: @@ -1139,7 +1250,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4160 + - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4192 status: code: 200 message: OK @@ -1177,7 +1288,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:06:56 GMT + - Tue, 21 Jun 2022 14:51:43 GMT expires: - '-1' pragma: @@ -1194,7 +1305,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImage3Min;590,Microsoft.Compute/GetGalleryImage30Min;2935 + - Microsoft.Compute/GetGalleryImage3Min;596,Microsoft.Compute/GetGalleryImage30Min;2996 status: code: 200 message: OK @@ -1217,7 +1328,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-20T14:02:42Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-21T14:47:19Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1226,7 +1337,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:06:57 GMT + - Tue, 21 Jun 2022 14:51:44 GMT expires: - '-1' pragma: @@ -1271,13 +1382,13 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-20T14:07:02.0319337+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-21T14:51:50.4552807+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\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/westus/capsOperations/b47f128f-0d33-4966-8234-c69130510203?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/1809662f-4efa-40c2-a198-fb5cd4051dcf?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -1285,7 +1396,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:07:02 GMT + - Tue, 21 Jun 2022 14:51:50 GMT expires: - '-1' pragma: @@ -1298,9 +1409,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;374,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1198 + - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;374,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1199 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1198' status: code: 201 message: Created @@ -1320,11 +1431,61 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b47f128f-0d33-4966-8234-c69130510203?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/1809662f-4efa-40c2-a198-fb5cd4051dcf?api-version=2021-10-01 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-21T14:51:50.4552807+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"1809662f-4efa-40c2-a198-fb5cd4051dcf\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 21 Jun 2022 14:52:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1190,Microsoft.Compute/GetOperationStatus30Min;4190 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/1809662f-4efa-40c2-a198-fb5cd4051dcf?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:07:02.0319337+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"b47f128f-0d33-4966-8234-c69130510203\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-21T14:51:50.4552807+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"1809662f-4efa-40c2-a198-fb5cd4051dcf\"\r\n}" headers: cache-control: - no-cache @@ -1333,7 +1494,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:08:03 GMT + - Tue, 21 Jun 2022 14:53:53 GMT expires: - '-1' pragma: @@ -1350,7 +1511,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4158 + - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4189 status: code: 200 message: OK @@ -1370,11 +1531,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b47f128f-0d33-4966-8234-c69130510203?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/1809662f-4efa-40c2-a198-fb5cd4051dcf?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:07:02.0319337+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"b47f128f-0d33-4966-8234-c69130510203\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-21T14:51:50.4552807+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"1809662f-4efa-40c2-a198-fb5cd4051dcf\"\r\n}" headers: cache-control: - no-cache @@ -1383,7 +1544,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:09:03 GMT + - Tue, 21 Jun 2022 14:54:53 GMT expires: - '-1' pragma: @@ -1400,7 +1561,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4157 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4187 status: code: 200 message: OK @@ -1420,11 +1581,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b47f128f-0d33-4966-8234-c69130510203?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/1809662f-4efa-40c2-a198-fb5cd4051dcf?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:07:02.0319337+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"b47f128f-0d33-4966-8234-c69130510203\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-21T14:51:50.4552807+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"1809662f-4efa-40c2-a198-fb5cd4051dcf\"\r\n}" headers: cache-control: - no-cache @@ -1433,7 +1594,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:10:04 GMT + - Tue, 21 Jun 2022 14:55:54 GMT expires: - '-1' pragma: @@ -1450,7 +1611,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4168 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4185 status: code: 200 message: OK @@ -1470,11 +1631,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b47f128f-0d33-4966-8234-c69130510203?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/1809662f-4efa-40c2-a198-fb5cd4051dcf?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:07:02.0319337+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"b47f128f-0d33-4966-8234-c69130510203\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-21T14:51:50.4552807+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"1809662f-4efa-40c2-a198-fb5cd4051dcf\"\r\n}" headers: cache-control: - no-cache @@ -1483,7 +1644,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:11:05 GMT + - Tue, 21 Jun 2022 14:56:55 GMT expires: - '-1' pragma: @@ -1500,7 +1661,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4166 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4183 status: code: 200 message: OK @@ -1520,11 +1681,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b47f128f-0d33-4966-8234-c69130510203?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/1809662f-4efa-40c2-a198-fb5cd4051dcf?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:07:02.0319337+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"b47f128f-0d33-4966-8234-c69130510203\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-21T14:51:50.4552807+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"1809662f-4efa-40c2-a198-fb5cd4051dcf\"\r\n}" headers: cache-control: - no-cache @@ -1533,7 +1694,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:12:06 GMT + - Tue, 21 Jun 2022 14:57:56 GMT expires: - '-1' pragma: @@ -1550,7 +1711,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4164 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4181 status: code: 200 message: OK @@ -1570,11 +1731,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b47f128f-0d33-4966-8234-c69130510203?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/1809662f-4efa-40c2-a198-fb5cd4051dcf?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:07:02.0319337+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"b47f128f-0d33-4966-8234-c69130510203\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-21T14:51:50.4552807+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"1809662f-4efa-40c2-a198-fb5cd4051dcf\"\r\n}" headers: cache-control: - no-cache @@ -1583,7 +1744,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:13:06 GMT + - Tue, 21 Jun 2022 14:58:57 GMT expires: - '-1' pragma: @@ -1600,7 +1761,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4162 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4179 status: code: 200 message: OK @@ -1620,12 +1781,12 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b47f128f-0d33-4966-8234-c69130510203?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/1809662f-4efa-40c2-a198-fb5cd4051dcf?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:07:02.0319337+00:00\",\r\n \"endTime\": - \"2022-06-20T14:13:48.8009109+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"b47f128f-0d33-4966-8234-c69130510203\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-21T14:51:50.4552807+00:00\",\r\n \"endTime\": + \"2022-06-21T14:58:59.4126627+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"1809662f-4efa-40c2-a198-fb5cd4051dcf\"\r\n}" headers: cache-control: - no-cache @@ -1634,7 +1795,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:14:07 GMT + - Tue, 21 Jun 2022 14:59:57 GMT expires: - '-1' pragma: @@ -1651,7 +1812,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4160 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4177 status: code: 200 message: OK @@ -1680,7 +1841,7 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-20T14:07:02.0319337+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-21T14:51:50.4552807+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n \ },\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 30,\r\n \"hostCaching\": @@ -1696,7 +1857,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:14:08 GMT + - Tue, 21 Jun 2022 14:59:58 GMT expires: - '-1' pragma: @@ -1713,7 +1874,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImageVersion3Min;1991,Microsoft.Compute/GetGalleryImageVersion30Min;9916 + - Microsoft.Compute/GetGalleryImageVersion3Min;1992,Microsoft.Compute/GetGalleryImageVersion30Min;9948 status: code: 200 message: OK @@ -1739,11 +1900,11 @@ interactions: string: "{\r\n \"name\": \"gallery1000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1IFR2MQQW\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1VFBJCIXX\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Community\",\r\n \"communityGalleryInfo\": {\r\n \"communityGalleryEnabled\": true,\r\n \"publisherUri\": \"publisher1\",\r\n \"publisherContact\": \"test@microsoft.com\",\r\n - \ \"eula\": \"eula1\",\r\n \"publicNames\": [\r\n \"name1-e3f0375b-f49c-4b04-be26-d927bc5c7318\"\r\n + \ \"eula\": \"eula1\",\r\n \"publicNames\": [\r\n \"name1-735e7398-a54d-46e6-a3d2-7b8752e5cbd2\"\r\n \ ]\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n \ }\r\n}" headers: @@ -1754,7 +1915,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:14:09 GMT + - Tue, 21 Jun 2022 15:00:00 GMT expires: - '-1' pragma: @@ -1771,7 +1932,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;345,Microsoft.Compute/GetGallery30Min;2435 + - Microsoft.Compute/GetGallery3Min;347,Microsoft.Compute/GetGallery30Min;2492 status: code: 200 message: OK @@ -1791,11 +1952,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/communityGalleries/name1-e3f0375b-f49c-4b04-be26-d927bc5c7318/images/image1/versions/1.1.2?api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/communityGalleries/name1-735e7398-a54d-46e6-a3d2-7b8752e5cbd2/images/image1/versions/1.1.2?api-version=2022-01-03 response: body: - string: "{\r\n \"identifier\": {\r\n \"uniqueId\": \"/CommunityGalleries/name1-e3f0375b-f49c-4b04-be26-d927bc5c7318/Images/image1/Versions/1.1.2\"\r\n - \ },\r\n \"properties\": {\r\n \"publishedDate\": \"2022-06-20T14:07:02.0319337+00:00\",\r\n + string: "{\r\n \"identifier\": {\r\n \"uniqueId\": \"/CommunityGalleries/name1-735e7398-a54d-46e6-a3d2-7b8752e5cbd2/Images/image1/Versions/1.1.2\"\r\n + \ },\r\n \"properties\": {\r\n \"publishedDate\": \"2022-06-21T14:51:50.4552807+00:00\",\r\n \ \"excludeFromLatest\": false,\r\n \"storageProfile\": {\r\n \"osDiskImage\": {\r\n \"diskSizeGB\": 30,\r\n \"hostCaching\": \"ReadWrite\"\r\n \ },\r\n \"dataDiskImages\": [\r\n {\r\n \"lun\": @@ -1810,7 +1971,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:14:11 GMT + - Tue, 21 Jun 2022 15:00:02 GMT expires: - '-1' pragma: @@ -1848,7 +2009,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-20T14:02:42Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-21T14:47:19Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1857,7 +2018,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:14:12 GMT + - Tue, 21 Jun 2022 15:00:03 GMT expires: - '-1' pragma: @@ -1874,7 +2035,7 @@ interactions: - request: body: '{"location": "westus", "tags": {}, "sku": {"name": "Premium_LRS"}, "properties": {"hyperVGeneration": "V1", "creationData": {"createOption": "FromImage", "galleryImageReference": - {"communityGalleryImageId": "/CommunityGalleries/name1-e3f0375b-f49c-4b04-be26-d927bc5c7318/Images/image1/Versions/1.1.2"}}}}' + {"communityGalleryImageId": "/CommunityGalleries/name1-735e7398-a54d-46e6-a3d2-7b8752e5cbd2/Images/image1/Versions/1.1.2"}}}}' headers: Accept: - application/json @@ -1901,12 +2062,12 @@ interactions: {\r\n \"osType\": \"Linux\",\r\n \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \ \"createOption\": \"FromImage\",\r\n \"galleryImageReference\": - {\r\n \"communityGalleryImageId\": \"/CommunityGalleries/name1-e3f0375b-f49c-4b04-be26-d927bc5c7318/Images/image1/Versions/1.1.2\"\r\n + {\r\n \"communityGalleryImageId\": \"/CommunityGalleries/name1-735e7398-a54d-46e6-a3d2-7b8752e5cbd2/Images/image1/Versions/1.1.2\"\r\n \ }\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/westus/DiskOperations/a860bdcb-f992-4de7-810f-96b42f3a39cf?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/86561d94-5b5b-4129-923e-0ee3ca021edf?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 cache-control: - no-cache content-length: @@ -1914,11 +2075,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:14:17 GMT + - Tue, 21 Jun 2022 15:00:10 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/a860bdcb-f992-4de7-810f-96b42f3a39cf?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/86561d94-5b5b-4129-923e-0ee3ca021edf?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -1929,7 +2090,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateDisks3Min;999,Microsoft.Compute/CreateUpdateDisks30Min;7995 + - Microsoft.Compute/CreateUpdateDisks3Min;999,Microsoft.Compute/CreateUpdateDisks30Min;7997 x-ms-ratelimit-remaining-subscription-writes: - '1198' status: @@ -1951,11 +2112,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/a860bdcb-f992-4de7-810f-96b42f3a39cf?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/86561d94-5b5b-4129-923e-0ee3ca021edf?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:14:17.7480352+00:00\",\r\n \"endTime\": - \"2022-06-20T14:14:18.4199562+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2022-06-21T15:00:10.5439444+00:00\",\r\n \"endTime\": + \"2022-06-21T15:00:11.4814912+00:00\",\r\n \"status\": \"Succeeded\",\r\n \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"disk1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk1\",\r\n \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westus\",\r\n @@ -1963,17 +2124,17 @@ interactions: \"Premium\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n \ \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n \ \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \"createOption\": - \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/CommunityGalleries/name1-e3f0375b-f49c-4b04-be26-d927bc5c7318/Images/image1/Versions/1.1.2\"\r\n + \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/CommunityGalleries/name1-735e7398-a54d-46e6-a3d2-7b8752e5cbd2/Images/image1/Versions/1.1.2\"\r\n \ },\r\n \"galleryImageReference\": {\r\n \"communityGalleryImageId\": - \"/CommunityGalleries/name1-e3f0375b-f49c-4b04-be26-d927bc5c7318/Images/image1/Versions/1.1.2\"\r\n + \"/CommunityGalleries/name1-735e7398-a54d-46e6-a3d2-7b8752e5cbd2/Images/image1/Versions/1.1.2\"\r\n \ }\r\n },\r\n \"diskSizeGB\": 30,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": - \"2022-06-20T14:14:17.8574154+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"2022-06-21T15:00:10.7627103+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32212254720,\r\n - \ \"uniqueId\": \"8058c76a-e4ff-4898-8d7a-f8e62c1de340\",\r\n \"tier\": - \"P4\"\r\n }\r\n}\r\n },\r\n \"name\": \"a860bdcb-f992-4de7-810f-96b42f3a39cf\"\r\n}" + \ \"uniqueId\": \"c313aa0e-c03c-4b93-af11-bf5d61819324\",\r\n \"tier\": + \"P4\"\r\n }\r\n}\r\n },\r\n \"name\": \"86561d94-5b5b-4129-923e-0ee3ca021edf\"\r\n}" headers: cache-control: - no-cache @@ -1982,7 +2143,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:14:19 GMT + - Tue, 21 Jun 2022 15:00:13 GMT expires: - '-1' pragma: @@ -1999,7 +2160,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49997,Microsoft.Compute/GetOperation30Min;399954 + - Microsoft.Compute/GetOperation3Min;49996,Microsoft.Compute/GetOperation30Min;399970 status: code: 200 message: OK @@ -2028,16 +2189,16 @@ interactions: \"Premium\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n \ \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n \ \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \"createOption\": - \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/CommunityGalleries/name1-e3f0375b-f49c-4b04-be26-d927bc5c7318/Images/image1/Versions/1.1.2\"\r\n + \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/CommunityGalleries/name1-735e7398-a54d-46e6-a3d2-7b8752e5cbd2/Images/image1/Versions/1.1.2\"\r\n \ },\r\n \"galleryImageReference\": {\r\n \"communityGalleryImageId\": - \"/CommunityGalleries/name1-e3f0375b-f49c-4b04-be26-d927bc5c7318/Images/image1/Versions/1.1.2\"\r\n + \"/CommunityGalleries/name1-735e7398-a54d-46e6-a3d2-7b8752e5cbd2/Images/image1/Versions/1.1.2\"\r\n \ }\r\n },\r\n \"diskSizeGB\": 30,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": - \"2022-06-20T14:14:17.8574154+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"2022-06-21T15:00:10.7627103+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32212254720,\r\n - \ \"uniqueId\": \"8058c76a-e4ff-4898-8d7a-f8e62c1de340\",\r\n \"tier\": + \ \"uniqueId\": \"c313aa0e-c03c-4b93-af11-bf5d61819324\",\r\n \"tier\": \"P4\"\r\n }\r\n}" headers: cache-control: @@ -2047,7 +2208,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:14:19 GMT + - Tue, 21 Jun 2022 15:00:13 GMT expires: - '-1' pragma: @@ -2064,7 +2225,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4985,Microsoft.Compute/LowCostGet30Min;39896 + - Microsoft.Compute/LowCostGet3Min;4941,Microsoft.Compute/LowCostGet30Min;39471 status: code: 200 message: OK @@ -2094,17 +2255,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/7a56e730-f621-40f0-96ea-dd46652d0d9c?api-version=2022-01-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/062ad7f5-f3f5-451a-854a-813587949bff?api-version=2022-01-03 cache-control: - no-cache content-length: - '0' date: - - Mon, 20 Jun 2022 14:14:21 GMT + - Tue, 21 Jun 2022 15:00:14 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/7a56e730-f621-40f0-96ea-dd46652d0d9c?monitor=true&api-version=2022-01-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/062ad7f5-f3f5-451a-854a-813587949bff?monitor=true&api-version=2022-01-03 pragma: - no-cache server: @@ -2115,9 +2276,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PostShareGallery3Min;9,Microsoft.Compute/PostShareGallery30Min;56 + - Microsoft.Compute/PostShareGallery3Min;9,Microsoft.Compute/PostShareGallery30Min;58 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -2137,12 +2298,362 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/7a56e730-f621-40f0-96ea-dd46652d0d9c?api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/062ad7f5-f3f5-451a-854a-813587949bff?api-version=2022-01-03 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:14:22.3807048+00:00\",\r\n \"endTime\": - \"2022-06-20T14:14:24.0995721+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"7a56e730-f621-40f0-96ea-dd46652d0d9c\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-21T15:00:15.2758254+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"062ad7f5-f3f5-451a-854a-813587949bff\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 21 Jun 2022 15:00:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4175 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig share reset + Connection: + - keep-alive + ParameterSetName: + - --gallery-name -g + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/062ad7f5-f3f5-451a-854a-813587949bff?api-version=2022-01-03 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-21T15:00:15.2758254+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"062ad7f5-f3f5-451a-854a-813587949bff\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 21 Jun 2022 15:01:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4172 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig share reset + Connection: + - keep-alive + ParameterSetName: + - --gallery-name -g + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/062ad7f5-f3f5-451a-854a-813587949bff?api-version=2022-01-03 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-21T15:00:15.2758254+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"062ad7f5-f3f5-451a-854a-813587949bff\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 21 Jun 2022 15:01:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1190,Microsoft.Compute/GetOperationStatus30Min;4169 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig share reset + Connection: + - keep-alive + ParameterSetName: + - --gallery-name -g + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/062ad7f5-f3f5-451a-854a-813587949bff?api-version=2022-01-03 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-21T15:00:15.2758254+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"062ad7f5-f3f5-451a-854a-813587949bff\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 21 Jun 2022 15:02:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1188,Microsoft.Compute/GetOperationStatus30Min;4166 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig share reset + Connection: + - keep-alive + ParameterSetName: + - --gallery-name -g + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/062ad7f5-f3f5-451a-854a-813587949bff?api-version=2022-01-03 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-21T15:00:15.2758254+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"062ad7f5-f3f5-451a-854a-813587949bff\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 21 Jun 2022 15:02:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1186,Microsoft.Compute/GetOperationStatus30Min;4163 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig share reset + Connection: + - keep-alive + ParameterSetName: + - --gallery-name -g + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/062ad7f5-f3f5-451a-854a-813587949bff?api-version=2022-01-03 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-21T15:00:15.2758254+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"062ad7f5-f3f5-451a-854a-813587949bff\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 21 Jun 2022 15:03:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1184,Microsoft.Compute/GetOperationStatus30Min;4161 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig share reset + Connection: + - keep-alive + ParameterSetName: + - --gallery-name -g + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/062ad7f5-f3f5-451a-854a-813587949bff?api-version=2022-01-03 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-21T15:00:15.2758254+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"062ad7f5-f3f5-451a-854a-813587949bff\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 21 Jun 2022 15:03:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1184,Microsoft.Compute/GetOperationStatus30Min;4158 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig share reset + Connection: + - keep-alive + ParameterSetName: + - --gallery-name -g + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/062ad7f5-f3f5-451a-854a-813587949bff?api-version=2022-01-03 + response: + body: + string: "{\r\n \"startTime\": \"2022-06-21T15:00:15.2758254+00:00\",\r\n \"endTime\": + \"2022-06-21T15:04:15.7878782+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"062ad7f5-f3f5-451a-854a-813587949bff\"\r\n}" headers: cache-control: - no-cache @@ -2151,7 +2662,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:14:52 GMT + - Tue, 21 Jun 2022 15:04:17 GMT expires: - '-1' pragma: @@ -2168,7 +2679,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4157 + - Microsoft.Compute/GetOperationStatus3Min;1184,Microsoft.Compute/GetOperationStatus30Min;4155 status: code: 200 message: OK @@ -2188,7 +2699,7 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/7a56e730-f621-40f0-96ea-dd46652d0d9c?monitor=true&api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/062ad7f5-f3f5-451a-854a-813587949bff?monitor=true&api-version=2022-01-03 response: body: string: '' @@ -2198,7 +2709,7 @@ interactions: content-length: - '0' date: - - Mon, 20 Jun 2022 14:14:52 GMT + - Tue, 21 Jun 2022 15:04:17 GMT expires: - '-1' pragma: @@ -2211,7 +2722,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4156 + - Microsoft.Compute/GetOperationStatus3Min;1183,Microsoft.Compute/GetOperationStatus30Min;4154 status: code: 200 message: OK @@ -2237,7 +2748,7 @@ interactions: string: "{\r\n \"name\": \"gallery1000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery1000002\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1IFR2MQQW\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY1VFBJCIXX\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Private\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -2248,7 +2759,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:14:53 GMT + - Tue, 21 Jun 2022 15:04:18 GMT expires: - '-1' pragma: @@ -2265,7 +2776,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;342,Microsoft.Compute/GetGallery30Min;2431 + - Microsoft.Compute/GetGallery3Min;349,Microsoft.Compute/GetGallery30Min;2489 status: code: 200 message: OK @@ -2288,7 +2799,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-20T14:02:42Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-21T14:47:19Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -2297,7 +2808,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:14:54 GMT + - Tue, 21 Jun 2022 15:04:20 GMT expires: - '-1' pragma: @@ -2338,12 +2849,12 @@ interactions: string: "{\r\n \"name\": \"gallery2000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY24OQNPPW7\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Groups\"\r\n },\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/307358d5-cb50-44ca-beba-56f7786e69e2?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/bc5622a2-3a4c-4960-b44f-cf3fcf0b9933?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -2351,7 +2862,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:15:00 GMT + - Tue, 21 Jun 2022 15:04:26 GMT expires: - '-1' pragma: @@ -2366,7 +2877,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGallery3Min;49,Microsoft.Compute/CreateUpdateGallery30Min;298 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -2386,12 +2897,12 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/307358d5-cb50-44ca-beba-56f7786e69e2?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/bc5622a2-3a4c-4960-b44f-cf3fcf0b9933?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:14:59.6169247+00:00\",\r\n \"endTime\": - \"2022-06-20T14:14:59.7420211+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"307358d5-cb50-44ca-beba-56f7786e69e2\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-21T15:04:25.6321134+00:00\",\r\n \"endTime\": + \"2022-06-21T15:04:25.7571203+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"bc5622a2-3a4c-4960-b44f-cf3fcf0b9933\"\r\n}" headers: cache-control: - no-cache @@ -2400,7 +2911,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:15:31 GMT + - Tue, 21 Jun 2022 15:04:57 GMT expires: - '-1' pragma: @@ -2417,7 +2928,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4166 + - Microsoft.Compute/GetOperationStatus3Min;1183,Microsoft.Compute/GetOperationStatus30Min;4151 status: code: 200 message: OK @@ -2443,7 +2954,7 @@ interactions: string: "{\r\n \"name\": \"gallery2000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY24OQNPPW7\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Groups\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -2454,7 +2965,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:15:31 GMT + - Tue, 21 Jun 2022 15:04:57 GMT expires: - '-1' pragma: @@ -2471,7 +2982,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;337,Microsoft.Compute/GetGallery30Min;2432 + - Microsoft.Compute/GetGallery3Min;345,Microsoft.Compute/GetGallery30Min;2485 status: code: 200 message: OK @@ -2494,7 +3005,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-20T14:02:42Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-21T14:47:19Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -2503,7 +3014,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:15:31 GMT + - Tue, 21 Jun 2022 15:04:59 GMT expires: - '-1' pragma: @@ -2551,7 +3062,7 @@ interactions: \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/420c61dd-fec5-49e9-8a47-059ef442547f?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/bb8aa7b1-521c-43a4-a19c-b7203f38da1c?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -2559,7 +3070,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:15:36 GMT + - Tue, 21 Jun 2022 15:05:04 GMT expires: - '-1' pragma: @@ -2574,7 +3085,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGalleryImage3Min;149,Microsoft.Compute/CreateUpdateGalleryImage30Min;748 x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1197' status: code: 201 message: Created @@ -2594,12 +3105,12 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/420c61dd-fec5-49e9-8a47-059ef442547f?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/bb8aa7b1-521c-43a4-a19c-b7203f38da1c?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:15:35.3374853+00:00\",\r\n \"endTime\": - \"2022-06-20T14:15:35.4469039+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"420c61dd-fec5-49e9-8a47-059ef442547f\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-21T15:05:03.3371205+00:00\",\r\n \"endTime\": + \"2022-06-21T15:05:03.4308994+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"bb8aa7b1-521c-43a4-a19c-b7203f38da1c\"\r\n}" headers: cache-control: - no-cache @@ -2608,7 +3119,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:16:05 GMT + - Tue, 21 Jun 2022 15:05:34 GMT expires: - '-1' pragma: @@ -2625,7 +3136,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4164 + - Microsoft.Compute/GetOperationStatus3Min;1186,Microsoft.Compute/GetOperationStatus30Min;4149 status: code: 200 message: OK @@ -2663,7 +3174,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:16:06 GMT + - Tue, 21 Jun 2022 15:05:34 GMT expires: - '-1' pragma: @@ -2680,7 +3191,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImage3Min;590,Microsoft.Compute/GetGalleryImage30Min;2934 + - Microsoft.Compute/GetGalleryImage3Min;596,Microsoft.Compute/GetGalleryImage30Min;2987 status: code: 200 message: OK @@ -2703,7 +3214,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-20T14:02:42Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-21T14:47:19Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -2712,7 +3223,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:16:08 GMT + - Tue, 21 Jun 2022 15:05:35 GMT expires: - '-1' pragma: @@ -2757,21 +3268,21 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-20T14:16:09.7298679+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-21T15:05:42.964102+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\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/westus/capsOperations/9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/06dfcad5-ed12-431c-9be2-2a200e1b551b?api-version=2021-10-01 cache-control: - no-cache content-length: - - '1033' + - '1032' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:16:09 GMT + - Tue, 21 Jun 2022 15:05:43 GMT expires: - '-1' pragma: @@ -2786,7 +3297,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;374,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1198 x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' status: code: 201 message: Created @@ -2806,20 +3317,20 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/06dfcad5-ed12-431c-9be2-2a200e1b551b?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:16:09.7143341+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-21T15:05:42.964102+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"06dfcad5-ed12-431c-9be2-2a200e1b551b\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:17:10 GMT + - Tue, 21 Jun 2022 15:06:44 GMT expires: - '-1' pragma: @@ -2836,7 +3347,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4162 + - Microsoft.Compute/GetOperationStatus3Min;1190,Microsoft.Compute/GetOperationStatus30Min;4147 status: code: 200 message: OK @@ -2856,20 +3367,20 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/06dfcad5-ed12-431c-9be2-2a200e1b551b?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:16:09.7143341+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-21T15:05:42.964102+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"06dfcad5-ed12-431c-9be2-2a200e1b551b\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:18:11 GMT + - Tue, 21 Jun 2022 15:07:45 GMT expires: - '-1' pragma: @@ -2886,7 +3397,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4161 + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4145 status: code: 200 message: OK @@ -2906,20 +3417,20 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/06dfcad5-ed12-431c-9be2-2a200e1b551b?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:16:09.7143341+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-21T15:05:42.964102+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"06dfcad5-ed12-431c-9be2-2a200e1b551b\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:19:12 GMT + - Tue, 21 Jun 2022 15:08:46 GMT expires: - '-1' pragma: @@ -2936,7 +3447,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4159 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4144 status: code: 200 message: OK @@ -2956,70 +3467,20 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/06dfcad5-ed12-431c-9be2-2a200e1b551b?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:16:09.7143341+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-21T15:05:42.964102+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"06dfcad5-ed12-431c-9be2-2a200e1b551b\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 20 Jun 2022 14:20:12 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4165 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - sig image-version create - Connection: - - keep-alive - ParameterSetName: - - -g --gallery-name --gallery-image-definition --gallery-image-version --virtual-machine - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b?api-version=2021-10-01 - response: - body: - string: "{\r\n \"startTime\": \"2022-06-20T14:16:09.7143341+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:21:13 GMT + - Tue, 21 Jun 2022 15:09:47 GMT expires: - '-1' pragma: @@ -3036,7 +3497,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4163 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4142 status: code: 200 message: OK @@ -3056,20 +3517,20 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/06dfcad5-ed12-431c-9be2-2a200e1b551b?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:16:09.7143341+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-21T15:05:42.964102+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"06dfcad5-ed12-431c-9be2-2a200e1b551b\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:22:13 GMT + - Tue, 21 Jun 2022 15:10:47 GMT expires: - '-1' pragma: @@ -3086,7 +3547,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4161 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4140 status: code: 200 message: OK @@ -3106,20 +3567,20 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/06dfcad5-ed12-431c-9be2-2a200e1b551b?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:16:09.7143341+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-21T15:05:42.964102+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"06dfcad5-ed12-431c-9be2-2a200e1b551b\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:23:14 GMT + - Tue, 21 Jun 2022 15:11:48 GMT expires: - '-1' pragma: @@ -3136,7 +3597,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4159 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4138 status: code: 200 message: OK @@ -3156,21 +3617,21 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/06dfcad5-ed12-431c-9be2-2a200e1b551b?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:16:09.7143341+00:00\",\r\n \"endTime\": - \"2022-06-20T14:23:17.4856793+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"9aa2bfdf-b300-4c5b-9a6b-073241cd4b9b\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-21T15:05:42.964102+00:00\",\r\n \"endTime\": + \"2022-06-21T15:12:30.0304393+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"06dfcad5-ed12-431c-9be2-2a200e1b551b\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '183' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:24:15 GMT + - Tue, 21 Jun 2022 15:12:49 GMT expires: - '-1' pragma: @@ -3187,7 +3648,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4157 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4136 status: code: 200 message: OK @@ -3216,7 +3677,7 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-20T14:16:09.7298679+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2022-06-21T15:05:42.964102+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n \ },\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 30,\r\n \"hostCaching\": @@ -3228,11 +3689,11 @@ interactions: cache-control: - no-cache content-length: - - '1292' + - '1291' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:24:16 GMT + - Tue, 21 Jun 2022 15:12:49 GMT expires: - '-1' pragma: @@ -3249,7 +3710,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImageVersion3Min;1989,Microsoft.Compute/GetGalleryImageVersion30Min;9912 + - Microsoft.Compute/GetGalleryImageVersion3Min;1995,Microsoft.Compute/GetGalleryImageVersion30Min;9942 status: code: 200 message: OK @@ -3272,7 +3733,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-20T14:02:42Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-21T14:47:19Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -3281,7 +3742,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:24:17 GMT + - Tue, 21 Jun 2022 15:12:50 GMT expires: - '-1' pragma: @@ -3330,7 +3791,7 @@ interactions: true\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/95fb16b7-b43e-4d21-bef3-dc64ac42fe8d?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/47c4b460-b6a1-4b85-8ab7-2dd43ea4688b?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 cache-control: - no-cache content-length: @@ -3338,11 +3799,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:24:21 GMT + - Tue, 21 Jun 2022 15:12:56 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/95fb16b7-b43e-4d21-bef3-dc64ac42fe8d?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/47c4b460-b6a1-4b85-8ab7-2dd43ea4688b?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -3355,7 +3816,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateDisks3Min;999,Microsoft.Compute/CreateUpdateDisks30Min;7994 x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1198' status: code: 202 message: Accepted @@ -3375,11 +3836,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/95fb16b7-b43e-4d21-bef3-dc64ac42fe8d?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/47c4b460-b6a1-4b85-8ab7-2dd43ea4688b?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:24:22.0069+00:00\",\r\n \"endTime\": - \"2022-06-20T14:24:22.5850126+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2022-06-21T15:12:56.85562+00:00\",\r\n \"endTime\": + \"2022-06-21T15:12:57.6368621+00:00\",\r\n \"status\": \"Succeeded\",\r\n \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"disk2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk2\",\r\n \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westus\",\r\n @@ -3393,19 +3854,19 @@ interactions: 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": - \"2022-06-20T14:24:22.0537803+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"2022-06-21T15:12:57.0118646+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32212254720,\r\n - \ \"uniqueId\": \"c89140fa-0359-4f4d-9599-84d63f484f04\",\r\n \"tier\": - \"P4\"\r\n }\r\n}\r\n },\r\n \"name\": \"95fb16b7-b43e-4d21-bef3-dc64ac42fe8d\"\r\n}" + \ \"uniqueId\": \"4a095011-284e-40a2-8e35-63e45203d870\",\r\n \"tier\": + \"P4\"\r\n }\r\n}\r\n },\r\n \"name\": \"47c4b460-b6a1-4b85-8ab7-2dd43ea4688b\"\r\n}" headers: cache-control: - no-cache content-length: - - '1798' + - '1799' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:24:24 GMT + - Tue, 21 Jun 2022 15:12:58 GMT expires: - '-1' pragma: @@ -3422,7 +3883,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49997,Microsoft.Compute/GetOperation30Min;399945 + - Microsoft.Compute/GetOperation3Min;49997,Microsoft.Compute/GetOperation30Min;399942 status: code: 200 message: OK @@ -3457,9 +3918,9 @@ interactions: 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": - \"2022-06-20T14:24:22.0537803+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"2022-06-21T15:12:57.0118646+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32212254720,\r\n - \ \"uniqueId\": \"c89140fa-0359-4f4d-9599-84d63f484f04\",\r\n \"tier\": + \ \"uniqueId\": \"4a095011-284e-40a2-8e35-63e45203d870\",\r\n \"tier\": \"P4\"\r\n }\r\n}" headers: cache-control: @@ -3469,7 +3930,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:24:24 GMT + - Tue, 21 Jun 2022 15:12:59 GMT expires: - '-1' pragma: @@ -3486,7 +3947,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4987,Microsoft.Compute/LowCostGet30Min;39889 + - Microsoft.Compute/LowCostGet3Min;4942,Microsoft.Compute/LowCostGet30Min;39465 status: code: 200 message: OK @@ -3512,7 +3973,7 @@ interactions: string: "{\r\n \"name\": \"gallery2000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY24OQNPPW7\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Groups\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -3523,7 +3984,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:24:25 GMT + - Tue, 21 Jun 2022 15:13:00 GMT expires: - '-1' pragma: @@ -3540,7 +4001,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;343,Microsoft.Compute/GetGallery30Min;2424 + - Microsoft.Compute/GetGallery3Min;349,Microsoft.Compute/GetGallery30Min;2483 status: code: 200 message: OK @@ -3571,17 +4032,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/ee67704e-9ee9-47c3-bc10-9695f840b1d5?api-version=2022-01-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/aaa70097-9e6a-4a06-a808-b08a1970929e?api-version=2022-01-03 cache-control: - no-cache content-length: - '0' date: - - Mon, 20 Jun 2022 14:24:26 GMT + - Tue, 21 Jun 2022 15:13:03 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/ee67704e-9ee9-47c3-bc10-9695f840b1d5?monitor=true&api-version=2022-01-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/aaa70097-9e6a-4a06-a808-b08a1970929e?monitor=true&api-version=2022-01-03 pragma: - no-cache server: @@ -3614,21 +4075,21 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/ee67704e-9ee9-47c3-bc10-9695f840b1d5?api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/aaa70097-9e6a-4a06-a808-b08a1970929e?api-version=2022-01-03 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:24:27.2235751+00:00\",\r\n \"endTime\": - \"2022-06-20T14:24:28.723637+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"ee67704e-9ee9-47c3-bc10-9695f840b1d5\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-21T15:13:03.1412995+00:00\",\r\n \"endTime\": + \"2022-06-21T15:13:31.5331927+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"aaa70097-9e6a-4a06-a808-b08a1970929e\"\r\n}" headers: cache-control: - no-cache content-length: - - '183' + - '184' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:24:57 GMT + - Tue, 21 Jun 2022 15:13:32 GMT expires: - '-1' pragma: @@ -3645,7 +4106,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4155 + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4133 status: code: 200 message: OK @@ -3665,7 +4126,7 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/ee67704e-9ee9-47c3-bc10-9695f840b1d5?monitor=true&api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/aaa70097-9e6a-4a06-a808-b08a1970929e?monitor=true&api-version=2022-01-03 response: body: string: '' @@ -3675,7 +4136,7 @@ interactions: content-length: - '0' date: - - Mon, 20 Jun 2022 14:24:57 GMT + - Tue, 21 Jun 2022 15:13:33 GMT expires: - '-1' pragma: @@ -3688,7 +4149,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4154 + - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4132 status: code: 200 message: OK @@ -3708,11 +4169,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665/images/image2/versions/1.1.2?api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY24OQNPPW7/images/image2/versions/1.1.2?api-version=2022-01-03 response: body: - string: "{\r\n \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665/Images/image2/Versions/1.1.2\"\r\n - \ },\r\n \"properties\": {\r\n \"publishedDate\": \"2022-06-20T14:16:09.7298679+00:00\",\r\n + string: "{\r\n \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY24OQNPPW7/Images/image2/Versions/1.1.2\"\r\n + \ },\r\n \"properties\": {\r\n \"publishedDate\": \"2022-06-21T15:05:42.964102+00:00\",\r\n \ \"excludeFromLatest\": false,\r\n \"storageProfile\": {\r\n \"osDiskImage\": {\r\n \"diskSizeGB\": 30,\r\n \"hostCaching\": \"ReadWrite\"\r\n \ },\r\n \"dataDiskImages\": [\r\n {\r\n \"lun\": @@ -3723,11 +4184,11 @@ interactions: cache-control: - no-cache content-length: - - '579' + - '578' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:24:59 GMT + - Tue, 21 Jun 2022 15:13:35 GMT expires: - '-1' pragma: @@ -3765,7 +4226,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_create_disk_from_diff_gallery_image_version_000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-20T14:02:42Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001","name":"cli_test_create_disk_from_diff_gallery_image_version_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-21T14:47:19Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -3774,7 +4235,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:24:59 GMT + - Tue, 21 Jun 2022 15:13:35 GMT expires: - '-1' pragma: @@ -3791,7 +4252,7 @@ interactions: - request: body: '{"location": "westus", "tags": {}, "sku": {"name": "Premium_LRS"}, "properties": {"hyperVGeneration": "V1", "creationData": {"createOption": "FromImage", "galleryImageReference": - {"sharedGalleryImageId": "/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665/Images/image2/Versions/1.1.2"}}}}' + {"sharedGalleryImageId": "/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY24OQNPPW7/Images/image2/Versions/1.1.2"}}}}' headers: Accept: - application/json @@ -3818,12 +4279,12 @@ interactions: {\r\n \"osType\": \"Linux\",\r\n \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \ \"createOption\": \"FromImage\",\r\n \"galleryImageReference\": - {\r\n \"sharedGalleryImageId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665/Images/image2/Versions/1.1.2\"\r\n + {\r\n \"sharedGalleryImageId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY24OQNPPW7/Images/image2/Versions/1.1.2\"\r\n \ }\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/westus/DiskOperations/be8cbcb5-d2c5-443f-8cd9-9b7ecd1b64b7?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/92fd5727-5b84-4b3a-bacf-43e9fa083e7d?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 cache-control: - no-cache content-length: @@ -3831,11 +4292,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:25:03 GMT + - Tue, 21 Jun 2022 15:13:41 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/be8cbcb5-d2c5-443f-8cd9-9b7ecd1b64b7?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/92fd5727-5b84-4b3a-bacf-43e9fa083e7d?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -3868,11 +4329,11 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/be8cbcb5-d2c5-443f-8cd9-9b7ecd1b64b7?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/92fd5727-5b84-4b3a-bacf-43e9fa083e7d?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:25:03.9460549+00:00\",\r\n \"endTime\": - \"2022-06-20T14:25:04.1960224+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2022-06-21T15:13:41.9511484+00:00\",\r\n \"endTime\": + \"2022-06-21T15:13:42.4824031+00:00\",\r\n \"status\": \"Succeeded\",\r\n \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"disk3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/disks/disk3\",\r\n \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westus\",\r\n @@ -3880,17 +4341,17 @@ interactions: \"Premium\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n \ \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n \ \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \"createOption\": - \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665/Images/image2/Versions/1.1.2\"\r\n + \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY24OQNPPW7/Images/image2/Versions/1.1.2\"\r\n \ },\r\n \"galleryImageReference\": {\r\n \"sharedGalleryImageId\": - \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665/Images/image2/Versions/1.1.2\"\r\n + \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY24OQNPPW7/Images/image2/Versions/1.1.2\"\r\n \ }\r\n },\r\n \"diskSizeGB\": 30,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": - \"2022-06-20T14:25:03.9616647+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"2022-06-21T15:13:41.9667406+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32212254720,\r\n - \ \"uniqueId\": \"c38dbcd4-2fec-42be-90a3-d6aa3e94cadf\",\r\n \"tier\": - \"P4\"\r\n }\r\n}\r\n },\r\n \"name\": \"be8cbcb5-d2c5-443f-8cd9-9b7ecd1b64b7\"\r\n}" + \ \"uniqueId\": \"53f48c95-cd72-4067-bd9f-69ef9ee4c44d\",\r\n \"tier\": + \"P4\"\r\n }\r\n}\r\n },\r\n \"name\": \"92fd5727-5b84-4b3a-bacf-43e9fa083e7d\"\r\n}" headers: cache-control: - no-cache @@ -3899,7 +4360,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:25:05 GMT + - Tue, 21 Jun 2022 15:13:43 GMT expires: - '-1' pragma: @@ -3916,7 +4377,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49995,Microsoft.Compute/GetOperation30Min;399943 + - Microsoft.Compute/GetOperation3Min;49995,Microsoft.Compute/GetOperation30Min;399940 status: code: 200 message: OK @@ -3945,16 +4406,16 @@ interactions: \"Premium\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n \ \"hyperVGeneration\": \"V1\",\r\n \"supportedCapabilities\": {\r\n \ \"architecture\": \"x64\"\r\n },\r\n \"creationData\": {\r\n \"createOption\": - \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665/Images/image2/Versions/1.1.2\"\r\n + \"FromImage\",\r\n \"imageReference\": {\r\n \"id\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY24OQNPPW7/Images/image2/Versions/1.1.2\"\r\n \ },\r\n \"galleryImageReference\": {\r\n \"sharedGalleryImageId\": - \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665/Images/image2/Versions/1.1.2\"\r\n + \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY24OQNPPW7/Images/image2/Versions/1.1.2\"\r\n \ }\r\n },\r\n \"diskSizeGB\": 30,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": - \"2022-06-20T14:25:03.9616647+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n + \"2022-06-21T15:13:41.9667406+00:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 32212254720,\r\n - \ \"uniqueId\": \"c38dbcd4-2fec-42be-90a3-d6aa3e94cadf\",\r\n \"tier\": + \ \"uniqueId\": \"53f48c95-cd72-4067-bd9f-69ef9ee4c44d\",\r\n \"tier\": \"P4\"\r\n }\r\n}" headers: cache-control: @@ -3964,7 +4425,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:25:05 GMT + - Tue, 21 Jun 2022 15:13:44 GMT expires: - '-1' pragma: @@ -3981,7 +4442,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4985,Microsoft.Compute/LowCostGet30Min;39900 + - Microsoft.Compute/LowCostGet3Min;4945,Microsoft.Compute/LowCostGet30Min;39444 status: code: 200 message: OK @@ -4011,17 +4472,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b0beb395-3269-4f56-b892-236757ee1681?api-version=2022-01-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/2a0584a0-0755-4b42-9b6b-19025efadfa7?api-version=2022-01-03 cache-control: - no-cache content-length: - '0' date: - - Mon, 20 Jun 2022 14:25:07 GMT + - Tue, 21 Jun 2022 15:13:46 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b0beb395-3269-4f56-b892-236757ee1681?monitor=true&api-version=2022-01-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/2a0584a0-0755-4b42-9b6b-19025efadfa7?monitor=true&api-version=2022-01-03 pragma: - no-cache server: @@ -4034,7 +4495,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/PostShareGallery3Min;8,Microsoft.Compute/PostShareGallery30Min;56 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -4054,21 +4515,21 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b0beb395-3269-4f56-b892-236757ee1681?api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/2a0584a0-0755-4b42-9b6b-19025efadfa7?api-version=2022-01-03 response: body: - string: "{\r\n \"startTime\": \"2022-06-20T14:25:08.0848315+00:00\",\r\n \"endTime\": - \"2022-06-20T14:25:08.5379622+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"b0beb395-3269-4f56-b892-236757ee1681\"\r\n}" + string: "{\r\n \"startTime\": \"2022-06-21T15:13:46.4557019+00:00\",\r\n \"endTime\": + \"2022-06-21T15:13:46.924574+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"2a0584a0-0755-4b42-9b6b-19025efadfa7\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '183' content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:25:38 GMT + - Tue, 21 Jun 2022 15:14:16 GMT expires: - '-1' pragma: @@ -4085,7 +4546,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4152 + - Microsoft.Compute/GetOperationStatus3Min;1190,Microsoft.Compute/GetOperationStatus30Min;4129 status: code: 200 message: OK @@ -4105,7 +4566,7 @@ interactions: User-Agent: - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b0beb395-3269-4f56-b892-236757ee1681?monitor=true&api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/2a0584a0-0755-4b42-9b6b-19025efadfa7?monitor=true&api-version=2022-01-03 response: body: string: '' @@ -4115,7 +4576,7 @@ interactions: content-length: - '0' date: - - Mon, 20 Jun 2022 14:25:38 GMT + - Tue, 21 Jun 2022 15:14:16 GMT expires: - '-1' pragma: @@ -4128,7 +4589,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4151 + - Microsoft.Compute/GetOperationStatus3Min;1189,Microsoft.Compute/GetOperationStatus30Min;4128 status: code: 200 message: OK @@ -4154,7 +4615,7 @@ interactions: string: "{\r\n \"name\": \"gallery2000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_create_disk_from_diff_gallery_image_version_000001/providers/Microsoft.Compute/galleries/gallery2000003\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY2HFRMT665\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY24OQNPPW7\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Private\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -4165,7 +4626,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 20 Jun 2022 14:25:39 GMT + - Tue, 21 Jun 2022 15:14:18 GMT expires: - '-1' pragma: @@ -4182,7 +4643,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;339,Microsoft.Compute/GetGallery30Min;2429 + - Microsoft.Compute/GetGallery3Min;348,Microsoft.Compute/GetGallery30Min;2482 status: code: 200 message: OK