From 56aa6e0d8534064483f4ee0ab5cfab75d5e855f3 Mon Sep 17 00:00:00 2001 From: Xing Zhou Date: Fri, 11 Jun 2021 09:51:18 +0800 Subject: [PATCH] Revert "[Compute] Direct Sharing support for Azure Shared Image Gallery (#18398)" This reverts commit 7f7276d712bda4618a489856aed7b70a99433c5d. --- .../azure/cli/core/profiles/_shared.py | 3 +- .../azure/cli/command_modules/vm/_params.py | 4 - .../azure/cli/command_modules/vm/commands.py | 2 +- .../azure/cli/command_modules/vm/custom.py | 23 +- .../azure/cli/command_modules/vm/gen.zip | Bin 5436 -> 3674 bytes .../vm/generated/_client_factory.py | 12 - .../cli/command_modules/vm/generated/_help.py | 82 - .../command_modules/vm/generated/_params.py | 48 - .../command_modules/vm/generated/commands.py | 32 +- .../command_modules/vm/generated/custom.py | 60 - .../vm/manual/_client_factory.py | 24 - .../cli/command_modules/vm/manual/_help.py | 73 - .../cli/command_modules/vm/manual/_params.py | 34 +- .../cli/command_modules/vm/manual/commands.py | 34 - .../cli/command_modules/vm/manual/custom.py | 55 - .../azure/cli/command_modules/vm/report.md | 105 - .../cli/command_modules/vm/tests/__init__.py | 116 - .../latest/recordings/test_gallery_e2e.yaml | 1697 ++++---- .../recordings/test_gallery_specialized.yaml | 4 +- .../test_image_build_shared_image.yaml | 4 +- .../test_image_builder_basic_sig.yaml | 4 +- .../recordings/test_shared_gallery.yaml | 3722 ----------------- .../recordings/test_specialized_image.yaml | 4 +- .../test_vm_disk_max_shares_etc.yaml | 4 +- .../vm/tests/latest/test_vm_commands.py | 93 - 25 files changed, 755 insertions(+), 5484 deletions(-) delete mode 100644 src/azure-cli/azure/cli/command_modules/vm/manual/_client_factory.py delete mode 100644 src/azure-cli/azure/cli/command_modules/vm/tests/__init__.py delete mode 100644 src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_shared_gallery.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 f3f54c762e5..d48a0ed37a9 100644 --- a/src/azure-cli-core/azure/cli/core/profiles/_shared.py +++ b/src/azure-cli-core/azure/cli/core/profiles/_shared.py @@ -144,10 +144,9 @@ def default_api_version(self): 'disk_encryption_sets': '2020-12-01', 'disk_accesses': '2020-05-01', 'snapshots': '2020-12-01', - 'galleries': '2020-09-30', + 'galleries': '2019-12-01', 'gallery_images': '2020-09-30', 'gallery_image_versions': '2020-09-30', - 'shared_galleries': '2020-09-30', 'virtual_machine_scale_sets': '2021-03-01' }), ResourceType.MGMT_RESOURCE_FEATURES: '2015-12-01', 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 8661ae002dc..268d709879a 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_params.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_params.py @@ -41,7 +41,6 @@ def load_arguments(self, _): DedicatedHostLicenseTypes = self.get_models('DedicatedHostLicenseTypes') OrchestrationServiceNames, OrchestrationServiceStateAction = self.get_models('OrchestrationServiceNames', 'OrchestrationServiceStateAction', operation_group='virtual_machine_scale_sets') RebootSetting, VMGuestPatchClassificationWindows, VMGuestPatchClassificationLinux = self.get_models('VMGuestPatchRebootSetting', 'VMGuestPatchClassificationWindows', 'VMGuestPatchClassificationLinux') - GallerySharingPermissionTypes = self.get_models('GallerySharingPermissionTypes', operation_group='shared_galleries') # REUSABLE ARGUMENT DEFINITIONS name_arg_type = CLIArgumentType(options_list=['--name', '-n'], metavar='NAME') @@ -933,9 +932,6 @@ def load_arguments(self, _): c.argument('description', help='the description of the gallery') with self.argument_context('sig update') as c: c.ignore('gallery') - c.argument('permissions', arg_type=get_enum_type(GallerySharingPermissionTypes), arg_group='Sharing Profile', - min_api='2020-09-30', help='This property allows you to specify the permission of sharing gallery.') - with self.argument_context('sig image-definition create') as c: c.argument('description', help='the description of the gallery image definition') with self.argument_context('sig image-definition update') as c: diff --git a/src/azure-cli/azure/cli/command_modules/vm/commands.py b/src/azure-cli/azure/cli/command_modules/vm/commands.py index 43f0f3e0dea..3a645e78dd0 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/commands.py +++ b/src/azure-cli/azure/cli/command_modules/vm/commands.py @@ -471,7 +471,7 @@ def load_command_table(self, _): g.show_command('show', 'get') g.custom_command('list', 'list_image_galleries') g.command('delete', 'begin_delete') - g.generic_update_command('update', setter_type=compute_custom, setter_name='update_image_galleries', setter_arg_name='gallery') + g.generic_update_command('update', setter_name='begin_create_or_update', setter_arg_name='gallery') with self.command_group('sig image-definition', compute_gallery_images_sdk, operation_group='gallery_images', min_api='2018-06-01') as g: g.custom_command('create', 'create_gallery_image') 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 205d2ed6b5f..b95b167204c 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/custom.py +++ b/src/azure-cli/azure/cli/command_modules/vm/custom.py @@ -26,9 +26,10 @@ from knack.log import get_logger from knack.util import CLIError -from azure.cli.core.azclierror import CLIInternalError, ValidationError, RequiredArgumentMissingError +from azure.cli.core.azclierror import CLIInternalError from azure.cli.command_modules.vm._validators import _get_resource_group_from_vault_name +from azure.cli.core.azclierror import ValidationError from azure.cli.core.commands.validators import validate_file_or_dict from azure.cli.core.commands import LongRunningOperation, DeploymentOutputLongRunningOperation @@ -1816,7 +1817,8 @@ def list_vm_images(cmd, image_location=None, publisher_name=None, offer=None, sk def show_vm_image(cmd, urn=None, publisher=None, offer=None, sku=None, version=None, location=None): from azure.cli.core.commands.parameters import get_one_of_subscription_locations from azure.cli.core.azclierror import (MutuallyExclusiveArgumentError, - InvalidArgumentValueError) + InvalidArgumentValueError, + RequiredArgumentMissingError) location = location or get_one_of_subscription_locations(cmd.cli_ctx) error_msg = 'Please specify all of (--publisher, --offer, --sku, --version), or --urn' @@ -1840,7 +1842,8 @@ def accept_market_ordering_terms(cmd, urn=None, publisher=None, offer=None, plan from azure.mgmt.marketplaceordering import MarketplaceOrderingAgreements from azure.mgmt.marketplaceordering.models import OfferType from azure.cli.core.azclierror import (MutuallyExclusiveArgumentError, - InvalidArgumentValueError) + InvalidArgumentValueError, + RequiredArgumentMissingError) error_msg = 'Please specify all of (--plan, --offer, --publish), or --urn' if urn: @@ -3324,20 +3327,6 @@ def list_image_galleries(cmd, resource_group_name=None): return client.galleries.list() -# from azure.mgmt.compute.models import Gallery, SharingProfile -def update_image_galleries(cmd, resource_group_name, gallery_name, gallery, permissions=None, **kwargs): - if permissions: - if gallery.sharing_profile is None: - SharingProfile = cmd.get_models('SharingProfile') - gallery.sharing_profile = SharingProfile(permissions=permissions) - else: - gallery.sharing_profile.permissions = permissions - - client = _compute_client_factory(cmd.cli_ctx) - - return client.galleries.begin_create_or_update(resource_group_name, gallery_name, gallery, **kwargs) - - def create_image_gallery(cmd, resource_group_name, gallery_name, description=None, location=None, no_wait=False, tags=None): Gallery = cmd.get_models('Gallery') diff --git a/src/azure-cli/azure/cli/command_modules/vm/gen.zip b/src/azure-cli/azure/cli/command_modules/vm/gen.zip index e3e0a803f420cdb8f4ea1cb0087a51cef51f60f7..af56ffe6df5212ed753d3a2987b3effec9f38316 100644 GIT binary patch delta 165 zcmdm^bxTG%z?+$civa{)d*laAJ-qkNG!_O15SE>sE26N``U~Uce{5@*_(0Ns?#>7i z;b348;n=)`v!7}6Z=Riun}r1gS(t&clhsAk!Kx63OpXz;RY29qz+eit4MtpKnY@S7 beDVho9 z_rvdg`s8PPztQ0LBdUv0$NHHs`1=emL=gFC>lh<#MbkCtzOtve23sr)(yi6<3^a0urfg?EbJOS0pQQXd^Q=V>yd zuGV!XbC zF$i$ex~bKCR8bq^2za8{ULahwspy3skD={*I=1y#C>)wRuR5UI4me|U&UEjI46(h@ z1bQg`tdgP!uFtBuDX;Ir@kuJmW-KQdnud4*+H)xk>a;uSl!jHu-K-4m*6EztC(lg<%n1=Icff6M69d&pzUKJ7U~2PqO6uG3xi z`)^>Y$MXEOW6Pbc#`fBf5MtG+mm&OSjm=Y3nkMmWhiH*2;UbWW)-(Th@57D$)vv@S2T9(R=%mGG{v7HJhRcU>iuh%}YEP%g`vm%(&U zf%NK@sj#A2Sz#fNvlT~|z|S-NF2QH}3!uMafciCl_Up&L{Amzf%FfqBBG{pepovJ6t-8gyxS{Rw#k=NUa-Ng)XcK!N-=gO7b^L&nbFRY zC1-?B2~VT#jk1y>e8+Yqc}ASB$+YiidvIibzIzBgkaU0&@z@fln!jdIelESREEJ8l zJ@V+>Ww$$ESeDVwDP%YSjd2o{3;sF*uQiv+F(=rO&^jZdWXbW7`2G#H<^`5o<2mLC zjT=zRx@&$BG=AyzyrFtbv(^;ym6NTMFOL+*C+&ZeYGrM_RICeD#tOYX5dUHWOL)nx3^Ef*ZOwC$ z8?96)2}8U9qyIqo%NKc?D0pd8rl7pRwwgC>B5KnAHMhpA<>HA+U*~c(HAp z8vRiR9t!1Z`aC>4=YM&g;#0a#B2;GGYKPLFKWba0k$LrUz*x@8Y+6Y)B!X{VmW^!Q zsLvH+W4?wDFO_5c6{lcUe6(=8G)wOL@;gKlt~?yY(i_EjQ}c9pX6JjlpsblH(9tW% g?|c{Yam~8;@WCv~{@y$9a?5@C{XyTy)YfSH1yX;PVgLXD diff --git a/src/azure-cli/azure/cli/command_modules/vm/generated/_client_factory.py b/src/azure-cli/azure/cli/command_modules/vm/generated/_client_factory.py index f18bfb69000..7aab018e522 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/generated/_client_factory.py +++ b/src/azure-cli/azure/cli/command_modules/vm/generated/_client_factory.py @@ -18,15 +18,3 @@ def cf_vm_cl(cli_ctx, *_): def cf_ssh_public_key(cli_ctx, *_): return cf_vm_cl(cli_ctx).ssh_public_keys - - -def cf_gallery(cli_ctx, *_): - return cf_vm_cl(cli_ctx).galleries - - -def cf_shared_gallery_image(cli_ctx, *_): - return cf_vm_cl(cli_ctx).shared_gallery_images - - -def cf_shared_gallery_image_version(cli_ctx, *_): - return cf_vm_cl(cli_ctx).shared_gallery_image_versions diff --git a/src/azure-cli/azure/cli/command_modules/vm/generated/_help.py b/src/azure-cli/azure/cli/command_modules/vm/generated/_help.py index 4d4928e6b02..5eaafddde60 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/generated/_help.py +++ b/src/azure-cli/azure/cli/command_modules/vm/generated/_help.py @@ -52,85 +52,3 @@ type: command short-summary: "Delete an SSH public key." """ - -helps['sig'] = """ - type: group - short-summary: Manage gallery with vm -""" - -helps['sig image-definition'] = """ - type: group - short-summary: Manage gallery with vm sub group image-definition -""" - -helps['sig image-definition list-shared'] = """ - type: command - short-summary: "List shared gallery images by subscription id or tenant id." - examples: - - name: Get a gallery. - text: |- - az sig image-definition list-shared --gallery-unique-name "galleryUniqueName" --location "myLocation" -""" - -helps['sig image-version'] = """ - type: group - short-summary: Manage gallery with vm sub group image-version -""" - -helps['sig image-version list-shared'] = """ - type: command - short-summary: "List shared gallery image versions by subscription id or tenant id." - examples: - - name: Get a gallery. - text: |- - az sig image-version list-shared --gallery-image-definition "myGalleryImageName" --gallery-unique-name \ -"galleryUniqueName" --location "myLocation" -""" - -helps['sig list-shared'] = """ - type: command - short-summary: "List shared galleries by subscription id or tenant id." - examples: - - name: Get a gallery. - text: |- - az sig list-shared --location "myLocation" -""" - -helps['sig show-shared'] = """ - type: command - short-summary: "Get a shared gallery by subscription id or tenant id." - examples: - - name: Get a gallery. - text: |- - az sig show-shared --gallery-unique-name "galleryUniqueName" --location "myLocation" -""" - -helps['sig image-definition'] = """ - type: group - short-summary: Manage shared gallery image with vm -""" - -helps['sig image-definition show-shared'] = """ - type: command - short-summary: "Get a shared gallery image by subscription id or tenant id." - examples: - - name: Get a gallery. - text: |- - az sig image-definition show-shared --gallery-image-definition "myGalleryImageName" \ ---gallery-unique-name "galleryUniqueName" --location "myLocation" -""" - -helps['sig image-version'] = """ - type: group - short-summary: Manage shared gallery image version with vm -""" - -helps['sig image-version show-shared'] = """ - type: command - short-summary: "Get a shared gallery image version by subscription id or tenant id." - examples: - - name: Get a gallery. - text: |- - az sig image-version show-shared --gallery-image-definition "myGalleryImageName" \ ---gallery-image-version "myGalleryImageVersionName" --gallery-unique-name "galleryUniqueName" --location "myLocation" -""" diff --git a/src/azure-cli/azure/cli/command_modules/vm/generated/_params.py b/src/azure-cli/azure/cli/command_modules/vm/generated/_params.py index b71be121171..04c4842e056 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/generated/_params.py +++ b/src/azure-cli/azure/cli/command_modules/vm/generated/_params.py @@ -12,7 +12,6 @@ from azure.cli.core.commands.parameters import ( tags_type, - get_enum_type, resource_group_name_type, get_location_type ) @@ -55,50 +54,3 @@ def load_arguments(self, _): c.argument('resource_group_name', resource_group_name_type) c.argument('ssh_public_key_name', options_list=['--name', '-n', '--ssh-public-key-name'], type=str, help='The ' 'name of the SSH public key.', id_part='name') - - with self.argument_context('sig image-definition list-shared') as c: - c.argument('location', arg_type=get_location_type(self.cli_ctx), id_part='name') - c.argument('gallery_unique_name', type=str, help='The unique name of the Shared Gallery.', - id_part='child_name_1') - c.argument('shared_to', arg_type=get_enum_type(['tenant']), help='The query parameter to decide what shared ' - 'galleries to fetch when doing listing operations.') - - with self.argument_context('sig image-version list-shared') as c: - c.argument('location', arg_type=get_location_type(self.cli_ctx), id_part='name') - c.argument('gallery_unique_name', type=str, help='The unique name of the Shared Gallery.', - id_part='child_name_1') - c.argument('gallery_image_name', options_list=['--gallery-image-definition', '-i'], type=str, help='The name ' - 'of the Shared Gallery Image Definition from which the Image Versions are to be listed.', - id_part='child_name_2') - c.argument('shared_to', arg_type=get_enum_type(['tenant']), help='The query parameter to decide what shared ' - 'galleries to fetch when doing listing operations.') - - with self.argument_context('sig list-shared') as c: - c.argument('location', arg_type=get_location_type(self.cli_ctx)) - c.argument('shared_to', arg_type=get_enum_type(['tenant']), help='The query parameter to decide what shared ' - 'galleries to fetch when doing listing operations.') - - with self.argument_context('sig show-shared') as c: - c.argument('location', arg_type=get_location_type(self.cli_ctx), id_part='name') - c.argument('gallery_unique_name', type=str, help='The unique name of the Shared Gallery.', - id_part='child_name_1') - - with self.argument_context('sig image-definition show-shared') as c: - c.argument('location', arg_type=get_location_type(self.cli_ctx), id_part='name') - c.argument('gallery_unique_name', type=str, help='The unique name of the Shared Gallery.', - id_part='child_name_1') - c.argument('gallery_image_name', options_list=['--gallery-image-definition', '-i'], type=str, help='The name ' - 'of the Shared Gallery Image Definition from which the Image Versions are to be listed.', - id_part='child_name_2') - - with self.argument_context('sig image-version show-shared') as c: - c.argument('location', arg_type=get_location_type(self.cli_ctx), id_part='name') - c.argument('gallery_unique_name', type=str, help='The unique name of the Shared Gallery.', - id_part='child_name_1') - c.argument('gallery_image_name', options_list=['--gallery-image-definition', '-i'], type=str, help='The name ' - 'of the Shared Gallery Image Definition from which the Image Versions are to be listed.', - id_part='child_name_2') - c.argument('gallery_image_version_name', options_list=['--gallery-image-version', '-e'], type=str, help='The ' - 'name of the gallery image version to be created. Needs to follow semantic version name pattern: ' - 'The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. ' - 'Format: ..', id_part='child_name_3') diff --git a/src/azure-cli/azure/cli/command_modules/vm/generated/commands.py b/src/azure-cli/azure/cli/command_modules/vm/generated/commands.py index 910523a7dd0..3c60a72217c 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/generated/commands.py +++ b/src/azure-cli/azure/cli/command_modules/vm/generated/commands.py @@ -16,40 +16,14 @@ def load_command_table(self, _): from ..generated._client_factory import cf_ssh_public_key + vm_ssh_public_key = CliCommandType( operations_tmpl='azure.mgmt.compute.operations._ssh_public_keys_operations#SshPublicKeysOperations.{}', - client_factory=cf_ssh_public_key) + client_factory=cf_ssh_public_key, + ) with self.command_group('sshkey', vm_ssh_public_key, client_factory=cf_ssh_public_key) as g: g.custom_command('list', 'sshkey_list') g.custom_show_command('show', 'sshkey_show') g.custom_command('create', 'sshkey_create') g.custom_command('update', 'sshkey_update') g.custom_command('delete', 'sshkey_delete', confirmation=True) - - from ..generated._client_factory import cf_gallery - vm_gallery = CliCommandType( - operations_tmpl='azure.mgmt.compute.operations._galleries_operations#GalleriesOperations.{}', - client_factory=cf_gallery) - with self.command_group('sig', vm_gallery, client_factory=cf_gallery) as g: - g.custom_command('image-definition list-shared', 'sig_image_definition_list_shared') - g.custom_command('image-version list-shared', 'sig_image_version_list_shared') - g.custom_command('list-shared', 'sig_list_shared') - g.custom_command('show-shared', 'sig_show_shared') - - from ..generated._client_factory import cf_shared_gallery_image - vm_shared_gallery_image = CliCommandType( - operations_tmpl='azure.mgmt.compute.operations._shared_gallery_images_operations#SharedGalleryImagesOperations.' - '{}', - client_factory=cf_shared_gallery_image) - with self.command_group('sig image-definition', vm_shared_gallery_image, - client_factory=cf_shared_gallery_image) as g: - g.custom_command('show-shared', 'sig_image_definition_show_shared', is_experimental=True) - - from ..generated._client_factory import cf_shared_gallery_image_version - vm_shared_gallery_image_version = CliCommandType( - operations_tmpl='azure.mgmt.compute.operations._shared_gallery_image_versions_operations#SharedGalleryImageVers' - 'ionsOperations.{}', - client_factory=cf_shared_gallery_image_version) - with self.command_group('sig image-version', vm_shared_gallery_image_version, - client_factory=cf_shared_gallery_image_version) as g: - g.custom_command('show-shared', 'sig_image_version_show_shared', is_experimental=True) diff --git a/src/azure-cli/azure/cli/command_modules/vm/generated/custom.py b/src/azure-cli/azure/cli/command_modules/vm/generated/custom.py index 7f7f6f0bad6..ffb221f954e 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/generated/custom.py +++ b/src/azure-cli/azure/cli/command_modules/vm/generated/custom.py @@ -57,63 +57,3 @@ def sshkey_delete(client, ssh_public_key_name): return client.delete(resource_group_name=resource_group_name, ssh_public_key_name=ssh_public_key_name) - - -def sig_image_definition_list_shared(client, - location, - gallery_unique_name, - shared_to=None): - if shared_to is None: - shared_to = "tenant" - return client.list(location=location, - gallery_unique_name=gallery_unique_name, - shared_to=shared_to) - - -def sig_image_version_list_shared(client, - location, - gallery_unique_name, - gallery_image_name, - shared_to=None): - if shared_to is None: - shared_to = "tenant" - return client.list(location=location, - gallery_unique_name=gallery_unique_name, - gallery_image_name=gallery_image_name, - shared_to=shared_to) - - -def sig_list_shared(client, - location, - shared_to=None): - if shared_to is None: - shared_to = "tenant" - return client.list(location=location, - shared_to=shared_to) - - -def sig_show_shared(client, - location, - gallery_unique_name): - return client.get(location=location, - gallery_unique_name=gallery_unique_name) - - -def sig_image_definition_show_shared(client, - location, - gallery_unique_name, - gallery_image_name): - return client.get(location=location, - gallery_unique_name=gallery_unique_name, - gallery_image_name=gallery_image_name) - - -def sig_image_version_show_shared(client, - location, - gallery_unique_name, - gallery_image_name, - gallery_image_version_name): - return client.get(location=location, - gallery_unique_name=gallery_unique_name, - gallery_image_name=gallery_image_name, - gallery_image_version_name=gallery_image_version_name) diff --git a/src/azure-cli/azure/cli/command_modules/vm/manual/_client_factory.py b/src/azure-cli/azure/cli/command_modules/vm/manual/_client_factory.py deleted file mode 100644 index ca78533d1a2..00000000000 --- a/src/azure-cli/azure/cli/command_modules/vm/manual/_client_factory.py +++ /dev/null @@ -1,24 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - - -def cf_vm_cl(cli_ctx, *_): - from azure.cli.core.commands.client_factory import get_mgmt_service_client - from azure.mgmt.compute import ComputeManagementClient - return get_mgmt_service_client(cli_ctx, - ComputeManagementClient) - - -def cf_shared_galleries(cli_ctx, *_): - return cf_vm_cl(cli_ctx).shared_galleries - - -def cf_gallery_sharing_profile(cli_ctx, *_): - return cf_vm_cl(cli_ctx).gallery_sharing_profile diff --git a/src/azure-cli/azure/cli/command_modules/vm/manual/_help.py b/src/azure-cli/azure/cli/command_modules/vm/manual/_help.py index 25794a23bfe..f42790c7e78 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/manual/_help.py +++ b/src/azure-cli/azure/cli/command_modules/vm/manual/_help.py @@ -57,76 +57,3 @@ type: command short-summary: "Delete an SSH public key." """ - -helps['sig share'] = """ - type: group - short-summary: Manage gallery sharing profile -""" - -helps['sig share add'] = """ - type: command - short-summary: Add sharing id to the sharing profile of a gallery. - examples: - - name: Add sharing id to the sharing profile of a gallery. - text: |- - az sig share add --gallery-name "myGalleryName" --resource-group "myResourceGroup" \ ---subscription-ids "34a4ab42-0d72-47d9-bd1a-aed207386dac" "380fd389-260b-41aa-bad9-0a83108c370b" \ ---tenant-ids "c24c76aa-8897-4027-9b03-8f7928b54ff6" -""" - -helps['sig share remove'] = """ - type: command - short-summary: "Remove sharing profile of a gallery." - examples: - - name: Remove sharing ID to the sharing profile of a gallery. - text: |- - az sig share remove --gallery-name "myGalleryName" --resource-group "myResourceGroup" \ ---subscription-ids "34a4ab42-0d72-47d9-bd1a-aed207386dac" "380fd389-260b-41aa-bad9-0a83108c370b" \ ---tenant-ids "c24c76aa-8897-4027-9b03-8f7928b54ff6" -""" - -helps['sig share reset'] = """ - type: command - short-summary: "Reset sharing profile of a gallery." - examples: - - name: Reset sharing profile of a gallery. - text: |- - az sig share reset --gallery-name "myGalleryName" --resource-group "myResourceGroup" -""" - -helps['sig share wait'] = """ -type: command -short-summary: Place the CLI in a waiting state until a condition of a shared gallery is met. -examples: - - name: Place the CLI in a waiting state until the gallery sharing object is updated. - text: | - az sig share wait --updated -g MyResourceGroup --gallery-name Gallery -""" - -helps['sig list-shared'] = """ - type: command - short-summary: "List shared galleries by subscription id or tenant id." - examples: - - name: List shared galleries. - text: |- - az sig list-shared --location "myLocation" -""" - -helps['sig image-definition list-shared'] = """ - type: command - short-summary: "List shared gallery images by subscription id or tenant id." - examples: - - name: List shared images. - text: |- - az sig image-definition list-shared --gallery-unique-name "galleryUniqueName" --location "myLocation" -""" - -helps['sig image-version list-shared'] = """ - type: command - short-summary: "List shared gallery image versions by subscription id or tenant id." - examples: - - name: List shared image versions. - text: |- - az sig image-version list-shared --gallery-image-definition "myGalleryImageName" --gallery-unique-name \ -"galleryUniqueName" --location "myLocation" -""" diff --git a/src/azure-cli/azure/cli/command_modules/vm/manual/_params.py b/src/azure-cli/azure/cli/command_modules/vm/manual/_params.py index e4044901aa3..0511c0fee00 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/manual/_params.py +++ b/src/azure-cli/azure/cli/command_modules/vm/manual/_params.py @@ -10,10 +10,7 @@ # pylint: disable=too-many-lines # pylint: disable=too-many-statements -from azure.cli.core.commands.parameters import ( - get_enum_type, - resource_group_name_type -) +from azure.cli.core.commands.parameters import resource_group_name_type def load_arguments(self, _): @@ -22,32 +19,3 @@ def load_arguments(self, _): c.argument('resource_group_name', resource_group_name_type) c.argument('ssh_public_key_name', options_list=['--name', '-n', '--ssh-public-key-name'], type=str, help='The ' 'name of the SSH public key.', id_part='name') - - for scope in ['sig share add', 'sig share remove']: - with self.argument_context(scope) as c: - c.argument('resource_group_name', resource_group_name_type) - c.argument('gallery_name', type=str, help='The name of the Shared Image Gallery.', id_part='name') - c.argument('subscription_ids', nargs='+', help='A list of subscription ids to share the gallery.') - c.argument('tenant_ids', nargs='+', help='A list of tenant ids to share the gallery.') - - with self.argument_context('sig share add') as c: - c.argument('op_type', default='Add', deprecate_info=c.deprecate(hide=True), - help='distinguish add operation and remove operation') - - with self.argument_context('sig share remove') as c: - c.argument('op_type', default='Remove', deprecate_info=c.deprecate(hide=True), - help='distinguish add operation and remove operation') - - with self.argument_context('sig share reset') as c: - c.argument('resource_group_name', resource_group_name_type) - c.argument('gallery_name', type=str, help='The name of the Shared Image Gallery.', id_part='name') - - with self.argument_context('sig image-definition list-shared') as c: - c.argument('shared_to', arg_type=get_enum_type(['tenant', 'subscription']), - help='The query parameter to decide what shared galleries to fetch when doing listing operations.', - default='subscription') - - with self.argument_context('sig image-version list-shared') as c: - c.argument('shared_to', arg_type=get_enum_type(['tenant', 'subscription']), - help='The query parameter to decide what shared galleries to fetch when doing listing operations.', - default='subscription') diff --git a/src/azure-cli/azure/cli/command_modules/vm/manual/commands.py b/src/azure-cli/azure/cli/command_modules/vm/manual/commands.py index 0a05ef2978f..b99e44f5303 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/manual/commands.py +++ b/src/azure-cli/azure/cli/command_modules/vm/manual/commands.py @@ -11,49 +11,15 @@ # pylint: disable=too-many-locals from azure.cli.core.commands import CliCommandType -from ..generated._client_factory import cf_shared_gallery_image_version, cf_shared_gallery_image -from ._client_factory import cf_gallery_sharing_profile, cf_shared_galleries def load_command_table(self, _): - custom_tmpl = 'azure.cli.command_modules.vm.manual.custom#{}' - - compute_custom = CliCommandType(operations_tmpl=custom_tmpl) from ..generated._client_factory import cf_ssh_public_key vm_ssh_public_key = CliCommandType( operations_tmpl='azure.mgmt.compute.operations._ssh_public_keys_operations#SshPublicKeysOperations.{}', client_factory=cf_ssh_public_key, ) - - vm_gallery_sharing_profile = CliCommandType( - operations_tmpl=( - 'azure.mgmt.compute.operations._gallery_sharing_profile_operations#GallerySharingProfileOperations.{}' - ), - client_factory=cf_gallery_sharing_profile, - operation_group='galleries' - ) - with self.command_group('sshkey', vm_ssh_public_key, client_factory=cf_ssh_public_key) as g: g.custom_command('create', 'sshkey_create') - - with self.command_group('sig') as g: - g.custom_command('list-shared', 'sig_shared_gallery_list', client_factory=cf_shared_galleries, - is_experimental=True, operation_group='shared_galleries') - - with self.command_group('sig share', vm_gallery_sharing_profile, operation_group='shared_galleries', - is_experimental=True, client_factory=cf_gallery_sharing_profile, min_api='2020-09-30') as g: - g.custom_command('add', 'sig_share_update', supports_no_wait=True) - g.custom_command('remove', 'sig_share_update', supports_no_wait=True) - g.custom_command('reset', 'sig_share_reset', supports_no_wait=True) - g.wait_command('wait', getter_name='get_gallery_instance', getter_type=compute_custom) - - with self.command_group('sig image-definition', min_api='2020-09-30', operation_group='shared_galleries', - client_factory=cf_shared_gallery_image) as g: - g.custom_command('list-shared', 'sig_shared_image_definition_list', is_experimental=True) - - with self.command_group('sig image-version', min_api='2020-09-30', - operation_group='shared_galleries', - client_factory=cf_shared_gallery_image_version) as g: - g.custom_command('list-shared', 'sig_shared_image_version_list', is_experimental=True) diff --git a/src/azure-cli/azure/cli/command_modules/vm/manual/custom.py b/src/azure-cli/azure/cli/command_modules/vm/manual/custom.py index 016a61037f1..70ff60d5600 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/manual/custom.py +++ b/src/azure-cli/azure/cli/command_modules/vm/manual/custom.py @@ -9,8 +9,6 @@ # -------------------------------------------------------------------------- # pylint: disable=too-many-lines -from azure.cli.core.azclierror import RequiredArgumentMissingError -from ._client_factory import cf_vm_cl from knack.log import get_logger @@ -56,56 +54,3 @@ def sshkey_create(client, logger.warning('Public key is saved to "%s".', public_key_file) return client.get(resource_group_name=resource_group_name, ssh_public_key_name=ssh_public_key_name) - - -def sig_shared_gallery_list(client, location, shared_to=None): - if shared_to == 'subscription': - shared_to = None - return client.list(location=location, - shared_to=shared_to) - - -def sig_share_update(cmd, client, resource_group_name, gallery_name, subscription_ids=None, tenant_ids=None, - op_type=None): - SharingProfileGroup, SharingUpdate, SharingProfileGroupTypes = cmd.get_models( - 'SharingProfileGroup', 'SharingUpdate', 'SharingProfileGroupTypes') - if subscription_ids is None and tenant_ids is None: - raise RequiredArgumentMissingError('At least one of subscription ids or tenant ids must be provided') - groups = [] - if subscription_ids: - groups.append(SharingProfileGroup(type=SharingProfileGroupTypes.SUBSCRIPTIONS, ids=subscription_ids)) - if tenant_ids: - groups.append(SharingProfileGroup(type=SharingProfileGroupTypes.AAD_TENANTS, ids=tenant_ids)) - sharing_update = SharingUpdate(operation_type=op_type, groups=groups) - return client.begin_update(resource_group_name=resource_group_name, - gallery_name=gallery_name, - sharing_update=sharing_update) - - -def sig_share_reset(cmd, client, resource_group_name, gallery_name): - SharingUpdate, SharingUpdateOperationTypes = cmd.get_models('SharingUpdate', 'SharingUpdateOperationTypes') - sharing_update = SharingUpdate(operation_type=SharingUpdateOperationTypes.RESET) - return client.begin_update(resource_group_name=resource_group_name, - gallery_name=gallery_name, - sharing_update=sharing_update) - - -def sig_shared_image_definition_list(client, location, gallery_unique_name, shared_to=None): - if shared_to == 'subscription': - shared_to = None - return client.list(location=location, - gallery_unique_name=gallery_unique_name, - shared_to=shared_to) - - -def sig_shared_image_version_list(client, location, gallery_unique_name, gallery_image_name, shared_to=None): - if shared_to == 'subscription': - shared_to = None - return client.list(location=location, gallery_unique_name=gallery_unique_name, - gallery_image_name=gallery_image_name, shared_to=shared_to) - - -def get_gallery_instance(cmd, resource_group_name, gallery_name): - client = cf_vm_cl(cmd.cli_ctx) - SelectPermissions = cmd.get_models('SelectPermissions') - return client.galleries.get(resource_group_name, gallery_name, select=SelectPermissions.PERMISSIONS) diff --git a/src/azure-cli/azure/cli/command_modules/vm/report.md b/src/azure-cli/azure/cli/command_modules/vm/report.md index 7384467e9e1..2b395313e82 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/report.md +++ b/src/azure-cli/azure/cli/command_modules/vm/report.md @@ -10,29 +10,8 @@ |CLI Command Group|Group Swagger name|Commands| |---------|------------|--------| |az sshkey|SshPublicKeys|[commands](#CommandsInSshPublicKeys)| -|az sig|Galleries|[commands](#CommandsInGalleries)| -|az sig image-definition|SharedGalleryImages|[commands](#CommandsInSharedGalleryImages)| -|az sig image-version|SharedGalleryImageVersions|[commands](#CommandsInSharedGalleryImageVersions)| ## COMMANDS -### Commands in `az sig` group -|CLI Command|Operation Swagger name|Parameters|Examples| -|---------|------------|--------|-----------| -|[az sig image-definition list-shared](#GalleriesList)|List|[Parameters](#ParametersGalleriesList)|[Example](#ExamplesGalleriesList)| -|[az sig image-version list-shared](#GalleriesList)|List|[Parameters](#ParametersGalleriesList)|[Example](#ExamplesGalleriesList)| -|[az sig list-shared](#GalleriesList)|List|[Parameters](#ParametersGalleriesList)|[Example](#ExamplesGalleriesList)| -|[az sig show-shared](#GalleriesGet)|Get|[Parameters](#ParametersGalleriesGet)|[Example](#ExamplesGalleriesGet)| - -### Commands in `az sig image-definition` group -|CLI Command|Operation Swagger name|Parameters|Examples| -|---------|------------|--------|-----------| -|[az sig image-definition show-shared](#SharedGalleryImagesGet)|Get|[Parameters](#ParametersSharedGalleryImagesGet)|[Example](#ExamplesSharedGalleryImagesGet)| - -### Commands in `az sig image-version` group -|CLI Command|Operation Swagger name|Parameters|Examples| -|---------|------------|--------|-----------| -|[az sig image-version show-shared](#SharedGalleryImageVersionsGet)|Get|[Parameters](#ParametersSharedGalleryImageVersionsGet)|[Example](#ExamplesSharedGalleryImageVersionsGet)| - ### Commands in `az sshkey` group |CLI Command|Operation Swagger name|Parameters|Examples| |---------|------------|--------|-----------| @@ -46,90 +25,6 @@ ## COMMAND DETAILS -### group `az sig` -#### Command `az sig image-definition list-shared` - -##### Example -``` -az sig image-definition list-shared --gallery-unique-name "galleryUniqueName" --location "myLocation" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--location**|string|Resource location.|location|location| -|**--gallery-unique-name**|string|The unique name of the Shared Gallery.|gallery_unique_name|galleryUniqueName| -|**--shared-to**|choice|The query parameter to decide what shared galleries to fetch when doing listing operations.|shared_to|sharedTo| - -#### Command `az sig image-version list-shared` - -##### Example -``` -az sig image-version list-shared --gallery-image-definition "myGalleryImageName" --gallery-unique-name \ -"galleryUniqueName" --location "myLocation" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--location**|string|Resource location.|location|location| -|**--gallery-unique-name**|string|The unique name of the Shared Gallery.|gallery_unique_name|galleryUniqueName| -|**--gallery-image-name**|string|The name of the Shared Gallery Image Definition from which the Image Versions are to be listed.|gallery_image_name|galleryImageName| -|**--shared-to**|choice|The query parameter to decide what shared galleries to fetch when doing listing operations.|shared_to|sharedTo| - -#### Command `az sig list-shared` - -##### Example -``` -az sig list-shared --location "myLocation" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--location**|string|Resource location.|location|location| -|**--shared-to**|choice|The query parameter to decide what shared galleries to fetch when doing listing operations.|shared_to|sharedTo| - -#### Command `az sig show-shared` - -##### Example -``` -az sig show-shared --gallery-unique-name "galleryUniqueName" --location "myLocation" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--location**|string|Resource location.|location|location| -|**--gallery-unique-name**|string|The unique name of the Shared Gallery.|gallery_unique_name|galleryUniqueName| - -### group `az sig image-definition` -#### Command `az sig image-definition show-shared` - -##### Example -``` -az sig image-definition show-shared --gallery-image-definition "myGalleryImageName" --gallery-unique-name \ -"galleryUniqueName" --location "myLocation" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--location**|string|Resource location.|location|location| -|**--gallery-unique-name**|string|The unique name of the Shared Gallery.|gallery_unique_name|galleryUniqueName| -|**--gallery-image-name**|string|The name of the Shared Gallery Image Definition from which the Image Versions are to be listed.|gallery_image_name|galleryImageName| - -### group `az sig image-version` -#### Command `az sig image-version show-shared` - -##### Example -``` -az sig image-version show-shared --gallery-image-definition "myGalleryImageName" --gallery-image-version \ -"myGalleryImageVersionName" --gallery-unique-name "galleryUniqueName" --location "myLocation" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--location**|string|Resource location.|location|location| -|**--gallery-unique-name**|string|The unique name of the Shared Gallery.|gallery_unique_name|galleryUniqueName| -|**--gallery-image-name**|string|The name of the Shared Gallery Image Definition from which the Image Versions are to be listed.|gallery_image_name|galleryImageName| -|**--gallery-image-version-name**|string|The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: ..|gallery_image_version_name|galleryImageVersionName| - ### group `az sshkey` #### Command `az sshkey list` diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/__init__.py b/src/azure-cli/azure/cli/command_modules/vm/tests/__init__.py deleted file mode 100644 index 70488e93851..00000000000 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/__init__.py +++ /dev/null @@ -1,116 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- -import inspect -import logging -import os -import sys -import traceback -import datetime as dt - -from azure.core.exceptions import AzureError -from azure.cli.testsdk.exceptions import CliTestError, CliExecutionError, JMESPathCheckAssertionError - - -logger = logging.getLogger('azure.cli.testsdk') -logger.addHandler(logging.StreamHandler()) -__path__ = __import__('pkgutil').extend_path(__path__, __name__) -exceptions = [] -test_map = dict() -SUCCESSED = "successed" -FAILED = "failed" - - -def try_manual(func): - def import_manual_function(origin_func): - from importlib import import_module - decorated_path = inspect.getfile(origin_func).lower() - module_path = __path__[0].lower() - if not decorated_path.startswith(module_path): - raise Exception("Decorator can only be used in submodules!") - manual_path = os.path.join( - decorated_path[module_path.rfind(os.path.sep) + 1:]) - manual_file_path, manual_file_name = os.path.split(manual_path) - module_name, _ = os.path.splitext(manual_file_name) - manual_module = "..manual." + \ - ".".join(manual_file_path.split(os.path.sep) + [module_name, ]) - return getattr(import_module(manual_module, package=__name__), origin_func.__name__) - - def get_func_to_call(): - func_to_call = func - try: - func_to_call = import_manual_function(func) - logger.info("Found manual override for %s(...)", func.__name__) - except (ImportError, AttributeError): - pass - return func_to_call - - def wrapper(*args, **kwargs): - func_to_call = get_func_to_call() - logger.info("running %s()...", func.__name__) - try: - test_map[func.__name__] = dict() - test_map[func.__name__]["result"] = SUCCESSED - test_map[func.__name__]["error_message"] = "" - test_map[func.__name__]["error_stack"] = "" - test_map[func.__name__]["error_normalized"] = "" - test_map[func.__name__]["start_dt"] = dt.datetime.utcnow() - ret = func_to_call(*args, **kwargs) - except (AssertionError, AzureError, CliTestError, CliExecutionError, SystemExit, - JMESPathCheckAssertionError) as e: - use_exception_cache = os.getenv("TEST_EXCEPTION_CACHE") - if use_exception_cache is None or use_exception_cache.lower() != "true": - raise - test_map[func.__name__]["end_dt"] = dt.datetime.utcnow() - test_map[func.__name__]["result"] = FAILED - test_map[func.__name__]["error_message"] = str(e).replace("\r\n", " ").replace("\n", " ")[:500] - test_map[func.__name__]["error_stack"] = traceback.format_exc().replace( - "\r\n", " ").replace("\n", " ")[:500] - logger.info("--------------------------------------") - logger.info("step exception: %s", e) - logger.error("--------------------------------------") - logger.error("step exception in %s: %s", func.__name__, e) - logger.info(traceback.format_exc()) - exceptions.append((func.__name__, sys.exc_info())) - else: - test_map[func.__name__]["end_dt"] = dt.datetime.utcnow() - return ret - - if inspect.isclass(func): - return get_func_to_call() - return wrapper - - -def calc_coverage(filename): - filename = filename.split(".")[0] - coverage_name = filename + "_coverage.md" - with open(coverage_name, "w") as f: - f.write("|Scenario|Result|ErrorMessage|ErrorStack|ErrorNormalized|StartDt|EndDt|\n") - total = len(test_map) - covered = 0 - for k, v in test_map.items(): - if not k.startswith("step_"): - total -= 1 - continue - if v["result"] == SUCCESSED: - covered += 1 - f.write("|{step_name}|{result}|{error_message}|{error_stack}|{error_normalized}|{start_dt}|" - "{end_dt}|\n".format(step_name=k, **v)) - f.write("Coverage: {}/{}\n".format(covered, total)) - print("Create coverage\n", file=sys.stderr) - - -def raise_if(): - if exceptions: - if len(exceptions) <= 1: - raise exceptions[0][1][1] - message = "{}\nFollowed with exceptions in other steps:\n".format(str(exceptions[0][1][1])) - message += "\n".join(["{}: {}".format(h[0], h[1][1]) for h in exceptions[1:]]) - raise exceptions[0][1][0](message).with_traceback(exceptions[0][1][2]) diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_gallery_e2e.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_gallery_e2e.yaml index 495ca7b5c19..42e320a141f 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_gallery_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_gallery_e2e.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/16.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/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-09T13:16:34Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2021-05-25T06:14:24Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:16:40 GMT + - Tue, 25 May 2021 06:14:27 GMT expires: - '-1' pragma: @@ -59,28 +59,27 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002?api-version=2019-12-01 response: body: string: "{\r\n \"name\": \"gallery_000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus2\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY_ZQ7DYPEU5VOZ\"\r\n },\r\n - \ \"sharingProfile\": {\r\n \"permissions\": \"Private\"\r\n },\r\n + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY_F73CTCYI3W7G\"\r\n },\r\n \ \"provisioningState\": \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/d324d277-1f42-421a-8c4d-00d7bb7051de?api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/6379045d-89cf-4617-bcd4-fc515eb5f666?api-version=2019-12-01 cache-control: - no-cache content-length: - - '572' + - '507' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:16:49 GMT + - Tue, 25 May 2021 06:14:35 GMT expires: - '-1' pragma: @@ -95,7 +94,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGallery3Min;49,Microsoft.Compute/CreateUpdateGallery30Min;299 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1190' status: code: 201 message: Created @@ -113,14 +112,14 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/eastus2/capsOperations/d324d277-1f42-421a-8c4d-00d7bb7051de?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/6379045d-89cf-4617-bcd4-fc515eb5f666?api-version=2019-12-01 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:16:47.9405946+00:00\",\r\n \"endTime\": - \"2021-06-09T13:16:48.5662179+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"d324d277-1f42-421a-8c4d-00d7bb7051de\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:14:33.5445575+00:00\",\r\n \"endTime\": + \"2021-05-25T06:14:33.7791104+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"6379045d-89cf-4617-bcd4-fc515eb5f666\"\r\n}" headers: cache-control: - no-cache @@ -129,7 +128,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:17:19 GMT + - Tue, 25 May 2021 06:15:06 GMT expires: - '-1' pragma: @@ -164,15 +163,15 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002?api-version=2019-12-01 response: body: string: "{\r\n \"name\": \"gallery_000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus2\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY_ZQ7DYPEU5VOZ\"\r\n },\r\n + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY_F73CTCYI3W7G\"\r\n },\r\n \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: cache-control: @@ -182,7 +181,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:17:19 GMT + - Tue, 25 May 2021 06:15:06 GMT expires: - '-1' pragma: @@ -199,7 +198,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;346,Microsoft.Compute/GetGallery30Min;2496 + - Microsoft.Compute/GetGallery3Min;346,Microsoft.Compute/GetGallery30Min;2494 status: code: 200 message: OK @@ -217,16 +216,16 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/clitest.rg000001/providers/Microsoft.Compute/galleries?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries?api-version=2019-12-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"gallery_000002\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLITEST.RGWB4FTQKKDYRLMTHMI3LOU7TRM4QFQL7YT4XWOLEQYNOSVHTPQMCDYYDOK53OVHV5G/providers/Microsoft.Compute/galleries/gallery_000002\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLITEST.RG7LIDSPPAVDL46VYZFRF2WSEHI4XYWT2ZVHXBX5B5ICNNLZU4UXWE2QE7N2LZDVIK7/providers/Microsoft.Compute/galleries/gallery_000002\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus2\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": - {\r\n \"uniqueName\": \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY_ZQ7DYPEU5VOZ\"\r\n + {\r\n \"uniqueName\": \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY_F73CTCYI3W7G\"\r\n \ },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n \ }\r\n ]\r\n}" headers: @@ -237,7 +236,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:17:21 GMT + - Tue, 25 May 2021 06:15:09 GMT expires: - '-1' pragma: @@ -272,15 +271,15 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002?api-version=2019-12-01 response: body: string: "{\r\n \"name\": \"gallery_000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus2\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY_ZQ7DYPEU5VOZ\"\r\n },\r\n + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY_F73CTCYI3W7G\"\r\n },\r\n \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: cache-control: @@ -290,7 +289,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:17:22 GMT + - Tue, 25 May 2021 06:15:10 GMT expires: - '-1' pragma: @@ -307,7 +306,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;345,Microsoft.Compute/GetGallery30Min;2495 + - Microsoft.Compute/GetGallery3Min;345,Microsoft.Compute/GetGallery30Min;2493 status: code: 200 message: OK @@ -325,12 +324,12 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/16.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/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-09T13:16:34Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2021-05-25T06:14:24Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -339,7 +338,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:17:23 GMT + - Tue, 25 May 2021 06:15:10 GMT expires: - '-1' pragma: @@ -373,7 +372,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1?api-version=2020-09-30 response: @@ -387,7 +386,7 @@ interactions: \ }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/e4631cba-5be1-4139-ac53-143f56953956?api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/194a458d-34b0-45a7-afc0-51dfa3ae63c6?api-version=2020-09-30 cache-control: - no-cache content-length: @@ -395,7 +394,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:17:31 GMT + - Tue, 25 May 2021 06:15:17 GMT expires: - '-1' pragma: @@ -410,7 +409,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGalleryImage3Min;149,Microsoft.Compute/CreateUpdateGalleryImage30Min;749 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 201 message: Created @@ -428,14 +427,14 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/eastus2/capsOperations/e4631cba-5be1-4139-ac53-143f56953956?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/194a458d-34b0-45a7-afc0-51dfa3ae63c6?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:17:29.9252272+00:00\",\r\n \"endTime\": - \"2021-06-09T13:17:30.0502314+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"e4631cba-5be1-4139-ac53-143f56953956\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:15:16.8417864+00:00\",\r\n \"endTime\": + \"2021-05-25T06:15:16.9511393+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"194a458d-34b0-45a7-afc0-51dfa3ae63c6\"\r\n}" headers: cache-control: - no-cache @@ -444,7 +443,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:18:01 GMT + - Tue, 25 May 2021 06:15:48 GMT expires: - '-1' pragma: @@ -479,7 +478,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1?api-version=2020-09-30 response: @@ -499,7 +498,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:18:01 GMT + - Tue, 25 May 2021 06:15:48 GMT expires: - '-1' pragma: @@ -516,7 +515,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImage3Min;596,Microsoft.Compute/GetGalleryImage30Min;2996 + - Microsoft.Compute/GetGalleryImage3Min;596,Microsoft.Compute/GetGalleryImage30Min;2994 status: code: 200 message: OK @@ -534,7 +533,7 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images?api-version=2020-09-30 response: @@ -548,7 +547,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:18:04 GMT + - Tue, 25 May 2021 06:15:51 GMT expires: - '-1' pragma: @@ -560,43 +559,42 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 0b56e890-a440-4274-bb4d-15029d9bfcd0 - - 14416a25-34ab-4fed-ae0d-add46f62b575 - - 2fde773e-96ff-4c6b-8936-b00b3df21125 - - 72daef80-69e1-4534-9899-a84a55607a24 - - d5433961-f462-4ade-9ef4-7de4b62892b3 - - ac786e80-206c-4130-8ee4-51a4611d2a2a - - 99c75600-7ea0-4776-a857-94f8a3b9790a - - ee117f4c-b0f9-4557-9b3f-e64195c6cebf - - d42b73b8-f213-4521-89b6-e21342caac51 - - 0f4b7e3e-6299-4260-86f7-7041ef944357 - - 4a3884e6-3c59-4471-a28b-92337e3d98ec - - b2e3e9c9-f85a-4723-ad9d-c8c5d150683e - - 9e4eee2e-a836-4ae9-beee-96ebfd36fd2e - - e73025e7-33a7-4e95-baf6-46f0d1eb20eb - - 03a7864f-9f6b-4e03-ad88-667a5959628c - - a9d486d9-f11f-4614-887b-2bb1313ea187 - - 31648abc-6d9d-4718-85b7-628344762a3d - - 964668a8-f453-4d32-9487-112253fa4292 - - a1f04465-1fc6-41ed-9380-51d36c7cc275 - - 98b8a7e2-557b-4a7f-a151-64d9399b89c9 - - 18a6194d-6e07-49f1-84ac-8690182e7316 - - 8599c4b0-71ba-41de-8c25-34b1df1801ab - - d2d5676c-2626-4b91-82d4-140af1bc1812 - - 0338d573-69b5-4785-9565-a52a459fd875 - - 2662973f-6a46-4bf9-b058-360cb6e438e0 - - 584477b5-04a0-408f-a8de-c23a037b603c - - 9f2cfd6c-e072-4aa1-8af0-f1603c5f7c04 - - 6f56ba5b-7827-4c72-aff8-f08bd9211f3a - - f7588faa-cea5-4684-8f99-341b4df84502 - - c5cd63a6-7767-492b-9e6a-d1879a37d16e - - 4ec51db0-afd8-4b33-a2b5-9b739579b4e3 - - 2eacd71f-afcb-4fec-8e94-436f4aec7544 - - 02ec2615-2edf-425e-bcc8-76419853aa9c - - d125c635-4440-4aee-93ee-b1ab9e073e5f - - 086a37d8-9b28-41c5-a7ea-1e4e1455912f - - 27645d4b-1459-4306-aef0-cd073f5d0a4b - - 0ce1c7c9-fd8a-4741-b86c-0b0006349d2f + - 38884b7d-4999-4290-b724-e59393d599fb + - aa033e94-fe99-4452-948d-b92abf20db0a + - 7c0f6af2-1f61-4c64-85a4-c922853b9111 + - 93bcb334-e6b4-40c7-a5f3-ae16b96659df + - e3a4815c-9f35-419d-8ccd-e4f8587676af + - fca3c38a-823b-435d-afb0-b9c646e49055 + - 9ef3371c-a5f9-4049-85d2-496e80a71e99 + - 62dd5a66-2538-4d11-ba86-e68a5345e54e + - 81c8eb60-3af6-45a5-bb5a-3437b7795919 + - 5d6b6331-855d-4954-b47d-ea63d8e05f71 + - 2a0f1e18-f5fe-4627-9996-60bc2b728097 + - e7fefa08-c02e-4ec3-9771-a44f7dbc622e + - c08ab624-afd6-460e-8ebd-9340f023bd48 + - 5fa8060e-d12e-4275-8a39-9487e259c58e + - 153128db-c56f-4c1d-bebf-12ec58ef5a82 + - f494a3d8-9c97-4b4d-a7ac-d3837eab8a2f + - da5d3419-ff56-4abb-8b97-0456daa4a329 + - d1610c01-6c73-46b9-8597-dedb9c9d141d + - ce4756c6-639f-4a94-a8ca-15d5386e1825 + - bbbef73c-8a16-4315-88f5-3b12c0b56000 + - 3746d8cd-b9c7-49de-9789-11ef22dd707f + - fe42cf7f-10a9-4197-95af-ce69b413451c + - 9006ef16-a5f6-4577-844a-3b7822f40b6f + - 14f03e2a-01ad-42d9-8691-c85bd722d491 + - 11822132-3fd9-4006-aeca-d0ab535918d8 + - 66356f86-6405-4bbd-bf63-1807f9f0a595 + - d3fb3ada-cb2a-4645-a8d5-ff0d7a588703 + - d38dfd30-6d14-4c12-ab47-55fccaa0db6c + - f0348b55-092c-4403-a10c-70cf75dd486a + - 8c6800c6-f238-4aa5-8837-9e63051ed118 + - 1b44353c-6c6d-4a12-91fd-e49a2dd57d15 + - 29a6089b-c065-417c-804c-1396dee0d243 + - a0ec1a50-b164-484a-a11d-88829c11c1f6 + - ab61edbf-f078-47ad-99aa-9681d0def248 + - d9251188-0983-4d98-83af-d6d0d325b0bc + - 87a43baa-99df-4b5f-aeea-b26a747888a6 status: code: 200 message: OK @@ -614,7 +612,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1?api-version=2020-09-30 response: @@ -634,7 +632,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:18:04 GMT + - Tue, 25 May 2021 06:15:52 GMT expires: - '-1' pragma: @@ -651,7 +649,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImage3Min;595,Microsoft.Compute/GetGalleryImage30Min;2995 + - Microsoft.Compute/GetGalleryImage3Min;595,Microsoft.Compute/GetGalleryImage30Min;2993 status: code: 200 message: OK @@ -669,12 +667,12 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/16.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/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-09T13:16:34Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2021-05-25T06:14:24Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -683,7 +681,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:18:05 GMT + - Tue, 25 May 2021 06:15:52 GMT expires: - '-1' pragma: @@ -762,13 +760,13 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Wed, 09 Jun 2021 13:18:05 GMT + - Tue, 25 May 2021 06:15:53 GMT etag: - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" expires: - - Wed, 09 Jun 2021 13:23:05 GMT + - Tue, 25 May 2021 06:20:53 GMT source-age: - - '59' + - '260' strict-transport-security: - max-age=31536000 vary: @@ -778,19 +776,19 @@ interactions: x-cache: - HIT x-cache-hits: - - '210' + - '2' x-content-type-options: - nosniff x-fastly-request-id: - - 171da1a0cf87c2ff712f8be9c7dca6323719fb02 + - 594da1c0371121400f719f39d52d9e82adca7965 x-frame-options: - deny x-github-request-id: - - BA3C:02C6:124643:150A37:60C0897D + - 76E4:7B19:1861EF:259B1D:60AA60F7 x-served-by: - - cache-qpg1242-QPG + - cache-qpg1231-QPG x-timer: - - S1623244686.732147,VS0,VE0 + - S1621923354.601501,VS0,VE0 x-xss-protection: - 1; mode=block status: @@ -810,7 +808,7 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/18.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/clitest.rg000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 response: @@ -824,7 +822,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:18:05 GMT + - Tue, 25 May 2021 06:15:53 GMT expires: - '-1' pragma: @@ -858,17 +856,16 @@ interactions: {"apiVersion": "2021-03-01", "type": "Microsoft.Compute/virtualMachines", "name": "vm1", "location": "eastus2", "tags": {}, "dependsOn": ["Microsoft.Network/networkInterfaces/vm1VMNic"], "properties": {"hardwareProfile": {"vmSize": "Standard_DS1_v2"}, "networkProfile": - {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/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, "deleteOption": - null}]}, "osProfile": {"computerName": "vm1", "adminUsername": "clitest1", "linuxConfiguration": - {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC86Jgk+Wp0JneEvsoZMG3PIL/zMJIbuY+r3xakXOZ8thq9gOQVgxSLdwUELhPy1iekWGsoGrvQIMEb22upTPG/9VaulCAVXfZnIetNUlId5DNAxOiyvOMEIqhPuxIOce0KKeGnCMkfPGzXrT3hqg8mSU8xW4cDNKJGikpPLMTX+O8V0QptnO5n7E4vH3zPOWuH9Xf0D2uTc6Z8JUFIljy1LfmvJkAitEsPWBott4k4JtxueODbNB+RaQT/p4FUGcxKMObAgQw0jJWKoZTylQOi0xtOOBKAS19+bXwo8AMOoUOB+8CHDX+3okZI3thHN7C1oL7qm6pfHdgvNrt1sPFl", - "path": "/home/clitest1/.ssh/authorized_keys"}]}}}}}], "outputs": {}}, "parameters": - {}, "mode": "incremental"}}' + {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"}]}, + "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 AAAAB3NzaC1yc2EAAAADAQABAAABgQDUkQ08GKz7v20K0CXEXVnY5prCnEUl+A2KA4Ubg6W76fdqSl4LZneP4MiMOltUAoZsAYbT6D4ja7kxZqGnu7RB0g6Oqv1g0eHYNfLV9XAq4nvDmtSGBXpgBs6Kg1+y+g2j3XOHSCNSG4EJtyzqujt1obt+95UdvbDfb7GC6Dc76gBiFP4AFTdDS5rK0YAct4xH1rFtZKc2ygMUrhm6b57p0QHKAJsc9Jb7PuGh9qvwdg5mOZzZZBKq20fj7FB2pOYGjH6bIUN4Vo0I2t80PHOyMYVkNDLvFagpVs58eCju5d5MYPxV7RKJzOYt5mDfGcYA5INH9+ReXOqRKMzjQmv4sk5PzOafJXvgQvd0vT7WL+NXS/kNzP4buQyhhWWJfhauQWwy9wiiIaCJwAQ1GZnKSGI9ZpYIYGrZsaqLmU8l59ykLictD83vVucAYe1GzgRogBJDyRN0LVab9dFDdmGcVhPOlkqY4kJb7mpvRn6wzUVvRc9cXyJicBwrDaTgix8= + Zhou.Xing@microsoft.com\n", "path": "/home/clitest1/.ssh/authorized_keys"}]}}}}}], + "outputs": {}}, "parameters": {}, "mode": "incremental"}}' headers: Accept: - application/json @@ -879,29 +876,29 @@ interactions: Connection: - keep-alive Content-Length: - - '3560' + - '3698' Content-Type: - application/json ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/16.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/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_iOwhl5Mi8XvVxsYJzqigifKYek341ehq","name":"vm_deploy_iOwhl5Mi8XvVxsYJzqigifKYek341ehq","type":"Microsoft.Resources/deployments","properties":{"templateHash":"13597648556268813236","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-06-09T13:18:11.4973547Z","duration":"PT3.1568742S","correlationId":"54e4891b-b028-440a-b281-201a9e23ac12","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus2"]},{"resourceType":"networkSecurityGroups","locations":["eastus2"]},{"resourceType":"publicIPAddresses","locations":["eastus2"]},{"resourceType":"networkInterfaces","locations":["eastus2"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus2"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_P2cXeX778n0TilHQSYIA24CmLVHhife2","name":"vm_deploy_P2cXeX778n0TilHQSYIA24CmLVHhife2","type":"Microsoft.Resources/deployments","properties":{"templateHash":"6738267625378605985","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-05-25T06:15:58.6129321Z","duration":"PT2.8185718S","correlationId":"67e86e5b-29ef-423c-89e3-e0494f204745","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus2"]},{"resourceType":"networkSecurityGroups","locations":["eastus2"]},{"resourceType":"publicIPAddresses","locations":["eastus2"]},{"resourceType":"networkInterfaces","locations":["eastus2"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus2"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_iOwhl5Mi8XvVxsYJzqigifKYek341ehq/operationStatuses/08585783621971371537?api-version=2020-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_P2cXeX778n0TilHQSYIA24CmLVHhife2/operationStatuses/08585796835296832737?api-version=2020-10-01 cache-control: - no-cache content-length: - - '2748' + - '2747' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:18:12 GMT + - Tue, 25 May 2021 06:16:00 GMT expires: - '-1' pragma: @@ -911,7 +908,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1192' status: code: 201 message: Created @@ -929,9 +926,9 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/16.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/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585783621971371537?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585796835296832737?api-version=2020-10-01 response: body: string: '{"status":"Running"}' @@ -943,7 +940,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:18:44 GMT + - Tue, 25 May 2021 06:16:30 GMT expires: - '-1' pragma: @@ -971,51 +968,9 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/16.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/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585783621971371537?api-version=2020-10-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 13:19:14 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585783621971371537?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585796835296832737?api-version=2020-10-01 response: body: string: '{"status":"Succeeded"}' @@ -1027,7 +982,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:19:44 GMT + - Tue, 25 May 2021 06:17:01 GMT expires: - '-1' pragma: @@ -1055,21 +1010,21 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/16.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/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_iOwhl5Mi8XvVxsYJzqigifKYek341ehq","name":"vm_deploy_iOwhl5Mi8XvVxsYJzqigifKYek341ehq","type":"Microsoft.Resources/deployments","properties":{"templateHash":"13597648556268813236","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-06-09T13:19:19.2108902Z","duration":"PT1M10.8704097S","correlationId":"54e4891b-b028-440a-b281-201a9e23ac12","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus2"]},{"resourceType":"networkSecurityGroups","locations":["eastus2"]},{"resourceType":"publicIPAddresses","locations":["eastus2"]},{"resourceType":"networkInterfaces","locations":["eastus2"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus2"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_P2cXeX778n0TilHQSYIA24CmLVHhife2","name":"vm_deploy_P2cXeX778n0TilHQSYIA24CmLVHhife2","type":"Microsoft.Resources/deployments","properties":{"templateHash":"6738267625378605985","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-25T06:16:39.5023769Z","duration":"PT43.7080166S","correlationId":"67e86e5b-29ef-423c-89e3-e0494f204745","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus2"]},{"resourceType":"networkSecurityGroups","locations":["eastus2"]},{"resourceType":"publicIPAddresses","locations":["eastus2"]},{"resourceType":"networkInterfaces","locations":["eastus2"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus2"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}' headers: cache-control: - no-cache content-length: - - '3815' + - '3812' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:19:45 GMT + - Tue, 25 May 2021 06:17:01 GMT expires: - '-1' pragma: @@ -1097,61 +1052,62 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1?$expand=instanceView&api-version=2021-03-01 response: body: string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus2\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"90eea061-5306-4071-bbef-f469da7f9516\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"cb922792-f639-44fc-a96f-d9abaf7edecd\",\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.202105120\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm1_disk1_30addcdcd5444143b9c8bc90d7968487\",\r\n + \"Linux\",\r\n \"name\": \"vm1_disk1_e92bd42b36534c6fa88bb3e6b197afdd\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk1_30addcdcd5444143b9c8bc90d7968487\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk1_e92bd42b36534c6fa88bb3e6b197afdd\"\r\n \ },\r\n \"diskSizeGB\": 30,\r\n \"deleteOption\": \"Detach\"\r\n \ },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": 0,\r\n - \ \"name\": \"vm1_disk2_afdb26ffe85d428c8788a88548b0f794\",\r\n \"createOption\": + \ \"name\": \"vm1_disk2_d114ac4cd0374c8e974a89ae9dc1fd2b\",\r\n \"createOption\": \"Empty\",\r\n \"caching\": \"None\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk2_afdb26ffe85d428c8788a88548b0f794\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk2_d114ac4cd0374c8e974a89ae9dc1fd2b\"\r\n \ },\r\n \"diskSizeGB\": 10,\r\n \"toBeDetached\": false,\r\n \"deleteOption\": \"Detach\"\r\n }\r\n ]\r\n \ },\r\n \"osProfile\": {\r\n \"computerName\": \"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 AAAAB3NzaC1yc2EAAAADAQABAAABAQC86Jgk+Wp0JneEvsoZMG3PIL/zMJIbuY+r3xakXOZ8thq9gOQVgxSLdwUELhPy1iekWGsoGrvQIMEb22upTPG/9VaulCAVXfZnIetNUlId5DNAxOiyvOMEIqhPuxIOce0KKeGnCMkfPGzXrT3hqg8mSU8xW4cDNKJGikpPLMTX+O8V0QptnO5n7E4vH3zPOWuH9Xf0D2uTc6Z8JUFIljy1LfmvJkAitEsPWBott4k4JtxueODbNB+RaQT/p4FUGcxKMObAgQw0jJWKoZTylQOi0xtOOBKAS19+bXwo8AMOoUOB+8CHDX+3okZI3thHN7C1oL7qm6pfHdgvNrt1sPFl\"\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 },\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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"}]},\r\n + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDUkQ08GKz7v20K0CXEXVnY5prCnEUl+A2KA4Ubg6W76fdqSl4LZneP4MiMOltUAoZsAYbT6D4ja7kxZqGnu7RB0g6Oqv1g0eHYNfLV9XAq4nvDmtSGBXpgBs6Kg1+y+g2j3XOHSCNSG4EJtyzqujt1obt+95UdvbDfb7GC6Dc76gBiFP4AFTdDS5rK0YAct4xH1rFtZKc2ygMUrhm6b57p0QHKAJsc9Jb7PuGh9qvwdg5mOZzZZBKq20fj7FB2pOYGjH6bIUN4Vo0I2t80PHOyMYVkNDLvFagpVs58eCju5d5MYPxV7RKJzOYt5mDfGcYA5INH9+ReXOqRKMzjQmv4sk5PzOafJXvgQvd0vT7WL+NXS/kNzP4buQyhhWWJfhauQWwy9wiiIaCJwAQ1GZnKSGI9ZpYIYGrZsaqLmU8l59ykLictD83vVucAYe1GzgRogBJDyRN0LVab9dFDdmGcVhPOlkqY4kJb7mpvRn6wzUVvRc9cXyJicBwrDaTgix8= + Zhou.Xing@microsoft.com\\n\"\r\n }\r\n ]\r\n },\r\n + \ \"provisionVMAgent\": true,\r\n \"patchSettings\": {\r\n \"patchMode\": + \"ImageDefault\",\r\n \"assessmentMode\": \"ImageDefault\"\r\n }\r\n + \ },\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/clitest.rg000001/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.3.0.2\",\r\n \"statuses\": + \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.2.54.2\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2021-06-09T13:19:29+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_30addcdcd5444143b9c8bc90d7968487\",\r\n + \"2021-05-25T06:16:45+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_e92bd42b36534c6fa88bb3e6b197afdd\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-06-09T13:19:04.7272629+00:00\"\r\n + succeeded\",\r\n \"time\": \"2021-05-25T06:16:23.6200672+00:00\"\r\n \ }\r\n ]\r\n },\r\n {\r\n \"name\": - \"vm1_disk2_afdb26ffe85d428c8788a88548b0f794\",\r\n \"statuses\": + \"vm1_disk2_d114ac4cd0374c8e974a89ae9dc1fd2b\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-06-09T13:19:04.7272629+00:00\"\r\n + succeeded\",\r\n \"time\": \"2021-05-25T06:16:23.6200672+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\": \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-06-09T13:19:16.4776602+00:00\"\r\n + succeeded\",\r\n \"time\": \"2021-05-25T06:16:37.5736313+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n \ }\r\n ]\r\n }\r\n }\r\n}" @@ -1159,11 +1115,11 @@ interactions: cache-control: - no-cache content-length: - - '4875' + - '5074' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:19:46 GMT + - Tue, 25 May 2021 06:17:02 GMT expires: - '-1' pragma: @@ -1180,7 +1136,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31997 + - Microsoft.Compute/LowCostGet3Min;3989,Microsoft.Compute/LowCostGet30Min;31985 status: code: 200 message: OK @@ -1198,18 +1154,18 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/18.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/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\",\r\n - \ \"etag\": \"W/\\\"411d99bb-2a23-4162-9fed-0e22b05f0225\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"d6fe5afc-5bac-43ff-bff9-fa5b734f450a\\\"\",\r\n \"location\": \"eastus2\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"872c9125-9a15-4f11-9738-282daaa86f4d\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"fe4c566a-661c-4273-9ac6-28909afd9051\",\r\n \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\",\r\n - \ \"etag\": \"W/\\\"411d99bb-2a23-4162-9fed-0e22b05f0225\\\"\",\r\n + \ \"etag\": \"W/\\\"d6fe5afc-5bac-43ff-bff9-fa5b734f450a\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -1218,8 +1174,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\": - \"tjfizsfmgjbedf0w5v4cdovd3b.cx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-0D-3A-03-85-87\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \"f1epnfcca2ruzeogkoiuoju0eh.cx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-22-48-4C-38-D4\",\r\n \"enableAcceleratedNetworking\": false,\r\n \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": @@ -1233,9 +1189,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:19:46 GMT + - Tue, 25 May 2021 06:17:02 GMT etag: - - W/"411d99bb-2a23-4162-9fed-0e22b05f0225" + - W/"d6fe5afc-5bac-43ff-bff9-fa5b734f450a" expires: - '-1' pragma: @@ -1252,7 +1208,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e51a018a-e9e5-4544-8056-0840552fc7c2 + - 82e90990-7b9e-4b8c-a01c-90c2b01ff3b7 status: code: 200 message: OK @@ -1270,17 +1226,17 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/18.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/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\",\r\n - \ \"etag\": \"W/\\\"b2a05efb-f556-4b90-b406-ac52af08d107\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"8775088b-f4ee-4e9b-b9a1-6b42f9b5c9e5\\\"\",\r\n \"location\": \"eastus2\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"0be5b07b-898f-41b6-9488-5a212bf690ec\",\r\n - \ \"ipAddress\": \"52.177.196.79\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n - \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + \"Succeeded\",\r\n \"resourceGuid\": \"183c1426-56ac-4a37-92a5-5346b5c88f34\",\r\n + \ \"ipAddress\": \"52.167.137.173\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" @@ -1288,13 +1244,13 @@ interactions: cache-control: - no-cache content-length: - - '998' + - '999' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:19:46 GMT + - Tue, 25 May 2021 06:17:03 GMT etag: - - W/"b2a05efb-f556-4b90-b406-ac52af08d107" + - W/"8775088b-f4ee-4e9b-b9a1-6b42f9b5c9e5" expires: - '-1' pragma: @@ -1311,7 +1267,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d67dccad-55d1-4ef3-a62d-d4ff134da146 + - fad5774f-60b4-4f3c-aa86-0717f4c282d6 status: code: 200 message: OK @@ -1334,7 +1290,7 @@ interactions: ParameterSetName: - -g -n --command-id --scripts User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1/runCommand?api-version=2021-03-01 response: @@ -1342,17 +1298,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/95aa59a1-5b55-4e9f-8bc9-af80e39cdfb6?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/9cf9efc7-c90c-4f86-9344-9c87b74827a0?api-version=2021-03-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 09 Jun 2021 13:19:47 GMT + - Tue, 25 May 2021 06:17:04 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/95aa59a1-5b55-4e9f-8bc9-af80e39cdfb6?monitor=true&api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/9cf9efc7-c90c-4f86-9344-9c87b74827a0?monitor=true&api-version=2021-03-01 pragma: - no-cache server: @@ -1383,27 +1339,26 @@ interactions: ParameterSetName: - -g -n --command-id --scripts User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/eastus2/operations/95aa59a1-5b55-4e9f-8bc9-af80e39cdfb6?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/9cf9efc7-c90c-4f86-9344-9c87b74827a0?api-version=2021-03-01 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:19:48.0413184+00:00\",\r\n \"endTime\": - \"2021-06-09T13:20:16.0580465+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"properties\": {\r\n \"output\": {\r\n \"value\": [\r\n {\r\n \"code\": - \"ProvisioningState/succeeded\",\r\n \"level\": \"Info\",\r\n \"displayStatus\": - \"Provisioning succeeded\",\r\n \"message\": \"Enable succeeded: \\n[stdout]\\n\\n[stderr]\\nwarning: - commands will be executed using /bin/sh\\njob 1 at Wed Jun 9 13:21:00 2021\\n\"\r\n - \ }\r\n ]\r\n}\r\n },\r\n \"name\": \"95aa59a1-5b55-4e9f-8bc9-af80e39cdfb6\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:17:04.6836558+00:00\",\r\n \"endTime\": + \"2021-05-25T06:17:20.2465743+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\"value\":[{\"code\":\"ProvisioningState/succeeded\",\"level\":\"Info\",\"displayStatus\":\"Provisioning + succeeded\",\"message\":\"Enable succeeded: \\n[stdout]\\n\\n[stderr]\\nwarning: + commands will be executed using /bin/sh\\njob 1 at Tue May 25 06:18:00 2021\\n\"}]}\r\n + \ },\r\n \"name\": \"9cf9efc7-c90c-4f86-9344-9c87b74827a0\"\r\n}" headers: cache-control: - no-cache content-length: - - '530' + - '471' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:20:18 GMT + - Tue, 25 May 2021 06:17:35 GMT expires: - '-1' pragma: @@ -1420,7 +1375,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29996 + - Microsoft.Compute/GetOperation3Min;14990,Microsoft.Compute/GetOperation30Min;29990 status: code: 200 message: OK @@ -1438,14 +1393,14 @@ interactions: ParameterSetName: - -g -n --command-id --scripts User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/eastus2/operations/95aa59a1-5b55-4e9f-8bc9-af80e39cdfb6?monitor=true&api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/9cf9efc7-c90c-4f86-9344-9c87b74827a0?monitor=true&api-version=2021-03-01 response: body: string: '{"value":[{"code":"ProvisioningState/succeeded","level":"Info","displayStatus":"Provisioning succeeded","message":"Enable succeeded: \n[stdout]\n\n[stderr]\nwarning: commands - will be executed using /bin/sh\njob 1 at Wed Jun 9 13:21:00 2021\n"}]}' + will be executed using /bin/sh\njob 1 at Tue May 25 06:18:00 2021\n"}]}' headers: cache-control: - no-cache @@ -1454,7 +1409,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:20:18 GMT + - Tue, 25 May 2021 06:17:35 GMT expires: - '-1' pragma: @@ -1471,7 +1426,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14995,Microsoft.Compute/GetOperation30Min;29995 + - Microsoft.Compute/GetOperation3Min;14989,Microsoft.Compute/GetOperation30Min;29989 status: code: 200 message: OK @@ -1491,7 +1446,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1/deallocate?api-version=2021-03-01 response: @@ -1499,17 +1454,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/daeb224c-00f8-491d-b2d6-4036392d458e?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/468fbbcc-79e6-452c-ae25-88e52ec1647e?api-version=2021-03-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 09 Jun 2021 13:21:28 GMT + - Tue, 25 May 2021 06:18:46 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/daeb224c-00f8-491d-b2d6-4036392d458e?monitor=true&api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/468fbbcc-79e6-452c-ae25-88e52ec1647e?monitor=true&api-version=2021-03-01 pragma: - no-cache server: @@ -1520,9 +1475,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/DeleteVM3Min;239,Microsoft.Compute/DeleteVM30Min;1199 + - Microsoft.Compute/DeleteVM3Min;238,Microsoft.Compute/DeleteVM30Min;1198 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -1540,13 +1495,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/eastus2/operations/daeb224c-00f8-491d-b2d6-4036392d458e?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/468fbbcc-79e6-452c-ae25-88e52ec1647e?api-version=2021-03-01 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:21:29.7326706+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"daeb224c-00f8-491d-b2d6-4036392d458e\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:18:47.0612854+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"468fbbcc-79e6-452c-ae25-88e52ec1647e\"\r\n}" headers: cache-control: - no-cache @@ -1555,7 +1510,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:21:39 GMT + - Tue, 25 May 2021 06:18:56 GMT expires: - '-1' pragma: @@ -1572,7 +1527,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29993 + - Microsoft.Compute/GetOperation3Min;14987,Microsoft.Compute/GetOperation30Min;29985 status: code: 200 message: OK @@ -1590,14 +1545,14 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/eastus2/operations/daeb224c-00f8-491d-b2d6-4036392d458e?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/468fbbcc-79e6-452c-ae25-88e52ec1647e?api-version=2021-03-01 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:21:29.7326706+00:00\",\r\n \"endTime\": - \"2021-06-09T13:21:57.2962283+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"daeb224c-00f8-491d-b2d6-4036392d458e\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:18:47.0612854+00:00\",\r\n \"endTime\": + \"2021-05-25T06:19:23.9996946+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"468fbbcc-79e6-452c-ae25-88e52ec1647e\"\r\n}" headers: cache-control: - no-cache @@ -1606,7 +1561,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:22:16 GMT + - Tue, 25 May 2021 06:19:33 GMT expires: - '-1' pragma: @@ -1623,7 +1578,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14992,Microsoft.Compute/GetOperation30Min;29990 + - Microsoft.Compute/GetOperation3Min;14987,Microsoft.Compute/GetOperation30Min;29980 status: code: 200 message: OK @@ -1641,9 +1596,9 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/eastus2/operations/daeb224c-00f8-491d-b2d6-4036392d458e?monitor=true&api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/468fbbcc-79e6-452c-ae25-88e52ec1647e?monitor=true&api-version=2021-03-01 response: body: string: '' @@ -1653,7 +1608,7 @@ interactions: content-length: - '0' date: - - Wed, 09 Jun 2021 13:22:16 GMT + - Tue, 25 May 2021 06:19:34 GMT expires: - '-1' pragma: @@ -1666,7 +1621,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14991,Microsoft.Compute/GetOperation30Min;29989 + - Microsoft.Compute/GetOperation3Min;14986,Microsoft.Compute/GetOperation30Min;29979 status: code: 200 message: OK @@ -1686,7 +1641,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1/generalize?api-version=2021-03-01 response: @@ -1698,7 +1653,7 @@ interactions: content-length: - '0' date: - - Wed, 09 Jun 2021 13:22:17 GMT + - Tue, 25 May 2021 06:19:34 GMT expires: - '-1' pragma: @@ -1713,7 +1668,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/UpdateVM3Min;238,Microsoft.Compute/UpdateVM30Min;1198 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -1731,48 +1686,49 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1?api-version=2021-03-01 response: body: string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus2\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"90eea061-5306-4071-bbef-f469da7f9516\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"cb922792-f639-44fc-a96f-d9abaf7edecd\",\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.202105120\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm1_disk1_30addcdcd5444143b9c8bc90d7968487\",\r\n + \"Linux\",\r\n \"name\": \"vm1_disk1_e92bd42b36534c6fa88bb3e6b197afdd\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n - \ \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk1_30addcdcd5444143b9c8bc90d7968487\"\r\n + \ \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk1_e92bd42b36534c6fa88bb3e6b197afdd\"\r\n \ },\r\n \"deleteOption\": \"Detach\"\r\n },\r\n \"dataDisks\": - [\r\n {\r\n \"lun\": 0,\r\n \"name\": \"vm1_disk2_afdb26ffe85d428c8788a88548b0f794\",\r\n + [\r\n {\r\n \"lun\": 0,\r\n \"name\": \"vm1_disk2_d114ac4cd0374c8e974a89ae9dc1fd2b\",\r\n \ \"createOption\": \"Empty\",\r\n \"caching\": \"None\",\r\n - \ \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk2_afdb26ffe85d428c8788a88548b0f794\"\r\n + \ \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk2_d114ac4cd0374c8e974a89ae9dc1fd2b\"\r\n \ },\r\n \"toBeDetached\": false,\r\n \"deleteOption\": \"Detach\"\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 - AAAAB3NzaC1yc2EAAAADAQABAAABAQC86Jgk+Wp0JneEvsoZMG3PIL/zMJIbuY+r3xakXOZ8thq9gOQVgxSLdwUELhPy1iekWGsoGrvQIMEb22upTPG/9VaulCAVXfZnIetNUlId5DNAxOiyvOMEIqhPuxIOce0KKeGnCMkfPGzXrT3hqg8mSU8xW4cDNKJGikpPLMTX+O8V0QptnO5n7E4vH3zPOWuH9Xf0D2uTc6Z8JUFIljy1LfmvJkAitEsPWBott4k4JtxueODbNB+RaQT/p4FUGcxKMObAgQw0jJWKoZTylQOi0xtOOBKAS19+bXwo8AMOoUOB+8CHDX+3okZI3thHN7C1oL7qm6pfHdgvNrt1sPFl\"\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 },\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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"}]},\r\n + AAAAB3NzaC1yc2EAAAADAQABAAABgQDUkQ08GKz7v20K0CXEXVnY5prCnEUl+A2KA4Ubg6W76fdqSl4LZneP4MiMOltUAoZsAYbT6D4ja7kxZqGnu7RB0g6Oqv1g0eHYNfLV9XAq4nvDmtSGBXpgBs6Kg1+y+g2j3XOHSCNSG4EJtyzqujt1obt+95UdvbDfb7GC6Dc76gBiFP4AFTdDS5rK0YAct4xH1rFtZKc2ygMUrhm6b57p0QHKAJsc9Jb7PuGh9qvwdg5mOZzZZBKq20fj7FB2pOYGjH6bIUN4Vo0I2t80PHOyMYVkNDLvFagpVs58eCju5d5MYPxV7RKJzOYt5mDfGcYA5INH9+ReXOqRKMzjQmv4sk5PzOafJXvgQvd0vT7WL+NXS/kNzP4buQyhhWWJfhauQWwy9wiiIaCJwAQ1GZnKSGI9ZpYIYGrZsaqLmU8l59ykLictD83vVucAYe1GzgRogBJDyRN0LVab9dFDdmGcVhPOlkqY4kJb7mpvRn6wzUVvRc9cXyJicBwrDaTgix8= + Zhou.Xing@microsoft.com\\n\"\r\n }\r\n ]\r\n },\r\n + \ \"provisionVMAgent\": true,\r\n \"patchSettings\": {\r\n \"patchMode\": + \"ImageDefault\",\r\n \"assessmentMode\": \"ImageDefault\"\r\n }\r\n + \ },\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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"}]},\r\n \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3072' + - '3270' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:22:18 GMT + - Tue, 25 May 2021 06:19:35 GMT expires: - '-1' pragma: @@ -1789,7 +1745,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3998,Microsoft.Compute/LowCostGet30Min;31996 + - Microsoft.Compute/LowCostGet3Min;3992,Microsoft.Compute/LowCostGet30Min;31978 status: code: 200 message: OK @@ -1807,12 +1763,12 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/16.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/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-09T13:16:34Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2021-05-25T06:14:24Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1821,7 +1777,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:22:18 GMT + - Tue, 25 May 2021 06:19:36 GMT expires: - '-1' pragma: @@ -1855,7 +1811,7 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1?api-version=2021-03-01 response: @@ -1866,10 +1822,10 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"managedDisk\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk1_30addcdcd5444143b9c8bc90d7968487\"\r\n + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk1_e92bd42b36534c6fa88bb3e6b197afdd\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": - 0,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk2_afdb26ffe85d428c8788a88548b0f794\"\r\n + 0,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk2_d114ac4cd0374c8e974a89ae9dc1fd2b\"\r\n \ },\r\n \"caching\": \"None\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n }\r\n ]\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"hyperVGeneration\": \"V1\"\r\n }\r\n}" @@ -1877,7 +1833,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/43a1a7f6-e8eb-46be-a319-915e913c6038?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/dc54ca47-97e9-4555-9368-657ad216533b?api-version=2021-03-01 cache-control: - no-cache content-length: @@ -1885,7 +1841,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:22:25 GMT + - Tue, 25 May 2021 06:19:42 GMT expires: - '-1' pragma: @@ -1900,7 +1856,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateImages3Min;39,Microsoft.Compute/CreateImages30Min;199 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1191' status: code: 201 message: Created @@ -1918,14 +1874,14 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/eastus2/operations/43a1a7f6-e8eb-46be-a319-915e913c6038?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/dc54ca47-97e9-4555-9368-657ad216533b?api-version=2021-03-01 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:22:25.2191531+00:00\",\r\n \"endTime\": - \"2021-06-09T13:22:30.5006156+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"43a1a7f6-e8eb-46be-a319-915e913c6038\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:19:41.1095175+00:00\",\r\n \"endTime\": + \"2021-05-25T06:19:46.2190152+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"dc54ca47-97e9-4555-9368-657ad216533b\"\r\n}" headers: cache-control: - no-cache @@ -1934,7 +1890,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:22:56 GMT + - Tue, 25 May 2021 06:20:12 GMT expires: - '-1' pragma: @@ -1951,7 +1907,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14989,Microsoft.Compute/GetOperation30Min;29987 + - Microsoft.Compute/GetOperation3Min;14986,Microsoft.Compute/GetOperation30Min;29977 status: code: 200 message: OK @@ -1969,7 +1925,7 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1?api-version=2021-03-01 response: @@ -1980,11 +1936,11 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": - 30,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk1_30addcdcd5444143b9c8bc90d7968487\"\r\n + 30,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk1_e92bd42b36534c6fa88bb3e6b197afdd\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": 0,\r\n \"diskSizeGB\": 10,\r\n \"managedDisk\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk2_afdb26ffe85d428c8788a88548b0f794\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk2_d114ac4cd0374c8e974a89ae9dc1fd2b\"\r\n \ },\r\n \"caching\": \"None\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n }\r\n ]\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"hyperVGeneration\": \"V1\"\r\n }\r\n}" @@ -1996,7 +1952,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:22:56 GMT + - Tue, 25 May 2021 06:20:12 GMT expires: - '-1' pragma: @@ -2032,12 +1988,12 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/16.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/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-09T13:16:34Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2021-05-25T06:14:24Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -2046,7 +2002,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:22:57 GMT + - Tue, 25 May 2021 06:20:14 GMT expires: - '-1' pragma: @@ -2081,7 +2037,7 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions/1.1.2?api-version=2020-09-30 response: @@ -2092,13 +2048,13 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"East US 2\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2021-06-09T13:23:03.6460035+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2021-05-25T06:20:20.5470824+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1\"\r\n \ }\r\n },\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/000bb6b5-fa97-4936-8ffd-7b3a34b237cc?api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/594d9a4e-0e1f-4c5a-b542-f129a0037e4d?api-version=2020-09-30 cache-control: - no-cache content-length: @@ -2106,7 +2062,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:23:04 GMT + - Tue, 25 May 2021 06:20:21 GMT expires: - '-1' pragma: @@ -2121,7 +2077,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;374,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1199 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1193' status: code: 201 message: Created @@ -2140,13 +2096,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/eastus2/capsOperations/000bb6b5-fa97-4936-8ffd-7b3a34b237cc?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/594d9a4e-0e1f-4c5a-b542-f129a0037e4d?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:23:03.6303761+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"000bb6b5-fa97-4936-8ffd-7b3a34b237cc\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:20:20.5001991+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"594d9a4e-0e1f-4c5a-b542-f129a0037e4d\"\r\n}" headers: cache-control: - no-cache @@ -2155,7 +2111,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:24:05 GMT + - Tue, 25 May 2021 06:21:23 GMT expires: - '-1' pragma: @@ -2172,7 +2128,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1199,Microsoft.Compute/GetOperationStatus30Min;4195 + - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4194 status: code: 200 message: OK @@ -2191,13 +2147,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/eastus2/capsOperations/000bb6b5-fa97-4936-8ffd-7b3a34b237cc?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/594d9a4e-0e1f-4c5a-b542-f129a0037e4d?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:23:03.6303761+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"000bb6b5-fa97-4936-8ffd-7b3a34b237cc\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:20:20.5001991+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"594d9a4e-0e1f-4c5a-b542-f129a0037e4d\"\r\n}" headers: cache-control: - no-cache @@ -2206,7 +2162,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:25:06 GMT + - Tue, 25 May 2021 06:22:23 GMT expires: - '-1' pragma: @@ -2242,13 +2198,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/eastus2/capsOperations/000bb6b5-fa97-4936-8ffd-7b3a34b237cc?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/594d9a4e-0e1f-4c5a-b542-f129a0037e4d?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:23:03.6303761+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"000bb6b5-fa97-4936-8ffd-7b3a34b237cc\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:20:20.5001991+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"594d9a4e-0e1f-4c5a-b542-f129a0037e4d\"\r\n}" headers: cache-control: - no-cache @@ -2257,7 +2213,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:26:07 GMT + - Tue, 25 May 2021 06:23:25 GMT expires: - '-1' pragma: @@ -2293,13 +2249,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/eastus2/capsOperations/000bb6b5-fa97-4936-8ffd-7b3a34b237cc?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/594d9a4e-0e1f-4c5a-b542-f129a0037e4d?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:23:03.6303761+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"000bb6b5-fa97-4936-8ffd-7b3a34b237cc\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:20:20.5001991+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"594d9a4e-0e1f-4c5a-b542-f129a0037e4d\"\r\n}" headers: cache-control: - no-cache @@ -2308,7 +2264,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:27:07 GMT + - Tue, 25 May 2021 06:24:25 GMT expires: - '-1' pragma: @@ -2344,13 +2300,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/eastus2/capsOperations/000bb6b5-fa97-4936-8ffd-7b3a34b237cc?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/594d9a4e-0e1f-4c5a-b542-f129a0037e4d?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:23:03.6303761+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"000bb6b5-fa97-4936-8ffd-7b3a34b237cc\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:20:20.5001991+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"594d9a4e-0e1f-4c5a-b542-f129a0037e4d\"\r\n}" headers: cache-control: - no-cache @@ -2359,7 +2315,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:28:07 GMT + - Tue, 25 May 2021 06:25:26 GMT expires: - '-1' pragma: @@ -2395,13 +2351,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/eastus2/capsOperations/000bb6b5-fa97-4936-8ffd-7b3a34b237cc?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/594d9a4e-0e1f-4c5a-b542-f129a0037e4d?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:23:03.6303761+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"000bb6b5-fa97-4936-8ffd-7b3a34b237cc\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:20:20.5001991+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"594d9a4e-0e1f-4c5a-b542-f129a0037e4d\"\r\n}" headers: cache-control: - no-cache @@ -2410,7 +2366,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:29:08 GMT + - Tue, 25 May 2021 06:26:27 GMT expires: - '-1' pragma: @@ -2446,22 +2402,23 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/providers/Microsoft.Compute/locations/eastus2/capsOperations/000bb6b5-fa97-4936-8ffd-7b3a34b237cc?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/594d9a4e-0e1f-4c5a-b542-f129a0037e4d?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:23:03.6303761+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"000bb6b5-fa97-4936-8ffd-7b3a34b237cc\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:20:20.5001991+00:00\",\r\n \"endTime\": + \"2021-05-25T06:27:06.6124855+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"594d9a4e-0e1f-4c5a-b542-f129a0037e4d\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '184' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:30:08 GMT + - Tue, 25 May 2021 06:27:27 GMT expires: - '-1' pragma: @@ -2497,59 +2454,7 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/000bb6b5-fa97-4936-8ffd-7b3a34b237cc?api-version=2020-09-30 - response: - body: - string: "{\r\n \"startTime\": \"2021-06-09T13:23:03.6303761+00:00\",\r\n \"endTime\": - \"2021-06-09T13:30:36.086271+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"000bb6b5-fa97-4936-8ffd-7b3a34b237cc\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '183' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 13:31: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;4181 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - sig image-version create - Connection: - - keep-alive - ParameterSetName: - - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image - --replica-count - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions/1.1.2?api-version=2020-09-30 response: @@ -2560,7 +2465,7 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"East US 2\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2021-06-09T13:23:03.6460035+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2021-05-25T06:20:20.5470824+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1\"\r\n \ },\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 30,\r\n \"hostCaching\": @@ -2576,7 +2481,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:31:09 GMT + - Tue, 25 May 2021 06:27:28 GMT expires: - '-1' pragma: @@ -2611,13 +2516,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions?api-version=2020-09-30 response: body: string: '{"value":[{"name":"1.1.2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions/1.1.2","type":"Microsoft.Compute/galleries/images/versions","location":"eastus2","tags":{},"properties":{"publishingProfile":{"targetRegions":[{"name":"East - US 2","regionalReplicaCount":1,"storageAccountType":"Standard_LRS"}],"replicaCount":1,"excludeFromLatest":false,"publishedDate":"2021-06-09T13:23:03.6460035+00:00","storageAccountType":"Standard_LRS"},"storageProfile":{"source":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1"},"osDiskImage":{"sizeInGB":30,"hostCaching":"ReadWrite","source":{}},"dataDiskImages":[{"lun":0,"sizeInGB":10,"hostCaching":"None"}]},"provisioningState":"Succeeded"}}]}' + US 2","regionalReplicaCount":1,"storageAccountType":"Standard_LRS"}],"replicaCount":1,"excludeFromLatest":false,"publishedDate":"2021-05-25T06:20:20.5470824+00:00","storageAccountType":"Standard_LRS"},"storageProfile":{"source":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1"},"osDiskImage":{"sizeInGB":30,"hostCaching":"ReadWrite","source":{}},"dataDiskImages":[{"lun":0,"sizeInGB":10,"hostCaching":"None"}]},"provisioningState":"Succeeded"}}]}' headers: cache-control: - no-cache @@ -2626,7 +2531,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:31:11 GMT + - Tue, 25 May 2021 06:27:30 GMT expires: - '-1' pragma: @@ -2638,43 +2543,42 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 2b4e283e-1db1-4eec-a12c-794a3151071b - - 7516f457-0556-4c37-849b-e3ce01190fd9 - - 83debc67-60a8-4a26-aeab-1c122c7d2d5d - - 330baa7b-a38a-46e9-9590-078d6b790926 - - 2d076cb6-76ae-42c4-b6b7-97c632c0a01b - - d4a24761-6a4f-4e95-b72c-bd618b4039f9 - - 36781555-8d88-43d1-9394-f0d7b6268b5a - - b1eaca70-014f-4bf8-baa8-21f0943a8d11 - - 69c70e92-7437-42e6-aa44-136722f08235 - - 288a37e5-6ac9-41a8-b5fd-ecfd1adb24b7 - - 459408d8-e972-4d21-9b6c-ac297e4ccc56 - - 47b94304-b4c3-4b7e-a24a-87c57136bf9c - - 25fdeff5-6904-4ccd-97d5-28f5282221e3 - - 769ea163-672d-42a9-8d44-e9bcdd4ff225 - - f4fdadfa-662e-4943-98ab-d9364cbf26d4 - - b4320390-c25b-4c0a-b585-215014beabcc - - b32b8f97-a996-4f6b-8760-627ac33eb6f7 - - a2565405-9325-48a4-908f-0931f9e18312 - - 0a502c4e-3066-46e8-9d3b-861b27116ce5 - - 25fcbf00-3c66-458d-94da-20d19ac077bc - - fa3075ac-089f-4a3d-939b-b646361deff2 - - 38da3805-703b-4def-8558-44e1b0cf8145 - - 31694bb6-0448-41cd-9b95-2562790085c9 - - 7374b2c6-48d2-45a4-9d79-23664303f8ee - - f4caa76e-95fe-4501-b124-42e5283aaa35 - - b6434c94-9dbf-4aec-9698-06f6160cb059 - - 6812eaad-bbd8-41e0-b7ec-d7959d3333d4 - - 38ebb2e9-2b9d-4b31-89e7-9ae76b679c26 - - 916d1315-a52f-4c0e-b525-141e3b814e56 - - 83920e33-83b1-41cb-bc6e-3f1937fb4114 - - 73884124-f89d-49e1-b0ea-59062436c5cd - - f79d1ac2-d211-4825-84a7-40322f385c26 - - c23b9c6d-9624-4897-a12e-173dfad6efa7 - - 498b8279-be86-41d9-b194-48c67189b443 - - acd5606f-2b24-406c-94fb-63c2beb1c767 - - 9a27a073-4cb0-4287-8f27-e71b66a4e769 - - c2f5da6b-70ea-43ed-9878-cf9d572593e9 + - f168c1d3-a99c-4df7-a6c8-22bef7b7ae33 + - 6da68dc1-283a-44fc-8ba1-442858dbfac6 + - 15066794-9b28-4247-a17c-1762eb1276c6 + - 1251076b-76f2-4c4c-9d78-96eb3e43141a + - 186e2cfd-9955-4ad7-acd8-953491871d50 + - c0024a3d-7e33-4ed6-89cd-44e10ca73830 + - 2487750f-ca3c-4991-b838-5dc03a09a865 + - 3a97d43e-3d56-4815-b6e2-1990b49fa1de + - c1a34807-1066-410b-9580-12f309c94ba7 + - 0d74cc10-c1ff-4e4a-8783-2ee434c2cfe8 + - 4761733c-c18b-4889-b649-b20b7da9dab5 + - d2d2735c-5eec-4613-9186-e168b1ed70ed + - c4985ac4-fb83-4321-b9f3-7679569629b7 + - 271fcafd-358a-40e4-8018-80e75941d614 + - e9eaebe0-66ec-447f-bd1f-3dce5cf4c0ce + - 5df6d9db-d604-48f0-9e4a-91fab93004ee + - 03399498-ccbe-4a52-a685-1219e236fc9c + - ec3954d6-7ed2-416e-adbe-6341b26a57bb + - 44ca2a5d-3a13-4148-92d7-94a0c0f4852a + - 634cd831-52c7-4b0b-bcd8-01ab8ab64bc7 + - 7527dab0-7386-4aa1-8b69-232e12827441 + - 606111e1-3980-4079-afc9-2c4e18743ab3 + - 2fd02144-365e-472e-9a80-84541456e37f + - 83b3bdfe-f4ce-4da8-bf0d-3523e8ef40ff + - 21cff4df-cb14-4170-a722-e2a574c0ebf3 + - 4c6d1d63-d496-49ba-912f-0c078329563b + - 5b908c04-446b-4263-9e79-83d4ddd68926 + - d4acf244-091a-4478-aa93-90e42893f5dd + - f6b382c4-0acd-45e4-a089-a4d17d6a82aa + - f41129c4-fe5d-4534-b109-8e63698a3383 + - 8238af9a-bbb9-46d9-9480-79d9238af768 + - 53dbb0d6-5283-471b-8b28-fa2354835046 + - 9793d0f6-0281-4480-97c9-c5069bc58047 + - 273d729d-facf-49c8-887b-79a92c07f6af + - fb965943-8680-4baf-b2fe-bea27da30e41 + - a53e993e-53a4-42a4-bad0-10320e697106 status: code: 200 message: OK @@ -2692,7 +2596,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions/1.1.2?api-version=2020-09-30 response: @@ -2703,7 +2607,7 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"East US 2\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2021-06-09T13:23:03.6460035+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2021-05-25T06:20:20.5470824+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1\"\r\n \ },\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 30,\r\n \"hostCaching\": @@ -2719,7 +2623,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:31:12 GMT + - Tue, 25 May 2021 06:27:32 GMT expires: - '-1' pragma: @@ -2736,7 +2640,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImageVersion3Min;1998,Microsoft.Compute/GetGalleryImageVersion30Min;9996 + - Microsoft.Compute/GetGalleryImageVersion3Min;1997,Microsoft.Compute/GetGalleryImageVersion30Min;9995 status: code: 200 message: OK @@ -2755,7 +2659,7 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions/1.1.2?api-version=2020-09-30 response: @@ -2766,7 +2670,7 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"East US 2\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2021-06-09T13:23:03.6460035+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2021-05-25T06:20:20.5470824+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1\"\r\n \ },\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 30,\r\n \"hostCaching\": @@ -2782,7 +2686,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:31:13 GMT + - Tue, 25 May 2021 06:27:33 GMT expires: - '-1' pragma: @@ -2799,7 +2703,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImageVersion3Min;1997,Microsoft.Compute/GetGalleryImageVersion30Min;9995 + - Microsoft.Compute/GetGalleryImageVersion3Min;1996,Microsoft.Compute/GetGalleryImageVersion30Min;9994 status: code: 200 message: OK @@ -2826,7 +2730,7 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.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/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions/1.1.2?api-version=2020-09-30 response: @@ -2839,7 +2743,7 @@ interactions: \"Standard_LRS\"\r\n },\r\n {\r\n \"name\": \"East US 2\",\r\n \"regionalReplicaCount\": 2,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 2,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2021-06-09T13:23:03.6460035+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2021-05-25T06:20:20.5470824+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1\"\r\n \ },\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 30,\r\n \"hostCaching\": @@ -2849,7 +2753,7 @@ interactions: \ \"provisioningState\": \"Updating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/51257e29-44a3-416c-b0b5-b910fe167afd?api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/cc82c1c0-3031-45af-847a-28bb63138dd3?api-version=2020-09-30 cache-control: - no-cache content-length: @@ -2857,7 +2761,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:31:13 GMT + - Tue, 25 May 2021 06:27:33 GMT expires: - '-1' pragma: @@ -2876,7 +2780,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;374,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1198 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1185' status: code: 200 message: OK @@ -2895,13 +2799,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/providers/Microsoft.Compute/locations/eastus2/capsOperations/51257e29-44a3-416c-b0b5-b910fe167afd?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/cc82c1c0-3031-45af-847a-28bb63138dd3?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:31:14.4146718+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"51257e29-44a3-416c-b0b5-b910fe167afd\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:27:34.0658249+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"cc82c1c0-3031-45af-847a-28bb63138dd3\"\r\n}" headers: cache-control: - no-cache @@ -2910,7 +2814,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:32:15 GMT + - Tue, 25 May 2021 06:28:34 GMT expires: - '-1' pragma: @@ -2927,7 +2831,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;4181 status: code: 200 message: OK @@ -2946,13 +2850,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/providers/Microsoft.Compute/locations/eastus2/capsOperations/51257e29-44a3-416c-b0b5-b910fe167afd?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/cc82c1c0-3031-45af-847a-28bb63138dd3?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:31:14.4146718+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"51257e29-44a3-416c-b0b5-b910fe167afd\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:27:34.0658249+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"cc82c1c0-3031-45af-847a-28bb63138dd3\"\r\n}" headers: cache-control: - no-cache @@ -2961,7 +2865,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:33:15 GMT + - Tue, 25 May 2021 06:29:35 GMT expires: - '-1' pragma: @@ -2978,7 +2882,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4177 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4179 status: code: 200 message: OK @@ -2997,13 +2901,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/providers/Microsoft.Compute/locations/eastus2/capsOperations/51257e29-44a3-416c-b0b5-b910fe167afd?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/cc82c1c0-3031-45af-847a-28bb63138dd3?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:31:14.4146718+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"51257e29-44a3-416c-b0b5-b910fe167afd\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:27:34.0658249+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"cc82c1c0-3031-45af-847a-28bb63138dd3\"\r\n}" headers: cache-control: - no-cache @@ -3012,7 +2916,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:34:15 GMT + - Tue, 25 May 2021 06:30:36 GMT expires: - '-1' pragma: @@ -3029,7 +2933,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4175 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4177 status: code: 200 message: OK @@ -3048,13 +2952,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/providers/Microsoft.Compute/locations/eastus2/capsOperations/51257e29-44a3-416c-b0b5-b910fe167afd?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/cc82c1c0-3031-45af-847a-28bb63138dd3?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:31:14.4146718+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"51257e29-44a3-416c-b0b5-b910fe167afd\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:27:34.0658249+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"cc82c1c0-3031-45af-847a-28bb63138dd3\"\r\n}" headers: cache-control: - no-cache @@ -3063,7 +2967,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:35:17 GMT + - Tue, 25 May 2021 06:31:36 GMT expires: - '-1' pragma: @@ -3080,7 +2984,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4173 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4175 status: code: 200 message: OK @@ -3099,13 +3003,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/providers/Microsoft.Compute/locations/eastus2/capsOperations/51257e29-44a3-416c-b0b5-b910fe167afd?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/cc82c1c0-3031-45af-847a-28bb63138dd3?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:31:14.4146718+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"51257e29-44a3-416c-b0b5-b910fe167afd\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:27:34.0658249+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"cc82c1c0-3031-45af-847a-28bb63138dd3\"\r\n}" headers: cache-control: - no-cache @@ -3114,7 +3018,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:36:17 GMT + - Tue, 25 May 2021 06:32:37 GMT expires: - '-1' pragma: @@ -3131,7 +3035,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4171 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4173 status: code: 200 message: OK @@ -3150,13 +3054,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/providers/Microsoft.Compute/locations/eastus2/capsOperations/51257e29-44a3-416c-b0b5-b910fe167afd?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/cc82c1c0-3031-45af-847a-28bb63138dd3?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:31:14.4146718+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"51257e29-44a3-416c-b0b5-b910fe167afd\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:27:34.0658249+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"cc82c1c0-3031-45af-847a-28bb63138dd3\"\r\n}" headers: cache-control: - no-cache @@ -3165,7 +3069,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:37:17 GMT + - Tue, 25 May 2021 06:33:37 GMT expires: - '-1' pragma: @@ -3182,7 +3086,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;4171 status: code: 200 message: OK @@ -3201,14 +3105,14 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/providers/Microsoft.Compute/locations/eastus2/capsOperations/51257e29-44a3-416c-b0b5-b910fe167afd?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/cc82c1c0-3031-45af-847a-28bb63138dd3?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:31:14.4146718+00:00\",\r\n \"endTime\": - \"2021-06-09T13:37:40.5261917+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"51257e29-44a3-416c-b0b5-b910fe167afd\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:27:34.0658249+00:00\",\r\n \"endTime\": + \"2021-05-25T06:34:35.5375489+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"cc82c1c0-3031-45af-847a-28bb63138dd3\"\r\n}" headers: cache-control: - no-cache @@ -3217,7 +3121,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:38:18 GMT + - Tue, 25 May 2021 06:34:39 GMT expires: - '-1' pragma: @@ -3234,7 +3138,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4167 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4169 status: code: 200 message: OK @@ -3253,7 +3157,7 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions/1.1.2?api-version=2020-09-30 response: @@ -3266,7 +3170,7 @@ interactions: \"Standard_LRS\"\r\n },\r\n {\r\n \"name\": \"East US 2\",\r\n \"regionalReplicaCount\": 2,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 2,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2021-06-09T13:23:03.6460035+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2021-05-25T06:20:20.5470824+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1\"\r\n \ },\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 30,\r\n \"hostCaching\": @@ -3282,7 +3186,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:38:19 GMT + - Tue, 25 May 2021 06:34:39 GMT expires: - '-1' pragma: @@ -3299,7 +3203,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImageVersion3Min;1999,Microsoft.Compute/GetGalleryImageVersion30Min;9991 + - Microsoft.Compute/GetGalleryImageVersion3Min;1999,Microsoft.Compute/GetGalleryImageVersion30Min;9989 status: code: 200 message: OK @@ -3317,12 +3221,12 @@ interactions: ParameterSetName: - -g -n --enable-purge-protection --enable-soft-delete User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/16.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/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-09T13:16:34Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2021-05-25T06:14:24Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -3331,7 +3235,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:38:19 GMT + - Tue, 25 May 2021 06:34:39 GMT expires: - '-1' pragma: @@ -3355,7 +3259,7 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-graphrbac/0.60.0 Azure-SDK-For-Python accept-language: - en-US @@ -3363,33 +3267,33 @@ interactions: uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/me?api-version=1.6 response: body: - string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/@Element","odata.type":"Microsoft.DirectoryServices.User","objectType":"User","objectId":"21cd756e-e290-4a26-9547-93e8cc1a8923","deletionTimestamp":null,"accountEnabled":true,"ageGroup":null,"assignedLicenses":[],"assignedPlans":[],"city":null,"companyName":null,"consentProvidedForMinor":null,"country":null,"createdDateTime":"2019-06-21T01:32:03Z","creationType":"Invitation","department":null,"dirSyncEnabled":null,"displayName":"Zunli - Hu","employeeId":null,"facsimileTelephoneNumber":null,"givenName":null,"immutableId":null,"isCompromised":null,"jobTitle":null,"lastDirSyncTime":null,"legalAgeGroupClassification":null,"mail":"zuh@microsoft.com","mailNickname":"zuh_microsoft.com#EXT#","mobile":null,"onPremisesDistinguishedName":null,"onPremisesSecurityIdentifier":null,"otherMails":["zuh@microsoft.com"],"passwordPolicies":null,"passwordProfile":null,"physicalDeliveryOfficeName":null,"postalCode":null,"preferredLanguage":null,"provisionedPlans":[],"provisioningErrors":[],"proxyAddresses":["SMTP:zuh@microsoft.com"],"refreshTokensValidFromDateTime":"2019-06-21T01:32:03Z","showInAddressList":false,"signInNames":[],"sipProxyAddress":null,"state":null,"streetAddress":null,"surname":null,"telephoneNumber":null,"thumbnailPhoto@odata.mediaEditLink":"directoryObjects/21cd756e-e290-4a26-9547-93e8cc1a8923/Microsoft.DirectoryServices.User/thumbnailPhoto","usageLocation":null,"userIdentities":[],"userPrincipalName":"zuh_microsoft.com#EXT#@AzureSDKTeam.onmicrosoft.com","userState":"Accepted","userStateChangedOn":"2019-06-24T01:43:59Z","userType":"Guest"}' + string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/@Element","odata.type":"Microsoft.DirectoryServices.User","objectType":"User","objectId":"9ac534f1-d577-4034-a32d-48de400dacbf","deletionTimestamp":null,"accountEnabled":true,"ageGroup":null,"assignedLicenses":[],"assignedPlans":[],"city":null,"companyName":null,"consentProvidedForMinor":null,"country":null,"createdDateTime":"2019-12-04T02:11:41Z","creationType":"Invitation","department":null,"dirSyncEnabled":null,"displayName":"Xing + Zhou","employeeId":null,"facsimileTelephoneNumber":null,"givenName":null,"immutableId":null,"isCompromised":null,"jobTitle":null,"lastDirSyncTime":null,"legalAgeGroupClassification":null,"mail":"zhoxing@microsoft.com","mailNickname":"zhoxing_microsoft.com#EXT#","mobile":null,"onPremisesDistinguishedName":null,"onPremisesSecurityIdentifier":null,"otherMails":["zhoxing@microsoft.com"],"passwordPolicies":null,"passwordProfile":null,"physicalDeliveryOfficeName":null,"postalCode":null,"preferredLanguage":null,"provisionedPlans":[],"provisioningErrors":[],"proxyAddresses":["SMTP:zhoxing@microsoft.com"],"refreshTokensValidFromDateTime":"2019-12-04T02:11:41Z","showInAddressList":false,"signInNames":[],"sipProxyAddress":null,"state":null,"streetAddress":null,"surname":null,"telephoneNumber":null,"thumbnailPhoto@odata.mediaEditLink":"directoryObjects/9ac534f1-d577-4034-a32d-48de400dacbf/Microsoft.DirectoryServices.User/thumbnailPhoto","usageLocation":null,"userIdentities":[],"userPrincipalName":"zhoxing_microsoft.com#EXT#@AzureSDKTeam.onmicrosoft.com","userState":"Accepted","userStateChangedOn":"2019-12-04T03:10:15Z","userType":"Guest"}' headers: access-control-allow-origin: - '*' cache-control: - no-cache content-length: - - '1670' + - '1691' content-type: - application/json; odata=minimalmetadata; streaming=true; charset=utf-8 dataserviceversion: - 3.0; date: - - Wed, 09 Jun 2021 13:38:21 GMT + - Tue, 25 May 2021 06:34:42 GMT duration: - - '2615883' + - '2659350' expires: - '-1' ocp-aad-diagnostics-server-name: - - tumJOUr//69/KCYCFu/MCulu5KY00LWfPfykUiLXv68= + - 8JRU6D2TskPND+yKi56KDTpMR0x1t61Oqwa/6roXcXA= ocp-aad-session-key: - - AnxAStaPJuaF_ZpSAoQ8eT8TXBv33mEpjl9Eqwc2--uOA7AM-ybLj7PnuHhTl0y4X6PSN30C957bkwP9EdORmI6RZB_CClRhR_DTy_6lFtKDvpxONPO21gopWQ9RBR4M.FtxO5uOQFAWPUSCj4HqzcexYxvo7G52FLINiOjb8A5o + - YHndi522PpgTTLK5_b38jt9OXoOsTycJI80b_u2YdVP7-B_tF50j86t_qjCtINpCwTyv78ZiW23rTHM_RHMou_feaXfdyS41Juvjh9syW6r0SoVYKGqX-qlJ1x_IRGKp.haQ-acavNyGMMSLm0A0vcM5IvHljO_KCHYOOMjzhZKo pragma: - no-cache request-id: - - cfa70958-1acb-4188-982d-017c5b01f7c4 + - 81fa489c-eece-4c78-b41b-b4d3aa77fa07 strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -3406,7 +3310,7 @@ interactions: - request: body: '{"location": "eastus2", "properties": {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "sku": {"family": "A", "name": "standard"}, "accessPolicies": [{"tenantId": - "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "21cd756e-e290-4a26-9547-93e8cc1a8923", + "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "9ac534f1-d577-4034-a32d-48de400dacbf", "permissions": {"keys": ["get", "create", "delete", "list", "update", "import", "backup", "restore", "recover"], "secrets": ["get", "list", "set", "delete", "backup", "restore", "recover"], "certificates": ["get", "list", "delete", "create", @@ -3431,21 +3335,21 @@ interactions: ParameterSetName: - -g -n --enable-purge-protection --enable-soft-delete User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-keyvault/9.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/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003","name":"vault-000003","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{},"systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"1970-01-19T18:54:05.908Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T18:54:05.908Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"21cd756e-e290-4a26-9547-93e8cc1a8923","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://vault-000003.vault.azure.net","provisioningState":"RegisteringDns"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003","name":"vault-000003","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{},"systemData":{"createdBy":"zhoxing@microsoft.com","createdByType":"User","createdAt":"1970-01-19T18:32:04.489Z","lastModifiedBy":"zhoxing@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T18:32:04.489Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"9ac534f1-d577-4034-a32d-48de400dacbf","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://vault-000003.vault.azure.net","provisioningState":"RegisteringDns"}}' headers: cache-control: - no-cache content-length: - - '1397' + - '1405' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:38:32 GMT + - Tue, 25 May 2021 06:34:51 GMT expires: - '-1' pragma: @@ -3463,9 +3367,9 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.20.0 + - 1.1.338.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1184' x-powered-by: - ASP.NET status: @@ -3485,21 +3389,21 @@ interactions: ParameterSetName: - -g -n --enable-purge-protection --enable-soft-delete User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-keyvault/9.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/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003","name":"vault-000003","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{},"systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"1970-01-19T18:54:05.908Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T18:54:05.908Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"21cd756e-e290-4a26-9547-93e8cc1a8923","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://vault-000003.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003","name":"vault-000003","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{},"systemData":{"createdBy":"zhoxing@microsoft.com","createdByType":"User","createdAt":"1970-01-19T18:32:04.489Z","lastModifiedBy":"zhoxing@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T18:32:04.489Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"9ac534f1-d577-4034-a32d-48de400dacbf","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://vault-000003.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1393' + - '1401' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:39:02 GMT + - Tue, 25 May 2021 06:35:21 GMT expires: - '-1' pragma: @@ -3517,7 +3421,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.20.0 + - 1.1.338.0 x-powered-by: - ASP.NET status: @@ -3537,7 +3441,7 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-keyvault/7.0 Azure-SDK-For-Python accept-language: - en-US @@ -3555,7 +3459,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:39:06 GMT + - Tue, 25 May 2021 06:35:24 GMT expires: - '-1' pragma: @@ -3568,7 +3472,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.255.115;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.111;act_addr_fam=InterNetwork; x-ms-keyvault-region: - eastus2 x-ms-keyvault-service-version: @@ -3592,7 +3496,7 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-keyvault/7.0 Azure-SDK-For-Python accept-language: - en-US @@ -3600,7 +3504,7 @@ interactions: uri: https://vault-000003.vault.azure.net/keys/key-000004/create?api-version=7.0 response: body: - string: '{"key":{"kid":"https://vault-000003.vault.azure.net/keys/key-000004/3b52e3dd8e394281a2c023399655e2cd","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"zthjO0gAZGG6frrwPA8oxLEhI-ZUlXVxbyw10ykoVawDsDTc0y9eU_AIUK3hEksd_NNxBwCq8vj26oAcu96XgUpZ1XANegNGsY_4gYZje3bmMLL3bMW2VB1qfK5ulBQnIMNu_GNrfMOrSGA7BePRRo2k934ix6RfUwBpiuyALxwNbHsV44t7gQIcCC3nifkmvR8gNxJ05pB7ZWg5LYRbnTtnYNFBURMTw7C5w9twnMy3b7v2pROFmHUNsOtGSqiC_o8QP4ukEptaGRMEsyjp6fVUrOcvibI0jlkg6KSWNj3QSyiT8keS8wr1EYYMlDEcmMCjDtZr-1N35fpgN0tvDQ","e":"AQAB"},"attributes":{"enabled":true,"created":1623245948,"updated":1623245948,"recoveryLevel":"Recoverable"}}' + string: '{"key":{"kid":"https://vault-000003.vault.azure.net/keys/key-000004/bbb15a4f35674da8b5fedd0ed492dc3a","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"6Ku2N8qEav402NL5UUvoeMCDpM_ZiCp3U5pIuIKvEEEUDgEqvm5iO5cA0HVGNfAsMkDrmpoP4NfAEKZahKjEOAVao7kicQ-MbOvOrPT8yZkhj0uf1ySmCvybfrWI09fmviNZk6IhuQ6SkuL3hHgO0dU7VRbo1plhNEOHk3ZwGkbMGHTUUcJMuog8M73xyEG0rfTVC-SjkzeAfAGEA-_RwrihDAgnJysCSg5lYRvRXTcRphcOc1vDZTmfEQSETcxYVzG6yanzqdA4xcT4-ILy5simusLchA4rUCnY0D0TqCRLzslI1kRejzv3Eayd2GTPfMAED2I_uXZTNunnP1o8OQ","e":"AQAB"},"attributes":{"enabled":true,"created":1621924526,"updated":1621924526,"recoveryLevel":"Recoverable"}}' headers: cache-control: - no-cache @@ -3609,7 +3513,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:39:07 GMT + - Tue, 25 May 2021 06:35:26 GMT expires: - '-1' pragma: @@ -3619,7 +3523,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.255.115;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.111;act_addr_fam=InterNetwork; x-ms-keyvault-region: - eastus2 x-ms-keyvault-service-version: @@ -3643,12 +3547,12 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/16.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/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-09T13:16:34Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2021-05-25T06:14:24Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -3657,7 +3561,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:39:07 GMT + - Tue, 25 May 2021 06:35:27 GMT expires: - '-1' pragma: @@ -3674,7 +3578,7 @@ interactions: - request: body: '{"location": "eastus2", "identity": {"type": "SystemAssigned"}, "properties": {"activeKey": {"sourceVault": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003"}, - "keyUrl": "https://vault-000003.vault.azure.net/keys/key-000004/3b52e3dd8e394281a2c023399655e2cd"}}}' + "keyUrl": "https://vault-000003.vault.azure.net/keys/key-000004/bbb15a4f35674da8b5fedd0ed492dc3a"}}}' headers: Accept: - application/json @@ -3691,7 +3595,7 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.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/clitest.rg000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000005?api-version=2020-12-01 response: @@ -3699,11 +3603,11 @@ interactions: string: "{\r\n \"location\": \"eastus2\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n },\r\n \"properties\": {\r\n \"activeKey\": {\r\n \ \"sourceVault\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003\"\r\n - \ },\r\n \"keyUrl\": \"https://vault-000003.vault.azure.net/keys/key-000004/3b52e3dd8e394281a2c023399655e2cd\"\r\n + \ },\r\n \"keyUrl\": \"https://vault-000003.vault.azure.net/keys/key-000004/bbb15a4f35674da8b5fedd0ed492dc3a\"\r\n \ },\r\n \"provisioningState\": \"Updating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/fc3e335d-7eae-499c-b6f5-006919b3d021?api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/21dc7466-b0fe-4911-8c85-2976df7a9b7a?api-version=2020-12-01 cache-control: - no-cache content-length: @@ -3711,11 +3615,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:39:18 GMT + - Tue, 25 May 2021 06:35:35 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/fc3e335d-7eae-499c-b6f5-006919b3d021?monitor=true&api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/21dc7466-b0fe-4911-8c85-2976df7a9b7a?monitor=true&api-version=2020-12-01 pragma: - no-cache server: @@ -3728,7 +3632,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/HighCostDiskEncryptionSet3Min;99,Microsoft.Compute/HighCostDiskEncryptionSet30Min;299 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1191' status: code: 202 message: Accepted @@ -3746,24 +3650,24 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/providers/Microsoft.Compute/locations/eastus2/DiskOperations/fc3e335d-7eae-499c-b6f5-006919b3d021?api-version=2020-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/21dc7466-b0fe-4911-8c85-2976df7a9b7a?api-version=2020-12-01 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:39:18.660229+00:00\",\r\n \"endTime\": - \"2021-06-09T13:39:18.8789272+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"properties\": {\r\n \"output\": {\"name\":\"des1-000005\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000005\",\"type\":\"Microsoft.Compute/diskEncryptionSets\",\"location\":\"eastus2\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"d9a34750-8657-455c-8aa1-de86e9ff9fe9\",\"tenantId\":\"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"},\"properties\":{\"activeKey\":{\"sourceVault\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003\"},\"keyUrl\":\"https://vault-000003.vault.azure.net/keys/key-000004/3b52e3dd8e394281a2c023399655e2cd\"},\"encryptionType\":\"EncryptionAtRestWithCustomerKey\",\"provisioningState\":\"Succeeded\"}}\r\n - \ },\r\n \"name\": \"fc3e335d-7eae-499c-b6f5-006919b3d021\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:35:35.7078672+00:00\",\r\n \"endTime\": + \"2021-05-25T06:35:35.9109816+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\"name\":\"des1-000005\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000005\",\"type\":\"Microsoft.Compute/diskEncryptionSets\",\"location\":\"eastus2\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"3847d8ab-a855-4782-a194-3a2a2fe8e32c\",\"tenantId\":\"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"},\"properties\":{\"activeKey\":{\"sourceVault\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003\"},\"keyUrl\":\"https://vault-000003.vault.azure.net/keys/key-000004/bbb15a4f35674da8b5fedd0ed492dc3a\"},\"encryptionType\":\"EncryptionAtRestWithCustomerKey\",\"provisioningState\":\"Succeeded\"}}\r\n + \ },\r\n \"name\": \"21dc7466-b0fe-4911-8c85-2976df7a9b7a\"\r\n}" headers: cache-control: - no-cache content-length: - - '1130' + - '1131' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:39:48 GMT + - Tue, 25 May 2021 06:36:06 GMT expires: - '-1' pragma: @@ -3780,7 +3684,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49998,Microsoft.Compute/GetOperation30Min;399948 + - Microsoft.Compute/GetOperation3Min;49998,Microsoft.Compute/GetOperation30Min;399941 status: code: 200 message: OK @@ -3798,7 +3702,7 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/clitest.rg000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000005?api-version=2020-12-01 response: @@ -3806,10 +3710,10 @@ interactions: string: "{\r\n \"name\": \"des1-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000005\",\r\n \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"eastus2\",\r\n \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": - \"d9a34750-8657-455c-8aa1-de86e9ff9fe9\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \"3847d8ab-a855-4782-a194-3a2a2fe8e32c\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n \ },\r\n \"properties\": {\r\n \"activeKey\": {\r\n \"sourceVault\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003\"\r\n - \ },\r\n \"keyUrl\": \"https://vault-000003.vault.azure.net/keys/key-000004/3b52e3dd8e394281a2c023399655e2cd\"\r\n + \ },\r\n \"keyUrl\": \"https://vault-000003.vault.azure.net/keys/key-000004/bbb15a4f35674da8b5fedd0ed492dc3a\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -3820,7 +3724,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:39:49 GMT + - Tue, 25 May 2021 06:36:06 GMT expires: - '-1' pragma: @@ -3837,7 +3741,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14997,Microsoft.Compute/LowCostGet30Min;119989 + - Microsoft.Compute/LowCostGet3Min;14997,Microsoft.Compute/LowCostGet30Min;119969 status: code: 200 message: OK @@ -3855,7 +3759,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/clitest.rg000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000005?api-version=2020-12-01 response: @@ -3863,10 +3767,10 @@ interactions: string: "{\r\n \"name\": \"des1-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000005\",\r\n \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"eastus2\",\r\n \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": - \"d9a34750-8657-455c-8aa1-de86e9ff9fe9\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \"3847d8ab-a855-4782-a194-3a2a2fe8e32c\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n \ },\r\n \"properties\": {\r\n \"activeKey\": {\r\n \"sourceVault\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003\"\r\n - \ },\r\n \"keyUrl\": \"https://vault-000003.vault.azure.net/keys/key-000004/3b52e3dd8e394281a2c023399655e2cd\"\r\n + \ },\r\n \"keyUrl\": \"https://vault-000003.vault.azure.net/keys/key-000004/bbb15a4f35674da8b5fedd0ed492dc3a\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -3877,7 +3781,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:39:50 GMT + - Tue, 25 May 2021 06:36:07 GMT expires: - '-1' pragma: @@ -3894,7 +3798,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14996,Microsoft.Compute/LowCostGet30Min;119988 + - Microsoft.Compute/LowCostGet3Min;14996,Microsoft.Compute/LowCostGet30Min;119968 status: code: 200 message: OK @@ -3912,21 +3816,21 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-keyvault/9.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/resources?$filter=resourceType%20eq%20%27Microsoft.KeyVault%2Fvaults%27&api-version=2015-11-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azps-test-group/providers/Microsoft.KeyVault/vaults/azps-test-kv2","name":"azps-test-kv2","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azps-test-group/providers/Microsoft.KeyVault/vaults/azps-test-kv4","name":"azps-test-kv4","type":"Microsoft.KeyVault/vaults","location":"southcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003","name":"vault-000003","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fytest/providers/Microsoft.KeyVault/vaults/vault1569","name":"vault1569","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiasli-cli-dev/providers/Microsoft.KeyVault/vaults/cli-sni-kv","name":"cli-sni-kv","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ljin-test/providers/Microsoft.KeyVault/vaults/kv-ljin-sni","name":"kv-ljin-sni","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azps-test-group/providers/Microsoft.KeyVault/vaults/azps-test-kv2","name":"azps-test-kv2","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azps-test-group/providers/Microsoft.KeyVault/vaults/azps-test-kv4","name":"azps-test-kv4","type":"Microsoft.KeyVault/vaults","location":"southcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003","name":"vault-000003","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fytest/providers/Microsoft.KeyVault/vaults/vault1569","name":"vault1569","type":"Microsoft.KeyVault/vaults","location":"centraluseuap","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiasli-cli-dev/providers/Microsoft.KeyVault/vaults/cli-sni-kv","name":"cli-sni-kv","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ljin-test/providers/Microsoft.KeyVault/vaults/kv-ljin-sni","name":"kv-ljin-sni","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup1/providers/Microsoft.KeyVault/vaults/mykevault11","name":"mykevault11","type":"Microsoft.KeyVault/vaults","location":"westeurope","tags":{}}]}' headers: cache-control: - no-cache content-length: - - '1447' + - '1678' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:39:49 GMT + - Tue, 25 May 2021 06:36:08 GMT expires: - '-1' pragma: @@ -3954,21 +3858,21 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-keyvault/9.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/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003","name":"vault-000003","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{},"systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"1970-01-19T18:54:05.908Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T18:54:05.908Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"21cd756e-e290-4a26-9547-93e8cc1a8923","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://vault-000003.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003","name":"vault-000003","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{},"systemData":{"createdBy":"zhoxing@microsoft.com","createdByType":"User","createdAt":"1970-01-19T18:32:04.489Z","lastModifiedBy":"zhoxing@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T18:32:04.489Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"9ac534f1-d577-4034-a32d-48de400dacbf","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://vault-000003.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1393' + - '1401' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:39:52 GMT + - Tue, 25 May 2021 06:36:09 GMT expires: - '-1' pragma: @@ -3986,7 +3890,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.20.0 + - 1.1.338.0 x-powered-by: - ASP.NET status: @@ -3995,15 +3899,15 @@ interactions: - request: body: '{"location": "eastus2", "tags": {}, "properties": {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "sku": {"family": "A", "name": "standard"}, "accessPolicies": [{"tenantId": - "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "21cd756e-e290-4a26-9547-93e8cc1a8923", + "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "9ac534f1-d577-4034-a32d-48de400dacbf", "permissions": {"keys": ["get", "create", "delete", "list", "update", "import", "backup", "restore", "recover"], "secrets": ["get", "list", "set", "delete", "backup", "restore", "recover"], "certificates": ["get", "list", "delete", "create", "import", "update", "managecontacts", "getissuers", "listissuers", "setissuers", "deleteissuers", "manageissuers", "recover"], "storage": ["get", "list", "delete", "set", "update", "regeneratekey", "setsas", "listsas", "getsas", "deletesas"]}}, - {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "d9a34750-8657-455c-8aa1-de86e9ff9fe9", - "permissions": {"keys": ["unwrapKey", "wrapKey", "get"]}}], "vaultUri": "https://vault-000003.vault.azure.net/", + {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "3847d8ab-a855-4782-a194-3a2a2fe8e32c", + "permissions": {"keys": ["wrapKey", "unwrapKey", "get"]}}], "vaultUri": "https://vault-000003.vault.azure.net/", "enabledForDeployment": false, "enableSoftDelete": true, "softDeleteRetentionInDays": 90, "enablePurgeProtection": true, "provisioningState": "Succeeded"}}' headers: @@ -4022,21 +3926,21 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-keyvault/9.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-keyvault/9.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/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003?api-version=2021-04-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003","name":"vault-000003","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{},"systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"1970-01-19T18:54:05.908Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T18:54:05.993Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"21cd756e-e290-4a26-9547-93e8cc1a8923","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"d9a34750-8657-455c-8aa1-de86e9ff9fe9","permissions":{"keys":["unwrapKey","wrapKey","get"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://vault-000003.vault.azure.net/","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003","name":"vault-000003","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{},"systemData":{"createdBy":"zhoxing@microsoft.com","createdByType":"User","createdAt":"1970-01-19T18:32:04.489Z","lastModifiedBy":"zhoxing@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"1970-01-19T18:32:04.57Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"9ac534f1-d577-4034-a32d-48de400dacbf","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"3847d8ab-a855-4782-a194-3a2a2fe8e32c","permissions":{"keys":["wrapKey","unwrapKey","get"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enablePurgeProtection":true,"vaultUri":"https://vault-000003.vault.azure.net/","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1548' + - '1555' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:39:53 GMT + - Tue, 25 May 2021 06:36:10 GMT expires: - '-1' pragma: @@ -4054,9 +3958,9 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.20.0 + - 1.1.338.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1177' x-powered-by: - ASP.NET status: @@ -4076,12 +3980,12 @@ interactions: ParameterSetName: - --assignee --role --scope User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-graphrbac/0.60.0 Azure-SDK-For-Python AZURECLI/2.24.0 accept-language: - en-US method: GET - uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/servicePrincipals?$filter=servicePrincipalNames%2Fany%28c%3Ac%20eq%20%27d9a34750-8657-455c-8aa1-de86e9ff9fe9%27%29&api-version=1.6 + uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/servicePrincipals?$filter=servicePrincipalNames%2Fany%28c%3Ac%20eq%20%273847d8ab-a855-4782-a194-3a2a2fe8e32c%27%29&api-version=1.6 response: body: string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects","value":[]}' @@ -4097,19 +4001,19 @@ interactions: dataserviceversion: - 3.0; date: - - Wed, 09 Jun 2021 13:40:08 GMT + - Tue, 25 May 2021 06:36:25 GMT duration: - - '2667243' + - '2450777' expires: - '-1' ocp-aad-diagnostics-server-name: - - u9V1VIP9ujosVjBuAHAIgPId4kpbcYzzendHDypb43A= + - gOsxI0l+r0xPQDqZHWiieg2QjfSBshDBiG9QNeLtUEE= ocp-aad-session-key: - - QonpYVu9JeGtt3Ty2GbT9BWVCbt_dPqnFEI52b-rnqDAKZkINSXp5mWCow_fyFLFatDs99c9U8zsBiKwQgTcuFv-Me6BLoYcjOwzmRtlYhx-7wsSUcL0GvEV4Zd5IT8K.nFGg8TR3lDZv-Y6UFjz05w37Vd7nOdgoBHW7W-DQXng + - jbSv_O9kKAV_BTm9n0NO8htpeTJUVx2bTIXR2AHGuWzoI_K1c3LjngHMFlzVEdIYI9W3UUXE4IaCTo3dIWxqgNKs2nxH-1Zy3HVjjW0YBC9WkYtR0ih8GXt_gUA1ZspI.o42LsXSHfCYMMuvp6rhjVipTRrGK4V-WsQm1TzZH6xE pragma: - no-cache request-id: - - 9365b93e-daeb-48e7-8e0a-b94344853b9b + - e0a152c0-877e-4870-91d2-2f54ec5a5f0f strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -4124,7 +4028,7 @@ interactions: code: 200 message: OK - request: - body: '{"objectIds": ["d9a34750-8657-455c-8aa1-de86e9ff9fe9"], "includeDirectoryObjectReferences": + body: '{"objectIds": ["3847d8ab-a855-4782-a194-3a2a2fe8e32c"], "includeDirectoryObjectReferences": true}' headers: Accept: @@ -4142,7 +4046,7 @@ interactions: ParameterSetName: - --assignee --role --scope User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-graphrbac/0.60.0 Azure-SDK-For-Python AZURECLI/2.24.0 accept-language: - en-US @@ -4150,7 +4054,7 @@ interactions: uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/getObjectsByObjectIds?api-version=1.6 response: body: - string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects","value":[{"odata.type":"Microsoft.DirectoryServices.ServicePrincipal","objectType":"ServicePrincipal","objectId":"d9a34750-8657-455c-8aa1-de86e9ff9fe9","deletionTimestamp":null,"accountEnabled":true,"addIns":[],"alternativeNames":["isExplicit=False","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000005"],"appDisplayName":null,"appId":"f35af185-3f56-46ee-a960-ffe1cc6a6412","applicationTemplateId":null,"appOwnerTenantId":null,"appRoleAssignmentRequired":false,"appRoles":[],"displayName":"des1-000005","errorUrl":null,"homepage":null,"informationalUrls":null,"keyCredentials":[{"customKeyIdentifier":"4FD278FA28A6A5A948D20CD3A7BB5211C86A90A4","endDate":"2021-09-07T13:34:00Z","keyId":"a20b3281-fe30-4ba8-9eac-3f6567b56faa","startDate":"2021-06-09T13:34:00Z","type":"AsymmetricX509Cert","usage":"Verify","value":null}],"logoutUrl":null,"notificationEmailAddresses":[],"oauth2Permissions":[],"passwordCredentials":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyEndDateTime":null,"preferredTokenSigningKeyThumbprint":null,"publisherName":null,"replyUrls":[],"samlMetadataUrl":null,"samlSingleSignOnSettings":null,"servicePrincipalNames":["f35af185-3f56-46ee-a960-ffe1cc6a6412","https://identity.azure.net/l2sfkSFD3SD8QTGn76fcrG0QPkNfmkmx1AKiW6duPfs="],"servicePrincipalType":"ManagedIdentity","signInAudience":null,"tags":[],"tokenEncryptionKeyId":null}]}' + string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects","value":[{"odata.type":"Microsoft.DirectoryServices.ServicePrincipal","objectType":"ServicePrincipal","objectId":"3847d8ab-a855-4782-a194-3a2a2fe8e32c","deletionTimestamp":null,"accountEnabled":true,"addIns":[],"alternativeNames":["isExplicit=False","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000005"],"appDisplayName":null,"appId":"f4e730e9-23e7-4ceb-bbd4-2d3092103d8e","applicationTemplateId":null,"appOwnerTenantId":null,"appRoleAssignmentRequired":false,"appRoles":[],"displayName":"des1-000005","errorUrl":null,"homepage":null,"informationalUrls":null,"keyCredentials":[{"customKeyIdentifier":"882F7095BEF250BAAF4C48E9C500EB18569C1283","endDate":"2021-08-23T06:30:00Z","keyId":"0233d95f-2200-4e51-a9d7-11d140cba2af","startDate":"2021-05-25T06:30:00Z","type":"AsymmetricX509Cert","usage":"Verify","value":null}],"logoutUrl":null,"notificationEmailAddresses":[],"oauth2Permissions":[],"passwordCredentials":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyEndDateTime":null,"preferredTokenSigningKeyThumbprint":null,"publisherName":null,"replyUrls":[],"samlMetadataUrl":null,"samlSingleSignOnSettings":null,"servicePrincipalNames":["f4e730e9-23e7-4ceb-bbd4-2d3092103d8e","https://identity.azure.net/hgBuSQoU2i2RHSbDuWsf7xKz9rNGyT1ZJ2plifsy+ac="],"servicePrincipalType":"ManagedIdentity","signInAudience":null,"tags":[],"tokenEncryptionKeyId":null}]}' headers: access-control-allow-origin: - '*' @@ -4163,19 +4067,19 @@ interactions: dataserviceversion: - 3.0; date: - - Wed, 09 Jun 2021 13:40:09 GMT + - Tue, 25 May 2021 06:36:26 GMT duration: - - '2582346' + - '2461807' expires: - '-1' ocp-aad-diagnostics-server-name: - - sBmsXplHKdvah1yIcNi8ecTQ2owSrd8xz1dY5hE/goA= + - UU0gA6hUUbozv4vsbjG/sRDNt3SoGo/2Y8ytXko/aMk= ocp-aad-session-key: - - ADfz3D8bElGO7i2SA7w_eSejNl9VGK5zFnEfBDp3KWIGZPC2S7X5nyD3MkTuOqsu9nANJ5rNeldL5ViFTHNJFr7ZxG3HrX0A0R7hFthP6282pczpE-1ngiwKexbKTnqU.9q4WV4V4LZppWCBSG0GCtXHzeCysZpIew1gYwcjeVA0 + - eyUrX-ciZ3UQRXYggdSfpon_87htjP1YIT4D6IMjTxAwV_C0kcofOYHBroVKBie0ohZMDvtGWFLI8dMy8WigfwG1MjEXt1BUTiGHxKHQVxjnXNhOjUXsjhEGub-Kllgt.kHDRskEWcrJP6VBSiQ8rwi86SlbPJ44Hy5w10AIbClY pragma: - no-cache request-id: - - 31b8f008-3238-4abe-b4e1-b883f29f1ec3 + - a8869b46-8cb0-450a-9206-92ee954f6759 strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -4203,7 +4107,7 @@ interactions: ParameterSetName: - --assignee --role --scope User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.24.0 accept-language: - en-US @@ -4221,7 +4125,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:40:09 GMT + - Tue, 25 May 2021 06:36:27 GMT expires: - '-1' pragma: @@ -4241,7 +4145,7 @@ interactions: message: OK - request: body: '{"properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", - "principalId": "d9a34750-8657-455c-8aa1-de86e9ff9fe9", "principalType": "ServicePrincipal"}}' + "principalId": "3847d8ab-a855-4782-a194-3a2a2fe8e32c", "principalType": "ServicePrincipal"}}' headers: Accept: - application/json @@ -4260,7 +4164,7 @@ interactions: ParameterSetName: - --assignee --role --scope User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.24.0 accept-language: - en-US @@ -4268,7 +4172,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001?api-version=2020-04-01-preview response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"d9a34750-8657-455c-8aa1-de86e9ff9fe9","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003","condition":null,"conditionVersion":null,"createdOn":"2021-06-09T13:40:10.6911713Z","updatedOn":"2021-06-09T13:40:11.4911796Z","createdBy":null,"updatedBy":"21cd756e-e290-4a26-9547-93e8cc1a8923","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000001"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"3847d8ab-a855-4782-a194-3a2a2fe8e32c","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003","condition":null,"conditionVersion":null,"createdOn":"2021-05-25T06:36:28.0608181Z","updatedOn":"2021-05-25T06:36:28.4069971Z","createdBy":null,"updatedBy":"9ac534f1-d577-4034-a32d-48de400dacbf","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000003/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000001"}' headers: cache-control: - no-cache @@ -4277,7 +4181,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:40:16 GMT + - Tue, 25 May 2021 06:36:32 GMT expires: - '-1' pragma: @@ -4289,7 +4193,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1188' status: code: 201 message: Created @@ -4308,12 +4212,12 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --target-region-encryption --managed-image --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/16.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/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-09T13:16:34Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2021-05-25T06:14:24Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -4322,7 +4226,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:40:31 GMT + - Tue, 25 May 2021 06:36:47 GMT expires: - '-1' pragma: @@ -4359,7 +4263,7 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --target-region-encryption --managed-image --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.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/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions/1.1.3?api-version=2020-09-30 response: @@ -4375,13 +4279,13 @@ interactions: \ \"lun\": 0,\r\n \"diskEncryptionSetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000005\"\r\n \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \ \"replicaCount\": 1,\r\n \"excludeFromLatest\": false,\r\n \"publishedDate\": - \"2021-06-09T13:40:38.7922951+00:00\",\r\n \"storageAccountType\": \"Standard_LRS\"\r\n + \"2021-05-25T06:36:53.5857808+00:00\",\r\n \"storageAccountType\": \"Standard_LRS\"\r\n \ },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1\"\r\n \ }\r\n },\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/e0f5be26-0fd7-4c5c-9324-bdce40ad5b1e?api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/42854ae0-522a-4e79-97c7-72e14238f408?api-version=2020-09-30 cache-control: - no-cache content-length: @@ -4389,7 +4293,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:40:40 GMT + - Tue, 25 May 2021 06:36:55 GMT expires: - '-1' pragma: @@ -4404,7 +4308,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;374,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1197 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1185' status: code: 201 message: Created @@ -4423,64 +4327,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --target-region-encryption --managed-image --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/e0f5be26-0fd7-4c5c-9324-bdce40ad5b1e?api-version=2020-09-30 - response: - body: - string: "{\r\n \"startTime\": \"2021-06-09T13:40:38.7766714+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"e0f5be26-0fd7-4c5c-9324-bdce40ad5b1e\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 13:41:41 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;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 --target-regions - --target-region-encryption --managed-image --replica-count - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/providers/Microsoft.Compute/locations/eastus2/capsOperations/e0f5be26-0fd7-4c5c-9324-bdce40ad5b1e?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/42854ae0-522a-4e79-97c7-72e14238f408?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:40:38.7766714+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"e0f5be26-0fd7-4c5c-9324-bdce40ad5b1e\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:36:53.5545036+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"42854ae0-522a-4e79-97c7-72e14238f408\"\r\n}" headers: cache-control: - no-cache @@ -4489,7 +4342,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:42:41 GMT + - Tue, 25 May 2021 06:37:56 GMT expires: - '-1' pragma: @@ -4506,7 +4359,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1197,Microsoft.Compute/GetOperationStatus30Min;4163 + - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4166 status: code: 200 message: OK @@ -4525,13 +4378,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --target-region-encryption --managed-image --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/providers/Microsoft.Compute/locations/eastus2/capsOperations/e0f5be26-0fd7-4c5c-9324-bdce40ad5b1e?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/42854ae0-522a-4e79-97c7-72e14238f408?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:40:38.7766714+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"e0f5be26-0fd7-4c5c-9324-bdce40ad5b1e\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:36:53.5545036+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"42854ae0-522a-4e79-97c7-72e14238f408\"\r\n}" headers: cache-control: - no-cache @@ -4540,7 +4393,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:43:41 GMT + - Tue, 25 May 2021 06:38:57 GMT expires: - '-1' pragma: @@ -4557,7 +4410,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4161 + - Microsoft.Compute/GetOperationStatus3Min;1196,Microsoft.Compute/GetOperationStatus30Min;4164 status: code: 200 message: OK @@ -4576,13 +4429,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --target-region-encryption --managed-image --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/providers/Microsoft.Compute/locations/eastus2/capsOperations/e0f5be26-0fd7-4c5c-9324-bdce40ad5b1e?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/42854ae0-522a-4e79-97c7-72e14238f408?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:40:38.7766714+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"e0f5be26-0fd7-4c5c-9324-bdce40ad5b1e\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:36:53.5545036+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"42854ae0-522a-4e79-97c7-72e14238f408\"\r\n}" headers: cache-control: - no-cache @@ -4591,7 +4444,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:44:42 GMT + - Tue, 25 May 2021 06:39:59 GMT expires: - '-1' pragma: @@ -4608,7 +4461,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4159 + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4162 status: code: 200 message: OK @@ -4627,13 +4480,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --target-region-encryption --managed-image --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/providers/Microsoft.Compute/locations/eastus2/capsOperations/e0f5be26-0fd7-4c5c-9324-bdce40ad5b1e?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/42854ae0-522a-4e79-97c7-72e14238f408?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:40:38.7766714+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"e0f5be26-0fd7-4c5c-9324-bdce40ad5b1e\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:36:53.5545036+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"42854ae0-522a-4e79-97c7-72e14238f408\"\r\n}" headers: cache-control: - no-cache @@ -4642,7 +4495,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:45:42 GMT + - Tue, 25 May 2021 06:40:59 GMT expires: - '-1' pragma: @@ -4659,7 +4512,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;4162 status: code: 200 message: OK @@ -4678,13 +4531,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --target-region-encryption --managed-image --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/providers/Microsoft.Compute/locations/eastus2/capsOperations/e0f5be26-0fd7-4c5c-9324-bdce40ad5b1e?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/42854ae0-522a-4e79-97c7-72e14238f408?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:40:38.7766714+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"e0f5be26-0fd7-4c5c-9324-bdce40ad5b1e\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:36:53.5545036+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"42854ae0-522a-4e79-97c7-72e14238f408\"\r\n}" headers: cache-control: - no-cache @@ -4693,7 +4546,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:46:43 GMT + - Tue, 25 May 2021 06:42:00 GMT expires: - '-1' pragma: @@ -4710,7 +4563,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;4160 status: code: 200 message: OK @@ -4729,13 +4582,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --target-region-encryption --managed-image --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/providers/Microsoft.Compute/locations/eastus2/capsOperations/e0f5be26-0fd7-4c5c-9324-bdce40ad5b1e?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/42854ae0-522a-4e79-97c7-72e14238f408?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:40:38.7766714+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"e0f5be26-0fd7-4c5c-9324-bdce40ad5b1e\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:36:53.5545036+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"42854ae0-522a-4e79-97c7-72e14238f408\"\r\n}" headers: cache-control: - no-cache @@ -4744,7 +4597,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:47:43 GMT + - Tue, 25 May 2021 06:43:00 GMT expires: - '-1' pragma: @@ -4761,7 +4614,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;4158 status: code: 200 message: OK @@ -4780,14 +4633,14 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --target-region-encryption --managed-image --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/providers/Microsoft.Compute/locations/eastus2/capsOperations/e0f5be26-0fd7-4c5c-9324-bdce40ad5b1e?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/42854ae0-522a-4e79-97c7-72e14238f408?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:40:38.7766714+00:00\",\r\n \"endTime\": - \"2021-06-09T13:48:31.6864715+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"e0f5be26-0fd7-4c5c-9324-bdce40ad5b1e\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:36:53.5545036+00:00\",\r\n \"endTime\": + \"2021-05-25T06:43:39.5260628+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"42854ae0-522a-4e79-97c7-72e14238f408\"\r\n}" headers: cache-control: - no-cache @@ -4796,7 +4649,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:48:43 GMT + - Tue, 25 May 2021 06:44:02 GMT expires: - '-1' pragma: @@ -4813,7 +4666,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4155 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4156 status: code: 200 message: OK @@ -4832,7 +4685,7 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --target-region-encryption --managed-image --replica-count User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions/1.1.3?api-version=2020-09-30 response: @@ -4848,7 +4701,7 @@ interactions: \ \"lun\": 0,\r\n \"diskEncryptionSetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000005\"\r\n \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \ \"replicaCount\": 1,\r\n \"excludeFromLatest\": false,\r\n \"publishedDate\": - \"2021-06-09T13:40:38.7922951+00:00\",\r\n \"storageAccountType\": \"Standard_LRS\"\r\n + \"2021-05-25T06:36:53.5857808+00:00\",\r\n \"storageAccountType\": \"Standard_LRS\"\r\n \ },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1\"\r\n \ },\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 30,\r\n \"hostCaching\": @@ -4864,7 +4717,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:48:44 GMT + - Tue, 25 May 2021 06:44:02 GMT expires: - '-1' pragma: @@ -4881,7 +4734,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImageVersion3Min;1997,Microsoft.Compute/GetGalleryImageVersion30Min;9983 + - Microsoft.Compute/GetGalleryImageVersion3Min;1998,Microsoft.Compute/GetGalleryImageVersion30Min;9980 status: code: 200 message: OK @@ -4899,12 +4752,12 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/16.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/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2021-06-09T13:16:34Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2021-05-25T06:14:24Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -4913,7 +4766,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:48:45 GMT + - Tue, 25 May 2021 06:44:03 GMT expires: - '-1' pragma: @@ -4941,7 +4794,7 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1?api-version=2020-09-30 response: @@ -4961,7 +4814,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:48:46 GMT + - Tue, 25 May 2021 06:44:03 GMT expires: - '-1' pragma: @@ -4978,7 +4831,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImage3Min;599,Microsoft.Compute/GetGalleryImage30Min;2995 + - Microsoft.Compute/GetGalleryImage3Min;599,Microsoft.Compute/GetGalleryImage30Min;2987 status: code: 200 message: OK @@ -4996,15 +4849,15 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions?api-version=2020-09-30 response: body: string: '{"value":[{"name":"1.1.2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions/1.1.2","type":"Microsoft.Compute/galleries/images/versions","location":"eastus2","tags":{},"properties":{"publishingProfile":{"targetRegions":[{"name":"West US 2","regionalReplicaCount":1,"storageAccountType":"Standard_LRS"},{"name":"East - US 2","regionalReplicaCount":2,"storageAccountType":"Standard_LRS"}],"replicaCount":2,"excludeFromLatest":false,"publishedDate":"2021-06-09T13:23:03.6460035+00:00","storageAccountType":"Standard_LRS"},"storageProfile":{"source":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1"},"osDiskImage":{"sizeInGB":30,"hostCaching":"ReadWrite","source":{}},"dataDiskImages":[{"lun":0,"sizeInGB":10,"hostCaching":"None"}]},"provisioningState":"Succeeded"}},{"name":"1.1.3","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions/1.1.3","type":"Microsoft.Compute/galleries/images/versions","location":"eastus2","tags":{},"properties":{"publishingProfile":{"targetRegions":[{"name":"East - US 2","regionalReplicaCount":1,"storageAccountType":"Standard_LRS","encryption":{"osDiskImage":{"diskEncryptionSetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000005"},"dataDiskImages":[{"lun":0,"diskEncryptionSetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000005"}]}}],"replicaCount":1,"excludeFromLatest":false,"publishedDate":"2021-06-09T13:40:38.7922951+00:00","storageAccountType":"Standard_LRS"},"storageProfile":{"source":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1"},"osDiskImage":{"sizeInGB":30,"hostCaching":"ReadWrite","source":{}},"dataDiskImages":[{"lun":0,"sizeInGB":10,"hostCaching":"None"}]},"provisioningState":"Succeeded"}}]}' + US 2","regionalReplicaCount":2,"storageAccountType":"Standard_LRS"}],"replicaCount":2,"excludeFromLatest":false,"publishedDate":"2021-05-25T06:20:20.5470824+00:00","storageAccountType":"Standard_LRS"},"storageProfile":{"source":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1"},"osDiskImage":{"sizeInGB":30,"hostCaching":"ReadWrite","source":{}},"dataDiskImages":[{"lun":0,"sizeInGB":10,"hostCaching":"None"}]},"provisioningState":"Succeeded"}},{"name":"1.1.3","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions/1.1.3","type":"Microsoft.Compute/galleries/images/versions","location":"eastus2","tags":{},"properties":{"publishingProfile":{"targetRegions":[{"name":"East + US 2","regionalReplicaCount":1,"storageAccountType":"Standard_LRS","encryption":{"osDiskImage":{"diskEncryptionSetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000005"},"dataDiskImages":[{"lun":0,"diskEncryptionSetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000005"}]}}],"replicaCount":1,"excludeFromLatest":false,"publishedDate":"2021-05-25T06:36:53.5857808+00:00","storageAccountType":"Standard_LRS"},"storageProfile":{"source":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1"},"osDiskImage":{"sizeInGB":30,"hostCaching":"ReadWrite","source":{}},"dataDiskImages":[{"lun":0,"sizeInGB":10,"hostCaching":"None"}]},"provisioningState":"Succeeded"}}]}' headers: cache-control: - no-cache @@ -5013,7 +4866,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:48:47 GMT + - Tue, 25 May 2021 06:44:04 GMT expires: - '-1' pragma: @@ -5025,43 +4878,42 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 8850d26c-b528-4b03-bb70-a90b7e09f673 - - 2ab7b406-bfe3-45b3-b409-d9abc7d13de2 - - e9729288-1b8b-4ea8-9e6c-57f0c7c51b32 - - 0bebe3fe-3829-4611-8323-f9103b2de6f1 - - 946c030e-349c-4762-bb1a-6e41dc63d068 - - 2aafdd73-6648-468d-8b8f-856e75839b0d - - c0cdb21d-6d68-48bc-bd1a-afc03c74ac06 - - b2b2c9b4-6a08-4008-9504-4704ef881ed4 - - ef5703a4-543c-4dd2-9348-3ec9d4c439f2 - - 05fa30b7-75c0-419c-b856-281201179c6d - - 98c301c1-2a19-42fd-80b4-fe777f26a5e2 - - e25ebf97-6dd5-4640-ac0e-d1ab5f4f787c - - 24c6ee0c-dae4-4fa5-a46e-6c9ec40ecdef - - 622daa85-97a4-4082-ac69-f40ffea6fb6d - - 8ae2a161-b981-4f35-bb3c-7ee42c8efd48 - - cc6e135e-6a71-4634-9548-6a35f6f374a4 - - 33b89dab-44f4-4a6d-8333-a42ab0587138 - - f70fbace-69b4-4144-852a-17846466c5a1 - - 9c364bf0-9d08-472f-a2d9-d6d5864cb27a - - f0212fb0-82ed-46e8-8567-999bc2932240 - - 2d399bf7-4d29-4177-a66b-66e4316c67a4 - - f2d48a5f-7199-4c8f-8749-f25f82053882 - - 3732db3b-1691-48a0-a6c0-9bf35345e87f - - ff92d31f-0d1f-4a75-ac27-8d4ce7147de7 - - d6e82610-f3c3-4e77-ad0d-ece8af3f13ba - - ae64c223-94c9-49aa-a923-3cda4dc634ae - - 40033e91-032a-4002-ade2-7ffd135eca64 - - 27c9a151-e598-4a85-9158-ea7c81a0778c - - a7785e12-8a19-4114-bc43-e6bb49e0979c - - 4db7d38e-5a76-41c2-ad28-5836f1b81c41 - - 5cc8124d-d1ba-4833-a746-8827bd428358 - - 252126e3-e12e-4ecb-8047-2a2287a1284f - - 4fa1b0a9-eba0-4a17-a3b9-cd3231ae278c - - b1cd0f99-f8de-4d3f-9d16-61436c9c65c3 - - 0d3e8bf5-7064-48d5-9882-3ba0eaa5d02c - - fa7e1885-74c4-4f4a-814a-dfa7d1999918 - - 556cf092-c3f2-4a10-bc8a-25d0a8d16911 + - 705e627d-73f0-4d1e-b9c2-8244bd60d8b8 + - 098ab686-8bb6-468f-8a5c-7899e9e23624 + - 66a58b5c-39ea-480a-8dec-8255675c9ddb + - eb1b4b8a-de9d-4d48-8635-f55c77ca875a + - a8e26ce1-f8a7-4426-a481-58c4307f0f02 + - 7f2996e1-a7bd-448c-9a53-d0db2cae5d68 + - ce8e2394-2896-4b04-9e83-355d229826ba + - c77128a7-5fff-48ad-b747-ef0be8994515 + - f2372253-f36f-458e-b7bc-b1960e3bb1bd + - eeecb8d7-bc7a-4595-b0c9-e1fd3c729512 + - 95c31ac7-964f-4207-af47-fd9088c29e5f + - d8873a40-0e8a-46ce-812a-e2130f934ca7 + - 30ebd4ec-216d-497c-81eb-903d030c7069 + - 14981439-1ee3-4b54-85a3-43ee3f8bfeff + - 29f054de-4548-4b7e-8d71-40d094daea19 + - 49b080e1-d8b7-4a0d-a5a1-2938fad07888 + - a698fe20-58b2-45b1-a7aa-1bb4b189c1b1 + - f7846e7e-f274-42db-a136-2c3918563308 + - 9e868356-9958-4452-8119-66ca66f9e3c0 + - 89dcf784-d4b7-4982-9038-584e24af3712 + - 914e1b47-28f7-4f95-9a3a-47994842d926 + - 97c6d0bb-121e-44a2-a1ac-f430f5479300 + - 3db5fffa-584c-4f62-bfe9-fc25e8d17811 + - 5ea22f1a-dbcb-469f-9dc2-a0136cd39d00 + - 114924c9-3d43-4109-a6b9-3f3c02764f83 + - 9a4b5db9-5b14-495f-a7df-bc8c0084fe3e + - 5a4bf8e8-c929-41fd-8963-c9d71331cf89 + - fabb8653-62ba-4ca0-9e88-03908afdc2c7 + - 73c9e477-585a-4e7d-8af2-99fe7adff75e + - 045168a7-49a4-4614-846f-5cdaeb7f9e57 + - 60b27b70-8d98-4b17-88d7-d52d3640e882 + - b1609162-10cc-4e1f-ad05-eba9a955e2fb + - 092468d3-dee9-4eba-96cb-bc0974b6b1d8 + - c9e2eaa9-fba8-4335-886e-1b25c3f6d83c + - 54600bd0-343e-44b1-9f55-70f59b57014d + - d03bad7a-68c9-4f14-98a4-9113538816cf status: code: 200 message: OK @@ -5079,21 +4931,21 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/18.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/clitest.rg000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"vm1VNET\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm1VNET\",\r\n - \ \"etag\": \"W/\\\"3b07932e-dcf8-4522-a805-b4d417e9e344\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"42aae144-5424-4f0f-86e1-655a75714567\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"c88c4a9a-32ac-4142-9756-fd7c21baa3e9\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"94f6c82e-0742-4c23-91c6-539147269a27\",\r\n \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"vm1Subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet\",\r\n - \ \"etag\": \"W/\\\"3b07932e-dcf8-4522-a805-b4d417e9e344\\\"\",\r\n + \ \"etag\": \"W/\\\"42aae144-5424-4f0f-86e1-655a75714567\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"ipConfigurations\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n @@ -5109,7 +4961,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:48:49 GMT + - Tue, 25 May 2021 06:44:06 GMT expires: - '-1' pragma: @@ -5126,7 +4978,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f4cc4c1e-6ec5-4554-a76a-6ffc212e71aa + - cf2bcd1a-88da-4042-95f5-cd532ac377c8 status: code: 200 message: OK @@ -5148,16 +5000,16 @@ interactions: {"apiVersion": "2021-03-01", "type": "Microsoft.Compute/virtualMachines", "name": "vmFromImage", "location": "eastus2", "tags": {}, "dependsOn": ["Microsoft.Network/networkInterfaces/vmFromImageVMNic"], "properties": {"hardwareProfile": {"vmSize": "Standard_DS1_v2"}, "networkProfile": - {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vmFromImageVMNic", - "properties": {"deleteOption": null}}]}, "storageProfile": {"osDisk": {"createOption": - "fromImage", "name": null, "caching": "ReadWrite", "managedDisk": {"storageAccountType": - null}}, "imageReference": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1"}, + {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vmFromImageVMNic"}]}, + "storageProfile": {"osDisk": {"createOption": "fromImage", "name": null, "caching": + "ReadWrite", "managedDisk": {"storageAccountType": null}}, "imageReference": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1"}, "dataDisks": [{"lun": 0, "managedDisk": {"storageAccountType": null}, "createOption": "fromImage"}]}, "osProfile": {"computerName": "vmFromImage", "adminUsername": "clitest1", "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": - {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC86Jgk+Wp0JneEvsoZMG3PIL/zMJIbuY+r3xakXOZ8thq9gOQVgxSLdwUELhPy1iekWGsoGrvQIMEb22upTPG/9VaulCAVXfZnIetNUlId5DNAxOiyvOMEIqhPuxIOce0KKeGnCMkfPGzXrT3hqg8mSU8xW4cDNKJGikpPLMTX+O8V0QptnO5n7E4vH3zPOWuH9Xf0D2uTc6Z8JUFIljy1LfmvJkAitEsPWBott4k4JtxueODbNB+RaQT/p4FUGcxKMObAgQw0jJWKoZTylQOi0xtOOBKAS19+bXwo8AMOoUOB+8CHDX+3okZI3thHN7C1oL7qm6pfHdgvNrt1sPFl", - "path": "/home/clitest1/.ssh/authorized_keys"}]}}}}}], "outputs": {}}, "parameters": - {}, "mode": "incremental"}}' + {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDUkQ08GKz7v20K0CXEXVnY5prCnEUl+A2KA4Ubg6W76fdqSl4LZneP4MiMOltUAoZsAYbT6D4ja7kxZqGnu7RB0g6Oqv1g0eHYNfLV9XAq4nvDmtSGBXpgBs6Kg1+y+g2j3XOHSCNSG4EJtyzqujt1obt+95UdvbDfb7GC6Dc76gBiFP4AFTdDS5rK0YAct4xH1rFtZKc2ygMUrhm6b57p0QHKAJsc9Jb7PuGh9qvwdg5mOZzZZBKq20fj7FB2pOYGjH6bIUN4Vo0I2t80PHOyMYVkNDLvFagpVs58eCju5d5MYPxV7RKJzOYt5mDfGcYA5INH9+ReXOqRKMzjQmv4sk5PzOafJXvgQvd0vT7WL+NXS/kNzP4buQyhhWWJfhauQWwy9wiiIaCJwAQ1GZnKSGI9ZpYIYGrZsaqLmU8l59ykLictD83vVucAYe1GzgRogBJDyRN0LVab9dFDdmGcVhPOlkqY4kJb7mpvRn6wzUVvRc9cXyJicBwrDaTgix8= + Zhou.Xing@microsoft.com\n", "path": "/home/clitest1/.ssh/authorized_keys"}]}}}}}], + "outputs": {}}, "parameters": {}, "mode": "incremental"}}' headers: Accept: - application/json @@ -5168,29 +5020,29 @@ interactions: Connection: - keep-alive Content-Length: - - '3408' + - '3568' Content-Type: - application/json ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/16.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/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_X22wfzzNKHi01cOowpdYPAO6DlZ6h1bw","name":"vm_deploy_X22wfzzNKHi01cOowpdYPAO6DlZ6h1bw","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14789255756815764399","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-06-09T13:48:55.007979Z","duration":"PT3.2155821S","correlationId":"0826a42a-1054-4ba8-b050-1d5d3f561ecc","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["eastus2"]},{"resourceType":"publicIPAddresses","locations":["eastus2"]},{"resourceType":"networkInterfaces","locations":["eastus2"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus2"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vmFromImageNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vmFromImageNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vmFromImagePublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmFromImagePublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vmFromImageVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vmFromImageVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vmFromImageVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vmFromImageVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vmFromImage","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vmFromImage"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_gV1lz5xETeXBgtslKVaFf5PHnH7LQJwp","name":"vm_deploy_gV1lz5xETeXBgtslKVaFf5PHnH7LQJwp","type":"Microsoft.Resources/deployments","properties":{"templateHash":"17030064816360660632","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-05-25T06:44:11.6790311Z","duration":"PT2.8181708S","correlationId":"729f33a5-f615-4612-8cb3-fb1ea2480197","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["eastus2"]},{"resourceType":"publicIPAddresses","locations":["eastus2"]},{"resourceType":"networkInterfaces","locations":["eastus2"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus2"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vmFromImageNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vmFromImageNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vmFromImagePublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmFromImagePublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vmFromImageVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vmFromImageVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vmFromImageVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vmFromImageVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vmFromImage","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vmFromImage"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_X22wfzzNKHi01cOowpdYPAO6DlZ6h1bw/operationStatuses/08585783603536852370?api-version=2020-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_gV1lz5xETeXBgtslKVaFf5PHnH7LQJwp/operationStatuses/08585796818366167743?api-version=2020-10-01 cache-control: - no-cache content-length: - - '2488' + - '2489' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:48:56 GMT + - Tue, 25 May 2021 06:44:13 GMT expires: - '-1' pragma: @@ -5200,7 +5052,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1190' status: code: 201 message: Created @@ -5218,51 +5070,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585783603536852370?api-version=2020-10-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 13:49:26 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -g -n --image --admin-username --generate-ssh-keys --nsg-rule - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/16.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/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585783603536852370?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585796818366167743?api-version=2020-10-01 response: body: string: '{"status":"Running"}' @@ -5274,7 +5084,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:49:57 GMT + - Tue, 25 May 2021 06:44:43 GMT expires: - '-1' pragma: @@ -5302,9 +5112,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/16.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/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585783603536852370?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585796818366167743?api-version=2020-10-01 response: body: string: '{"status":"Running"}' @@ -5316,7 +5126,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:50:29 GMT + - Tue, 25 May 2021 06:45:14 GMT expires: - '-1' pragma: @@ -5344,51 +5154,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/16.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/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585783603536852370?api-version=2020-10-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 13:50:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -g -n --image --admin-username --generate-ssh-keys --nsg-rule - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585783603536852370?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585796818366167743?api-version=2020-10-01 response: body: string: '{"status":"Succeeded"}' @@ -5400,7 +5168,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:51:29 GMT + - Tue, 25 May 2021 06:45:45 GMT expires: - '-1' pragma: @@ -5428,12 +5196,12 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/16.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/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_X22wfzzNKHi01cOowpdYPAO6DlZ6h1bw","name":"vm_deploy_X22wfzzNKHi01cOowpdYPAO6DlZ6h1bw","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14789255756815764399","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-06-09T13:51:11.1133452Z","duration":"PT2M19.3209483S","correlationId":"0826a42a-1054-4ba8-b050-1d5d3f561ecc","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["eastus2"]},{"resourceType":"publicIPAddresses","locations":["eastus2"]},{"resourceType":"networkInterfaces","locations":["eastus2"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus2"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vmFromImageNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vmFromImageNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vmFromImagePublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmFromImagePublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vmFromImageVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vmFromImageVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vmFromImageVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vmFromImageVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vmFromImage","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vmFromImage"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vmFromImage"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vmFromImageVMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vmFromImageNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vmFromImagePublicIP"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_gV1lz5xETeXBgtslKVaFf5PHnH7LQJwp","name":"vm_deploy_gV1lz5xETeXBgtslKVaFf5PHnH7LQJwp","type":"Microsoft.Resources/deployments","properties":{"templateHash":"17030064816360660632","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-25T06:45:29.5664645Z","duration":"PT1M20.7056042S","correlationId":"729f33a5-f615-4612-8cb3-fb1ea2480197","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["eastus2"]},{"resourceType":"publicIPAddresses","locations":["eastus2"]},{"resourceType":"networkInterfaces","locations":["eastus2"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus2"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vmFromImageNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vmFromImageNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vmFromImagePublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmFromImagePublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vmFromImageVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vmFromImageVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vmFromImageVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vmFromImageVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vmFromImage","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vmFromImage"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vmFromImage"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vmFromImageVMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vmFromImageNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vmFromImagePublicIP"}]}}' headers: cache-control: - no-cache @@ -5442,7 +5210,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:51:30 GMT + - Tue, 25 May 2021 06:45:45 GMT expires: - '-1' pragma: @@ -5470,64 +5238,65 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vmFromImage?$expand=instanceView&api-version=2021-03-01 response: body: string: "{\r\n \"name\": \"vmFromImage\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vmFromImage\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus2\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"a4679f62-1202-4103-bd41-b72dca1170d0\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"5df105bc-2e10-49b6-8de6-203115414ecd\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1\",\r\n \ \"exactVersion\": \"1.1.3\"\r\n },\r\n \"osDisk\": {\r\n - \ \"osType\": \"Linux\",\r\n \"name\": \"vmFromImage_OsDisk_1_c094c82fff7642c8bf30104802ed8c1c\",\r\n + \ \"osType\": \"Linux\",\r\n \"name\": \"vmFromImage_OsDisk_1_43397df0fb324e7792e09062675e696f\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \ \"managedDisk\": {\r\n \"diskEncryptionSet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000005\"\r\n \ },\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vmFromImage_OsDisk_1_c094c82fff7642c8bf30104802ed8c1c\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vmFromImage_OsDisk_1_43397df0fb324e7792e09062675e696f\"\r\n \ },\r\n \"diskSizeGB\": 30,\r\n \"deleteOption\": \"Detach\"\r\n \ },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": 0,\r\n - \ \"name\": \"vmFromImage_lun_0_2_ebd28a6f08184c6ca8a82440eb5c62b9\",\r\n + \ \"name\": \"vmFromImage_lun_0_2_05c9ea08b7294f04bb2d8975ae1cff42\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"None\",\r\n \ \"managedDisk\": {\r\n \"diskEncryptionSet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000005\"\r\n \ },\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vmFromImage_lun_0_2_ebd28a6f08184c6ca8a82440eb5c62b9\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vmFromImage_lun_0_2_05c9ea08b7294f04bb2d8975ae1cff42\"\r\n \ },\r\n \"diskSizeGB\": 10,\r\n \"toBeDetached\": false,\r\n \"deleteOption\": \"Detach\"\r\n }\r\n ]\r\n \ },\r\n \"osProfile\": {\r\n \"computerName\": \"vmFromImage\",\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 AAAAB3NzaC1yc2EAAAADAQABAAABAQC86Jgk+Wp0JneEvsoZMG3PIL/zMJIbuY+r3xakXOZ8thq9gOQVgxSLdwUELhPy1iekWGsoGrvQIMEb22upTPG/9VaulCAVXfZnIetNUlId5DNAxOiyvOMEIqhPuxIOce0KKeGnCMkfPGzXrT3hqg8mSU8xW4cDNKJGikpPLMTX+O8V0QptnO5n7E4vH3zPOWuH9Xf0D2uTc6Z8JUFIljy1LfmvJkAitEsPWBott4k4JtxueODbNB+RaQT/p4FUGcxKMObAgQw0jJWKoZTylQOi0xtOOBKAS19+bXwo8AMOoUOB+8CHDX+3okZI3thHN7C1oL7qm6pfHdgvNrt1sPFl\"\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 },\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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vmFromImageVMNic\"}]},\r\n + \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDUkQ08GKz7v20K0CXEXVnY5prCnEUl+A2KA4Ubg6W76fdqSl4LZneP4MiMOltUAoZsAYbT6D4ja7kxZqGnu7RB0g6Oqv1g0eHYNfLV9XAq4nvDmtSGBXpgBs6Kg1+y+g2j3XOHSCNSG4EJtyzqujt1obt+95UdvbDfb7GC6Dc76gBiFP4AFTdDS5rK0YAct4xH1rFtZKc2ygMUrhm6b57p0QHKAJsc9Jb7PuGh9qvwdg5mOZzZZBKq20fj7FB2pOYGjH6bIUN4Vo0I2t80PHOyMYVkNDLvFagpVs58eCju5d5MYPxV7RKJzOYt5mDfGcYA5INH9+ReXOqRKMzjQmv4sk5PzOafJXvgQvd0vT7WL+NXS/kNzP4buQyhhWWJfhauQWwy9wiiIaCJwAQ1GZnKSGI9ZpYIYGrZsaqLmU8l59ykLictD83vVucAYe1GzgRogBJDyRN0LVab9dFDdmGcVhPOlkqY4kJb7mpvRn6wzUVvRc9cXyJicBwrDaTgix8= + Zhou.Xing@microsoft.com\\n\"\r\n }\r\n ]\r\n },\r\n + \ \"provisionVMAgent\": true,\r\n \"patchSettings\": {\r\n \"patchMode\": + \"ImageDefault\",\r\n \"assessmentMode\": \"ImageDefault\"\r\n }\r\n + \ },\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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vmFromImageVMNic\"}]},\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": \"vmFromImage\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": - \"18.04\",\r\n \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.3.0.2\",\r\n + \"18.04\",\r\n \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.2.54.2\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2021-06-09T13:51:10+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vmFromImage_OsDisk_1_c094c82fff7642c8bf30104802ed8c1c\",\r\n + \"2021-05-25T06:45:41+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vmFromImage_OsDisk_1_43397df0fb324e7792e09062675e696f\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-06-09T13:50:34.891576+00:00\"\r\n + succeeded\",\r\n \"time\": \"2021-05-25T06:44:38.2739499+00:00\"\r\n \ }\r\n ]\r\n },\r\n {\r\n \"name\": - \"vmFromImage_lun_0_2_ebd28a6f08184c6ca8a82440eb5c62b9\",\r\n \"statuses\": + \"vmFromImage_lun_0_2_05c9ea08b7294f04bb2d8975ae1cff42\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-06-09T13:50:34.891576+00:00\"\r\n + succeeded\",\r\n \"time\": \"2021-05-25T06:44:38.2739499+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\": \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-06-09T13:51:03.861385+00:00\"\r\n + succeeded\",\r\n \"time\": \"2021-05-25T06:45:28.009628+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n \ }\r\n ]\r\n }\r\n }\r\n}" @@ -5535,11 +5304,11 @@ interactions: cache-control: - no-cache content-length: - - '5641' + - '5842' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:51:31 GMT + - Tue, 25 May 2021 06:45:46 GMT expires: - '-1' pragma: @@ -5556,7 +5325,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31995 + - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31984 status: code: 200 message: OK @@ -5574,18 +5343,18 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/18.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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vmFromImageVMNic?api-version=2018-01-01 response: body: string: "{\r\n \"name\": \"vmFromImageVMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vmFromImageVMNic\",\r\n - \ \"etag\": \"W/\\\"14bf8bd7-40e4-454c-8241-b9052aeb0803\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"74e8258b-1f01-4e4e-91b4-2aa4185aedfc\\\"\",\r\n \"location\": \"eastus2\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"2629f50a-8413-48e8-9f7c-54b976a9db4d\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"631c450b-d9e3-43e8-a4ef-52011cca0b36\",\r\n \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvmFromImage\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vmFromImageVMNic/ipConfigurations/ipconfigvmFromImage\",\r\n - \ \"etag\": \"W/\\\"14bf8bd7-40e4-454c-8241-b9052aeb0803\\\"\",\r\n + \ \"etag\": \"W/\\\"74e8258b-1f01-4e4e-91b4-2aa4185aedfc\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.5\",\r\n \"privateIPAllocationMethod\": @@ -5594,8 +5363,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\": - \"tjfizsfmgjbedf0w5v4cdovd3b.cx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-22-48-4E-72-D4\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \"f1epnfcca2ruzeogkoiuoju0eh.cx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-7B-BB-89\",\r\n \"enableAcceleratedNetworking\": false,\r\n \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vmFromImageNSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": @@ -5609,9 +5378,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:51:32 GMT + - Tue, 25 May 2021 06:45:47 GMT etag: - - W/"14bf8bd7-40e4-454c-8241-b9052aeb0803" + - W/"74e8258b-1f01-4e4e-91b4-2aa4185aedfc" expires: - '-1' pragma: @@ -5628,7 +5397,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d61c0901-67af-4819-883f-2f0690bb1adf + - fd36f309-8f6c-4bf1-ad14-c6889318e4c8 status: code: 200 message: OK @@ -5646,16 +5415,16 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/18.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/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vmFromImagePublicIP?api-version=2018-01-01 response: body: string: "{\r\n \"name\": \"vmFromImagePublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vmFromImagePublicIP\",\r\n - \ \"etag\": \"W/\\\"be09275e-a9d8-4b8a-a74c-17c33dc8a516\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"942ac8fe-13fb-4021-9d84-ec76bf28f13a\\\"\",\r\n \"location\": \"eastus2\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"95cb23e5-ac50-4273-91e0-d29f3447b0e8\",\r\n - \ \"ipAddress\": \"20.62.104.121\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"50e893e8-421c-49e0-8a23-2f1f362fe0bc\",\r\n + \ \"ipAddress\": \"40.70.208.131\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vmFromImageVMNic/ipConfigurations/ipconfigvmFromImage\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n @@ -5668,9 +5437,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:51:32 GMT + - Tue, 25 May 2021 06:45:48 GMT etag: - - W/"be09275e-a9d8-4b8a-a74c-17c33dc8a516" + - W/"942ac8fe-13fb-4021-9d84-ec76bf28f13a" expires: - '-1' pragma: @@ -5687,7 +5456,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 52efe33c-834e-4dfe-9ca9-6995a3806615 + - b453bd87-11aa-4af4-8bca-c3aac863cf39 status: code: 200 message: OK @@ -5707,7 +5476,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions/1.1.2?api-version=2020-09-30 response: @@ -5715,17 +5484,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/6a8fb3b0-1986-4031-b4b3-ff42d684b11a?api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/10b4cb84-f0cd-4f62-ad19-8b5cd39b332d?api-version=2020-09-30 cache-control: - no-cache content-length: - '0' date: - - Wed, 09 Jun 2021 13:51:33 GMT + - Tue, 25 May 2021 06:45:50 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/6a8fb3b0-1986-4031-b4b3-ff42d684b11a?monitor=true&api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/10b4cb84-f0cd-4f62-ad19-8b5cd39b332d?monitor=true&api-version=2020-09-30 pragma: - no-cache server: @@ -5738,7 +5507,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/DeleteGalleryImageVersion3Min;149,Microsoft.Compute/DeleteGalleryImageVersion30Min;999 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14992' status: code: 202 message: Accepted @@ -5756,13 +5525,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/providers/Microsoft.Compute/locations/eastus2/capsOperations/6a8fb3b0-1986-4031-b4b3-ff42d684b11a?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/10b4cb84-f0cd-4f62-ad19-8b5cd39b332d?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:51:34.3907189+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"6a8fb3b0-1986-4031-b4b3-ff42d684b11a\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:45:49.9956854+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"10b4cb84-f0cd-4f62-ad19-8b5cd39b332d\"\r\n}" headers: cache-control: - no-cache @@ -5771,7 +5540,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:52:35 GMT + - Tue, 25 May 2021 06:46:50 GMT expires: - '-1' pragma: @@ -5788,7 +5557,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1199,Microsoft.Compute/GetOperationStatus30Min;4155 + - Microsoft.Compute/GetOperationStatus3Min;1197,Microsoft.Compute/GetOperationStatus30Min;4157 status: code: 200 message: OK @@ -5806,14 +5575,14 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/providers/Microsoft.Compute/locations/eastus2/capsOperations/6a8fb3b0-1986-4031-b4b3-ff42d684b11a?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/10b4cb84-f0cd-4f62-ad19-8b5cd39b332d?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:51:34.3907189+00:00\",\r\n \"endTime\": - \"2021-06-09T13:53:05.4850393+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"6a8fb3b0-1986-4031-b4b3-ff42d684b11a\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:45:49.9956854+00:00\",\r\n \"endTime\": + \"2021-05-25T06:47:20.9806626+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"10b4cb84-f0cd-4f62-ad19-8b5cd39b332d\"\r\n}" headers: cache-control: - no-cache @@ -5822,7 +5591,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:53:35 GMT + - Tue, 25 May 2021 06:47:50 GMT expires: - '-1' pragma: @@ -5839,7 +5608,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1197,Microsoft.Compute/GetOperationStatus30Min;4153 + - Microsoft.Compute/GetOperationStatus3Min;1197,Microsoft.Compute/GetOperationStatus30Min;4155 status: code: 200 message: OK @@ -5859,7 +5628,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1/versions/1.1.3?api-version=2020-09-30 response: @@ -5867,17 +5636,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/4ba0479e-3981-45fd-9a96-c28e5705314a?api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/100c093f-2320-416b-8a5c-28c161c0ee23?api-version=2020-09-30 cache-control: - no-cache content-length: - '0' date: - - Wed, 09 Jun 2021 13:53:37 GMT + - Tue, 25 May 2021 06:47:52 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/4ba0479e-3981-45fd-9a96-c28e5705314a?monitor=true&api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/100c093f-2320-416b-8a5c-28c161c0ee23?monitor=true&api-version=2020-09-30 pragma: - no-cache server: @@ -5890,7 +5659,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/DeleteGalleryImageVersion3Min;148,Microsoft.Compute/DeleteGalleryImageVersion30Min;998 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14993' status: code: 202 message: Accepted @@ -5908,22 +5677,22 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/providers/Microsoft.Compute/locations/eastus2/capsOperations/4ba0479e-3981-45fd-9a96-c28e5705314a?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/100c093f-2320-416b-8a5c-28c161c0ee23?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:53:37.422659+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"4ba0479e-3981-45fd-9a96-c28e5705314a\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:47:53.1058646+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"100c093f-2320-416b-8a5c-28c161c0ee23\"\r\n}" headers: cache-control: - no-cache content-length: - - '133' + - '134' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:54:38 GMT + - Tue, 25 May 2021 06:49:00 GMT expires: - '-1' pragma: @@ -5940,7 +5709,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4150 + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4152 status: code: 200 message: OK @@ -5958,23 +5727,23 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/providers/Microsoft.Compute/locations/eastus2/capsOperations/4ba0479e-3981-45fd-9a96-c28e5705314a?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/100c093f-2320-416b-8a5c-28c161c0ee23?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:53:37.422659+00:00\",\r\n \"endTime\": - \"2021-06-09T13:55:07.6419692+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"4ba0479e-3981-45fd-9a96-c28e5705314a\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:47:53.1058646+00:00\",\r\n \"endTime\": + \"2021-05-25T06:49:23.3408597+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"100c093f-2320-416b-8a5c-28c161c0ee23\"\r\n}" headers: cache-control: - no-cache content-length: - - '183' + - '184' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:55:38 GMT + - Tue, 25 May 2021 06:50:00 GMT expires: - '-1' pragma: @@ -5991,7 +5760,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4159 + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4158 status: code: 200 message: OK @@ -6011,7 +5780,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002/images/image1?api-version=2020-09-30 response: @@ -6019,17 +5788,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/57ea4d93-81fc-4a49-a79b-9cc5f401485b?api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/7f26c363-12f7-43f5-a6bf-8670ff811301?api-version=2020-09-30 cache-control: - no-cache content-length: - '0' date: - - Wed, 09 Jun 2021 13:56:41 GMT + - Tue, 25 May 2021 06:51:03 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/57ea4d93-81fc-4a49-a79b-9cc5f401485b?monitor=true&api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/7f26c363-12f7-43f5-a6bf-8670ff811301?monitor=true&api-version=2020-09-30 pragma: - no-cache server: @@ -6042,7 +5811,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/DeleteGalleryImage3Min;49,Microsoft.Compute/DeleteGalleryImage30Min;299 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14996' status: code: 202 message: Accepted @@ -6060,14 +5829,14 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/providers/Microsoft.Compute/locations/eastus2/capsOperations/57ea4d93-81fc-4a49-a79b-9cc5f401485b?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/7f26c363-12f7-43f5-a6bf-8670ff811301?api-version=2020-09-30 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:56:41.4862931+00:00\",\r\n \"endTime\": - \"2021-06-09T13:56:41.7206698+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"57ea4d93-81fc-4a49-a79b-9cc5f401485b\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:51:03.8260279+00:00\",\r\n \"endTime\": + \"2021-05-25T06:51:04.0604056+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"7f26c363-12f7-43f5-a6bf-8670ff811301\"\r\n}" headers: cache-control: - no-cache @@ -6076,7 +5845,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:57:11 GMT + - Tue, 25 May 2021 06:51:33 GMT expires: - '-1' pragma: @@ -6093,7 +5862,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4156 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4156 status: code: 200 message: OK @@ -6113,25 +5882,25 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000002?api-version=2019-12-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/c361f211-d53a-464b-9031-4c2c759c617c?api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/8528914a-ea46-4c7a-86da-1e676b5ff8f3?api-version=2019-12-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 09 Jun 2021 13:57:14 GMT + - Tue, 25 May 2021 06:51:35 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/c361f211-d53a-464b-9031-4c2c759c617c?monitor=true&api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/8528914a-ea46-4c7a-86da-1e676b5ff8f3?monitor=true&api-version=2019-12-01 pragma: - no-cache server: @@ -6144,7 +5913,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/DeleteGallery3Min;49,Microsoft.Compute/DeleteGallery30Min;299 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14995' status: code: 202 message: Accepted @@ -6162,14 +5931,14 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/providers/Microsoft.Compute/locations/eastus2/capsOperations/c361f211-d53a-464b-9031-4c2c759c617c?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/8528914a-ea46-4c7a-86da-1e676b5ff8f3?api-version=2019-12-01 response: body: - string: "{\r\n \"startTime\": \"2021-06-09T13:57:13.4864902+00:00\",\r\n \"endTime\": - \"2021-06-09T13:57:14.2833674+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"c361f211-d53a-464b-9031-4c2c759c617c\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-25T06:51:35.6702967+00:00\",\r\n \"endTime\": + \"2021-05-25T06:51:35.7640505+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"8528914a-ea46-4c7a-86da-1e676b5ff8f3\"\r\n}" headers: cache-control: - no-cache @@ -6178,7 +5947,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Jun 2021 13:57:44 GMT + - Tue, 25 May 2021 06:52:05 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_gallery_specialized.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_gallery_specialized.yaml index d9f6abc8e5e..31e19018de0 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_gallery_specialized.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_gallery_specialized.yaml @@ -64,7 +64,7 @@ interactions: User-Agent: - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/galleries/gallery_000002?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/galleries/gallery_000002?api-version=2019-12-01 response: body: string: "{\r\n \"name\": \"gallery_000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/galleries/gallery_000002\",\r\n @@ -168,7 +168,7 @@ interactions: User-Agent: - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/galleries/gallery_000002?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/galleries/gallery_000002?api-version=2019-12-01 response: body: string: "{\r\n \"name\": \"gallery_000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_gallery_specialized_000001/providers/Microsoft.Compute/galleries/gallery_000002\",\r\n diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_build_shared_image.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_build_shared_image.yaml index d4d74d4cd1c..23a484befae 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_build_shared_image.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_build_shared_image.yaml @@ -320,7 +320,7 @@ interactions: User-Agent: - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.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/img_tmpl_sig000001/providers/Microsoft.Compute/galleries/ib_sig000003?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_sig000001/providers/Microsoft.Compute/galleries/ib_sig000003?api-version=2019-12-01 response: body: string: "{\r\n \"name\": \"ib_sig000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_sig000001/providers/Microsoft.Compute/galleries/ib_sig000003\",\r\n @@ -424,7 +424,7 @@ interactions: User-Agent: - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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/img_tmpl_sig000001/providers/Microsoft.Compute/galleries/ib_sig000003?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_sig000001/providers/Microsoft.Compute/galleries/ib_sig000003?api-version=2019-12-01 response: body: string: "{\r\n \"name\": \"ib_sig000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_sig000001/providers/Microsoft.Compute/galleries/ib_sig000003\",\r\n diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_basic_sig.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_basic_sig.yaml index 70a5f840ba2..294f6073662 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_basic_sig.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_basic_sig.yaml @@ -329,7 +329,7 @@ interactions: accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_basic_2000001/providers/Microsoft.Compute/galleries/sig1000003?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_basic_2000001/providers/Microsoft.Compute/galleries/sig1000003?api-version=2019-12-01 response: body: string: "{\r\n \"name\": \"sig1000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_basic_2000001/providers/Microsoft.Compute/galleries/sig1000003\",\r\n @@ -435,7 +435,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 azure-mgmt-compute/13.1.1 Azure-SDK-For-Python AZURECLI/2.13.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_basic_2000001/providers/Microsoft.Compute/galleries/sig1000003?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_basic_2000001/providers/Microsoft.Compute/galleries/sig1000003?api-version=2019-12-01 response: body: string: "{\r\n \"name\": \"sig1000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_basic_2000001/providers/Microsoft.Compute/galleries/sig1000003\",\r\n diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_shared_gallery.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_shared_gallery.yaml deleted file mode 100644 index 58ae9423291..00000000000 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_shared_gallery.yaml +++ /dev/null @@ -1,3722 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - sig create - Connection: - - keep-alive - ParameterSetName: - - -g --gallery-name - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-06-09T09:22:23Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '428' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:22:27 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": "eastus", "tags": {}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - sig create - Connection: - - keep-alive - Content-Length: - - '34' - Content-Type: - - application/json - ParameterSetName: - - -g --gallery-name - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery?api-version=2020-09-30 - response: - body: - string: "{\r\n \"name\": \"cligallery\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery\",\r\n - \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-CLIGALLERY\"\r\n },\r\n \"sharingProfile\": - {\r\n \"permissions\": \"Private\"\r\n },\r\n \"provisioningState\": - \"Creating\"\r\n }\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/4077dd18-8985-449f-91d9-3a9bc4534189?api-version=2020-09-30 - cache-control: - - no-cache - content-length: - - '541' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:22:35 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: - - '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 - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/4077dd18-8985-449f-91d9-3a9bc4534189?api-version=2020-09-30 - response: - body: - string: "{\r\n \"startTime\": \"2021-06-09T09:22:33.4638171+00:00\",\r\n \"endTime\": - \"2021-06-09T09:22:33.6825695+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"4077dd18-8985-449f-91d9-3a9bc4534189\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '184' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:23: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;1198,Microsoft.Compute/GetOperationStatus30Min;4165 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - sig create - Connection: - - keep-alive - ParameterSetName: - - -g --gallery-name - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery?api-version=2020-09-30 - response: - body: - string: "{\r\n \"name\": \"cligallery\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery\",\r\n - \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-CLIGALLERY\"\r\n },\r\n \"provisioningState\": - \"Succeeded\"\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '477' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:23: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/GetGallery3Min;346,Microsoft.Compute/GetGallery30Min;2481 - 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 -p -f -s - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-06-09T09:22:23Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '428' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:23:07 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": "eastus", "tags": {}, "properties": {"osType": "Linux", "osState": - "Generalized", "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 -p -f -s - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery/images/image1?api-version=2020-09-30 - response: - body: - string: "{\r\n \"name\": \"image1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery/images/image1\",\r\n - \ \"type\": \"Microsoft.Compute/galleries/images\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n - \ \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"identifier\": - {\r\n \"publisher\": \"publisher1\",\r\n \"offer\": \"offer1\",\r\n - \ \"sku\": \"sku1\"\r\n },\r\n \"provisioningState\": \"Creating\"\r\n - \ }\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/b1608f1d-a3c3-4cb2-b92e-017a0cfe364e?api-version=2020-09-30 - cache-control: - - no-cache - content-length: - - '589' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:23: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/CreateUpdateGalleryImage3Min;149,Microsoft.Compute/CreateUpdateGalleryImage30Min;749 - 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 -p -f -s - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/b1608f1d-a3c3-4cb2-b92e-017a0cfe364e?api-version=2020-09-30 - response: - body: - string: "{\r\n \"startTime\": \"2021-06-09T09:23:13.3702697+00:00\",\r\n \"endTime\": - \"2021-06-09T09:23:13.4640192+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"b1608f1d-a3c3-4cb2-b92e-017a0cfe364e\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '184' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:23: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;1196,Microsoft.Compute/GetOperationStatus30Min;4163 - 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 -p -f -s - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery/images/image1?api-version=2020-09-30 - response: - body: - string: "{\r\n \"name\": \"image1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery/images/image1\",\r\n - \ \"type\": \"Microsoft.Compute/galleries/images\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n - \ \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"identifier\": - {\r\n \"publisher\": \"publisher1\",\r\n \"offer\": \"offer1\",\r\n - \ \"sku\": \"sku1\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n - \ }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '590' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:23: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/GetGalleryImage3Min;595,Microsoft.Compute/GetGalleryImage30Min;2989 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - sig image-definition show - Connection: - - keep-alive - ParameterSetName: - - -g --gallery-name --gallery-image-definition - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery/images/image1?api-version=2020-09-30 - response: - body: - string: "{\r\n \"name\": \"image1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery/images/image1\",\r\n - \ \"type\": \"Microsoft.Compute/galleries/images\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n - \ \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"identifier\": - {\r\n \"publisher\": \"publisher1\",\r\n \"offer\": \"offer1\",\r\n - \ \"sku\": \"sku1\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n - \ }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '590' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:23:48 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;594,Microsoft.Compute/GetGalleryImage30Min;2988 - 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.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-06-09T09:22:23Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '428' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:23:48 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.25.1 - method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json - response: - body: - string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n - \ \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\": - {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"type\": - \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": - {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n - \ \"sku\": \"7.5\",\n \"version\": \"latest\"\n },\n - \ \"CoreOS\": {\n \"publisher\": \"CoreOS\",\n \"offer\": - \"CoreOS\",\n \"sku\": \"Stable\",\n \"version\": \"latest\"\n - \ },\n \"Debian\": {\n \"publisher\": \"Debian\",\n - \ \"offer\": \"debian-10\",\n \"sku\": \"10\",\n \"version\": - \"latest\"\n },\n \"openSUSE-Leap\": {\n \"publisher\": - \"SUSE\",\n \"offer\": \"openSUSE-Leap\",\n \"sku\": - \"42.3\",\n \"version\": \"latest\"\n },\n \"RHEL\": - {\n \"publisher\": \"RedHat\",\n \"offer\": \"RHEL\",\n - \ \"sku\": \"7-LVM\",\n \"version\": \"latest\"\n },\n - \ \"SLES\": {\n \"publisher\": \"SUSE\",\n \"offer\": - \"SLES\",\n \"sku\": \"15\",\n \"version\": \"latest\"\n - \ },\n \"UbuntuLTS\": {\n \"publisher\": \"Canonical\",\n - \ \"offer\": \"UbuntuServer\",\n \"sku\": \"18.04-LTS\",\n - \ \"version\": \"latest\"\n }\n },\n \"Windows\": - {\n \"Win2019Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n - \ \"offer\": \"WindowsServer\",\n \"sku\": \"2019-Datacenter\",\n - \ \"version\": \"latest\"\n },\n \"Win2016Datacenter\": - {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": - \"WindowsServer\",\n \"sku\": \"2016-Datacenter\",\n \"version\": - \"latest\"\n },\n \"Win2012R2Datacenter\": {\n \"publisher\": - \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": - \"2012-R2-Datacenter\",\n \"version\": \"latest\"\n },\n - \ \"Win2012Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n - \ \"offer\": \"WindowsServer\",\n \"sku\": \"2012-Datacenter\",\n - \ \"version\": \"latest\"\n },\n \"Win2008R2SP1\": - {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": - \"WindowsServer\",\n \"sku\": \"2008-R2-SP1\",\n \"version\": - \"latest\"\n }\n }\n }\n }\n }\n}\n" - headers: - accept-ranges: - - bytes - access-control-allow-origin: - - '*' - cache-control: - - max-age=300 - connection: - - keep-alive - content-length: - - '2501' - content-security-policy: - - default-src 'none'; style-src 'unsafe-inline'; sandbox - content-type: - - text/plain; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:23:48 GMT - etag: - - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" - expires: - - Wed, 09 Jun 2021 09:28:48 GMT - source-age: - - '139' - strict-transport-security: - - max-age=31536000 - vary: - - Authorization,Accept-Encoding - via: - - 1.1 varnish - x-cache: - - HIT - x-cache-hits: - - '1' - x-content-type-options: - - nosniff - x-fastly-request-id: - - ca4282686a48303ebca947c45813a56f8079dcf2 - x-frame-options: - - deny - x-github-request-id: - - FFD8:4261:5D64D:74BE4:60C01213 - x-served-by: - - cache-qpg1225-QPG - x-timer: - - S1623230629.826492,VS0,VE0 - x-xss-protection: - - 1; mode=block - 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.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 - response: - body: - string: '{"value":[]}' - headers: - cache-control: - - no-cache - content-length: - - '12' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:23:48 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: '{"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": - "eastus", "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": "eastus", "tags": - {}, "dependsOn": []}, {"apiVersion": "2018-01-01", "type": "Microsoft.Network/publicIPAddresses", - "name": "vm1PublicIP", "location": "eastus", "tags": {}, "dependsOn": [], "properties": - {"publicIPAllocationMethod": null}}, {"apiVersion": "2015-06-15", "type": "Microsoft.Network/networkInterfaces", - "name": "vm1VMNic", "location": "eastus", "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/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet"}, - "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"}}}], - "networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"}}}, - {"apiVersion": "2021-03-01", "type": "Microsoft.Compute/virtualMachines", "name": - "vm1", "location": "eastus", "tags": {}, "dependsOn": ["Microsoft.Network/networkInterfaces/vm1VMNic"], - "properties": {"hardwareProfile": {"vmSize": "Standard_DS1_v2"}, "networkProfile": - {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/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, "deleteOption": - null}]}, "osProfile": {"computerName": "vm1", "adminUsername": "clitest1", "linuxConfiguration": - {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQC86Jgk+Wp0JneEvsoZMG3PIL/zMJIbuY+r3xakXOZ8thq9gOQVgxSLdwUELhPy1iekWGsoGrvQIMEb22upTPG/9VaulCAVXfZnIetNUlId5DNAxOiyvOMEIqhPuxIOce0KKeGnCMkfPGzXrT3hqg8mSU8xW4cDNKJGikpPLMTX+O8V0QptnO5n7E4vH3zPOWuH9Xf0D2uTc6Z8JUFIljy1LfmvJkAitEsPWBott4k4JtxueODbNB+RaQT/p4FUGcxKMObAgQw0jJWKoZTylQOi0xtOOBKAS19+bXwo8AMOoUOB+8CHDX+3okZI3thHN7C1oL7qm6pfHdgvNrt1sPFl", - "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: - - '3555' - Content-Type: - - application/json - ParameterSetName: - - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_fUOMh4E1Vf20jkjpJq6pO7a2Crs95xQQ","name":"vm_deploy_fUOMh4E1Vf20jkjpJq6pO7a2Crs95xQQ","type":"Microsoft.Resources/deployments","properties":{"templateHash":"13129365487070058769","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-06-09T09:23:54.1034987Z","duration":"PT3.0114402S","correlationId":"aad45d58-32b6-444a-bd06-5ee02eb71cbe","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_fUOMh4E1Vf20jkjpJq6pO7a2Crs95xQQ/operationStatuses/08585783762543855747?api-version=2020-10-01 - cache-control: - - no-cache - content-length: - - '2743' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:23:55 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - 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.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585783762543855747?api-version=2020-10-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:24:25 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585783762543855747?api-version=2020-10-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:24:56 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585783762543855747?api-version=2020-10-01 - response: - body: - string: '{"status":"Succeeded"}' - headers: - cache-control: - - no-cache - content-length: - - '22' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:25:27 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_fUOMh4E1Vf20jkjpJq6pO7a2Crs95xQQ","name":"vm_deploy_fUOMh4E1Vf20jkjpJq6pO7a2Crs95xQQ","type":"Microsoft.Resources/deployments","properties":{"templateHash":"13129365487070058769","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-06-09T09:25:11.0090818Z","duration":"PT1M19.9170233S","correlationId":"aad45d58-32b6-444a-bd06-5ee02eb71cbe","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}' - headers: - cache-control: - - no-cache - content-length: - - '3810' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:25:27 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1?$expand=instanceView&api-version=2021-03-01 - response: - body: - string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n - \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"355dc2bb-da85-41ad-87eb-d427406883b5\",\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.202105120\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm1_disk1_bd7dfd91136742f883c47bd4c29f7dee\",\r\n - \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n - \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk1_bd7dfd91136742f883c47bd4c29f7dee\"\r\n - \ },\r\n \"diskSizeGB\": 30,\r\n \"deleteOption\": \"Detach\"\r\n - \ },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": 0,\r\n - \ \"name\": \"vm1_disk2_e5cdc6d08d4440b08b6abb5c7727c365\",\r\n \"createOption\": - \"Empty\",\r\n \"caching\": \"None\",\r\n \"managedDisk\": - {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk2_e5cdc6d08d4440b08b6abb5c7727c365\"\r\n - \ },\r\n \"diskSizeGB\": 10,\r\n \"toBeDetached\": - false,\r\n \"deleteOption\": \"Detach\"\r\n }\r\n ]\r\n - \ },\r\n \"osProfile\": {\r\n \"computerName\": \"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 AAAAB3NzaC1yc2EAAAADAQABAAABAQC86Jgk+Wp0JneEvsoZMG3PIL/zMJIbuY+r3xakXOZ8thq9gOQVgxSLdwUELhPy1iekWGsoGrvQIMEb22upTPG/9VaulCAVXfZnIetNUlId5DNAxOiyvOMEIqhPuxIOce0KKeGnCMkfPGzXrT3hqg8mSU8xW4cDNKJGikpPLMTX+O8V0QptnO5n7E4vH3zPOWuH9Xf0D2uTc6Z8JUFIljy1LfmvJkAitEsPWBott4k4JtxueODbNB+RaQT/p4FUGcxKMObAgQw0jJWKoZTylQOi0xtOOBKAS19+bXwo8AMOoUOB+8CHDX+3okZI3thHN7C1oL7qm6pfHdgvNrt1sPFl\"\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 },\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/clitest.rg000001/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.3.0.2\",\r\n \"statuses\": - [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n - \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n - \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2021-06-09T09:25:16+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_bd7dfd91136742f883c47bd4c29f7dee\",\r\n - \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n - \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-06-09T09:24:50.1320833+00:00\"\r\n - \ }\r\n ]\r\n },\r\n {\r\n \"name\": - \"vm1_disk2_e5cdc6d08d4440b08b6abb5c7727c365\",\r\n \"statuses\": - [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n - \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-06-09T09:24:50.1320833+00:00\"\r\n - \ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\": - \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n - \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-06-09T09:25:06.2884406+00:00\"\r\n - \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n - \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n - \ }\r\n ]\r\n }\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '4874' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:25: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/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31992 - 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.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic?api-version=2018-01-01 - response: - body: - string: "{\r\n \"name\": \"vm1VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\",\r\n - \ \"etag\": \"W/\\\"168bfb7a-fc52-4fa1-b3c1-663cdc3179d9\\\"\",\r\n \"location\": - \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"0d824d96-447d-4b52-b029-08fe67604525\",\r\n - \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm1\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\",\r\n - \ \"etag\": \"W/\\\"168bfb7a-fc52-4fa1-b3c1-663cdc3179d9\\\"\",\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/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\"\r\n - \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/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\": - \"cq50dtorb2lezfbkanyholkqzg.bx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-0D-3A-8D-EC-49\",\r\n \"enableAcceleratedNetworking\": false,\r\n - \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG\"\r\n - \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n - \ }\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '2568' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:25:28 GMT - etag: - - W/"168bfb7a-fc52-4fa1-b3c1-663cdc3179d9" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - d6f56de8-b457-44e6-bfd9-a70d35d1952a - 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.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP?api-version=2018-01-01 - response: - body: - string: "{\r\n \"name\": \"vm1PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\",\r\n - \ \"etag\": \"W/\\\"7f89e077-b438-4067-9fdd-d27e198d67f2\\\"\",\r\n \"location\": - \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"8cda1033-1820-48fc-815c-dd1fba67c803\",\r\n - \ \"ipAddress\": \"40.88.7.43\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n - \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": - 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/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: - - '994' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:25:29 GMT - etag: - - W/"7f89e077-b438-4067-9fdd-d27e198d67f2" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 4faf457b-805f-4a9a-bb70-87b35f10c0b0 - status: - code: 200 - message: OK -- request: - body: '{"commandId": "RunShellScript", "script": ["echo ''sudo waagent -deprovision+user - --force'' | at -M now + 1 minutes"], "parameters": []}' - headers: - Accept: - - application/json, text/json - Accept-Encoding: - - gzip, deflate - CommandName: - - vm run-command invoke - Connection: - - keep-alive - Content-Length: - - '134' - Content-Type: - - application/json - ParameterSetName: - - -g -n --command-id --scripts - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1/runCommand?api-version=2021-03-01 - response: - body: - string: '' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/8269717a-1aad-4d73-91a3-ccda9795c7dc?api-version=2021-03-01 - cache-control: - - no-cache - content-length: - - '0' - date: - - Wed, 09 Jun 2021 09:25:30 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/8269717a-1aad-4d73-91a3-ccda9795c7dc?monitor=true&api-version=2021-03-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/UpdateVM3Min;239,Microsoft.Compute/UpdateVM30Min;1199 - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vm run-command invoke - Connection: - - keep-alive - ParameterSetName: - - -g -n --command-id --scripts - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/8269717a-1aad-4d73-91a3-ccda9795c7dc?api-version=2021-03-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-06-09T09:25:30.8823514+00:00\",\r\n \"endTime\": - \"2021-06-09T09:25:50.8511588+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"properties\": {\r\n \"output\": {\r\n \"value\": [\r\n {\r\n \"code\": - \"ProvisioningState/succeeded\",\r\n \"level\": \"Info\",\r\n \"displayStatus\": - \"Provisioning succeeded\",\r\n \"message\": \"Enable succeeded: \\n[stdout]\\n\\n[stderr]\\nwarning: - commands will be executed using /bin/sh\\njob 1 at Wed Jun 9 09:26:00 2021\\n\"\r\n - \ }\r\n ]\r\n}\r\n },\r\n \"name\": \"8269717a-1aad-4d73-91a3-ccda9795c7dc\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '530' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:26:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29994 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vm run-command invoke - Connection: - - keep-alive - ParameterSetName: - - -g -n --command-id --scripts - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/8269717a-1aad-4d73-91a3-ccda9795c7dc?monitor=true&api-version=2021-03-01 - response: - body: - string: '{"value":[{"code":"ProvisioningState/succeeded","level":"Info","displayStatus":"Provisioning - succeeded","message":"Enable succeeded: \n[stdout]\n\n[stderr]\nwarning: commands - will be executed using /bin/sh\njob 1 at Wed Jun 9 09:26:00 2021\n"}]}' - headers: - cache-control: - - no-cache - content-length: - - '246' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:26:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14995,Microsoft.Compute/GetOperation30Min;29993 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vm deallocate - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1/deallocate?api-version=2021-03-01 - response: - body: - string: '' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/bb250246-045f-4c6a-aee5-acf27e29cf7a?api-version=2021-03-01 - cache-control: - - no-cache - content-length: - - '0' - date: - - Wed, 09 Jun 2021 09:27:13 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/bb250246-045f-4c6a-aee5-acf27e29cf7a?monitor=true&api-version=2021-03-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/DeleteVM3Min;239,Microsoft.Compute/DeleteVM30Min;1198 - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vm deallocate - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/bb250246-045f-4c6a-aee5-acf27e29cf7a?api-version=2021-03-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-06-09T09:27:14.6953775+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"bb250246-045f-4c6a-aee5-acf27e29cf7a\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:27: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/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29991 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vm deallocate - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/bb250246-045f-4c6a-aee5-acf27e29cf7a?api-version=2021-03-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-06-09T09:27:14.6953775+00:00\",\r\n \"endTime\": - \"2021-06-09T09:27:50.6799138+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"bb250246-045f-4c6a-aee5-acf27e29cf7a\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '184' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:28: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/GetOperation3Min;14991,Microsoft.Compute/GetOperation30Min;29987 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vm deallocate - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/bb250246-045f-4c6a-aee5-acf27e29cf7a?monitor=true&api-version=2021-03-01 - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Wed, 09 Jun 2021 09:28:01 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/GetOperation3Min;14990,Microsoft.Compute/GetOperation30Min;29986 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vm generalize - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1/generalize?api-version=2021-03-01 - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Wed, 09 Jun 2021 09:28: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/UpdateVM3Min;238,Microsoft.Compute/UpdateVM30Min;1198 - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - image create - Connection: - - keep-alive - ParameterSetName: - - -g -n --source - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1?api-version=2021-03-01 - response: - body: - string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n - \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"355dc2bb-da85-41ad-87eb-d427406883b5\",\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.202105120\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm1_disk1_bd7dfd91136742f883c47bd4c29f7dee\",\r\n - \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n - \ \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk1_bd7dfd91136742f883c47bd4c29f7dee\"\r\n - \ },\r\n \"deleteOption\": \"Detach\"\r\n },\r\n \"dataDisks\": - [\r\n {\r\n \"lun\": 0,\r\n \"name\": \"vm1_disk2_e5cdc6d08d4440b08b6abb5c7727c365\",\r\n - \ \"createOption\": \"Empty\",\r\n \"caching\": \"None\",\r\n - \ \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk2_e5cdc6d08d4440b08b6abb5c7727c365\"\r\n - \ },\r\n \"toBeDetached\": false,\r\n \"deleteOption\": - \"Detach\"\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 - AAAAB3NzaC1yc2EAAAADAQABAAABAQC86Jgk+Wp0JneEvsoZMG3PIL/zMJIbuY+r3xakXOZ8thq9gOQVgxSLdwUELhPy1iekWGsoGrvQIMEb22upTPG/9VaulCAVXfZnIetNUlId5DNAxOiyvOMEIqhPuxIOce0KKeGnCMkfPGzXrT3hqg8mSU8xW4cDNKJGikpPLMTX+O8V0QptnO5n7E4vH3zPOWuH9Xf0D2uTc6Z8JUFIljy1LfmvJkAitEsPWBott4k4JtxueODbNB+RaQT/p4FUGcxKMObAgQw0jJWKoZTylQOi0xtOOBKAS19+bXwo8AMOoUOB+8CHDX+3okZI3thHN7C1oL7qm6pfHdgvNrt1sPFl\"\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 },\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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"}]},\r\n - \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '3071' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:28:02 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;3998,Microsoft.Compute/LowCostGet30Min;31991 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - image create - Connection: - - keep-alive - ParameterSetName: - - -g -n --source - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-06-09T09:22:23Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '428' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:28:03 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": "eastus", "tags": {}, "properties": {"sourceVirtualMachine": - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1"}, - "hyperVGeneration": "V1"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - image create - Connection: - - keep-alive - Content-Length: - - '302' - Content-Type: - - application/json - ParameterSetName: - - -g -n --source - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1?api-version=2021-03-01 - response: - body: - string: "{\r\n \"name\": \"managedImage1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1\",\r\n - \ \"type\": \"Microsoft.Compute/images\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"sourceVirtualMachine\": {\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n - \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"managedDisk\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk1_bd7dfd91136742f883c47bd4c29f7dee\"\r\n - \ },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": - \"Premium_LRS\"\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": - 0,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk2_e5cdc6d08d4440b08b6abb5c7727c365\"\r\n - \ },\r\n \"caching\": \"None\",\r\n \"storageAccountType\": - \"Premium_LRS\"\r\n }\r\n ]\r\n },\r\n \"provisioningState\": - \"Creating\",\r\n \"hyperVGeneration\": \"V1\"\r\n }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/483b932e-36f5-43cc-b7f7-1c6128fd9762?api-version=2021-03-01 - cache-control: - - no-cache - content-length: - - '1566' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:28:10 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/CreateImages3Min;39,Microsoft.Compute/CreateImages30Min;199 - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - image create - Connection: - - keep-alive - ParameterSetName: - - -g -n --source - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/483b932e-36f5-43cc-b7f7-1c6128fd9762?api-version=2021-03-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-06-09T09:28:09.6331298+00:00\",\r\n \"endTime\": - \"2021-06-09T09:28:14.7269404+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"483b932e-36f5-43cc-b7f7-1c6128fd9762\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '184' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:28:41 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;14989,Microsoft.Compute/GetOperation30Min;29984 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - image create - Connection: - - keep-alive - ParameterSetName: - - -g -n --source - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1?api-version=2021-03-01 - response: - body: - string: "{\r\n \"name\": \"managedImage1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1\",\r\n - \ \"type\": \"Microsoft.Compute/images\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"sourceVirtualMachine\": {\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n - \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": - 30,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk1_bd7dfd91136742f883c47bd4c29f7dee\"\r\n - \ },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": - \"Premium_LRS\"\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": - 0,\r\n \"diskSizeGB\": 10,\r\n \"managedDisk\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk2_e5cdc6d08d4440b08b6abb5c7727c365\"\r\n - \ },\r\n \"caching\": \"None\",\r\n \"storageAccountType\": - \"Premium_LRS\"\r\n }\r\n ]\r\n },\r\n \"provisioningState\": - \"Succeeded\",\r\n \"hyperVGeneration\": \"V1\"\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1623' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:28:41 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/GetImages3Min;358,Microsoft.Compute/GetImages30Min;1795 - 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 --managed-image - --replica-count - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-06-09T09:22:23Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '428' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:28:42 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "tags": {}, "properties": {"publishingProfile": - {"targetRegions": [{"name": "eastus"}], "replicaCount": 1}, "storageProfile": - {"source": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1"}}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - sig image-version create - Connection: - - keep-alive - Content-Length: - - '364' - Content-Type: - - application/json - ParameterSetName: - - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image - --replica-count - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery/images/image1/versions/1.1.2?api-version=2020-09-30 - response: - body: - string: "{\r\n \"name\": \"1.1.2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery/images/image1/versions/1.1.2\",\r\n - \ \"type\": \"Microsoft.Compute/galleries/images/versions\",\r\n \"location\": - \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"publishingProfile\": - {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"East - US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": - \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2021-06-09T09:28:48.6848295+00:00\",\r\n - \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": - {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1\"\r\n - \ }\r\n },\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/4122016e-3016-433d-b863-bdb2f57bdbd4?api-version=2020-09-30 - cache-control: - - no-cache - content-length: - - '1062' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:28:49 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: - - '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 --managed-image - --replica-count - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/4122016e-3016-433d-b863-bdb2f57bdbd4?api-version=2020-09-30 - response: - body: - string: "{\r\n \"startTime\": \"2021-06-09T09:28:48.6691938+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"4122016e-3016-433d-b863-bdb2f57bdbd4\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:29:50 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;4163 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - sig image-version create - Connection: - - keep-alive - ParameterSetName: - - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image - --replica-count - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/4122016e-3016-433d-b863-bdb2f57bdbd4?api-version=2020-09-30 - response: - body: - string: "{\r\n \"startTime\": \"2021-06-09T09:28:48.6691938+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"4122016e-3016-433d-b863-bdb2f57bdbd4\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:30:52 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;1197,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 --managed-image - --replica-count - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/4122016e-3016-433d-b863-bdb2f57bdbd4?api-version=2020-09-30 - response: - body: - string: "{\r\n \"startTime\": \"2021-06-09T09:28:48.6691938+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"4122016e-3016-433d-b863-bdb2f57bdbd4\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:31:52 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 --managed-image - --replica-count - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/4122016e-3016-433d-b863-bdb2f57bdbd4?api-version=2020-09-30 - response: - body: - string: "{\r\n \"startTime\": \"2021-06-09T09:28:48.6691938+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"4122016e-3016-433d-b863-bdb2f57bdbd4\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:32:53 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 --managed-image - --replica-count - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/4122016e-3016-433d-b863-bdb2f57bdbd4?api-version=2020-09-30 - response: - body: - string: "{\r\n \"startTime\": \"2021-06-09T09:28:48.6691938+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"4122016e-3016-433d-b863-bdb2f57bdbd4\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:33:53 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 --managed-image - --replica-count - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/4122016e-3016-433d-b863-bdb2f57bdbd4?api-version=2020-09-30 - response: - body: - string: "{\r\n \"startTime\": \"2021-06-09T09:28:48.6691938+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"4122016e-3016-433d-b863-bdb2f57bdbd4\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:34:53 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 --managed-image - --replica-count - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/4122016e-3016-433d-b863-bdb2f57bdbd4?api-version=2020-09-30 - response: - body: - string: "{\r\n \"startTime\": \"2021-06-09T09:28:48.6691938+00:00\",\r\n \"endTime\": - \"2021-06-09T09:35:37.4681543+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"4122016e-3016-433d-b863-bdb2f57bdbd4\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '184' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:35: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/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4174 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - sig image-version create - Connection: - - keep-alive - ParameterSetName: - - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image - --replica-count - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery/images/image1/versions/1.1.2?api-version=2020-09-30 - response: - body: - string: "{\r\n \"name\": \"1.1.2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery/images/image1/versions/1.1.2\",\r\n - \ \"type\": \"Microsoft.Compute/galleries/images/versions\",\r\n \"location\": - \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"publishingProfile\": - {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"East - US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": - \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2021-06-09T09:28:48.6848295+00:00\",\r\n - \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": - {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/images/managedImage1\"\r\n - \ },\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 30,\r\n \"hostCaching\": - \"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: - - '1321' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:35:55 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;1999,Microsoft.Compute/GetGalleryImageVersion30Min;9994 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - sig update - Connection: - - keep-alive - ParameterSetName: - - --gallery-name --resource-group --permissions - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery?api-version=2020-09-30 - response: - body: - string: "{\r\n \"name\": \"cligallery\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery\",\r\n - \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-CLIGALLERY\"\r\n },\r\n \"provisioningState\": - \"Succeeded\"\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '477' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:35:56 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;349,Microsoft.Compute/GetGallery30Min;2488 - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "tags": {}, "properties": {"identifier": {}, "sharingProfile": - {"permissions": "Groups"}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - sig update - Connection: - - keep-alive - Content-Length: - - '113' - Content-Type: - - application/json - ParameterSetName: - - --gallery-name --resource-group --permissions - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery?api-version=2020-09-30 - response: - body: - string: "{\r\n \"name\": \"cligallery\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery\",\r\n - \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-CLIGALLERY\"\r\n },\r\n \"sharingProfile\": - {\r\n \"permissions\": \"Groups\"\r\n },\r\n \"provisioningState\": - \"Succeeded\"\r\n }\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/9cc6e1b3-a2e7-47f2-b3c4-2a02bab9a50b?api-version=2020-09-30 - cache-control: - - no-cache - content-length: - - '541' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:35:57 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/CreateUpdateGallery3Min;49,Microsoft.Compute/CreateUpdateGallery30Min;298 - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - sig update - Connection: - - keep-alive - ParameterSetName: - - --gallery-name --resource-group --permissions - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/9cc6e1b3-a2e7-47f2-b3c4-2a02bab9a50b?api-version=2020-09-30 - response: - body: - string: "{\r\n \"startTime\": \"2021-06-09T09:35:58.1556902+00:00\",\r\n \"endTime\": - \"2021-06-09T09:35:58.2025446+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"9cc6e1b3-a2e7-47f2-b3c4-2a02bab9a50b\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '184' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:36: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;1193,Microsoft.Compute/GetOperationStatus30Min;4172 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - sig update - Connection: - - keep-alive - ParameterSetName: - - --gallery-name --resource-group --permissions - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery?api-version=2020-09-30 - response: - body: - string: "{\r\n \"name\": \"cligallery\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery\",\r\n - \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-CLIGALLERY\"\r\n },\r\n \"provisioningState\": - \"Succeeded\"\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '477' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:36: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/GetGallery3Min;347,Microsoft.Compute/GetGallery30Min;2486 - 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.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery?api-version=2020-09-30&$select=Permissions - response: - body: - string: "{\r\n \"name\": \"cligallery\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery\",\r\n - \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-CLIGALLERY\"\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: - - '541' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:36:30 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;346,Microsoft.Compute/GetGallery30Min;2485 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - sig update - Connection: - - keep-alive - ParameterSetName: - - --gallery-name --resource-group --permissions --permissions - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery?api-version=2020-09-30 - response: - body: - string: "{\r\n \"name\": \"cligallery\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery\",\r\n - \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-CLIGALLERY\"\r\n },\r\n \"provisioningState\": - \"Succeeded\"\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '477' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:36:30 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;345,Microsoft.Compute/GetGallery30Min;2484 - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "tags": {}, "properties": {"identifier": {}, "sharingProfile": - {"permissions": "Groups"}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - sig update - Connection: - - keep-alive - Content-Length: - - '113' - Content-Type: - - application/json - ParameterSetName: - - --gallery-name --resource-group --permissions --permissions - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery?api-version=2020-09-30 - response: - body: - string: "{\r\n \"name\": \"cligallery\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery\",\r\n - \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-CLIGALLERY\"\r\n },\r\n \"sharingProfile\": - {\r\n \"permissions\": \"Groups\"\r\n },\r\n \"provisioningState\": - \"Succeeded\"\r\n }\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/06113313-ada5-4253-9b28-68f2bb1ef97a?api-version=2020-09-30 - cache-control: - - no-cache - content-length: - - '541' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:36:31 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/CreateUpdateGallery3Min;48,Microsoft.Compute/CreateUpdateGallery30Min;297 - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - sig update - Connection: - - keep-alive - ParameterSetName: - - --gallery-name --resource-group --permissions --permissions - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/06113313-ada5-4253-9b28-68f2bb1ef97a?api-version=2020-09-30 - response: - body: - string: "{\r\n \"startTime\": \"2021-06-09T09:36:31.5310022+00:00\",\r\n \"endTime\": - \"2021-06-09T09:36:31.5778778+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"06113313-ada5-4253-9b28-68f2bb1ef97a\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '184' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:37: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/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4171 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - sig update - Connection: - - keep-alive - ParameterSetName: - - --gallery-name --resource-group --permissions --permissions - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery?api-version=2020-09-30 - response: - body: - string: "{\r\n \"name\": \"cligallery\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery\",\r\n - \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-CLIGALLERY\"\r\n },\r\n \"provisioningState\": - \"Succeeded\"\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '477' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:37: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;343,Microsoft.Compute/GetGallery30Min;2482 - status: - code: 200 - message: OK -- request: - body: '{"operationType": "Add", "groups": [{"type": "Subscriptions", "ids": ["0b1f6471-1bf0-4dda-aec3-cb9272f09590", - "34a4ab42-0d72-47d9-bd1a-aed207386dac"]}, {"type": "AADTenants", "ids": ["2f4a9838-26b7-47ee-be60-ccc1fdec5953"]}]}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - sig share add - Connection: - - keep-alive - Content-Length: - - '225' - Content-Type: - - application/json - ParameterSetName: - - --gallery-name -g --subscription-ids --tenant-ids - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery/share?api-version=2020-09-30 - response: - body: - string: '' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/7f794e92-c1fa-40ae-bc49-0e517794cd02?api-version=2020-09-30 - cache-control: - - no-cache - content-length: - - '0' - date: - - Wed, 09 Jun 2021 09:37:02 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/7f794e92-c1fa-40ae-bc49-0e517794cd02?monitor=true&api-version=2020-09-30 - 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;57 - 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.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/7f794e92-c1fa-40ae-bc49-0e517794cd02?api-version=2020-09-30 - response: - body: - string: "{\r\n \"startTime\": \"2021-06-09T09:37:02.9061786+00:00\",\r\n \"endTime\": - \"2021-06-09T09:37:04.2655844+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"7f794e92-c1fa-40ae-bc49-0e517794cd02\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '184' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:37:32 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;4169 - 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.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/7f794e92-c1fa-40ae-bc49-0e517794cd02?monitor=true&api-version=2020-09-30 - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Wed, 09 Jun 2021 09:37:33 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;4168 - 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.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery?api-version=2020-09-30&$select=Permissions - response: - body: - string: "{\r\n \"name\": \"cligallery\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery\",\r\n - \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-CLIGALLERY\"\r\n },\r\n \"sharingProfile\": - {\r\n \"permissions\": \"Groups\",\r\n \"groups\": [\r\n {\r\n - \ \"type\": \"Subscriptions\",\r\n \"ids\": [\r\n \"0b1f6471-1bf0-4dda-aec3-cb9272f09590\",\r\n - \ \"34a4ab42-0d72-47d9-bd1a-aed207386dac\"\r\n ]\r\n },\r\n - \ {\r\n \"type\": \"AADTenants\",\r\n \"ids\": [\r\n - \ \"2f4a9838-26b7-47ee-be60-ccc1fdec5953\"\r\n ]\r\n }\r\n - \ ]\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '907' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:37:33 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;342,Microsoft.Compute/GetGallery30Min;2481 - status: - code: 200 - message: OK -- request: - body: '{"operationType": "Remove", "groups": [{"type": "Subscriptions", "ids": - ["34a4ab42-0d72-47d9-bd1a-aed207386dac"]}, {"type": "AADTenants", "ids": ["2f4a9838-26b7-47ee-be60-ccc1fdec5953"]}]}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - sig share remove - Connection: - - keep-alive - Content-Length: - - '188' - Content-Type: - - application/json - ParameterSetName: - - --gallery-name -g --subscription-ids --tenant-ids - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery/share?api-version=2020-09-30 - response: - body: - string: '' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/a70cfc61-8d85-4262-aa29-734f677ea93a?api-version=2020-09-30 - cache-control: - - no-cache - content-length: - - '0' - date: - - Wed, 09 Jun 2021 09:37:34 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/a70cfc61-8d85-4262-aa29-734f677ea93a?monitor=true&api-version=2020-09-30 - 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;56 - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - sig share remove - Connection: - - keep-alive - ParameterSetName: - - --gallery-name -g --subscription-ids --tenant-ids - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/a70cfc61-8d85-4262-aa29-734f677ea93a?api-version=2020-09-30 - response: - body: - string: "{\r\n \"startTime\": \"2021-06-09T09:37:35.1095483+00:00\",\r\n \"endTime\": - \"2021-06-09T09:37:35.484513+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"a70cfc61-8d85-4262-aa29-734f677ea93a\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '183' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:38: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;1191,Microsoft.Compute/GetOperationStatus30Min;4166 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - sig share remove - Connection: - - keep-alive - ParameterSetName: - - --gallery-name -g --subscription-ids --tenant-ids - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/a70cfc61-8d85-4262-aa29-734f677ea93a?monitor=true&api-version=2020-09-30 - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Wed, 09 Jun 2021 09:38:05 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;1190,Microsoft.Compute/GetOperationStatus30Min;4165 - 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.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery?api-version=2020-09-30&$select=Permissions - response: - body: - string: "{\r\n \"name\": \"cligallery\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery\",\r\n - \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-CLIGALLERY\"\r\n },\r\n \"sharingProfile\": - {\r\n \"permissions\": \"Groups\",\r\n \"groups\": [\r\n {\r\n - \ \"type\": \"Subscriptions\",\r\n \"ids\": [\r\n \"0b1f6471-1bf0-4dda-aec3-cb9272f09590\"\r\n - \ ]\r\n }\r\n ]\r\n },\r\n \"provisioningState\": - \"Succeeded\"\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '713' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:38: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/GetGallery3Min;341,Microsoft.Compute/GetGallery30Min;2480 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - sig list-shared - Connection: - - keep-alive - ParameterSetName: - - --location - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/sharedGalleries?api-version=2020-09-30 - response: - body: - string: "{\r\n \"value\": [\r\n {\r\n \"identifier\": {\r\n \"uniqueId\": - \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-CLIGALLERY\"\r\n },\r\n - \ \"location\": \"eastus\",\r\n \"name\": \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-CLIGALLERY\"\r\n - \ }\r\n ]\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '252' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:38: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 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - sig image-definition list-shared - Connection: - - keep-alive - ParameterSetName: - - --gallery-unique-name --location - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-CLIGALLERY/images?api-version=2020-09-30 - response: - body: - string: "{\r\n \"value\": [\r\n {\r\n \"identifier\": {\r\n \"uniqueId\": - \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-CLIGALLERY/Images/image1\"\r\n - \ },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n - \ \"osState\": \"Generalized\",\r\n \"identifier\": {\r\n \"publisher\": - \"publisher1\",\r\n \"offer\": \"offer1\",\r\n \"sku\": - \"sku1\"\r\n },\r\n \"recommended\": {},\r\n \"hyperVGeneration\": - \"V1\",\r\n \"architecture\": \"x64\"\r\n },\r\n \"location\": - \"eastus\",\r\n \"name\": \"image1\"\r\n }\r\n ]\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '545' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:38: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 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - sig image-definition show-shared - Connection: - - keep-alive - ParameterSetName: - - --gallery-image-definition --gallery-unique-name --location - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-CLIGALLERY/images/image1?api-version=2020-09-30 - response: - body: - string: "{\r\n \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-CLIGALLERY/Images/image1\"\r\n - \ },\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": - \"Generalized\",\r\n \"identifier\": {\r\n \"publisher\": \"publisher1\",\r\n - \ \"offer\": \"offer1\",\r\n \"sku\": \"sku1\"\r\n },\r\n \"recommended\": - {},\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": \"x64\"\r\n - \ },\r\n \"location\": \"eastus\",\r\n \"name\": \"image1\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '444' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:38: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 -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - sig image-version list-shared - Connection: - - keep-alive - ParameterSetName: - - --gallery-image-definition --gallery-unique-name --location - User-Agent: - - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-CLIGALLERY/images/image1/versions?api-version=2020-09-30 - response: - body: - string: "{\r\n \"value\": [\r\n {\r\n \"identifier\": {\r\n \"uniqueId\": - \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-CLIGALLERY/Images/image1/Versions/1.1.2\"\r\n - \ },\r\n \"properties\": {\r\n \"publishedDate\": \"2021-06-09T09:28:48.6848295+00:00\"\r\n - \ },\r\n \"location\": \"eastus\",\r\n \"name\": \"1.1.2\"\r\n - \ }\r\n ]\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '334' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:38: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 - 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.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-CLIGALLERY/images/image1/versions/1.1.2?api-version=2020-09-30 - response: - body: - string: "{\r\n \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-CLIGALLERY/Images/image1/Versions/1.1.2\"\r\n - \ },\r\n \"properties\": {\r\n \"publishedDate\": \"2021-06-09T09:28:48.6848295+00:00\"\r\n - \ },\r\n \"location\": \"eastus\",\r\n \"name\": \"1.1.2\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '269' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:38: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 - 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.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery/share?api-version=2020-09-30 - response: - body: - string: '' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/b1a01da1-3607-4630-aab1-b8ad484f1a3b?api-version=2020-09-30 - cache-control: - - no-cache - content-length: - - '0' - date: - - Wed, 09 Jun 2021 09:38:13 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/b1a01da1-3607-4630-aab1-b8ad484f1a3b?monitor=true&api-version=2020-09-30 - 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;7,Microsoft.Compute/PostShareGallery30Min;55 - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - 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.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/b1a01da1-3607-4630-aab1-b8ad484f1a3b?api-version=2020-09-30 - response: - body: - string: "{\r\n \"startTime\": \"2021-06-09T09:38:14.0941161+00:00\",\r\n \"endTime\": - \"2021-06-09T09:38:14.4378414+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"b1a01da1-3607-4630-aab1-b8ad484f1a3b\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '184' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:38:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1189,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.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/capsOperations/b1a01da1-3607-4630-aab1-b8ad484f1a3b?monitor=true&api-version=2020-09-30 - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Wed, 09 Jun 2021 09:38:43 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;1188,Microsoft.Compute/GetOperationStatus30Min;4162 - 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.24.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery?api-version=2020-09-30&$select=Permissions - response: - body: - string: "{\r\n \"name\": \"cligallery\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/cligallery\",\r\n - \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-CLIGALLERY\"\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: - - '542' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 09:38: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;342,Microsoft.Compute/GetGallery30Min;2479 - status: - code: 200 - message: OK -version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_specialized_image.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_specialized_image.yaml index a4c0734ed17..b771d365710 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_specialized_image.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_specialized_image.yaml @@ -61,7 +61,7 @@ interactions: User-Agent: - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.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_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002?api-version=2019-12-01 response: body: string: "{\r\n \"name\": \"gallery_000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002\",\r\n @@ -165,7 +165,7 @@ interactions: User-Agent: - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/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_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002?api-version=2019-12-01 response: body: string: "{\r\n \"name\": \"gallery_000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_test_specialized_image_000001/providers/Microsoft.Compute/galleries/gallery_000002\",\r\n diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_disk_max_shares_etc.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_disk_max_shares_etc.yaml index 0fd37d99754..6acc2566656 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_disk_max_shares_etc.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_disk_max_shares_etc.yaml @@ -1064,7 +1064,7 @@ interactions: User-Agent: - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_disk_max_shares_etc_000001/providers/Microsoft.Compute/galleries/g1000002?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_disk_max_shares_etc_000001/providers/Microsoft.Compute/galleries/g1000002?api-version=2019-12-01 response: body: string: "{\r\n \"name\": \"g1000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_disk_max_shares_etc_000001/providers/Microsoft.Compute/galleries/g1000002\",\r\n @@ -1168,7 +1168,7 @@ interactions: User-Agent: - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_disk_max_shares_etc_000001/providers/Microsoft.Compute/galleries/g1000002?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_disk_max_shares_etc_000001/providers/Microsoft.Compute/galleries/g1000002?api-version=2019-12-01 response: body: string: "{\r\n \"name\": \"g1000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_disk_max_shares_etc_000001/providers/Microsoft.Compute/galleries/g1000002\",\r\n 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 c5cea69c5f7..d3b0b852023 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 @@ -3750,99 +3750,6 @@ def test_vm_generic_update(self, resource_group): class VMGalleryImage(ScenarioTest): - @ResourceGroupPreparer(location='eastus') - def test_shared_gallery(self, resource_group, resource_group_location): - self.kwargs.update({ - 'vm': 'vm1', - 'gallery': 'cligallery', - 'image': 'image1', - 'version': '1.1.2', - 'captured': 'managedImage1', - 'location': resource_group_location, - 'subId': '0b1f6471-1bf0-4dda-aec3-cb9272f09590', # share the gallery to tester's subscription, so the tester can get shared galleries - 'tenantId': '2f4a9838-26b7-47ee-be60-ccc1fdec5953', - 'sharedSubId': '34a4ab42-0d72-47d9-bd1a-aed207386dac' - }) - - self.cmd('sig create -g {rg} --gallery-name {gallery}') - self.cmd('sig image-definition create -g {rg} --gallery-name {gallery} --gallery-image-definition {image} ' - '--os-type linux -p publisher1 -f offer1 -s sku1') - self.cmd('sig image-definition show -g {rg} --gallery-name {gallery} --gallery-image-definition {image}') - self.cmd('vm create -g {rg} -n {vm} --image ubuntults --data-disk-sizes-gb 10 --admin-username clitest1 ' - '--generate-ssh-key --nsg-rule NONE') - self.cmd('vm run-command invoke -g {rg} -n {vm} --command-id RunShellScript --scripts ' - '"echo \'sudo waagent -deprovision+user --force\' | at -M now + 1 minutes"') - time.sleep(70) - - self.cmd('vm deallocate -g {rg} -n {vm}') - self.cmd('vm generalize -g {rg} -n {vm}') - self.cmd('image create -g {rg} -n {captured} --source {vm}') - self.cmd('sig image-version create -g {rg} --gallery-name {gallery} --gallery-image-definition {image} ' - '--gallery-image-version {version} --managed-image {captured} --replica-count 1') - - # Test shared gallery - self.cmd('sig update --gallery-name {gallery} --resource-group {rg} --permissions groups') - res = self.cmd('sig show --gallery-name {gallery} --resource-group {rg} --select Permissions', checks=[ - self.check('sharingProfile.permissions', 'Groups') - ]).get_output_in_json() - - self.kwargs['unique_name'] = res['identifier']['uniqueName'] - - self.cmd('sig update --gallery-name {gallery} --resource-group {rg} --permissions groups --permissions groups') - self.cmd('sig share add --gallery-name {gallery} -g {rg} --subscription-ids {subId} {sharedSubId} --tenant-ids {tenantId}') - self.cmd('sig show --gallery-name {gallery} --resource-group {rg} --select Permissions', checks=[ - self.check('sharingProfile.groups[0].ids[0]', self.kwargs['subId']), - self.check('sharingProfile.groups[0].ids[1]', self.kwargs['sharedSubId']), - self.check('sharingProfile.groups[0].type', 'Subscriptions'), - self.check('sharingProfile.groups[1].ids[0]', self.kwargs['tenantId']), - self.check('sharingProfile.groups[1].type', 'AADTenants') - ]) - - self.cmd('sig share remove --gallery-name {gallery} -g {rg} --subscription-ids {sharedSubId} --tenant-ids {tenantId}') - self.cmd('sig show --gallery-name {gallery} --resource-group {rg} --select Permissions', checks=[ - self.check('sharingProfile.groups[0].ids[0]', self.kwargs['subId']), - self.check('length(sharingProfile.groups)', 1), - ]) - - # Check result by shared user - self.cmd('sig list-shared --location {location}', checks=[ - self.check('[0].location', '{location}'), - self.check('[0].name', '{unique_name}'), - self.check('[0].uniqueId', '/SharedGalleries/{unique_name}') - ]) - self.cmd('sig image-definition list-shared --gallery-unique-name {unique_name} --location {location}', checks=[ - self.check('[0].location', '{location}'), - self.check('[0].name', '{image}'), - self.check('[0].uniqueId', '/SharedGalleries/{unique_name}/Images/{image}') - ]) - - self.cmd('sig image-definition show-shared --gallery-image-definition {image} ' - '--gallery-unique-name {unique_name} --location {location}', checks=[ - self.check('location', '{location}'), - self.check('name', '{image}'), - self.check('uniqueId', '/SharedGalleries/{unique_name}/Images/{image}') - ]) - - self.cmd('sig image-version list-shared --gallery-image-definition {image} --gallery-unique-name {unique_name} ' - '--location {location}', checks=[ - self.check('[0].location', '{location}'), - self.check('[0].name', '{version}'), - self.check('[0].uniqueId', '/SharedGalleries/{unique_name}/Images/{image}/Versions/{version}') - ]) - - self.cmd('sig image-version show-shared --gallery-image-definition {image} --gallery-unique-name {unique_name} ' - '--location {location} --gallery-image-version {version}', checks=[ - self.check('location', '{location}'), - self.check('name', '{version}'), - self.check('uniqueId', '/SharedGalleries/{unique_name}/Images/{image}/Versions/{version}') - ]) - - # gallery permissions must be reset, or the resource group can't be deleted - self.cmd('sig share reset --gallery-name {gallery} -g {rg}') - self.cmd('sig show --gallery-name {gallery} --resource-group {rg} --select Permissions', checks=[ - self.check('sharingProfile.permissions', 'Private') - ]) - @ResourceGroupPreparer(location='eastus2') def test_gallery_e2e(self, resource_group, resource_group_location): self.kwargs.update({