From 2460fb5b305bbfab6ccd50dc4db69608e54fdc32 Mon Sep 17 00:00:00 2001 From: Yan Zhu <105691024+yanzhudd@users.noreply.github.com> Date: Tue, 25 Jul 2023 15:34:20 +0800 Subject: [PATCH] {Compute} az disk-encryption-set, az sig image-version and az image: Migrate commands using CodeGen V2 (#26951) --- .../azure/cli/command_modules/vm/_help.py | 63 - .../2018_03_01_hybrid/image/__cmd_group.py | 23 + .../aaz/2018_03_01_hybrid/image/__init__.py | 15 + .../vm/aaz/2018_03_01_hybrid/image/_delete.py | 224 +++ .../vm/aaz/2018_03_01_hybrid/image/_list.py | 452 ++++++ .../vm/aaz/2018_03_01_hybrid/image/_show.py | 274 ++++ .../vm/aaz/2018_03_01_hybrid/image/_wait.py | 273 ++++ .../2019_03_01_hybrid/image/__cmd_group.py | 23 + .../aaz/2019_03_01_hybrid/image/__init__.py | 15 + .../vm/aaz/2019_03_01_hybrid/image/_delete.py | 224 +++ .../vm/aaz/2019_03_01_hybrid/image/_list.py | 456 ++++++ .../vm/aaz/2019_03_01_hybrid/image/_show.py | 276 ++++ .../vm/aaz/2019_03_01_hybrid/image/_wait.py | 275 ++++ .../disk_encryption_set/__cmd_group.py | 23 + .../disk_encryption_set/__init__.py | 15 + .../disk_encryption_set/_delete.py | 162 ++ .../disk_encryption_set/_list.py | 380 +++++ .../disk_encryption_set/_show.py | 240 +++ .../disk_encryption_set/_wait.py | 236 +++ .../2020_09_01_hybrid/image/__cmd_group.py | 23 + .../aaz/2020_09_01_hybrid/image/__init__.py | 15 + .../vm/aaz/2020_09_01_hybrid/image/_delete.py | 159 ++ .../vm/aaz/2020_09_01_hybrid/image/_list.py | 493 ++++++ .../vm/aaz/2020_09_01_hybrid/image/_show.py | 302 ++++ .../vm/aaz/2020_09_01_hybrid/image/_wait.py | 301 ++++ .../sig/image_version/__cmd_group.py | 23 + .../sig/image_version/__init__.py | 13 + .../sig/image_version/_delete.py | 179 +++ .../sig/image_version/_list.py | 356 +++++ .../latest/disk_encryption_set/__cmd_group.py | 23 + .../latest/disk_encryption_set/__init__.py | 16 + .../aaz/latest/disk_encryption_set/_delete.py | 162 ++ .../aaz/latest/disk_encryption_set/_list.py | 484 ++++++ .../_list_associated_resources.py | 171 ++ .../aaz/latest/disk_encryption_set/_show.py | 311 ++++ .../aaz/latest/disk_encryption_set/_wait.py | 307 ++++ .../vm/aaz/latest/image/__init__.py | 4 + .../vm/aaz/latest/image/_delete.py | 159 ++ .../vm/aaz/latest/image/_list.py | 507 ++++++ .../vm/aaz/latest/image/_show.py | 309 ++++ .../vm/aaz/latest/image/_wait.py | 308 ++++ .../latest/sig/image_version/__cmd_group.py | 23 + .../aaz/latest/sig/image_version/__init__.py | 15 + .../aaz/latest/sig/image_version/_delete.py | 179 +++ .../vm/aaz/latest/sig/image_version/_list.py | 448 ++++++ .../sig/image_version/_show_community.py | 248 +++ .../latest/sig/image_version/_show_shared.py | 248 +++ .../azure/cli/command_modules/vm/commands.py | 11 - .../azure/cli/command_modules/vm/custom.py | 14 - .../recordings/test_vm_generalize.yaml | 807 +++++++--- .../hybrid_2018_03_01/test_vm_commands.py | 10 + .../recordings/test_vm_generalize.yaml | 815 ++++++++-- .../hybrid_2019_03_01/test_vm_commands.py | 10 + .../recordings/test_gallery_image.yaml | 1329 +++++++++++++-- .../recordings/test_vm_generalize.yaml | 818 +++++++--- .../hybrid_2020_09_01/test_vm_commands.py | 32 +- .../test_community_gallery_operations.yaml | 1083 ++++++------- ...reate_vm_with_community_gallery_image.yaml | 1024 ++++++------ ...t_create_vm_with_shared_gallery_image.yaml | 1033 ++++++------ .../test_disk_encryption_set_snapshot.yaml | 644 ++++---- .../test_disk_encryption_set_update.yaml | 859 +++++----- .../latest/recordings/test_gallery_e2e.yaml | 1419 +++++++++-------- .../test_vm_custom_image_management.yaml | 652 +++++--- .../vm/tests/latest/test_vm_commands.py | 4 + 64 files changed, 16056 insertions(+), 3943 deletions(-) create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/__cmd_group.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/__init__.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/_delete.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/_list.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/_show.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/_wait.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/__cmd_group.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/__init__.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/_delete.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/_list.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/_show.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/_wait.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/__cmd_group.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/__init__.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/_delete.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/_list.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/_show.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/_wait.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/__cmd_group.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/__init__.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/_delete.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/_list.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/_show.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/_wait.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/sig/image_version/__cmd_group.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/sig/image_version/__init__.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/sig/image_version/_delete.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/sig/image_version/_list.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/__cmd_group.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/__init__.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/_delete.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/_list.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/_list_associated_resources.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/_show.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/_wait.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/latest/image/_delete.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/latest/image/_list.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/latest/image/_show.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/latest/image/_wait.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/__cmd_group.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/__init__.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/_delete.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/_list.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/_show_community.py create mode 100644 src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/_show_shared.py diff --git a/src/azure-cli/azure/cli/command_modules/vm/_help.py b/src/azure-cli/azure/cli/command_modules/vm/_help.py index efa1192e33c..0e464d29850 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_help.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_help.py @@ -187,11 +187,6 @@ az disk-access wait --created -g MyResourceGroup -n MyDiskAccess """ -helps['disk-encryption-set'] = """ -type: group -short-summary: Disk Encryption Set resource. -""" - helps['disk-encryption-set create'] = """ type: command short-summary: Create a disk encryption set. @@ -210,31 +205,6 @@ text: az disk-encryption-set create --resource-group MyResourceGroup --name MyDiskEncryptionSet --key-url MyKey --source-vault MyVault --encryption-type EncryptionAtRestWithPlatformAndCustomerKeys """ -helps['disk-encryption-set delete'] = """ -type: command -short-summary: Delete a disk encryption set. -examples: - - name: Delete a disk encryption set. (autogenerated) - text: | - az disk-encryption-set delete --name MyDiskEncryptionSet --resource-group MyResourceGroup - crafted: true -""" - -helps['disk-encryption-set list'] = """ -type: command -short-summary: List disk encryption sets. -""" - -helps['disk-encryption-set show'] = """ -type: command -short-summary: Get information of a disk encryption sets. -examples: - - name: Get information of a disk encryption sets (autogenerated) - text: | - az disk-encryption-set show --name MyDiskEncryptionSet --resource-group MyResourceGroup - crafted: true -""" - helps['disk-encryption-set update'] = """ type: command short-summary: Update a disk encryption set. @@ -295,11 +265,6 @@ az disk-encryption-set identity show --name MyDiskEncryptionSet --resource-group MyResourceGroup """ -helps['image'] = """ -type: group -short-summary: Manage custom virtual machine images. -""" - helps['image create'] = """ type: command short-summary: Create a custom Virtual Machine Image from managed disks or snapshots. @@ -312,18 +277,6 @@ text: az image create -g MyResourceGroup -n image1 --source MyVm1 """ -helps['image list'] = """ -type: command -short-summary: List custom VM images. -""" - -helps['image show'] = """ -type: command -parameters: - - name: --expand - short-summary: The expand expression to apply on the operation. Default value is None. -""" - helps['image builder'] = """ type: group short-summary: Manage and build image builder templates. @@ -981,11 +934,6 @@ --location myLocation """ -helps['sig image-version'] = """ -type: group -short-summary: Manage shared gallery image version with VM -""" - helps['sig image-version create'] = """ type: command short-summary: create a new image version @@ -1134,17 +1082,6 @@ --gallery-image-definition MyImage --location myLocation --shared-to tenant """ -helps['sig image-version show-shared'] = """ -type: command -short-summary: Get an image version in a gallery shared directly to your subscription or tenant -long-summary: Get an image version in a gallery shared directly to your subscription or tenant -examples: - - name: Get an image version in a gallery shared directly to your subscription or tenant in the given location. - text: | - az sig image-version show-shared --gallery-unique-name galleryUniqueName \\ - --gallery-image-definition MyImage --gallery-image-version 1.0.0 --location myLocation -""" - helps['sig image-version update'] = """ type: command short-summary: update a share image version diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/__cmd_group.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/__cmd_group.py new file mode 100644 index 00000000000..3e4a7f17f85 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "image", +) +class __CMDGroup(AAZCommandGroup): + """Manage custom virtual machine images. + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/__init__.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/__init__.py new file mode 100644 index 00000000000..f68091245a7 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/__init__.py @@ -0,0 +1,15 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._delete import * +from ._list import * +from ._show import * +from ._wait import * diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/_delete.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/_delete.py new file mode 100644 index 00000000000..a044a8125dd --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/_delete.py @@ -0,0 +1,224 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "image delete", +) +class Delete(AAZCommand): + """Delete an Image. + """ + + _aaz_info = { + "version": "2017-03-30", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/images/{}", "2017-03-30"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.image_name = AAZStrArg( + options=["-n", "--name", "--image-name"], + help="The name of the image.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.ImagesDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class ImagesDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "imageName", self.ctx.args.image_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2017-03-30", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.end_time = AAZStrType( + serialized_name="endTime", + flags={"read_only": True}, + ) + _schema_on_200.error = AAZObjectType() + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.start_time = AAZStrType( + serialized_name="startTime", + flags={"read_only": True}, + ) + _schema_on_200.status = AAZStrType( + flags={"read_only": True}, + ) + + error = cls._schema_on_200.error + error.code = AAZStrType() + error.details = AAZListType() + error.innererror = AAZObjectType() + error.message = AAZStrType() + error.target = AAZStrType() + + details = cls._schema_on_200.error.details + details.Element = AAZObjectType() + + _element = cls._schema_on_200.error.details.Element + _element.code = AAZStrType() + _element.message = AAZStrType() + _element.target = AAZStrType() + + innererror = cls._schema_on_200.error.innererror + innererror.errordetail = AAZStrType() + innererror.exceptiontype = AAZStrType() + + return cls._schema_on_200 + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/_list.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/_list.py new file mode 100644 index 00000000000..fad07600af0 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/_list.py @@ -0,0 +1,452 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "image list", +) +class List(AAZCommand): + """List the list of images under a resource group. + """ + + _aaz_info = { + "version": "2017-03-30", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.compute/images", "2017-03-30"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/images", "2017-03-30"], + ] + } + + AZ_SUPPORT_PAGINATION = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg() + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + condition_0 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) + condition_1 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + if condition_0: + self.ImagesListByResourceGroup(ctx=self.ctx)() + if condition_1: + self.ImagesList(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class ImagesListByResourceGroup(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2017-03-30", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.source_virtual_machine = AAZObjectType( + serialized_name="sourceVirtualMachine", + ) + _ListHelper._build_schema_sub_resource_read(properties.source_virtual_machine) + properties.storage_profile = AAZObjectType( + serialized_name="storageProfile", + ) + + storage_profile = cls._schema_on_200.value.Element.properties.storage_profile + storage_profile.data_disks = AAZListType( + serialized_name="dataDisks", + ) + storage_profile.os_disk = AAZObjectType( + serialized_name="osDisk", + flags={"required": True}, + ) + + data_disks = cls._schema_on_200.value.Element.properties.storage_profile.data_disks + data_disks.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.storage_profile.data_disks.Element + _element.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + _element.caching = AAZStrType() + _element.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + _element.lun = AAZIntType( + flags={"required": True}, + ) + _element.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ListHelper._build_schema_sub_resource_read(_element.managed_disk) + _element.snapshot = AAZObjectType() + _ListHelper._build_schema_sub_resource_read(_element.snapshot) + _element.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + os_disk = cls._schema_on_200.value.Element.properties.storage_profile.os_disk + os_disk.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + os_disk.caching = AAZStrType() + os_disk.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + os_disk.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ListHelper._build_schema_sub_resource_read(os_disk.managed_disk) + os_disk.os_state = AAZStrType( + serialized_name="osState", + flags={"required": True}, + ) + os_disk.os_type = AAZStrType( + serialized_name="osType", + flags={"required": True}, + ) + os_disk.snapshot = AAZObjectType() + _ListHelper._build_schema_sub_resource_read(os_disk.snapshot) + os_disk.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + class ImagesList(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/images", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2017-03-30", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.source_virtual_machine = AAZObjectType( + serialized_name="sourceVirtualMachine", + ) + _ListHelper._build_schema_sub_resource_read(properties.source_virtual_machine) + properties.storage_profile = AAZObjectType( + serialized_name="storageProfile", + ) + + storage_profile = cls._schema_on_200.value.Element.properties.storage_profile + storage_profile.data_disks = AAZListType( + serialized_name="dataDisks", + ) + storage_profile.os_disk = AAZObjectType( + serialized_name="osDisk", + flags={"required": True}, + ) + + data_disks = cls._schema_on_200.value.Element.properties.storage_profile.data_disks + data_disks.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.storage_profile.data_disks.Element + _element.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + _element.caching = AAZStrType() + _element.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + _element.lun = AAZIntType( + flags={"required": True}, + ) + _element.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ListHelper._build_schema_sub_resource_read(_element.managed_disk) + _element.snapshot = AAZObjectType() + _ListHelper._build_schema_sub_resource_read(_element.snapshot) + _element.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + os_disk = cls._schema_on_200.value.Element.properties.storage_profile.os_disk + os_disk.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + os_disk.caching = AAZStrType() + os_disk.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + os_disk.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ListHelper._build_schema_sub_resource_read(os_disk.managed_disk) + os_disk.os_state = AAZStrType( + serialized_name="osState", + flags={"required": True}, + ) + os_disk.os_type = AAZStrType( + serialized_name="osType", + flags={"required": True}, + ) + os_disk.snapshot = AAZObjectType() + _ListHelper._build_schema_sub_resource_read(os_disk.snapshot) + os_disk.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + _schema_sub_resource_read = None + + @classmethod + def _build_schema_sub_resource_read(cls, _schema): + if cls._schema_sub_resource_read is not None: + _schema.id = cls._schema_sub_resource_read.id + return + + cls._schema_sub_resource_read = _schema_sub_resource_read = AAZObjectType() + + sub_resource_read = _schema_sub_resource_read + sub_resource_read.id = AAZStrType() + + _schema.id = cls._schema_sub_resource_read.id + + +__all__ = ["List"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/_show.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/_show.py new file mode 100644 index 00000000000..6aae952451e --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/_show.py @@ -0,0 +1,274 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "image show", +) +class Show(AAZCommand): + """Get an image. + """ + + _aaz_info = { + "version": "2017-03-30", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/images/{}", "2017-03-30"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.image_name = AAZStrArg( + options=["-n", "--name", "--image-name"], + help="The name of the image.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + _args_schema.expand = AAZStrArg( + options=["--expand"], + help="The expand expression to apply on the operation.", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.ImagesGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class ImagesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "imageName", self.ctx.args.image_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "$expand", self.ctx.args.expand, + ), + **self.serialize_query_param( + "api-version", "2017-03-30", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.source_virtual_machine = AAZObjectType( + serialized_name="sourceVirtualMachine", + ) + _ShowHelper._build_schema_sub_resource_read(properties.source_virtual_machine) + properties.storage_profile = AAZObjectType( + serialized_name="storageProfile", + ) + + storage_profile = cls._schema_on_200.properties.storage_profile + storage_profile.data_disks = AAZListType( + serialized_name="dataDisks", + ) + storage_profile.os_disk = AAZObjectType( + serialized_name="osDisk", + flags={"required": True}, + ) + + data_disks = cls._schema_on_200.properties.storage_profile.data_disks + data_disks.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.storage_profile.data_disks.Element + _element.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + _element.caching = AAZStrType() + _element.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + _element.lun = AAZIntType( + flags={"required": True}, + ) + _element.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ShowHelper._build_schema_sub_resource_read(_element.managed_disk) + _element.snapshot = AAZObjectType() + _ShowHelper._build_schema_sub_resource_read(_element.snapshot) + _element.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + os_disk = cls._schema_on_200.properties.storage_profile.os_disk + os_disk.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + os_disk.caching = AAZStrType() + os_disk.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + os_disk.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ShowHelper._build_schema_sub_resource_read(os_disk.managed_disk) + os_disk.os_state = AAZStrType( + serialized_name="osState", + flags={"required": True}, + ) + os_disk.os_type = AAZStrType( + serialized_name="osType", + flags={"required": True}, + ) + os_disk.snapshot = AAZObjectType() + _ShowHelper._build_schema_sub_resource_read(os_disk.snapshot) + os_disk.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + _schema_sub_resource_read = None + + @classmethod + def _build_schema_sub_resource_read(cls, _schema): + if cls._schema_sub_resource_read is not None: + _schema.id = cls._schema_sub_resource_read.id + return + + cls._schema_sub_resource_read = _schema_sub_resource_read = AAZObjectType() + + sub_resource_read = _schema_sub_resource_read + sub_resource_read.id = AAZStrType() + + _schema.id = cls._schema_sub_resource_read.id + + +__all__ = ["Show"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/_wait.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/_wait.py new file mode 100644 index 00000000000..689ae1e0d10 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2018_03_01_hybrid/image/_wait.py @@ -0,0 +1,273 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "image wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/images/{}", "2017-03-30"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.image_name = AAZStrArg( + options=["-n", "--name", "--image-name"], + help="The name of the image.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + _args_schema.expand = AAZStrArg( + options=["--expand"], + help="The expand expression to apply on the operation.", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.ImagesGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class ImagesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "imageName", self.ctx.args.image_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "$expand", self.ctx.args.expand, + ), + **self.serialize_query_param( + "api-version", "2017-03-30", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.source_virtual_machine = AAZObjectType( + serialized_name="sourceVirtualMachine", + ) + _WaitHelper._build_schema_sub_resource_read(properties.source_virtual_machine) + properties.storage_profile = AAZObjectType( + serialized_name="storageProfile", + ) + + storage_profile = cls._schema_on_200.properties.storage_profile + storage_profile.data_disks = AAZListType( + serialized_name="dataDisks", + ) + storage_profile.os_disk = AAZObjectType( + serialized_name="osDisk", + flags={"required": True}, + ) + + data_disks = cls._schema_on_200.properties.storage_profile.data_disks + data_disks.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.storage_profile.data_disks.Element + _element.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + _element.caching = AAZStrType() + _element.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + _element.lun = AAZIntType( + flags={"required": True}, + ) + _element.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _WaitHelper._build_schema_sub_resource_read(_element.managed_disk) + _element.snapshot = AAZObjectType() + _WaitHelper._build_schema_sub_resource_read(_element.snapshot) + _element.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + os_disk = cls._schema_on_200.properties.storage_profile.os_disk + os_disk.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + os_disk.caching = AAZStrType() + os_disk.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + os_disk.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _WaitHelper._build_schema_sub_resource_read(os_disk.managed_disk) + os_disk.os_state = AAZStrType( + serialized_name="osState", + flags={"required": True}, + ) + os_disk.os_type = AAZStrType( + serialized_name="osType", + flags={"required": True}, + ) + os_disk.snapshot = AAZObjectType() + _WaitHelper._build_schema_sub_resource_read(os_disk.snapshot) + os_disk.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + _schema_sub_resource_read = None + + @classmethod + def _build_schema_sub_resource_read(cls, _schema): + if cls._schema_sub_resource_read is not None: + _schema.id = cls._schema_sub_resource_read.id + return + + cls._schema_sub_resource_read = _schema_sub_resource_read = AAZObjectType() + + sub_resource_read = _schema_sub_resource_read + sub_resource_read.id = AAZStrType() + + _schema.id = cls._schema_sub_resource_read.id + + +__all__ = ["Wait"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/__cmd_group.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/__cmd_group.py new file mode 100644 index 00000000000..3e4a7f17f85 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "image", +) +class __CMDGroup(AAZCommandGroup): + """Manage custom virtual machine images. + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/__init__.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/__init__.py new file mode 100644 index 00000000000..f68091245a7 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/__init__.py @@ -0,0 +1,15 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._delete import * +from ._list import * +from ._show import * +from ._wait import * diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/_delete.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/_delete.py new file mode 100644 index 00000000000..67cf54b2723 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/_delete.py @@ -0,0 +1,224 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "image delete", +) +class Delete(AAZCommand): + """Delete an Image. + """ + + _aaz_info = { + "version": "2017-12-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/images/{}", "2017-12-01"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.image_name = AAZStrArg( + options=["-n", "--name", "--image-name"], + help="The name of the image.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.ImagesDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class ImagesDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "imageName", self.ctx.args.image_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2017-12-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.end_time = AAZStrType( + serialized_name="endTime", + flags={"read_only": True}, + ) + _schema_on_200.error = AAZObjectType() + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.start_time = AAZStrType( + serialized_name="startTime", + flags={"read_only": True}, + ) + _schema_on_200.status = AAZStrType( + flags={"read_only": True}, + ) + + error = cls._schema_on_200.error + error.code = AAZStrType() + error.details = AAZListType() + error.innererror = AAZObjectType() + error.message = AAZStrType() + error.target = AAZStrType() + + details = cls._schema_on_200.error.details + details.Element = AAZObjectType() + + _element = cls._schema_on_200.error.details.Element + _element.code = AAZStrType() + _element.message = AAZStrType() + _element.target = AAZStrType() + + innererror = cls._schema_on_200.error.innererror + innererror.errordetail = AAZStrType() + innererror.exceptiontype = AAZStrType() + + return cls._schema_on_200 + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/_list.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/_list.py new file mode 100644 index 00000000000..4d00aeb935c --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/_list.py @@ -0,0 +1,456 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "image list", +) +class List(AAZCommand): + """List the list of images under a resource group. + """ + + _aaz_info = { + "version": "2017-12-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.compute/images", "2017-12-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/images", "2017-12-01"], + ] + } + + AZ_SUPPORT_PAGINATION = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg() + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + condition_0 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + condition_1 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) + if condition_0: + self.ImagesList(ctx=self.ctx)() + if condition_1: + self.ImagesListByResourceGroup(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class ImagesList(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/images", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2017-12-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.source_virtual_machine = AAZObjectType( + serialized_name="sourceVirtualMachine", + ) + _ListHelper._build_schema_sub_resource_read(properties.source_virtual_machine) + properties.storage_profile = AAZObjectType( + serialized_name="storageProfile", + ) + + storage_profile = cls._schema_on_200.value.Element.properties.storage_profile + storage_profile.data_disks = AAZListType( + serialized_name="dataDisks", + ) + storage_profile.os_disk = AAZObjectType( + serialized_name="osDisk", + ) + storage_profile.zone_resilient = AAZBoolType( + serialized_name="zoneResilient", + ) + + data_disks = cls._schema_on_200.value.Element.properties.storage_profile.data_disks + data_disks.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.storage_profile.data_disks.Element + _element.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + _element.caching = AAZStrType() + _element.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + _element.lun = AAZIntType( + flags={"required": True}, + ) + _element.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ListHelper._build_schema_sub_resource_read(_element.managed_disk) + _element.snapshot = AAZObjectType() + _ListHelper._build_schema_sub_resource_read(_element.snapshot) + _element.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + os_disk = cls._schema_on_200.value.Element.properties.storage_profile.os_disk + os_disk.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + os_disk.caching = AAZStrType() + os_disk.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + os_disk.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ListHelper._build_schema_sub_resource_read(os_disk.managed_disk) + os_disk.os_state = AAZStrType( + serialized_name="osState", + flags={"required": True}, + ) + os_disk.os_type = AAZStrType( + serialized_name="osType", + flags={"required": True}, + ) + os_disk.snapshot = AAZObjectType() + _ListHelper._build_schema_sub_resource_read(os_disk.snapshot) + os_disk.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + class ImagesListByResourceGroup(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2017-12-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.source_virtual_machine = AAZObjectType( + serialized_name="sourceVirtualMachine", + ) + _ListHelper._build_schema_sub_resource_read(properties.source_virtual_machine) + properties.storage_profile = AAZObjectType( + serialized_name="storageProfile", + ) + + storage_profile = cls._schema_on_200.value.Element.properties.storage_profile + storage_profile.data_disks = AAZListType( + serialized_name="dataDisks", + ) + storage_profile.os_disk = AAZObjectType( + serialized_name="osDisk", + ) + storage_profile.zone_resilient = AAZBoolType( + serialized_name="zoneResilient", + ) + + data_disks = cls._schema_on_200.value.Element.properties.storage_profile.data_disks + data_disks.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.storage_profile.data_disks.Element + _element.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + _element.caching = AAZStrType() + _element.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + _element.lun = AAZIntType( + flags={"required": True}, + ) + _element.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ListHelper._build_schema_sub_resource_read(_element.managed_disk) + _element.snapshot = AAZObjectType() + _ListHelper._build_schema_sub_resource_read(_element.snapshot) + _element.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + os_disk = cls._schema_on_200.value.Element.properties.storage_profile.os_disk + os_disk.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + os_disk.caching = AAZStrType() + os_disk.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + os_disk.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ListHelper._build_schema_sub_resource_read(os_disk.managed_disk) + os_disk.os_state = AAZStrType( + serialized_name="osState", + flags={"required": True}, + ) + os_disk.os_type = AAZStrType( + serialized_name="osType", + flags={"required": True}, + ) + os_disk.snapshot = AAZObjectType() + _ListHelper._build_schema_sub_resource_read(os_disk.snapshot) + os_disk.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + _schema_sub_resource_read = None + + @classmethod + def _build_schema_sub_resource_read(cls, _schema): + if cls._schema_sub_resource_read is not None: + _schema.id = cls._schema_sub_resource_read.id + return + + cls._schema_sub_resource_read = _schema_sub_resource_read = AAZObjectType() + + sub_resource_read = _schema_sub_resource_read + sub_resource_read.id = AAZStrType() + + _schema.id = cls._schema_sub_resource_read.id + + +__all__ = ["List"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/_show.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/_show.py new file mode 100644 index 00000000000..c4496b596f0 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/_show.py @@ -0,0 +1,276 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "image show", +) +class Show(AAZCommand): + """Get an image. + """ + + _aaz_info = { + "version": "2017-12-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/images/{}", "2017-12-01"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.image_name = AAZStrArg( + options=["-n", "--name", "--image-name"], + help="The name of the image.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + _args_schema.expand = AAZStrArg( + options=["--expand"], + help="The expand expression to apply on the operation.", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.ImagesGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class ImagesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "imageName", self.ctx.args.image_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "$expand", self.ctx.args.expand, + ), + **self.serialize_query_param( + "api-version", "2017-12-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.source_virtual_machine = AAZObjectType( + serialized_name="sourceVirtualMachine", + ) + _ShowHelper._build_schema_sub_resource_read(properties.source_virtual_machine) + properties.storage_profile = AAZObjectType( + serialized_name="storageProfile", + ) + + storage_profile = cls._schema_on_200.properties.storage_profile + storage_profile.data_disks = AAZListType( + serialized_name="dataDisks", + ) + storage_profile.os_disk = AAZObjectType( + serialized_name="osDisk", + ) + storage_profile.zone_resilient = AAZBoolType( + serialized_name="zoneResilient", + ) + + data_disks = cls._schema_on_200.properties.storage_profile.data_disks + data_disks.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.storage_profile.data_disks.Element + _element.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + _element.caching = AAZStrType() + _element.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + _element.lun = AAZIntType( + flags={"required": True}, + ) + _element.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ShowHelper._build_schema_sub_resource_read(_element.managed_disk) + _element.snapshot = AAZObjectType() + _ShowHelper._build_schema_sub_resource_read(_element.snapshot) + _element.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + os_disk = cls._schema_on_200.properties.storage_profile.os_disk + os_disk.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + os_disk.caching = AAZStrType() + os_disk.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + os_disk.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ShowHelper._build_schema_sub_resource_read(os_disk.managed_disk) + os_disk.os_state = AAZStrType( + serialized_name="osState", + flags={"required": True}, + ) + os_disk.os_type = AAZStrType( + serialized_name="osType", + flags={"required": True}, + ) + os_disk.snapshot = AAZObjectType() + _ShowHelper._build_schema_sub_resource_read(os_disk.snapshot) + os_disk.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + _schema_sub_resource_read = None + + @classmethod + def _build_schema_sub_resource_read(cls, _schema): + if cls._schema_sub_resource_read is not None: + _schema.id = cls._schema_sub_resource_read.id + return + + cls._schema_sub_resource_read = _schema_sub_resource_read = AAZObjectType() + + sub_resource_read = _schema_sub_resource_read + sub_resource_read.id = AAZStrType() + + _schema.id = cls._schema_sub_resource_read.id + + +__all__ = ["Show"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/_wait.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/_wait.py new file mode 100644 index 00000000000..acd362202cf --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2019_03_01_hybrid/image/_wait.py @@ -0,0 +1,275 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "image wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/images/{}", "2017-12-01"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.image_name = AAZStrArg( + options=["-n", "--name", "--image-name"], + help="The name of the image.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + _args_schema.expand = AAZStrArg( + options=["--expand"], + help="The expand expression to apply on the operation.", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.ImagesGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class ImagesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "imageName", self.ctx.args.image_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "$expand", self.ctx.args.expand, + ), + **self.serialize_query_param( + "api-version", "2017-12-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.source_virtual_machine = AAZObjectType( + serialized_name="sourceVirtualMachine", + ) + _WaitHelper._build_schema_sub_resource_read(properties.source_virtual_machine) + properties.storage_profile = AAZObjectType( + serialized_name="storageProfile", + ) + + storage_profile = cls._schema_on_200.properties.storage_profile + storage_profile.data_disks = AAZListType( + serialized_name="dataDisks", + ) + storage_profile.os_disk = AAZObjectType( + serialized_name="osDisk", + ) + storage_profile.zone_resilient = AAZBoolType( + serialized_name="zoneResilient", + ) + + data_disks = cls._schema_on_200.properties.storage_profile.data_disks + data_disks.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.storage_profile.data_disks.Element + _element.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + _element.caching = AAZStrType() + _element.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + _element.lun = AAZIntType( + flags={"required": True}, + ) + _element.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _WaitHelper._build_schema_sub_resource_read(_element.managed_disk) + _element.snapshot = AAZObjectType() + _WaitHelper._build_schema_sub_resource_read(_element.snapshot) + _element.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + os_disk = cls._schema_on_200.properties.storage_profile.os_disk + os_disk.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + os_disk.caching = AAZStrType() + os_disk.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + os_disk.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _WaitHelper._build_schema_sub_resource_read(os_disk.managed_disk) + os_disk.os_state = AAZStrType( + serialized_name="osState", + flags={"required": True}, + ) + os_disk.os_type = AAZStrType( + serialized_name="osType", + flags={"required": True}, + ) + os_disk.snapshot = AAZObjectType() + _WaitHelper._build_schema_sub_resource_read(os_disk.snapshot) + os_disk.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + _schema_sub_resource_read = None + + @classmethod + def _build_schema_sub_resource_read(cls, _schema): + if cls._schema_sub_resource_read is not None: + _schema.id = cls._schema_sub_resource_read.id + return + + cls._schema_sub_resource_read = _schema_sub_resource_read = AAZObjectType() + + sub_resource_read = _schema_sub_resource_read + sub_resource_read.id = AAZStrType() + + _schema.id = cls._schema_sub_resource_read.id + + +__all__ = ["Wait"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/__cmd_group.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/__cmd_group.py new file mode 100644 index 00000000000..678c2a6612c --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "disk-encryption-set", +) +class __CMDGroup(AAZCommandGroup): + """Disk Encryption Set resource. + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/__init__.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/__init__.py new file mode 100644 index 00000000000..f68091245a7 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/__init__.py @@ -0,0 +1,15 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._delete import * +from ._list import * +from ._show import * +from ._wait import * diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/_delete.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/_delete.py new file mode 100644 index 00000000000..c55c97cdd23 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/_delete.py @@ -0,0 +1,162 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "disk-encryption-set delete", +) +class Delete(AAZCommand): + """Delete a disk encryption set. + + :example: Delete a disk encryption set. + az disk-encryption-set delete --name MyDiskEncryptionSet --resource-group MyResourceGroup + """ + + _aaz_info = { + "version": "2019-07-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets/{}", "2019-07-01"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.disk_encryption_set_name = AAZStrArg( + options=["-n", "--name", "--disk-encryption-set-name"], + help="Name of disk encryption set.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.DiskEncryptionSetsDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class DiskEncryptionSetsDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "diskEncryptionSetName", self.ctx.args.disk_encryption_set_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2019-07-01", + required=True, + ), + } + return parameters + + def on_200(self, session): + pass + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/_list.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/_list.py new file mode 100644 index 00000000000..fba9b46314b --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/_list.py @@ -0,0 +1,380 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "disk-encryption-set list", +) +class List(AAZCommand): + """List disk encryption sets. + """ + + _aaz_info = { + "version": "2019-07-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.compute/diskencryptionsets", "2019-07-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets", "2019-07-01"], + ] + } + + AZ_SUPPORT_PAGINATION = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg() + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + condition_0 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + condition_1 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) + if condition_0: + self.DiskEncryptionSetsList(ctx=self.ctx)() + if condition_1: + self.DiskEncryptionSetsListByResourceGroup(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class DiskEncryptionSetsList(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskEncryptionSets", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2019-07-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.identity = AAZObjectType() + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + identity = cls._schema_on_200.value.Element.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType() + + properties = cls._schema_on_200.value.Element.properties + properties.active_key = AAZObjectType( + serialized_name="activeKey", + ) + _ListHelper._build_schema_key_vault_and_key_reference_read(properties.active_key) + properties.previous_keys = AAZListType( + serialized_name="previousKeys", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + previous_keys = cls._schema_on_200.value.Element.properties.previous_keys + previous_keys.Element = AAZObjectType() + _ListHelper._build_schema_key_vault_and_key_reference_read(previous_keys.Element) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + class DiskEncryptionSetsListByResourceGroup(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2019-07-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.identity = AAZObjectType() + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + identity = cls._schema_on_200.value.Element.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType() + + properties = cls._schema_on_200.value.Element.properties + properties.active_key = AAZObjectType( + serialized_name="activeKey", + ) + _ListHelper._build_schema_key_vault_and_key_reference_read(properties.active_key) + properties.previous_keys = AAZListType( + serialized_name="previousKeys", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + previous_keys = cls._schema_on_200.value.Element.properties.previous_keys + previous_keys.Element = AAZObjectType() + _ListHelper._build_schema_key_vault_and_key_reference_read(previous_keys.Element) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + _schema_key_vault_and_key_reference_read = None + + @classmethod + def _build_schema_key_vault_and_key_reference_read(cls, _schema): + if cls._schema_key_vault_and_key_reference_read is not None: + _schema.key_url = cls._schema_key_vault_and_key_reference_read.key_url + _schema.source_vault = cls._schema_key_vault_and_key_reference_read.source_vault + return + + cls._schema_key_vault_and_key_reference_read = _schema_key_vault_and_key_reference_read = AAZObjectType() + + key_vault_and_key_reference_read = _schema_key_vault_and_key_reference_read + key_vault_and_key_reference_read.key_url = AAZStrType( + serialized_name="keyUrl", + flags={"required": True}, + ) + key_vault_and_key_reference_read.source_vault = AAZObjectType( + serialized_name="sourceVault", + flags={"required": True}, + ) + + source_vault = _schema_key_vault_and_key_reference_read.source_vault + source_vault.id = AAZStrType() + + _schema.key_url = cls._schema_key_vault_and_key_reference_read.key_url + _schema.source_vault = cls._schema_key_vault_and_key_reference_read.source_vault + + +__all__ = ["List"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/_show.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/_show.py new file mode 100644 index 00000000000..c42d234c078 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/_show.py @@ -0,0 +1,240 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "disk-encryption-set show", +) +class Show(AAZCommand): + """Get information about a disk encryption set. + + :example: Get information of a disk encryption sets + az disk-encryption-set show --name MyDiskEncryptionSet --resource-group MyResourceGroup + """ + + _aaz_info = { + "version": "2019-07-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets/{}", "2019-07-01"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.disk_encryption_set_name = AAZStrArg( + options=["-n", "--name", "--disk-encryption-set-name"], + help="Name of disk encryption set.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.DiskEncryptionSetsGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class DiskEncryptionSetsGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "diskEncryptionSetName", self.ctx.args.disk_encryption_set_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2019-07-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.identity = AAZObjectType() + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + identity = cls._schema_on_200.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType() + + properties = cls._schema_on_200.properties + properties.active_key = AAZObjectType( + serialized_name="activeKey", + ) + _ShowHelper._build_schema_key_vault_and_key_reference_read(properties.active_key) + properties.previous_keys = AAZListType( + serialized_name="previousKeys", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + previous_keys = cls._schema_on_200.properties.previous_keys + previous_keys.Element = AAZObjectType() + _ShowHelper._build_schema_key_vault_and_key_reference_read(previous_keys.Element) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + _schema_key_vault_and_key_reference_read = None + + @classmethod + def _build_schema_key_vault_and_key_reference_read(cls, _schema): + if cls._schema_key_vault_and_key_reference_read is not None: + _schema.key_url = cls._schema_key_vault_and_key_reference_read.key_url + _schema.source_vault = cls._schema_key_vault_and_key_reference_read.source_vault + return + + cls._schema_key_vault_and_key_reference_read = _schema_key_vault_and_key_reference_read = AAZObjectType() + + key_vault_and_key_reference_read = _schema_key_vault_and_key_reference_read + key_vault_and_key_reference_read.key_url = AAZStrType( + serialized_name="keyUrl", + flags={"required": True}, + ) + key_vault_and_key_reference_read.source_vault = AAZObjectType( + serialized_name="sourceVault", + flags={"required": True}, + ) + + source_vault = _schema_key_vault_and_key_reference_read.source_vault + source_vault.id = AAZStrType() + + _schema.key_url = cls._schema_key_vault_and_key_reference_read.key_url + _schema.source_vault = cls._schema_key_vault_and_key_reference_read.source_vault + + +__all__ = ["Show"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/_wait.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/_wait.py new file mode 100644 index 00000000000..8d621e0a65d --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/disk_encryption_set/_wait.py @@ -0,0 +1,236 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "disk-encryption-set wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets/{}", "2019-07-01"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.disk_encryption_set_name = AAZStrArg( + options=["-n", "--name", "--disk-encryption-set-name"], + help="Name of disk encryption set.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.DiskEncryptionSetsGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class DiskEncryptionSetsGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "diskEncryptionSetName", self.ctx.args.disk_encryption_set_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2019-07-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.identity = AAZObjectType() + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + identity = cls._schema_on_200.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType() + + properties = cls._schema_on_200.properties + properties.active_key = AAZObjectType( + serialized_name="activeKey", + ) + _WaitHelper._build_schema_key_vault_and_key_reference_read(properties.active_key) + properties.previous_keys = AAZListType( + serialized_name="previousKeys", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + previous_keys = cls._schema_on_200.properties.previous_keys + previous_keys.Element = AAZObjectType() + _WaitHelper._build_schema_key_vault_and_key_reference_read(previous_keys.Element) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + _schema_key_vault_and_key_reference_read = None + + @classmethod + def _build_schema_key_vault_and_key_reference_read(cls, _schema): + if cls._schema_key_vault_and_key_reference_read is not None: + _schema.key_url = cls._schema_key_vault_and_key_reference_read.key_url + _schema.source_vault = cls._schema_key_vault_and_key_reference_read.source_vault + return + + cls._schema_key_vault_and_key_reference_read = _schema_key_vault_and_key_reference_read = AAZObjectType() + + key_vault_and_key_reference_read = _schema_key_vault_and_key_reference_read + key_vault_and_key_reference_read.key_url = AAZStrType( + serialized_name="keyUrl", + flags={"required": True}, + ) + key_vault_and_key_reference_read.source_vault = AAZObjectType( + serialized_name="sourceVault", + flags={"required": True}, + ) + + source_vault = _schema_key_vault_and_key_reference_read.source_vault + source_vault.id = AAZStrType() + + _schema.key_url = cls._schema_key_vault_and_key_reference_read.key_url + _schema.source_vault = cls._schema_key_vault_and_key_reference_read.source_vault + + +__all__ = ["Wait"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/__cmd_group.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/__cmd_group.py new file mode 100644 index 00000000000..3e4a7f17f85 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "image", +) +class __CMDGroup(AAZCommandGroup): + """Manage custom virtual machine images. + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/__init__.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/__init__.py new file mode 100644 index 00000000000..f68091245a7 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/__init__.py @@ -0,0 +1,15 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._delete import * +from ._list import * +from ._show import * +from ._wait import * diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/_delete.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/_delete.py new file mode 100644 index 00000000000..80612799f3e --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/_delete.py @@ -0,0 +1,159 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "image delete", +) +class Delete(AAZCommand): + """Delete an Image. + """ + + _aaz_info = { + "version": "2020-06-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/images/{}", "2020-06-01"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.image_name = AAZStrArg( + options=["-n", "--name", "--image-name"], + help="The name of the image.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.ImagesDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class ImagesDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "imageName", self.ctx.args.image_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2020-06-01", + required=True, + ), + } + return parameters + + def on_200(self, session): + pass + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/_list.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/_list.py new file mode 100644 index 00000000000..bea1c51e855 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/_list.py @@ -0,0 +1,493 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "image list", +) +class List(AAZCommand): + """List the list of images under a resource group. + """ + + _aaz_info = { + "version": "2020-06-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.compute/images", "2020-06-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/images", "2020-06-01"], + ] + } + + AZ_SUPPORT_PAGINATION = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg() + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + condition_0 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) + condition_1 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + if condition_0: + self.ImagesListByResourceGroup(ctx=self.ctx)() + if condition_1: + self.ImagesList(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class ImagesListByResourceGroup(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2020-06-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.hyper_v_generation = AAZStrType( + serialized_name="hyperVGeneration", + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.source_virtual_machine = AAZObjectType( + serialized_name="sourceVirtualMachine", + ) + _ListHelper._build_schema_sub_resource_read(properties.source_virtual_machine) + properties.storage_profile = AAZObjectType( + serialized_name="storageProfile", + ) + + storage_profile = cls._schema_on_200.value.Element.properties.storage_profile + storage_profile.data_disks = AAZListType( + serialized_name="dataDisks", + ) + storage_profile.os_disk = AAZObjectType( + serialized_name="osDisk", + ) + storage_profile.zone_resilient = AAZBoolType( + serialized_name="zoneResilient", + ) + + data_disks = cls._schema_on_200.value.Element.properties.storage_profile.data_disks + data_disks.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.storage_profile.data_disks.Element + _element.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + _element.caching = AAZStrType() + _element.disk_encryption_set = AAZObjectType( + serialized_name="diskEncryptionSet", + ) + _ListHelper._build_schema_disk_encryption_set_parameters_read(_element.disk_encryption_set) + _element.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + _element.lun = AAZIntType( + flags={"required": True}, + ) + _element.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ListHelper._build_schema_sub_resource_read(_element.managed_disk) + _element.snapshot = AAZObjectType() + _ListHelper._build_schema_sub_resource_read(_element.snapshot) + _element.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + os_disk = cls._schema_on_200.value.Element.properties.storage_profile.os_disk + os_disk.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + os_disk.caching = AAZStrType() + os_disk.disk_encryption_set = AAZObjectType( + serialized_name="diskEncryptionSet", + ) + _ListHelper._build_schema_disk_encryption_set_parameters_read(os_disk.disk_encryption_set) + os_disk.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + os_disk.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ListHelper._build_schema_sub_resource_read(os_disk.managed_disk) + os_disk.os_state = AAZStrType( + serialized_name="osState", + flags={"required": True}, + ) + os_disk.os_type = AAZStrType( + serialized_name="osType", + flags={"required": True}, + ) + os_disk.snapshot = AAZObjectType() + _ListHelper._build_schema_sub_resource_read(os_disk.snapshot) + os_disk.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + class ImagesList(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/images", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2020-06-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.hyper_v_generation = AAZStrType( + serialized_name="hyperVGeneration", + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.source_virtual_machine = AAZObjectType( + serialized_name="sourceVirtualMachine", + ) + _ListHelper._build_schema_sub_resource_read(properties.source_virtual_machine) + properties.storage_profile = AAZObjectType( + serialized_name="storageProfile", + ) + + storage_profile = cls._schema_on_200.value.Element.properties.storage_profile + storage_profile.data_disks = AAZListType( + serialized_name="dataDisks", + ) + storage_profile.os_disk = AAZObjectType( + serialized_name="osDisk", + ) + storage_profile.zone_resilient = AAZBoolType( + serialized_name="zoneResilient", + ) + + data_disks = cls._schema_on_200.value.Element.properties.storage_profile.data_disks + data_disks.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.storage_profile.data_disks.Element + _element.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + _element.caching = AAZStrType() + _element.disk_encryption_set = AAZObjectType( + serialized_name="diskEncryptionSet", + ) + _ListHelper._build_schema_disk_encryption_set_parameters_read(_element.disk_encryption_set) + _element.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + _element.lun = AAZIntType( + flags={"required": True}, + ) + _element.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ListHelper._build_schema_sub_resource_read(_element.managed_disk) + _element.snapshot = AAZObjectType() + _ListHelper._build_schema_sub_resource_read(_element.snapshot) + _element.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + os_disk = cls._schema_on_200.value.Element.properties.storage_profile.os_disk + os_disk.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + os_disk.caching = AAZStrType() + os_disk.disk_encryption_set = AAZObjectType( + serialized_name="diskEncryptionSet", + ) + _ListHelper._build_schema_disk_encryption_set_parameters_read(os_disk.disk_encryption_set) + os_disk.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + os_disk.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ListHelper._build_schema_sub_resource_read(os_disk.managed_disk) + os_disk.os_state = AAZStrType( + serialized_name="osState", + flags={"required": True}, + ) + os_disk.os_type = AAZStrType( + serialized_name="osType", + flags={"required": True}, + ) + os_disk.snapshot = AAZObjectType() + _ListHelper._build_schema_sub_resource_read(os_disk.snapshot) + os_disk.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + _schema_disk_encryption_set_parameters_read = None + + @classmethod + def _build_schema_disk_encryption_set_parameters_read(cls, _schema): + if cls._schema_disk_encryption_set_parameters_read is not None: + _schema.id = cls._schema_disk_encryption_set_parameters_read.id + return + + cls._schema_disk_encryption_set_parameters_read = _schema_disk_encryption_set_parameters_read = AAZObjectType() + + disk_encryption_set_parameters_read = _schema_disk_encryption_set_parameters_read + disk_encryption_set_parameters_read.id = AAZStrType() + + _schema.id = cls._schema_disk_encryption_set_parameters_read.id + + _schema_sub_resource_read = None + + @classmethod + def _build_schema_sub_resource_read(cls, _schema): + if cls._schema_sub_resource_read is not None: + _schema.id = cls._schema_sub_resource_read.id + return + + cls._schema_sub_resource_read = _schema_sub_resource_read = AAZObjectType() + + sub_resource_read = _schema_sub_resource_read + sub_resource_read.id = AAZStrType() + + _schema.id = cls._schema_sub_resource_read.id + + +__all__ = ["List"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/_show.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/_show.py new file mode 100644 index 00000000000..b1dfbaf9012 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/_show.py @@ -0,0 +1,302 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "image show", +) +class Show(AAZCommand): + """Get an image. + """ + + _aaz_info = { + "version": "2020-06-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/images/{}", "2020-06-01"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.image_name = AAZStrArg( + options=["-n", "--name", "--image-name"], + help="The name of the image.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + _args_schema.expand = AAZStrArg( + options=["--expand"], + help="The expand expression to apply on the operation.", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.ImagesGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class ImagesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "imageName", self.ctx.args.image_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "$expand", self.ctx.args.expand, + ), + **self.serialize_query_param( + "api-version", "2020-06-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.hyper_v_generation = AAZStrType( + serialized_name="hyperVGeneration", + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.source_virtual_machine = AAZObjectType( + serialized_name="sourceVirtualMachine", + ) + _ShowHelper._build_schema_sub_resource_read(properties.source_virtual_machine) + properties.storage_profile = AAZObjectType( + serialized_name="storageProfile", + ) + + storage_profile = cls._schema_on_200.properties.storage_profile + storage_profile.data_disks = AAZListType( + serialized_name="dataDisks", + ) + storage_profile.os_disk = AAZObjectType( + serialized_name="osDisk", + ) + storage_profile.zone_resilient = AAZBoolType( + serialized_name="zoneResilient", + ) + + data_disks = cls._schema_on_200.properties.storage_profile.data_disks + data_disks.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.storage_profile.data_disks.Element + _element.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + _element.caching = AAZStrType() + _element.disk_encryption_set = AAZObjectType( + serialized_name="diskEncryptionSet", + ) + _ShowHelper._build_schema_disk_encryption_set_parameters_read(_element.disk_encryption_set) + _element.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + _element.lun = AAZIntType( + flags={"required": True}, + ) + _element.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ShowHelper._build_schema_sub_resource_read(_element.managed_disk) + _element.snapshot = AAZObjectType() + _ShowHelper._build_schema_sub_resource_read(_element.snapshot) + _element.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + os_disk = cls._schema_on_200.properties.storage_profile.os_disk + os_disk.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + os_disk.caching = AAZStrType() + os_disk.disk_encryption_set = AAZObjectType( + serialized_name="diskEncryptionSet", + ) + _ShowHelper._build_schema_disk_encryption_set_parameters_read(os_disk.disk_encryption_set) + os_disk.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + os_disk.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ShowHelper._build_schema_sub_resource_read(os_disk.managed_disk) + os_disk.os_state = AAZStrType( + serialized_name="osState", + flags={"required": True}, + ) + os_disk.os_type = AAZStrType( + serialized_name="osType", + flags={"required": True}, + ) + os_disk.snapshot = AAZObjectType() + _ShowHelper._build_schema_sub_resource_read(os_disk.snapshot) + os_disk.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + _schema_disk_encryption_set_parameters_read = None + + @classmethod + def _build_schema_disk_encryption_set_parameters_read(cls, _schema): + if cls._schema_disk_encryption_set_parameters_read is not None: + _schema.id = cls._schema_disk_encryption_set_parameters_read.id + return + + cls._schema_disk_encryption_set_parameters_read = _schema_disk_encryption_set_parameters_read = AAZObjectType() + + disk_encryption_set_parameters_read = _schema_disk_encryption_set_parameters_read + disk_encryption_set_parameters_read.id = AAZStrType() + + _schema.id = cls._schema_disk_encryption_set_parameters_read.id + + _schema_sub_resource_read = None + + @classmethod + def _build_schema_sub_resource_read(cls, _schema): + if cls._schema_sub_resource_read is not None: + _schema.id = cls._schema_sub_resource_read.id + return + + cls._schema_sub_resource_read = _schema_sub_resource_read = AAZObjectType() + + sub_resource_read = _schema_sub_resource_read + sub_resource_read.id = AAZStrType() + + _schema.id = cls._schema_sub_resource_read.id + + +__all__ = ["Show"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/_wait.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/_wait.py new file mode 100644 index 00000000000..d707f259659 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/image/_wait.py @@ -0,0 +1,301 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "image wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/images/{}", "2020-06-01"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.image_name = AAZStrArg( + options=["-n", "--name", "--image-name"], + help="The name of the image.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + _args_schema.expand = AAZStrArg( + options=["--expand"], + help="The expand expression to apply on the operation.", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.ImagesGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class ImagesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "imageName", self.ctx.args.image_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "$expand", self.ctx.args.expand, + ), + **self.serialize_query_param( + "api-version", "2020-06-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.hyper_v_generation = AAZStrType( + serialized_name="hyperVGeneration", + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.source_virtual_machine = AAZObjectType( + serialized_name="sourceVirtualMachine", + ) + _WaitHelper._build_schema_sub_resource_read(properties.source_virtual_machine) + properties.storage_profile = AAZObjectType( + serialized_name="storageProfile", + ) + + storage_profile = cls._schema_on_200.properties.storage_profile + storage_profile.data_disks = AAZListType( + serialized_name="dataDisks", + ) + storage_profile.os_disk = AAZObjectType( + serialized_name="osDisk", + ) + storage_profile.zone_resilient = AAZBoolType( + serialized_name="zoneResilient", + ) + + data_disks = cls._schema_on_200.properties.storage_profile.data_disks + data_disks.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.storage_profile.data_disks.Element + _element.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + _element.caching = AAZStrType() + _element.disk_encryption_set = AAZObjectType( + serialized_name="diskEncryptionSet", + ) + _WaitHelper._build_schema_disk_encryption_set_parameters_read(_element.disk_encryption_set) + _element.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + _element.lun = AAZIntType( + flags={"required": True}, + ) + _element.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _WaitHelper._build_schema_sub_resource_read(_element.managed_disk) + _element.snapshot = AAZObjectType() + _WaitHelper._build_schema_sub_resource_read(_element.snapshot) + _element.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + os_disk = cls._schema_on_200.properties.storage_profile.os_disk + os_disk.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + os_disk.caching = AAZStrType() + os_disk.disk_encryption_set = AAZObjectType( + serialized_name="diskEncryptionSet", + ) + _WaitHelper._build_schema_disk_encryption_set_parameters_read(os_disk.disk_encryption_set) + os_disk.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + os_disk.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _WaitHelper._build_schema_sub_resource_read(os_disk.managed_disk) + os_disk.os_state = AAZStrType( + serialized_name="osState", + flags={"required": True}, + ) + os_disk.os_type = AAZStrType( + serialized_name="osType", + flags={"required": True}, + ) + os_disk.snapshot = AAZObjectType() + _WaitHelper._build_schema_sub_resource_read(os_disk.snapshot) + os_disk.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + _schema_disk_encryption_set_parameters_read = None + + @classmethod + def _build_schema_disk_encryption_set_parameters_read(cls, _schema): + if cls._schema_disk_encryption_set_parameters_read is not None: + _schema.id = cls._schema_disk_encryption_set_parameters_read.id + return + + cls._schema_disk_encryption_set_parameters_read = _schema_disk_encryption_set_parameters_read = AAZObjectType() + + disk_encryption_set_parameters_read = _schema_disk_encryption_set_parameters_read + disk_encryption_set_parameters_read.id = AAZStrType() + + _schema.id = cls._schema_disk_encryption_set_parameters_read.id + + _schema_sub_resource_read = None + + @classmethod + def _build_schema_sub_resource_read(cls, _schema): + if cls._schema_sub_resource_read is not None: + _schema.id = cls._schema_sub_resource_read.id + return + + cls._schema_sub_resource_read = _schema_sub_resource_read = AAZObjectType() + + sub_resource_read = _schema_sub_resource_read + sub_resource_read.id = AAZStrType() + + _schema.id = cls._schema_sub_resource_read.id + + +__all__ = ["Wait"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/sig/image_version/__cmd_group.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/sig/image_version/__cmd_group.py new file mode 100644 index 00000000000..95920e9da1b --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/sig/image_version/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "sig image-version", +) +class __CMDGroup(AAZCommandGroup): + """Manage shared gallery image version with VM + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/sig/image_version/__init__.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/sig/image_version/__init__.py new file mode 100644 index 00000000000..a3559a3f9bb --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/sig/image_version/__init__.py @@ -0,0 +1,13 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._delete import * +from ._list import * diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/sig/image_version/_delete.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/sig/image_version/_delete.py new file mode 100644 index 00000000000..c46d38a0555 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/sig/image_version/_delete.py @@ -0,0 +1,179 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "sig image-version delete", +) +class Delete(AAZCommand): + """Delete a gallery image version. + """ + + _aaz_info = { + "version": "2019-12-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}/versions/{}", "2019-12-01"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.gallery_image_definition = AAZStrArg( + options=["-i", "--gallery-image-name", "--gallery-image-definition"], + help="The name of the gallery image definition in which the Image Version resides.", + required=True, + id_part="child_name_1", + ) + _args_schema.gallery_image_version_name = AAZStrArg( + options=["-e", "--gallery-image-version", "--gallery-image-version-name"], + help="The name of the gallery image version to be deleted.", + required=True, + id_part="child_name_2", + ) + _args_schema.gallery_name = AAZStrArg( + options=["-r", "--gallery-name"], + help="The name of the Shared Image Gallery in which the Image Definition resides.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.GalleryImageVersionsDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class GalleryImageVersionsDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "galleryImageName", self.ctx.args.gallery_image_definition, + required=True, + ), + **self.serialize_url_param( + "galleryImageVersionName", self.ctx.args.gallery_image_version_name, + required=True, + ), + **self.serialize_url_param( + "galleryName", self.ctx.args.gallery_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2019-12-01", + required=True, + ), + } + return parameters + + def on_200(self, session): + pass + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/sig/image_version/_list.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/sig/image_version/_list.py new file mode 100644 index 00000000000..fe9bcf38e51 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/2020_09_01_hybrid/sig/image_version/_list.py @@ -0,0 +1,356 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "sig image-version list", +) +class List(AAZCommand): + """List gallery image versions in a gallery image definition. + """ + + _aaz_info = { + "version": "2019-12-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}/versions", "2019-12-01"], + ] + } + + AZ_SUPPORT_PAGINATION = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.gallery_image_definition = AAZStrArg( + options=["-i", "--gallery-image-name", "--gallery-image-definition"], + help="Gallery image definition.", + required=True, + ) + _args_schema.gallery_name = AAZStrArg( + options=["-r", "--gallery-name"], + help="Gallery name.", + required=True, + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.GalleryImageVersionsListByGalleryImage(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class GalleryImageVersionsListByGalleryImage(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "galleryImageName", self.ctx.args.gallery_image_definition, + required=True, + ), + **self.serialize_url_param( + "galleryName", self.ctx.args.gallery_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2019-12-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.publishing_profile = AAZObjectType( + serialized_name="publishingProfile", + ) + properties.replication_status = AAZObjectType( + serialized_name="replicationStatus", + ) + properties.storage_profile = AAZObjectType( + serialized_name="storageProfile", + flags={"required": True}, + ) + + publishing_profile = cls._schema_on_200.value.Element.properties.publishing_profile + publishing_profile.end_of_life_date = AAZStrType( + serialized_name="endOfLifeDate", + ) + publishing_profile.exclude_from_latest = AAZBoolType( + serialized_name="excludeFromLatest", + ) + publishing_profile.published_date = AAZStrType( + serialized_name="publishedDate", + flags={"read_only": True}, + ) + publishing_profile.replica_count = AAZIntType( + serialized_name="replicaCount", + ) + publishing_profile.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + publishing_profile.target_regions = AAZListType( + serialized_name="targetRegions", + ) + + target_regions = cls._schema_on_200.value.Element.properties.publishing_profile.target_regions + target_regions.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.publishing_profile.target_regions.Element + _element.encryption = AAZObjectType() + _element.name = AAZStrType( + flags={"required": True}, + ) + _element.regional_replica_count = AAZIntType( + serialized_name="regionalReplicaCount", + ) + _element.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + encryption = cls._schema_on_200.value.Element.properties.publishing_profile.target_regions.Element.encryption + encryption.data_disk_images = AAZListType( + serialized_name="dataDiskImages", + ) + encryption.os_disk_image = AAZObjectType( + serialized_name="osDiskImage", + ) + + data_disk_images = cls._schema_on_200.value.Element.properties.publishing_profile.target_regions.Element.encryption.data_disk_images + data_disk_images.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.publishing_profile.target_regions.Element.encryption.data_disk_images.Element + _element.disk_encryption_set_id = AAZStrType( + serialized_name="diskEncryptionSetId", + ) + _element.lun = AAZIntType( + flags={"required": True}, + ) + + os_disk_image = cls._schema_on_200.value.Element.properties.publishing_profile.target_regions.Element.encryption.os_disk_image + os_disk_image.disk_encryption_set_id = AAZStrType( + serialized_name="diskEncryptionSetId", + ) + + replication_status = cls._schema_on_200.value.Element.properties.replication_status + replication_status.aggregated_state = AAZStrType( + serialized_name="aggregatedState", + flags={"read_only": True}, + ) + replication_status.summary = AAZListType( + flags={"read_only": True}, + ) + + summary = cls._schema_on_200.value.Element.properties.replication_status.summary + summary.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.replication_status.summary.Element + _element.details = AAZStrType( + flags={"read_only": True}, + ) + _element.progress = AAZIntType( + flags={"read_only": True}, + ) + _element.region = AAZStrType( + flags={"read_only": True}, + ) + _element.state = AAZStrType( + flags={"read_only": True}, + ) + + storage_profile = cls._schema_on_200.value.Element.properties.storage_profile + storage_profile.data_disk_images = AAZListType( + serialized_name="dataDiskImages", + ) + storage_profile.os_disk_image = AAZObjectType( + serialized_name="osDiskImage", + ) + storage_profile.source = AAZObjectType() + _ListHelper._build_schema_gallery_artifact_version_source_read(storage_profile.source) + + data_disk_images = cls._schema_on_200.value.Element.properties.storage_profile.data_disk_images + data_disk_images.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.storage_profile.data_disk_images.Element + _element.host_caching = AAZStrType( + serialized_name="hostCaching", + ) + _element.lun = AAZIntType( + flags={"required": True}, + ) + _element.size_in_gb = AAZIntType( + serialized_name="sizeInGB", + flags={"read_only": True}, + ) + _element.source = AAZObjectType() + _ListHelper._build_schema_gallery_artifact_version_source_read(_element.source) + + os_disk_image = cls._schema_on_200.value.Element.properties.storage_profile.os_disk_image + os_disk_image.host_caching = AAZStrType( + serialized_name="hostCaching", + ) + os_disk_image.size_in_gb = AAZIntType( + serialized_name="sizeInGB", + flags={"read_only": True}, + ) + os_disk_image.source = AAZObjectType() + _ListHelper._build_schema_gallery_artifact_version_source_read(os_disk_image.source) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + _schema_gallery_artifact_version_source_read = None + + @classmethod + def _build_schema_gallery_artifact_version_source_read(cls, _schema): + if cls._schema_gallery_artifact_version_source_read is not None: + _schema.id = cls._schema_gallery_artifact_version_source_read.id + return + + cls._schema_gallery_artifact_version_source_read = _schema_gallery_artifact_version_source_read = AAZObjectType() + + gallery_artifact_version_source_read = _schema_gallery_artifact_version_source_read + gallery_artifact_version_source_read.id = AAZStrType() + + _schema.id = cls._schema_gallery_artifact_version_source_read.id + + +__all__ = ["List"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/__cmd_group.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/__cmd_group.py new file mode 100644 index 00000000000..678c2a6612c --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "disk-encryption-set", +) +class __CMDGroup(AAZCommandGroup): + """Disk Encryption Set resource. + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/__init__.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/__init__.py new file mode 100644 index 00000000000..1728edfba0b --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/__init__.py @@ -0,0 +1,16 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._delete import * +from ._list import * +from ._list_associated_resources import * +from ._show import * +from ._wait import * diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/_delete.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/_delete.py new file mode 100644 index 00000000000..5f7a7e930ce --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/_delete.py @@ -0,0 +1,162 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "disk-encryption-set delete", +) +class Delete(AAZCommand): + """Delete a disk encryption set. + + :example: Delete a disk encryption set. + az disk-encryption-set delete --name MyDiskEncryptionSet --resource-group MyResourceGroup + """ + + _aaz_info = { + "version": "2022-03-02", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets/{}", "2022-03-02"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.disk_encryption_set_name = AAZStrArg( + options=["-n", "--name", "--disk-encryption-set-name"], + help="Name of disk encryption set.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.DiskEncryptionSetsDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class DiskEncryptionSetsDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "diskEncryptionSetName", self.ctx.args.disk_encryption_set_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2022-03-02", + required=True, + ), + } + return parameters + + def on_200(self, session): + pass + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/_list.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/_list.py new file mode 100644 index 00000000000..eca18c71a56 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/_list.py @@ -0,0 +1,484 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "disk-encryption-set list", +) +class List(AAZCommand): + """List disk encryption sets. + """ + + _aaz_info = { + "version": "2022-03-02", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.compute/diskencryptionsets", "2022-03-02"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets", "2022-03-02"], + ] + } + + AZ_SUPPORT_PAGINATION = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg() + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + condition_0 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + condition_1 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) + if condition_0: + self.DiskEncryptionSetsList(ctx=self.ctx)() + if condition_1: + self.DiskEncryptionSetsListByResourceGroup(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class DiskEncryptionSetsList(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskEncryptionSets", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2022-03-02", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.identity = AAZObjectType() + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + identity = cls._schema_on_200.value.Element.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType() + identity.user_assigned_identities = AAZDictType( + serialized_name="userAssignedIdentities", + ) + + user_assigned_identities = cls._schema_on_200.value.Element.identity.user_assigned_identities + user_assigned_identities.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.identity.user_assigned_identities.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + _element.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.active_key = AAZObjectType( + serialized_name="activeKey", + ) + _ListHelper._build_schema_key_for_disk_encryption_set_read(properties.active_key) + properties.auto_key_rotation_error = AAZObjectType( + serialized_name="autoKeyRotationError", + ) + _ListHelper._build_schema_api_error_read(properties.auto_key_rotation_error) + properties.encryption_type = AAZStrType( + serialized_name="encryptionType", + ) + properties.federated_client_id = AAZStrType( + serialized_name="federatedClientId", + ) + properties.last_key_rotation_timestamp = AAZStrType( + serialized_name="lastKeyRotationTimestamp", + flags={"read_only": True}, + ) + properties.previous_keys = AAZListType( + serialized_name="previousKeys", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.rotation_to_latest_key_version_enabled = AAZBoolType( + serialized_name="rotationToLatestKeyVersionEnabled", + ) + + previous_keys = cls._schema_on_200.value.Element.properties.previous_keys + previous_keys.Element = AAZObjectType() + _ListHelper._build_schema_key_for_disk_encryption_set_read(previous_keys.Element) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + class DiskEncryptionSetsListByResourceGroup(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2022-03-02", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.identity = AAZObjectType() + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + identity = cls._schema_on_200.value.Element.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType() + identity.user_assigned_identities = AAZDictType( + serialized_name="userAssignedIdentities", + ) + + user_assigned_identities = cls._schema_on_200.value.Element.identity.user_assigned_identities + user_assigned_identities.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.identity.user_assigned_identities.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + _element.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.active_key = AAZObjectType( + serialized_name="activeKey", + ) + _ListHelper._build_schema_key_for_disk_encryption_set_read(properties.active_key) + properties.auto_key_rotation_error = AAZObjectType( + serialized_name="autoKeyRotationError", + ) + _ListHelper._build_schema_api_error_read(properties.auto_key_rotation_error) + properties.encryption_type = AAZStrType( + serialized_name="encryptionType", + ) + properties.federated_client_id = AAZStrType( + serialized_name="federatedClientId", + ) + properties.last_key_rotation_timestamp = AAZStrType( + serialized_name="lastKeyRotationTimestamp", + flags={"read_only": True}, + ) + properties.previous_keys = AAZListType( + serialized_name="previousKeys", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.rotation_to_latest_key_version_enabled = AAZBoolType( + serialized_name="rotationToLatestKeyVersionEnabled", + ) + + previous_keys = cls._schema_on_200.value.Element.properties.previous_keys + previous_keys.Element = AAZObjectType() + _ListHelper._build_schema_key_for_disk_encryption_set_read(previous_keys.Element) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + _schema_api_error_read = None + + @classmethod + def _build_schema_api_error_read(cls, _schema): + if cls._schema_api_error_read is not None: + _schema.code = cls._schema_api_error_read.code + _schema.details = cls._schema_api_error_read.details + _schema.innererror = cls._schema_api_error_read.innererror + _schema.message = cls._schema_api_error_read.message + _schema.target = cls._schema_api_error_read.target + return + + cls._schema_api_error_read = _schema_api_error_read = AAZObjectType() + + api_error_read = _schema_api_error_read + api_error_read.code = AAZStrType() + api_error_read.details = AAZListType() + api_error_read.innererror = AAZObjectType() + api_error_read.message = AAZStrType() + api_error_read.target = AAZStrType() + + details = _schema_api_error_read.details + details.Element = AAZObjectType() + + _element = _schema_api_error_read.details.Element + _element.code = AAZStrType() + _element.message = AAZStrType() + _element.target = AAZStrType() + + innererror = _schema_api_error_read.innererror + innererror.errordetail = AAZStrType() + innererror.exceptiontype = AAZStrType() + + _schema.code = cls._schema_api_error_read.code + _schema.details = cls._schema_api_error_read.details + _schema.innererror = cls._schema_api_error_read.innererror + _schema.message = cls._schema_api_error_read.message + _schema.target = cls._schema_api_error_read.target + + _schema_key_for_disk_encryption_set_read = None + + @classmethod + def _build_schema_key_for_disk_encryption_set_read(cls, _schema): + if cls._schema_key_for_disk_encryption_set_read is not None: + _schema.key_url = cls._schema_key_for_disk_encryption_set_read.key_url + _schema.source_vault = cls._schema_key_for_disk_encryption_set_read.source_vault + return + + cls._schema_key_for_disk_encryption_set_read = _schema_key_for_disk_encryption_set_read = AAZObjectType() + + key_for_disk_encryption_set_read = _schema_key_for_disk_encryption_set_read + key_for_disk_encryption_set_read.key_url = AAZStrType( + serialized_name="keyUrl", + flags={"required": True}, + ) + key_for_disk_encryption_set_read.source_vault = AAZObjectType( + serialized_name="sourceVault", + ) + + source_vault = _schema_key_for_disk_encryption_set_read.source_vault + source_vault.id = AAZStrType() + + _schema.key_url = cls._schema_key_for_disk_encryption_set_read.key_url + _schema.source_vault = cls._schema_key_for_disk_encryption_set_read.source_vault + + +__all__ = ["List"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/_list_associated_resources.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/_list_associated_resources.py new file mode 100644 index 00000000000..c885957dff4 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/_list_associated_resources.py @@ -0,0 +1,171 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "disk-encryption-set list-associated-resources", +) +class ListAssociatedResources(AAZCommand): + """List all resources that are encrypted with this disk encryption set. + """ + + _aaz_info = { + "version": "2022-03-02", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets/{}/associatedresources", "2022-03-02"], + ] + } + + AZ_SUPPORT_PAGINATION = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.disk_encryption_set_name = AAZStrArg( + options=["-n", "--name", "--disk-encryption-set-name"], + help="Name of disk encryption set.", + required=True, + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.DiskEncryptionSetsListAssociatedResources(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class DiskEncryptionSetsListAssociatedResources(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}/associatedResources", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "diskEncryptionSetName", self.ctx.args.disk_encryption_set_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2022-03-02", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListAssociatedResourcesHelper: + """Helper class for ListAssociatedResources""" + + +__all__ = ["ListAssociatedResources"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/_show.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/_show.py new file mode 100644 index 00000000000..0c24580b792 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/_show.py @@ -0,0 +1,311 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "disk-encryption-set show", +) +class Show(AAZCommand): + """Get information about a disk encryption set. + + :example: Get information of a disk encryption sets + az disk-encryption-set show --name MyDiskEncryptionSet --resource-group MyResourceGroup + """ + + _aaz_info = { + "version": "2022-03-02", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets/{}", "2022-03-02"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.disk_encryption_set_name = AAZStrArg( + options=["-n", "--name", "--disk-encryption-set-name"], + help="Name of disk encryption set.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.DiskEncryptionSetsGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class DiskEncryptionSetsGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "diskEncryptionSetName", self.ctx.args.disk_encryption_set_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2022-03-02", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.identity = AAZObjectType() + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + identity = cls._schema_on_200.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType() + identity.user_assigned_identities = AAZDictType( + serialized_name="userAssignedIdentities", + ) + + user_assigned_identities = cls._schema_on_200.identity.user_assigned_identities + user_assigned_identities.Element = AAZObjectType() + + _element = cls._schema_on_200.identity.user_assigned_identities.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + _element.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.active_key = AAZObjectType( + serialized_name="activeKey", + ) + _ShowHelper._build_schema_key_for_disk_encryption_set_read(properties.active_key) + properties.auto_key_rotation_error = AAZObjectType( + serialized_name="autoKeyRotationError", + ) + _ShowHelper._build_schema_api_error_read(properties.auto_key_rotation_error) + properties.encryption_type = AAZStrType( + serialized_name="encryptionType", + ) + properties.federated_client_id = AAZStrType( + serialized_name="federatedClientId", + ) + properties.last_key_rotation_timestamp = AAZStrType( + serialized_name="lastKeyRotationTimestamp", + flags={"read_only": True}, + ) + properties.previous_keys = AAZListType( + serialized_name="previousKeys", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.rotation_to_latest_key_version_enabled = AAZBoolType( + serialized_name="rotationToLatestKeyVersionEnabled", + ) + + previous_keys = cls._schema_on_200.properties.previous_keys + previous_keys.Element = AAZObjectType() + _ShowHelper._build_schema_key_for_disk_encryption_set_read(previous_keys.Element) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + _schema_api_error_read = None + + @classmethod + def _build_schema_api_error_read(cls, _schema): + if cls._schema_api_error_read is not None: + _schema.code = cls._schema_api_error_read.code + _schema.details = cls._schema_api_error_read.details + _schema.innererror = cls._schema_api_error_read.innererror + _schema.message = cls._schema_api_error_read.message + _schema.target = cls._schema_api_error_read.target + return + + cls._schema_api_error_read = _schema_api_error_read = AAZObjectType() + + api_error_read = _schema_api_error_read + api_error_read.code = AAZStrType() + api_error_read.details = AAZListType() + api_error_read.innererror = AAZObjectType() + api_error_read.message = AAZStrType() + api_error_read.target = AAZStrType() + + details = _schema_api_error_read.details + details.Element = AAZObjectType() + + _element = _schema_api_error_read.details.Element + _element.code = AAZStrType() + _element.message = AAZStrType() + _element.target = AAZStrType() + + innererror = _schema_api_error_read.innererror + innererror.errordetail = AAZStrType() + innererror.exceptiontype = AAZStrType() + + _schema.code = cls._schema_api_error_read.code + _schema.details = cls._schema_api_error_read.details + _schema.innererror = cls._schema_api_error_read.innererror + _schema.message = cls._schema_api_error_read.message + _schema.target = cls._schema_api_error_read.target + + _schema_key_for_disk_encryption_set_read = None + + @classmethod + def _build_schema_key_for_disk_encryption_set_read(cls, _schema): + if cls._schema_key_for_disk_encryption_set_read is not None: + _schema.key_url = cls._schema_key_for_disk_encryption_set_read.key_url + _schema.source_vault = cls._schema_key_for_disk_encryption_set_read.source_vault + return + + cls._schema_key_for_disk_encryption_set_read = _schema_key_for_disk_encryption_set_read = AAZObjectType() + + key_for_disk_encryption_set_read = _schema_key_for_disk_encryption_set_read + key_for_disk_encryption_set_read.key_url = AAZStrType( + serialized_name="keyUrl", + flags={"required": True}, + ) + key_for_disk_encryption_set_read.source_vault = AAZObjectType( + serialized_name="sourceVault", + ) + + source_vault = _schema_key_for_disk_encryption_set_read.source_vault + source_vault.id = AAZStrType() + + _schema.key_url = cls._schema_key_for_disk_encryption_set_read.key_url + _schema.source_vault = cls._schema_key_for_disk_encryption_set_read.source_vault + + +__all__ = ["Show"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/_wait.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/_wait.py new file mode 100644 index 00000000000..ae4ca7e75c0 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/disk_encryption_set/_wait.py @@ -0,0 +1,307 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "disk-encryption-set wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/diskencryptionsets/{}", "2022-03-02"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.disk_encryption_set_name = AAZStrArg( + options=["-n", "--name", "--disk-encryption-set-name"], + help="Name of disk encryption set.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.DiskEncryptionSetsGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class DiskEncryptionSetsGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "diskEncryptionSetName", self.ctx.args.disk_encryption_set_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2022-03-02", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.identity = AAZObjectType() + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + identity = cls._schema_on_200.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType() + identity.user_assigned_identities = AAZDictType( + serialized_name="userAssignedIdentities", + ) + + user_assigned_identities = cls._schema_on_200.identity.user_assigned_identities + user_assigned_identities.Element = AAZObjectType() + + _element = cls._schema_on_200.identity.user_assigned_identities.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + _element.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.active_key = AAZObjectType( + serialized_name="activeKey", + ) + _WaitHelper._build_schema_key_for_disk_encryption_set_read(properties.active_key) + properties.auto_key_rotation_error = AAZObjectType( + serialized_name="autoKeyRotationError", + ) + _WaitHelper._build_schema_api_error_read(properties.auto_key_rotation_error) + properties.encryption_type = AAZStrType( + serialized_name="encryptionType", + ) + properties.federated_client_id = AAZStrType( + serialized_name="federatedClientId", + ) + properties.last_key_rotation_timestamp = AAZStrType( + serialized_name="lastKeyRotationTimestamp", + flags={"read_only": True}, + ) + properties.previous_keys = AAZListType( + serialized_name="previousKeys", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.rotation_to_latest_key_version_enabled = AAZBoolType( + serialized_name="rotationToLatestKeyVersionEnabled", + ) + + previous_keys = cls._schema_on_200.properties.previous_keys + previous_keys.Element = AAZObjectType() + _WaitHelper._build_schema_key_for_disk_encryption_set_read(previous_keys.Element) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + _schema_api_error_read = None + + @classmethod + def _build_schema_api_error_read(cls, _schema): + if cls._schema_api_error_read is not None: + _schema.code = cls._schema_api_error_read.code + _schema.details = cls._schema_api_error_read.details + _schema.innererror = cls._schema_api_error_read.innererror + _schema.message = cls._schema_api_error_read.message + _schema.target = cls._schema_api_error_read.target + return + + cls._schema_api_error_read = _schema_api_error_read = AAZObjectType() + + api_error_read = _schema_api_error_read + api_error_read.code = AAZStrType() + api_error_read.details = AAZListType() + api_error_read.innererror = AAZObjectType() + api_error_read.message = AAZStrType() + api_error_read.target = AAZStrType() + + details = _schema_api_error_read.details + details.Element = AAZObjectType() + + _element = _schema_api_error_read.details.Element + _element.code = AAZStrType() + _element.message = AAZStrType() + _element.target = AAZStrType() + + innererror = _schema_api_error_read.innererror + innererror.errordetail = AAZStrType() + innererror.exceptiontype = AAZStrType() + + _schema.code = cls._schema_api_error_read.code + _schema.details = cls._schema_api_error_read.details + _schema.innererror = cls._schema_api_error_read.innererror + _schema.message = cls._schema_api_error_read.message + _schema.target = cls._schema_api_error_read.target + + _schema_key_for_disk_encryption_set_read = None + + @classmethod + def _build_schema_key_for_disk_encryption_set_read(cls, _schema): + if cls._schema_key_for_disk_encryption_set_read is not None: + _schema.key_url = cls._schema_key_for_disk_encryption_set_read.key_url + _schema.source_vault = cls._schema_key_for_disk_encryption_set_read.source_vault + return + + cls._schema_key_for_disk_encryption_set_read = _schema_key_for_disk_encryption_set_read = AAZObjectType() + + key_for_disk_encryption_set_read = _schema_key_for_disk_encryption_set_read + key_for_disk_encryption_set_read.key_url = AAZStrType( + serialized_name="keyUrl", + flags={"required": True}, + ) + key_for_disk_encryption_set_read.source_vault = AAZObjectType( + serialized_name="sourceVault", + ) + + source_vault = _schema_key_for_disk_encryption_set_read.source_vault + source_vault.id = AAZStrType() + + _schema.key_url = cls._schema_key_for_disk_encryption_set_read.key_url + _schema.source_vault = cls._schema_key_for_disk_encryption_set_read.source_vault + + +__all__ = ["Wait"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/image/__init__.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/image/__init__.py index 5a9d61963d6..f68091245a7 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/image/__init__.py +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/image/__init__.py @@ -9,3 +9,7 @@ # flake8: noqa from .__cmd_group import * +from ._delete import * +from ._list import * +from ._show import * +from ._wait import * diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/image/_delete.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/image/_delete.py new file mode 100644 index 00000000000..981a78f042f --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/image/_delete.py @@ -0,0 +1,159 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "image delete", +) +class Delete(AAZCommand): + """Delete an Image. + """ + + _aaz_info = { + "version": "2022-11-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/images/{}", "2022-11-01"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.image_name = AAZStrArg( + options=["-n", "--name", "--image-name"], + help="The name of the image.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.ImagesDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class ImagesDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "imageName", self.ctx.args.image_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2022-11-01", + required=True, + ), + } + return parameters + + def on_200(self, session): + pass + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/image/_list.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/image/_list.py new file mode 100644 index 00000000000..a0510508a69 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/image/_list.py @@ -0,0 +1,507 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "image list", +) +class List(AAZCommand): + """List the list of images under a resource group. + """ + + _aaz_info = { + "version": "2022-11-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.compute/images", "2022-11-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/images", "2022-11-01"], + ] + } + + AZ_SUPPORT_PAGINATION = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg() + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + condition_0 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + condition_1 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) + if condition_0: + self.ImagesList(ctx=self.ctx)() + if condition_1: + self.ImagesListByResourceGroup(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class ImagesList(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/images", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2022-11-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.extended_location = AAZObjectType( + serialized_name="extendedLocation", + ) + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + extended_location = cls._schema_on_200.value.Element.extended_location + extended_location.name = AAZStrType() + extended_location.type = AAZStrType() + + properties = cls._schema_on_200.value.Element.properties + properties.hyper_v_generation = AAZStrType( + serialized_name="hyperVGeneration", + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.source_virtual_machine = AAZObjectType( + serialized_name="sourceVirtualMachine", + ) + _ListHelper._build_schema_sub_resource_read(properties.source_virtual_machine) + properties.storage_profile = AAZObjectType( + serialized_name="storageProfile", + ) + + storage_profile = cls._schema_on_200.value.Element.properties.storage_profile + storage_profile.data_disks = AAZListType( + serialized_name="dataDisks", + ) + storage_profile.os_disk = AAZObjectType( + serialized_name="osDisk", + ) + storage_profile.zone_resilient = AAZBoolType( + serialized_name="zoneResilient", + ) + + data_disks = cls._schema_on_200.value.Element.properties.storage_profile.data_disks + data_disks.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.storage_profile.data_disks.Element + _element.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + _element.caching = AAZStrType() + _element.disk_encryption_set = AAZObjectType( + serialized_name="diskEncryptionSet", + ) + _ListHelper._build_schema_disk_encryption_set_parameters_read(_element.disk_encryption_set) + _element.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + _element.lun = AAZIntType( + flags={"required": True}, + ) + _element.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ListHelper._build_schema_sub_resource_read(_element.managed_disk) + _element.snapshot = AAZObjectType() + _ListHelper._build_schema_sub_resource_read(_element.snapshot) + _element.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + os_disk = cls._schema_on_200.value.Element.properties.storage_profile.os_disk + os_disk.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + os_disk.caching = AAZStrType() + os_disk.disk_encryption_set = AAZObjectType( + serialized_name="diskEncryptionSet", + ) + _ListHelper._build_schema_disk_encryption_set_parameters_read(os_disk.disk_encryption_set) + os_disk.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + os_disk.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ListHelper._build_schema_sub_resource_read(os_disk.managed_disk) + os_disk.os_state = AAZStrType( + serialized_name="osState", + flags={"required": True}, + ) + os_disk.os_type = AAZStrType( + serialized_name="osType", + flags={"required": True}, + ) + os_disk.snapshot = AAZObjectType() + _ListHelper._build_schema_sub_resource_read(os_disk.snapshot) + os_disk.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + class ImagesListByResourceGroup(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2022-11-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.extended_location = AAZObjectType( + serialized_name="extendedLocation", + ) + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + extended_location = cls._schema_on_200.value.Element.extended_location + extended_location.name = AAZStrType() + extended_location.type = AAZStrType() + + properties = cls._schema_on_200.value.Element.properties + properties.hyper_v_generation = AAZStrType( + serialized_name="hyperVGeneration", + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.source_virtual_machine = AAZObjectType( + serialized_name="sourceVirtualMachine", + ) + _ListHelper._build_schema_sub_resource_read(properties.source_virtual_machine) + properties.storage_profile = AAZObjectType( + serialized_name="storageProfile", + ) + + storage_profile = cls._schema_on_200.value.Element.properties.storage_profile + storage_profile.data_disks = AAZListType( + serialized_name="dataDisks", + ) + storage_profile.os_disk = AAZObjectType( + serialized_name="osDisk", + ) + storage_profile.zone_resilient = AAZBoolType( + serialized_name="zoneResilient", + ) + + data_disks = cls._schema_on_200.value.Element.properties.storage_profile.data_disks + data_disks.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.storage_profile.data_disks.Element + _element.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + _element.caching = AAZStrType() + _element.disk_encryption_set = AAZObjectType( + serialized_name="diskEncryptionSet", + ) + _ListHelper._build_schema_disk_encryption_set_parameters_read(_element.disk_encryption_set) + _element.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + _element.lun = AAZIntType( + flags={"required": True}, + ) + _element.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ListHelper._build_schema_sub_resource_read(_element.managed_disk) + _element.snapshot = AAZObjectType() + _ListHelper._build_schema_sub_resource_read(_element.snapshot) + _element.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + os_disk = cls._schema_on_200.value.Element.properties.storage_profile.os_disk + os_disk.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + os_disk.caching = AAZStrType() + os_disk.disk_encryption_set = AAZObjectType( + serialized_name="diskEncryptionSet", + ) + _ListHelper._build_schema_disk_encryption_set_parameters_read(os_disk.disk_encryption_set) + os_disk.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + os_disk.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ListHelper._build_schema_sub_resource_read(os_disk.managed_disk) + os_disk.os_state = AAZStrType( + serialized_name="osState", + flags={"required": True}, + ) + os_disk.os_type = AAZStrType( + serialized_name="osType", + flags={"required": True}, + ) + os_disk.snapshot = AAZObjectType() + _ListHelper._build_schema_sub_resource_read(os_disk.snapshot) + os_disk.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + _schema_disk_encryption_set_parameters_read = None + + @classmethod + def _build_schema_disk_encryption_set_parameters_read(cls, _schema): + if cls._schema_disk_encryption_set_parameters_read is not None: + _schema.id = cls._schema_disk_encryption_set_parameters_read.id + return + + cls._schema_disk_encryption_set_parameters_read = _schema_disk_encryption_set_parameters_read = AAZObjectType() + + disk_encryption_set_parameters_read = _schema_disk_encryption_set_parameters_read + disk_encryption_set_parameters_read.id = AAZStrType() + + _schema.id = cls._schema_disk_encryption_set_parameters_read.id + + _schema_sub_resource_read = None + + @classmethod + def _build_schema_sub_resource_read(cls, _schema): + if cls._schema_sub_resource_read is not None: + _schema.id = cls._schema_sub_resource_read.id + return + + cls._schema_sub_resource_read = _schema_sub_resource_read = AAZObjectType() + + sub_resource_read = _schema_sub_resource_read + sub_resource_read.id = AAZStrType() + + _schema.id = cls._schema_sub_resource_read.id + + +__all__ = ["List"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/image/_show.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/image/_show.py new file mode 100644 index 00000000000..b12ea3009b4 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/image/_show.py @@ -0,0 +1,309 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "image show", +) +class Show(AAZCommand): + """Get an image. + """ + + _aaz_info = { + "version": "2022-11-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/images/{}", "2022-11-01"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.image_name = AAZStrArg( + options=["-n", "--name", "--image-name"], + help="The name of the image.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + _args_schema.expand = AAZStrArg( + options=["--expand"], + help="The expand expression to apply on the operation.", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.ImagesGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class ImagesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "imageName", self.ctx.args.image_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "$expand", self.ctx.args.expand, + ), + **self.serialize_query_param( + "api-version", "2022-11-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.extended_location = AAZObjectType( + serialized_name="extendedLocation", + ) + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + extended_location = cls._schema_on_200.extended_location + extended_location.name = AAZStrType() + extended_location.type = AAZStrType() + + properties = cls._schema_on_200.properties + properties.hyper_v_generation = AAZStrType( + serialized_name="hyperVGeneration", + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.source_virtual_machine = AAZObjectType( + serialized_name="sourceVirtualMachine", + ) + _ShowHelper._build_schema_sub_resource_read(properties.source_virtual_machine) + properties.storage_profile = AAZObjectType( + serialized_name="storageProfile", + ) + + storage_profile = cls._schema_on_200.properties.storage_profile + storage_profile.data_disks = AAZListType( + serialized_name="dataDisks", + ) + storage_profile.os_disk = AAZObjectType( + serialized_name="osDisk", + ) + storage_profile.zone_resilient = AAZBoolType( + serialized_name="zoneResilient", + ) + + data_disks = cls._schema_on_200.properties.storage_profile.data_disks + data_disks.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.storage_profile.data_disks.Element + _element.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + _element.caching = AAZStrType() + _element.disk_encryption_set = AAZObjectType( + serialized_name="diskEncryptionSet", + ) + _ShowHelper._build_schema_disk_encryption_set_parameters_read(_element.disk_encryption_set) + _element.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + _element.lun = AAZIntType( + flags={"required": True}, + ) + _element.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ShowHelper._build_schema_sub_resource_read(_element.managed_disk) + _element.snapshot = AAZObjectType() + _ShowHelper._build_schema_sub_resource_read(_element.snapshot) + _element.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + os_disk = cls._schema_on_200.properties.storage_profile.os_disk + os_disk.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + os_disk.caching = AAZStrType() + os_disk.disk_encryption_set = AAZObjectType( + serialized_name="diskEncryptionSet", + ) + _ShowHelper._build_schema_disk_encryption_set_parameters_read(os_disk.disk_encryption_set) + os_disk.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + os_disk.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _ShowHelper._build_schema_sub_resource_read(os_disk.managed_disk) + os_disk.os_state = AAZStrType( + serialized_name="osState", + flags={"required": True}, + ) + os_disk.os_type = AAZStrType( + serialized_name="osType", + flags={"required": True}, + ) + os_disk.snapshot = AAZObjectType() + _ShowHelper._build_schema_sub_resource_read(os_disk.snapshot) + os_disk.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + _schema_disk_encryption_set_parameters_read = None + + @classmethod + def _build_schema_disk_encryption_set_parameters_read(cls, _schema): + if cls._schema_disk_encryption_set_parameters_read is not None: + _schema.id = cls._schema_disk_encryption_set_parameters_read.id + return + + cls._schema_disk_encryption_set_parameters_read = _schema_disk_encryption_set_parameters_read = AAZObjectType() + + disk_encryption_set_parameters_read = _schema_disk_encryption_set_parameters_read + disk_encryption_set_parameters_read.id = AAZStrType() + + _schema.id = cls._schema_disk_encryption_set_parameters_read.id + + _schema_sub_resource_read = None + + @classmethod + def _build_schema_sub_resource_read(cls, _schema): + if cls._schema_sub_resource_read is not None: + _schema.id = cls._schema_sub_resource_read.id + return + + cls._schema_sub_resource_read = _schema_sub_resource_read = AAZObjectType() + + sub_resource_read = _schema_sub_resource_read + sub_resource_read.id = AAZStrType() + + _schema.id = cls._schema_sub_resource_read.id + + +__all__ = ["Show"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/image/_wait.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/image/_wait.py new file mode 100644 index 00000000000..b649d5f1cc6 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/image/_wait.py @@ -0,0 +1,308 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "image wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/images/{}", "2022-11-01"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.image_name = AAZStrArg( + options=["-n", "--name", "--image-name"], + help="The name of the image.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + _args_schema.expand = AAZStrArg( + options=["--expand"], + help="The expand expression to apply on the operation.", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.ImagesGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class ImagesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "imageName", self.ctx.args.image_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "$expand", self.ctx.args.expand, + ), + **self.serialize_query_param( + "api-version", "2022-11-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.extended_location = AAZObjectType( + serialized_name="extendedLocation", + ) + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + extended_location = cls._schema_on_200.extended_location + extended_location.name = AAZStrType() + extended_location.type = AAZStrType() + + properties = cls._schema_on_200.properties + properties.hyper_v_generation = AAZStrType( + serialized_name="hyperVGeneration", + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.source_virtual_machine = AAZObjectType( + serialized_name="sourceVirtualMachine", + ) + _WaitHelper._build_schema_sub_resource_read(properties.source_virtual_machine) + properties.storage_profile = AAZObjectType( + serialized_name="storageProfile", + ) + + storage_profile = cls._schema_on_200.properties.storage_profile + storage_profile.data_disks = AAZListType( + serialized_name="dataDisks", + ) + storage_profile.os_disk = AAZObjectType( + serialized_name="osDisk", + ) + storage_profile.zone_resilient = AAZBoolType( + serialized_name="zoneResilient", + ) + + data_disks = cls._schema_on_200.properties.storage_profile.data_disks + data_disks.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.storage_profile.data_disks.Element + _element.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + _element.caching = AAZStrType() + _element.disk_encryption_set = AAZObjectType( + serialized_name="diskEncryptionSet", + ) + _WaitHelper._build_schema_disk_encryption_set_parameters_read(_element.disk_encryption_set) + _element.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + _element.lun = AAZIntType( + flags={"required": True}, + ) + _element.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _WaitHelper._build_schema_sub_resource_read(_element.managed_disk) + _element.snapshot = AAZObjectType() + _WaitHelper._build_schema_sub_resource_read(_element.snapshot) + _element.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + os_disk = cls._schema_on_200.properties.storage_profile.os_disk + os_disk.blob_uri = AAZStrType( + serialized_name="blobUri", + ) + os_disk.caching = AAZStrType() + os_disk.disk_encryption_set = AAZObjectType( + serialized_name="diskEncryptionSet", + ) + _WaitHelper._build_schema_disk_encryption_set_parameters_read(os_disk.disk_encryption_set) + os_disk.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + ) + os_disk.managed_disk = AAZObjectType( + serialized_name="managedDisk", + ) + _WaitHelper._build_schema_sub_resource_read(os_disk.managed_disk) + os_disk.os_state = AAZStrType( + serialized_name="osState", + flags={"required": True}, + ) + os_disk.os_type = AAZStrType( + serialized_name="osType", + flags={"required": True}, + ) + os_disk.snapshot = AAZObjectType() + _WaitHelper._build_schema_sub_resource_read(os_disk.snapshot) + os_disk.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + _schema_disk_encryption_set_parameters_read = None + + @classmethod + def _build_schema_disk_encryption_set_parameters_read(cls, _schema): + if cls._schema_disk_encryption_set_parameters_read is not None: + _schema.id = cls._schema_disk_encryption_set_parameters_read.id + return + + cls._schema_disk_encryption_set_parameters_read = _schema_disk_encryption_set_parameters_read = AAZObjectType() + + disk_encryption_set_parameters_read = _schema_disk_encryption_set_parameters_read + disk_encryption_set_parameters_read.id = AAZStrType() + + _schema.id = cls._schema_disk_encryption_set_parameters_read.id + + _schema_sub_resource_read = None + + @classmethod + def _build_schema_sub_resource_read(cls, _schema): + if cls._schema_sub_resource_read is not None: + _schema.id = cls._schema_sub_resource_read.id + return + + cls._schema_sub_resource_read = _schema_sub_resource_read = AAZObjectType() + + sub_resource_read = _schema_sub_resource_read + sub_resource_read.id = AAZStrType() + + _schema.id = cls._schema_sub_resource_read.id + + +__all__ = ["Wait"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/__cmd_group.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/__cmd_group.py new file mode 100644 index 00000000000..95920e9da1b --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "sig image-version", +) +class __CMDGroup(AAZCommandGroup): + """Manage shared gallery image version with VM + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/__init__.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/__init__.py new file mode 100644 index 00000000000..48314b3d556 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/__init__.py @@ -0,0 +1,15 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._delete import * +from ._list import * +from ._show_community import * +from ._show_shared import * diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/_delete.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/_delete.py new file mode 100644 index 00000000000..d16200da821 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/_delete.py @@ -0,0 +1,179 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "sig image-version delete", +) +class Delete(AAZCommand): + """Delete a gallery image version. + """ + + _aaz_info = { + "version": "2022-03-03", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}/versions/{}", "2022-03-03"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.gallery_image_definition = AAZStrArg( + options=["-i", "--gallery-image-name", "--gallery-image-definition"], + help="The name of the gallery image definition in which the Image Version resides.", + required=True, + id_part="child_name_1", + ) + _args_schema.gallery_image_version_name = AAZStrArg( + options=["-e", "--gallery-image-version", "--gallery-image-version-name"], + help="The name of the gallery image version to be deleted.", + required=True, + id_part="child_name_2", + ) + _args_schema.gallery_name = AAZStrArg( + options=["-r", "--gallery-name"], + help="The name of the Shared Image Gallery in which the Image Definition resides.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.GalleryImageVersionsDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class GalleryImageVersionsDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "galleryImageName", self.ctx.args.gallery_image_definition, + required=True, + ), + **self.serialize_url_param( + "galleryImageVersionName", self.ctx.args.gallery_image_version_name, + required=True, + ), + **self.serialize_url_param( + "galleryName", self.ctx.args.gallery_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2022-03-03", + required=True, + ), + } + return parameters + + def on_200(self, session): + pass + + def on_204(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/_list.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/_list.py new file mode 100644 index 00000000000..1f7389eef73 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/_list.py @@ -0,0 +1,448 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "sig image-version list", +) +class List(AAZCommand): + """List gallery image versions in a gallery image definition. + """ + + _aaz_info = { + "version": "2022-03-03", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{}/images/{}/versions", "2022-03-03"], + ] + } + + AZ_SUPPORT_PAGINATION = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.gallery_image_definition = AAZStrArg( + options=["-i", "--gallery-image-name", "--gallery-image-definition"], + help="Gallery image definition.", + required=True, + ) + _args_schema.gallery_name = AAZStrArg( + options=["-r", "--gallery-name"], + help="Gallery name.", + required=True, + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.GalleryImageVersionsListByGalleryImage(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class GalleryImageVersionsListByGalleryImage(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "galleryImageName", self.ctx.args.gallery_image_definition, + required=True, + ), + **self.serialize_url_param( + "galleryName", self.ctx.args.gallery_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2022-03-03", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.publishing_profile = AAZObjectType( + serialized_name="publishingProfile", + ) + properties.replication_status = AAZObjectType( + serialized_name="replicationStatus", + ) + properties.safety_profile = AAZObjectType( + serialized_name="safetyProfile", + ) + properties.storage_profile = AAZObjectType( + serialized_name="storageProfile", + flags={"required": True}, + ) + + publishing_profile = cls._schema_on_200.value.Element.properties.publishing_profile + publishing_profile.end_of_life_date = AAZStrType( + serialized_name="endOfLifeDate", + ) + publishing_profile.exclude_from_latest = AAZBoolType( + serialized_name="excludeFromLatest", + ) + publishing_profile.published_date = AAZStrType( + serialized_name="publishedDate", + flags={"read_only": True}, + ) + publishing_profile.replica_count = AAZIntType( + serialized_name="replicaCount", + ) + publishing_profile.replication_mode = AAZStrType( + serialized_name="replicationMode", + ) + publishing_profile.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + publishing_profile.target_extended_locations = AAZListType( + serialized_name="targetExtendedLocations", + ) + publishing_profile.target_regions = AAZListType( + serialized_name="targetRegions", + ) + + target_extended_locations = cls._schema_on_200.value.Element.properties.publishing_profile.target_extended_locations + target_extended_locations.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.publishing_profile.target_extended_locations.Element + _element.encryption = AAZObjectType() + _ListHelper._build_schema_encryption_images_read(_element.encryption) + _element.extended_location = AAZObjectType( + serialized_name="extendedLocation", + ) + _element.extended_location_replica_count = AAZIntType( + serialized_name="extendedLocationReplicaCount", + ) + _element.name = AAZStrType() + _element.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + extended_location = cls._schema_on_200.value.Element.properties.publishing_profile.target_extended_locations.Element.extended_location + extended_location.name = AAZStrType() + extended_location.type = AAZStrType() + + target_regions = cls._schema_on_200.value.Element.properties.publishing_profile.target_regions + target_regions.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.publishing_profile.target_regions.Element + _element.encryption = AAZObjectType() + _ListHelper._build_schema_encryption_images_read(_element.encryption) + _element.exclude_from_latest = AAZBoolType( + serialized_name="excludeFromLatest", + ) + _element.name = AAZStrType( + flags={"required": True}, + ) + _element.regional_replica_count = AAZIntType( + serialized_name="regionalReplicaCount", + ) + _element.storage_account_type = AAZStrType( + serialized_name="storageAccountType", + ) + + replication_status = cls._schema_on_200.value.Element.properties.replication_status + replication_status.aggregated_state = AAZStrType( + serialized_name="aggregatedState", + flags={"read_only": True}, + ) + replication_status.summary = AAZListType( + flags={"read_only": True}, + ) + + summary = cls._schema_on_200.value.Element.properties.replication_status.summary + summary.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.replication_status.summary.Element + _element.details = AAZStrType( + flags={"read_only": True}, + ) + _element.progress = AAZIntType( + flags={"read_only": True}, + ) + _element.region = AAZStrType( + flags={"read_only": True}, + ) + _element.state = AAZStrType( + flags={"read_only": True}, + ) + + safety_profile = cls._schema_on_200.value.Element.properties.safety_profile + safety_profile.allow_deletion_of_replicated_locations = AAZBoolType( + serialized_name="allowDeletionOfReplicatedLocations", + ) + safety_profile.policy_violations = AAZListType( + serialized_name="policyViolations", + flags={"read_only": True}, + ) + safety_profile.reported_for_policy_violation = AAZBoolType( + serialized_name="reportedForPolicyViolation", + flags={"read_only": True}, + ) + + policy_violations = cls._schema_on_200.value.Element.properties.safety_profile.policy_violations + policy_violations.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.safety_profile.policy_violations.Element + _element.category = AAZStrType() + _element.details = AAZStrType() + + storage_profile = cls._schema_on_200.value.Element.properties.storage_profile + storage_profile.data_disk_images = AAZListType( + serialized_name="dataDiskImages", + ) + storage_profile.os_disk_image = AAZObjectType( + serialized_name="osDiskImage", + ) + storage_profile.source = AAZObjectType() + + data_disk_images = cls._schema_on_200.value.Element.properties.storage_profile.data_disk_images + data_disk_images.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.storage_profile.data_disk_images.Element + _element.host_caching = AAZStrType( + serialized_name="hostCaching", + ) + _element.lun = AAZIntType( + flags={"required": True}, + ) + _element.size_in_gb = AAZIntType( + serialized_name="sizeInGB", + flags={"read_only": True}, + ) + _element.source = AAZObjectType() + _ListHelper._build_schema_gallery_disk_image_source_read(_element.source) + + os_disk_image = cls._schema_on_200.value.Element.properties.storage_profile.os_disk_image + os_disk_image.host_caching = AAZStrType( + serialized_name="hostCaching", + ) + os_disk_image.size_in_gb = AAZIntType( + serialized_name="sizeInGB", + flags={"read_only": True}, + ) + os_disk_image.source = AAZObjectType() + _ListHelper._build_schema_gallery_disk_image_source_read(os_disk_image.source) + + source = cls._schema_on_200.value.Element.properties.storage_profile.source + source.community_gallery_image_id = AAZStrType( + serialized_name="communityGalleryImageId", + ) + source.id = AAZStrType() + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + _schema_encryption_images_read = None + + @classmethod + def _build_schema_encryption_images_read(cls, _schema): + if cls._schema_encryption_images_read is not None: + _schema.data_disk_images = cls._schema_encryption_images_read.data_disk_images + _schema.os_disk_image = cls._schema_encryption_images_read.os_disk_image + return + + cls._schema_encryption_images_read = _schema_encryption_images_read = AAZObjectType() + + encryption_images_read = _schema_encryption_images_read + encryption_images_read.data_disk_images = AAZListType( + serialized_name="dataDiskImages", + ) + encryption_images_read.os_disk_image = AAZObjectType( + serialized_name="osDiskImage", + ) + + data_disk_images = _schema_encryption_images_read.data_disk_images + data_disk_images.Element = AAZObjectType() + + _element = _schema_encryption_images_read.data_disk_images.Element + _element.disk_encryption_set_id = AAZStrType( + serialized_name="diskEncryptionSetId", + ) + _element.lun = AAZIntType( + flags={"required": True}, + ) + + os_disk_image = _schema_encryption_images_read.os_disk_image + os_disk_image.disk_encryption_set_id = AAZStrType( + serialized_name="diskEncryptionSetId", + ) + os_disk_image.security_profile = AAZObjectType( + serialized_name="securityProfile", + ) + + security_profile = _schema_encryption_images_read.os_disk_image.security_profile + security_profile.confidential_vm_encryption_type = AAZStrType( + serialized_name="confidentialVMEncryptionType", + ) + security_profile.secure_vm_disk_encryption_set_id = AAZStrType( + serialized_name="secureVMDiskEncryptionSetId", + ) + + _schema.data_disk_images = cls._schema_encryption_images_read.data_disk_images + _schema.os_disk_image = cls._schema_encryption_images_read.os_disk_image + + _schema_gallery_disk_image_source_read = None + + @classmethod + def _build_schema_gallery_disk_image_source_read(cls, _schema): + if cls._schema_gallery_disk_image_source_read is not None: + _schema.id = cls._schema_gallery_disk_image_source_read.id + _schema.storage_account_id = cls._schema_gallery_disk_image_source_read.storage_account_id + _schema.uri = cls._schema_gallery_disk_image_source_read.uri + return + + cls._schema_gallery_disk_image_source_read = _schema_gallery_disk_image_source_read = AAZObjectType() + + gallery_disk_image_source_read = _schema_gallery_disk_image_source_read + gallery_disk_image_source_read.id = AAZStrType() + gallery_disk_image_source_read.storage_account_id = AAZStrType( + serialized_name="storageAccountId", + ) + gallery_disk_image_source_read.uri = AAZStrType() + + _schema.id = cls._schema_gallery_disk_image_source_read.id + _schema.storage_account_id = cls._schema_gallery_disk_image_source_read.storage_account_id + _schema.uri = cls._schema_gallery_disk_image_source_read.uri + + +__all__ = ["List"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/_show_community.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/_show_community.py new file mode 100644 index 00000000000..67de7f94979 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/_show_community.py @@ -0,0 +1,248 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "sig image-version show-community", +) +class ShowCommunity(AAZCommand): + """Get a community gallery image version. + """ + + _aaz_info = { + "version": "2022-01-03", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.compute/locations/{}/communitygalleries/{}/images/{}/versions/{}", "2022-01-03"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.gallery_image_definition = AAZStrArg( + options=["-i", "--gallery-image-name", "--gallery-image-definition"], + help="The name of the community gallery image definition from which the image versions are to be listed.", + required=True, + id_part="child_name_2", + ) + _args_schema.gallery_image_version_name = AAZStrArg( + options=["-e", "--gallery-image-version", "--gallery-image-version-name"], + help="Gallery image version in semantic version pattern. The allowed characters are digit and period. Digits must be within the range of a 32-bit integer, e.g. `..`", + required=True, + id_part="child_name_3", + ) + _args_schema.location = AAZResourceLocationArg( + required=True, + id_part="name", + ) + _args_schema.public_gallery_name = AAZStrArg( + options=["--public-gallery-name"], + help="The public name of the community gallery.", + required=True, + id_part="child_name_1", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.CommunityGalleryImageVersionsGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class CommunityGalleryImageVersionsGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "galleryImageName", self.ctx.args.gallery_image_definition, + required=True, + ), + **self.serialize_url_param( + "galleryImageVersionName", self.ctx.args.gallery_image_version_name, + required=True, + ), + **self.serialize_url_param( + "location", self.ctx.args.location, + required=True, + ), + **self.serialize_url_param( + "publicGalleryName", self.ctx.args.public_gallery_name, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2022-01-03", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.identifier = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + identifier = cls._schema_on_200.identifier + identifier.unique_id = AAZStrType( + serialized_name="uniqueId", + ) + + properties = cls._schema_on_200.properties + properties.end_of_life_date = AAZStrType( + serialized_name="endOfLifeDate", + ) + properties.exclude_from_latest = AAZBoolType( + serialized_name="excludeFromLatest", + ) + properties.published_date = AAZStrType( + serialized_name="publishedDate", + ) + properties.storage_profile = AAZObjectType( + serialized_name="storageProfile", + ) + + storage_profile = cls._schema_on_200.properties.storage_profile + storage_profile.data_disk_images = AAZListType( + serialized_name="dataDiskImages", + ) + storage_profile.os_disk_image = AAZObjectType( + serialized_name="osDiskImage", + ) + + data_disk_images = cls._schema_on_200.properties.storage_profile.data_disk_images + data_disk_images.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.storage_profile.data_disk_images.Element + _element.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + flags={"read_only": True}, + ) + _element.host_caching = AAZStrType( + serialized_name="hostCaching", + ) + _element.lun = AAZIntType( + flags={"required": True}, + ) + + os_disk_image = cls._schema_on_200.properties.storage_profile.os_disk_image + os_disk_image.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + flags={"read_only": True}, + ) + os_disk_image.host_caching = AAZStrType( + serialized_name="hostCaching", + ) + + return cls._schema_on_200 + + +class _ShowCommunityHelper: + """Helper class for ShowCommunity""" + + +__all__ = ["ShowCommunity"] diff --git a/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/_show_shared.py b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/_show_shared.py new file mode 100644 index 00000000000..05271c21cce --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/sig/image_version/_show_shared.py @@ -0,0 +1,248 @@ +# -------------------------------------------------------------------------------------------- +# 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 aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "sig image-version show-shared", +) +class ShowShared(AAZCommand): + """Get an image version in a gallery shared directly to your subscription or tenant + + :example: Get an image version in a gallery shared directly to your subscription or tenant in the given location. + az sig image-version show-shared --gallery-unique-name galleryUniqueName --gallery-image-definition MyImage --gallery-image-version 1.0.0 --location myLocation + """ + + _aaz_info = { + "version": "2022-01-03", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.compute/locations/{}/sharedgalleries/{}/images/{}/versions/{}", "2022-01-03"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.gallery_image_definition = AAZStrArg( + options=["-i", "--gallery-image-name", "--gallery-image-definition"], + help="The name of the Shared Gallery Image Definition from which the Image Versions are to be listed.", + required=True, + id_part="child_name_2", + ) + _args_schema.gallery_image_version_name = AAZStrArg( + options=["-e", "--gallery-image-version", "--gallery-image-version-name"], + 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: ..", + required=True, + id_part="child_name_3", + ) + _args_schema.gallery_unique_name = AAZStrArg( + options=["--gallery-unique-name"], + help="The unique name of the Shared Gallery.", + required=True, + id_part="child_name_1", + ) + _args_schema.location = AAZResourceLocationArg( + required=True, + id_part="name", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.SharedGalleryImageVersionsGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class SharedGalleryImageVersionsGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions/{galleryImageVersionName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "galleryImageName", self.ctx.args.gallery_image_definition, + required=True, + ), + **self.serialize_url_param( + "galleryImageVersionName", self.ctx.args.gallery_image_version_name, + required=True, + ), + **self.serialize_url_param( + "galleryUniqueName", self.ctx.args.gallery_unique_name, + required=True, + ), + **self.serialize_url_param( + "location", self.ctx.args.location, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2022-01-03", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.identifier = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + + identifier = cls._schema_on_200.identifier + identifier.unique_id = AAZStrType( + serialized_name="uniqueId", + ) + + properties = cls._schema_on_200.properties + properties.end_of_life_date = AAZStrType( + serialized_name="endOfLifeDate", + ) + properties.exclude_from_latest = AAZBoolType( + serialized_name="excludeFromLatest", + ) + properties.published_date = AAZStrType( + serialized_name="publishedDate", + ) + properties.storage_profile = AAZObjectType( + serialized_name="storageProfile", + ) + + storage_profile = cls._schema_on_200.properties.storage_profile + storage_profile.data_disk_images = AAZListType( + serialized_name="dataDiskImages", + ) + storage_profile.os_disk_image = AAZObjectType( + serialized_name="osDiskImage", + ) + + data_disk_images = cls._schema_on_200.properties.storage_profile.data_disk_images + data_disk_images.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.storage_profile.data_disk_images.Element + _element.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + flags={"read_only": True}, + ) + _element.host_caching = AAZStrType( + serialized_name="hostCaching", + ) + _element.lun = AAZIntType( + flags={"required": True}, + ) + + os_disk_image = cls._schema_on_200.properties.storage_profile.os_disk_image + os_disk_image.disk_size_gb = AAZIntType( + serialized_name="diskSizeGB", + flags={"read_only": True}, + ) + os_disk_image.host_caching = AAZStrType( + serialized_name="hostCaching", + ) + + return cls._schema_on_200 + + +class _ShowSharedHelper: + """Helper class for ShowShared""" + + +__all__ = ["ShowShared"] 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 31a69bdfe28..31698a4725a 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/commands.py +++ b/src/azure-cli/azure/cli/command_modules/vm/commands.py @@ -258,11 +258,7 @@ def load_command_table(self, _): with self.command_group('disk-encryption-set', compute_disk_encryption_set_sdk, operation_group='disk_encryption_sets', client_factory=cf_disk_encryption_set, min_api='2019-07-01') as g: g.custom_command('create', 'create_disk_encryption_set', supports_no_wait=True) - g.command('delete', 'begin_delete') g.generic_update_command('update', custom_func_name='update_disk_encryption_set', setter_arg_name='disk_encryption_set', setter_name='begin_create_or_update') - g.show_command('show', 'get') - g.custom_command('list', 'list_disk_encryption_sets') - g.command('list-associated-resources', 'list_associated_resources', min_api='2020-06-30') with self.command_group('disk-encryption-set identity', compute_disk_encryption_set_sdk, operation_group='disk_encryption_sets', client_factory=cf_disk_encryption_set, min_api='2022-03-02') as g: g.custom_command('assign', 'assign_disk_encryption_set_identity') @@ -275,9 +271,6 @@ def load_command_table(self, _): with self.command_group('image', compute_image_sdk, min_api='2016-04-30-preview') as g: g.custom_command('create', 'create_image', validator=process_image_create_namespace) - g.custom_command('list', 'list_images') - g.show_command('show', 'get') - g.command('delete', 'begin_delete') g.generic_update_command('update', setter_name='begin_create_or_update', custom_func_name='update_image') with self.command_group('image builder', image_builder_image_templates_sdk, custom_command_type=image_builder_custom) as g: @@ -540,7 +533,6 @@ def load_command_table(self, _): g.custom_command('list-community', 'sig_community_image_definition_list') with self.command_group('sig image-version', community_gallery_image_version_sdk, client_factory=cf_community_gallery_image_version, operation_group='shared_galleries', min_api='2022-01-03') as g: - g.command('show-community', 'get') g.custom_command('list-community', 'sig_community_image_version_list') with self.command_group('sig image-definition', compute_gallery_images_sdk, operation_group='gallery_images', min_api='2018-06-01') as g: @@ -548,9 +540,7 @@ def load_command_table(self, _): g.generic_update_command('update', setter_name='begin_create_or_update', setter_arg_name='gallery_image') with self.command_group('sig image-version', compute_gallery_image_versions_sdk, operation_group='gallery_image_versions', min_api='2018-06-01') as g: - g.command('delete', 'begin_delete') g.show_command('show', 'get', table_transformer='{Name:name, ResourceGroup:resourceGroup, ProvisioningState:provisioningState, TargetRegions: publishingProfile.targetRegions && join(`, `, publishingProfile.targetRegions[*].name), EdgeZones: publishingProfile.targetExtendedLocations && join(`, `, publishingProfile.targetExtendedLocations[*].name), ReplicationState:replicationStatus.aggregatedState}') - g.command('list', 'list_by_gallery_image') g.custom_command('create', 'create_image_version', supports_no_wait=True, validator=process_image_version_create_namespace) g.generic_update_command('update', getter_name='get_image_version_to_update', setter_arg_name='gallery_image_version', setter_name='update_image_version', setter_type=compute_custom, command_type=compute_custom, supports_no_wait=True, validator=process_image_version_update_namespace) g.wait_command('wait') @@ -598,7 +588,6 @@ def load_command_table(self, _): operation_group='shared_galleries', client_factory=cf_shared_gallery_image_version) as g: g.custom_command('list-shared', 'sig_shared_image_version_list') - g.command('show-shared', 'get') with self.command_group('sig gallery-application', compute_gallery_application_sdk, client_factory=cf_gallery_application, min_api='2021-07-01', operation_group='gallery_applications') as g: g.custom_command('create', 'gallery_application_create', supports_no_wait=True) 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 f6d88385f28..1e99eca0ab8 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/custom.py +++ b/src/azure-cli/azure/cli/command_modules/vm/custom.py @@ -654,14 +654,6 @@ def update_image(instance, tags=None): return instance -def list_images(cmd, resource_group_name=None): - client = _compute_client_factory(cmd.cli_ctx) - if resource_group_name: - return client.images.list_by_resource_group(resource_group_name) - return client.images.list() -# endregion - - # region Snapshots # pylint: disable=unused-argument,too-many-locals def create_snapshot(cmd, resource_group_name, snapshot_name, location=None, size_gb=None, sku='Standard_LRS', @@ -5069,12 +5061,6 @@ def create_disk_encryption_set( disk_encryption_set) -def list_disk_encryption_sets(cmd, client, resource_group_name=None): - if resource_group_name: - return client.list_by_resource_group(resource_group_name) - return client.list() - - def update_disk_encryption_set(cmd, instance, client, resource_group_name, key_url=None, source_vault=None, enable_auto_key_rotation=None, federated_client_id=None): from msrestazure.tools import resource_id, is_valid_resource_id diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2018_03_01/recordings/test_vm_generalize.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2018_03_01/recordings/test_vm_generalize.yaml index 79f1e36d46a..72630649977 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2018_03_01/recordings/test_vm_generalize.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2018_03_01/recordings/test_vm_generalize.yaml @@ -13,21 +13,21 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001?api-version=2018-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001","name":"cli_test_generalize_vm000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-23T14:20:14Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001","name":"cli_test_generalize_vm000001","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_vm_generalize","date":"2023-07-21T02:46:15Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '290' + - '332' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 14:20:18 GMT + - Fri, 21 Jul 2023 02:46:20 GMT expires: - '-1' pragma: @@ -51,7 +51,7 @@ interactions: Connection: - keep-alive User-Agent: - - python-requests/2.26.0 + - python-requests/2.31.0 method: GET uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: @@ -62,23 +62,44 @@ interactions: \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n \ \"sku\": \"7.5\",\n \"version\": \"latest\",\n \"architecture\": + \"x64\"\n },\n \"CentOS85Gen2\": {\n \"publisher\": + \ \"OpenLogic\",\n \"offer\": \"CentOS\",\n \"sku\": + \ \"8_5-gen2\",\n \"version\": \"latest\",\n \"architecture\": \"x64\"\n },\n \"Debian\": {\n \"publisher\": \"Debian\",\n \"offer\": \"debian-10\",\n \"sku\": \"10\",\n \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n + \ },\n \"Debian11\": {\n \"publisher\": \"Debian\",\n + \ \"offer\": \"debian-11\",\n \"sku\": \"11-backports-gen2\",\n + \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n \ },\n \"Flatcar\": {\n \"publisher\": \"kinvolk\",\n \ \"offer\": \"flatcar-container-linux-free\",\n \"sku\": \"stable\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"openSUSE-Leap\": {\n \"publisher\": - \"SUSE\",\n \"offer\": \"opensuse-leap-15-3\",\n \"sku\": - \"gen2\",\n \"version\": \"latest\",\n \"architecture\": + \"x64\"\n },\n \"FlatcarLinuxFreeGen2\": {\n \"publisher\": + \ \"kinvolk\",\n \"offer\": \"flatcar-container-linux-free\",\n + \ \"sku\": \"stable-gen2\",\n \"version\": \"latest\",\n + \ \"architecture\": \"x64\"\n },\n \"openSUSE-Leap\": + {\n \"publisher\": \"SUSE\",\n \"offer\": \"opensuse-leap-15-3\",\n + \ \"sku\": \"gen2\",\n \"version\": \"latest\",\n \"architecture\": + \"x64\"\n },\n \"OpenSuseLeap154Gen2\": {\n \"publisher\": + \ \"SUSE\",\n \"offer\": \"openSUSE-leap-15-4\",\n \"sku\": + \ \"gen2\",\n \"version\": \"latest\",\n \"architecture\": \"x64\"\n },\n \"RHEL\": {\n \"publisher\": \"RedHat\",\n \ \"offer\": \"RHEL\",\n \"sku\": \"7-LVM\",\n \"version\": - \"latest\",\n \"architecture\": \"x64\"\n },\n \"SLES\": - {\n \"publisher\": \"SUSE\",\n \"offer\": \"sles-15-sp3\",\n + \"latest\",\n \"architecture\": \"x64\"\n },\n \"RHELRaw8LVMGen2\": + \ {\n \"publisher\": \"RedHat\",\n \"offer\": \"RHEL\",\n + \ \"sku\": \"8-lvm-gen2\",\n \"version\": \"latest\",\n + \ \"architecture\": \"x64\"\n },\n \"SLES\": {\n + \ \"publisher\": \"SUSE\",\n \"offer\": \"sles-15-sp3\",\n \ \"sku\": \"gen2\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"UbuntuLTS\": {\n \"publisher\": - \"Canonical\",\n \"offer\": \"UbuntuServer\",\n \"sku\": - \"18.04-LTS\",\n \"version\": \"latest\",\n \"architecture\": + \"x64\"\n },\n \"SuseSles15SP3\": {\n \"publisher\": + \"SUSE\",\n \"offer\": \"sles-15-sp3\",\n \"sku\": \"gen2\",\n + \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n + \ },\n \"UbuntuLTS\": {\n \"publisher\": \"Canonical\",\n + \ \"offer\": \"UbuntuServer\",\n \"sku\": \"18.04-LTS\",\n + \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n + \ },\n \"Ubuntu2204\": {\n \"publisher\": \"Canonical\",\n + \ \"offer\": \"0001-com-ubuntu-server-jammy\",\n \"sku\": + \ \"22_04-lts-gen2\",\n \"version\": \"latest\",\n \"architecture\": \"x64\"\n }\n },\n \"Windows\": {\n \"Win2022Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": \"2022-Datacenter\",\n \"version\": @@ -101,7 +122,7 @@ interactions: \"x64\"\n },\n \"Win2008R2SP1\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": \"2008-R2-SP1\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n }\n }\n }\n }\n }\n}" + \"x64\"\n }\n }\n }\n }\n }\n}\n" headers: accept-ranges: - bytes @@ -112,19 +133,21 @@ interactions: connection: - keep-alive content-length: - - '3463' + - '5018' content-security-policy: - default-src 'none'; style-src 'unsafe-inline'; sandbox content-type: - text/plain; charset=utf-8 + cross-origin-resource-policy: + - cross-origin date: - - Thu, 23 Jun 2022 14:20:19 GMT + - Fri, 21 Jul 2023 02:46:22 GMT etag: - - W/"41b202f4dc5098d126019dc00721a4c5e30df0c5196794514fadc3710ee2a5cb" + - W/"0a553f088c358b909a2940b5a97fcb731c1d443cb7a332ca4933eb2b7df38468" expires: - - Thu, 23 Jun 2022 14:25:19 GMT + - Fri, 21 Jul 2023 02:51:22 GMT source-age: - - '214' + - '0' strict-transport-security: - max-age=31536000 vary: @@ -138,15 +161,15 @@ interactions: x-content-type-options: - nosniff x-fastly-request-id: - - 442ddfee28c93b43d7660e1735769353bebc658e + - eb3506e74f7f5cdd55be1adc67c8505dff1db083 x-frame-options: - deny x-github-request-id: - - 21B0:36D2:2D43B3:3CFF7D:62B40BF8 + - B872:20EB:38036C:4175F0:64B9C7A8 x-served-by: - - cache-qpg1247-QPG + - cache-nrt-rjtf7700057-NRT x-timer: - - S1655994020.592269,VS0,VE1 + - S1689907583.538766,VS0,VE236 x-xss-protection: - 1; mode=block status: @@ -166,13 +189,13 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2017-03-30 response: body: - string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202206150\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202206150\"\r\n + string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202306070\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202306070\"\r\n \ }\r\n]" headers: cache-control: @@ -182,7 +205,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 14:20:20 GMT + - Fri, 21 Jul 2023 02:46:23 GMT expires: - '-1' pragma: @@ -199,7 +222,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43992 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15995,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43981 status: code: 200 message: OK @@ -217,9 +240,9 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202206150?api-version=2017-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202306070?api-version=2017-03-30 response: body: string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": @@ -229,21 +252,21 @@ interactions: {\r\n \"imageState\": \"Active\"\r\n },\r\n \"features\": [\r\n \ {\r\n \"name\": \"IsAcceleratedNetworkSupported\",\r\n \"value\": \"True\"\r\n },\r\n {\r\n \"name\": \"DiskControllerTypes\",\r\n - \ \"value\": \"SCSI\"\r\n },\r\n {\r\n \"name\": \"IsHibernateSupported\",\r\n - \ \"value\": \"False\"\r\n }\r\n ],\r\n \"osDiskImage\": - {\r\n \"operatingSystem\": \"Linux\",\r\n \"sizeInGb\": 31,\r\n - \ \"sizeInBytes\": 32213303808\r\n },\r\n \"dataDiskImages\": []\r\n - \ },\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202206150\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202206150\"\r\n}" + \ \"value\": \"SCSI, NVMe\"\r\n },\r\n {\r\n \"name\": + \"IsHibernateSupported\",\r\n \"value\": \"True\"\r\n }\r\n ],\r\n + \ \"osDiskImage\": {\r\n \"operatingSystem\": \"Linux\",\r\n \"sizeInGb\": + 31,\r\n \"sizeInBytes\": 32213303808\r\n },\r\n \"dataDiskImages\": + []\r\n },\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202306070\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202306070\"\r\n}" headers: cache-control: - no-cache content-length: - - '1043' + - '1048' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 14:20:21 GMT + - Fri, 21 Jul 2023 02:46:24 GMT expires: - '-1' pragma: @@ -260,7 +283,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73997 + - Microsoft.Compute/GetVMImageFromLocation3Min;12995,Microsoft.Compute/GetVMImageFromLocation30Min;73985 status: code: 200 message: OK @@ -278,7 +301,7 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-storage/20.0.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-storage/21.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Storage/storageAccounts?api-version=2016-01-01 response: @@ -292,7 +315,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 14:20:21 GMT + - Fri, 21 Jul 2023 02:46:26 GMT expires: - '-1' pragma: @@ -310,7 +333,7 @@ interactions: body: null headers: Accept: - - application/json, text/json + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -320,7 +343,7 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/virtualNetworks?api-version=2017-10-01 response: @@ -334,7 +357,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 14:20:22 GMT + - Fri, 21 Jul 2023 02:46:26 GMT expires: - '-1' pragma: @@ -352,7 +375,7 @@ interactions: body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"adminPassword": {"type": "securestring", "metadata": {"description": "Secure adminPassword"}}}, "variables": {}, "resources": - [{"type": "Microsoft.Storage/storageAccounts", "name": "vhdstorage8a50e714ff69e7", + [{"type": "Microsoft.Storage/storageAccounts", "name": "vhdstoraged1ce3fd5d9f64b", "apiVersion": "2015-06-15", "location": "westus", "tags": {}, "dependsOn": [], "properties": {"accountType": "Premium_LRS"}}, {"name": "vm-generalizeVNET", "type": "Microsoft.Network/virtualNetworks", "location": "westus", "apiVersion": @@ -375,13 +398,13 @@ interactions: "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP"}}}], "networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG"}}}, {"apiVersion": "2017-03-30", "type": "Microsoft.Compute/virtualMachines", "name": - "vm-generalize", "location": "westus", "tags": {}, "dependsOn": ["Microsoft.Storage/storageAccounts/vhdstorage8a50e714ff69e7", + "vm-generalize", "location": "westus", "tags": {}, "dependsOn": ["Microsoft.Storage/storageAccounts/vhdstoraged1ce3fd5d9f64b", "Microsoft.Network/networkInterfaces/vm-generalizeVMNic"], "properties": {"hardwareProfile": {"vmSize": "Standard_DS1_v2"}, "networkProfile": {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic", "properties": {"deleteOption": null}}]}, "storageProfile": {"osDisk": {"createOption": - "fromImage", "name": "osdisk_8a50e714ff", "caching": "ReadWrite", "vhd": {"uri": - "https://vhdstorage8a50e714ff69e7.blob.core.windows.net/vhds/osdisk_8a50e714ff.vhd"}}, + "fromImage", "name": "osdisk_d1ce3fd5d9", "caching": "ReadWrite", "vhd": {"uri": + "https://vhdstoraged1ce3fd5d9f64b.blob.core.windows.net/vhds/osdisk_d1ce3fd5d9.vhd"}}, "imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", "sku": "18.04-LTS", "version": "latest"}}, "osProfile": {"computerName": "vm-generalize", "adminUsername": "ubuntu", "adminPassword": "[parameters(''adminPassword'')]"}}}], @@ -403,23 +426,23 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2018-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/vm_deploy_Gn2XoJ0zxxwwXPYVdmOHQLQyMg6Gzb2d","name":"vm_deploy_Gn2XoJ0zxxwwXPYVdmOHQLQyMg6Gzb2d","properties":{"templateHash":"5861282960556851665","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-06-23T14:20:27.8240129Z","duration":"PT0.0009426S","correlationId":"9aaa688f-fb4e-4af6-8ff8-b31d039b7056","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["westus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/virtualNetworks/vm-generalizeVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm-generalizeVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm-generalizeNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm-generalizePublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Storage/storageAccounts/vhdstorage8a50e714ff69e7","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"vhdstorage8a50e714ff69e7"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm-generalize"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/vm_deploy_ifZXOlWAqu7g6mOfdL7kUp36iS9zCoA7","name":"vm_deploy_ifZXOlWAqu7g6mOfdL7kUp36iS9zCoA7","properties":{"templateHash":"3679961879118120824","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-07-21T02:46:31.4416432Z","duration":"PT0.000922S","correlationId":"14f68d3e-d140-48e0-beb4-647f420752a9","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["westus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/virtualNetworks/vm-generalizeVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm-generalizeVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm-generalizeNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm-generalizePublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Storage/storageAccounts/vhdstoraged1ce3fd5d9f64b","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"vhdstoraged1ce3fd5d9f64b"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm-generalize"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/vm_deploy_Gn2XoJ0zxxwwXPYVdmOHQLQyMg6Gzb2d/operationStatuses/08585456128599480930?api-version=2018-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/vm_deploy_ifZXOlWAqu7g6mOfdL7kUp36iS9zCoA7/operationStatuses/08585116992959783452?api-version=2018-02-01 cache-control: - no-cache content-length: - - '2908' + - '2907' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 14:20:28 GMT + - Fri, 21 Jul 2023 02:46:31 GMT expires: - '-1' pragma: @@ -447,63 +470,21 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585456128599480930?api-version=2018-02-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 23 Jun 2022 14:20: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 --admin-username --image --admin-password --authentication-type --use-unmanaged-disk - User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585456128599480930?api-version=2018-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585116992959783452?api-version=2018-02-01 response: body: - string: '{"status":"Running"}' + string: '{"status":"Accepted"}' headers: cache-control: - no-cache content-length: - - '20' + - '21' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 14:21:29 GMT + - Fri, 21 Jul 2023 02:46:32 GMT expires: - '-1' pragma: @@ -531,9 +512,9 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585456128599480930?api-version=2018-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585116992959783452?api-version=2018-02-01 response: body: string: '{"status":"Running"}' @@ -545,7 +526,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 14:22:00 GMT + - Fri, 21 Jul 2023 02:47:03 GMT expires: - '-1' pragma: @@ -573,9 +554,9 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585456128599480930?api-version=2018-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585116992959783452?api-version=2018-02-01 response: body: string: '{"status":"Running"}' @@ -587,7 +568,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 14:22:30 GMT + - Fri, 21 Jul 2023 02:47:32 GMT expires: - '-1' pragma: @@ -615,9 +596,9 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585456128599480930?api-version=2018-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585116992959783452?api-version=2018-02-01 response: body: string: '{"status":"Succeeded"}' @@ -629,7 +610,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 14:23:01 GMT + - Fri, 21 Jul 2023 02:48:04 GMT expires: - '-1' pragma: @@ -657,12 +638,12 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2018-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/vm_deploy_Gn2XoJ0zxxwwXPYVdmOHQLQyMg6Gzb2d","name":"vm_deploy_Gn2XoJ0zxxwwXPYVdmOHQLQyMg6Gzb2d","properties":{"templateHash":"5861282960556851665","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-06-23T14:22:38.8165112Z","duration":"PT2M10.9934409S","correlationId":"9aaa688f-fb4e-4af6-8ff8-b31d039b7056","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["westus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/virtualNetworks/vm-generalizeVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm-generalizeVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm-generalizeNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm-generalizePublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Storage/storageAccounts/vhdstorage8a50e714ff69e7","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"vhdstorage8a50e714ff69e7"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm-generalize"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/virtualNetworks/vm-generalizeVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Storage/storageAccounts/vhdstorage8a50e714ff69e7"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/vm_deploy_ifZXOlWAqu7g6mOfdL7kUp36iS9zCoA7","name":"vm_deploy_ifZXOlWAqu7g6mOfdL7kUp36iS9zCoA7","properties":{"templateHash":"3679961879118120824","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-07-21T02:47:44.7869764Z","duration":"PT1M13.3462552S","correlationId":"14f68d3e-d140-48e0-beb4-647f420752a9","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["westus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/virtualNetworks/vm-generalizeVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm-generalizeVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm-generalizeNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm-generalizePublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Storage/storageAccounts/vhdstoraged1ce3fd5d9f64b","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"vhdstoraged1ce3fd5d9f64b"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm-generalize"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/virtualNetworks/vm-generalizeVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Storage/storageAccounts/vhdstoraged1ce3fd5d9f64b"}]}}' headers: cache-control: - no-cache @@ -671,7 +652,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 14:23:01 GMT + - Fri, 21 Jul 2023 02:48:04 GMT expires: - '-1' pragma: @@ -699,21 +680,21 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize?$expand=instanceView&api-version=2017-03-30 response: body: string: "{\r\n \"name\": \"vm-generalize\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"84b84d21-97eb-4f90-8fb3-cc1b9ef153fd\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"a8d00455-a5ca-4d72-b3ef-63618d56377e\",\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 },\r\n \"osDisk\": - {\r\n \"osType\": \"Linux\",\r\n \"name\": \"osdisk_8a50e714ff\",\r\n + {\r\n \"osType\": \"Linux\",\r\n \"name\": \"osdisk_d1ce3fd5d9\",\r\n \ \"createOption\": \"FromImage\",\r\n \"vhd\": {\r\n \"uri\": - \"https://vhdstorage8a50e714ff69e7.blob.core.windows.net/vhds/osdisk_8a50e714ff.vhd\"\r\n + \"https://vhdstoraged1ce3fd5d9f64b.blob.core.windows.net/vhds/osdisk_d1ce3fd5d9.vhd\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm-generalize\",\r\n \"adminUsername\": @@ -721,19 +702,19 @@ interactions: false\r\n },\r\n \"secrets\": []\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic\"}]},\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"vmAgent\": - {\r\n \"vmAgentVersion\": \"2.8.0.6\",\r\n \"statuses\": [\r\n + {\r\n \"vmAgentVersion\": \"2.9.1.1\",\r\n \"statuses\": [\r\n \ {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2022-06-23T14:22:45+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"osdisk_8a50e714ff\",\r\n + \"2023-07-21T02:47:50+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"osdisk_d1ce3fd5d9\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-06-23T14:21:04.3910647+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-21T02:47:10.6021351+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-06-23T14:22:36.5631305+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-21T02:47:42.6026855+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}" @@ -745,7 +726,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 14:23:03 GMT + - Fri, 21 Jul 2023 02:48:06 GMT expires: - '-1' pragma: @@ -762,7 +743,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3897,Microsoft.Compute/LowCostGet30Min;31032 + - Microsoft.Compute/LowCostGet3Min;3995,Microsoft.Compute/LowCostGet30Min;31969 status: code: 200 message: OK @@ -770,7 +751,7 @@ interactions: body: null headers: Accept: - - application/json, text/json + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -780,18 +761,18 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic?api-version=2017-10-01 response: body: string: "{\r\n \"name\": \"vm-generalizeVMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic\",\r\n - \ \"etag\": \"W/\\\"80688f3f-a581-48bf-abc7-31f6d9847c12\\\"\",\r\n \"location\": - \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"9cc5d581-8412-4261-b0aa-984ff2deaf46\",\r\n - \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm-generalize\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic/ipConfigurations/ipconfigvm-generalize\",\r\n - \ \"etag\": \"W/\\\"80688f3f-a581-48bf-abc7-31f6d9847c12\\\"\",\r\n + \ \"etag\": \"W/\\\"aa650ce6-7a96-47ef-86d7-a7921bf7d10c\\\"\",\r\n \"tags\": + {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"92bc961f-bb88-4cd6-81f0-f70603a3b49a\",\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"ipconfigvm-generalize\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic/ipConfigurations/ipconfigvm-generalize\",\r\n + \ \"etag\": \"W/\\\"aa650ce6-7a96-47ef-86d7-a7921bf7d10c\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -800,12 +781,13 @@ interactions: \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": - \"u33i5p1ptucedjvg2wli0agg0e.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-0D-3A-59-4B-AF\",\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": + \"yh0qfr2j13tulnd1fuwlyw2qgf.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-34-42-4F\",\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\"\r\n - \ }\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}" + \ }\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\",\r\n + \ \"location\": \"westus\"\r\n}" headers: cache-control: - no-cache @@ -814,9 +796,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 14:23:04 GMT + - Fri, 21 Jul 2023 02:48:07 GMT etag: - - W/"80688f3f-a581-48bf-abc7-31f6d9847c12" + - W/"aa650ce6-7a96-47ef-86d7-a7921bf7d10c" expires: - '-1' pragma: @@ -833,7 +815,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 09225df8-8942-4e84-8d4d-ddf4838a24f9 + - 9fb5d34a-010d-4ba4-a31a-d2cf22b0114e status: code: 200 message: OK @@ -841,7 +823,7 @@ interactions: body: null headers: Accept: - - application/json, text/json + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -851,16 +833,16 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP?api-version=2017-10-01 response: body: string: "{\r\n \"name\": \"vm-generalizePublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP\",\r\n - \ \"etag\": \"W/\\\"59a00745-ade4-4fd9-805c-c7966d188a87\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"44c57172-618d-48ce-8e71-4e2adeb3fec3\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"d78b104a-f303-4bd6-87aa-e0016a5a6a94\",\r\n - \ \"ipAddress\": \"20.59.107.151\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"28ed0e85-ee7b-4fee-aa99-130a4b5755e0\",\r\n + \ \"ipAddress\": \"20.245.122.63\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic/ipConfigurations/ipconfigvm-generalize\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n @@ -873,9 +855,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 14:23:04 GMT + - Fri, 21 Jul 2023 02:48:09 GMT etag: - - W/"59a00745-ade4-4fd9-805c-c7966d188a87" + - W/"44c57172-618d-48ce-8e71-4e2adeb3fec3" expires: - '-1' pragma: @@ -892,7 +874,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 46176534-9cd8-494e-81e7-479094eb6964 + - 75028459-b68a-47b3-8c42-c2142aac58c3 status: code: 200 message: OK @@ -912,25 +894,27 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize/powerOff?api-version=2017-03-30 response: body: string: '' headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/f3471b4f-88e8-4ece-9e58-5cff5a0afc37?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b92068b6-8816-442d-ab25-143e8b9256a8?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-03-30 cache-control: - no-cache content-length: - '0' date: - - Thu, 23 Jun 2022 14:23:05 GMT + - Fri, 21 Jul 2023 02:48:10 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/f3471b4f-88e8-4ece-9e58-5cff5a0afc37?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2017-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b92068b6-8816-442d-ab25-143e8b9256a8?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2017-03-30 pragma: - no-cache server: @@ -941,9 +925,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/UpdateVM3Min;237,Microsoft.Compute/UpdateVM30Min;1197 + - Microsoft.Compute/UpdateVM3Min;239,Microsoft.Compute/UpdateVM30Min;1193 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -961,23 +945,73 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/f3471b4f-88e8-4ece-9e58-5cff5a0afc37?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b92068b6-8816-442d-ab25-143e8b9256a8?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-03-30 response: body: - string: "{\r\n \"startTime\": \"2022-06-23T14:23:05.8600662+00:00\",\r\n \"endTime\": - \"2022-06-23T14:23:11.1257121+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"f3471b4f-88e8-4ece-9e58-5cff5a0afc37\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-21T02:48:11.743799+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"b92068b6-8816-442d-ab25-143e8b9256a8\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '133' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Jul 2023 02:48: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 + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29946 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm stop + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b92068b6-8816-442d-ab25-143e8b9256a8?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-03-30 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-21T02:48:11.743799+00:00\",\r\n \"endTime\": + \"2023-07-21T02:48:15.2438058+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"b92068b6-8816-442d-ab25-143e8b9256a8\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '183' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 14:23:35 GMT + - Fri, 21 Jul 2023 02:48:41 GMT expires: - '-1' pragma: @@ -994,7 +1028,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14984,Microsoft.Compute/GetOperation30Min;29952 + - Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29943 status: code: 200 message: OK @@ -1014,7 +1048,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize/generalize?api-version=2017-03-30 response: @@ -1026,7 +1060,7 @@ interactions: content-length: - '0' date: - - Thu, 23 Jun 2022 14:23:37 GMT + - Fri, 21 Jul 2023 02:48:45 GMT expires: - '-1' pragma: @@ -1039,7 +1073,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/UpdateVM3Min;236,Microsoft.Compute/UpdateVM30Min;1196 + - Microsoft.Compute/UpdateVM3Min;238,Microsoft.Compute/UpdateVM30Min;1192 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -1059,21 +1093,21 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize?api-version=2017-03-30 response: body: string: "{\r\n \"name\": \"vm-generalize\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"84b84d21-97eb-4f90-8fb3-cc1b9ef153fd\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"a8d00455-a5ca-4d72-b3ef-63618d56377e\",\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 },\r\n \"osDisk\": - {\r\n \"osType\": \"Linux\",\r\n \"name\": \"osdisk_8a50e714ff\",\r\n + {\r\n \"osType\": \"Linux\",\r\n \"name\": \"osdisk_d1ce3fd5d9\",\r\n \ \"createOption\": \"FromImage\",\r\n \"vhd\": {\r\n \"uri\": - \"https://vhdstorage8a50e714ff69e7.blob.core.windows.net/vhds/osdisk_8a50e714ff.vhd\"\r\n + \"https://vhdstoraged1ce3fd5d9f64b.blob.core.windows.net/vhds/osdisk_d1ce3fd5d9.vhd\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm-generalize\",\r\n \"adminUsername\": @@ -1089,7 +1123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 14:23:38 GMT + - Fri, 21 Jul 2023 02:48:47 GMT expires: - '-1' pragma: @@ -1106,7 +1140,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3886,Microsoft.Compute/LowCostGet30Min;31016 + - Microsoft.Compute/LowCostGet3Min;3994,Microsoft.Compute/LowCostGet30Min;31968 status: code: 200 message: OK @@ -1129,25 +1163,27 @@ interactions: ParameterSetName: - -g -n --vhd-name-prefix User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize/capture?api-version=2017-03-30 response: body: string: '' headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/90565480-d650-4e45-9197-a089454d048f?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/5f47bd97-2119-410b-bfb8-85ab0f952b2e?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-03-30 cache-control: - no-cache content-length: - '0' date: - - Thu, 23 Jun 2022 14:23:39 GMT + - Fri, 21 Jul 2023 02:48:49 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/90565480-d650-4e45-9197-a089454d048f?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2017-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/5f47bd97-2119-410b-bfb8-85ab0f952b2e?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2017-03-30 pragma: - no-cache server: @@ -1158,9 +1194,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/UpdateVM3Min;235,Microsoft.Compute/UpdateVM30Min;1195 + - Microsoft.Compute/UpdateVM3Min;237,Microsoft.Compute/UpdateVM30Min;1191 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -1178,24 +1214,44 @@ interactions: ParameterSetName: - -g -n --vhd-name-prefix User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/90565480-d650-4e45-9197-a089454d048f?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/5f47bd97-2119-410b-bfb8-85ab0f952b2e?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-03-30 response: body: - string: "{\r\n \"startTime\": \"2022-06-23T14:23:40.2664085+00:00\",\r\n \"endTime\": - \"2022-06-23T14:23:40.500764+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"properties\": {\r\n \"output\": {\"$schema\":\"http://schema.management.azure.com/schemas/2014-04-01-preview/VM_IP.json\",\"contentVersion\":\"1.0.0.0\",\"parameters\":{\"vmName\":{\"type\":\"string\"},\"vmSize\":{\"type\":\"string\",\"defaultValue\":\"Standard_DS1_v2\"},\"adminUserName\":{\"type\":\"string\"},\"adminPassword\":{\"type\":\"securestring\"},\"networkInterfaceId\":{\"type\":\"string\"}},\"resources\":[{\"name\":\"[parameters('vmName')]\",\"type\":\"Microsoft.Compute/virtualMachines\",\"location\":\"westus\",\"apiVersion\":\"2017-03-30\",\"properties\":{\"hardwareProfile\":{\"vmSize\":\"[parameters('vmSize')]\"},\"storageProfile\":{\"osDisk\":{\"osType\":\"Linux\",\"name\":\"vmtest-osDisk.84b84d21-97eb-4f90-8fb3-cc1b9ef153fd.vhd\",\"createOption\":\"FromImage\",\"image\":{\"uri\":\"https://vhdstorage8a50e714ff69e7.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/vmtest-osDisk.84b84d21-97eb-4f90-8fb3-cc1b9ef153fd.vhd\"},\"vhd\":{\"uri\":\"https://vhdstorage8a50e714ff69e7.blob.core.windows.net/vmcontainerf106312e-9c51-4666-a14f-1e43ccbe3040/osDisk.f106312e-9c51-4666-a14f-1e43ccbe3040.vhd\"},\"caching\":\"ReadWrite\"}},\"osProfile\":{\"computerName\":\"[parameters('vmName')]\",\"adminUsername\":\"[parameters('adminUsername')]\",\"adminPassword\":\"[parameters('adminPassword')]\"},\"networkProfile\":{\"networkInterfaces\":[{\"id\":\"[parameters('networkInterfaceId')]\"}]},\"provisioningState\":0}}]}\r\n - \ },\r\n \"name\": \"90565480-d650-4e45-9197-a089454d048f\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-21T02:48:49.4787716+00:00\",\r\n \"endTime\": + \"2023-07-21T02:48:49.6037866+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/VM_IP.json\",\r\n + \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"vmName\": + {\r\n \"type\": \"string\"\r\n },\r\n \"vmSize\": {\r\n \"type\": + \"string\",\r\n \"defaultValue\": \"Standard_DS1_v2\"\r\n },\r\n \"adminUserName\": + {\r\n \"type\": \"string\"\r\n },\r\n \"adminPassword\": {\r\n + \ \"type\": \"securestring\"\r\n },\r\n \"networkInterfaceId\": + {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n + \ {\r\n \"name\": \"[parameters('vmName')]\",\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n + \ \"location\": \"westus\",\r\n \"apiVersion\": \"2017-03-30\",\r\n + \ \"properties\": {\r\n \"hardwareProfile\": {\r\n \"vmSize\": + \"[parameters('vmSize')]\"\r\n },\r\n \"storageProfile\": {\r\n + \ \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": + \"vmtest-osDisk.a8d00455-a5ca-4d72-b3ef-63618d56377e.vhd\",\r\n \"createOption\": + \"FromImage\",\r\n \"image\": {\r\n \"uri\": \"https://vhdstoraged1ce3fd5d9f64b.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/vmtest-osDisk.a8d00455-a5ca-4d72-b3ef-63618d56377e.vhd\"\r\n + \ },\r\n \"vhd\": {\r\n \"uri\": \"https://vhdstoraged1ce3fd5d9f64b.blob.core.windows.net/vmcontainer46e927ce-4504-436a-a329-3e5152245dd4/osDisk.46e927ce-4504-436a-a329-3e5152245dd4.vhd\"\r\n + \ },\r\n \"caching\": \"ReadWrite\"\r\n }\r\n + \ },\r\n \"osProfile\": {\r\n \"computerName\": \"[parameters('vmName')]\",\r\n + \ \"adminUsername\": \"[parameters('adminUsername')]\",\r\n \"adminPassword\": + \"[parameters('adminPassword')]\"\r\n },\r\n \"networkProfile\": + {\"networkInterfaces\":[{\"id\":\"[parameters('networkInterfaceId')]\"}]},\r\n + \ \"provisioningState\": 0\r\n }\r\n }\r\n ]\r\n}\r\n },\r\n + \ \"name\": \"5f47bd97-2119-410b-bfb8-85ab0f952b2e\"\r\n}" headers: cache-control: - no-cache content-length: - - '1507' + - '2036' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 14:24:10 GMT + - Fri, 21 Jul 2023 02:48:49 GMT expires: - '-1' pragma: @@ -1212,7 +1268,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14979,Microsoft.Compute/GetOperation30Min;29946 + - Microsoft.Compute/GetOperation3Min;14992,Microsoft.Compute/GetOperation30Min;29942 status: code: 200 message: OK @@ -1230,21 +1286,21 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize?$expand=instanceView&api-version=2017-03-30 response: body: string: "{\r\n \"name\": \"vm-generalize\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"84b84d21-97eb-4f90-8fb3-cc1b9ef153fd\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"a8d00455-a5ca-4d72-b3ef-63618d56377e\",\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 },\r\n \"osDisk\": - {\r\n \"osType\": \"Linux\",\r\n \"name\": \"osdisk_8a50e714ff\",\r\n + {\r\n \"osType\": \"Linux\",\r\n \"name\": \"osdisk_d1ce3fd5d9\",\r\n \ \"createOption\": \"FromImage\",\r\n \"vhd\": {\r\n \"uri\": - \"https://vhdstorage8a50e714ff69e7.blob.core.windows.net/vhds/osdisk_8a50e714ff.vhd\"\r\n + \"https://vhdstoraged1ce3fd5d9f64b.blob.core.windows.net/vhds/osdisk_d1ce3fd5d9.vhd\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm-generalize\",\r\n \"adminUsername\": @@ -1252,21 +1308,21 @@ interactions: false\r\n },\r\n \"secrets\": []\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic\"}]},\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"vmAgent\": - {\r\n \"vmAgentVersion\": \"2.8.0.6\",\r\n \"statuses\": [\r\n + {\r\n \"vmAgentVersion\": \"2.9.1.1\",\r\n \"statuses\": [\r\n \ {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2022-06-23T14:22:45+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"osdisk_8a50e714ff\",\r\n + \"2023-07-21T02:47:50+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"osdisk_d1ce3fd5d9\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-06-23T14:21:04.3910647+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-21T02:47:10.6021351+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"statuses\": [\r\n {\r\n \"code\": \"OSState/generalized\",\r\n \"level\": \"Info\",\r\n \"displayStatus\": \"VM generalized\"\r\n },\r\n \ {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning succeeded\",\r\n - \ \"time\": \"2022-06-23T14:23:11.1100797+00:00\"\r\n },\r\n + \ \"time\": \"2023-07-21T02:48:15.118799+00:00\"\r\n },\r\n \ {\r\n \"code\": \"PowerState/stopped\",\r\n \"level\": \"Info\",\r\n \"displayStatus\": \"VM stopped\"\r\n }\r\n \ ]\r\n }\r\n }\r\n}" @@ -1274,11 +1330,11 @@ interactions: cache-control: - no-cache content-length: - - '2728' + - '2727' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 14:24:11 GMT + - Fri, 21 Jul 2023 02:48:51 GMT expires: - '-1' pragma: @@ -1295,7 +1351,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3904,Microsoft.Compute/LowCostGet30Min;31008 + - Microsoft.Compute/LowCostGet3Min;3993,Microsoft.Compute/LowCostGet30Min;31967 status: code: 200 message: OK @@ -1313,21 +1369,21 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001?api-version=2018-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001","name":"cli_test_generalize_vm000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-23T14:20:14Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001","name":"cli_test_generalize_vm000001","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_vm_generalize","date":"2023-07-21T02:46:15Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '290' + - '332' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 14:24:12 GMT + - Fri, 21 Jul 2023 02:48:52 GMT expires: - '-1' pragma: @@ -1360,7 +1416,7 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/images/myImage?api-version=2017-03-30 response: @@ -1371,7 +1427,7 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\"\r\n \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": - 30,\r\n \"blobUri\": \"https://vhdstorage8a50e714ff69e7.blob.core.windows.net/vhds/osdisk_8a50e714ff.vhd\",\r\n + 30,\r\n \"blobUri\": \"https://vhdstoraged1ce3fd5d9f64b.blob.core.windows.net/vhds/osdisk_d1ce3fd5d9.vhd\",\r\n \ \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Standard_LRS\"\r\n \ },\r\n \"dataDisks\": []\r\n },\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}" @@ -1379,7 +1435,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/cfdde590-f4fd-4f5b-b5ee-3feb4593916e?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/34b23cc2-6fa5-4824-9af5-ea87c76bc342?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-03-30 cache-control: - no-cache content-length: @@ -1387,7 +1443,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 14:24:21 GMT + - Fri, 21 Jul 2023 02:49:00 GMT expires: - '-1' pragma: @@ -1400,7 +1456,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateImages3Min;39,Microsoft.Compute/CreateImages30Min;199 + - Microsoft.Compute/CreateImages3Min;39,Microsoft.Compute/CreateImages30Min;197 x-ms-ratelimit-remaining-subscription-writes: - '1197' status: @@ -1420,14 +1476,64 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/34b23cc2-6fa5-4824-9af5-ea87c76bc342?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-03-30 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-21T02:48:55.4944468+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"34b23cc2-6fa5-4824-9af5-ea87c76bc342\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Jul 2023 02:49:00 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;14990,Microsoft.Compute/GetOperation30Min;29940 + 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.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/cfdde590-f4fd-4f5b-b5ee-3feb4593916e?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/34b23cc2-6fa5-4824-9af5-ea87c76bc342?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-03-30 response: body: - string: "{\r\n \"startTime\": \"2022-06-23T14:24:16.0164622+00:00\",\r\n \"endTime\": - \"2022-06-23T14:24:26.1570831+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"cfdde590-f4fd-4f5b-b5ee-3feb4593916e\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-21T02:48:55.4944468+00:00\",\r\n \"endTime\": + \"2023-07-21T02:49:05.6665346+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"34b23cc2-6fa5-4824-9af5-ea87c76bc342\"\r\n}" headers: cache-control: - no-cache @@ -1436,7 +1542,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 14:24:51 GMT + - Fri, 21 Jul 2023 02:49:31 GMT expires: - '-1' pragma: @@ -1453,7 +1559,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14976,Microsoft.Compute/GetOperation30Min;29941 + - Microsoft.Compute/GetOperation3Min;14989,Microsoft.Compute/GetOperation30Min;29938 status: code: 200 message: OK @@ -1471,7 +1577,65 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/images/myImage?api-version=2017-03-30 + response: + body: + string: "{\r\n \"name\": \"myImage\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/images/myImage\",\r\n + \ \"type\": \"Microsoft.Compute/images\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"sourceVirtualMachine\": {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\"\r\n + \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": + \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": + 30,\r\n \"blobUri\": \"https://vhdstoraged1ce3fd5d9f64b.blob.core.windows.net/vhds/osdisk_d1ce3fd5d9.vhd\",\r\n + \ \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Standard_LRS\"\r\n + \ },\r\n \"dataDisks\": []\r\n },\r\n \"provisioningState\": + \"Succeeded\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '885' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Jul 2023 02:49: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/GetImages3Min;358,Microsoft.Compute/GetImages30Min;1785 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - image show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/images/myImage?api-version=2017-03-30 response: @@ -1482,7 +1646,7 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\"\r\n \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": - 30,\r\n \"blobUri\": \"https://vhdstorage8a50e714ff69e7.blob.core.windows.net/vhds/osdisk_8a50e714ff.vhd\",\r\n + 30,\r\n \"blobUri\": \"https://vhdstoraged1ce3fd5d9f64b.blob.core.windows.net/vhds/osdisk_d1ce3fd5d9.vhd\",\r\n \ \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Standard_LRS\"\r\n \ },\r\n \"dataDisks\": []\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" @@ -1494,7 +1658,220 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 14:24:52 GMT + - Fri, 21 Jul 2023 02:49: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/GetImages3Min;357,Microsoft.Compute/GetImages30Min;1784 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - image list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/images?api-version=2017-03-30 + response: + body: + string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"myImage\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/images/myImage\",\r\n + \ \"type\": \"Microsoft.Compute/images\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"sourceVirtualMachine\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\"\r\n + \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n + \ \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n + \ \"diskSizeGB\": 30,\r\n \"blobUri\": \"https://vhdstoraged1ce3fd5d9f64b.blob.core.windows.net/vhds/osdisk_d1ce3fd5d9.vhd\",\r\n + \ \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": + \"Standard_LRS\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n + \ \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1006' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Jul 2023 02:49:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/HighCostGetImages3Min;79,Microsoft.Compute/HighCostGetImages30Min;397 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - image delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/images/myImage?api-version=2017-03-30 + response: + body: + string: '' + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/de91b009-af84-439a-b509-ac0fbd1cf4ea?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-03-30 + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 21 Jul 2023 02:49:38 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/de91b009-af84-439a-b509-ac0fbd1cf4ea?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2017-03-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/DeleteImages3Min;119,Microsoft.Compute/DeleteImages30Min;597 + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - image delete + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/de91b009-af84-439a-b509-ac0fbd1cf4ea?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-03-30 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-21T02:49:38.6513703+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"de91b009-af84-439a-b509-ac0fbd1cf4ea\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Jul 2023 02:49:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14988,Microsoft.Compute/GetOperation30Min;29937 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - image delete + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/de91b009-af84-439a-b509-ac0fbd1cf4ea?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-03-30 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-21T02:49:38.6513703+00:00\",\r\n \"endTime\": + \"2023-07-21T02:49:43.7764524+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"de91b009-af84-439a-b509-ac0fbd1cf4ea\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Jul 2023 02:50:09 GMT expires: - '-1' pragma: @@ -1511,7 +1888,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetImages3Min;350,Microsoft.Compute/GetImages30Min;1673 + - Microsoft.Compute/GetOperation3Min;14986,Microsoft.Compute/GetOperation30Min;29944 status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2018_03_01/test_vm_commands.py b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2018_03_01/test_vm_commands.py index 1341565eb2f..c97b9265c89 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2018_03_01/test_vm_commands.py +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2018_03_01/test_vm_commands.py @@ -233,6 +233,16 @@ def test_vm_generalize(self, resource_group): self.check('storageProfile.zoneResilient', None) ]) + self.cmd('image show -g {rg} -n {image}', checks=[ + self.check('name', '{image}'), + self.check('sourceVirtualMachine.id', vm['id']), + self.check('storageProfile.zoneResilient', None) + ]) + self.cmd('image list -g {rg}', checks=[ + self.check('length(@)', '1') + ]) + self.cmd('image delete -g {rg} -n {image}') + class VMVMSSWindowsLicenseTest(ScenarioTest): diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2019_03_01/recordings/test_vm_generalize.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2019_03_01/recordings/test_vm_generalize.yaml index cd9e3dd9c34..f2749c8c915 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2019_03_01/recordings/test_vm_generalize.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2019_03_01/recordings/test_vm_generalize.yaml @@ -13,21 +13,21 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001?api-version=2018-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001","name":"cli_test_generalize_vm000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-23T09:55:33Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001","name":"cli_test_generalize_vm000001","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_vm_generalize","date":"2023-07-21T02:36:10Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '290' + - '332' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 09:55:36 GMT + - Fri, 21 Jul 2023 02:36:18 GMT expires: - '-1' pragma: @@ -51,7 +51,7 @@ interactions: Connection: - keep-alive User-Agent: - - python-requests/2.26.0 + - python-requests/2.31.0 method: GET uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: @@ -62,23 +62,44 @@ interactions: \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n \ \"sku\": \"7.5\",\n \"version\": \"latest\",\n \"architecture\": + \"x64\"\n },\n \"CentOS85Gen2\": {\n \"publisher\": + \ \"OpenLogic\",\n \"offer\": \"CentOS\",\n \"sku\": + \ \"8_5-gen2\",\n \"version\": \"latest\",\n \"architecture\": \"x64\"\n },\n \"Debian\": {\n \"publisher\": \"Debian\",\n \"offer\": \"debian-10\",\n \"sku\": \"10\",\n \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n + \ },\n \"Debian11\": {\n \"publisher\": \"Debian\",\n + \ \"offer\": \"debian-11\",\n \"sku\": \"11-backports-gen2\",\n + \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n \ },\n \"Flatcar\": {\n \"publisher\": \"kinvolk\",\n \ \"offer\": \"flatcar-container-linux-free\",\n \"sku\": \"stable\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"openSUSE-Leap\": {\n \"publisher\": - \"SUSE\",\n \"offer\": \"opensuse-leap-15-3\",\n \"sku\": - \"gen2\",\n \"version\": \"latest\",\n \"architecture\": + \"x64\"\n },\n \"FlatcarLinuxFreeGen2\": {\n \"publisher\": + \ \"kinvolk\",\n \"offer\": \"flatcar-container-linux-free\",\n + \ \"sku\": \"stable-gen2\",\n \"version\": \"latest\",\n + \ \"architecture\": \"x64\"\n },\n \"openSUSE-Leap\": + {\n \"publisher\": \"SUSE\",\n \"offer\": \"opensuse-leap-15-3\",\n + \ \"sku\": \"gen2\",\n \"version\": \"latest\",\n \"architecture\": + \"x64\"\n },\n \"OpenSuseLeap154Gen2\": {\n \"publisher\": + \ \"SUSE\",\n \"offer\": \"openSUSE-leap-15-4\",\n \"sku\": + \ \"gen2\",\n \"version\": \"latest\",\n \"architecture\": \"x64\"\n },\n \"RHEL\": {\n \"publisher\": \"RedHat\",\n \ \"offer\": \"RHEL\",\n \"sku\": \"7-LVM\",\n \"version\": - \"latest\",\n \"architecture\": \"x64\"\n },\n \"SLES\": - {\n \"publisher\": \"SUSE\",\n \"offer\": \"sles-15-sp3\",\n + \"latest\",\n \"architecture\": \"x64\"\n },\n \"RHELRaw8LVMGen2\": + \ {\n \"publisher\": \"RedHat\",\n \"offer\": \"RHEL\",\n + \ \"sku\": \"8-lvm-gen2\",\n \"version\": \"latest\",\n + \ \"architecture\": \"x64\"\n },\n \"SLES\": {\n + \ \"publisher\": \"SUSE\",\n \"offer\": \"sles-15-sp3\",\n \ \"sku\": \"gen2\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"UbuntuLTS\": {\n \"publisher\": - \"Canonical\",\n \"offer\": \"UbuntuServer\",\n \"sku\": - \"18.04-LTS\",\n \"version\": \"latest\",\n \"architecture\": + \"x64\"\n },\n \"SuseSles15SP3\": {\n \"publisher\": + \"SUSE\",\n \"offer\": \"sles-15-sp3\",\n \"sku\": \"gen2\",\n + \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n + \ },\n \"UbuntuLTS\": {\n \"publisher\": \"Canonical\",\n + \ \"offer\": \"UbuntuServer\",\n \"sku\": \"18.04-LTS\",\n + \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n + \ },\n \"Ubuntu2204\": {\n \"publisher\": \"Canonical\",\n + \ \"offer\": \"0001-com-ubuntu-server-jammy\",\n \"sku\": + \ \"22_04-lts-gen2\",\n \"version\": \"latest\",\n \"architecture\": \"x64\"\n }\n },\n \"Windows\": {\n \"Win2022Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": \"2022-Datacenter\",\n \"version\": @@ -101,7 +122,7 @@ interactions: \"x64\"\n },\n \"Win2008R2SP1\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": \"2008-R2-SP1\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n }\n }\n }\n }\n }\n}" + \"x64\"\n }\n }\n }\n }\n }\n}\n" headers: accept-ranges: - bytes @@ -112,19 +133,21 @@ interactions: connection: - keep-alive content-length: - - '3463' + - '5018' content-security-policy: - default-src 'none'; style-src 'unsafe-inline'; sandbox content-type: - text/plain; charset=utf-8 + cross-origin-resource-policy: + - cross-origin date: - - Thu, 23 Jun 2022 09:55:37 GMT + - Fri, 21 Jul 2023 02:36:20 GMT etag: - - W/"41b202f4dc5098d126019dc00721a4c5e30df0c5196794514fadc3710ee2a5cb" + - W/"0a553f088c358b909a2940b5a97fcb731c1d443cb7a332ca4933eb2b7df38468" expires: - - Thu, 23 Jun 2022 10:00:37 GMT + - Fri, 21 Jul 2023 02:41:20 GMT source-age: - - '282' + - '0' strict-transport-security: - max-age=31536000 vary: @@ -138,15 +161,15 @@ interactions: x-content-type-options: - nosniff x-fastly-request-id: - - e8463f89462ef525eff37d465c916254de32cb8f + - b5d3d8293ea50cb89e5f9a4649285dd697229494 x-frame-options: - deny x-github-request-id: - - 21B0:36D2:2D43B3:3CFF7D:62B40BF8 + - B872:20EB:38036C:4175F0:64B9C7A8 x-served-by: - - cache-qpg1237-QPG + - cache-nrt-rjtf7700028-NRT x-timer: - - S1655978137.096399,VS0,VE1 + - S1689906980.777868,VS0,VE301 x-xss-protection: - 1; mode=block status: @@ -166,13 +189,13 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2017-12-01 response: body: - string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202206150\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202206150\"\r\n + string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202306070\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202306070\"\r\n \ }\r\n]" headers: cache-control: @@ -182,7 +205,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 09:55:38 GMT + - Fri, 21 Jul 2023 02:36:22 GMT expires: - '-1' pragma: @@ -199,7 +222,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15998,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43998 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15996,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43993 status: code: 200 message: OK @@ -217,9 +240,9 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202206150?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202306070?api-version=2017-12-01 response: body: string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": @@ -229,21 +252,21 @@ interactions: {\r\n \"imageState\": \"Active\"\r\n },\r\n \"features\": [\r\n \ {\r\n \"name\": \"IsAcceleratedNetworkSupported\",\r\n \"value\": \"True\"\r\n },\r\n {\r\n \"name\": \"DiskControllerTypes\",\r\n - \ \"value\": \"SCSI\"\r\n },\r\n {\r\n \"name\": \"IsHibernateSupported\",\r\n - \ \"value\": \"False\"\r\n }\r\n ],\r\n \"osDiskImage\": - {\r\n \"operatingSystem\": \"Linux\",\r\n \"sizeInGb\": 31,\r\n - \ \"sizeInBytes\": 32213303808\r\n },\r\n \"dataDiskImages\": []\r\n - \ },\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202206150\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202206150\"\r\n}" + \ \"value\": \"SCSI, NVMe\"\r\n },\r\n {\r\n \"name\": + \"IsHibernateSupported\",\r\n \"value\": \"True\"\r\n }\r\n ],\r\n + \ \"osDiskImage\": {\r\n \"operatingSystem\": \"Linux\",\r\n \"sizeInGb\": + 31,\r\n \"sizeInBytes\": 32213303808\r\n },\r\n \"dataDiskImages\": + []\r\n },\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202306070\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202306070\"\r\n}" headers: cache-control: - no-cache content-length: - - '1043' + - '1048' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 09:55:39 GMT + - Fri, 21 Jul 2023 02:36:23 GMT expires: - '-1' pragma: @@ -260,7 +283,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12998,Microsoft.Compute/GetVMImageFromLocation30Min;73998 + - Microsoft.Compute/GetVMImageFromLocation3Min;12995,Microsoft.Compute/GetVMImageFromLocation30Min;73994 status: code: 200 message: OK @@ -278,7 +301,7 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-storage/20.0.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-storage/21.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Storage/storageAccounts?api-version=2017-10-01 response: @@ -292,7 +315,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 09:55:40 GMT + - Fri, 21 Jul 2023 02:36:24 GMT expires: - '-1' pragma: @@ -310,7 +333,7 @@ interactions: body: null headers: Accept: - - application/json, text/json + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -320,7 +343,7 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/virtualNetworks?api-version=2017-10-01 response: @@ -334,7 +357,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 09:55:40 GMT + - Fri, 21 Jul 2023 02:36:26 GMT expires: - '-1' pragma: @@ -352,7 +375,7 @@ interactions: body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"adminPassword": {"type": "securestring", "metadata": {"description": "Secure adminPassword"}}}, "variables": {}, "resources": - [{"type": "Microsoft.Storage/storageAccounts", "name": "vhdstoragea606a53c29b6f5", + [{"type": "Microsoft.Storage/storageAccounts", "name": "vhdstorageef3b310dd83ea0", "apiVersion": "2015-06-15", "location": "westus", "tags": {}, "dependsOn": [], "properties": {"accountType": "Premium_LRS"}}, {"name": "vm-generalizeVNET", "type": "Microsoft.Network/virtualNetworks", "location": "westus", "apiVersion": @@ -375,13 +398,13 @@ interactions: "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP"}}}], "networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG"}}}, {"apiVersion": "2017-12-01", "type": "Microsoft.Compute/virtualMachines", "name": - "vm-generalize", "location": "westus", "tags": {}, "dependsOn": ["Microsoft.Storage/storageAccounts/vhdstoragea606a53c29b6f5", + "vm-generalize", "location": "westus", "tags": {}, "dependsOn": ["Microsoft.Storage/storageAccounts/vhdstorageef3b310dd83ea0", "Microsoft.Network/networkInterfaces/vm-generalizeVMNic"], "properties": {"hardwareProfile": {"vmSize": "Standard_DS1_v2"}, "networkProfile": {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic", "properties": {"deleteOption": null}}]}, "storageProfile": {"osDisk": {"createOption": - "fromImage", "name": "osdisk_a606a53c29", "caching": "ReadWrite", "vhd": {"uri": - "https://vhdstoragea606a53c29b6f5.blob.core.windows.net/vhds/osdisk_a606a53c29.vhd"}}, + "fromImage", "name": "osdisk_ef3b310dd8", "caching": "ReadWrite", "vhd": {"uri": + "https://vhdstorageef3b310dd83ea0.blob.core.windows.net/vhds/osdisk_ef3b310dd8.vhd"}}, "imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", "sku": "18.04-LTS", "version": "latest"}}, "osProfile": {"computerName": "vm-generalize", "adminUsername": "ubuntu", "adminPassword": "[parameters(''adminPassword'')]"}}}], @@ -403,23 +426,23 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2018-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/vm_deploy_lT4zYmFXx5bjT0fg4Rm8q7gMjPxblT1v","name":"vm_deploy_lT4zYmFXx5bjT0fg4Rm8q7gMjPxblT1v","properties":{"templateHash":"2806039659973964316","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-06-23T09:55:46.2612963Z","duration":"PT0.0004828S","correlationId":"3b9c9556-3060-4f3c-883f-4c1203f1520c","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["westus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/virtualNetworks/vm-generalizeVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm-generalizeVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm-generalizeNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm-generalizePublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Storage/storageAccounts/vhdstoragea606a53c29b6f5","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"vhdstoragea606a53c29b6f5"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm-generalize"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/vm_deploy_xJRUZiCdKyGMdvBHjHszeFhvmuIlVAym","name":"vm_deploy_xJRUZiCdKyGMdvBHjHszeFhvmuIlVAym","properties":{"templateHash":"13235386164286347994","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-07-21T02:36:31.3445442Z","duration":"PT0.0004163S","correlationId":"d04352d2-8a7f-44cb-9414-f56e347019f6","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["westus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/virtualNetworks/vm-generalizeVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm-generalizeVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm-generalizeNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm-generalizePublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Storage/storageAccounts/vhdstorageef3b310dd83ea0","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"vhdstorageef3b310dd83ea0"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm-generalize"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/vm_deploy_lT4zYmFXx5bjT0fg4Rm8q7gMjPxblT1v/operationStatuses/08585456287417287176?api-version=2018-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/vm_deploy_xJRUZiCdKyGMdvBHjHszeFhvmuIlVAym/operationStatuses/08585116998959207543?api-version=2018-05-01 cache-control: - no-cache content-length: - - '2908' + - '2909' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 09:55:46 GMT + - Fri, 21 Jul 2023 02:36:31 GMT expires: - '-1' pragma: @@ -447,9 +470,51 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585116998959207543?api-version=2018-05-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Jul 2023 02:36:32 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 --admin-username --image --admin-password --authentication-type --use-unmanaged-disk + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585456287417287176?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585116998959207543?api-version=2018-05-01 response: body: string: '{"status":"Running"}' @@ -461,7 +526,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 09:56:18 GMT + - Fri, 21 Jul 2023 02:37:03 GMT expires: - '-1' pragma: @@ -489,9 +554,9 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585456287417287176?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585116998959207543?api-version=2018-05-01 response: body: string: '{"status":"Running"}' @@ -503,7 +568,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 09:56:48 GMT + - Fri, 21 Jul 2023 02:37:33 GMT expires: - '-1' pragma: @@ -531,9 +596,9 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585456287417287176?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585116998959207543?api-version=2018-05-01 response: body: string: '{"status":"Succeeded"}' @@ -545,7 +610,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 09:57:18 GMT + - Fri, 21 Jul 2023 02:38:03 GMT expires: - '-1' pragma: @@ -573,12 +638,12 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2018-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/vm_deploy_lT4zYmFXx5bjT0fg4Rm8q7gMjPxblT1v","name":"vm_deploy_lT4zYmFXx5bjT0fg4Rm8q7gMjPxblT1v","properties":{"templateHash":"2806039659973964316","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-06-23T09:56:56.4636844Z","duration":"PT1M10.2028709S","correlationId":"3b9c9556-3060-4f3c-883f-4c1203f1520c","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["westus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/virtualNetworks/vm-generalizeVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm-generalizeVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm-generalizeNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm-generalizePublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Storage/storageAccounts/vhdstoragea606a53c29b6f5","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"vhdstoragea606a53c29b6f5"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm-generalize"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/virtualNetworks/vm-generalizeVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Storage/storageAccounts/vhdstoragea606a53c29b6f5"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/vm_deploy_xJRUZiCdKyGMdvBHjHszeFhvmuIlVAym","name":"vm_deploy_xJRUZiCdKyGMdvBHjHszeFhvmuIlVAym","properties":{"templateHash":"13235386164286347994","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-07-21T02:37:37.9683598Z","duration":"PT1M6.6242319S","correlationId":"d04352d2-8a7f-44cb-9414-f56e347019f6","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["westus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/virtualNetworks/vm-generalizeVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm-generalizeVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm-generalizeNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm-generalizePublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Storage/storageAccounts/vhdstorageef3b310dd83ea0","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"vhdstorageef3b310dd83ea0"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm-generalize"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/virtualNetworks/vm-generalizeVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Storage/storageAccounts/vhdstorageef3b310dd83ea0"}]}}' headers: cache-control: - no-cache @@ -587,7 +652,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 09:57:19 GMT + - Fri, 21 Jul 2023 02:38:04 GMT expires: - '-1' pragma: @@ -615,21 +680,21 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize?$expand=instanceView&api-version=2017-12-01 response: body: string: "{\r\n \"name\": \"vm-generalize\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"a75add24-eaeb-4713-b134-3f9117e59bfd\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"d12380a0-0230-4e86-9473-0a7f3cffc436\",\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 },\r\n \"osDisk\": - {\r\n \"osType\": \"Linux\",\r\n \"name\": \"osdisk_a606a53c29\",\r\n + {\r\n \"osType\": \"Linux\",\r\n \"name\": \"osdisk_ef3b310dd8\",\r\n \ \"createOption\": \"FromImage\",\r\n \"vhd\": {\r\n \"uri\": - \"https://vhdstoragea606a53c29b6f5.blob.core.windows.net/vhds/osdisk_a606a53c29.vhd\"\r\n + \"https://vhdstorageef3b310dd83ea0.blob.core.windows.net/vhds/osdisk_ef3b310dd8.vhd\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm-generalize\",\r\n \"adminUsername\": @@ -638,19 +703,19 @@ interactions: {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic\"}]},\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": \"vm-generalize\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": - \"18.04\",\r\n \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.8.0.6\",\r\n + \"18.04\",\r\n \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.9.1.1\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2022-06-23T09:57:01+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"osdisk_a606a53c29\",\r\n + \"2023-07-21T02:37:43+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"osdisk_ef3b310dd8\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-06-23T09:56:18.5594602+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-21T02:37:01.155017+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-06-23T09:56:53.2626999+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-21T02:37:35.8898638+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}" @@ -658,11 +723,11 @@ interactions: cache-control: - no-cache content-length: - - '2686' + - '2685' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 09:57:20 GMT + - Fri, 21 Jul 2023 02:38:06 GMT expires: - '-1' pragma: @@ -679,7 +744,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3922,Microsoft.Compute/LowCostGet30Min;31208 + - Microsoft.Compute/LowCostGet3Min;3993,Microsoft.Compute/LowCostGet30Min;31986 status: code: 200 message: OK @@ -687,7 +752,7 @@ interactions: body: null headers: Accept: - - application/json, text/json + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -697,18 +762,18 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic?api-version=2017-10-01 response: body: string: "{\r\n \"name\": \"vm-generalizeVMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic\",\r\n - \ \"etag\": \"W/\\\"d13b8650-8cbb-4858-9b35-325b68cae70f\\\"\",\r\n \"location\": - \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"6092dbfe-3569-4d7a-a7f6-344a77d2bcc4\",\r\n - \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm-generalize\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic/ipConfigurations/ipconfigvm-generalize\",\r\n - \ \"etag\": \"W/\\\"d13b8650-8cbb-4858-9b35-325b68cae70f\\\"\",\r\n + \ \"etag\": \"W/\\\"71f78d51-9b49-473b-b252-3d20c520a141\\\"\",\r\n \"tags\": + {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"46009454-6859-4055-a35a-6a4550c8c8fa\",\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"ipconfigvm-generalize\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic/ipConfigurations/ipconfigvm-generalize\",\r\n + \ \"etag\": \"W/\\\"71f78d51-9b49-473b-b252-3d20c520a141\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -717,12 +782,13 @@ interactions: \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": - \"fnjn1htvkaiutgxkoogkipuxkd.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-0D-3A-37-AC-55\",\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": + \"pcumtofv0ojelb5zqyimqdp4rd.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"60-45-BD-05-43-9B\",\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\"\r\n - \ }\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}" + \ }\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\",\r\n + \ \"location\": \"westus\"\r\n}" headers: cache-control: - no-cache @@ -731,9 +797,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 09:57:20 GMT + - Fri, 21 Jul 2023 02:38:07 GMT etag: - - W/"d13b8650-8cbb-4858-9b35-325b68cae70f" + - W/"71f78d51-9b49-473b-b252-3d20c520a141" expires: - '-1' pragma: @@ -750,7 +816,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cd722e9c-881f-4b6f-af5d-731d0ec1dfb2 + - e263b5be-2b61-41a5-9470-1b82e2caf89a status: code: 200 message: OK @@ -758,7 +824,7 @@ interactions: body: null headers: Accept: - - application/json, text/json + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -768,17 +834,17 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP?api-version=2017-10-01 response: body: string: "{\r\n \"name\": \"vm-generalizePublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP\",\r\n - \ \"etag\": \"W/\\\"6ad79eaf-5f92-45fc-978b-13a15e395d47\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"e81fb9fd-e38c-4c18-ab10-12bc9b03c595\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"242b8e75-90b9-4c20-ade5-fb4d5b367dc6\",\r\n - \ \"ipAddress\": \"20.228.112.11\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n - \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + \"Succeeded\",\r\n \"resourceGuid\": \"49726a4c-1bc5-49c8-92f0-1962cbb6af08\",\r\n + \ \"ipAddress\": \"20.245.186.114\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic/ipConfigurations/ipconfigvm-generalize\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" @@ -786,13 +852,13 @@ interactions: cache-control: - no-cache content-length: - - '943' + - '944' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 09:57:21 GMT + - Fri, 21 Jul 2023 02:38:09 GMT etag: - - W/"6ad79eaf-5f92-45fc-978b-13a15e395d47" + - W/"e81fb9fd-e38c-4c18-ab10-12bc9b03c595" expires: - '-1' pragma: @@ -809,7 +875,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6d56ecf4-0e8a-42f6-aa97-ffc4a84f045b + - 9dbb7216-bb9d-43cc-b55e-4351614cd44d status: code: 200 message: OK @@ -829,25 +895,27 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize/powerOff?api-version=2017-12-01 response: body: string: '' headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/87d44307-c18f-4866-bb39-7ddbabdd1fe8?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/3900bfe9-9669-45b2-8fcc-496d221f4bde?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-12-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 23 Jun 2022 09:57:22 GMT + - Fri, 21 Jul 2023 02:38:11 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/87d44307-c18f-4866-bb39-7ddbabdd1fe8?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/3900bfe9-9669-45b2-8fcc-496d221f4bde?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2017-12-01 pragma: - no-cache server: @@ -858,7 +926,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/UpdateVM3Min;239,Microsoft.Compute/UpdateVM30Min;1198 + - Microsoft.Compute/UpdateVM3Min;239,Microsoft.Compute/UpdateVM30Min;1196 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -878,14 +946,64 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/3900bfe9-9669-45b2-8fcc-496d221f4bde?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-12-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-21T02:38:12.4528366+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"3900bfe9-9669-45b2-8fcc-496d221f4bde\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Jul 2023 02: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 + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29976 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm stop + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/87d44307-c18f-4866-bb39-7ddbabdd1fe8?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/3900bfe9-9669-45b2-8fcc-496d221f4bde?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-12-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-23T09:57:23.0283323+00:00\",\r\n \"endTime\": - \"2022-06-23T09:57:27.9814892+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"87d44307-c18f-4866-bb39-7ddbabdd1fe8\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-21T02:38:12.4528366+00:00\",\r\n \"endTime\": + \"2023-07-21T02:38:21.6404004+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"3900bfe9-9669-45b2-8fcc-496d221f4bde\"\r\n}" headers: cache-control: - no-cache @@ -894,7 +1012,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 09:57:53 GMT + - Fri, 21 Jul 2023 02:38:43 GMT expires: - '-1' pragma: @@ -911,7 +1029,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14987,Microsoft.Compute/GetOperation30Min;29982 + - Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29973 status: code: 200 message: OK @@ -931,7 +1049,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize/generalize?api-version=2017-12-01 response: @@ -943,7 +1061,7 @@ interactions: content-length: - '0' date: - - Thu, 23 Jun 2022 09:57:54 GMT + - Fri, 21 Jul 2023 02:38:44 GMT expires: - '-1' pragma: @@ -956,9 +1074,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/UpdateVM3Min;238,Microsoft.Compute/UpdateVM30Min;1197 + - Microsoft.Compute/UpdateVM3Min;238,Microsoft.Compute/UpdateVM30Min;1195 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -976,21 +1094,21 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize?api-version=2017-12-01 response: body: string: "{\r\n \"name\": \"vm-generalize\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"a75add24-eaeb-4713-b134-3f9117e59bfd\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"d12380a0-0230-4e86-9473-0a7f3cffc436\",\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 },\r\n \"osDisk\": - {\r\n \"osType\": \"Linux\",\r\n \"name\": \"osdisk_a606a53c29\",\r\n + {\r\n \"osType\": \"Linux\",\r\n \"name\": \"osdisk_ef3b310dd8\",\r\n \ \"createOption\": \"FromImage\",\r\n \"vhd\": {\r\n \"uri\": - \"https://vhdstoragea606a53c29b6f5.blob.core.windows.net/vhds/osdisk_a606a53c29.vhd\"\r\n + \"https://vhdstorageef3b310dd83ea0.blob.core.windows.net/vhds/osdisk_ef3b310dd8.vhd\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm-generalize\",\r\n \"adminUsername\": @@ -1006,7 +1124,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 09:57:55 GMT + - Fri, 21 Jul 2023 02:38:47 GMT expires: - '-1' pragma: @@ -1023,7 +1141,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3913,Microsoft.Compute/LowCostGet30Min;31196 + - Microsoft.Compute/LowCostGet3Min;3991,Microsoft.Compute/LowCostGet30Min;31984 status: code: 200 message: OK @@ -1046,25 +1164,27 @@ interactions: ParameterSetName: - -g -n --vhd-name-prefix User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize/capture?api-version=2017-12-01 response: body: string: '' headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/74dacfee-508f-4601-9f06-a4ee879ce332?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/95fb91fc-9dbb-4249-b3cc-985ade600c93?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-12-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 23 Jun 2022 09:57:57 GMT + - Fri, 21 Jul 2023 02:38:48 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/74dacfee-508f-4601-9f06-a4ee879ce332?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/95fb91fc-9dbb-4249-b3cc-985ade600c93?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2017-12-01 pragma: - no-cache server: @@ -1075,9 +1195,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/UpdateVM3Min;237,Microsoft.Compute/UpdateVM30Min;1196 + - Microsoft.Compute/UpdateVM3Min;237,Microsoft.Compute/UpdateVM30Min;1194 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -1095,24 +1215,44 @@ interactions: ParameterSetName: - -g -n --vhd-name-prefix User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/74dacfee-508f-4601-9f06-a4ee879ce332?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/95fb91fc-9dbb-4249-b3cc-985ade600c93?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-12-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-23T09:57:57.7003323+00:00\",\r\n \"endTime\": - \"2022-06-23T09:57:57.8565652+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"properties\": {\r\n \"output\": {\"$schema\":\"http://schema.management.azure.com/schemas/2014-04-01-preview/VM_IP.json\",\"contentVersion\":\"1.0.0.0\",\"parameters\":{\"vmName\":{\"type\":\"string\"},\"vmSize\":{\"type\":\"string\",\"defaultValue\":\"Standard_DS1_v2\"},\"adminUserName\":{\"type\":\"string\"},\"adminPassword\":{\"type\":\"securestring\"},\"networkInterfaceId\":{\"type\":\"string\"}},\"resources\":[{\"name\":\"[parameters('vmName')]\",\"type\":\"Microsoft.Compute/virtualMachines\",\"location\":\"westus\",\"apiVersion\":\"2017-12-01\",\"properties\":{\"hardwareProfile\":{\"vmSize\":\"[parameters('vmSize')]\"},\"storageProfile\":{\"osDisk\":{\"osType\":\"Linux\",\"name\":\"vmtest-osDisk.a75add24-eaeb-4713-b134-3f9117e59bfd.vhd\",\"createOption\":\"FromImage\",\"image\":{\"uri\":\"https://vhdstoragea606a53c29b6f5.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/vmtest-osDisk.a75add24-eaeb-4713-b134-3f9117e59bfd.vhd\"},\"vhd\":{\"uri\":\"https://vhdstoragea606a53c29b6f5.blob.core.windows.net/vmcontainerd7494b8e-c1bc-4ae2-bd97-9bdd7321b4e2/osDisk.d7494b8e-c1bc-4ae2-bd97-9bdd7321b4e2.vhd\"},\"caching\":\"ReadWrite\"}},\"osProfile\":{\"computerName\":\"[parameters('vmName')]\",\"adminUsername\":\"[parameters('adminUsername')]\",\"adminPassword\":\"[parameters('adminPassword')]\"},\"networkProfile\":{\"networkInterfaces\":[{\"id\":\"[parameters('networkInterfaceId')]\"}]},\"provisioningState\":0}}]}\r\n - \ },\r\n \"name\": \"74dacfee-508f-4601-9f06-a4ee879ce332\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-21T02:38:49.1564163+00:00\",\r\n \"endTime\": + \"2023-07-21T02:38:49.3751707+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/VM_IP.json\",\r\n + \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"vmName\": + {\r\n \"type\": \"string\"\r\n },\r\n \"vmSize\": {\r\n \"type\": + \"string\",\r\n \"defaultValue\": \"Standard_DS1_v2\"\r\n },\r\n \"adminUserName\": + {\r\n \"type\": \"string\"\r\n },\r\n \"adminPassword\": {\r\n + \ \"type\": \"securestring\"\r\n },\r\n \"networkInterfaceId\": + {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n + \ {\r\n \"name\": \"[parameters('vmName')]\",\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n + \ \"location\": \"westus\",\r\n \"apiVersion\": \"2017-12-01\",\r\n + \ \"properties\": {\r\n \"hardwareProfile\": {\r\n \"vmSize\": + \"[parameters('vmSize')]\"\r\n },\r\n \"storageProfile\": {\r\n + \ \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": + \"vmtest-osDisk.d12380a0-0230-4e86-9473-0a7f3cffc436.vhd\",\r\n \"createOption\": + \"FromImage\",\r\n \"image\": {\r\n \"uri\": \"https://vhdstorageef3b310dd83ea0.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/vmtest-osDisk.d12380a0-0230-4e86-9473-0a7f3cffc436.vhd\"\r\n + \ },\r\n \"vhd\": {\r\n \"uri\": \"https://vhdstorageef3b310dd83ea0.blob.core.windows.net/vmcontainerfc1e838e-bb7c-4b28-b74c-77b193a9cc53/osDisk.fc1e838e-bb7c-4b28-b74c-77b193a9cc53.vhd\"\r\n + \ },\r\n \"caching\": \"ReadWrite\"\r\n }\r\n + \ },\r\n \"osProfile\": {\r\n \"computerName\": \"[parameters('vmName')]\",\r\n + \ \"adminUsername\": \"[parameters('adminUsername')]\",\r\n \"adminPassword\": + \"[parameters('adminPassword')]\"\r\n },\r\n \"networkProfile\": + {\"networkInterfaces\":[{\"id\":\"[parameters('networkInterfaceId')]\"}]},\r\n + \ \"provisioningState\": 0\r\n }\r\n }\r\n ]\r\n}\r\n },\r\n + \ \"name\": \"95fb91fc-9dbb-4249-b3cc-985ade600c93\"\r\n}" headers: cache-control: - no-cache content-length: - - '1508' + - '2036' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 09:58:27 GMT + - Fri, 21 Jul 2023 02:38:49 GMT expires: - '-1' pragma: @@ -1129,7 +1269,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14982,Microsoft.Compute/GetOperation30Min;29977 + - Microsoft.Compute/GetOperation3Min;14991,Microsoft.Compute/GetOperation30Min;29971 status: code: 200 message: OK @@ -1147,21 +1287,21 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize?$expand=instanceView&api-version=2017-12-01 response: body: string: "{\r\n \"name\": \"vm-generalize\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"a75add24-eaeb-4713-b134-3f9117e59bfd\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"d12380a0-0230-4e86-9473-0a7f3cffc436\",\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 },\r\n \"osDisk\": - {\r\n \"osType\": \"Linux\",\r\n \"name\": \"osdisk_a606a53c29\",\r\n + {\r\n \"osType\": \"Linux\",\r\n \"name\": \"osdisk_ef3b310dd8\",\r\n \ \"createOption\": \"FromImage\",\r\n \"vhd\": {\r\n \"uri\": - \"https://vhdstoragea606a53c29b6f5.blob.core.windows.net/vhds/osdisk_a606a53c29.vhd\"\r\n + \"https://vhdstorageef3b310dd83ea0.blob.core.windows.net/vhds/osdisk_ef3b310dd8.vhd\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm-generalize\",\r\n \"adminUsername\": @@ -1170,21 +1310,21 @@ interactions: {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic\"}]},\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": \"vm-generalize\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": - \"18.04\",\r\n \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.8.0.6\",\r\n + \"18.04\",\r\n \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.9.1.1\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2022-06-23T09:57:01+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"osdisk_a606a53c29\",\r\n + \"2023-07-21T02:37:43+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"osdisk_ef3b310dd8\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-06-23T09:56:18.5594602+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-21T02:37:01.155017+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"statuses\": [\r\n {\r\n \"code\": \"OSState/generalized\",\r\n \"level\": \"Info\",\r\n \"displayStatus\": \"VM generalized\"\r\n },\r\n \ {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning succeeded\",\r\n - \ \"time\": \"2022-06-23T09:57:27.9658719+00:00\"\r\n },\r\n + \ \"time\": \"2023-07-21T02:38:21.4997725+00:00\"\r\n },\r\n \ {\r\n \"code\": \"PowerState/stopped\",\r\n \"level\": \"Info\",\r\n \"displayStatus\": \"VM stopped\"\r\n }\r\n \ ]\r\n }\r\n }\r\n}" @@ -1192,11 +1332,11 @@ interactions: cache-control: - no-cache content-length: - - '2824' + - '2823' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 09:58:29 GMT + - Fri, 21 Jul 2023 02:38:50 GMT expires: - '-1' pragma: @@ -1213,7 +1353,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3909,Microsoft.Compute/LowCostGet30Min;31178 + - Microsoft.Compute/LowCostGet3Min;3990,Microsoft.Compute/LowCostGet30Min;31983 status: code: 200 message: OK @@ -1231,27 +1371,29 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001?api-version=2018-05-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001","name":"cli_test_generalize_vm000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-23T09:55:33Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001","name":"cli_test_generalize_vm000001","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_vm_generalize","date":"2023-07-21T02:36:10Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '290' + - '332' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 09:58:29 GMT + - Fri, 21 Jul 2023 02:38:51 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding x-content-type-options: - nosniff status: @@ -1276,7 +1418,7 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/images/myImage?api-version=2017-12-01 response: @@ -1287,7 +1429,7 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\"\r\n \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": - 30,\r\n \"blobUri\": \"https://vhdstoragea606a53c29b6f5.blob.core.windows.net/vhds/osdisk_a606a53c29.vhd\",\r\n + 30,\r\n \"blobUri\": \"https://vhdstorageef3b310dd83ea0.blob.core.windows.net/vhds/osdisk_ef3b310dd8.vhd\",\r\n \ \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Standard_LRS\"\r\n \ },\r\n \"dataDisks\": []\r\n },\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}" @@ -1295,7 +1437,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/3bc18332-3386-4b9d-8f92-4acb5e6c019f?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/f38b2af8-8928-4cc1-8db7-454d9baca8a9?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-12-01 cache-control: - no-cache content-length: @@ -1303,7 +1445,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 09:58:44 GMT + - Fri, 21 Jul 2023 02:39:01 GMT expires: - '-1' pragma: @@ -1316,9 +1458,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateImages3Min;39,Microsoft.Compute/CreateImages30Min;199 + - Microsoft.Compute/CreateImages3Min;39,Microsoft.Compute/CreateImages30Min;198 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -1336,23 +1478,22 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/3bc18332-3386-4b9d-8f92-4acb5e6c019f?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/f38b2af8-8928-4cc1-8db7-454d9baca8a9?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-12-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-23T09:58:38.4505015+00:00\",\r\n \"endTime\": - \"2022-06-23T09:58:48.5911631+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"3bc18332-3386-4b9d-8f92-4acb5e6c019f\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-21T02:38:56.0471389+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"f38b2af8-8928-4cc1-8db7-454d9baca8a9\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '134' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 09:59:15 GMT + - Fri, 21 Jul 2023 02:39:01 GMT expires: - '-1' pragma: @@ -1362,10 +1503,14 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14985,Microsoft.Compute/GetOperation30Min;29976 + - Microsoft.Compute/GetOperation3Min;14988,Microsoft.Compute/GetOperation30Min;29968 status: code: 200 message: OK @@ -1383,7 +1528,116 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/f38b2af8-8928-4cc1-8db7-454d9baca8a9?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-12-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-21T02:38:56.0471389+00:00\",\r\n \"endTime\": + \"2023-07-21T02:39:06.234773+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"f38b2af8-8928-4cc1-8db7-454d9baca8a9\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '183' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Jul 2023 02:39: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/GetOperation3Min;14988,Microsoft.Compute/GetOperation30Min;29966 + 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.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/images/myImage?api-version=2017-12-01 + response: + body: + string: "{\r\n \"name\": \"myImage\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/images/myImage\",\r\n + \ \"type\": \"Microsoft.Compute/images\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"sourceVirtualMachine\": {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\"\r\n + \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": + \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": + 30,\r\n \"blobUri\": \"https://vhdstorageef3b310dd83ea0.blob.core.windows.net/vhds/osdisk_ef3b310dd8.vhd\",\r\n + \ \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Standard_LRS\"\r\n + \ },\r\n \"dataDisks\": []\r\n },\r\n \"provisioningState\": + \"Succeeded\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '885' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Jul 2023 02:39: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/GetImages3Min;357,Microsoft.Compute/GetImages30Min;1791 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - image show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/images/myImage?api-version=2017-12-01 response: @@ -1394,7 +1648,7 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\"\r\n \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": - 30,\r\n \"blobUri\": \"https://vhdstoragea606a53c29b6f5.blob.core.windows.net/vhds/osdisk_a606a53c29.vhd\",\r\n + 30,\r\n \"blobUri\": \"https://vhdstorageef3b310dd83ea0.blob.core.windows.net/vhds/osdisk_ef3b310dd8.vhd\",\r\n \ \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Standard_LRS\"\r\n \ },\r\n \"dataDisks\": []\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" @@ -1406,7 +1660,169 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Jun 2022 09:59:20 GMT + - Fri, 21 Jul 2023 02:39:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetImages3Min;356,Microsoft.Compute/GetImages30Min;1790 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - image list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/images?api-version=2017-12-01 + response: + body: + string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"myImage\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/images/myImage\",\r\n + \ \"type\": \"Microsoft.Compute/images\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"sourceVirtualMachine\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\"\r\n + \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n + \ \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n + \ \"diskSizeGB\": 30,\r\n \"blobUri\": \"https://vhdstorageef3b310dd83ea0.blob.core.windows.net/vhds/osdisk_ef3b310dd8.vhd\",\r\n + \ \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": + \"Standard_LRS\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n + \ \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1006' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Jul 2023 02:39:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/HighCostGetImages3Min;79,Microsoft.Compute/HighCostGetImages30Min;398 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - image delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/images/myImage?api-version=2017-12-01 + response: + body: + string: '' + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/736b78d8-7df7-49ab-a8ba-30ae04c8acff?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-12-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 21 Jul 2023 02:39:37 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/736b78d8-7df7-49ab-a8ba-30ae04c8acff?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2017-12-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/DeleteImages3Min;119,Microsoft.Compute/DeleteImages30Min;598 + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - image delete + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/736b78d8-7df7-49ab-a8ba-30ae04c8acff?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-12-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-21T02:39:38.4383355+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"736b78d8-7df7-49ab-a8ba-30ae04c8acff\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Jul 2023 02:39:38 GMT expires: - '-1' pragma: @@ -1416,10 +1832,65 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14987,Microsoft.Compute/GetOperation30Min;29965 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - image delete + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/736b78d8-7df7-49ab-a8ba-30ae04c8acff?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2017-12-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-21T02:39:38.4383355+00:00\",\r\n \"endTime\": + \"2023-07-21T02:39:43.5477677+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"736b78d8-7df7-49ab-a8ba-30ae04c8acff\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Jul 2023 02:40: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/GetImages3Min;354,Microsoft.Compute/GetImages30Min;1743 + - Microsoft.Compute/GetOperation3Min;14985,Microsoft.Compute/GetOperation30Min;29963 status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2019_03_01/test_vm_commands.py b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2019_03_01/test_vm_commands.py index 0f843364280..1e34f60dcc6 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2019_03_01/test_vm_commands.py +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2019_03_01/test_vm_commands.py @@ -236,6 +236,16 @@ def test_vm_generalize(self, resource_group): self.check('storageProfile.zoneResilient', None) ]) + self.cmd('image show -g {rg} -n {image}', checks=[ + self.check('name', '{image}'), + self.check('sourceVirtualMachine.id', vm['id']), + self.check('storageProfile.zoneResilient', None) + ]) + self.cmd('image list -g {rg}', checks=[ + self.check('length(@)', '1') + ]) + self.cmd('image delete -g {rg} -n {image}') + @ResourceGroupPreparer(name_prefix='cli_test_generalize_vm') def test_vm_capture_zone_resilient_image(self, resource_group): diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/recordings/test_gallery_image.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/recordings/test_gallery_image.yaml index 181e9c5b9fc..2fb9438cc9b 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/recordings/test_gallery_image.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/recordings/test_gallery_image.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - -g -r User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/23.0.1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2019-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_gallery_image","date":"2023-06-25T13:26:44Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_gallery_image","date":"2023-07-20T10:22:26Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:26:51 GMT + - Thu, 20 Jul 2023 10:22:29 GMT expires: - '-1' pragma: @@ -59,7 +59,7 @@ interactions: ParameterSetName: - -g -r User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/sig_000002?api-version=2019-12-01 response: @@ -67,11 +67,11 @@ interactions: string: "{\r\n \"name\": \"sig_000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/sig_000002\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-SIG_GEMDVJ\"\r\n },\r\n \"provisioningState\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-SIG_CBYIDW\"\r\n },\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b3bf0c51-4df8-425f-ae67-4c4a62c838ca?api-version=2019-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/940f89ae-0fba-4037-b2ac-e9c9375bdfbc?api-version=2019-12-01 cache-control: - no-cache content-length: @@ -79,7 +79,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:26:54 GMT + - Thu, 20 Jul 2023 10:22:33 GMT expires: - '-1' pragma: @@ -92,7 +92,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateGallery3Min;49,Microsoft.Compute/CreateUpdateGallery30Min;299 + - Microsoft.Compute/CreateUpdateGallery3Min;49,Microsoft.Compute/CreateUpdateGallery30Min;298 x-ms-ratelimit-remaining-subscription-writes: - '1198' status: @@ -112,14 +112,14 @@ interactions: ParameterSetName: - -g -r User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/b3bf0c51-4df8-425f-ae67-4c4a62c838ca?api-version=2019-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/940f89ae-0fba-4037-b2ac-e9c9375bdfbc?api-version=2019-12-01 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T13:26:54.7593836+00:00\",\r\n \"endTime\": - \"2023-06-25T13:26:55.0250098+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"b3bf0c51-4df8-425f-ae67-4c4a62c838ca\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T10:22:33.6079888+00:00\",\r\n \"endTime\": + \"2023-07-20T10:22:33.8893016+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"940f89ae-0fba-4037-b2ac-e9c9375bdfbc\"\r\n}" headers: cache-control: - no-cache @@ -128,7 +128,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:26:55 GMT + - Thu, 20 Jul 2023 10:22:34 GMT expires: - '-1' pragma: @@ -145,7 +145,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1199,Microsoft.Compute/GetOperationStatus30Min;4199 + - Microsoft.Compute/GetOperationStatus3Min;1199,Microsoft.Compute/GetOperationStatus30Min;4167 status: code: 200 message: OK @@ -163,7 +163,7 @@ interactions: ParameterSetName: - -g -r User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/sig_000002?api-version=2019-12-01 response: @@ -171,7 +171,7 @@ interactions: string: "{\r\n \"name\": \"sig_000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/sig_000002\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-SIG_GEMDVJ\"\r\n },\r\n \"provisioningState\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-SIG_CBYIDW\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: cache-control: @@ -181,7 +181,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:26:55 GMT + - Thu, 20 Jul 2023 10:22:34 GMT expires: - '-1' pragma: @@ -198,7 +198,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;349,Microsoft.Compute/GetGallery30Min;2499 + - Microsoft.Compute/GetGallery3Min;349,Microsoft.Compute/GetGallery30Min;2485 status: code: 200 message: OK @@ -216,16 +216,16 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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=2021-10-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"sig_000002\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLITEST.RGIZ2OZQEDBN4A427K2EYZL4HJTCGRJLKO73TN7MSDY5NC2CCNAQOC7QGL4GMHSUOT6/providers/Microsoft.Compute/galleries/sig_000002\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLITEST.RGXBCHFZR4QPW43T6HLM7C3Y5WBXNDIBKYISGVFY2NTWRNVT37DGPL6UTRK4QCC2E7J/providers/Microsoft.Compute/galleries/sig_000002\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": - {\r\n \"uniqueName\": \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-SIG_GEMDVJ\"\r\n + {\r\n \"uniqueName\": \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-SIG_CBYIDW\"\r\n \ },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n \ }\r\n ]\r\n}" headers: @@ -236,7 +236,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:26:57 GMT + - Thu, 20 Jul 2023 10:22:38 GMT expires: - '-1' pragma: @@ -253,7 +253,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListGalleryInResourceGroup3Min;99,Microsoft.Compute/ListGalleryInResourceGroup30Min;999 + - Microsoft.Compute/ListGalleryInResourceGroup3Min;99,Microsoft.Compute/ListGalleryInResourceGroup30Min;998 status: code: 200 message: OK @@ -271,12 +271,12 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/23.0.1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2019-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_gallery_image","date":"2023-06-25T13:26:44Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_gallery_image","date":"2023-07-20T10:22:26Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -285,7 +285,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:26:59 GMT + - Thu, 20 Jul 2023 10:22:39 GMT expires: - '-1' pragma: @@ -319,7 +319,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/sig_000002/images/image1?api-version=2019-12-01 response: @@ -333,7 +333,7 @@ interactions: \ }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/ba08c3d6-e34b-4878-83c4-11fb1830e43c?api-version=2019-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/cd3cd770-9825-4e20-8d2f-28360ebac97c?api-version=2019-12-01 cache-control: - no-cache content-length: @@ -341,7 +341,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:27:01 GMT + - Thu, 20 Jul 2023 10:22:44 GMT expires: - '-1' pragma: @@ -354,7 +354,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateGalleryImage3Min;149,Microsoft.Compute/CreateUpdateGalleryImage30Min;749 + - Microsoft.Compute/CreateUpdateGalleryImage3Min;149,Microsoft.Compute/CreateUpdateGalleryImage30Min;748 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -374,23 +374,23 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/ba08c3d6-e34b-4878-83c4-11fb1830e43c?api-version=2019-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/cd3cd770-9825-4e20-8d2f-28360ebac97c?api-version=2019-12-01 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T13:27:02.1032004+00:00\",\r\n \"endTime\": - \"2023-06-25T13:27:02.2125763+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"ba08c3d6-e34b-4878-83c4-11fb1830e43c\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T10:22:43.733105+00:00\",\r\n \"endTime\": + \"2023-07-20T10:22:43.8581033+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"cd3cd770-9825-4e20-8d2f-28360ebac97c\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '183' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:27:01 GMT + - Thu, 20 Jul 2023 10:22:44 GMT expires: - '-1' pragma: @@ -407,7 +407,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4198 + - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4166 status: code: 200 message: OK @@ -425,7 +425,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/sig_000002/images/image1?api-version=2019-12-01 response: @@ -445,7 +445,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:27:02 GMT + - Thu, 20 Jul 2023 10:22:45 GMT expires: - '-1' pragma: @@ -462,7 +462,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImage3Min;599,Microsoft.Compute/GetGalleryImage30Min;2999 + - Microsoft.Compute/GetGalleryImage3Min;598,Microsoft.Compute/GetGalleryImage30Min;2981 status: code: 200 message: OK @@ -480,7 +480,7 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/sig_000002/images?api-version=2019-12-01 response: @@ -501,7 +501,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:27:06 GMT + - Thu, 20 Jul 2023 10:22:47 GMT expires: - '-1' pragma: @@ -518,7 +518,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListGalleryImagesInGallery3Min;1499,Microsoft.Compute/ListGalleryImagesInGallery30Min;9999 + - Microsoft.Compute/ListGalleryImagesInGallery3Min;1499,Microsoft.Compute/ListGalleryImagesInGallery30Min;9998 status: code: 200 message: OK @@ -536,7 +536,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/sig_000002/images/image1?api-version=2019-12-01 response: @@ -556,7 +556,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:27:07 GMT + - Thu, 20 Jul 2023 10:22:48 GMT expires: - '-1' pragma: @@ -573,7 +573,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImage3Min;597,Microsoft.Compute/GetGalleryImage30Min;2997 + - Microsoft.Compute/GetGalleryImage3Min;597,Microsoft.Compute/GetGalleryImage30Min;2980 status: code: 200 message: OK @@ -581,37 +581,91 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - sig image-definition delete + - snapshot create + Connection: + - keep-alive + ParameterSetName: + - -g -n --size-gb --sku --tags + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2019-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_gallery_image","date":"2023-07-20T10:22:26Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '352' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:22:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "tags": {"tag1": "s1"}, "sku": {"name": "Premium_LRS"}, + "properties": {"hyperVGeneration": "V1", "creationData": {"createOption": "Empty"}, + "diskSizeGB": 1}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - snapshot create Connection: - keep-alive Content-Length: - - '0' + - '180' + Content-Type: + - application/json ParameterSetName: - - -g --gallery-name --gallery-image-definition + - -g -n --size-gb --sku --tags User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/sig_000002/images/image1?api-version=2019-12-01 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/snapshots/snapshot?api-version=2019-07-01 response: body: - string: '' + string: "{\r\n \"name\": \"snapshot\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/snapshots/snapshot\",\r\n + \ \"type\": \"Microsoft.Compute/snapshots\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {\r\n \"tag1\": \"s1\"\r\n },\r\n \"sku\": {\r\n \"name\": + \"Premium_LRS\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": + \"V1\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n + \ },\r\n \"diskSizeGB\": 1,\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/westus/capsOperations/c8883edb-66bb-4dd6-b9b6-b10b6d5f79a0?api-version=2019-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/4d577af0-ecdd-42fb-9ec0-a3d332cc0919?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2019-07-01 cache-control: - no-cache content-length: - - '0' + - '495' + content-type: + - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:27:10 GMT + - Thu, 20 Jul 2023 10:22:54 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/c8883edb-66bb-4dd6-b9b6-b10b6d5f79a0?monitor=true&api-version=2019-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/4d577af0-ecdd-42fb-9ec0-a3d332cc0919?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&monitor=true&api-version=2019-07-01 pragma: - no-cache server: @@ -622,9 +676,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/DeleteGalleryImage3Min;49,Microsoft.Compute/DeleteGalleryImage30Min;299 - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - Microsoft.Compute/HighCostSnapshotCreateHydrate3Min;999,Microsoft.Compute/HighCostSnapshotCreateHydrate30Min;7997 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' status: code: 202 message: Accepted @@ -636,29 +690,40 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - sig image-definition delete + - snapshot create Connection: - keep-alive ParameterSetName: - - -g --gallery-name --gallery-image-definition + - -g -n --size-gb --sku --tags User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/c8883edb-66bb-4dd6-b9b6-b10b6d5f79a0?api-version=2019-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/4d577af0-ecdd-42fb-9ec0-a3d332cc0919?p=42128af7-4c72-4222-9761-fb0d8e6cebdc&api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T13:27:10.8532754+00:00\",\r\n \"endTime\": - \"2023-06-25T13:27:10.9626514+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"c8883edb-66bb-4dd6-b9b6-b10b6d5f79a0\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T10:22:54.2110308+00:00\",\r\n \"endTime\": + \"2023-07-20T10:22:54.4922799+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"snapshot\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/snapshots/snapshot\",\r\n + \ \"type\": \"Microsoft.Compute/snapshots\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {\r\n \"tag1\": \"s1\"\r\n },\r\n \"sku\": {\r\n \"name\": + \"Premium_LRS\",\r\n \"tier\": \"Premium\"\r\n },\r\n \"properties\": + {\r\n \"hyperVGeneration\": \"V1\",\r\n \"creationData\": {\r\n \"createOption\": + \"Empty\"\r\n },\r\n \"diskSizeGB\": 1,\r\n \"encryption\": {\r\n + \ \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"incremental\": + false,\r\n \"timeCreated\": \"2023-07-20T10:22:54.2110308+00:00\",\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n + \ \"diskSizeBytes\": 1073741824,\r\n \"uniqueId\": \"b079d554-08cc-4221-b64a-fd2e04fad82c\"\r\n + \ }\r\n}\r\n },\r\n \"name\": \"4d577af0-ecdd-42fb-9ec0-a3d332cc0919\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '1030' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:27:10 GMT + - Thu, 20 Jul 2023 10:22:54 GMT expires: - '-1' pragma: @@ -675,7 +740,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1197,Microsoft.Compute/GetOperationStatus30Min;4197 + - Microsoft.Compute/GetOperation3Min;49999,Microsoft.Compute/GetOperation30Min;399971 status: code: 200 message: OK @@ -687,33 +752,151 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - sig delete + - snapshot create + Connection: + - keep-alive + ParameterSetName: + - -g -n --size-gb --sku --tags + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/snapshots/snapshot?api-version=2019-07-01 + response: + body: + string: "{\r\n \"name\": \"snapshot\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/snapshots/snapshot\",\r\n + \ \"type\": \"Microsoft.Compute/snapshots\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {\r\n \"tag1\": \"s1\"\r\n },\r\n \"sku\": {\r\n \"name\": + \"Premium_LRS\",\r\n \"tier\": \"Premium\"\r\n },\r\n \"properties\": + {\r\n \"hyperVGeneration\": \"V1\",\r\n \"creationData\": {\r\n \"createOption\": + \"Empty\"\r\n },\r\n \"diskSizeGB\": 1,\r\n \"encryption\": {\r\n + \ \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"incremental\": + false,\r\n \"timeCreated\": \"2023-07-20T10:22:54.2110308+00:00\",\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n + \ \"diskSizeBytes\": 1073741824,\r\n \"uniqueId\": \"b079d554-08cc-4221-b64a-fd2e04fad82c\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '805' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:22: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/LowCostGet3Min;14999,Microsoft.Compute/LowCostGet30Min;119981 + 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: + - --resource-group --gallery-name --gallery-image-definition --gallery-image-version + --os-snapshot + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2019-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_gallery_image","date":"2023-07-20T10:22:26Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '352' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:22: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: '{"location": "westus", "tags": {}, "properties": {"publishingProfile": + {"targetRegions": [{"name": "westus"}]}, "storageProfile": {"osDiskImage": {"source": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/snapshots/snapshot"}}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create Connection: - keep-alive Content-Length: - - '0' + - '301' + Content-Type: + - application/json ParameterSetName: - - -g --gallery-name + - --resource-group --gallery-name --gallery-image-definition --gallery-image-version + --os-snapshot User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/sig_000002?api-version=2021-10-01 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/sig_000002/images/image1/versions/1.0.0?api-version=2019-12-01 response: body: - string: '' + string: "{\r\n \"name\": \"1.0.0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/sig_000002/images/image1/versions/1.0.0\",\r\n + \ \"type\": \"Microsoft.Compute/galleries/images/versions\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"publishingProfile\": + {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West + US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": + \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2023-07-20T10:22:59.7331697+00:00\",\r\n + \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": + {\r\n \"osDiskImage\": {\r\n \"hostCaching\": \"ReadWrite\",\r\n + \ \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/snapshots/snapshot\"\r\n + \ }\r\n }\r\n },\r\n \"provisioningState\": \"Creating\"\r\n + \ }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/631c66cb-19c2-471e-8e05-ee98b17e7f8e?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f07aaf94-1143-4dfb-bf60-8616812c21ac?api-version=2019-12-01 cache-control: - no-cache content-length: - - '0' + - '1018' + content-type: + - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:28:13 GMT + - Thu, 20 Jul 2023 10:23:00 GMT expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/631c66cb-19c2-471e-8e05-ee98b17e7f8e?monitor=true&api-version=2021-10-01 pragma: - no-cache server: @@ -724,12 +907,12 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/DeleteGallery3Min;49,Microsoft.Compute/DeleteGallery30Min;299 - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;374,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1198 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: - code: 202 - message: Accepted + code: 201 + message: Created - request: body: null headers: @@ -738,29 +921,975 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - sig delete + - sig image-version create Connection: - keep-alive ParameterSetName: - - -g --gallery-name + - --resource-group --gallery-name --gallery-image-definition --gallery-image-version + --os-snapshot User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/631c66cb-19c2-471e-8e05-ee98b17e7f8e?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f07aaf94-1143-4dfb-bf60-8616812c21ac?api-version=2019-12-01 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T13:28:13.6975965+00:00\",\r\n \"endTime\": - \"2023-06-25T13:28:13.806981+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"631c66cb-19c2-471e-8e05-ee98b17e7f8e\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T10:22:59.7331697+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"f07aaf94-1143-4dfb-bf60-8616812c21ac\"\r\n}" headers: cache-control: - no-cache content-length: - - '183' + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:23:00 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;4163 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --gallery-name --gallery-image-definition --gallery-image-version + --os-snapshot + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f07aaf94-1143-4dfb-bf60-8616812c21ac?api-version=2019-12-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-20T10:22:59.7331697+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"f07aaf94-1143-4dfb-bf60-8616812c21ac\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:24: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;4162 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --gallery-name --gallery-image-definition --gallery-image-version + --os-snapshot + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f07aaf94-1143-4dfb-bf60-8616812c21ac?api-version=2019-12-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-20T10:22:59.7331697+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"f07aaf94-1143-4dfb-bf60-8616812c21ac\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:25: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/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4165 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --gallery-name --gallery-image-definition --gallery-image-version + --os-snapshot + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f07aaf94-1143-4dfb-bf60-8616812c21ac?api-version=2019-12-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-20T10:22:59.7331697+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"f07aaf94-1143-4dfb-bf60-8616812c21ac\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:26:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1195,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: + - --resource-group --gallery-name --gallery-image-definition --gallery-image-version + --os-snapshot + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f07aaf94-1143-4dfb-bf60-8616812c21ac?api-version=2019-12-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-20T10:22:59.7331697+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"f07aaf94-1143-4dfb-bf60-8616812c21ac\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:27:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4161 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --gallery-name --gallery-image-definition --gallery-image-version + --os-snapshot + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f07aaf94-1143-4dfb-bf60-8616812c21ac?api-version=2019-12-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-20T10:22:59.7331697+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"f07aaf94-1143-4dfb-bf60-8616812c21ac\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:28:04 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4159 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --gallery-name --gallery-image-definition --gallery-image-version + --os-snapshot + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/f07aaf94-1143-4dfb-bf60-8616812c21ac?api-version=2019-12-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-20T10:22:59.7331697+00:00\",\r\n \"endTime\": + \"2023-07-20T10:29:00.4084123+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"f07aaf94-1143-4dfb-bf60-8616812c21ac\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:29:05 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;4157 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --gallery-name --gallery-image-definition --gallery-image-version + --os-snapshot + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/sig_000002/images/image1/versions/1.0.0?api-version=2019-12-01 + response: + body: + string: "{\r\n \"name\": \"1.0.0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/sig_000002/images/image1/versions/1.0.0\",\r\n + \ \"type\": \"Microsoft.Compute/galleries/images/versions\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"publishingProfile\": + {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West + US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": + \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2023-07-20T10:22:59.7331697+00:00\",\r\n + \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": + {\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 1,\r\n \"hostCaching\": + \"ReadWrite\",\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/snapshots/snapshot\"\r\n + \ }\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1043' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:29:05 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;9983 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version show + Connection: + - keep-alive + ParameterSetName: + - -g -r -i -e + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/sig_000002/images/image1/versions/1.0.0?api-version=2019-12-01 + response: + body: + string: "{\r\n \"name\": \"1.0.0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/sig_000002/images/image1/versions/1.0.0\",\r\n + \ \"type\": \"Microsoft.Compute/galleries/images/versions\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"publishingProfile\": + {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West + US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": + \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2023-07-20T10:22:59.7331697+00:00\",\r\n + \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": + {\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 1,\r\n \"hostCaching\": + \"ReadWrite\",\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/snapshots/snapshot\"\r\n + \ }\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1043' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:29:09 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetGalleryImageVersion3Min;1998,Microsoft.Compute/GetGalleryImageVersion30Min;9982 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version list + Connection: + - keep-alive + ParameterSetName: + - -g -r -i + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/sig_000002/images/image1/versions?api-version=2019-12-01 + response: + body: + string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"1.0.0\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/sig_000002/images/image1/versions/1.0.0\",\r\n + \ \"type\": \"Microsoft.Compute/galleries/images/versions\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"publishingProfile\": + {\r\n \"targetRegions\": [\r\n {\r\n \"name\": + \"West US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": + \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": + 1,\r\n \"excludeFromLatest\": false,\r\n \"publishedDate\": + \"2023-07-20T10:22:59.7331697+00:00\",\r\n \"storageAccountType\": + \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"osDiskImage\": + {\r\n \"sizeInGB\": 1,\r\n \"hostCaching\": \"ReadWrite\",\r\n + \ \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/snapshots/snapshot\"\r\n + \ }\r\n }\r\n },\r\n \"provisioningState\": + \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1196' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:29:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/ListGalleryImageVersionsInGalleryImage3Min;1499,Microsoft.Compute/ListGalleryImageVersionsInGalleryImage30Min;9998 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -r -i -e + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/sig_000002/images/image1/versions/1.0.0?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/westus/capsOperations/798592cd-3cdd-4e76-82d9-b8d75067c45a?api-version=2019-12-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 20 Jul 2023 10:29:11 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/798592cd-3cdd-4e76-82d9-b8d75067c45a?monitor=true&api-version=2019-12-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/DeleteGalleryImageVersion3Min;149,Microsoft.Compute/DeleteGalleryImageVersion30Min;998 + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version delete + Connection: + - keep-alive + ParameterSetName: + - -g -r -i -e + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/798592cd-3cdd-4e76-82d9-b8d75067c45a?api-version=2019-12-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-20T10:29:12.2054035+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"798592cd-3cdd-4e76-82d9-b8d75067c45a\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:29:12 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4155 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version delete + Connection: + - keep-alive + ParameterSetName: + - -g -r -i -e + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/798592cd-3cdd-4e76-82d9-b8d75067c45a?api-version=2019-12-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-20T10:29:12.2054035+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"798592cd-3cdd-4e76-82d9-b8d75067c45a\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:30:12 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4169 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version delete + Connection: + - keep-alive + ParameterSetName: + - -g -r -i -e + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/798592cd-3cdd-4e76-82d9-b8d75067c45a?api-version=2019-12-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-20T10:29:12.2054035+00:00\",\r\n \"endTime\": + \"2023-07-20T10:30:42.378131+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"798592cd-3cdd-4e76-82d9-b8d75067c45a\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '183' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:31:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4168 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-definition delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g --gallery-name --gallery-image-definition + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/sig_000002/images/image1?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/westus/capsOperations/44f03dae-af05-4ff3-ac91-54d5d99937f3?api-version=2019-12-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 20 Jul 2023 10:32:15 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/44f03dae-af05-4ff3-ac91-54d5d99937f3?monitor=true&api-version=2019-12-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/DeleteGalleryImage3Min;49,Microsoft.Compute/DeleteGalleryImage30Min;298 + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-definition delete + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/44f03dae-af05-4ff3-ac91-54d5d99937f3?api-version=2019-12-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-20T10:32:16.1758175+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"44f03dae-af05-4ff3-ac91-54d5d99937f3\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:32:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4166 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-definition delete + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/44f03dae-af05-4ff3-ac91-54d5d99937f3?api-version=2019-12-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-20T10:32:16.1758175+00:00\",\r\n \"endTime\": + \"2023-07-20T10:32:16.5976843+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"44f03dae-af05-4ff3-ac91-54d5d99937f3\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:32:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4164 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g --gallery-name + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/sig_000002?api-version=2021-10-01 + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/c54e6494-ae1a-4672-a0d1-ef3fc2f8246e?api-version=2021-10-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 20 Jul 2023 10:33:51 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/c54e6494-ae1a-4672-a0d1-ef3fc2f8246e?monitor=true&api-version=2021-10-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/DeleteGallery3Min;49,Microsoft.Compute/DeleteGallery30Min;298 + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig delete + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/c54e6494-ae1a-4672-a0d1-ef3fc2f8246e?api-version=2021-10-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-20T10:33:51.6296826+00:00\",\r\n \"endTime\": + \"2023-07-20T10:33:51.7546788+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"c54e6494-ae1a-4672-a0d1-ef3fc2f8246e\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:28:13 GMT + - Thu, 20 Jul 2023 10:33:51 GMT expires: - '-1' pragma: @@ -777,7 +1906,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4193 + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4163 status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/recordings/test_vm_generalize.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/recordings/test_vm_generalize.yaml index 4b603026c1e..95a8167b0a8 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/recordings/test_vm_generalize.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/recordings/test_vm_generalize.yaml @@ -13,21 +13,21 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001?api-version=2019-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001","name":"cli_test_generalize_vm000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-22T02:09:33Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001","name":"cli_test_generalize_vm000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_vm_generalize","date":"2023-07-21T02:21:43Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '334' + - '376' content-type: - application/json; charset=utf-8 date: - - Wed, 22 Jun 2022 02:09:39 GMT + - Fri, 21 Jul 2023 02:21:55 GMT expires: - '-1' pragma: @@ -51,7 +51,7 @@ interactions: Connection: - keep-alive User-Agent: - - python-requests/2.26.0 + - python-requests/2.31.0 method: GET uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: @@ -62,23 +62,44 @@ interactions: \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n \ \"sku\": \"7.5\",\n \"version\": \"latest\",\n \"architecture\": + \"x64\"\n },\n \"CentOS85Gen2\": {\n \"publisher\": + \ \"OpenLogic\",\n \"offer\": \"CentOS\",\n \"sku\": + \ \"8_5-gen2\",\n \"version\": \"latest\",\n \"architecture\": \"x64\"\n },\n \"Debian\": {\n \"publisher\": \"Debian\",\n \"offer\": \"debian-10\",\n \"sku\": \"10\",\n \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n + \ },\n \"Debian11\": {\n \"publisher\": \"Debian\",\n + \ \"offer\": \"debian-11\",\n \"sku\": \"11-backports-gen2\",\n + \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n \ },\n \"Flatcar\": {\n \"publisher\": \"kinvolk\",\n \ \"offer\": \"flatcar-container-linux-free\",\n \"sku\": \"stable\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"openSUSE-Leap\": {\n \"publisher\": - \"SUSE\",\n \"offer\": \"opensuse-leap-15-3\",\n \"sku\": - \"gen2\",\n \"version\": \"latest\",\n \"architecture\": + \"x64\"\n },\n \"FlatcarLinuxFreeGen2\": {\n \"publisher\": + \ \"kinvolk\",\n \"offer\": \"flatcar-container-linux-free\",\n + \ \"sku\": \"stable-gen2\",\n \"version\": \"latest\",\n + \ \"architecture\": \"x64\"\n },\n \"openSUSE-Leap\": + {\n \"publisher\": \"SUSE\",\n \"offer\": \"opensuse-leap-15-3\",\n + \ \"sku\": \"gen2\",\n \"version\": \"latest\",\n \"architecture\": + \"x64\"\n },\n \"OpenSuseLeap154Gen2\": {\n \"publisher\": + \ \"SUSE\",\n \"offer\": \"openSUSE-leap-15-4\",\n \"sku\": + \ \"gen2\",\n \"version\": \"latest\",\n \"architecture\": \"x64\"\n },\n \"RHEL\": {\n \"publisher\": \"RedHat\",\n \ \"offer\": \"RHEL\",\n \"sku\": \"7-LVM\",\n \"version\": - \"latest\",\n \"architecture\": \"x64\"\n },\n \"SLES\": - {\n \"publisher\": \"SUSE\",\n \"offer\": \"sles-15-sp3\",\n + \"latest\",\n \"architecture\": \"x64\"\n },\n \"RHELRaw8LVMGen2\": + \ {\n \"publisher\": \"RedHat\",\n \"offer\": \"RHEL\",\n + \ \"sku\": \"8-lvm-gen2\",\n \"version\": \"latest\",\n + \ \"architecture\": \"x64\"\n },\n \"SLES\": {\n + \ \"publisher\": \"SUSE\",\n \"offer\": \"sles-15-sp3\",\n \ \"sku\": \"gen2\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"UbuntuLTS\": {\n \"publisher\": - \"Canonical\",\n \"offer\": \"UbuntuServer\",\n \"sku\": - \"18.04-LTS\",\n \"version\": \"latest\",\n \"architecture\": + \"x64\"\n },\n \"SuseSles15SP3\": {\n \"publisher\": + \"SUSE\",\n \"offer\": \"sles-15-sp3\",\n \"sku\": \"gen2\",\n + \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n + \ },\n \"UbuntuLTS\": {\n \"publisher\": \"Canonical\",\n + \ \"offer\": \"UbuntuServer\",\n \"sku\": \"18.04-LTS\",\n + \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n + \ },\n \"Ubuntu2204\": {\n \"publisher\": \"Canonical\",\n + \ \"offer\": \"0001-com-ubuntu-server-jammy\",\n \"sku\": + \ \"22_04-lts-gen2\",\n \"version\": \"latest\",\n \"architecture\": \"x64\"\n }\n },\n \"Windows\": {\n \"Win2022Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": \"2022-Datacenter\",\n \"version\": @@ -101,7 +122,7 @@ interactions: \"x64\"\n },\n \"Win2008R2SP1\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": \"2008-R2-SP1\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n }\n }\n }\n }\n }\n}" + \"x64\"\n }\n }\n }\n }\n }\n}\n" headers: accept-ranges: - bytes @@ -112,19 +133,21 @@ interactions: connection: - keep-alive content-length: - - '3463' + - '5018' content-security-policy: - default-src 'none'; style-src 'unsafe-inline'; sandbox content-type: - text/plain; charset=utf-8 + cross-origin-resource-policy: + - cross-origin date: - - Wed, 22 Jun 2022 02:09:40 GMT + - Fri, 21 Jul 2023 02:21:56 GMT etag: - - W/"41b202f4dc5098d126019dc00721a4c5e30df0c5196794514fadc3710ee2a5cb" + - W/"0a553f088c358b909a2940b5a97fcb731c1d443cb7a332ca4933eb2b7df38468" expires: - - Wed, 22 Jun 2022 02:14:40 GMT + - Fri, 21 Jul 2023 02:26:56 GMT source-age: - - '86' + - '0' strict-transport-security: - max-age=31536000 vary: @@ -138,15 +161,15 @@ interactions: x-content-type-options: - nosniff x-fastly-request-id: - - 8f50d11846330171a86dd3c57815f81150ffc0d7 + - a61815b2d982aa3e514b33bfbab0236f3c6ced34 x-frame-options: - deny x-github-request-id: - - 9A0E:4D95:E5AC1:12E779:62B26A94 + - BE72:02DD:357996:3EEDA9:64B9C836 x-served-by: - - cache-qpg1240-QPG + - cache-tyo11954-TYO x-timer: - - S1655863781.524317,VS0,VE1 + - S1689906116.391691,VS0,VE164 x-xss-protection: - 1; mode=block status: @@ -166,13 +189,13 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2020-06-01 response: body: - string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202206150\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202206150\"\r\n + string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202306070\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202306070\"\r\n \ }\r\n]" headers: cache-control: @@ -182,7 +205,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 22 Jun 2022 02:09:41 GMT + - Fri, 21 Jul 2023 02:21:58 GMT expires: - '-1' pragma: @@ -199,7 +222,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43990 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43994 status: code: 200 message: OK @@ -217,9 +240,9 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202206150?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202306070?api-version=2020-06-01 response: body: string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": @@ -229,21 +252,21 @@ interactions: {\r\n \"imageState\": \"Active\"\r\n },\r\n \"features\": [\r\n \ {\r\n \"name\": \"IsAcceleratedNetworkSupported\",\r\n \"value\": \"True\"\r\n },\r\n {\r\n \"name\": \"DiskControllerTypes\",\r\n - \ \"value\": \"SCSI\"\r\n },\r\n {\r\n \"name\": \"IsHibernateSupported\",\r\n - \ \"value\": \"False\"\r\n }\r\n ],\r\n \"osDiskImage\": - {\r\n \"operatingSystem\": \"Linux\",\r\n \"sizeInGb\": 31,\r\n - \ \"sizeInBytes\": 32213303808\r\n },\r\n \"dataDiskImages\": []\r\n - \ },\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202206150\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202206150\"\r\n}" + \ \"value\": \"SCSI, NVMe\"\r\n },\r\n {\r\n \"name\": + \"IsHibernateSupported\",\r\n \"value\": \"True\"\r\n }\r\n ],\r\n + \ \"osDiskImage\": {\r\n \"operatingSystem\": \"Linux\",\r\n \"sizeInGb\": + 31,\r\n \"sizeInBytes\": 32213303808\r\n },\r\n \"dataDiskImages\": + []\r\n },\r\n \"location\": \"westus\",\r\n \"name\": \"18.04.202306070\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202306070\"\r\n}" headers: cache-control: - no-cache content-length: - - '1043' + - '1048' content-type: - application/json; charset=utf-8 date: - - Wed, 22 Jun 2022 02:09:42 GMT + - Fri, 21 Jul 2023 02:21:59 GMT expires: - '-1' pragma: @@ -260,7 +283,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73994 + - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73995 status: code: 200 message: OK @@ -278,7 +301,7 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-storage/20.0.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-storage/21.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Storage/storageAccounts?api-version=2019-06-01 response: @@ -292,7 +315,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 22 Jun 2022 02:09:44 GMT + - Fri, 21 Jul 2023 02:22:01 GMT expires: - '-1' pragma: @@ -320,7 +343,7 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-11-01 response: @@ -334,7 +357,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 22 Jun 2022 02:09:44 GMT + - Fri, 21 Jul 2023 02:22:02 GMT expires: - '-1' pragma: @@ -352,7 +375,7 @@ interactions: body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"adminPassword": {"type": "securestring", "metadata": {"description": "Secure adminPassword"}}}, "variables": {}, "resources": - [{"type": "Microsoft.Storage/storageAccounts", "name": "vhdstorage52b47a95b6e033", + [{"type": "Microsoft.Storage/storageAccounts", "name": "vhdstorage19f93dceef2a77", "apiVersion": "2015-06-15", "location": "westus", "tags": {}, "dependsOn": [], "properties": {"accountType": "Premium_LRS"}}, {"name": "vm-generalizeVNET", "type": "Microsoft.Network/virtualNetworks", "location": "westus", "apiVersion": @@ -375,13 +398,13 @@ interactions: "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP"}}}], "networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG"}}}, {"apiVersion": "2020-06-01", "type": "Microsoft.Compute/virtualMachines", "name": - "vm-generalize", "location": "westus", "tags": {}, "dependsOn": ["Microsoft.Storage/storageAccounts/vhdstorage52b47a95b6e033", + "vm-generalize", "location": "westus", "tags": {}, "dependsOn": ["Microsoft.Storage/storageAccounts/vhdstorage19f93dceef2a77", "Microsoft.Network/networkInterfaces/vm-generalizeVMNic"], "properties": {"hardwareProfile": {"vmSize": "Standard_DS1_v2"}, "networkProfile": {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic", "properties": {"deleteOption": null}}]}, "storageProfile": {"osDisk": {"createOption": - "fromImage", "name": "osdisk_52b47a95b6", "caching": "ReadWrite", "vhd": {"uri": - "https://vhdstorage52b47a95b6e033.blob.core.windows.net/vhds/osdisk_52b47a95b6.vhd"}}, + "fromImage", "name": "osdisk_19f93dceef", "caching": "ReadWrite", "vhd": {"uri": + "https://vhdstorage19f93dceef2a77.blob.core.windows.net/vhds/osdisk_19f93dceef.vhd"}}, "imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", "sku": "18.04-LTS", "version": "latest"}}, "osProfile": {"computerName": "vm-generalize", "adminUsername": "ubuntu", "adminPassword": "[parameters(''adminPassword'')]"}}}], @@ -403,23 +426,23 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/vm_deploy_2QVqEJxDTnYi4k31juNgQr44N88ziW7q","name":"vm_deploy_2QVqEJxDTnYi4k31juNgQr44N88ziW7q","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16504739311707278311","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-06-22T02:09:49.5938327Z","duration":"PT0.0006882S","correlationId":"fe7a6117-6de1-498a-92ce-e48f7fbe8f08","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["westus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/virtualNetworks/vm-generalizeVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm-generalizeVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm-generalizeNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm-generalizePublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Storage/storageAccounts/vhdstorage52b47a95b6e033","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"vhdstorage52b47a95b6e033"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm-generalize"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/vm_deploy_ncSXKuNRB51Q1QOxKseUaMvIHUWGbgGv","name":"vm_deploy_ncSXKuNRB51Q1QOxKseUaMvIHUWGbgGv","type":"Microsoft.Resources/deployments","properties":{"templateHash":"7112256595460426252","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-07-21T02:22:08.9660945Z","duration":"PT0.0007272S","correlationId":"69e4bd48-b608-4d8b-a736-6f6301897ab5","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["westus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/virtualNetworks/vm-generalizeVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm-generalizeVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm-generalizeNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm-generalizePublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Storage/storageAccounts/vhdstorage19f93dceef2a77","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"vhdstorage19f93dceef2a77"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm-generalize"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/vm_deploy_2QVqEJxDTnYi4k31juNgQr44N88ziW7q/operationStatuses/08585457430981275053?api-version=2019-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/vm_deploy_ncSXKuNRB51Q1QOxKseUaMvIHUWGbgGv/operationStatuses/08585117007589902164?api-version=2019-10-01 cache-control: - no-cache content-length: - - '2950' + - '2949' content-type: - application/json; charset=utf-8 date: - - Wed, 22 Jun 2022 02:09:51 GMT + - Fri, 21 Jul 2023 02:22:09 GMT expires: - '-1' pragma: @@ -447,9 +470,51 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585117007589902164?api-version=2019-10-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Jul 2023 02:22:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585457430981275053?api-version=2019-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585117007589902164?api-version=2019-10-01 response: body: string: '{"status":"Running"}' @@ -461,7 +526,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 22 Jun 2022 02:10:21 GMT + - Fri, 21 Jul 2023 02:22:40 GMT expires: - '-1' pragma: @@ -489,9 +554,9 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585457430981275053?api-version=2019-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585117007589902164?api-version=2019-10-01 response: body: string: '{"status":"Running"}' @@ -503,7 +568,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 22 Jun 2022 02:10:51 GMT + - Fri, 21 Jul 2023 02:23:10 GMT expires: - '-1' pragma: @@ -531,9 +596,9 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585457430981275053?api-version=2019-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585117007589902164?api-version=2019-10-01 response: body: string: '{"status":"Succeeded"}' @@ -545,7 +610,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 22 Jun 2022 02:11:23 GMT + - Fri, 21 Jul 2023 02:23:40 GMT expires: - '-1' pragma: @@ -573,12 +638,12 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/vm_deploy_2QVqEJxDTnYi4k31juNgQr44N88ziW7q","name":"vm_deploy_2QVqEJxDTnYi4k31juNgQr44N88ziW7q","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16504739311707278311","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-06-22T02:11:02.5426065Z","duration":"PT1M12.949462S","correlationId":"fe7a6117-6de1-498a-92ce-e48f7fbe8f08","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["westus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/virtualNetworks/vm-generalizeVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm-generalizeVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm-generalizeNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm-generalizePublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Storage/storageAccounts/vhdstorage52b47a95b6e033","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"vhdstorage52b47a95b6e033"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm-generalize"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/virtualNetworks/vm-generalizeVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Storage/storageAccounts/vhdstorage52b47a95b6e033"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Resources/deployments/vm_deploy_ncSXKuNRB51Q1QOxKseUaMvIHUWGbgGv","name":"vm_deploy_ncSXKuNRB51Q1QOxKseUaMvIHUWGbgGv","type":"Microsoft.Resources/deployments","properties":{"templateHash":"7112256595460426252","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-07-21T02:23:20.8534005Z","duration":"PT1M11.8880332S","correlationId":"69e4bd48-b608-4d8b-a736-6f6301897ab5","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["westus"]}]},{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/virtualNetworks/vm-generalizeVNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm-generalizeVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm-generalizeNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm-generalizePublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Storage/storageAccounts/vhdstorage19f93dceef2a77","resourceType":"Microsoft.Storage/storageAccounts","resourceName":"vhdstorage19f93dceef2a77"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm-generalizeVMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm-generalize"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/virtualNetworks/vm-generalizeVNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Storage/storageAccounts/vhdstorage19f93dceef2a77"}]}}' headers: cache-control: - no-cache @@ -587,7 +652,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 22 Jun 2022 02:11:23 GMT + - Fri, 21 Jul 2023 02:23:41 GMT expires: - '-1' pragma: @@ -615,21 +680,21 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize?$expand=instanceView&api-version=2020-06-01 response: body: string: "{\r\n \"name\": \"vm-generalize\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"ec7ef6f1-a90b-4def-8533-e64fa7b93bd0\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"1290101d-ec10-4a3c-91a3-33ffc5c3730e\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": - \"18.04.202206150\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"osdisk_52b47a95b6\",\r\n \"createOption\": - \"FromImage\",\r\n \"vhd\": {\r\n \"uri\": \"https://vhdstorage52b47a95b6e033.blob.core.windows.net/vhds/osdisk_52b47a95b6.vhd\"\r\n + \"18.04.202306070\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": + \"Linux\",\r\n \"name\": \"osdisk_19f93dceef\",\r\n \"createOption\": + \"FromImage\",\r\n \"vhd\": {\r\n \"uri\": \"https://vhdstorage19f93dceef2a77.blob.core.windows.net/vhds/osdisk_19f93dceef.vhd\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm-generalize\",\r\n \"adminUsername\": @@ -640,19 +705,19 @@ interactions: true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic\"}]},\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": \"vm-generalize\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": - \"18.04\",\r\n \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.8.0.6\",\r\n + \"18.04\",\r\n \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.9.1.1\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2022-06-22T02:11:11+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"osdisk_52b47a95b6\",\r\n + \"2023-07-21T02:23:27+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"osdisk_19f93dceef\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-06-22T02:10:25.448637+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-21T02:22:42.813146+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\": \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-06-22T02:10:57.9330594+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-21T02:23:18.6418202+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}" @@ -664,7 +729,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 22 Jun 2022 02:11:24 GMT + - Fri, 21 Jul 2023 02:23:43 GMT expires: - '-1' pragma: @@ -681,7 +746,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3980,Microsoft.Compute/LowCostGet30Min;31878 + - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31997 status: code: 200 message: OK @@ -699,18 +764,18 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic?api-version=2018-11-01 response: body: string: "{\r\n \"name\": \"vm-generalizeVMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic\",\r\n - \ \"etag\": \"W/\\\"f188b584-d0ca-4935-bd46-24c3ed2f2ae7\\\"\",\r\n \"location\": - \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"17e88488-5a50-4409-b2b5-05a1c16c9218\",\r\n - \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm-generalize\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic/ipConfigurations/ipconfigvm-generalize\",\r\n - \ \"etag\": \"W/\\\"f188b584-d0ca-4935-bd46-24c3ed2f2ae7\\\"\",\r\n + \ \"etag\": \"W/\\\"9c4414a7-1ed6-49db-bb9b-5eddea0a96cd\\\"\",\r\n \"tags\": + {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"438bad01-c48f-4bc8-8c63-3ce4f4df3550\",\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"ipconfigvm-generalize\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic/ipConfigurations/ipconfigvm-generalize\",\r\n + \ \"etag\": \"W/\\\"9c4414a7-1ed6-49db-bb9b-5eddea0a96cd\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -719,13 +784,14 @@ 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\": - \"d0kqncspwqlevms1cavnzf1jif.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"60-45-BD-03-52-92\",\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": + \"sj5zgvw5hkau1pwm01pqj20ela.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-32-6C-91\",\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkSecurityGroups/vm-generalizeNSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\"\r\n \ },\r\n \"hostedWorkloads\": [],\r\n \"tapConfigurations\": []\r\n - \ },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}" + \ },\r\n \"type\": \"Microsoft.Network/networkInterfaces\",\r\n \"location\": + \"westus\"\r\n}" headers: cache-control: - no-cache @@ -734,9 +800,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 22 Jun 2022 02:11:25 GMT + - Fri, 21 Jul 2023 02:23:46 GMT etag: - - W/"f188b584-d0ca-4935-bd46-24c3ed2f2ae7" + - W/"9c4414a7-1ed6-49db-bb9b-5eddea0a96cd" expires: - '-1' pragma: @@ -753,7 +819,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6f5adc4c-6a62-427d-aed8-a504eb9d5ea2 + - 0ca56f0d-a47d-48ac-b188-c7785398acb8 status: code: 200 message: OK @@ -771,17 +837,17 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --use-unmanaged-disk User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP?api-version=2018-11-01 response: body: string: "{\r\n \"name\": \"vm-generalizePublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/publicIPAddresses/vm-generalizePublicIP\",\r\n - \ \"etag\": \"W/\\\"da6654c1-a739-4c4d-94ae-35d57a441f36\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"df246dee-28fa-442f-bcb1-5dad37d0f1f9\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"e6df1ffd-944d-4522-b929-48fadcf9d2d9\",\r\n - \ \"ipAddress\": \"20.245.186.89\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n - \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + \"Succeeded\",\r\n \"resourceGuid\": \"f4eb523a-1e33-446f-a0ba-be7c45ef930a\",\r\n + \ \"ipAddress\": \"20.245.207.174\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic/ipConfigurations/ipconfigvm-generalize\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" @@ -789,13 +855,13 @@ interactions: cache-control: - no-cache content-length: - - '943' + - '944' content-type: - application/json; charset=utf-8 date: - - Wed, 22 Jun 2022 02:11:25 GMT + - Fri, 21 Jul 2023 02:23:47 GMT etag: - - W/"da6654c1-a739-4c4d-94ae-35d57a441f36" + - W/"df246dee-28fa-442f-bcb1-5dad37d0f1f9" expires: - '-1' pragma: @@ -812,7 +878,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - eb552454-156c-4368-93ae-ed9d2f70f29a + - d9d6c7f2-2052-47e3-96bc-7233f20830d4 status: code: 200 message: OK @@ -832,25 +898,27 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize/powerOff?skipShutdown=false&api-version=2020-06-01 response: body: string: '' headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/a63103f6-cc32-4cbe-be0d-0619cd8d6f7b?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/16205cdc-b8ec-4ca5-9a6f-4e3fbd86d5d8?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2020-06-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 22 Jun 2022 02:11:26 GMT + - Fri, 21 Jul 2023 02:23:50 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/a63103f6-cc32-4cbe-be0d-0619cd8d6f7b?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/16205cdc-b8ec-4ca5-9a6f-4e3fbd86d5d8?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2020-06-01 pragma: - no-cache server: @@ -861,7 +929,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/UpdateVM3Min;238,Microsoft.Compute/UpdateVM30Min;1192 + - Microsoft.Compute/UpdateVM3Min;239,Microsoft.Compute/UpdateVM30Min;1199 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -881,23 +949,73 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/a63103f6-cc32-4cbe-be0d-0619cd8d6f7b?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/16205cdc-b8ec-4ca5-9a6f-4e3fbd86d5d8?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-22T02:11:27.2769362+00:00\",\r\n \"endTime\": - \"2022-06-22T02:11:34.4800646+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"a63103f6-cc32-4cbe-be0d-0619cd8d6f7b\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-21T02:23:50.9858898+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"16205cdc-b8ec-4ca5-9a6f-4e3fbd86d5d8\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Jul 2023 02:23:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14998,Microsoft.Compute/GetOperation30Min;29996 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm stop + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/16205cdc-b8ec-4ca5-9a6f-4e3fbd86d5d8?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2020-06-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-21T02:23:50.9858898+00:00\",\r\n \"endTime\": + \"2023-07-21T02:23:58.064121+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"16205cdc-b8ec-4ca5-9a6f-4e3fbd86d5d8\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '183' content-type: - application/json; charset=utf-8 date: - - Wed, 22 Jun 2022 02:11:58 GMT + - Fri, 21 Jul 2023 02:24:20 GMT expires: - '-1' pragma: @@ -914,7 +1032,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14984,Microsoft.Compute/GetOperation30Min;29911 + - Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29994 status: code: 200 message: OK @@ -932,9 +1050,9 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/a63103f6-cc32-4cbe-be0d-0619cd8d6f7b?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/16205cdc-b8ec-4ca5-9a6f-4e3fbd86d5d8?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2020-06-01 response: body: string: '' @@ -944,7 +1062,7 @@ interactions: content-length: - '0' date: - - Wed, 22 Jun 2022 02:11:58 GMT + - Fri, 21 Jul 2023 02:24:21 GMT expires: - '-1' pragma: @@ -957,7 +1075,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14983,Microsoft.Compute/GetOperation30Min;29910 + - Microsoft.Compute/GetOperation3Min;14995,Microsoft.Compute/GetOperation30Min;29993 status: code: 200 message: OK @@ -977,7 +1095,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize/generalize?api-version=2020-06-01 response: @@ -989,7 +1107,7 @@ interactions: content-length: - '0' date: - - Wed, 22 Jun 2022 02:11:59 GMT + - Fri, 21 Jul 2023 02:24:23 GMT expires: - '-1' pragma: @@ -1002,9 +1120,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/UpdateVM3Min;237,Microsoft.Compute/UpdateVM30Min;1191 + - Microsoft.Compute/UpdateVM3Min;238,Microsoft.Compute/UpdateVM30Min;1198 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 200 message: OK @@ -1022,21 +1140,21 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize?api-version=2020-06-01 response: body: string: "{\r\n \"name\": \"vm-generalize\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"ec7ef6f1-a90b-4def-8533-e64fa7b93bd0\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"1290101d-ec10-4a3c-91a3-33ffc5c3730e\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": - \"18.04.202206150\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"osdisk_52b47a95b6\",\r\n \"createOption\": - \"FromImage\",\r\n \"vhd\": {\r\n \"uri\": \"https://vhdstorage52b47a95b6e033.blob.core.windows.net/vhds/osdisk_52b47a95b6.vhd\"\r\n + \"18.04.202306070\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": + \"Linux\",\r\n \"name\": \"osdisk_19f93dceef\",\r\n \"createOption\": + \"FromImage\",\r\n \"vhd\": {\r\n \"uri\": \"https://vhdstorage19f93dceef2a77.blob.core.windows.net/vhds/osdisk_19f93dceef.vhd\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm-generalize\",\r\n \"adminUsername\": @@ -1054,7 +1172,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 22 Jun 2022 02:12:01 GMT + - Fri, 21 Jul 2023 02:24:25 GMT expires: - '-1' pragma: @@ -1071,7 +1189,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3975,Microsoft.Compute/LowCostGet30Min;31867 + - Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31996 status: code: 200 message: OK @@ -1094,25 +1212,27 @@ interactions: ParameterSetName: - -g -n --vhd-name-prefix User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize/capture?api-version=2020-06-01 response: body: string: '' headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/08118ec8-c50d-4100-84a6-08f2f0ec600f?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/2367d487-450b-4e83-8df2-0009967a6280?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2020-06-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 22 Jun 2022 02:12:02 GMT + - Fri, 21 Jul 2023 02:24:26 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/08118ec8-c50d-4100-84a6-08f2f0ec600f?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/2367d487-450b-4e83-8df2-0009967a6280?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2020-06-01 pragma: - no-cache server: @@ -1123,7 +1243,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/UpdateVM3Min;236,Microsoft.Compute/UpdateVM30Min;1190 + - Microsoft.Compute/UpdateVM3Min;237,Microsoft.Compute/UpdateVM30Min;1197 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -1143,24 +1263,44 @@ interactions: ParameterSetName: - -g -n --vhd-name-prefix User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/08118ec8-c50d-4100-84a6-08f2f0ec600f?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/2367d487-450b-4e83-8df2-0009967a6280?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-22T02:12:02.0269027+00:00\",\r\n \"endTime\": - \"2022-06-22T02:12:02.2456916+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"properties\": {\r\n \"output\": {\"$schema\":\"http://schema.management.azure.com/schemas/2014-04-01-preview/VM_IP.json\",\"contentVersion\":\"1.0.0.0\",\"parameters\":{\"vmName\":{\"type\":\"string\"},\"vmSize\":{\"type\":\"string\",\"defaultValue\":\"Standard_DS1_v2\"},\"adminUserName\":{\"type\":\"string\"},\"adminPassword\":{\"type\":\"securestring\"},\"networkInterfaceId\":{\"type\":\"string\"}},\"resources\":[{\"name\":\"[parameters('vmName')]\",\"type\":\"Microsoft.Compute/virtualMachines\",\"location\":\"westus\",\"apiVersion\":\"2020-06-01\",\"properties\":{\"hardwareProfile\":{\"vmSize\":\"[parameters('vmSize')]\"},\"storageProfile\":{\"osDisk\":{\"osType\":\"Linux\",\"name\":\"vmtest-osDisk.ec7ef6f1-a90b-4def-8533-e64fa7b93bd0.vhd\",\"createOption\":\"FromImage\",\"image\":{\"uri\":\"https://vhdstorage52b47a95b6e033.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/vmtest-osDisk.ec7ef6f1-a90b-4def-8533-e64fa7b93bd0.vhd\"},\"vhd\":{\"uri\":\"https://vhdstorage52b47a95b6e033.blob.core.windows.net/vmcontainer5ae7acda-1017-44c1-823c-c9a7f401161f/osDisk.5ae7acda-1017-44c1-823c-c9a7f401161f.vhd\"},\"caching\":\"ReadWrite\"}},\"osProfile\":{\"computerName\":\"[parameters('vmName')]\",\"adminUsername\":\"[parameters('adminUsername')]\",\"adminPassword\":\"[parameters('adminPassword')]\"},\"networkProfile\":{\"networkInterfaces\":[{\"id\":\"[parameters('networkInterfaceId')]\"}]},\"provisioningState\":0}}]}\r\n - \ },\r\n \"name\": \"08118ec8-c50d-4100-84a6-08f2f0ec600f\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-21T02:24:26.6582484+00:00\",\r\n \"endTime\": + \"2023-07-21T02:24:26.8457807+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/VM_IP.json\",\r\n + \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"vmName\": + {\r\n \"type\": \"string\"\r\n },\r\n \"vmSize\": {\r\n \"type\": + \"string\",\r\n \"defaultValue\": \"Standard_DS1_v2\"\r\n },\r\n \"adminUserName\": + {\r\n \"type\": \"string\"\r\n },\r\n \"adminPassword\": {\r\n + \ \"type\": \"securestring\"\r\n },\r\n \"networkInterfaceId\": + {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n + \ {\r\n \"name\": \"[parameters('vmName')]\",\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n + \ \"location\": \"westus\",\r\n \"apiVersion\": \"2020-06-01\",\r\n + \ \"properties\": {\r\n \"hardwareProfile\": {\r\n \"vmSize\": + \"[parameters('vmSize')]\"\r\n },\r\n \"storageProfile\": {\r\n + \ \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": + \"vmtest-osDisk.1290101d-ec10-4a3c-91a3-33ffc5c3730e.vhd\",\r\n \"createOption\": + \"FromImage\",\r\n \"image\": {\r\n \"uri\": \"https://vhdstorage19f93dceef2a77.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/vmtest-osDisk.1290101d-ec10-4a3c-91a3-33ffc5c3730e.vhd\"\r\n + \ },\r\n \"vhd\": {\r\n \"uri\": \"https://vhdstorage19f93dceef2a77.blob.core.windows.net/vmcontainer4fde1880-39f5-4e98-8311-452b555cc4eb/osDisk.4fde1880-39f5-4e98-8311-452b555cc4eb.vhd\"\r\n + \ },\r\n \"caching\": \"ReadWrite\"\r\n }\r\n + \ },\r\n \"osProfile\": {\r\n \"computerName\": \"[parameters('vmName')]\",\r\n + \ \"adminUsername\": \"[parameters('adminUsername')]\",\r\n \"adminPassword\": + \"[parameters('adminPassword')]\"\r\n },\r\n \"networkProfile\": + {\"networkInterfaces\":[{\"id\":\"[parameters('networkInterfaceId')]\"}]},\r\n + \ \"provisioningState\": 0\r\n }\r\n }\r\n ]\r\n}\r\n },\r\n + \ \"name\": \"2367d487-450b-4e83-8df2-0009967a6280\"\r\n}" headers: cache-control: - no-cache content-length: - - '1508' + - '2036' content-type: - application/json; charset=utf-8 date: - - Wed, 22 Jun 2022 02:12:32 GMT + - Fri, 21 Jul 2023 02:24:26 GMT expires: - '-1' pragma: @@ -1177,7 +1317,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14980,Microsoft.Compute/GetOperation30Min;29904 + - Microsoft.Compute/GetOperation3Min;14994,Microsoft.Compute/GetOperation30Min;29992 status: code: 200 message: OK @@ -1195,12 +1335,12 @@ interactions: ParameterSetName: - -g -n --vhd-name-prefix User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/08118ec8-c50d-4100-84a6-08f2f0ec600f?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/2367d487-450b-4e83-8df2-0009967a6280?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2020-06-01 response: body: - string: '{"$schema":"http://schema.management.azure.com/schemas/2014-04-01-preview/VM_IP.json","contentVersion":"1.0.0.0","parameters":{"vmName":{"type":"string"},"vmSize":{"type":"string","defaultValue":"Standard_DS1_v2"},"adminUserName":{"type":"string"},"adminPassword":{"type":"securestring"},"networkInterfaceId":{"type":"string"}},"resources":[{"name":"[parameters(''vmName'')]","type":"Microsoft.Compute/virtualMachines","location":"westus","apiVersion":"2020-06-01","properties":{"hardwareProfile":{"vmSize":"[parameters(''vmSize'')]"},"storageProfile":{"osDisk":{"osType":"Linux","name":"vmtest-osDisk.ec7ef6f1-a90b-4def-8533-e64fa7b93bd0.vhd","createOption":"FromImage","image":{"uri":"https://vhdstorage52b47a95b6e033.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/vmtest-osDisk.ec7ef6f1-a90b-4def-8533-e64fa7b93bd0.vhd"},"vhd":{"uri":"https://vhdstorage52b47a95b6e033.blob.core.windows.net/vmcontainer5ae7acda-1017-44c1-823c-c9a7f401161f/osDisk.5ae7acda-1017-44c1-823c-c9a7f401161f.vhd"},"caching":"ReadWrite"}},"osProfile":{"computerName":"[parameters(''vmName'')]","adminUsername":"[parameters(''adminUsername'')]","adminPassword":"[parameters(''adminPassword'')]"},"networkProfile":{"networkInterfaces":[{"id":"[parameters(''networkInterfaceId'')]"}]},"provisioningState":0}}]}' + string: '{"$schema":"http://schema.management.azure.com/schemas/2014-04-01-preview/VM_IP.json","contentVersion":"1.0.0.0","parameters":{"vmName":{"type":"string"},"vmSize":{"type":"string","defaultValue":"Standard_DS1_v2"},"adminUserName":{"type":"string"},"adminPassword":{"type":"securestring"},"networkInterfaceId":{"type":"string"}},"resources":[{"name":"[parameters(''vmName'')]","type":"Microsoft.Compute/virtualMachines","location":"westus","apiVersion":"2020-06-01","properties":{"hardwareProfile":{"vmSize":"[parameters(''vmSize'')]"},"storageProfile":{"osDisk":{"osType":"Linux","name":"vmtest-osDisk.1290101d-ec10-4a3c-91a3-33ffc5c3730e.vhd","createOption":"FromImage","image":{"uri":"https://vhdstorage19f93dceef2a77.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/vmtest-osDisk.1290101d-ec10-4a3c-91a3-33ffc5c3730e.vhd"},"vhd":{"uri":"https://vhdstorage19f93dceef2a77.blob.core.windows.net/vmcontainer4fde1880-39f5-4e98-8311-452b555cc4eb/osDisk.4fde1880-39f5-4e98-8311-452b555cc4eb.vhd"},"caching":"ReadWrite"}},"osProfile":{"computerName":"[parameters(''vmName'')]","adminUsername":"[parameters(''adminUsername'')]","adminPassword":"[parameters(''adminPassword'')]"},"networkProfile":{"networkInterfaces":[{"id":"[parameters(''networkInterfaceId'')]"}]},"provisioningState":0}}]}' headers: cache-control: - no-cache @@ -1209,7 +1349,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 22 Jun 2022 02:12:32 GMT + - Fri, 21 Jul 2023 02:24:27 GMT expires: - '-1' pragma: @@ -1226,7 +1366,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14979,Microsoft.Compute/GetOperation30Min;29903 + - Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29991 status: code: 200 message: OK @@ -1244,21 +1384,21 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize?$expand=instanceView&api-version=2020-06-01 response: body: string: "{\r\n \"name\": \"vm-generalize\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"ec7ef6f1-a90b-4def-8533-e64fa7b93bd0\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"1290101d-ec10-4a3c-91a3-33ffc5c3730e\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": - \"18.04.202206150\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"osdisk_52b47a95b6\",\r\n \"createOption\": - \"FromImage\",\r\n \"vhd\": {\r\n \"uri\": \"https://vhdstorage52b47a95b6e033.blob.core.windows.net/vhds/osdisk_52b47a95b6.vhd\"\r\n + \"18.04.202306070\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": + \"Linux\",\r\n \"name\": \"osdisk_19f93dceef\",\r\n \"createOption\": + \"FromImage\",\r\n \"vhd\": {\r\n \"uri\": \"https://vhdstorage19f93dceef2a77.blob.core.windows.net/vhds/osdisk_19f93dceef.vhd\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm-generalize\",\r\n \"adminUsername\": @@ -1269,21 +1409,21 @@ interactions: true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Network/networkInterfaces/vm-generalizeVMNic\"}]},\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": \"vm-generalize\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": - \"18.04\",\r\n \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.8.0.6\",\r\n + \"18.04\",\r\n \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.9.1.1\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2022-06-22T02:11:11+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"osdisk_52b47a95b6\",\r\n + \"2023-07-21T02:23:51+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"osdisk_19f93dceef\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-06-22T02:10:25.448637+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-21T02:22:42.813146+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\": \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"OSState/generalized\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM generalized\"\r\n \ },\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2022-06-22T02:11:34.4800646+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-21T02:23:57.9391162+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/stopped\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM stopped\"\r\n \ }\r\n ]\r\n }\r\n }\r\n}" @@ -1295,7 +1435,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 22 Jun 2022 02:12:33 GMT + - Fri, 21 Jul 2023 02:24:29 GMT expires: - '-1' pragma: @@ -1312,7 +1452,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3972,Microsoft.Compute/LowCostGet30Min;31861 + - Microsoft.Compute/LowCostGet3Min;3995,Microsoft.Compute/LowCostGet30Min;31995 status: code: 200 message: OK @@ -1330,21 +1470,21 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_generalize_vm000001?api-version=2019-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001","name":"cli_test_generalize_vm000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-22T02:09:33Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001","name":"cli_test_generalize_vm000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_vm_generalize","date":"2023-07-21T02:21:43Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '334' + - '376' content-type: - application/json; charset=utf-8 date: - - Wed, 22 Jun 2022 02:12:34 GMT + - Fri, 21 Jul 2023 02:24:29 GMT expires: - '-1' pragma: @@ -1378,7 +1518,7 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/images/myImage?api-version=2020-06-01 response: @@ -1389,7 +1529,7 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\"\r\n \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": - 30,\r\n \"blobUri\": \"https://vhdstorage52b47a95b6e033.blob.core.windows.net/vhds/osdisk_52b47a95b6.vhd\",\r\n + 30,\r\n \"blobUri\": \"https://vhdstorage19f93dceef2a77.blob.core.windows.net/vhds/osdisk_19f93dceef.vhd\",\r\n \ \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Standard_LRS\"\r\n \ },\r\n \"dataDisks\": []\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"hyperVGeneration\": \"V1\"\r\n }\r\n}" @@ -1397,7 +1537,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/404ab75d-78bf-49ad-839f-9929686a1440?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b7a4605d-0032-40f7-b907-328ce0b5d253?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2020-06-01 cache-control: - no-cache content-length: @@ -1405,7 +1545,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 22 Jun 2022 02:12:44 GMT + - Fri, 21 Jul 2023 02:24:38 GMT expires: - '-1' pragma: @@ -1418,7 +1558,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateImages3Min;39,Microsoft.Compute/CreateImages30Min;195 + - Microsoft.Compute/CreateImages3Min;39,Microsoft.Compute/CreateImages30Min;199 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -1438,23 +1578,73 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/404ab75d-78bf-49ad-839f-9929686a1440?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b7a4605d-0032-40f7-b907-328ce0b5d253?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2022-06-22T02:12:39.323843+00:00\",\r\n \"endTime\": - \"2022-06-22T02:12:49.4488754+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"404ab75d-78bf-49ad-839f-9929686a1440\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-21T02:24:32.7366292+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"b7a4605d-0032-40f7-b907-328ce0b5d253\"\r\n}" headers: cache-control: - no-cache content-length: - - '183' + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Jul 2023 02:24:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14991,Microsoft.Compute/GetOperation30Min;29989 + 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.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b7a4605d-0032-40f7-b907-328ce0b5d253?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2020-06-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-21T02:24:32.7366292+00:00\",\r\n \"endTime\": + \"2023-07-21T02:24:42.9396752+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"b7a4605d-0032-40f7-b907-328ce0b5d253\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' content-type: - application/json; charset=utf-8 date: - - Wed, 22 Jun 2022 02:13:16 GMT + - Fri, 21 Jul 2023 02:25:08 GMT expires: - '-1' pragma: @@ -1471,7 +1661,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14981,Microsoft.Compute/GetOperation30Min;29902 + - Microsoft.Compute/GetOperation3Min;14989,Microsoft.Compute/GetOperation30Min;29987 status: code: 200 message: OK @@ -1489,7 +1679,65 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.37.0 azsdk-python-azure-mgmt-compute/27.1.0 Python/3.10.5 (Windows-10-10.0.19044-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/images/myImage?api-version=2020-06-01 + response: + body: + string: "{\r\n \"name\": \"myImage\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/images/myImage\",\r\n + \ \"type\": \"Microsoft.Compute/images\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"sourceVirtualMachine\": {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\"\r\n + \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": + \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": + 30,\r\n \"blobUri\": \"https://vhdstorage19f93dceef2a77.blob.core.windows.net/vhds/osdisk_19f93dceef.vhd\",\r\n + \ \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Standard_LRS\"\r\n + \ },\r\n \"dataDisks\": []\r\n },\r\n \"provisioningState\": + \"Succeeded\",\r\n \"hyperVGeneration\": \"V1\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Jul 2023 02:25: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/GetImages3Min;358,Microsoft.Compute/GetImages30Min;1798 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - image show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/images/myImage?api-version=2020-06-01 response: @@ -1500,7 +1748,7 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\"\r\n \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": - 30,\r\n \"blobUri\": \"https://vhdstorage52b47a95b6e033.blob.core.windows.net/vhds/osdisk_52b47a95b6.vhd\",\r\n + 30,\r\n \"blobUri\": \"https://vhdstorage19f93dceef2a77.blob.core.windows.net/vhds/osdisk_19f93dceef.vhd\",\r\n \ \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Standard_LRS\"\r\n \ },\r\n \"dataDisks\": []\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"hyperVGeneration\": \"V1\"\r\n }\r\n}" @@ -1512,7 +1760,221 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 22 Jun 2022 02:13:16 GMT + - Fri, 21 Jul 2023 02:25:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetImages3Min;357,Microsoft.Compute/GetImages30Min;1797 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - image list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/images?api-version=2020-06-01 + response: + body: + string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"myImage\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/images/myImage\",\r\n + \ \"type\": \"Microsoft.Compute/images\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"sourceVirtualMachine\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/virtualMachines/vm-generalize\"\r\n + \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n + \ \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n + \ \"diskSizeGB\": 30,\r\n \"blobUri\": \"https://vhdstorage19f93dceef2a77.blob.core.windows.net/vhds/osdisk_19f93dceef.vhd\",\r\n + \ \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": + \"Standard_LRS\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"hyperVGeneration\": + \"V1\"\r\n }\r\n }\r\n ]\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1041' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Jul 2023 02:25:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/HighCostGetImages3Min;79,Microsoft.Compute/HighCostGetImages30Min;399 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - image delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_generalize_vm000001/providers/Microsoft.Compute/images/myImage?api-version=2020-06-01 + response: + body: + string: '' + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/18075e20-0c1d-4e24-b465-65998222b950?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2020-06-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 21 Jul 2023 02:25:14 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/18075e20-0c1d-4e24-b465-65998222b950?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2020-06-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/DeleteImages3Min;119,Microsoft.Compute/DeleteImages30Min;599 + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - image delete + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/18075e20-0c1d-4e24-b465-65998222b950?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2020-06-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-21T02:25:15.252643+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"18075e20-0c1d-4e24-b465-65998222b950\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '133' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Jul 2023 02:25:14 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;14988,Microsoft.Compute/GetOperation30Min;29986 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - image delete + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/18075e20-0c1d-4e24-b465-65998222b950?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2020-06-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-21T02:25:15.252643+00:00\",\r\n \"endTime\": + \"2023-07-21T02:25:20.3777584+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"18075e20-0c1d-4e24-b465-65998222b950\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '183' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Jul 2023 02:25:45 GMT expires: - '-1' pragma: @@ -1529,7 +1991,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetImages3Min;355,Microsoft.Compute/GetImages30Min;1779 + - Microsoft.Compute/GetOperation3Min;14987,Microsoft.Compute/GetOperation30Min;29985 status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/test_vm_commands.py b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/test_vm_commands.py index 7d27c87f0ed..c0ad28d5bf0 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/test_vm_commands.py +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/test_vm_commands.py @@ -18,7 +18,7 @@ from azure.cli.core.profiles import ResourceType from azure.cli.testsdk import ( ScenarioTest, ResourceGroupPreparer, LiveScenarioTest, api_version_constraint, - StorageAccountPreparer) + StorageAccountPreparer, KeyVaultPreparer) TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) # pylint: disable=line-too-long @@ -233,6 +233,15 @@ def test_vm_generalize(self, resource_group): self.check('sourceVirtualMachine.id', vm['id']), self.check('storageProfile.zoneResilient', None) ]) + self.cmd('image show -g {rg} -n {image}', checks=[ + self.check('name', '{image}'), + self.check('sourceVirtualMachine.id', vm['id']), + self.check('storageProfile.zoneResilient', None) + ]) + self.cmd('image list -g {rg}', checks=[ + self.check('length(@)', '1') + ]) + self.cmd('image delete -g {rg} -n {image}') @ResourceGroupPreparer(name_prefix='cli_test_generalize_vm') def test_vm_capture_zone_resilient_image(self, resource_group): @@ -2193,6 +2202,9 @@ def test_gallery_image(self, resource_group): self.kwargs.update({ 'gallery': self.create_random_name('sig_', 10), 'image': 'image1', + 'disk': 'disk', + 'snapshot': 'snapshot', + 'version': '1.0.0', }) self.cmd('sig create -g {rg} -r {gallery}', checks=[ @@ -2209,6 +2221,24 @@ def test_gallery_image(self, resource_group): res = self.cmd('sig image-definition show -g {rg} --gallery-name {gallery} --gallery-image-definition {image}', checks=self.check('name', self.kwargs['image'])).get_output_in_json() + self.cmd('snapshot create -g {rg} -n {snapshot} --size-gb 1 --sku Premium_LRS --tags tag1=s1') + self.cmd('sig image-version create --resource-group {rg} --gallery-name {gallery} ' + '--gallery-image-definition {image} --gallery-image-version {version} --os-snapshot {snapshot}', + checks=[ + self.check('provisioningState', 'Succeeded') + ]) + + self.cmd('sig image-version show -g {rg} -r {gallery} -i {image} -e {version}', checks=[ + self.check('name', '{version}') + ]) + + self.cmd('sig image-version list -g {rg} -r {gallery} -i {image}', checks=[ + self.check('length(@)', 1), + self.check('[0].name', '{version}') + ]) + self.cmd('sig image-version delete -g {rg} -r {gallery} -i {image} -e {version}') + time.sleep(60) + self.cmd('sig image-definition delete -g {rg} --gallery-name {gallery} --gallery-image-definition {image}') time.sleep(60) # service end latency self.cmd('sig delete -g {rg} --gallery-name {gallery}') diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_community_gallery_operations.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_community_gallery_operations.yaml index 4afbbbefa46..4860df1057b 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_community_gallery_operations.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_community_gallery_operations.yaml @@ -13,21 +13,21 @@ interactions: ParameterSetName: - -g --gallery-name --permissions --publisher-uri --publisher-email --eula --public-name-prefix User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_community_gallery_operations_000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001","name":"cli_test_community_gallery_operations_000001","type":"Microsoft.Resources/resourceGroups","location":"centraluseuap","tags":{"product":"azurecli","cause":"automation","date":"2023-04-11T05:18:39Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001","name":"cli_test_community_gallery_operations_000001","type":"Microsoft.Resources/resourceGroups","location":"centraluseuap","tags":{"product":"azurecli","cause":"automation","test":"test_community_gallery_operations","date":"2023-07-20T08:45:56Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '373' + - '430' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:18:54 GMT + - Thu, 20 Jul 2023 08:45:51 GMT expires: - '-1' pragma: @@ -61,7 +61,7 @@ interactions: ParameterSetName: - -g --gallery-name --permissions --publisher-uri --publisher-email --eula --public-name-prefix User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/galleries/gellery000003?api-version=2021-10-01 response: @@ -69,16 +69,16 @@ interactions: string: "{\r\n \"name\": \"gellery000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/galleries/gellery000003\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"centraluseuap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYPDGJXDSCO\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYEKQWUQZ7Z\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Community\",\r\n \"communityGalleryInfo\": {\r\n \"communityGalleryEnabled\": false,\r\n \"publisherUri\": \"puburi\",\r\n \"publisherContact\": \"abc@123.com\",\r\n \"eula\": \"eula\",\r\n \"publicNamePrefix\": \"pubname\",\r\n \"publicNames\": - [\r\n \"pubname-d433cfe8-7b51-412c-b286-4a72faaff6b5\"\r\n ]\r\n + [\r\n \"pubname-3c76ad55-5655-465c-a868-4ae7f4f1e9fc\"\r\n ]\r\n \ }\r\n },\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/d1051dc4-b129-4042-a4e1-953457a073e9?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/b0cc7a17-8f26-4d5e-9a2b-af96fd139310?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -86,7 +86,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:19:01 GMT + - Thu, 20 Jul 2023 08:45:57 GMT expires: - '-1' pragma: @@ -101,7 +101,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGallery3Min;49,Microsoft.Compute/CreateUpdateGallery30Min;299 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -119,14 +119,14 @@ interactions: ParameterSetName: - -g --gallery-name --permissions --publisher-uri --publisher-email --eula --public-name-prefix User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/d1051dc4-b129-4042-a4e1-953457a073e9?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/b0cc7a17-8f26-4d5e-9a2b-af96fd139310?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2023-04-11T05:19:00.8504009+00:00\",\r\n \"endTime\": - \"2023-04-11T05:19:02.3816998+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"d1051dc4-b129-4042-a4e1-953457a073e9\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:45:56.6388867+00:00\",\r\n \"endTime\": + \"2023-07-20T08:45:57.9670028+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"b0cc7a17-8f26-4d5e-9a2b-af96fd139310\"\r\n}" headers: cache-control: - no-cache @@ -135,7 +135,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:19:32 GMT + - Thu, 20 Jul 2023 08:45:58 GMT expires: - '-1' pragma: @@ -152,7 +152,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4198 + - Microsoft.Compute/GetOperationStatus3Min;1199,Microsoft.Compute/GetOperationStatus30Min;4199 status: code: 200 message: OK @@ -170,7 +170,7 @@ interactions: ParameterSetName: - -g --gallery-name --permissions --publisher-uri --publisher-email --eula --public-name-prefix User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/galleries/gellery000003?api-version=2021-10-01 response: @@ -178,12 +178,12 @@ interactions: string: "{\r\n \"name\": \"gellery000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/galleries/gellery000003\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"centraluseuap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYPDGJXDSCO\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYEKQWUQZ7Z\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Community\",\r\n \"communityGalleryInfo\": {\r\n \"communityGalleryEnabled\": false,\r\n \"publisherUri\": \"puburi\",\r\n \"publisherContact\": \"abc@123.com\",\r\n \"eula\": \"eula\",\r\n \"publicNamePrefix\": \"pubname\",\r\n \"publicNames\": - [\r\n \"pubname-d433cfe8-7b51-412c-b286-4a72faaff6b5\"\r\n ]\r\n + [\r\n \"pubname-3c76ad55-5655-465c-a868-4ae7f4f1e9fc\"\r\n ]\r\n \ }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: cache-control: @@ -193,7 +193,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:19:32 GMT + - Thu, 20 Jul 2023 08:45:59 GMT expires: - '-1' pragma: @@ -210,7 +210,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;345,Microsoft.Compute/GetGallery30Min;2495 + - Microsoft.Compute/GetGallery3Min;349,Microsoft.Compute/GetGallery30Min;2499 status: code: 200 message: OK @@ -232,7 +232,7 @@ interactions: ParameterSetName: - -r -g User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/galleries/gellery000003/share?api-version=2022-03-03 response: @@ -240,17 +240,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/21923c59-ef47-4250-bffe-453497f5e734?api-version=2022-03-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/52c7d6de-9f6d-4b48-b219-9bffe7708f7e?api-version=2022-03-03 cache-control: - no-cache content-length: - '0' date: - - Tue, 11 Apr 2023 05:19:36 GMT + - Thu, 20 Jul 2023 08:46:02 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/21923c59-ef47-4250-bffe-453497f5e734?monitor=true&api-version=2022-03-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/52c7d6de-9f6d-4b48-b219-9bffe7708f7e?monitor=true&api-version=2022-03-03 pragma: - no-cache server: @@ -281,23 +281,23 @@ interactions: ParameterSetName: - -r -g User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/21923c59-ef47-4250-bffe-453497f5e734?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/52c7d6de-9f6d-4b48-b219-9bffe7708f7e?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-04-11T05:19:36.632094+00:00\",\r\n \"endTime\": - \"2023-04-11T05:19:36.8820608+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"21923c59-ef47-4250-bffe-453497f5e734\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:46:02.6389002+00:00\",\r\n \"endTime\": + \"2023-07-20T08:46:02.9045003+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"52c7d6de-9f6d-4b48-b219-9bffe7708f7e\"\r\n}" headers: cache-control: - no-cache content-length: - - '183' + - '184' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:20:06 GMT + - Thu, 20 Jul 2023 08:46:02 GMT expires: - '-1' pragma: @@ -314,7 +314,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1196,Microsoft.Compute/GetOperationStatus30Min;4196 + - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4198 status: code: 200 message: OK @@ -332,9 +332,9 @@ interactions: ParameterSetName: - -r -g User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/21923c59-ef47-4250-bffe-453497f5e734?monitor=true&api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/52c7d6de-9f6d-4b48-b219-9bffe7708f7e?monitor=true&api-version=2022-03-03 response: body: string: '' @@ -344,7 +344,7 @@ interactions: content-length: - '0' date: - - Tue, 11 Apr 2023 05:20:06 GMT + - Thu, 20 Jul 2023 08:46:02 GMT expires: - '-1' pragma: @@ -357,7 +357,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4195 + - Microsoft.Compute/GetOperationStatus3Min;1197,Microsoft.Compute/GetOperationStatus30Min;4197 status: code: 200 message: OK @@ -375,21 +375,21 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_community_gallery_operations_000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001","name":"cli_test_community_gallery_operations_000001","type":"Microsoft.Resources/resourceGroups","location":"centraluseuap","tags":{"product":"azurecli","cause":"automation","date":"2023-04-11T05:18:39Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001","name":"cli_test_community_gallery_operations_000001","type":"Microsoft.Resources/resourceGroups","location":"centraluseuap","tags":{"product":"azurecli","cause":"automation","test":"test_community_gallery_operations","date":"2023-07-20T08:45:56Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '373' + - '430' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:20:07 GMT + - Thu, 20 Jul 2023 08:46:05 GMT expires: - '-1' pragma: @@ -423,7 +423,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/galleries/gellery000003/images/image000004?api-version=2021-10-01 response: @@ -437,7 +437,7 @@ interactions: \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/e7403dbb-95f9-40d8-86d9-9d2b6e7063b8?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/4a78e62d-300c-49e5-a46c-ada5fe97ce82?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -445,7 +445,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:20:14 GMT + - Thu, 20 Jul 2023 08:46:15 GMT expires: - '-1' pragma: @@ -478,23 +478,23 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/e7403dbb-95f9-40d8-86d9-9d2b6e7063b8?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/4a78e62d-300c-49e5-a46c-ada5fe97ce82?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2023-04-11T05:20:13.3042072+00:00\",\r\n \"endTime\": - \"2023-04-11T05:20:13.616709+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"e7403dbb-95f9-40d8-86d9-9d2b6e7063b8\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:46:13.7327091+00:00\",\r\n \"endTime\": + \"2023-07-20T08:46:14.0608168+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"4a78e62d-300c-49e5-a46c-ada5fe97ce82\"\r\n}" headers: cache-control: - no-cache content-length: - - '183' + - '184' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:20:45 GMT + - Thu, 20 Jul 2023 08:46:15 GMT expires: - '-1' pragma: @@ -511,7 +511,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4193 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4195 status: code: 200 message: OK @@ -529,7 +529,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/galleries/gellery000003/images/image000004?api-version=2021-10-01 response: @@ -549,7 +549,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:20:45 GMT + - Thu, 20 Jul 2023 08:46:15 GMT expires: - '-1' pragma: @@ -566,7 +566,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImage3Min;595,Microsoft.Compute/GetGalleryImage30Min;2995 + - Microsoft.Compute/GetGalleryImage3Min;598,Microsoft.Compute/GetGalleryImage30Min;2998 status: code: 200 message: OK @@ -584,21 +584,21 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_community_gallery_operations_000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001","name":"cli_test_community_gallery_operations_000001","type":"Microsoft.Resources/resourceGroups","location":"centraluseuap","tags":{"product":"azurecli","cause":"automation","date":"2023-04-11T05:18:39Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001","name":"cli_test_community_gallery_operations_000001","type":"Microsoft.Resources/resourceGroups","location":"centraluseuap","tags":{"product":"azurecli","cause":"automation","test":"test_community_gallery_operations","date":"2023-07-20T08:45:56Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '373' + - '430' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:20:45 GMT + - Thu, 20 Jul 2023 08:46:16 GMT expires: - '-1' pragma: @@ -612,136 +612,6 @@ interactions: status: code: 200 message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.26.0 - method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json - response: - body: - string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n - \ \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\": - {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"type\": - \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": - {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n - \ \"sku\": \"7.5\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"CentOS85Gen2\": {\n \"publisher\": - \ \"OpenLogic\",\n \"offer\": \"CentOS\",\n \"sku\": - \ \"8_5-gen2\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"Debian\": {\n \"publisher\": - \"Debian\",\n \"offer\": \"debian-10\",\n \"sku\": \"10\",\n - \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n - \ },\n \"Debian11\": {\n \"publisher\": \"Debian\",\n - \ \"offer\": \"debian-11\",\n \"sku\": \"11-backports-gen2\",\n - \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n - \ },\n \"Flatcar\": {\n \"publisher\": \"kinvolk\",\n - \ \"offer\": \"flatcar-container-linux-free\",\n \"sku\": - \"stable\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"FlatcarLinuxFreeGen2\": {\n \"publisher\": - \ \"kinvolk\",\n \"offer\": \"flatcar-container-linux-free\",\n - \ \"sku\": \"stable-gen2\",\n \"version\": \"latest\",\n - \ \"architecture\": \"x64\"\n },\n \"openSUSE-Leap\": - {\n \"publisher\": \"SUSE\",\n \"offer\": \"opensuse-leap-15-3\",\n - \ \"sku\": \"gen2\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"OpenSuseLeap154Gen2\": {\n \"publisher\": - \ \"SUSE\",\n \"offer\": \"openSUSE-leap-15-4\",\n \"sku\": - \ \"gen2\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"RHEL\": {\n \"publisher\": \"RedHat\",\n - \ \"offer\": \"RHEL\",\n \"sku\": \"7-LVM\",\n \"version\": - \"latest\",\n \"architecture\": \"x64\"\n },\n \"RHELRaw8LVMGen2\": - \ {\n \"publisher\": \"RedHat\",\n \"offer\": \"RHEL\",\n - \ \"sku\": \"8-lvm-gen2\",\n \"version\": \"latest\",\n - \ \"architecture\": \"x64\"\n },\n \"SLES\": {\n - \ \"publisher\": \"SUSE\",\n \"offer\": \"sles-15-sp3\",\n - \ \"sku\": \"gen2\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"UbuntuLTS\": {\n \"publisher\": - \"Canonical\",\n \"offer\": \"UbuntuServer\",\n \"sku\": - \"18.04-LTS\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"Ubuntu2204\": {\n \"publisher\": - \ \"Canonical\",\n \"offer\": \"0001-com-ubuntu-server-jammy\",\n - \ \"sku\": \"22_04-lts-gen2\",\n \"version\": \"latest\",\n - \ \"architecture\": \"x64\"\n }\n },\n \"Windows\": - {\n \"Win2022Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n - \ \"offer\": \"WindowsServer\",\n \"sku\": \"2022-Datacenter\",\n - \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n - \ },\n \"Win2022AzureEditionCore\": {\n \"publisher\": - \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": - \"2022-datacenter-azure-edition-core\",\n \"version\": \"latest\",\n - \ \"architecture\": \"x64\"\n },\n \"Win2019Datacenter\": - {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": - \"WindowsServer\",\n \"sku\": \"2019-Datacenter\",\n \"version\": - \"latest\",\n \"architecture\": \"x64\"\n },\n \"Win2016Datacenter\": - {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": - \"WindowsServer\",\n \"sku\": \"2016-Datacenter\",\n \"version\": - \"latest\",\n \"architecture\": \"x64\"\n },\n \"Win2012R2Datacenter\": - {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": - \"WindowsServer\",\n \"sku\": \"2012-R2-Datacenter\",\n \"version\": - \"latest\",\n \"architecture\": \"x64\"\n },\n \"Win2012Datacenter\": - {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": - \"WindowsServer\",\n \"sku\": \"2012-Datacenter\",\n \"version\": - \"latest\",\n \"architecture\": \"x64\"\n },\n \"Win2008R2SP1\": - {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": - \"WindowsServer\",\n \"sku\": \"2008-R2-SP1\",\n \"version\": - \"latest\",\n \"architecture\": \"x64\"\n }\n }\n - \ }\n }\n }\n}\n" - headers: - accept-ranges: - - bytes - access-control-allow-origin: - - '*' - cache-control: - - max-age=300 - connection: - - keep-alive - content-length: - - '4813' - content-security-policy: - - default-src 'none'; style-src 'unsafe-inline'; sandbox - content-type: - - text/plain; charset=utf-8 - date: - - Tue, 11 Apr 2023 05:20:46 GMT - etag: - - W/"7298e22031c19603efeacd7c6d414e8a6440da9719a7667ec308696559a1f0ba" - expires: - - Tue, 11 Apr 2023 05:25:46 GMT - source-age: - - '264' - strict-transport-security: - - max-age=31536000 - vary: - - Authorization,Accept-Encoding,Origin - via: - - 1.1 varnish - x-cache: - - HIT - x-cache-hits: - - '1' - x-content-type-options: - - nosniff - x-fastly-request-id: - - 6de89acaafc65637a9b59be811d17bb28d4f72b0 - x-frame-options: - - deny - x-github-request-id: - - 63BA:0BCF:42C65C:4DDE76:6434AFA9 - x-served-by: - - cache-qpg1231-QPG - x-timer: - - S1681190447.716666,VS0,VE1 - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK - request: body: null headers: @@ -756,13 +626,13 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/centraluseuap/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 response: body: - string: "[\r\n {\r\n \"location\": \"CentralUSEUAP\",\r\n \"name\": \"18.04.202303280\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/CentralUSEUAP/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202303280\"\r\n + string: "[\r\n {\r\n \"location\": \"CentralUSEUAP\",\r\n \"name\": \"18.04.202306070\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/CentralUSEUAP/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202306070\"\r\n \ }\r\n]" headers: cache-control: @@ -772,7 +642,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:20:48 GMT + - Thu, 20 Jul 2023 08:46:18 GMT expires: - '-1' pragma: @@ -807,9 +677,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/centraluseuap/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202303280?api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/centraluseuap/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202306070?api-version=2022-11-01 response: body: string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": @@ -823,8 +693,8 @@ interactions: \"IsHibernateSupported\",\r\n \"value\": \"True\"\r\n }\r\n ],\r\n \ \"osDiskImage\": {\r\n \"operatingSystem\": \"Linux\",\r\n \"sizeInGb\": 31,\r\n \"sizeInBytes\": 32213303808\r\n },\r\n \"dataDiskImages\": - []\r\n },\r\n \"location\": \"CentralUSEUAP\",\r\n \"name\": \"18.04.202303280\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/CentralUSEUAP/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202303280\"\r\n}" + []\r\n },\r\n \"location\": \"CentralUSEUAP\",\r\n \"name\": \"18.04.202306070\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/CentralUSEUAP/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202306070\"\r\n}" headers: cache-control: - no-cache @@ -833,7 +703,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:20:50 GMT + - Thu, 20 Jul 2023 08:46:21 GMT expires: - '-1' pragma: @@ -868,7 +738,7 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.47.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/virtualNetworks?api-version=2022-01-01 response: @@ -882,7 +752,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:20:52 GMT + - Thu, 20 Jul 2023 08:46:21 GMT expires: - '-1' pragma: @@ -896,136 +766,6 @@ interactions: status: code: 200 message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python-requests/2.26.0 - method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json - response: - body: - string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n - \ \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\": - {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"type\": - \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": - {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n - \ \"sku\": \"7.5\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"CentOS85Gen2\": {\n \"publisher\": - \ \"OpenLogic\",\n \"offer\": \"CentOS\",\n \"sku\": - \ \"8_5-gen2\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"Debian\": {\n \"publisher\": - \"Debian\",\n \"offer\": \"debian-10\",\n \"sku\": \"10\",\n - \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n - \ },\n \"Debian11\": {\n \"publisher\": \"Debian\",\n - \ \"offer\": \"debian-11\",\n \"sku\": \"11-backports-gen2\",\n - \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n - \ },\n \"Flatcar\": {\n \"publisher\": \"kinvolk\",\n - \ \"offer\": \"flatcar-container-linux-free\",\n \"sku\": - \"stable\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"FlatcarLinuxFreeGen2\": {\n \"publisher\": - \ \"kinvolk\",\n \"offer\": \"flatcar-container-linux-free\",\n - \ \"sku\": \"stable-gen2\",\n \"version\": \"latest\",\n - \ \"architecture\": \"x64\"\n },\n \"openSUSE-Leap\": - {\n \"publisher\": \"SUSE\",\n \"offer\": \"opensuse-leap-15-3\",\n - \ \"sku\": \"gen2\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"OpenSuseLeap154Gen2\": {\n \"publisher\": - \ \"SUSE\",\n \"offer\": \"openSUSE-leap-15-4\",\n \"sku\": - \ \"gen2\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"RHEL\": {\n \"publisher\": \"RedHat\",\n - \ \"offer\": \"RHEL\",\n \"sku\": \"7-LVM\",\n \"version\": - \"latest\",\n \"architecture\": \"x64\"\n },\n \"RHELRaw8LVMGen2\": - \ {\n \"publisher\": \"RedHat\",\n \"offer\": \"RHEL\",\n - \ \"sku\": \"8-lvm-gen2\",\n \"version\": \"latest\",\n - \ \"architecture\": \"x64\"\n },\n \"SLES\": {\n - \ \"publisher\": \"SUSE\",\n \"offer\": \"sles-15-sp3\",\n - \ \"sku\": \"gen2\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"UbuntuLTS\": {\n \"publisher\": - \"Canonical\",\n \"offer\": \"UbuntuServer\",\n \"sku\": - \"18.04-LTS\",\n \"version\": \"latest\",\n \"architecture\": - \"x64\"\n },\n \"Ubuntu2204\": {\n \"publisher\": - \ \"Canonical\",\n \"offer\": \"0001-com-ubuntu-server-jammy\",\n - \ \"sku\": \"22_04-lts-gen2\",\n \"version\": \"latest\",\n - \ \"architecture\": \"x64\"\n }\n },\n \"Windows\": - {\n \"Win2022Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n - \ \"offer\": \"WindowsServer\",\n \"sku\": \"2022-Datacenter\",\n - \ \"version\": \"latest\",\n \"architecture\": \"x64\"\n - \ },\n \"Win2022AzureEditionCore\": {\n \"publisher\": - \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": - \"2022-datacenter-azure-edition-core\",\n \"version\": \"latest\",\n - \ \"architecture\": \"x64\"\n },\n \"Win2019Datacenter\": - {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": - \"WindowsServer\",\n \"sku\": \"2019-Datacenter\",\n \"version\": - \"latest\",\n \"architecture\": \"x64\"\n },\n \"Win2016Datacenter\": - {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": - \"WindowsServer\",\n \"sku\": \"2016-Datacenter\",\n \"version\": - \"latest\",\n \"architecture\": \"x64\"\n },\n \"Win2012R2Datacenter\": - {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": - \"WindowsServer\",\n \"sku\": \"2012-R2-Datacenter\",\n \"version\": - \"latest\",\n \"architecture\": \"x64\"\n },\n \"Win2012Datacenter\": - {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": - \"WindowsServer\",\n \"sku\": \"2012-Datacenter\",\n \"version\": - \"latest\",\n \"architecture\": \"x64\"\n },\n \"Win2008R2SP1\": - {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": - \"WindowsServer\",\n \"sku\": \"2008-R2-SP1\",\n \"version\": - \"latest\",\n \"architecture\": \"x64\"\n }\n }\n - \ }\n }\n }\n}\n" - headers: - accept-ranges: - - bytes - access-control-allow-origin: - - '*' - cache-control: - - max-age=300 - connection: - - keep-alive - content-length: - - '4813' - content-security-policy: - - default-src 'none'; style-src 'unsafe-inline'; sandbox - content-type: - - text/plain; charset=utf-8 - date: - - Tue, 11 Apr 2023 05:20:53 GMT - etag: - - W/"7298e22031c19603efeacd7c6d414e8a6440da9719a7667ec308696559a1f0ba" - expires: - - Tue, 11 Apr 2023 05:25:53 GMT - source-age: - - '270' - strict-transport-security: - - max-age=31536000 - vary: - - Authorization,Accept-Encoding,Origin - via: - - 1.1 varnish - x-cache: - - HIT - x-cache-hits: - - '1' - x-content-type-options: - - nosniff - x-fastly-request-id: - - 81eda5b8be3830fdd0ce91383de721ff36c444d8 - x-frame-options: - - deny - x-github-request-id: - - 63BA:0BCF:42C65C:4DDE76:6434AFA9 - x-served-by: - - cache-qpg1271-QPG - x-timer: - - S1681190453.246263,VS0,VE1 - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK - request: body: null headers: @@ -1040,13 +780,13 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/centraluseuap/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 response: body: - string: "[\r\n {\r\n \"location\": \"CentralUSEUAP\",\r\n \"name\": \"18.04.202303280\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/CentralUSEUAP/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202303280\"\r\n + string: "[\r\n {\r\n \"location\": \"CentralUSEUAP\",\r\n \"name\": \"18.04.202306070\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/CentralUSEUAP/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202306070\"\r\n \ }\r\n]" headers: cache-control: @@ -1056,7 +796,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:20:55 GMT + - Thu, 20 Jul 2023 08:46:24 GMT expires: - '-1' pragma: @@ -1091,9 +831,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/centraluseuap/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202303280?api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/centraluseuap/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202306070?api-version=2022-11-01 response: body: string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": @@ -1107,8 +847,8 @@ interactions: \"IsHibernateSupported\",\r\n \"value\": \"True\"\r\n }\r\n ],\r\n \ \"osDiskImage\": {\r\n \"operatingSystem\": \"Linux\",\r\n \"sizeInGb\": 31,\r\n \"sizeInBytes\": 32213303808\r\n },\r\n \"dataDiskImages\": - []\r\n },\r\n \"location\": \"CentralUSEUAP\",\r\n \"name\": \"18.04.202303280\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/CentralUSEUAP/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202303280\"\r\n}" + []\r\n },\r\n \"location\": \"CentralUSEUAP\",\r\n \"name\": \"18.04.202306070\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/CentralUSEUAP/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202306070\"\r\n}" headers: cache-control: - no-cache @@ -1117,7 +857,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:20:57 GMT + - Thu, 20 Jul 2023 08:46:27 GMT expires: - '-1' pragma: @@ -1152,13 +892,13 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/centraluseuap/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 response: body: - string: "[\r\n {\r\n \"location\": \"CentralUSEUAP\",\r\n \"name\": \"18.04.202303280\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/CentralUSEUAP/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202303280\"\r\n + string: "[\r\n {\r\n \"location\": \"CentralUSEUAP\",\r\n \"name\": \"18.04.202306070\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/CentralUSEUAP/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202306070\"\r\n \ }\r\n]" headers: cache-control: @@ -1168,7 +908,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:20:59 GMT + - Thu, 20 Jul 2023 08:46:29 GMT expires: - '-1' pragma: @@ -1203,9 +943,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/centraluseuap/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202303280?api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/centraluseuap/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202306070?api-version=2022-11-01 response: body: string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": @@ -1219,8 +959,8 @@ interactions: \"IsHibernateSupported\",\r\n \"value\": \"True\"\r\n }\r\n ],\r\n \ \"osDiskImage\": {\r\n \"operatingSystem\": \"Linux\",\r\n \"sizeInGb\": 31,\r\n \"sizeInBytes\": 32213303808\r\n },\r\n \"dataDiskImages\": - []\r\n },\r\n \"location\": \"CentralUSEUAP\",\r\n \"name\": \"18.04.202303280\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/CentralUSEUAP/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202303280\"\r\n}" + []\r\n },\r\n \"location\": \"CentralUSEUAP\",\r\n \"name\": \"18.04.202306070\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/CentralUSEUAP/Publishers/Canonical/ArtifactTypes/VMImage/Offers/UbuntuServer/Skus/18.04-LTS/Versions/18.04.202306070\"\r\n}" headers: cache-control: - no-cache @@ -1229,7 +969,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:21:01 GMT + - Thu, 20 Jul 2023 08:46:32 GMT expires: - '-1' pragma: @@ -1278,7 +1018,7 @@ interactions: null}}, "imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", "sku": "18.04-LTS", "version": "latest"}}, "osProfile": {"computerName": "vm000002", "adminUsername": "gallerytest", "linuxConfiguration": {"disablePasswordAuthentication": - true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDLq1sEri2RcnDg8tjo775iZUd5HVjAdQjSgky6ciJgrvPNUxZv9D65dL9GLllmDhq4Xv6SxbppUJhG0vl/VgaRRPyWRrHXgZRBl0c+H0A2X0Y7L/9sir1ezs2xv89+T03Y+KQYGyZa4xuxwlfdsl6YHjHGW97ONxyDfQesFkSdwyRI0RsnV0/GB8mRF32tgSwxqT8cpXjzjz7w4usgT52knfpyslFfZGRfTjamae/sZeezBTSfsvgryEMxxxXBvXC8/iiTxRG9cQxURK6t1VCeT6F7OmJhY2G+sPCXbkEyOjkfT18y/iUSyPEPVkoaO8Ab9eNPIUFBhRPapQlZ5YsQcIBrDmBb013lRdH82K6Q7Avp3x5liFwjQT96p5CIikl6MlJScZ6SK1dnqAEEPuBvz7vCKSsVaIxTeZhnpiX44cp87VGOR1Sqlus3s3C4NbRKU/a3023vmMV6t/F9SY94sFlWPs2q6ihRTmqV5oYZScJlGgp9voQ/9XStN+4pfAE= + true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDmGsW4LjseEjF/ye2EN/w3j6dmswbvXI7N/UlAqV8aCxHeYYIjFDnuhFQSF7i1iYgTt8St/6FGkIaTA4ZefhrVVZtJw8dUEKzDkUIMfdQGu4TdlpDjQIeUSHzz1KNFwhANVNK9pm1cy5Z4P3GJd1PP+lTx/IRP+qZesTC/UCSV7EluCmoj5xg6LeC9MWksu07APIFRJySqxVi8nSbCFFHODW5QTZ/82n6iJzbSRDn7KgEQGzfFEAZgzxJE+ino+r3569kWzO/qkixm92swj97fnuOX7i0Ohe1T4Me5dFvpEifoQ3bii1vG4DQDQ7L2pvEvzQyy11Hr9dDtPHZTCzeIr62vWArq75T149ZLCNjfQh44vmbeSPAc/0KVakQOEiDjLvUkMSgDUx6DD4bQgiaEyWnZ23CZ3U1U9xag4p3Kl48tGLGHTpzplaZJQEAVogeloxE1tPLBGi7et3TskoXejHhl9BrtsnXLeNVj1ep9dqD2kxNogVSc4/Av8Wuv9oU= zhuyan@microsoft.com\n", "path": "/home/gallerytest/.ssh/authorized_keys"}]}}}}}], "outputs": {}}, "parameters": {}, "mode": "incremental"}}' headers: @@ -1297,23 +1037,23 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Resources/deployments/vm_deploy_nm4fnxYYga5Viagz003WH9YnfJKKQ78N","name":"vm_deploy_nm4fnxYYga5Viagz003WH9YnfJKKQ78N","type":"Microsoft.Resources/deployments","properties":{"templateHash":"6874925545483581742","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-04-11T05:21:12.0923952Z","duration":"PT0.0005387S","correlationId":"78549c16-772d-4241-be09-b5518d4c4e6e","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["centraluseuap"]},{"resourceType":"networkSecurityGroups","locations":["centraluseuap"]},{"resourceType":"publicIPAddresses","locations":["centraluseuap"]},{"resourceType":"networkInterfaces","locations":["centraluseuap"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["centraluseuap"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm000002VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm000002PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/virtualMachines/vm000002","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm000002"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Resources/deployments/vm_deploy_TvilJew7yRTbIcDNCQDfZCR7rjRGru01","name":"vm_deploy_TvilJew7yRTbIcDNCQDfZCR7rjRGru01","type":"Microsoft.Resources/deployments","properties":{"templateHash":"10640183395120438239","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-07-20T08:46:40.9849246Z","duration":"PT0.0004383S","correlationId":"1908faec-b73d-49b5-a466-1249b79e9a00","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["centraluseuap"]},{"resourceType":"networkSecurityGroups","locations":["centraluseuap"]},{"resourceType":"publicIPAddresses","locations":["centraluseuap"]},{"resourceType":"networkInterfaces","locations":["centraluseuap"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["centraluseuap"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm000002VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm000002PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/virtualMachines/vm000002","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm000002"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Resources/deployments/vm_deploy_nm4fnxYYga5Viagz003WH9YnfJKKQ78N/operationStatuses/08585204164180385797?api-version=2022-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Resources/deployments/vm_deploy_TvilJew7yRTbIcDNCQDfZCR7rjRGru01/operationStatuses/08585117640881684861?api-version=2022-09-01 cache-control: - no-cache content-length: - - '2620' + - '2621' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:21:13 GMT + - Thu, 20 Jul 2023 08:46:42 GMT expires: - '-1' pragma: @@ -1341,9 +1081,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585204164180385797?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585117640881684861?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -1355,7 +1095,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:21:43 GMT + - Thu, 20 Jul 2023 08:46:42 GMT expires: - '-1' pragma: @@ -1383,9 +1123,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585204164180385797?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585117640881684861?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -1397,7 +1137,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:22:14 GMT + - Thu, 20 Jul 2023 08:47:13 GMT expires: - '-1' pragma: @@ -1425,9 +1165,51 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585204164180385797?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585117640881684861?api-version=2022-09-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 08:47:43 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.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585117640881684861?api-version=2022-09-01 response: body: string: '{"status":"Succeeded"}' @@ -1439,7 +1221,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:22:45 GMT + - Thu, 20 Jul 2023 08:48:14 GMT expires: - '-1' pragma: @@ -1467,21 +1249,21 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Resources/deployments/vm_deploy_nm4fnxYYga5Viagz003WH9YnfJKKQ78N","name":"vm_deploy_nm4fnxYYga5Viagz003WH9YnfJKKQ78N","type":"Microsoft.Resources/deployments","properties":{"templateHash":"6874925545483581742","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-04-11T05:22:18.5414533Z","duration":"PT1M6.4495968S","correlationId":"78549c16-772d-4241-be09-b5518d4c4e6e","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["centraluseuap"]},{"resourceType":"networkSecurityGroups","locations":["centraluseuap"]},{"resourceType":"publicIPAddresses","locations":["centraluseuap"]},{"resourceType":"networkInterfaces","locations":["centraluseuap"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["centraluseuap"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm000002VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm000002PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/virtualMachines/vm000002","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm000002"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/virtualMachines/vm000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Resources/deployments/vm_deploy_TvilJew7yRTbIcDNCQDfZCR7rjRGru01","name":"vm_deploy_TvilJew7yRTbIcDNCQDfZCR7rjRGru01","type":"Microsoft.Resources/deployments","properties":{"templateHash":"10640183395120438239","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-07-20T08:47:56.3725087Z","duration":"PT1M15.3880224S","correlationId":"1908faec-b73d-49b5-a466-1249b79e9a00","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["centraluseuap"]},{"resourceType":"networkSecurityGroups","locations":["centraluseuap"]},{"resourceType":"publicIPAddresses","locations":["centraluseuap"]},{"resourceType":"networkInterfaces","locations":["centraluseuap"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["centraluseuap"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm000002VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm000002PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/virtualMachines/vm000002","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm000002"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/virtualMachines/vm000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET"}]}}' headers: cache-control: - no-cache content-length: - - '3556' + - '3558' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:22:45 GMT + - Thu, 20 Jul 2023 08:48:15 GMT expires: - '-1' pragma: @@ -1509,30 +1291,30 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/virtualMachines/vm000002?$expand=instanceView&api-version=2022-11-01 response: body: string: "{\r\n \"name\": \"vm000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/virtualMachines/vm000002\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"centraluseuap\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"ee16c26a-e9fa-4e40-a928-b6b6a7cce255\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"fe542d03-28b2-4a85-af47-a55af50ac931\",\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.202303280\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm000002_disk1_53b41aa7aa7d43888370003567eba279\",\r\n + \"18.04.202306070\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": + \"Linux\",\r\n \"name\": \"vm000002_disk1_67d30e6c2f6f49b68bd8080dca1b5ac8\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/disks/vm000002_disk1_53b41aa7aa7d43888370003567eba279\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/disks/vm000002_disk1_67d30e6c2f6f49b68bd8080dca1b5ac8\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm000002\",\r\n \"adminUsername\": \"gallerytest\",\r\n \ \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \ \"path\": \"/home/gallerytest/.ssh/authorized_keys\",\r\n \"keyData\": - \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDLq1sEri2RcnDg8tjo775iZUd5HVjAdQjSgky6ciJgrvPNUxZv9D65dL9GLllmDhq4Xv6SxbppUJhG0vl/VgaRRPyWRrHXgZRBl0c+H0A2X0Y7L/9sir1ezs2xv89+T03Y+KQYGyZa4xuxwlfdsl6YHjHGW97ONxyDfQesFkSdwyRI0RsnV0/GB8mRF32tgSwxqT8cpXjzjz7w4usgT52knfpyslFfZGRfTjamae/sZeezBTSfsvgryEMxxxXBvXC8/iiTxRG9cQxURK6t1VCeT6F7OmJhY2G+sPCXbkEyOjkfT18y/iUSyPEPVkoaO8Ab9eNPIUFBhRPapQlZ5YsQcIBrDmBb013lRdH82K6Q7Avp3x5liFwjQT96p5CIikl6MlJScZ6SK1dnqAEEPuBvz7vCKSsVaIxTeZhnpiX44cp87VGOR1Sqlus3s3C4NbRKU/a3023vmMV6t/F9SY94sFlWPs2q6ihRTmqV5oYZScJlGgp9voQ/9XStN+4pfAE= + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDmGsW4LjseEjF/ye2EN/w3j6dmswbvXI7N/UlAqV8aCxHeYYIjFDnuhFQSF7i1iYgTt8St/6FGkIaTA4ZefhrVVZtJw8dUEKzDkUIMfdQGu4TdlpDjQIeUSHzz1KNFwhANVNK9pm1cy5Z4P3GJd1PP+lTx/IRP+qZesTC/UCSV7EluCmoj5xg6LeC9MWksu07APIFRJySqxVi8nSbCFFHODW5QTZ/82n6iJzbSRDn7KgEQGzfFEAZgzxJE+ino+r3569kWzO/qkixm92swj97fnuOX7i0Ohe1T4Me5dFvpEifoQ3bii1vG4DQDQ7L2pvEvzQyy11Hr9dDtPHZTCzeIr62vWArq75T149ZLCNjfQh44vmbeSPAc/0KVakQOEiDjLvUkMSgDUx6DD4bQgiaEyWnZ23CZ3U1U9xag4p3Kl48tGLGHTpzplaZJQEAVogeloxE1tPLBGi7et3TskoXejHhl9BrtsnXLeNVj1ep9dqD2kxNogVSc4/Av8Wuv9oU= zhuyan@microsoft.com\\n\"\r\n }\r\n ]\r\n },\r\n \ \"provisionVMAgent\": true,\r\n \"patchSettings\": {\r\n \"patchMode\": \"ImageDefault\",\r\n \"assessmentMode\": \"ImageDefault\"\r\n },\r\n @@ -1541,32 +1323,32 @@ interactions: true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic\"}]},\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": \"vm000002\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": \"18.04\",\r\n - \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.9.0.4\",\r\n \"statuses\": + \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.9.1.1\",\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\": - \"2023-04-11T05:22:22+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm000002_disk1_53b41aa7aa7d43888370003567eba279\",\r\n + \"2023-07-20T08:48:05+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm000002_disk1_67d30e6c2f6f49b68bd8080dca1b5ac8\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2023-04-11T05:21:50.478435+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-20T08:47:37.5334491+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\": \"2023-04-11T05:22:10.8847284+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-20T08:47:50.439822+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n - \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2023-04-11T05:21:47.556548+00:00\"\r\n + \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2023-07-20T08:47:14.4239335+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '4159' + - '4160' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:22:47 GMT + - Thu, 20 Jul 2023 08:48:16 GMT expires: - '-1' pragma: @@ -1583,10 +1365,10 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31997 + - Microsoft.Compute/LowCostGetSubscriptionMaximum;9997,Microsoft.Compute/LowCostGetResource;9 status: code: 200 - message: OK + message: '' - request: body: null headers: @@ -1601,18 +1383,18 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.47.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic?api-version=2022-01-01 response: body: string: "{\r\n \"name\": \"vm000002VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic\",\r\n - \ \"etag\": \"W/\\\"20e90338-f30e-4a45-8382-7db12082ff72\\\"\",\r\n \"tags\": + \ \"etag\": \"W/\\\"97f8a1c2-63d7-4849-9027-c29f12371dea\\\"\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"7b0bf511-d4f7-48c1-bb68-111996aec058\",\r\n \"ipConfigurations\": + \ \"resourceGuid\": \"4b0435df-25d9-4eb3-bbf7-bbe4473d76b7\",\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic/ipConfigurations/ipconfigvm000002\",\r\n - \ \"etag\": \"W/\\\"20e90338-f30e-4a45-8382-7db12082ff72\\\"\",\r\n + \ \"etag\": \"W/\\\"97f8a1c2-63d7-4849-9027-c29f12371dea\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -1621,8 +1403,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\": - \"qbwbjoxchh5evm4m4gdkn5ougf.cdmx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-22-48-02-48-13\",\r\n \"vnetEncryptionSupported\": false,\r\n \"enableIPForwarding\": + \"4bqtjwir1hmetdewsozegvhd2b.cdmx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"60-45-BD-75-70-4D\",\r\n \"vnetEncryptionSupported\": false,\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/virtualMachines/vm000002\"\r\n @@ -1638,9 +1420,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:22:49 GMT + - Thu, 20 Jul 2023 08:48:20 GMT etag: - - W/"20e90338-f30e-4a45-8382-7db12082ff72" + - W/"97f8a1c2-63d7-4849-9027-c29f12371dea" expires: - '-1' pragma: @@ -1657,7 +1439,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8fbe1a1e-b235-4389-88c7-3302a0e46976 + - 529f67ab-e3d5-4159-a8a0-fbc3901d3b67 status: code: 200 message: OK @@ -1675,16 +1457,16 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.47.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP?api-version=2022-01-01 response: body: string: "{\r\n \"name\": \"vm000002PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP\",\r\n - \ \"etag\": \"W/\\\"de325806-be16-40f2-a6ea-bfc52fce0717\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"660145d4-0a4a-421f-af49-504485b8ef32\\\"\",\r\n \"location\": \"centraluseuap\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"9e728511-75f7-47b2-9d27-d5c25c2437bf\",\r\n - \ \"ipAddress\": \"20.45.233.225\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"078abfd1-f180-488f-9761-71bf92e90cc8\",\r\n + \ \"ipAddress\": \"20.228.28.38\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic/ipConfigurations/ipconfigvm000002\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n @@ -1694,13 +1476,13 @@ interactions: cache-control: - no-cache content-length: - - '987' + - '986' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:22:52 GMT + - Thu, 20 Jul 2023 08:48:22 GMT etag: - - W/"de325806-be16-40f2-a6ea-bfc52fce0717" + - W/"660145d4-0a4a-421f-af49-504485b8ef32" expires: - '-1' pragma: @@ -1717,7 +1499,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e5c9d410-e70f-456e-85c8-76d1fa3b618d + - 4ac5534a-7aef-4f80-a902-ff34e24b08e2 status: code: 200 message: OK @@ -1737,7 +1519,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/virtualMachines/vm000002/deallocate?api-version=2022-11-01 response: @@ -1747,17 +1529,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/da2213e0-e495-4f06-b627-82bd326debba?p=2745cc42-2cf3-41b7-830c-129b79fbec46&api-version=2022-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/4f7044ea-c547-4181-9e50-bbcd6a657199?p=2745cc42-2cf3-41b7-830c-129b79fbec46&api-version=2022-11-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 11 Apr 2023 05:22:53 GMT + - Thu, 20 Jul 2023 08:48:23 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/da2213e0-e495-4f06-b627-82bd326debba?p=2745cc42-2cf3-41b7-830c-129b79fbec46&monitor=true&api-version=2022-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/4f7044ea-c547-4181-9e50-bbcd6a657199?p=2745cc42-2cf3-41b7-830c-129b79fbec46&monitor=true&api-version=2022-11-01 pragma: - no-cache server: @@ -1768,12 +1550,12 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/DeleteVM3Min;239,Microsoft.Compute/DeleteVM30Min;1199 + - Microsoft.Compute/MutatingVMSubscriptionMaximum;1199,Microsoft.Compute/DeleteVMResource;3 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: code: 202 - message: Accepted + message: '' - request: body: null headers: @@ -1788,13 +1570,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/da2213e0-e495-4f06-b627-82bd326debba?p=2745cc42-2cf3-41b7-830c-129b79fbec46&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/4f7044ea-c547-4181-9e50-bbcd6a657199?p=2745cc42-2cf3-41b7-830c-129b79fbec46&api-version=2022-11-01 response: body: - string: "{\r\n \"startTime\": \"2023-04-11T05:22:54.4940351+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"da2213e0-e495-4f06-b627-82bd326debba\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:48:24.1282686+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"4f7044ea-c547-4181-9e50-bbcd6a657199\"\r\n}" headers: cache-control: - no-cache @@ -1803,7 +1585,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:23:03 GMT + - Thu, 20 Jul 2023 08:48:24 GMT expires: - '-1' pragma: @@ -1823,7 +1605,7 @@ interactions: - Microsoft.Compute/GetOperation3Min;14998,Microsoft.Compute/GetOperation30Min;29998 status: code: 200 - message: OK + message: '' - request: body: null headers: @@ -1838,14 +1620,64 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/da2213e0-e495-4f06-b627-82bd326debba?p=2745cc42-2cf3-41b7-830c-129b79fbec46&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/4f7044ea-c547-4181-9e50-bbcd6a657199?p=2745cc42-2cf3-41b7-830c-129b79fbec46&api-version=2022-11-01 response: body: - string: "{\r\n \"startTime\": \"2023-04-11T05:22:54.4940351+00:00\",\r\n \"endTime\": - \"2023-04-11T05:23:26.0566797+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"da2213e0-e495-4f06-b627-82bd326debba\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:48:24.1282686+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"4f7044ea-c547-4181-9e50-bbcd6a657199\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 08:48: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/GetOperation3Min;14997,Microsoft.Compute/GetOperation30Min;29997 + status: + code: 200 + message: '' +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm deallocate + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/4f7044ea-c547-4181-9e50-bbcd6a657199?p=2745cc42-2cf3-41b7-830c-129b79fbec46&api-version=2022-11-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-20T08:48:24.1282686+00:00\",\r\n \"endTime\": + \"2023-07-20T08:49:04.0819077+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"4f7044ea-c547-4181-9e50-bbcd6a657199\"\r\n}" headers: cache-control: - no-cache @@ -1854,7 +1686,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:23:34 GMT + - Thu, 20 Jul 2023 08:49:24 GMT expires: - '-1' pragma: @@ -1871,10 +1703,10 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29996 + - Microsoft.Compute/GetOperation3Min;14994,Microsoft.Compute/GetOperation30Min;29994 status: code: 200 - message: OK + message: '' - request: body: null headers: @@ -1889,9 +1721,9 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/da2213e0-e495-4f06-b627-82bd326debba?p=2745cc42-2cf3-41b7-830c-129b79fbec46&monitor=true&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/4f7044ea-c547-4181-9e50-bbcd6a657199?p=2745cc42-2cf3-41b7-830c-129b79fbec46&monitor=true&api-version=2022-11-01 response: body: string: '' @@ -1901,7 +1733,7 @@ interactions: content-length: - '0' date: - - Tue, 11 Apr 2023 05:23:35 GMT + - Thu, 20 Jul 2023 08:49:25 GMT expires: - '-1' pragma: @@ -1914,10 +1746,10 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14995,Microsoft.Compute/GetOperation30Min;29995 + - Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29993 status: code: 200 - message: OK + message: '' - request: body: null headers: @@ -1934,7 +1766,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/virtualMachines/vm000002/generalize?api-version=2022-11-01 response: @@ -1946,7 +1778,7 @@ interactions: content-length: - '0' date: - - Tue, 11 Apr 2023 05:23:37 GMT + - Thu, 20 Jul 2023 08:49:28 GMT expires: - '-1' pragma: @@ -1959,12 +1791,12 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/UpdateVM3Min;239,Microsoft.Compute/UpdateVM30Min;1199 + - Microsoft.Compute/MutatingVMSubscriptionMaximum;1199,Microsoft.Compute/UpdateVMResource;3 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: code: 200 - message: OK + message: '' - request: body: null headers: @@ -1979,46 +1811,46 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/virtualMachines/vm000002?api-version=2022-11-01 response: body: string: "{\r\n \"name\": \"vm000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/virtualMachines/vm000002\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"centraluseuap\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"ee16c26a-e9fa-4e40-a928-b6b6a7cce255\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"fe542d03-28b2-4a85-af47-a55af50ac931\",\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.202303280\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm000002_disk1_53b41aa7aa7d43888370003567eba279\",\r\n + \"18.04.202306070\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": + \"Linux\",\r\n \"name\": \"vm000002_disk1_67d30e6c2f6f49b68bd8080dca1b5ac8\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n - \ \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/disks/vm000002_disk1_53b41aa7aa7d43888370003567eba279\"\r\n + \ \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/disks/vm000002_disk1_67d30e6c2f6f49b68bd8080dca1b5ac8\"\r\n \ },\r\n \"deleteOption\": \"Detach\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm000002\",\r\n \ \"adminUsername\": \"gallerytest\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/gallerytest/.ssh/authorized_keys\",\r\n \"keyData\": - \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDLq1sEri2RcnDg8tjo775iZUd5HVjAdQjSgky6ciJgrvPNUxZv9D65dL9GLllmDhq4Xv6SxbppUJhG0vl/VgaRRPyWRrHXgZRBl0c+H0A2X0Y7L/9sir1ezs2xv89+T03Y+KQYGyZa4xuxwlfdsl6YHjHGW97ONxyDfQesFkSdwyRI0RsnV0/GB8mRF32tgSwxqT8cpXjzjz7w4usgT52knfpyslFfZGRfTjamae/sZeezBTSfsvgryEMxxxXBvXC8/iiTxRG9cQxURK6t1VCeT6F7OmJhY2G+sPCXbkEyOjkfT18y/iUSyPEPVkoaO8Ab9eNPIUFBhRPapQlZ5YsQcIBrDmBb013lRdH82K6Q7Avp3x5liFwjQT96p5CIikl6MlJScZ6SK1dnqAEEPuBvz7vCKSsVaIxTeZhnpiX44cp87VGOR1Sqlus3s3C4NbRKU/a3023vmMV6t/F9SY94sFlWPs2q6ihRTmqV5oYZScJlGgp9voQ/9XStN+4pfAE= + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDmGsW4LjseEjF/ye2EN/w3j6dmswbvXI7N/UlAqV8aCxHeYYIjFDnuhFQSF7i1iYgTt8St/6FGkIaTA4ZefhrVVZtJw8dUEKzDkUIMfdQGu4TdlpDjQIeUSHzz1KNFwhANVNK9pm1cy5Z4P3GJd1PP+lTx/IRP+qZesTC/UCSV7EluCmoj5xg6LeC9MWksu07APIFRJySqxVi8nSbCFFHODW5QTZ/82n6iJzbSRDn7KgEQGzfFEAZgzxJE+ino+r3569kWzO/qkixm92swj97fnuOX7i0Ohe1T4Me5dFvpEifoQ3bii1vG4DQDQ7L2pvEvzQyy11Hr9dDtPHZTCzeIr62vWArq75T149ZLCNjfQh44vmbeSPAc/0KVakQOEiDjLvUkMSgDUx6DD4bQgiaEyWnZ23CZ3U1U9xag4p3Kl48tGLGHTpzplaZJQEAVogeloxE1tPLBGi7et3TskoXejHhl9BrtsnXLeNVj1ep9dqD2kxNogVSc4/Av8Wuv9oU= zhuyan@microsoft.com\\n\"\r\n }\r\n ]\r\n },\r\n \ \"provisionVMAgent\": true,\r\n \"patchSettings\": {\r\n \"patchMode\": \"ImageDefault\",\r\n \"assessmentMode\": \"ImageDefault\"\r\n },\r\n \ \"enableVMAgentPlatformUpdates\": false\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic\"}]},\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2023-04-11T05:21:47.556548+00:00\"\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2023-07-20T08:47:14.4239335+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '2785' + - '2786' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:23:40 GMT + - Thu, 20 Jul 2023 08:49:30 GMT expires: - '-1' pragma: @@ -2035,10 +1867,10 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31996 + - Microsoft.Compute/LowCostGetSubscriptionMaximum;9998,Microsoft.Compute/LowCostGetResource;10 status: code: 200 - message: OK + message: '' - request: body: null headers: @@ -2053,21 +1885,21 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_community_gallery_operations_000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001","name":"cli_test_community_gallery_operations_000001","type":"Microsoft.Resources/resourceGroups","location":"centraluseuap","tags":{"product":"azurecli","cause":"automation","date":"2023-04-11T05:18:39Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001","name":"cli_test_community_gallery_operations_000001","type":"Microsoft.Resources/resourceGroups","location":"centraluseuap","tags":{"product":"azurecli","cause":"automation","test":"test_community_gallery_operations","date":"2023-07-20T08:45:56Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '373' + - '430' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:23:41 GMT + - Thu, 20 Jul 2023 08:49:30 GMT expires: - '-1' pragma: @@ -2101,7 +1933,7 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/images/managedImage1?api-version=2022-11-01 response: @@ -2112,7 +1944,7 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/virtualMachines/vm000002\"\r\n \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"managedDisk\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/disks/vm000002_disk1_53b41aa7aa7d43888370003567eba279\"\r\n + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/disks/vm000002_disk1_67d30e6c2f6f49b68bd8080dca1b5ac8\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"hyperVGeneration\": \"V1\"\r\n }\r\n}" @@ -2120,7 +1952,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/f4565c9c-76cd-4fb1-b95f-11d4fab05311?p=2745cc42-2cf3-41b7-830c-129b79fbec46&api-version=2022-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/0c27ee28-6ba6-414f-8b1a-a91e5cbf201e?p=2745cc42-2cf3-41b7-830c-129b79fbec46&api-version=2022-11-01 cache-control: - no-cache content-length: @@ -2128,7 +1960,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:23:45 GMT + - Thu, 20 Jul 2023 08:49:36 GMT expires: - '-1' pragma: @@ -2146,7 +1978,7 @@ interactions: - '1199' status: code: 201 - message: Created + message: '' - request: body: null headers: @@ -2161,14 +1993,64 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/f4565c9c-76cd-4fb1-b95f-11d4fab05311?p=2745cc42-2cf3-41b7-830c-129b79fbec46&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/0c27ee28-6ba6-414f-8b1a-a91e5cbf201e?p=2745cc42-2cf3-41b7-830c-129b79fbec46&api-version=2022-11-01 response: body: - string: "{\r\n \"startTime\": \"2023-04-11T05:23:45.6348567+00:00\",\r\n \"endTime\": - \"2023-04-11T05:23:50.7911529+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"f4565c9c-76cd-4fb1-b95f-11d4fab05311\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:49:35.4571211+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"0c27ee28-6ba6-414f-8b1a-a91e5cbf201e\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 08:49:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14992,Microsoft.Compute/GetOperation30Min;29992 + status: + code: 200 + message: '' +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - image create + Connection: + - keep-alive + ParameterSetName: + - -g -n --source + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/operations/0c27ee28-6ba6-414f-8b1a-a91e5cbf201e?p=2745cc42-2cf3-41b7-830c-129b79fbec46&api-version=2022-11-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-20T08:49:35.4571211+00:00\",\r\n \"endTime\": + \"2023-07-20T08:49:40.7696606+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"0c27ee28-6ba6-414f-8b1a-a91e5cbf201e\"\r\n}" headers: cache-control: - no-cache @@ -2177,7 +2059,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:24:16 GMT + - Thu, 20 Jul 2023 08:50:06 GMT expires: - '-1' pragma: @@ -2194,10 +2076,10 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29993 + - Microsoft.Compute/GetOperation3Min;14991,Microsoft.Compute/GetOperation30Min;29991 status: code: 200 - message: OK + message: '' - request: body: null headers: @@ -2212,7 +2094,7 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/images/managedImage1?api-version=2022-11-01 response: @@ -2223,7 +2105,7 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/virtualMachines/vm000002\"\r\n \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": - 30,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/disks/vm000002_disk1_53b41aa7aa7d43888370003567eba279\"\r\n + 30,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/disks/vm000002_disk1_67d30e6c2f6f49b68bd8080dca1b5ac8\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"hyperVGeneration\": \"V1\"\r\n }\r\n}" @@ -2235,7 +2117,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:24:17 GMT + - Thu, 20 Jul 2023 08:50:07 GMT expires: - '-1' pragma: @@ -2255,7 +2137,7 @@ interactions: - Microsoft.Compute/GetImages3Min;358,Microsoft.Compute/GetImages30Min;1798 status: code: 200 - message: OK + message: '' - request: body: null headers: @@ -2271,21 +2153,21 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_community_gallery_operations_000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001","name":"cli_test_community_gallery_operations_000001","type":"Microsoft.Resources/resourceGroups","location":"centraluseuap","tags":{"product":"azurecli","cause":"automation","date":"2023-04-11T05:18:39Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001","name":"cli_test_community_gallery_operations_000001","type":"Microsoft.Resources/resourceGroups","location":"centraluseuap","tags":{"product":"azurecli","cause":"automation","test":"test_community_gallery_operations","date":"2023-07-20T08:45:56Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '373' + - '430' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:24:17 GMT + - Thu, 20 Jul 2023 08:50:08 GMT expires: - '-1' pragma: @@ -2320,7 +2202,7 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/galleries/gellery000003/images/image000004/versions/1.1.2?api-version=2022-03-03 response: @@ -2331,7 +2213,7 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"Central US EUAP\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2023-04-11T05:24:24.5103598+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2023-07-20T08:50:13.7808566+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/images/managedImage1\"\r\n \ }\r\n },\r\n \"safetyProfile\": {\r\n \"reportedForPolicyViolation\": @@ -2339,7 +2221,7 @@ interactions: \ \"provisioningState\": \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/15eb36c5-cd78-482c-8d18-fc275e80ea7d?api-version=2022-03-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/a52ae262-74aa-4cdf-83fc-ca0346f1c3d7?api-version=2022-03-03 cache-control: - no-cache content-length: @@ -2347,7 +2229,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:24:26 GMT + - Thu, 20 Jul 2023 08:50:15 GMT expires: - '-1' pragma: @@ -2362,7 +2244,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;374,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1199 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -2381,13 +2263,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/15eb36c5-cd78-482c-8d18-fc275e80ea7d?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/a52ae262-74aa-4cdf-83fc-ca0346f1c3d7?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-04-11T05:24:24.3697091+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"15eb36c5-cd78-482c-8d18-fc275e80ea7d\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:50:13.6246329+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"a52ae262-74aa-4cdf-83fc-ca0346f1c3d7\"\r\n}" headers: cache-control: - no-cache @@ -2396,7 +2278,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:25:26 GMT + - Thu, 20 Jul 2023 08:50:15 GMT expires: - '-1' pragma: @@ -2413,7 +2295,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4191 + - Microsoft.Compute/GetOperationStatus3Min;1199,Microsoft.Compute/GetOperationStatus30Min;4192 status: code: 200 message: OK @@ -2432,13 +2314,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/15eb36c5-cd78-482c-8d18-fc275e80ea7d?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/a52ae262-74aa-4cdf-83fc-ca0346f1c3d7?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-04-11T05:24:24.3697091+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"15eb36c5-cd78-482c-8d18-fc275e80ea7d\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:50:13.6246329+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"a52ae262-74aa-4cdf-83fc-ca0346f1c3d7\"\r\n}" headers: cache-control: - no-cache @@ -2447,7 +2329,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:26:28 GMT + - Thu, 20 Jul 2023 08:51:16 GMT expires: - '-1' pragma: @@ -2464,7 +2346,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1196,Microsoft.Compute/GetOperationStatus30Min;4189 + - Microsoft.Compute/GetOperationStatus3Min;1197,Microsoft.Compute/GetOperationStatus30Min;4190 status: code: 200 message: OK @@ -2483,13 +2365,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/15eb36c5-cd78-482c-8d18-fc275e80ea7d?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/a52ae262-74aa-4cdf-83fc-ca0346f1c3d7?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-04-11T05:24:24.3697091+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"15eb36c5-cd78-482c-8d18-fc275e80ea7d\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:50:13.6246329+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"a52ae262-74aa-4cdf-83fc-ca0346f1c3d7\"\r\n}" headers: cache-control: - no-cache @@ -2498,7 +2380,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:27:28 GMT + - Thu, 20 Jul 2023 08:52:17 GMT expires: - '-1' pragma: @@ -2515,7 +2397,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4188 + - Microsoft.Compute/GetOperationStatus3Min;1196,Microsoft.Compute/GetOperationStatus30Min;4189 status: code: 200 message: OK @@ -2534,13 +2416,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/15eb36c5-cd78-482c-8d18-fc275e80ea7d?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/a52ae262-74aa-4cdf-83fc-ca0346f1c3d7?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-04-11T05:24:24.3697091+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"15eb36c5-cd78-482c-8d18-fc275e80ea7d\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:50:13.6246329+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"a52ae262-74aa-4cdf-83fc-ca0346f1c3d7\"\r\n}" headers: cache-control: - no-cache @@ -2549,7 +2431,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:28:29 GMT + - Thu, 20 Jul 2023 08:53:19 GMT expires: - '-1' pragma: @@ -2566,7 +2448,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4186 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4187 status: code: 200 message: OK @@ -2585,13 +2467,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/15eb36c5-cd78-482c-8d18-fc275e80ea7d?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/a52ae262-74aa-4cdf-83fc-ca0346f1c3d7?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-04-11T05:24:24.3697091+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"15eb36c5-cd78-482c-8d18-fc275e80ea7d\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:50:13.6246329+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"a52ae262-74aa-4cdf-83fc-ca0346f1c3d7\"\r\n}" headers: cache-control: - no-cache @@ -2600,7 +2482,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:29:30 GMT + - Thu, 20 Jul 2023 08:54:20 GMT expires: - '-1' pragma: @@ -2617,7 +2499,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4184 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4185 status: code: 200 message: OK @@ -2636,13 +2518,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/15eb36c5-cd78-482c-8d18-fc275e80ea7d?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/a52ae262-74aa-4cdf-83fc-ca0346f1c3d7?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-04-11T05:24:24.3697091+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"15eb36c5-cd78-482c-8d18-fc275e80ea7d\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:50:13.6246329+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"a52ae262-74aa-4cdf-83fc-ca0346f1c3d7\"\r\n}" headers: cache-control: - no-cache @@ -2651,7 +2533,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:30:31 GMT + - Thu, 20 Jul 2023 08:55:21 GMT expires: - '-1' pragma: @@ -2668,7 +2550,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4182 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4183 status: code: 200 message: OK @@ -2687,13 +2569,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/15eb36c5-cd78-482c-8d18-fc275e80ea7d?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/a52ae262-74aa-4cdf-83fc-ca0346f1c3d7?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-04-11T05:24:24.3697091+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"15eb36c5-cd78-482c-8d18-fc275e80ea7d\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:50:13.6246329+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"a52ae262-74aa-4cdf-83fc-ca0346f1c3d7\"\r\n}" headers: cache-control: - no-cache @@ -2702,7 +2584,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:31:32 GMT + - Thu, 20 Jul 2023 08:56:21 GMT expires: - '-1' pragma: @@ -2719,7 +2601,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4180 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4181 status: code: 200 message: OK @@ -2738,14 +2620,14 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/15eb36c5-cd78-482c-8d18-fc275e80ea7d?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/a52ae262-74aa-4cdf-83fc-ca0346f1c3d7?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-04-11T05:24:24.3697091+00:00\",\r\n \"endTime\": - \"2023-04-11T05:31:35.7497574+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"15eb36c5-cd78-482c-8d18-fc275e80ea7d\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:50:13.6246329+00:00\",\r\n \"endTime\": + \"2023-07-20T08:57:02.2990719+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"a52ae262-74aa-4cdf-83fc-ca0346f1c3d7\"\r\n}" headers: cache-control: - no-cache @@ -2754,7 +2636,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:32:32 GMT + - Thu, 20 Jul 2023 08:57:22 GMT expires: - '-1' pragma: @@ -2771,7 +2653,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4178 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4179 status: code: 200 message: OK @@ -2790,7 +2672,7 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/galleries/gellery000003/images/image000004/versions/1.1.2?api-version=2022-03-03 response: @@ -2801,7 +2683,7 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"Central US EUAP\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2023-04-11T05:24:24.5103598+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2023-07-20T08:50:13.7808566+00:00\",\r\n \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"storageProfile\": {\r\n \"source\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/images/managedImage1\"\r\n \ },\r\n \"osDiskImage\": {\r\n \"sizeInGB\": 30,\r\n \"hostCaching\": @@ -2816,7 +2698,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:32:34 GMT + - Thu, 20 Jul 2023 08:57:22 GMT expires: - '-1' pragma: @@ -2833,7 +2715,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImageVersion3Min;1997,Microsoft.Compute/GetGalleryImageVersion30Min;9995 + - Microsoft.Compute/GetGalleryImageVersion3Min;1999,Microsoft.Compute/GetGalleryImageVersion30Min;9997 status: code: 200 message: OK @@ -2851,7 +2733,7 @@ interactions: ParameterSetName: - --gallery-name --resource-group --select User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/galleries/gellery000003?api-version=2021-10-01&$select=Permissions response: @@ -2859,12 +2741,12 @@ interactions: string: "{\r\n \"name\": \"gellery000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/galleries/gellery000003\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"centraluseuap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYPDGJXDSCO\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYEKQWUQZ7Z\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Community\",\r\n \"communityGalleryInfo\": {\r\n \"communityGalleryEnabled\": true,\r\n \"publisherUri\": \"puburi\",\r\n \"publisherContact\": \"abc@123.com\",\r\n \"eula\": \"eula\",\r\n \"publicNamePrefix\": \"pubname\",\r\n \"publicNames\": - [\r\n \"pubname-d433cfe8-7b51-412c-b286-4a72faaff6b5\"\r\n ]\r\n + [\r\n \"pubname-3c76ad55-5655-465c-a868-4ae7f4f1e9fc\"\r\n ]\r\n \ }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: cache-control: @@ -2874,7 +2756,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:32:37 GMT + - Thu, 20 Jul 2023 08:57:25 GMT expires: - '-1' pragma: @@ -2891,7 +2773,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;349,Microsoft.Compute/GetGallery30Min;2488 + - Microsoft.Compute/GetGallery3Min;345,Microsoft.Compute/GetGallery30Min;2490 status: code: 200 message: OK @@ -2909,26 +2791,30 @@ interactions: ParameterSetName: - --location --public-gallery-name User-Agent: - - AZURECLI/2.47.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/communityGalleries/pubname-d433cfe8-7b51-412c-b286-4a72faaff6b5?api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/communityGalleries/pubname-3c76ad55-5655-465c-a868-4ae7f4f1e9fc?api-version=2022-01-03 response: body: - string: "{\r\n \"communityMetadata\": {\r\n \"publisherUri\": \"puburi\",\r\n + string: "{\r\n \"properties\": {\r\n \"communityMetadata\": {\r\n \"publisherUri\": + \"puburi\",\r\n \"publisherContact\": \"abc@123.com\",\r\n \"eula\": + \"eula\",\r\n \"publicNames\": [\r\n \"pubname-3c76ad55-5655-465c-a868-4ae7f4f1e9fc\"\r\n + \ ]\r\n },\r\n \"disclaimer\": \"https://aka.ms/community-gallery-disclaimer\"\r\n + \ },\r\n \"communityMetadata\": {\r\n \"publisherUri\": \"puburi\",\r\n \ \"publisherContact\": \"abc@123.com\",\r\n \"eula\": \"eula\",\r\n - \ \"publicNames\": [\r\n \"pubname-d433cfe8-7b51-412c-b286-4a72faaff6b5\"\r\n - \ ]\r\n },\r\n \"location\": \"CentralUSEUAP\",\r\n \"name\": \"pubname-d433cfe8-7b51-412c-b286-4a72faaff6b5\",\r\n - \ \"identifier\": {\r\n \"uniqueId\": \"/CommunityGalleries/pubname-d433cfe8-7b51-412c-b286-4a72faaff6b5\"\r\n + \ \"publicNames\": [\r\n \"pubname-3c76ad55-5655-465c-a868-4ae7f4f1e9fc\"\r\n + \ ]\r\n },\r\n \"location\": \"CentralUSEUAP\",\r\n \"name\": \"pubname-3c76ad55-5655-465c-a868-4ae7f4f1e9fc\",\r\n + \ \"identifier\": {\r\n \"uniqueId\": \"/CommunityGalleries/pubname-3c76ad55-5655-465c-a868-4ae7f4f1e9fc\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '410' + - '723' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:32:39 GMT + - Thu, 20 Jul 2023 08:57:28 GMT expires: - '-1' pragma: @@ -2968,21 +2854,21 @@ interactions: ParameterSetName: - --location User-Agent: - - python/3.9.13 (Windows-10-10.0.22621-SP0) AZURECLI/2.47.0 + - python/3.9.0 (Windows-10-10.0.19041-SP0) AZURECLI/2.50.0 method: POST uri: https://management.azure.com/providers/Microsoft.ResourceGraph/resources?api-version=2021-03-01 response: body: - string: '{"totalRecords":1,"count":1,"data":[{"id":"/providers/Microsoft.Compute/locations/CentralUSEUAP/CommunityGalleries/pubname-d433cfe8-7b51-412c-b286-4a72faaff6b5","name":"pubname-d433cfe8-7b51-412c-b286-4a72faaff6b5","type":"microsoft.compute/locations/communitygalleries","tenantId":"","kind":"","location":"centraluseuap","resourceGroup":"","subscriptionId":"","managedBy":"","sku":null,"plan":null,"properties":{"identifier":{"uniqueId":"/CommunityGalleries/pubname-d433cfe8-7b51-412c-b286-4a72faaff6b5"},"location":"CentralUSEUAP","name":"pubname-d433cfe8-7b51-412c-b286-4a72faaff6b5","communityMetadata":{"publisherContact":"abc@123.com","publisherUri":"puburi","publicNames":["pubname-d433cfe8-7b51-412c-b286-4a72faaff6b5"],"eula":"eula"}},"tags":null,"identity":null,"zones":null,"extendedLocation":null}],"facets":[],"resultTruncated":"false"}' + string: '{"totalRecords":2,"count":2,"data":[{"id":"/providers/Microsoft.Compute/locations/CentralUSEUAP/CommunityGalleries/pubname-3c76ad55-5655-465c-a868-4ae7f4f1e9fc","name":"pubname-3c76ad55-5655-465c-a868-4ae7f4f1e9fc","type":"microsoft.compute/locations/communitygalleries","tenantId":"","kind":"","location":"centraluseuap","resourceGroup":"","subscriptionId":"","managedBy":"","sku":null,"plan":null,"properties":{"identifier":{"uniqueId":"/CommunityGalleries/pubname-3c76ad55-5655-465c-a868-4ae7f4f1e9fc"},"properties":{"disclaimer":"https://aka.ms/community-gallery-disclaimer","communityMetadata":{"publisherContact":"abc@123.com","publisherUri":"puburi","publicNames":["pubname-3c76ad55-5655-465c-a868-4ae7f4f1e9fc"],"eula":"eula"}},"location":"CentralUSEUAP","name":"pubname-3c76ad55-5655-465c-a868-4ae7f4f1e9fc","communityMetadata":{"publisherContact":"abc@123.com","publisherUri":"puburi","publicNames":["pubname-3c76ad55-5655-465c-a868-4ae7f4f1e9fc"],"eula":"eula"}},"tags":null,"identity":null,"zones":null,"extendedLocation":null},{"id":"/providers/Microsoft.Compute/locations/CentralUSEUAP/CommunityGalleries/SecurityPostureGallery-14607ec9-80df-4fb9-9378-e75fe5b68456","name":"SecurityPostureGallery-14607ec9-80df-4fb9-9378-e75fe5b68456","type":"microsoft.compute/locations/communitygalleries","tenantId":"","kind":"","location":"centraluseuap","resourceGroup":"","subscriptionId":"","managedBy":"","sku":null,"plan":null,"properties":{"identifier":{"uniqueId":"/CommunityGalleries/SecurityPostureGallery-14607ec9-80df-4fb9-9378-e75fe5b68456"},"properties":{"disclaimer":"https://aka.ms/community-gallery-disclaimer","communityMetadata":{"publisherContact":"kansun@microsoft.com","publisherUri":"microsoft.com","publicNames":["SecurityPostureGallery-14607ec9-80df-4fb9-9378-e75fe5b68456"],"eula":"microsoft.com"}},"location":"CentralUSEUAP","name":"SecurityPostureGallery-14607ec9-80df-4fb9-9378-e75fe5b68456","communityMetadata":{"publisherContact":"kansun@microsoft.com","publisherUri":"microsoft.com","publicNames":["SecurityPostureGallery-14607ec9-80df-4fb9-9378-e75fe5b68456"],"eula":"microsoft.com"}},"tags":null,"identity":null,"zones":null,"extendedLocation":null}],"facets":[],"resultTruncated":"false"}' headers: cache-control: - no-cache content-length: - - '849' + - '2223' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:32:40 GMT + - Thu, 20 Jul 2023 08:57:30 GMT expires: - '-1' pragma: @@ -3000,7 +2886,7 @@ interactions: x-ms-ratelimit-remaining-tenant-resource-requests: - '14' x-ms-resource-graph-request-duration: - - '0:00:00:00.7576772' + - '0:00:00:00.9803224' x-ms-user-quota-remaining: - '14' x-ms-user-quota-resets-after: @@ -3022,26 +2908,27 @@ interactions: ParameterSetName: - --gallery-image-definition --public-gallery-name --location User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/communityGalleries/pubname-d433cfe8-7b51-412c-b286-4a72faaff6b5/images/image000004?api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/communityGalleries/pubname-3c76ad55-5655-465c-a868-4ae7f4f1e9fc/images/image000004?api-version=2022-01-03 response: body: - string: "{\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": - \"Generalized\",\r\n \"identifier\": {},\r\n \"recommended\": {},\r\n - \ \"hyperVGeneration\": \"V1\",\r\n \"architecture\": \"x64\"\r\n },\r\n - \ \"location\": \"CentralUSEUAP\",\r\n \"name\": \"image000004\",\r\n \"identifier\": - {\r\n \"uniqueId\": \"/CommunityGalleries/pubname-d433cfe8-7b51-412c-b286-4a72faaff6b5/Images/image000004\"\r\n + string: "{\r\n \"properties\": {\r\n \"disclaimer\": \"https://aka.ms/community-gallery-disclaimer\",\r\n + \ \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"recommended\": + {},\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": \"x64\",\r\n + \ \"identifier\": {\r\n \"publisher\": \"\",\r\n \"offer\": \"\",\r\n + \ \"sku\": \"\"\r\n }\r\n },\r\n \"location\": \"CentralUSEUAP\",\r\n + \ \"name\": \"image000004\",\r\n \"identifier\": {\r\n \"uniqueId\": \"/CommunityGalleries/pubname-3c76ad55-5655-465c-a868-4ae7f4f1e9fc/Images/image000004\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '374' + - '507' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:32:43 GMT + - Thu, 20 Jul 2023 08:57:32 GMT expires: - '-1' pragma: @@ -3076,27 +2963,29 @@ interactions: ParameterSetName: - --public-gallery-name --location User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/communityGalleries/pubname-d433cfe8-7b51-412c-b286-4a72faaff6b5/images?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/communityGalleries/pubname-3c76ad55-5655-465c-a868-4ae7f4f1e9fc/images?api-version=2022-03-03 response: body: - string: "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"osType\": - \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"identifier\": - {},\r\n \"recommended\": {},\r\n \"hyperVGeneration\": \"V1\",\r\n - \ \"architecture\": \"x64\"\r\n },\r\n \"location\": \"CentralUSEUAP\",\r\n - \ \"name\": \"image000004\",\r\n \"identifier\": {\r\n \"uniqueId\": - \"/CommunityGalleries/pubname-d433cfe8-7b51-412c-b286-4a72faaff6b5/Images/image000004\"\r\n + string: "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"disclaimer\": + \"https://aka.ms/community-gallery-disclaimer\",\r\n \"osType\": \"Linux\",\r\n + \ \"osState\": \"Generalized\",\r\n \"recommended\": {},\r\n + \ \"hyperVGeneration\": \"V1\",\r\n \"architecture\": \"x64\",\r\n + \ \"identifier\": {\r\n \"publisher\": \"\",\r\n \"offer\": + \"\",\r\n \"sku\": \"\"\r\n }\r\n },\r\n \"location\": + \"CentralUSEUAP\",\r\n \"name\": \"image000004\",\r\n \"identifier\": + {\r\n \"uniqueId\": \"/CommunityGalleries/pubname-3c76ad55-5655-465c-a868-4ae7f4f1e9fc/Images/image000004\"\r\n \ }\r\n }\r\n ]\r\n}" headers: cache-control: - no-cache content-length: - - '459' + - '612' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:32:46 GMT + - Thu, 20 Jul 2023 08:57:34 GMT expires: - '-1' pragma: @@ -3131,26 +3020,27 @@ interactions: ParameterSetName: - --gallery-image-definition --public-gallery-name --location --gallery-image-version User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/communityGalleries/pubname-d433cfe8-7b51-412c-b286-4a72faaff6b5/images/image000004/versions/1.1.2?api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/communityGalleries/pubname-3c76ad55-5655-465c-a868-4ae7f4f1e9fc/images/image000004/versions/1.1.2?api-version=2022-01-03 response: body: - string: "{\r\n \"properties\": {\r\n \"publishedDate\": \"2023-04-11T05:24:24.5103598+00:00\",\r\n - \ \"excludeFromLatest\": false,\r\n \"storageProfile\": {\r\n \"osDiskImage\": - {\r\n \"diskSizeGB\": 30,\r\n \"hostCaching\": \"ReadWrite\"\r\n - \ }\r\n }\r\n },\r\n \"location\": \"CentralUSEUAP\",\r\n \"name\": - \"1.1.2\",\r\n \"identifier\": {\r\n \"uniqueId\": \"/CommunityGalleries/pubname-d433cfe8-7b51-412c-b286-4a72faaff6b5/Images/image000004/Versions/1.1.2\"\r\n + string: "{\r\n \"properties\": {\r\n \"disclaimer\": \"https://aka.ms/community-gallery-disclaimer\",\r\n + \ \"publishedDate\": \"2023-07-20T08:50:13.7808566+00:00\",\r\n \"excludeFromLatest\": + false,\r\n \"storageProfile\": {\r\n \"osDiskImage\": {\r\n \"diskSizeGB\": + 30,\r\n \"hostCaching\": \"ReadWrite\"\r\n }\r\n }\r\n },\r\n + \ \"location\": \"CentralUSEUAP\",\r\n \"name\": \"1.1.2\",\r\n \"identifier\": + {\r\n \"uniqueId\": \"/CommunityGalleries/pubname-3c76ad55-5655-465c-a868-4ae7f4f1e9fc/Images/image000004/Versions/1.1.2\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '443' + - '509' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:32:48 GMT + - Thu, 20 Jul 2023 08:57:37 GMT expires: - '-1' pragma: @@ -3185,27 +3075,28 @@ interactions: ParameterSetName: - --gallery-image-definition --public-gallery-name --location User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/communityGalleries/pubname-d433cfe8-7b51-412c-b286-4a72faaff6b5/images/image000004/versions?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/communityGalleries/pubname-3c76ad55-5655-465c-a868-4ae7f4f1e9fc/images/image000004/versions?api-version=2022-03-03 response: body: - string: "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"publishedDate\": - \"2023-04-11T05:24:24.5103598+00:00\",\r\n \"excludeFromLatest\": false,\r\n + string: "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"disclaimer\": + \"https://aka.ms/community-gallery-disclaimer\",\r\n \"publishedDate\": + \"2023-07-20T08:50:13.7808566+00:00\",\r\n \"excludeFromLatest\": false,\r\n \ \"storageProfile\": {\r\n \"osDiskImage\": {\r\n \"diskSizeGB\": 30,\r\n \"hostCaching\": \"ReadWrite\"\r\n }\r\n }\r\n \ },\r\n \"location\": \"CentralUSEUAP\",\r\n \"name\": \"1.1.2\",\r\n - \ \"identifier\": {\r\n \"uniqueId\": \"/CommunityGalleries/pubname-d433cfe8-7b51-412c-b286-4a72faaff6b5/Images/image000004/Versions/1.1.2\"\r\n + \ \"identifier\": {\r\n \"uniqueId\": \"/CommunityGalleries/pubname-3c76ad55-5655-465c-a868-4ae7f4f1e9fc/Images/image000004/Versions/1.1.2\"\r\n \ }\r\n }\r\n ]\r\n}" headers: cache-control: - no-cache content-length: - - '536' + - '606' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:32:50 GMT + - Thu, 20 Jul 2023 08:57:40 GMT expires: - '-1' pragma: @@ -3244,7 +3135,7 @@ interactions: ParameterSetName: - --gallery-name -g User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/galleries/gellery000003/share?api-version=2022-03-03 response: @@ -3252,17 +3143,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/0f3070a0-fdb2-4a1f-9ed0-6dd5505471c2?api-version=2022-03-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/5d8d1f64-3820-46d0-bcf3-2ab906a1574e?api-version=2022-03-03 cache-control: - no-cache content-length: - '0' date: - - Tue, 11 Apr 2023 05:32:52 GMT + - Thu, 20 Jul 2023 08:57:43 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/0f3070a0-fdb2-4a1f-9ed0-6dd5505471c2?monitor=true&api-version=2022-03-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/5d8d1f64-3820-46d0-bcf3-2ab906a1574e?monitor=true&api-version=2022-03-03 pragma: - no-cache server: @@ -3293,14 +3184,14 @@ interactions: ParameterSetName: - --gallery-name -g User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/0f3070a0-fdb2-4a1f-9ed0-6dd5505471c2?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/5d8d1f64-3820-46d0-bcf3-2ab906a1574e?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-04-11T05:32:53.5006946+00:00\",\r\n \"endTime\": - \"2023-04-11T05:32:53.9382049+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"0f3070a0-fdb2-4a1f-9ed0-6dd5505471c2\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:57:43.9868353+00:00\",\r\n \"endTime\": + \"2023-07-20T08:57:44.3149219+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"5d8d1f64-3820-46d0-bcf3-2ab906a1574e\"\r\n}" headers: cache-control: - no-cache @@ -3309,7 +3200,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:33:23 GMT + - Thu, 20 Jul 2023 08:57:44 GMT expires: - '-1' pragma: @@ -3326,7 +3217,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4176 + - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4177 status: code: 200 message: OK @@ -3344,9 +3235,9 @@ interactions: ParameterSetName: - --gallery-name -g User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/0f3070a0-fdb2-4a1f-9ed0-6dd5505471c2?monitor=true&api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/CentralUSEUAP/capsOperations/5d8d1f64-3820-46d0-bcf3-2ab906a1574e?monitor=true&api-version=2022-03-03 response: body: string: '' @@ -3356,7 +3247,7 @@ interactions: content-length: - '0' date: - - Tue, 11 Apr 2023 05:33:23 GMT + - Thu, 20 Jul 2023 08:57:44 GMT expires: - '-1' pragma: @@ -3369,7 +3260,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4175 + - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4176 status: code: 200 message: OK @@ -3387,7 +3278,7 @@ interactions: ParameterSetName: - --gallery-name --resource-group --select User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/galleries/gellery000003?api-version=2021-10-01&$select=Permissions response: @@ -3395,7 +3286,7 @@ interactions: string: "{\r\n \"name\": \"gellery000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_community_gallery_operations_000001/providers/Microsoft.Compute/galleries/gellery000003\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"centraluseuap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYPDGJXDSCO\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYEKQWUQZ7Z\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Private\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -3406,7 +3297,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Apr 2023 05:33:26 GMT + - Thu, 20 Jul 2023 08:57:48 GMT expires: - '-1' pragma: @@ -3423,7 +3314,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;348,Microsoft.Compute/GetGallery30Min;2487 + - Microsoft.Compute/GetGallery3Min;344,Microsoft.Compute/GetGallery30Min;2489 status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_vm_with_community_gallery_image.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_vm_with_community_gallery_image.yaml index 95eb81968db..87068225a11 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_vm_with_community_gallery_image.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_vm_with_community_gallery_image.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - -g --gallery-name --permissions --publisher-uri --publisher-email --eula --public-name-prefix User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-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","test":"test_create_vm_with_community_gallery_image","date":"2023-07-11T08:59:25Z","module":"vm"},"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","test":"test_create_vm_with_community_gallery_image","date":"2023-07-25T02:53:23Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:28 GMT + - Tue, 25 Jul 2023 02:53:29 GMT expires: - '-1' pragma: @@ -61,7 +61,7 @@ interactions: ParameterSetName: - -g --gallery-name --permissions --publisher-uri --publisher-email --eula --public-name-prefix User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/gellery000005?api-version=2021-10-01 response: @@ -69,16 +69,16 @@ interactions: string: "{\r\n \"name\": \"gellery000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gellery000005\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus2\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYCNJCNLZMR\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYY5U7UBFBC\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Community\",\r\n \"communityGalleryInfo\": {\r\n \"communityGalleryEnabled\": false,\r\n \"publisherUri\": \"puburi\",\r\n \"publisherContact\": \"abc@123.com\",\r\n \"eula\": \"eula\",\r\n \"publicNamePrefix\": \"pubname\",\r\n \"publicNames\": - [\r\n \"pubname-59640251-13fc-4c30-887c-ceec2d625317\"\r\n ]\r\n + [\r\n \"pubname-32898677-8cd3-40a1-be41-7af2e5355851\"\r\n ]\r\n \ }\r\n },\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/d8f5c05a-5cac-4854-8abb-da5a25f3d6e3?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/bbcf1c8c-e240-48c2-b68d-ecffabffff6c?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -86,7 +86,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:35 GMT + - Tue, 25 Jul 2023 02:53:36 GMT expires: - '-1' pragma: @@ -101,7 +101,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGallery3Min;49,Microsoft.Compute/CreateUpdateGallery30Min;299 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -119,14 +119,14 @@ interactions: ParameterSetName: - -g --gallery-name --permissions --publisher-uri --publisher-email --eula --public-name-prefix User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/d8f5c05a-5cac-4854-8abb-da5a25f3d6e3?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/bbcf1c8c-e240-48c2-b68d-ecffabffff6c?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T08:59:34.4847395+00:00\",\r\n \"endTime\": - \"2023-07-11T08:59:35.7035105+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"d8f5c05a-5cac-4854-8abb-da5a25f3d6e3\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:53:35.2527877+00:00\",\r\n \"endTime\": + \"2023-07-25T02:53:35.6903145+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"bbcf1c8c-e240-48c2-b68d-ecffabffff6c\"\r\n}" headers: cache-control: - no-cache @@ -135,7 +135,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:35 GMT + - Tue, 25 Jul 2023 02:53:36 GMT expires: - '-1' pragma: @@ -170,7 +170,7 @@ interactions: ParameterSetName: - -g --gallery-name --permissions --publisher-uri --publisher-email --eula --public-name-prefix User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/gellery000005?api-version=2021-10-01 response: @@ -178,12 +178,12 @@ interactions: string: "{\r\n \"name\": \"gellery000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gellery000005\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus2\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYCNJCNLZMR\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYY5U7UBFBC\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Community\",\r\n \"communityGalleryInfo\": {\r\n \"communityGalleryEnabled\": false,\r\n \"publisherUri\": \"puburi\",\r\n \"publisherContact\": \"abc@123.com\",\r\n \"eula\": \"eula\",\r\n \"publicNamePrefix\": \"pubname\",\r\n \"publicNames\": - [\r\n \"pubname-59640251-13fc-4c30-887c-ceec2d625317\"\r\n ]\r\n + [\r\n \"pubname-32898677-8cd3-40a1-be41-7af2e5355851\"\r\n ]\r\n \ }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: cache-control: @@ -193,7 +193,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:36 GMT + - Tue, 25 Jul 2023 02:53:37 GMT expires: - '-1' pragma: @@ -210,7 +210,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;348,Microsoft.Compute/GetGallery30Min;2498 + - Microsoft.Compute/GetGallery3Min;349,Microsoft.Compute/GetGallery30Min;2499 status: code: 200 message: OK @@ -232,7 +232,7 @@ interactions: ParameterSetName: - -r -g User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/galleries/gellery000005/share?api-version=2022-03-03 response: @@ -240,17 +240,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/9d61fd19-1ddf-4f08-8881-b3e7aa62deb3?api-version=2022-03-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/d587e1be-beaf-4123-9d0e-698922360e09?api-version=2022-03-03 cache-control: - no-cache content-length: - '0' date: - - Tue, 11 Jul 2023 08:59:39 GMT + - Tue, 25 Jul 2023 02:53:40 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/9d61fd19-1ddf-4f08-8881-b3e7aa62deb3?monitor=true&api-version=2022-03-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/d587e1be-beaf-4123-9d0e-698922360e09?monitor=true&api-version=2022-03-03 pragma: - no-cache server: @@ -281,23 +281,23 @@ interactions: ParameterSetName: - -r -g User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/9d61fd19-1ddf-4f08-8881-b3e7aa62deb3?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/d587e1be-beaf-4123-9d0e-698922360e09?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T08:59:39.5473735+00:00\",\r\n \"endTime\": - \"2023-07-11T08:59:39.7973337+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"9d61fd19-1ddf-4f08-8881-b3e7aa62deb3\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:53:40.1434678+00:00\",\r\n \"endTime\": + \"2023-07-25T02:53:40.393474+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"d587e1be-beaf-4123-9d0e-698922360e09\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '183' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:39 GMT + - Tue, 25 Jul 2023 02:53:40 GMT expires: - '-1' pragma: @@ -332,9 +332,9 @@ interactions: ParameterSetName: - -r -g User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/9d61fd19-1ddf-4f08-8881-b3e7aa62deb3?monitor=true&api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/d587e1be-beaf-4123-9d0e-698922360e09?monitor=true&api-version=2022-03-03 response: body: string: '' @@ -344,7 +344,7 @@ interactions: content-length: - '0' date: - - Tue, 11 Jul 2023 08:59:39 GMT + - Tue, 25 Jul 2023 02:53:40 GMT expires: - '-1' pragma: @@ -375,12 +375,12 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-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","test":"test_create_vm_with_community_gallery_image","date":"2023-07-11T08:59:25Z","module":"vm"},"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","test":"test_create_vm_with_community_gallery_image","date":"2023-07-25T02:53:23Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -389,7 +389,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:41 GMT + - Tue, 25 Jul 2023 02:53:41 GMT expires: - '-1' pragma: @@ -423,7 +423,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/gellery000005/images/image000006?api-version=2021-10-01 response: @@ -437,7 +437,7 @@ interactions: \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/afcb6e1c-74b2-4d49-97d1-b60ea3d94b92?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/386bc877-4ea2-4420-bdd1-16bf7cc24d4d?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -445,7 +445,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:47 GMT + - Tue, 25 Jul 2023 02:53:47 GMT expires: - '-1' pragma: @@ -460,7 +460,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGalleryImage3Min;149,Microsoft.Compute/CreateUpdateGalleryImage30Min;749 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -478,23 +478,23 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/afcb6e1c-74b2-4d49-97d1-b60ea3d94b92?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/386bc877-4ea2-4420-bdd1-16bf7cc24d4d?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T08:59:46.2350344+00:00\",\r\n \"endTime\": - \"2023-07-11T08:59:46.438065+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"afcb6e1c-74b2-4d49-97d1-b60ea3d94b92\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:53:47.5654869+00:00\",\r\n \"endTime\": + \"2023-07-25T02:53:47.6748663+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"386bc877-4ea2-4420-bdd1-16bf7cc24d4d\"\r\n}" headers: cache-control: - no-cache content-length: - - '183' + - '184' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:48 GMT + - Tue, 25 Jul 2023 02:53:48 GMT expires: - '-1' pragma: @@ -504,6 +504,10 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: @@ -525,7 +529,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/gellery000005/images/image000006?api-version=2021-10-01 response: @@ -545,7 +549,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:49 GMT + - Tue, 25 Jul 2023 02:53:48 GMT expires: - '-1' pragma: @@ -555,10 +559,14 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImage3Min;598,Microsoft.Compute/GetGalleryImage30Min;2998 + - Microsoft.Compute/GetGalleryImage3Min;599,Microsoft.Compute/GetGalleryImage30Min;2999 status: code: 200 message: OK @@ -576,12 +584,12 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-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","test":"test_create_vm_with_community_gallery_image","date":"2023-07-11T08:59:25Z","module":"vm"},"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","test":"test_create_vm_with_community_gallery_image","date":"2023-07-25T02:53:23Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -590,7 +598,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:50 GMT + - Tue, 25 Jul 2023 02:53:50 GMT expires: - '-1' pragma: @@ -618,7 +626,7 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 response: @@ -634,7 +642,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:52 GMT + - Tue, 25 Jul 2023 02:53:51 GMT expires: - '-1' pragma: @@ -669,7 +677,7 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202306070?api-version=2022-11-01 response: @@ -695,7 +703,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:53 GMT + - Tue, 25 Jul 2023 02:53:54 GMT expires: - '-1' pragma: @@ -730,7 +738,7 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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=2022-01-01 response: @@ -744,7 +752,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:54 GMT + - Tue, 25 Jul 2023 02:53:56 GMT expires: - '-1' pragma: @@ -772,7 +780,7 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 response: @@ -788,7 +796,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:56 GMT + - Tue, 25 Jul 2023 02:53:57 GMT expires: - '-1' pragma: @@ -823,7 +831,7 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202306070?api-version=2022-11-01 response: @@ -849,7 +857,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:57 GMT + - Tue, 25 Jul 2023 02:53:59 GMT expires: - '-1' pragma: @@ -884,7 +892,7 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 response: @@ -900,7 +908,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:00:00 GMT + - Tue, 25 Jul 2023 02:54:01 GMT expires: - '-1' pragma: @@ -935,7 +943,7 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202306070?api-version=2022-11-01 response: @@ -961,7 +969,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:00:03 GMT + - Tue, 25 Jul 2023 02:54:02 GMT expires: - '-1' pragma: @@ -1009,7 +1017,7 @@ interactions: null}}, "imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", "sku": "18.04-LTS", "version": "latest"}}, "osProfile": {"computerName": "vm000002", "adminUsername": "gallerytest", "linuxConfiguration": {"disablePasswordAuthentication": - true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDLq1sEri2RcnDg8tjo775iZUd5HVjAdQjSgky6ciJgrvPNUxZv9D65dL9GLllmDhq4Xv6SxbppUJhG0vl/VgaRRPyWRrHXgZRBl0c+H0A2X0Y7L/9sir1ezs2xv89+T03Y+KQYGyZa4xuxwlfdsl6YHjHGW97ONxyDfQesFkSdwyRI0RsnV0/GB8mRF32tgSwxqT8cpXjzjz7w4usgT52knfpyslFfZGRfTjamae/sZeezBTSfsvgryEMxxxXBvXC8/iiTxRG9cQxURK6t1VCeT6F7OmJhY2G+sPCXbkEyOjkfT18y/iUSyPEPVkoaO8Ab9eNPIUFBhRPapQlZ5YsQcIBrDmBb013lRdH82K6Q7Avp3x5liFwjQT96p5CIikl6MlJScZ6SK1dnqAEEPuBvz7vCKSsVaIxTeZhnpiX44cp87VGOR1Sqlus3s3C4NbRKU/a3023vmMV6t/F9SY94sFlWPs2q6ihRTmqV5oYZScJlGgp9voQ/9XStN+4pfAE= + true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDmGsW4LjseEjF/ye2EN/w3j6dmswbvXI7N/UlAqV8aCxHeYYIjFDnuhFQSF7i1iYgTt8St/6FGkIaTA4ZefhrVVZtJw8dUEKzDkUIMfdQGu4TdlpDjQIeUSHzz1KNFwhANVNK9pm1cy5Z4P3GJd1PP+lTx/IRP+qZesTC/UCSV7EluCmoj5xg6LeC9MWksu07APIFRJySqxVi8nSbCFFHODW5QTZ/82n6iJzbSRDn7KgEQGzfFEAZgzxJE+ino+r3569kWzO/qkixm92swj97fnuOX7i0Ohe1T4Me5dFvpEifoQ3bii1vG4DQDQ7L2pvEvzQyy11Hr9dDtPHZTCzeIr62vWArq75T149ZLCNjfQh44vmbeSPAc/0KVakQOEiDjLvUkMSgDUx6DD4bQgiaEyWnZ23CZ3U1U9xag4p3Kl48tGLGHTpzplaZJQEAVogeloxE1tPLBGi7et3TskoXejHhl9BrtsnXLeNVj1ep9dqD2kxNogVSc4/Av8Wuv9oU= zhuyan@microsoft.com\n", "path": "/home/gallerytest/.ssh/authorized_keys"}]}}}}}], "outputs": {}}, "parameters": {}, "mode": "incremental"}}' headers: @@ -1028,15 +1036,15 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_tXUBXpz1sHWXKzhFAjogCIRC22ZXaQ8k","name":"vm_deploy_tXUBXpz1sHWXKzhFAjogCIRC22ZXaQ8k","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16674208292679883829","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-07-11T09:00:11.2111052Z","duration":"PT0.0007143S","correlationId":"56feaf68-0e1b-441b-bf61-f2571be61b02","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/vm000002VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm000002VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm000002PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm000002"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_ESwE5IAWvhGiN3BvYCBiMb5T0iZZKoWL","name":"vm_deploy_ESwE5IAWvhGiN3BvYCBiMb5T0iZZKoWL","type":"Microsoft.Resources/deployments","properties":{"templateHash":"11432854231273743437","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-07-25T02:54:10.3225894Z","duration":"PT0.0001114S","correlationId":"3ac77fda-85fd-4537-b88e-99068e6a2f51","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/vm000002VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm000002VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm000002PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm000002"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_tXUBXpz1sHWXKzhFAjogCIRC22ZXaQ8k/operationStatuses/08585125408780310320?api-version=2022-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_ESwE5IAWvhGiN3BvYCBiMb5T0iZZKoWL/operationStatuses/08585113532381684182?api-version=2022-09-01 cache-control: - no-cache content-length: @@ -1044,7 +1052,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:00:12 GMT + - Tue, 25 Jul 2023 02:54:10 GMT expires: - '-1' pragma: @@ -1054,7 +1062,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -1072,9 +1080,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585125408780310320?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585113532381684182?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -1086,7 +1094,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:00:12 GMT + - Tue, 25 Jul 2023 02:54:11 GMT expires: - '-1' pragma: @@ -1114,9 +1122,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585125408780310320?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585113532381684182?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -1128,7 +1136,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:00:43 GMT + - Tue, 25 Jul 2023 02:54:42 GMT expires: - '-1' pragma: @@ -1156,51 +1164,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585125408780310320?api-version=2022-09-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 11 Jul 2023 09:01: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 --admin-username --generate-ssh-keys --nsg-rule - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585125408780310320?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585113532381684182?api-version=2022-09-01 response: body: string: '{"status":"Succeeded"}' @@ -1212,7 +1178,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:01:44 GMT + - Tue, 25 Jul 2023 02:55:17 GMT expires: - '-1' pragma: @@ -1240,21 +1206,21 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_tXUBXpz1sHWXKzhFAjogCIRC22ZXaQ8k","name":"vm_deploy_tXUBXpz1sHWXKzhFAjogCIRC22ZXaQ8k","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16674208292679883829","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-07-11T09:01:27.8698929Z","duration":"PT1M16.659502S","correlationId":"56feaf68-0e1b-441b-bf61-f2571be61b02","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/vm000002VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm000002VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm000002PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm000002"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_ESwE5IAWvhGiN3BvYCBiMb5T0iZZKoWL","name":"vm_deploy_ESwE5IAWvhGiN3BvYCBiMb5T0iZZKoWL","type":"Microsoft.Resources/deployments","properties":{"templateHash":"11432854231273743437","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-07-25T02:55:05.1535479Z","duration":"PT54.8310699S","correlationId":"3ac77fda-85fd-4537-b88e-99068e6a2f51","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/vm000002VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm000002VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm000002PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm000002"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET"}]}}' headers: cache-control: - no-cache content-length: - - '3191' + - '3190' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:01:45 GMT + - Tue, 25 Jul 2023 02:55:18 GMT expires: - '-1' pragma: @@ -1282,30 +1248,30 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/vm000002?$expand=instanceView&api-version=2022-11-01 response: body: string: "{\r\n \"name\": \"vm000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus2\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"b30a477c-44b9-4089-b473-23753155641a\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"45b20a11-0ce2-45aa-8f80-36229468ce1a\",\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.202306070\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm000002_OsDisk_1_0c34a07cfe1b479ab2dbe13fb6cc9c52\",\r\n + \"Linux\",\r\n \"name\": \"vm000002_disk1_11b4acd775ef4c43bf83bd34bd96db06\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_OsDisk_1_0c34a07cfe1b479ab2dbe13fb6cc9c52\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk1_11b4acd775ef4c43bf83bd34bd96db06\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm000002\",\r\n \"adminUsername\": \"gallerytest\",\r\n \ \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \ \"path\": \"/home/gallerytest/.ssh/authorized_keys\",\r\n \"keyData\": - \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDLq1sEri2RcnDg8tjo775iZUd5HVjAdQjSgky6ciJgrvPNUxZv9D65dL9GLllmDhq4Xv6SxbppUJhG0vl/VgaRRPyWRrHXgZRBl0c+H0A2X0Y7L/9sir1ezs2xv89+T03Y+KQYGyZa4xuxwlfdsl6YHjHGW97ONxyDfQesFkSdwyRI0RsnV0/GB8mRF32tgSwxqT8cpXjzjz7w4usgT52knfpyslFfZGRfTjamae/sZeezBTSfsvgryEMxxxXBvXC8/iiTxRG9cQxURK6t1VCeT6F7OmJhY2G+sPCXbkEyOjkfT18y/iUSyPEPVkoaO8Ab9eNPIUFBhRPapQlZ5YsQcIBrDmBb013lRdH82K6Q7Avp3x5liFwjQT96p5CIikl6MlJScZ6SK1dnqAEEPuBvz7vCKSsVaIxTeZhnpiX44cp87VGOR1Sqlus3s3C4NbRKU/a3023vmMV6t/F9SY94sFlWPs2q6ihRTmqV5oYZScJlGgp9voQ/9XStN+4pfAE= + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDmGsW4LjseEjF/ye2EN/w3j6dmswbvXI7N/UlAqV8aCxHeYYIjFDnuhFQSF7i1iYgTt8St/6FGkIaTA4ZefhrVVZtJw8dUEKzDkUIMfdQGu4TdlpDjQIeUSHzz1KNFwhANVNK9pm1cy5Z4P3GJd1PP+lTx/IRP+qZesTC/UCSV7EluCmoj5xg6LeC9MWksu07APIFRJySqxVi8nSbCFFHODW5QTZ/82n6iJzbSRDn7KgEQGzfFEAZgzxJE+ino+r3569kWzO/qkixm92swj97fnuOX7i0Ohe1T4Me5dFvpEifoQ3bii1vG4DQDQ7L2pvEvzQyy11Hr9dDtPHZTCzeIr62vWArq75T149ZLCNjfQh44vmbeSPAc/0KVakQOEiDjLvUkMSgDUx6DD4bQgiaEyWnZ23CZ3U1U9xag4p3Kl48tGLGHTpzplaZJQEAVogeloxE1tPLBGi7et3TskoXejHhl9BrtsnXLeNVj1ep9dqD2kxNogVSc4/Av8Wuv9oU= zhuyan@microsoft.com\\n\"\r\n }\r\n ]\r\n },\r\n \ \"provisionVMAgent\": true,\r\n \"patchSettings\": {\r\n \"patchMode\": \"ImageDefault\",\r\n \"assessmentMode\": \"ImageDefault\"\r\n },\r\n @@ -1318,28 +1284,28 @@ interactions: [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2023-07-11T09:01:35+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm000002_OsDisk_1_0c34a07cfe1b479ab2dbe13fb6cc9c52\",\r\n + \"2023-07-25T02:55:12+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm000002_disk1_11b4acd775ef4c43bf83bd34bd96db06\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2023-07-11T09:01:01.7164984+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-25T02:54:31.8824845+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\": \"2023-07-11T09:01:24.8258445+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-25T02:55:02.5862189+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n - \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2023-07-11T09:00:33.3884089+00:00\"\r\n + \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2023-07-25T02:54:29.2417263+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '4080' + - '4071' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:01:47 GMT + - Tue, 25 Jul 2023 02:55:20 GMT expires: - '-1' pragma: @@ -1374,18 +1340,18 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/vm000002VMNic?api-version=2022-01-01 response: body: string: "{\r\n \"name\": \"vm000002VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic\",\r\n - \ \"etag\": \"W/\\\"2de5ad5e-0438-4903-aa04-1cef66ae89a7\\\"\",\r\n \"tags\": + \ \"etag\": \"W/\\\"010c1883-0c97-420f-b7c5-3cafa3cdd1bf\\\"\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"5e295910-0bcb-4c4e-930c-9fc5d6ebe8a0\",\r\n \"ipConfigurations\": + \ \"resourceGuid\": \"4ec7e53c-4328-446d-9eb3-cd31cc7fbaf7\",\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic/ipConfigurations/ipconfigvm000002\",\r\n - \ \"etag\": \"W/\\\"2de5ad5e-0438-4903-aa04-1cef66ae89a7\\\"\",\r\n + \ \"etag\": \"W/\\\"010c1883-0c97-420f-b7c5-3cafa3cdd1bf\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -1394,8 +1360,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\": - \"i2ikjkvqejyuhpvjjazujgfevc.cx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"60-45-BD-AF-E1-FF\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \"zgjyafe1rqqubl1mdbfqm3hrhe.cx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-22-48-53-16-41\",\r\n \"enableAcceleratedNetworking\": false,\r\n \ \"vnetEncryptionSupported\": false,\r\n \"enableIPForwarding\": false,\r\n \ \"networkSecurityGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": @@ -1412,9 +1378,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:01:49 GMT + - Tue, 25 Jul 2023 02:55:23 GMT etag: - - W/"2de5ad5e-0438-4903-aa04-1cef66ae89a7" + - W/"010c1883-0c97-420f-b7c5-3cafa3cdd1bf" expires: - '-1' pragma: @@ -1431,10 +1397,10 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a2d08297-d7f3-48ba-bf37-8bf6062f5014 + - 0d3f7326-b80f-4f83-96db-f82c23ff6884 status: code: 200 - message: '' + message: OK - request: body: null headers: @@ -1449,16 +1415,16 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/vm000002PublicIP?api-version=2022-01-01 response: body: string: "{\r\n \"name\": \"vm000002PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP\",\r\n - \ \"etag\": \"W/\\\"e8fa73c6-e081-47f4-9714-6fcf2d0c8b89\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"3bce3a02-bf9e-4399-8c78-19aea6390ef3\\\"\",\r\n \"location\": \"eastus2\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"3bc33cd0-9f85-425f-86ae-da56bdf13218\",\r\n - \ \"ipAddress\": \"20.65.102.16\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"5c6b4afd-7018-46ed-ae2a-5e88c8a21b72\",\r\n + \ \"ipAddress\": \"20.14.139.24\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic/ipConfigurations/ipconfigvm000002\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n @@ -1472,9 +1438,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:01:50 GMT + - Tue, 25 Jul 2023 02:55:24 GMT etag: - - W/"e8fa73c6-e081-47f4-9714-6fcf2d0c8b89" + - W/"3bce3a02-bf9e-4399-8c78-19aea6390ef3" expires: - '-1' pragma: @@ -1491,7 +1457,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6dae11a5-650f-4bf8-97da-0aa9f519109a + - 7b0d8687-e50b-467d-91b7-5dcf6b2d1c48 status: code: 200 message: OK @@ -1511,7 +1477,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/vm000002/deallocate?api-version=2022-11-01 response: @@ -1521,17 +1487,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/ed2c15b6-4868-4e7f-a78b-13dd0cb73d30?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/659b6869-65a2-4b5f-a6f1-87bf92704992?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 11 Jul 2023 09:01:52 GMT + - Tue, 25 Jul 2023 02:55:26 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/ed2c15b6-4868-4e7f-a78b-13dd0cb73d30?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&monitor=true&api-version=2022-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/659b6869-65a2-4b5f-a6f1-87bf92704992?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&monitor=true&api-version=2022-11-01 pragma: - no-cache server: @@ -1562,13 +1528,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/ed2c15b6-4868-4e7f-a78b-13dd0cb73d30?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/659b6869-65a2-4b5f-a6f1-87bf92704992?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:01:52.5914394+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"ed2c15b6-4868-4e7f-a78b-13dd0cb73d30\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:55:27.2741357+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"659b6869-65a2-4b5f-a6f1-87bf92704992\"\r\n}" headers: cache-control: - no-cache @@ -1577,7 +1543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:01:53 GMT + - Tue, 25 Jul 2023 02:55:27 GMT expires: - '-1' pragma: @@ -1587,6 +1553,10 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: @@ -1608,14 +1578,14 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/ed2c15b6-4868-4e7f-a78b-13dd0cb73d30?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/659b6869-65a2-4b5f-a6f1-87bf92704992?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:01:52.5914394+00:00\",\r\n \"endTime\": - \"2023-07-11T09:02:20.5914059+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"ed2c15b6-4868-4e7f-a78b-13dd0cb73d30\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:55:27.2741357+00:00\",\r\n \"endTime\": + \"2023-07-25T02:55:52.2277774+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"659b6869-65a2-4b5f-a6f1-87bf92704992\"\r\n}" headers: cache-control: - no-cache @@ -1624,7 +1594,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:02:23 GMT + - Tue, 25 Jul 2023 02:55:57 GMT expires: - '-1' pragma: @@ -1634,6 +1604,10 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: @@ -1655,9 +1629,9 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/ed2c15b6-4868-4e7f-a78b-13dd0cb73d30?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&monitor=true&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/659b6869-65a2-4b5f-a6f1-87bf92704992?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&monitor=true&api-version=2022-11-01 response: body: string: '' @@ -1667,7 +1641,7 @@ interactions: content-length: - '0' date: - - Tue, 11 Jul 2023 09:02:24 GMT + - Tue, 25 Jul 2023 02:55:58 GMT expires: - '-1' pragma: @@ -1700,7 +1674,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/vm000002/generalize?api-version=2022-11-01 response: @@ -1712,7 +1686,7 @@ interactions: content-length: - '0' date: - - Tue, 11 Jul 2023 09:02:25 GMT + - Tue, 25 Jul 2023 02:56:00 GMT expires: - '-1' pragma: @@ -1745,46 +1719,46 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/vm000002?api-version=2022-11-01 response: body: string: "{\r\n \"name\": \"vm000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus2\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"b30a477c-44b9-4089-b473-23753155641a\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"45b20a11-0ce2-45aa-8f80-36229468ce1a\",\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.202306070\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm000002_OsDisk_1_0c34a07cfe1b479ab2dbe13fb6cc9c52\",\r\n + \"Linux\",\r\n \"name\": \"vm000002_disk1_11b4acd775ef4c43bf83bd34bd96db06\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n - \ \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_OsDisk_1_0c34a07cfe1b479ab2dbe13fb6cc9c52\"\r\n + \ \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk1_11b4acd775ef4c43bf83bd34bd96db06\"\r\n \ },\r\n \"deleteOption\": \"Detach\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm000002\",\r\n \ \"adminUsername\": \"gallerytest\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/gallerytest/.ssh/authorized_keys\",\r\n \"keyData\": - \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDLq1sEri2RcnDg8tjo775iZUd5HVjAdQjSgky6ciJgrvPNUxZv9D65dL9GLllmDhq4Xv6SxbppUJhG0vl/VgaRRPyWRrHXgZRBl0c+H0A2X0Y7L/9sir1ezs2xv89+T03Y+KQYGyZa4xuxwlfdsl6YHjHGW97ONxyDfQesFkSdwyRI0RsnV0/GB8mRF32tgSwxqT8cpXjzjz7w4usgT52knfpyslFfZGRfTjamae/sZeezBTSfsvgryEMxxxXBvXC8/iiTxRG9cQxURK6t1VCeT6F7OmJhY2G+sPCXbkEyOjkfT18y/iUSyPEPVkoaO8Ab9eNPIUFBhRPapQlZ5YsQcIBrDmBb013lRdH82K6Q7Avp3x5liFwjQT96p5CIikl6MlJScZ6SK1dnqAEEPuBvz7vCKSsVaIxTeZhnpiX44cp87VGOR1Sqlus3s3C4NbRKU/a3023vmMV6t/F9SY94sFlWPs2q6ihRTmqV5oYZScJlGgp9voQ/9XStN+4pfAE= + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDmGsW4LjseEjF/ye2EN/w3j6dmswbvXI7N/UlAqV8aCxHeYYIjFDnuhFQSF7i1iYgTt8St/6FGkIaTA4ZefhrVVZtJw8dUEKzDkUIMfdQGu4TdlpDjQIeUSHzz1KNFwhANVNK9pm1cy5Z4P3GJd1PP+lTx/IRP+qZesTC/UCSV7EluCmoj5xg6LeC9MWksu07APIFRJySqxVi8nSbCFFHODW5QTZ/82n6iJzbSRDn7KgEQGzfFEAZgzxJE+ino+r3569kWzO/qkixm92swj97fnuOX7i0Ohe1T4Me5dFvpEifoQ3bii1vG4DQDQ7L2pvEvzQyy11Hr9dDtPHZTCzeIr62vWArq75T149ZLCNjfQh44vmbeSPAc/0KVakQOEiDjLvUkMSgDUx6DD4bQgiaEyWnZ23CZ3U1U9xag4p3Kl48tGLGHTpzplaZJQEAVogeloxE1tPLBGi7et3TskoXejHhl9BrtsnXLeNVj1ep9dqD2kxNogVSc4/Av8Wuv9oU= zhuyan@microsoft.com\\n\"\r\n }\r\n ]\r\n },\r\n \ \"provisionVMAgent\": true,\r\n \"patchSettings\": {\r\n \"patchMode\": \"ImageDefault\",\r\n \"assessmentMode\": \"ImageDefault\"\r\n },\r\n \ \"enableVMAgentPlatformUpdates\": false\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic\"}]},\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2023-07-11T09:00:33.3884089+00:00\"\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2023-07-25T02:54:29.2417263+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '2702' + - '2696' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:02:27 GMT + - Tue, 25 Jul 2023 02:56:02 GMT expires: - '-1' pragma: @@ -1819,12 +1793,12 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-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","test":"test_create_vm_with_community_gallery_image","date":"2023-07-11T08:59:25Z","module":"vm"},"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","test":"test_create_vm_with_community_gallery_image","date":"2023-07-25T02:53:23Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1833,7 +1807,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:02:28 GMT + - Tue, 25 Jul 2023 02:56:03 GMT expires: - '-1' pragma: @@ -1867,7 +1841,7 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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=2022-11-01 response: @@ -1878,7 +1852,7 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002\"\r\n \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"managedDisk\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_OsDisk_1_0c34a07cfe1b479ab2dbe13fb6cc9c52\"\r\n + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk1_11b4acd775ef4c43bf83bd34bd96db06\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"hyperVGeneration\": \"V1\"\r\n }\r\n}" @@ -1886,15 +1860,15 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/8fc6e54a-978a-49f8-9335-f23a907b60c1?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/a74fd96f-cda2-4b1e-8b03-05ec013788ff?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 cache-control: - no-cache content-length: - - '992' + - '989' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:02:34 GMT + - Tue, 25 Jul 2023 02:56:09 GMT expires: - '-1' pragma: @@ -1927,22 +1901,22 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/8fc6e54a-978a-49f8-9335-f23a907b60c1?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/a74fd96f-cda2-4b1e-8b03-05ec013788ff?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:02:32.997645+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"8fc6e54a-978a-49f8-9335-f23a907b60c1\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:56:08.5093586+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"a74fd96f-cda2-4b1e-8b03-05ec013788ff\"\r\n}" headers: cache-control: - no-cache content-length: - - '133' + - '134' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:02:34 GMT + - Tue, 25 Jul 2023 02:56:09 GMT expires: - '-1' pragma: @@ -1977,23 +1951,23 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/8fc6e54a-978a-49f8-9335-f23a907b60c1?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/a74fd96f-cda2-4b1e-8b03-05ec013788ff?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:02:32.997645+00:00\",\r\n \"endTime\": - \"2023-07-11T09:02:38.060132+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"8fc6e54a-978a-49f8-9335-f23a907b60c1\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:56:08.5093586+00:00\",\r\n \"endTime\": + \"2023-07-25T02:56:13.6970088+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"a74fd96f-cda2-4b1e-8b03-05ec013788ff\"\r\n}" headers: cache-control: - no-cache content-length: - - '182' + - '184' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:03:05 GMT + - Tue, 25 Jul 2023 02:56:40 GMT expires: - '-1' pragma: @@ -2028,7 +2002,7 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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=2022-11-01 response: @@ -2039,7 +2013,7 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002\"\r\n \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": - 30,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_OsDisk_1_0c34a07cfe1b479ab2dbe13fb6cc9c52\"\r\n + 30,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk1_11b4acd775ef4c43bf83bd34bd96db06\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"hyperVGeneration\": \"V1\"\r\n }\r\n}" @@ -2047,11 +2021,11 @@ interactions: cache-control: - no-cache content-length: - - '1020' + - '1017' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:03:05 GMT + - Tue, 25 Jul 2023 02:56:40 GMT expires: - '-1' pragma: @@ -2087,12 +2061,12 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-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","test":"test_create_vm_with_community_gallery_image","date":"2023-07-11T08:59:25Z","module":"vm"},"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","test":"test_create_vm_with_community_gallery_image","date":"2023-07-25T02:53:23Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -2101,7 +2075,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:03:06 GMT + - Tue, 25 Jul 2023 02:56:42 GMT expires: - '-1' pragma: @@ -2136,7 +2110,7 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/gellery000005/images/image000006/versions/1.1.2?api-version=2022-03-03 response: @@ -2147,7 +2121,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\": \"2023-07-11T09:03:12.6292617+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2023-07-25T02:56:46.6940134+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 \"safetyProfile\": {\r\n \"reportedForPolicyViolation\": @@ -2155,7 +2129,7 @@ interactions: \ \"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/7287c774-4ba7-4a07-bb12-6468d96200f0?api-version=2022-03-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/ab14e613-d4a5-4378-8b2c-f6cbcdbf16ae?api-version=2022-03-03 cache-control: - no-cache content-length: @@ -2163,7 +2137,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:03:13 GMT + - Tue, 25 Jul 2023 02:56:47 GMT expires: - '-1' pragma: @@ -2178,7 +2152,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;374,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1199 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 201 message: Created @@ -2197,13 +2171,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/7287c774-4ba7-4a07-bb12-6468d96200f0?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/ab14e613-d4a5-4378-8b2c-f6cbcdbf16ae?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:03:12.5355628+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"7287c774-4ba7-4a07-bb12-6468d96200f0\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:56:46.6782998+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"ab14e613-d4a5-4378-8b2c-f6cbcdbf16ae\"\r\n}" headers: cache-control: - no-cache @@ -2212,7 +2186,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:03:13 GMT + - Tue, 25 Jul 2023 02:56:47 GMT expires: - '-1' pragma: @@ -2229,7 +2203,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1199,Microsoft.Compute/GetOperationStatus30Min;4192 + - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4192 status: code: 200 message: OK @@ -2248,13 +2222,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/7287c774-4ba7-4a07-bb12-6468d96200f0?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/ab14e613-d4a5-4378-8b2c-f6cbcdbf16ae?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:03:12.5355628+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"7287c774-4ba7-4a07-bb12-6468d96200f0\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:56:46.6782998+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"ab14e613-d4a5-4378-8b2c-f6cbcdbf16ae\"\r\n}" headers: cache-control: - no-cache @@ -2263,7 +2237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:04:14 GMT + - Tue, 25 Jul 2023 02:57:48 GMT expires: - '-1' pragma: @@ -2280,7 +2254,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4191 + - Microsoft.Compute/GetOperationStatus3Min;1197,Microsoft.Compute/GetOperationStatus30Min;4190 status: code: 200 message: OK @@ -2299,13 +2273,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/7287c774-4ba7-4a07-bb12-6468d96200f0?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/ab14e613-d4a5-4378-8b2c-f6cbcdbf16ae?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:03:12.5355628+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"7287c774-4ba7-4a07-bb12-6468d96200f0\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:56:46.6782998+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"ab14e613-d4a5-4378-8b2c-f6cbcdbf16ae\"\r\n}" headers: cache-control: - no-cache @@ -2314,7 +2288,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:05:15 GMT + - Tue, 25 Jul 2023 02:58:49 GMT expires: - '-1' pragma: @@ -2350,13 +2324,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/7287c774-4ba7-4a07-bb12-6468d96200f0?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/ab14e613-d4a5-4378-8b2c-f6cbcdbf16ae?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:03:12.5355628+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"7287c774-4ba7-4a07-bb12-6468d96200f0\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:56:46.6782998+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"ab14e613-d4a5-4378-8b2c-f6cbcdbf16ae\"\r\n}" headers: cache-control: - no-cache @@ -2365,7 +2339,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:06:17 GMT + - Tue, 25 Jul 2023 02:59:49 GMT expires: - '-1' pragma: @@ -2401,13 +2375,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/7287c774-4ba7-4a07-bb12-6468d96200f0?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/ab14e613-d4a5-4378-8b2c-f6cbcdbf16ae?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:03:12.5355628+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"7287c774-4ba7-4a07-bb12-6468d96200f0\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:56:46.6782998+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"ab14e613-d4a5-4378-8b2c-f6cbcdbf16ae\"\r\n}" headers: cache-control: - no-cache @@ -2416,7 +2390,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:07:17 GMT + - Tue, 25 Jul 2023 03:00:51 GMT expires: - '-1' pragma: @@ -2452,13 +2426,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/7287c774-4ba7-4a07-bb12-6468d96200f0?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/ab14e613-d4a5-4378-8b2c-f6cbcdbf16ae?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:03:12.5355628+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"7287c774-4ba7-4a07-bb12-6468d96200f0\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:56:46.6782998+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"ab14e613-d4a5-4378-8b2c-f6cbcdbf16ae\"\r\n}" headers: cache-control: - no-cache @@ -2467,7 +2441,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:08:18 GMT + - Tue, 25 Jul 2023 03:01:51 GMT expires: - '-1' pragma: @@ -2503,13 +2477,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/7287c774-4ba7-4a07-bb12-6468d96200f0?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/ab14e613-d4a5-4378-8b2c-f6cbcdbf16ae?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:03:12.5355628+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"7287c774-4ba7-4a07-bb12-6468d96200f0\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:56:46.6782998+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"ab14e613-d4a5-4378-8b2c-f6cbcdbf16ae\"\r\n}" headers: cache-control: - no-cache @@ -2518,7 +2492,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:09:19 GMT + - Tue, 25 Jul 2023 03:02:53 GMT expires: - '-1' pragma: @@ -2554,23 +2528,23 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/7287c774-4ba7-4a07-bb12-6468d96200f0?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/ab14e613-d4a5-4378-8b2c-f6cbcdbf16ae?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:03:12.5355628+00:00\",\r\n \"endTime\": - \"2023-07-11T09:10:21.1055544+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"7287c774-4ba7-4a07-bb12-6468d96200f0\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:56:46.6782998+00:00\",\r\n \"endTime\": + \"2023-07-25T03:03:34.29553+00:00\",\r\n \"status\": \"Succeeded\",\r\n \"name\": + \"ab14e613-d4a5-4378-8b2c-f6cbcdbf16ae\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '182' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:10:21 GMT + - Tue, 25 Jul 2023 03:03:54 GMT expires: - '-1' pragma: @@ -2606,7 +2580,7 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/gellery000005/images/image000006/versions/1.1.2?api-version=2022-03-03 response: @@ -2617,7 +2591,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\": \"2023-07-11T09:03:12.6292617+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2023-07-25T02:56:46.6940134+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\": @@ -2632,7 +2606,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:10:23 GMT + - Tue, 25 Jul 2023 03:03:54 GMT expires: - '-1' pragma: @@ -2667,7 +2641,7 @@ interactions: ParameterSetName: - --gallery-name --resource-group --select User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/gellery000005?api-version=2021-10-01&$select=Permissions response: @@ -2675,12 +2649,12 @@ interactions: string: "{\r\n \"name\": \"gellery000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gellery000005\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus2\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYCNJCNLZMR\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYY5U7UBFBC\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Community\",\r\n \"communityGalleryInfo\": {\r\n \"communityGalleryEnabled\": true,\r\n \"publisherUri\": \"puburi\",\r\n \"publisherContact\": \"abc@123.com\",\r\n \"eula\": \"eula\",\r\n \"publicNamePrefix\": \"pubname\",\r\n \"publicNames\": - [\r\n \"pubname-59640251-13fc-4c30-887c-ceec2d625317\"\r\n ]\r\n + [\r\n \"pubname-32898677-8cd3-40a1-be41-7af2e5355851\"\r\n ]\r\n \ }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: cache-control: @@ -2690,7 +2664,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:10:25 GMT + - Tue, 25 Jul 2023 03:03:57 GMT expires: - '-1' pragma: @@ -2707,7 +2681,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;345,Microsoft.Compute/GetGallery30Min;2490 + - Microsoft.Compute/GetGallery3Min;346,Microsoft.Compute/GetGallery30Min;2491 status: code: 200 message: OK @@ -2725,17 +2699,17 @@ interactions: ParameterSetName: - --gallery-image-definition --public-gallery-name -l --gallery-image-version User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/communityGalleries/pubname-59640251-13fc-4c30-887c-ceec2d625317/images/image000006/versions/1.1.2?api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/communityGalleries/pubname-32898677-8cd3-40a1-be41-7af2e5355851/images/image000006/versions/1.1.2?api-version=2022-01-03 response: body: string: "{\r\n \"properties\": {\r\n \"disclaimer\": \"https://aka.ms/community-gallery-disclaimer\",\r\n - \ \"publishedDate\": \"2023-07-11T09:03:12.6292617+00:00\",\r\n \"excludeFromLatest\": + \ \"publishedDate\": \"2023-07-25T02:56:46.6940134+00:00\",\r\n \"excludeFromLatest\": false,\r\n \"storageProfile\": {\r\n \"osDiskImage\": {\r\n \"diskSizeGB\": 30,\r\n \"hostCaching\": \"ReadWrite\"\r\n }\r\n }\r\n },\r\n \ \"location\": \"eastus2\",\r\n \"name\": \"1.1.2\",\r\n \"identifier\": - {\r\n \"uniqueId\": \"/CommunityGalleries/pubname-59640251-13fc-4c30-887c-ceec2d625317/Images/image000006/Versions/1.1.2\"\r\n + {\r\n \"uniqueId\": \"/CommunityGalleries/pubname-32898677-8cd3-40a1-be41-7af2e5355851/Images/image000006/Versions/1.1.2\"\r\n \ }\r\n}" headers: cache-control: @@ -2745,7 +2719,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:10:27 GMT + - Tue, 25 Jul 2023 03:04:00 GMT expires: - '-1' pragma: @@ -2780,17 +2754,17 @@ interactions: ParameterSetName: - --gallery-image-definition --public-gallery-name --location --gallery-image-version User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/communityGalleries/pubname-59640251-13fc-4c30-887c-ceec2d625317/images/image000006/versions/1.1.2?api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/communityGalleries/pubname-32898677-8cd3-40a1-be41-7af2e5355851/images/image000006/versions/1.1.2?api-version=2022-01-03 response: body: string: "{\r\n \"properties\": {\r\n \"disclaimer\": \"https://aka.ms/community-gallery-disclaimer\",\r\n - \ \"publishedDate\": \"2023-07-11T09:03:12.6292617+00:00\",\r\n \"excludeFromLatest\": + \ \"publishedDate\": \"2023-07-25T02:56:46.6940134+00:00\",\r\n \"excludeFromLatest\": false,\r\n \"storageProfile\": {\r\n \"osDiskImage\": {\r\n \"diskSizeGB\": 30,\r\n \"hostCaching\": \"ReadWrite\"\r\n }\r\n }\r\n },\r\n \ \"location\": \"eastus2\",\r\n \"name\": \"1.1.2\",\r\n \"identifier\": - {\r\n \"uniqueId\": \"/CommunityGalleries/pubname-59640251-13fc-4c30-887c-ceec2d625317/Images/image000006/Versions/1.1.2\"\r\n + {\r\n \"uniqueId\": \"/CommunityGalleries/pubname-32898677-8cd3-40a1-be41-7af2e5355851/Images/image000006/Versions/1.1.2\"\r\n \ }\r\n}" headers: cache-control: @@ -2800,7 +2774,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:10:30 GMT + - Tue, 25 Jul 2023 03:04:04 GMT expires: - '-1' pragma: @@ -2835,12 +2809,12 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule --accept-term User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-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","test":"test_create_vm_with_community_gallery_image","date":"2023-07-11T08:59:25Z","module":"vm"},"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","test":"test_create_vm_with_community_gallery_image","date":"2023-07-25T02:53:23Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -2849,7 +2823,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:10:30 GMT + - Tue, 25 Jul 2023 03:04:04 GMT expires: - '-1' pragma: @@ -2877,9 +2851,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule --accept-term User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/communityGalleries/pubname-59640251-13fc-4c30-887c-ceec2d625317/images/image000006?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/communityGalleries/pubname-32898677-8cd3-40a1-be41-7af2e5355851/images/image000006?api-version=2022-03-03 response: body: string: "{\r\n \"properties\": {\r\n \"disclaimer\": \"https://aka.ms/community-gallery-disclaimer\",\r\n @@ -2887,7 +2861,7 @@ interactions: {},\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": \"x64\",\r\n \ \"identifier\": {\r\n \"publisher\": \"\",\r\n \"offer\": \"\",\r\n \ \"sku\": \"\"\r\n }\r\n },\r\n \"location\": \"eastus2\",\r\n \"name\": - \"image000006\",\r\n \"identifier\": {\r\n \"uniqueId\": \"/CommunityGalleries/pubname-59640251-13fc-4c30-887c-ceec2d625317/Images/image000006\"\r\n + \"image000006\",\r\n \"identifier\": {\r\n \"uniqueId\": \"/CommunityGalleries/pubname-32898677-8cd3-40a1-be41-7af2e5355851/Images/image000006\"\r\n \ }\r\n}" headers: cache-control: @@ -2897,7 +2871,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:10:33 GMT + - Tue, 25 Jul 2023 03:04:07 GMT expires: - '-1' pragma: @@ -2932,21 +2906,21 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule --accept-term User-Agent: - - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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=2022-01-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"vm000002VNET\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET\",\r\n - \ \"etag\": \"W/\\\"c22bb2da-4884-43a9-8746-e936acf36aec\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"0e5706e6-9bab-4411-a304-28e311ca56e2\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"aaa41047-22b0-4371-bea9-48334498a4aa\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"148093c9-8c9b-4021-af6c-184b0674f13c\",\r\n \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"vm000002Subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET/subnets/vm000002Subnet\",\r\n - \ \"etag\": \"W/\\\"c22bb2da-4884-43a9-8746-e936acf36aec\\\"\",\r\n + \ \"etag\": \"W/\\\"0e5706e6-9bab-4411-a304-28e311ca56e2\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"ipConfigurations\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic/ipConfigurations/ipconfigvm000002\"\r\n @@ -2963,7 +2937,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:10:34 GMT + - Tue, 25 Jul 2023 03:04:08 GMT expires: - '-1' pragma: @@ -2980,10 +2954,10 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 51bba7a0-90fa-438d-8ea5-18cc77c387fc + - 36447fb4-0a59-4c1c-b71b-ce6ed76b96be status: code: 200 - message: '' + message: OK - request: body: null headers: @@ -2998,9 +2972,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule --accept-term User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/communityGalleries/pubname-59640251-13fc-4c30-887c-ceec2d625317/images/image000006?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/communityGalleries/pubname-32898677-8cd3-40a1-be41-7af2e5355851/images/image000006?api-version=2022-03-03 response: body: string: "{\r\n \"properties\": {\r\n \"disclaimer\": \"https://aka.ms/community-gallery-disclaimer\",\r\n @@ -3008,7 +2982,7 @@ interactions: {},\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": \"x64\",\r\n \ \"identifier\": {\r\n \"publisher\": \"\",\r\n \"offer\": \"\",\r\n \ \"sku\": \"\"\r\n }\r\n },\r\n \"location\": \"eastus2\",\r\n \"name\": - \"image000006\",\r\n \"identifier\": {\r\n \"uniqueId\": \"/CommunityGalleries/pubname-59640251-13fc-4c30-887c-ceec2d625317/Images/image000006\"\r\n + \"image000006\",\r\n \"identifier\": {\r\n \"uniqueId\": \"/CommunityGalleries/pubname-32898677-8cd3-40a1-be41-7af2e5355851/Images/image000006\"\r\n \ }\r\n}" headers: cache-control: @@ -3018,7 +2992,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:10:36 GMT + - Tue, 25 Jul 2023 03:04:11 GMT expires: - '-1' pragma: @@ -3060,10 +3034,10 @@ interactions: {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sg000003VMNic", "properties": {"deleteOption": null}}]}, "storageProfile": {"osDisk": {"caching": "ReadWrite", "managedDisk": {"storageAccountType": null}, "name": null, "createOption": - "fromImage"}, "imageReference": {"communityGalleryImageId": "/CommunityGalleries/pubname-59640251-13fc-4c30-887c-ceec2d625317/Images/image000006/Versions/1.1.2"}}, - "osProfile": {"computerName": "vmsgbfmo4fo4ol2", "adminUsername": "gallerytest", + "fromImage"}, "imageReference": {"communityGalleryImageId": "/CommunityGalleries/pubname-32898677-8cd3-40a1-be41-7af2e5355851/Images/image000006/Versions/1.1.2"}}, + "osProfile": {"computerName": "vmsgl5xlxrne3pj", "adminUsername": "gallerytest", "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": - [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDLq1sEri2RcnDg8tjo775iZUd5HVjAdQjSgky6ciJgrvPNUxZv9D65dL9GLllmDhq4Xv6SxbppUJhG0vl/VgaRRPyWRrHXgZRBl0c+H0A2X0Y7L/9sir1ezs2xv89+T03Y+KQYGyZa4xuxwlfdsl6YHjHGW97ONxyDfQesFkSdwyRI0RsnV0/GB8mRF32tgSwxqT8cpXjzjz7w4usgT52knfpyslFfZGRfTjamae/sZeezBTSfsvgryEMxxxXBvXC8/iiTxRG9cQxURK6t1VCeT6F7OmJhY2G+sPCXbkEyOjkfT18y/iUSyPEPVkoaO8Ab9eNPIUFBhRPapQlZ5YsQcIBrDmBb013lRdH82K6Q7Avp3x5liFwjQT96p5CIikl6MlJScZ6SK1dnqAEEPuBvz7vCKSsVaIxTeZhnpiX44cp87VGOR1Sqlus3s3C4NbRKU/a3023vmMV6t/F9SY94sFlWPs2q6ihRTmqV5oYZScJlGgp9voQ/9XStN+4pfAE= + [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDmGsW4LjseEjF/ye2EN/w3j6dmswbvXI7N/UlAqV8aCxHeYYIjFDnuhFQSF7i1iYgTt8St/6FGkIaTA4ZefhrVVZtJw8dUEKzDkUIMfdQGu4TdlpDjQIeUSHzz1KNFwhANVNK9pm1cy5Z4P3GJd1PP+lTx/IRP+qZesTC/UCSV7EluCmoj5xg6LeC9MWksu07APIFRJySqxVi8nSbCFFHODW5QTZ/82n6iJzbSRDn7KgEQGzfFEAZgzxJE+ino+r3569kWzO/qkixm92swj97fnuOX7i0Ohe1T4Me5dFvpEifoQ3bii1vG4DQDQ7L2pvEvzQyy11Hr9dDtPHZTCzeIr62vWArq75T149ZLCNjfQh44vmbeSPAc/0KVakQOEiDjLvUkMSgDUx6DD4bQgiaEyWnZ23CZ3U1U9xag4p3Kl48tGLGHTpzplaZJQEAVogeloxE1tPLBGi7et3TskoXejHhl9BrtsnXLeNVj1ep9dqD2kxNogVSc4/Av8Wuv9oU= zhuyan@microsoft.com\n", "path": "/home/gallerytest/.ssh/authorized_keys"}]}}}}}], "outputs": {}}, "parameters": {}, "mode": "incremental"}}' headers: @@ -3082,15 +3056,15 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule --accept-term User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_OoFPvbeihejrL0wDmIO95aZelOKkJT97","name":"vm_deploy_OoFPvbeihejrL0wDmIO95aZelOKkJT97","type":"Microsoft.Resources/deployments","properties":{"templateHash":"15817012025881653779","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-07-11T09:10:44.4603734Z","duration":"PT0.0007099S","correlationId":"14b4626c-0343-4f01-ae8e-a88a018fd799","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/vm_sg000003NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm_sg000003NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm_sg000003PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm_sg000003PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sg000003VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sg000003VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sg000003VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sg000003VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sg000003","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm_sg000003"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_cjpIgM2wOS29mDZhFX31GWhHjYYN3tZQ","name":"vm_deploy_cjpIgM2wOS29mDZhFX31GWhHjYYN3tZQ","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14124811364669010836","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-07-25T03:04:19.0234102Z","duration":"PT0.0002269S","correlationId":"e7acc4fb-752c-423b-9a6e-f1081d471429","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/vm_sg000003NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm_sg000003NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm_sg000003PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm_sg000003PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sg000003VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sg000003VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sg000003VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sg000003VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sg000003","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm_sg000003"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_OoFPvbeihejrL0wDmIO95aZelOKkJT97/operationStatuses/08585125402452980171?api-version=2022-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_cjpIgM2wOS29mDZhFX31GWhHjYYN3tZQ/operationStatuses/08585113526293620765?api-version=2022-09-01 cache-control: - no-cache content-length: @@ -3098,7 +3072,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:10:46 GMT + - Tue, 25 Jul 2023 03:04:19 GMT expires: - '-1' pragma: @@ -3126,9 +3100,51 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule --accept-term User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585113526293620765?api-version=2022-09-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 25 Jul 2023 03:04:19 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 --accept-term + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585125402452980171?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585113526293620765?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -3140,7 +3156,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:10:46 GMT + - Tue, 25 Jul 2023 03:04:50 GMT expires: - '-1' pragma: @@ -3168,9 +3184,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule --accept-term User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585125402452980171?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585113526293620765?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -3182,7 +3198,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:11:17 GMT + - Tue, 25 Jul 2023 03:05:20 GMT expires: - '-1' pragma: @@ -3210,9 +3226,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule --accept-term User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585125402452980171?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585113526293620765?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -3224,7 +3240,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:11:47 GMT + - Tue, 25 Jul 2023 03:05:52 GMT expires: - '-1' pragma: @@ -3252,9 +3268,93 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule --accept-term User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585125402452980171?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585113526293620765?api-version=2022-09-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 25 Jul 2023 03:06:22 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 --accept-term + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585113526293620765?api-version=2022-09-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 25 Jul 2023 03:06:53 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 --accept-term + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585113526293620765?api-version=2022-09-01 response: body: string: '{"status":"Succeeded"}' @@ -3266,7 +3366,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:12:17 GMT + - Tue, 25 Jul 2023 03:07:23 GMT expires: - '-1' pragma: @@ -3294,21 +3394,21 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule --accept-term User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_OoFPvbeihejrL0wDmIO95aZelOKkJT97","name":"vm_deploy_OoFPvbeihejrL0wDmIO95aZelOKkJT97","type":"Microsoft.Resources/deployments","properties":{"templateHash":"15817012025881653779","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-07-11T09:11:47.926946Z","duration":"PT1M3.4672825S","correlationId":"14b4626c-0343-4f01-ae8e-a88a018fd799","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/vm_sg000003NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm_sg000003NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm_sg000003PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm_sg000003PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sg000003VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sg000003VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sg000003VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sg000003VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sg000003","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm_sg000003"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sg000003"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sg000003VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm_sg000003NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm_sg000003PublicIP"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_cjpIgM2wOS29mDZhFX31GWhHjYYN3tZQ","name":"vm_deploy_cjpIgM2wOS29mDZhFX31GWhHjYYN3tZQ","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14124811364669010836","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-07-25T03:07:17.5951769Z","duration":"PT2M58.5719936S","correlationId":"e7acc4fb-752c-423b-9a6e-f1081d471429","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/vm_sg000003NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm_sg000003NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm_sg000003PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm_sg000003PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sg000003VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sg000003VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sg000003VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sg000003VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sg000003","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm_sg000003"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sg000003"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sg000003VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm_sg000003NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm_sg000003PublicIP"}]}}' headers: cache-control: - no-cache content-length: - - '2792' + - '2794' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:12:18 GMT + - Tue, 25 Jul 2023 03:07:23 GMT expires: - '-1' pragma: @@ -3336,29 +3436,29 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule --accept-term User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/vm_sg000003?$expand=instanceView&api-version=2022-11-01 response: body: string: "{\r\n \"name\": \"vm_sg000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sg000003\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus2\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"b45c0c5d-59c5-4c82-a701-f8d6424bf4e3\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"8abe72dd-452a-4dc7-bdd3-c35b4247df08\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"exactVersion\": - \"1.1.2\",\r\n \"communityGalleryImageId\": \"/CommunityGalleries/pubname-59640251-13fc-4c30-887c-ceec2d625317/Images/image000006/Versions/1.1.2\"\r\n + \"1.1.2\",\r\n \"communityGalleryImageId\": \"/CommunityGalleries/pubname-32898677-8cd3-40a1-be41-7af2e5355851/Images/image000006/Versions/1.1.2\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm_sg000003_OsDisk_1_486955bb87ba48d68451d8308ca3211c\",\r\n \"createOption\": + \"vm_sg000003_OsDisk_1_5f977b752d714be38b765d9dd7cc46b8\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm_sg000003_OsDisk_1_486955bb87ba48d68451d8308ca3211c\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm_sg000003_OsDisk_1_5f977b752d714be38b765d9dd7cc46b8\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": - {\r\n \"computerName\": \"vmsgbfmo4fo4ol2\",\r\n \"adminUsername\": + {\r\n \"computerName\": \"vmsgl5xlxrne3pj\",\r\n \"adminUsername\": \"gallerytest\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \ \"path\": \"/home/gallerytest/.ssh/authorized_keys\",\r\n \"keyData\": - \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDLq1sEri2RcnDg8tjo775iZUd5HVjAdQjSgky6ciJgrvPNUxZv9D65dL9GLllmDhq4Xv6SxbppUJhG0vl/VgaRRPyWRrHXgZRBl0c+H0A2X0Y7L/9sir1ezs2xv89+T03Y+KQYGyZa4xuxwlfdsl6YHjHGW97ONxyDfQesFkSdwyRI0RsnV0/GB8mRF32tgSwxqT8cpXjzjz7w4usgT52knfpyslFfZGRfTjamae/sZeezBTSfsvgryEMxxxXBvXC8/iiTxRG9cQxURK6t1VCeT6F7OmJhY2G+sPCXbkEyOjkfT18y/iUSyPEPVkoaO8Ab9eNPIUFBhRPapQlZ5YsQcIBrDmBb013lRdH82K6Q7Avp3x5liFwjQT96p5CIikl6MlJScZ6SK1dnqAEEPuBvz7vCKSsVaIxTeZhnpiX44cp87VGOR1Sqlus3s3C4NbRKU/a3023vmMV6t/F9SY94sFlWPs2q6ihRTmqV5oYZScJlGgp9voQ/9XStN+4pfAE= + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDmGsW4LjseEjF/ye2EN/w3j6dmswbvXI7N/UlAqV8aCxHeYYIjFDnuhFQSF7i1iYgTt8St/6FGkIaTA4ZefhrVVZtJw8dUEKzDkUIMfdQGu4TdlpDjQIeUSHzz1KNFwhANVNK9pm1cy5Z4P3GJd1PP+lTx/IRP+qZesTC/UCSV7EluCmoj5xg6LeC9MWksu07APIFRJySqxVi8nSbCFFHODW5QTZ/82n6iJzbSRDn7KgEQGzfFEAZgzxJE+ino+r3569kWzO/qkixm92swj97fnuOX7i0Ohe1T4Me5dFvpEifoQ3bii1vG4DQDQ7L2pvEvzQyy11Hr9dDtPHZTCzeIr62vWArq75T149ZLCNjfQh44vmbeSPAc/0KVakQOEiDjLvUkMSgDUx6DD4bQgiaEyWnZ23CZ3U1U9xag4p3Kl48tGLGHTpzplaZJQEAVogeloxE1tPLBGi7et3TskoXejHhl9BrtsnXLeNVj1ep9dqD2kxNogVSc4/Av8Wuv9oU= zhuyan@microsoft.com\\n\"\r\n }\r\n ]\r\n },\r\n \ \"provisionVMAgent\": true,\r\n \"patchSettings\": {\r\n \"patchMode\": \"ImageDefault\",\r\n \"assessmentMode\": \"ImageDefault\"\r\n },\r\n @@ -3366,33 +3466,33 @@ interactions: [],\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/vm_sg000003VMNic\"}]},\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": - \"vmsgbfmo4fo4ol2\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": + \"vmsgl5xlxrne3pj\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": \"18.04\",\r\n \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.9.1.1\",\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\": - \"2023-07-11T09:11:46+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm_sg000003_OsDisk_1_486955bb87ba48d68451d8308ca3211c\",\r\n + \"2023-07-25T03:07:07+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm_sg000003_OsDisk_1_5f977b752d714be38b765d9dd7cc46b8\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2023-07-11T09:11:10.137008+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-25T03:06:39.2565461+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\": \"2023-07-11T09:11:44.4494578+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-25T03:07:01.5538209+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n - \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2023-07-11T09:11:04.8870246+00:00\"\r\n + \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2023-07-25T03:04:33.8008864+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '4111' + - '4112' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:12:21 GMT + - Tue, 25 Jul 2023 03:07:25 GMT expires: - '-1' pragma: @@ -3409,7 +3509,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31992 + - Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31991 status: code: 200 message: OK @@ -3427,18 +3527,18 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule --accept-term User-Agent: - - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/vm_sg000003VMNic?api-version=2022-01-01 response: body: string: "{\r\n \"name\": \"vm_sg000003VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sg000003VMNic\",\r\n - \ \"etag\": \"W/\\\"1137cfd8-be76-487c-b231-8c0f8b366021\\\"\",\r\n \"tags\": + \ \"etag\": \"W/\\\"b788f427-5e0e-4208-acea-9e09f225b1ad\\\"\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"8fad9a42-d760-48c3-a558-9e706efee4c6\",\r\n \"ipConfigurations\": + \ \"resourceGuid\": \"b895d64c-2565-418d-b129-a194e3025a68\",\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm_sg000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sg000003VMNic/ipConfigurations/ipconfigvm_sg000003\",\r\n - \ \"etag\": \"W/\\\"1137cfd8-be76-487c-b231-8c0f8b366021\\\"\",\r\n + \ \"etag\": \"W/\\\"b788f427-5e0e-4208-acea-9e09f225b1ad\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.5\",\r\n \"privateIPAllocationMethod\": @@ -3447,8 +3547,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\": - \"i2ikjkvqejyuhpvjjazujgfevc.cx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"60-45-BD-83-90-43\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \"zgjyafe1rqqubl1mdbfqm3hrhe.cx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-E6-BC-DD\",\r\n \"enableAcceleratedNetworking\": false,\r\n \ \"vnetEncryptionSupported\": false,\r\n \"enableIPForwarding\": false,\r\n \ \"networkSecurityGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm_sg000003NSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": @@ -3465,9 +3565,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:12:22 GMT + - Tue, 25 Jul 2023 03:07:27 GMT etag: - - W/"1137cfd8-be76-487c-b231-8c0f8b366021" + - W/"b788f427-5e0e-4208-acea-9e09f225b1ad" expires: - '-1' pragma: @@ -3484,10 +3584,10 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c2547938-1bd9-47e0-b845-f5450615ed9c + - f270206b-cc8a-43b4-9be7-887dc95c5180 status: code: 200 - message: '' + message: OK - request: body: null headers: @@ -3502,16 +3602,16 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule --accept-term User-Agent: - - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/vm_sg000003PublicIP?api-version=2022-01-01 response: body: string: "{\r\n \"name\": \"vm_sg000003PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm_sg000003PublicIP\",\r\n - \ \"etag\": \"W/\\\"49879fe2-d677-4a98-acec-f39addbaf679\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"c56affd4-c5fe-44ac-ab37-13e8d3ac5169\\\"\",\r\n \"location\": \"eastus2\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"e7f81198-e961-4e45-b156-92148876ff6f\",\r\n - \ \"ipAddress\": \"104.210.8.122\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"4750063f-70a3-4cc3-b549-dcf6ea0582d4\",\r\n + \ \"ipAddress\": \"20.14.191.138\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sg000003VMNic/ipConfigurations/ipconfigvm_sg000003\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n @@ -3525,9 +3625,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:12:24 GMT + - Tue, 25 Jul 2023 03:07:29 GMT etag: - - W/"49879fe2-d677-4a98-acec-f39addbaf679" + - W/"c56affd4-c5fe-44ac-ab37-13e8d3ac5169" expires: - '-1' pragma: @@ -3544,7 +3644,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 84103785-f811-4ca6-a570-fd698bc6e866 + - f0277a06-f738-40a7-b1df-e4a884f9c6a9 status: code: 200 message: OK @@ -3562,36 +3662,36 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/vm_sg000003?api-version=2022-11-01 response: body: string: "{\r\n \"name\": \"vm_sg000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sg000003\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus2\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"b45c0c5d-59c5-4c82-a701-f8d6424bf4e3\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"8abe72dd-452a-4dc7-bdd3-c35b4247df08\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"exactVersion\": - \"1.1.2\",\r\n \"communityGalleryImageId\": \"/CommunityGalleries/pubname-59640251-13fc-4c30-887c-ceec2d625317/Images/image000006/Versions/1.1.2\"\r\n + \"1.1.2\",\r\n \"communityGalleryImageId\": \"/CommunityGalleries/pubname-32898677-8cd3-40a1-be41-7af2e5355851/Images/image000006/Versions/1.1.2\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm_sg000003_OsDisk_1_486955bb87ba48d68451d8308ca3211c\",\r\n \"createOption\": + \"vm_sg000003_OsDisk_1_5f977b752d714be38b765d9dd7cc46b8\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm_sg000003_OsDisk_1_486955bb87ba48d68451d8308ca3211c\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm_sg000003_OsDisk_1_5f977b752d714be38b765d9dd7cc46b8\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": - {\r\n \"computerName\": \"vmsgbfmo4fo4ol2\",\r\n \"adminUsername\": + {\r\n \"computerName\": \"vmsgl5xlxrne3pj\",\r\n \"adminUsername\": \"gallerytest\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \ \"path\": \"/home/gallerytest/.ssh/authorized_keys\",\r\n \"keyData\": - \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDLq1sEri2RcnDg8tjo775iZUd5HVjAdQjSgky6ciJgrvPNUxZv9D65dL9GLllmDhq4Xv6SxbppUJhG0vl/VgaRRPyWRrHXgZRBl0c+H0A2X0Y7L/9sir1ezs2xv89+T03Y+KQYGyZa4xuxwlfdsl6YHjHGW97ONxyDfQesFkSdwyRI0RsnV0/GB8mRF32tgSwxqT8cpXjzjz7w4usgT52knfpyslFfZGRfTjamae/sZeezBTSfsvgryEMxxxXBvXC8/iiTxRG9cQxURK6t1VCeT6F7OmJhY2G+sPCXbkEyOjkfT18y/iUSyPEPVkoaO8Ab9eNPIUFBhRPapQlZ5YsQcIBrDmBb013lRdH82K6Q7Avp3x5liFwjQT96p5CIikl6MlJScZ6SK1dnqAEEPuBvz7vCKSsVaIxTeZhnpiX44cp87VGOR1Sqlus3s3C4NbRKU/a3023vmMV6t/F9SY94sFlWPs2q6ihRTmqV5oYZScJlGgp9voQ/9XStN+4pfAE= + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDmGsW4LjseEjF/ye2EN/w3j6dmswbvXI7N/UlAqV8aCxHeYYIjFDnuhFQSF7i1iYgTt8St/6FGkIaTA4ZefhrVVZtJw8dUEKzDkUIMfdQGu4TdlpDjQIeUSHzz1KNFwhANVNK9pm1cy5Z4P3GJd1PP+lTx/IRP+qZesTC/UCSV7EluCmoj5xg6LeC9MWksu07APIFRJySqxVi8nSbCFFHODW5QTZ/82n6iJzbSRDn7KgEQGzfFEAZgzxJE+ino+r3569kWzO/qkixm92swj97fnuOX7i0Ohe1T4Me5dFvpEifoQ3bii1vG4DQDQ7L2pvEvzQyy11Hr9dDtPHZTCzeIr62vWArq75T149ZLCNjfQh44vmbeSPAc/0KVakQOEiDjLvUkMSgDUx6DD4bQgiaEyWnZ23CZ3U1U9xag4p3Kl48tGLGHTpzplaZJQEAVogeloxE1tPLBGi7et3TskoXejHhl9BrtsnXLeNVj1ep9dqD2kxNogVSc4/Av8Wuv9oU= zhuyan@microsoft.com\\n\"\r\n }\r\n ]\r\n },\r\n \ \"provisionVMAgent\": true,\r\n \"patchSettings\": {\r\n \"patchMode\": \"ImageDefault\",\r\n \"assessmentMode\": \"ImageDefault\"\r\n },\r\n \ \"enableVMAgentPlatformUpdates\": false\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sg000003VMNic\"}]},\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2023-07-11T09:11:04.8870246+00:00\"\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2023-07-25T03:04:33.8008864+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -3601,7 +3701,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:12:26 GMT + - Tue, 25 Jul 2023 03:07:31 GMT expires: - '-1' pragma: @@ -3618,7 +3718,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31991 + - Microsoft.Compute/LowCostGet3Min;3995,Microsoft.Compute/LowCostGet30Min;31990 status: code: 200 message: OK @@ -3636,12 +3736,12 @@ interactions: ParameterSetName: - -g -n --admin-username --generate-ssh-keys --image --accept-term User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-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","test":"test_create_vm_with_community_gallery_image","date":"2023-07-11T08:59:25Z","module":"vm"},"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","test":"test_create_vm_with_community_gallery_image","date":"2023-07-25T02:53:23Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -3650,7 +3750,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:12:28 GMT + - Tue, 25 Jul 2023 03:07:32 GMT expires: - '-1' pragma: @@ -3678,9 +3778,9 @@ interactions: ParameterSetName: - -g -n --admin-username --generate-ssh-keys --image --accept-term User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/communityGalleries/pubname-59640251-13fc-4c30-887c-ceec2d625317/images/image000006?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/communityGalleries/pubname-32898677-8cd3-40a1-be41-7af2e5355851/images/image000006?api-version=2022-03-03 response: body: string: "{\r\n \"properties\": {\r\n \"disclaimer\": \"https://aka.ms/community-gallery-disclaimer\",\r\n @@ -3688,7 +3788,7 @@ interactions: {},\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": \"x64\",\r\n \ \"identifier\": {\r\n \"publisher\": \"\",\r\n \"offer\": \"\",\r\n \ \"sku\": \"\"\r\n }\r\n },\r\n \"location\": \"eastus2\",\r\n \"name\": - \"image000006\",\r\n \"identifier\": {\r\n \"uniqueId\": \"/CommunityGalleries/pubname-59640251-13fc-4c30-887c-ceec2d625317/Images/image000006\"\r\n + \"image000006\",\r\n \"identifier\": {\r\n \"uniqueId\": \"/CommunityGalleries/pubname-32898677-8cd3-40a1-be41-7af2e5355851/Images/image000006\"\r\n \ }\r\n}" headers: cache-control: @@ -3698,7 +3798,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:12:29 GMT + - Tue, 25 Jul 2023 03:07:34 GMT expires: - '-1' pragma: @@ -3715,7 +3815,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryArtifact3Min;597,Microsoft.Compute/GetGalleryArtifact30Min;2997 + - Microsoft.Compute/GetGalleryArtifact3Min;599,Microsoft.Compute/GetGalleryArtifact30Min;2997 status: code: 200 message: OK @@ -3733,21 +3833,21 @@ interactions: ParameterSetName: - -g -n --admin-username --generate-ssh-keys --image --accept-term User-Agent: - - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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=2022-01-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"vm000002VNET\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET\",\r\n - \ \"etag\": \"W/\\\"62708de4-4214-4992-8062-29be204a8b44\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"9fbb519d-5217-4b38-9bab-2671c5b651e2\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"aaa41047-22b0-4371-bea9-48334498a4aa\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"148093c9-8c9b-4021-af6c-184b0674f13c\",\r\n \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"vm000002Subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET/subnets/vm000002Subnet\",\r\n - \ \"etag\": \"W/\\\"62708de4-4214-4992-8062-29be204a8b44\\\"\",\r\n + \ \"etag\": \"W/\\\"9fbb519d-5217-4b38-9bab-2671c5b651e2\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"ipConfigurations\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic/ipConfigurations/ipconfigvm000002\"\r\n @@ -3765,7 +3865,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:12:33 GMT + - Tue, 25 Jul 2023 03:07:36 GMT expires: - '-1' pragma: @@ -3782,10 +3882,10 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7e0e52a2-1afa-4244-91a3-da251b4fae55 + - 74cd8398-4342-40c2-ba6e-e2664cbb0197 status: code: 200 - message: '' + message: OK - request: body: null headers: @@ -3800,9 +3900,9 @@ interactions: ParameterSetName: - -g -n --admin-username --generate-ssh-keys --image --accept-term User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/communityGalleries/pubname-59640251-13fc-4c30-887c-ceec2d625317/images/image000006?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/communityGalleries/pubname-32898677-8cd3-40a1-be41-7af2e5355851/images/image000006?api-version=2022-03-03 response: body: string: "{\r\n \"properties\": {\r\n \"disclaimer\": \"https://aka.ms/community-gallery-disclaimer\",\r\n @@ -3810,7 +3910,7 @@ interactions: {},\r\n \"hyperVGeneration\": \"V1\",\r\n \"architecture\": \"x64\",\r\n \ \"identifier\": {\r\n \"publisher\": \"\",\r\n \"offer\": \"\",\r\n \ \"sku\": \"\"\r\n }\r\n },\r\n \"location\": \"eastus2\",\r\n \"name\": - \"image000006\",\r\n \"identifier\": {\r\n \"uniqueId\": \"/CommunityGalleries/pubname-59640251-13fc-4c30-887c-ceec2d625317/Images/image000006\"\r\n + \"image000006\",\r\n \"identifier\": {\r\n \"uniqueId\": \"/CommunityGalleries/pubname-32898677-8cd3-40a1-be41-7af2e5355851/Images/image000006\"\r\n \ }\r\n}" headers: cache-control: @@ -3820,7 +3920,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:12:34 GMT + - Tue, 25 Jul 2023 03:07:38 GMT expires: - '-1' pragma: @@ -3837,7 +3937,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryArtifact3Min;596,Microsoft.Compute/GetGalleryArtifact30Min;2996 + - Microsoft.Compute/GetGalleryArtifact3Min;598,Microsoft.Compute/GetGalleryArtifact30Min;2996 status: code: 200 message: OK @@ -3861,12 +3961,12 @@ interactions: true, "upgradePolicy": {"mode": "manual", "rollingUpgradePolicy": {}}, "singlePlacementGroup": null, "virtualMachineProfile": {"storageProfile": {"osDisk": {"caching": "ReadWrite", "managedDisk": {"storageAccountType": null}, "name": null, "createOption": "fromImage"}, - "imageReference": {"communityGalleryImageId": "/CommunityGalleries/pubname-59640251-13fc-4c30-887c-ceec2d625317/Images/image000006/Versions/1.1.2"}}, - "osProfile": {"computerNamePrefix": "vmss3489a", "adminUsername": "gallerytest", + "imageReference": {"communityGalleryImageId": "/CommunityGalleries/pubname-32898677-8cd3-40a1-be41-7af2e5355851/Images/image000006/Versions/1.1.2"}}, + "osProfile": {"computerNamePrefix": "vmssq5cb9", "adminUsername": "gallerytest", "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": - [{"path": "/home/gallerytest/.ssh/authorized_keys", "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDLq1sEri2RcnDg8tjo775iZUd5HVjAdQjSgky6ciJgrvPNUxZv9D65dL9GLllmDhq4Xv6SxbppUJhG0vl/VgaRRPyWRrHXgZRBl0c+H0A2X0Y7L/9sir1ezs2xv89+T03Y+KQYGyZa4xuxwlfdsl6YHjHGW97ONxyDfQesFkSdwyRI0RsnV0/GB8mRF32tgSwxqT8cpXjzjz7w4usgT52knfpyslFfZGRfTjamae/sZeezBTSfsvgryEMxxxXBvXC8/iiTxRG9cQxURK6t1VCeT6F7OmJhY2G+sPCXbkEyOjkfT18y/iUSyPEPVkoaO8Ab9eNPIUFBhRPapQlZ5YsQcIBrDmBb013lRdH82K6Q7Avp3x5liFwjQT96p5CIikl6MlJScZ6SK1dnqAEEPuBvz7vCKSsVaIxTeZhnpiX44cp87VGOR1Sqlus3s3C4NbRKU/a3023vmMV6t/F9SY94sFlWPs2q6ihRTmqV5oYZScJlGgp9voQ/9XStN+4pfAE= + [{"path": "/home/gallerytest/.ssh/authorized_keys", "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDmGsW4LjseEjF/ye2EN/w3j6dmswbvXI7N/UlAqV8aCxHeYYIjFDnuhFQSF7i1iYgTt8St/6FGkIaTA4ZefhrVVZtJw8dUEKzDkUIMfdQGu4TdlpDjQIeUSHzz1KNFwhANVNK9pm1cy5Z4P3GJd1PP+lTx/IRP+qZesTC/UCSV7EluCmoj5xg6LeC9MWksu07APIFRJySqxVi8nSbCFFHODW5QTZ/82n6iJzbSRDn7KgEQGzfFEAZgzxJE+ino+r3569kWzO/qkixm92swj97fnuOX7i0Ohe1T4Me5dFvpEifoQ3bii1vG4DQDQ7L2pvEvzQyy11Hr9dDtPHZTCzeIr62vWArq75T149ZLCNjfQh44vmbeSPAc/0KVakQOEiDjLvUkMSgDUx6DD4bQgiaEyWnZ23CZ3U1U9xag4p3Kl48tGLGHTpzplaZJQEAVogeloxE1tPLBGi7et3TskoXejHhl9BrtsnXLeNVj1ep9dqD2kxNogVSc4/Av8Wuv9oU= zhuyan@microsoft.com\n"}]}}}, "networkProfile": {"networkInterfaceConfigurations": - [{"name": "vmss3489aNic", "properties": {"ipConfigurations": [{"name": "vmss3489aIPConfig", + [{"name": "vmssq5cb9Nic", "properties": {"ipConfigurations": [{"name": "vmssq5cb9IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET/subnets/vm000002Subnet"}, "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000004LB/backendAddressPools/vmss000004LBBEPool"}], "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000004LB/inboundNatPools/vmss000004LBNatPool"}]}}], @@ -3890,23 +3990,23 @@ interactions: ParameterSetName: - -g -n --admin-username --generate-ssh-keys --image --accept-term User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vmss_deploy_MyIwr6evFrib5smJKys3EN3j7YwrLbfs","name":"vmss_deploy_MyIwr6evFrib5smJKys3EN3j7YwrLbfs","type":"Microsoft.Resources/deployments","properties":{"templateHash":"10103033486738875923","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-07-11T09:12:46.4244829Z","duration":"PT0.0001629S","correlationId":"118bedea-87f1-4735-9bfc-a0d6accfac86","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["eastus2"]},{"resourceType":"loadBalancers","locations":["eastus2"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["eastus2"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vmss000004LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss000004LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000004LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss000004LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000004LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss000004LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss000004","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss000004"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vmss_deploy_6yJdwFga8pLCHrIGN0LDZunjpyjDj7Tj","name":"vmss_deploy_6yJdwFga8pLCHrIGN0LDZunjpyjDj7Tj","type":"Microsoft.Resources/deployments","properties":{"templateHash":"4010437416551632940","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-07-25T03:07:48.9880149Z","duration":"PT0.0004742S","correlationId":"8be7589f-8a60-4741-9266-b95473dbf4f2","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["eastus2"]},{"resourceType":"loadBalancers","locations":["eastus2"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["eastus2"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vmss000004LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss000004LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000004LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss000004LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000004LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss000004LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss000004","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss000004"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vmss_deploy_MyIwr6evFrib5smJKys3EN3j7YwrLbfs/operationStatuses/08585125401221427611?api-version=2022-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vmss_deploy_6yJdwFga8pLCHrIGN0LDZunjpyjDj7Tj/operationStatuses/08585113524192277657?api-version=2022-09-01 cache-control: - no-cache content-length: - - '1815' + - '1814' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:12:49 GMT + - Tue, 25 Jul 2023 03:07:50 GMT expires: - '-1' pragma: @@ -3916,7 +4016,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -3934,21 +4034,21 @@ interactions: ParameterSetName: - -g -n --admin-username --generate-ssh-keys --image --accept-term User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585125401221427611?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585113524192277657?api-version=2022-09-01 response: body: - string: '{"status":"Accepted"}' + string: '{"status":"Running"}' headers: cache-control: - no-cache content-length: - - '21' + - '20' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:12:50 GMT + - Tue, 25 Jul 2023 03:07:50 GMT expires: - '-1' pragma: @@ -3976,9 +4076,9 @@ interactions: ParameterSetName: - -g -n --admin-username --generate-ssh-keys --image --accept-term User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585125401221427611?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585113524192277657?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -3990,7 +4090,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:13:20 GMT + - Tue, 25 Jul 2023 03:08:21 GMT expires: - '-1' pragma: @@ -4018,9 +4118,9 @@ interactions: ParameterSetName: - -g -n --admin-username --generate-ssh-keys --image --accept-term User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585125401221427611?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585113524192277657?api-version=2022-09-01 response: body: string: '{"status":"Succeeded"}' @@ -4032,7 +4132,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:13:51 GMT + - Tue, 25 Jul 2023 03:08:51 GMT expires: - '-1' pragma: @@ -4060,23 +4160,23 @@ interactions: ParameterSetName: - -g -n --admin-username --generate-ssh-keys --image --accept-term User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vmss_deploy_MyIwr6evFrib5smJKys3EN3j7YwrLbfs","name":"vmss_deploy_MyIwr6evFrib5smJKys3EN3j7YwrLbfs","type":"Microsoft.Resources/deployments","properties":{"templateHash":"10103033486738875923","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-07-11T09:13:47.3904399Z","duration":"PT1M0.9661199S","correlationId":"118bedea-87f1-4735-9bfc-a0d6accfac86","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["eastus2"]},{"resourceType":"loadBalancers","locations":["eastus2"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["eastus2"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vmss000004LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss000004LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000004LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss000004LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000004LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss000004LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss000004","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss000004"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"orchestrationMode":"Uniform","upgradePolicy":{"mode":"Manual","rollingUpgradePolicy":{"maxBatchInstancePercent":20,"maxUnhealthyInstancePercent":20,"maxUnhealthyUpgradedInstancePercent":20,"pauseTimeBetweenBatches":"PT0S","maxSurge":false,"rollbackFailedInstancesOnPolicyBreach":false}},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss3489a","adminUsername":"gallerytest","linuxConfiguration":{"disablePasswordAuthentication":true,"ssh":{"publicKeys":[{"path":"/home/gallerytest/.ssh/authorized_keys","keyData":"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABgQDLq1sEri2RcnDg8tjo775iZUd5HVjAdQjSgky6ciJgrvPNUxZv9D65dL9GLllmDhq4Xv6SxbppUJhG0vl/VgaRRPyWRrHXgZRBl0c+H0A2X0Y7L/9sir1ezs2xv89+T03Y+KQYGyZa4xuxwlfdsl6YHjHGW97ONxyDfQesFkSdwyRI0RsnV0/GB8mRF32tgSwxqT8cpXjzjz7w4usgT52knfpyslFfZGRfTjamae/sZeezBTSfsvgryEMxxxXBvXC8/iiTxRG9cQxURK6t1VCeT6F7OmJhY2G+sPCXbkEyOjkfT18y/iUSyPEPVkoaO8Ab9eNPIUFBhRPapQlZ5YsQcIBrDmBb013lRdH82K6Q7Avp3x5liFwjQT96p5CIikl6MlJScZ6SK1dnqAEEPuBvz7vCKSsVaIxTeZhnpiX44cp87VGOR1Sqlus3s3C4NbRKU/a3023vmMV6t/F9SY94sFlWPs2q6ihRTmqV5oYZScJlGgp9voQ/9XStN+4pfAE= - zhuyan@microsoft.com\n"}]},"provisionVMAgent":true,"enableVMAgentPlatformUpdates":false},"secrets":[],"allowExtensionOperations":true,"requireGuestProvisionSignal":true},"storageProfile":{"osDisk":{"osType":"Linux","createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":30},"imageReference":{"communityGalleryImageId":"/CommunityGalleries/pubname-59640251-13fc-4c30-887c-ceec2d625317/Images/image000006/Versions/1.1.2"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss3489aNic","properties":{"primary":true,"enableAcceleratedNetworking":false,"disableTcpStateTracking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss3489aIPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET/subnets/vm000002Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000004LB/backendAddressPools/vmss000004LBBEPool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000004LB/inboundNatPools/vmss000004LBNatPool"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"3fa5bb91-a667-49a2-a818-29ab7eb594c4","timeCreated":"2023-07-11T09:13:09.1368244+00:00"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss000004"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000004LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vmss000004LBPublicIP"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vmss_deploy_6yJdwFga8pLCHrIGN0LDZunjpyjDj7Tj","name":"vmss_deploy_6yJdwFga8pLCHrIGN0LDZunjpyjDj7Tj","type":"Microsoft.Resources/deployments","properties":{"templateHash":"4010437416551632940","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-07-25T03:08:41.5656623Z","duration":"PT52.5781216S","correlationId":"8be7589f-8a60-4741-9266-b95473dbf4f2","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["eastus2"]},{"resourceType":"loadBalancers","locations":["eastus2"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["eastus2"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vmss000004LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss000004LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000004LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss000004LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000004LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss000004LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss000004","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss000004"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"orchestrationMode":"Uniform","upgradePolicy":{"mode":"Manual","rollingUpgradePolicy":{"maxBatchInstancePercent":20,"maxUnhealthyInstancePercent":20,"maxUnhealthyUpgradedInstancePercent":20,"pauseTimeBetweenBatches":"PT0S","maxSurge":false,"rollbackFailedInstancesOnPolicyBreach":false}},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmssq5cb9","adminUsername":"gallerytest","linuxConfiguration":{"disablePasswordAuthentication":true,"ssh":{"publicKeys":[{"path":"/home/gallerytest/.ssh/authorized_keys","keyData":"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAABgQDmGsW4LjseEjF/ye2EN/w3j6dmswbvXI7N/UlAqV8aCxHeYYIjFDnuhFQSF7i1iYgTt8St/6FGkIaTA4ZefhrVVZtJw8dUEKzDkUIMfdQGu4TdlpDjQIeUSHzz1KNFwhANVNK9pm1cy5Z4P3GJd1PP+lTx/IRP+qZesTC/UCSV7EluCmoj5xg6LeC9MWksu07APIFRJySqxVi8nSbCFFHODW5QTZ/82n6iJzbSRDn7KgEQGzfFEAZgzxJE+ino+r3569kWzO/qkixm92swj97fnuOX7i0Ohe1T4Me5dFvpEifoQ3bii1vG4DQDQ7L2pvEvzQyy11Hr9dDtPHZTCzeIr62vWArq75T149ZLCNjfQh44vmbeSPAc/0KVakQOEiDjLvUkMSgDUx6DD4bQgiaEyWnZ23CZ3U1U9xag4p3Kl48tGLGHTpzplaZJQEAVogeloxE1tPLBGi7et3TskoXejHhl9BrtsnXLeNVj1ep9dqD2kxNogVSc4/Av8Wuv9oU= + zhuyan@microsoft.com\n"}]},"provisionVMAgent":true,"enableVMAgentPlatformUpdates":false},"secrets":[],"allowExtensionOperations":true,"requireGuestProvisionSignal":true},"storageProfile":{"osDisk":{"osType":"Linux","createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":30},"imageReference":{"communityGalleryImageId":"/CommunityGalleries/pubname-32898677-8cd3-40a1-be41-7af2e5355851/Images/image000006/Versions/1.1.2"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmssq5cb9Nic","properties":{"primary":true,"enableAcceleratedNetworking":false,"disableTcpStateTracking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmssq5cb9IPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET/subnets/vm000002Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000004LB/backendAddressPools/vmss000004LBBEPool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000004LB/inboundNatPools/vmss000004LBNatPool"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"4f559c50-edac-4358-bd7b-c84a3ae49848","timeCreated":"2023-07-25T03:08:05.2426599+00:00"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss000004"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000004LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vmss000004LBPublicIP"}]}}' headers: cache-control: - no-cache content-length: - - '5093' + - '5091' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:13:52 GMT + - Tue, 25 Jul 2023 03:08:52 GMT expires: - '-1' pragma: @@ -4104,7 +4204,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/virtualMachineScaleSets/vmss000004?api-version=2023-03-01 response: @@ -4119,11 +4219,11 @@ interactions: 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\",\r\n \"maxSurge\": false,\r\n \"rollbackFailedInstancesOnPolicyBreach\": false\r\n }\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": - {\r\n \"computerNamePrefix\": \"vmss3489a\",\r\n \"adminUsername\": + {\r\n \"computerNamePrefix\": \"vmssq5cb9\",\r\n \"adminUsername\": \"gallerytest\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \ \"path\": \"/home/gallerytest/.ssh/authorized_keys\",\r\n - \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDLq1sEri2RcnDg8tjo775iZUd5HVjAdQjSgky6ciJgrvPNUxZv9D65dL9GLllmDhq4Xv6SxbppUJhG0vl/VgaRRPyWRrHXgZRBl0c+H0A2X0Y7L/9sir1ezs2xv89+T03Y+KQYGyZa4xuxwlfdsl6YHjHGW97ONxyDfQesFkSdwyRI0RsnV0/GB8mRF32tgSwxqT8cpXjzjz7w4usgT52knfpyslFfZGRfTjamae/sZeezBTSfsvgryEMxxxXBvXC8/iiTxRG9cQxURK6t1VCeT6F7OmJhY2G+sPCXbkEyOjkfT18y/iUSyPEPVkoaO8Ab9eNPIUFBhRPapQlZ5YsQcIBrDmBb013lRdH82K6Q7Avp3x5liFwjQT96p5CIikl6MlJScZ6SK1dnqAEEPuBvz7vCKSsVaIxTeZhnpiX44cp87VGOR1Sqlus3s3C4NbRKU/a3023vmMV6t/F9SY94sFlWPs2q6ihRTmqV5oYZScJlGgp9voQ/9XStN+4pfAE= + \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDmGsW4LjseEjF/ye2EN/w3j6dmswbvXI7N/UlAqV8aCxHeYYIjFDnuhFQSF7i1iYgTt8St/6FGkIaTA4ZefhrVVZtJw8dUEKzDkUIMfdQGu4TdlpDjQIeUSHzz1KNFwhANVNK9pm1cy5Z4P3GJd1PP+lTx/IRP+qZesTC/UCSV7EluCmoj5xg6LeC9MWksu07APIFRJySqxVi8nSbCFFHODW5QTZ/82n6iJzbSRDn7KgEQGzfFEAZgzxJE+ino+r3569kWzO/qkixm92swj97fnuOX7i0Ohe1T4Me5dFvpEifoQ3bii1vG4DQDQ7L2pvEvzQyy11Hr9dDtPHZTCzeIr62vWArq75T149ZLCNjfQh44vmbeSPAc/0KVakQOEiDjLvUkMSgDUx6DD4bQgiaEyWnZ23CZ3U1U9xag4p3Kl48tGLGHTpzplaZJQEAVogeloxE1tPLBGi7et3TskoXejHhl9BrtsnXLeNVj1ep9dqD2kxNogVSc4/Av8Wuv9oU= zhuyan@microsoft.com\\n\"\r\n }\r\n ]\r\n },\r\n \ \"provisionVMAgent\": true,\r\n \"enableVMAgentPlatformUpdates\": false\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": @@ -4132,11 +4232,11 @@ interactions: \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \ \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": - {\r\n \"communityGalleryImageId\": \"/CommunityGalleries/pubname-59640251-13fc-4c30-887c-ceec2d625317/Images/image000006/Versions/1.1.2\"\r\n - \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss3489aNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"disableTcpStateTracking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss3489aIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET/subnets/vm000002Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000004LB/backendAddressPools/vmss000004LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000004LB/inboundNatPools/vmss000004LBNatPool\"}]}}]}}]}\r\n + {\r\n \"communityGalleryImageId\": \"/CommunityGalleries/pubname-32898677-8cd3-40a1-be41-7af2e5355851/Images/image000006/Versions/1.1.2\"\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmssq5cb9Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"disableTcpStateTracking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmssq5cb9IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET/subnets/vm000002Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000004LB/backendAddressPools/vmss000004LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000004LB/inboundNatPools/vmss000004LBNatPool\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"3fa5bb91-a667-49a2-a818-29ab7eb594c4\",\r\n \"timeCreated\": \"2023-07-11T09:13:09.1368244+00:00\"\r\n + \"4f559c50-edac-4358-bd7b-c84a3ae49848\",\r\n \"timeCreated\": \"2023-07-25T03:08:05.2426599+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -4146,7 +4246,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:13:55 GMT + - Tue, 25 Jul 2023 03:08:55 GMT expires: - '-1' pragma: @@ -4185,7 +4285,7 @@ interactions: ParameterSetName: - --gallery-name -g User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/galleries/gellery000005/share?api-version=2022-03-03 response: @@ -4193,17 +4293,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/f445057c-951f-4980-a48a-cf56929a7ce8?api-version=2022-03-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/b591e3bb-6b11-4cf2-a435-09ccb872591a?api-version=2022-03-03 cache-control: - no-cache content-length: - '0' date: - - Tue, 11 Jul 2023 09:13:58 GMT + - Tue, 25 Jul 2023 03:08:57 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/f445057c-951f-4980-a48a-cf56929a7ce8?monitor=true&api-version=2022-03-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/b591e3bb-6b11-4cf2-a435-09ccb872591a?monitor=true&api-version=2022-03-03 pragma: - no-cache server: @@ -4234,64 +4334,14 @@ interactions: ParameterSetName: - --gallery-name -g User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/f445057c-951f-4980-a48a-cf56929a7ce8?api-version=2022-03-03 - response: - body: - string: "{\r\n \"startTime\": \"2023-07-11T09:13:58.0156266+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"f445057c-951f-4980-a48a-cf56929a7ce8\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 11 Jul 2023 09:13:58 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;1199,Microsoft.Compute/GetOperationStatus30Min;4177 - 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.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/f445057c-951f-4980-a48a-cf56929a7ce8?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/b591e3bb-6b11-4cf2-a435-09ccb872591a?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:13:58.0156266+00:00\",\r\n \"endTime\": - \"2023-07-11T09:13:58.4375195+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"f445057c-951f-4980-a48a-cf56929a7ce8\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T03:08:57.9737847+00:00\",\r\n \"endTime\": + \"2023-07-25T03:08:58.3487967+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"b591e3bb-6b11-4cf2-a435-09ccb872591a\"\r\n}" headers: cache-control: - no-cache @@ -4300,7 +4350,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:14:28 GMT + - Tue, 25 Jul 2023 03:08:58 GMT expires: - '-1' pragma: @@ -4317,7 +4367,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1197,Microsoft.Compute/GetOperationStatus30Min;4175 + - Microsoft.Compute/GetOperationStatus3Min;1199,Microsoft.Compute/GetOperationStatus30Min;4177 status: code: 200 message: OK @@ -4335,9 +4385,9 @@ interactions: ParameterSetName: - --gallery-name -g User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/f445057c-951f-4980-a48a-cf56929a7ce8?monitor=true&api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/b591e3bb-6b11-4cf2-a435-09ccb872591a?monitor=true&api-version=2022-03-03 response: body: string: '' @@ -4347,7 +4397,7 @@ interactions: content-length: - '0' date: - - Tue, 11 Jul 2023 09:14:28 GMT + - Tue, 25 Jul 2023 03:08:58 GMT expires: - '-1' pragma: @@ -4360,7 +4410,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1196,Microsoft.Compute/GetOperationStatus30Min;4174 + - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4176 status: code: 200 message: OK @@ -4378,7 +4428,7 @@ interactions: ParameterSetName: - --gallery-name --resource-group --select User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/gellery000005?api-version=2021-10-01&$select=Permissions response: @@ -4386,7 +4436,7 @@ interactions: string: "{\r\n \"name\": \"gellery000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gellery000005\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"eastus2\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYCNJCNLZMR\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYY5U7UBFBC\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Private\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -4397,7 +4447,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:14:30 GMT + - Tue, 25 Jul 2023 03:09:01 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_vm_with_shared_gallery_image.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_vm_with_shared_gallery_image.yaml index 5b679c16c54..00d8d81596a 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_vm_with_shared_gallery_image.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_create_vm_with_shared_gallery_image.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - -g --gallery-name --permissions User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_create_vm_with_shared_gallery_image","date":"2023-07-11T08:59:22Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_create_vm_with_shared_gallery_image","date":"2023-07-25T02:53:23Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:24 GMT + - Tue, 25 Jul 2023 02:53:29 GMT expires: - '-1' pragma: @@ -60,7 +60,7 @@ interactions: ParameterSetName: - -g --gallery-name --permissions User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/gellery000007?api-version=2021-10-01 response: @@ -68,12 +68,12 @@ interactions: string: "{\r\n \"name\": \"gellery000007\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gellery000007\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4JBV7QPO\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSKEUORLJI\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Groups\"\r\n },\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/8f27ee97-226f-415d-b5e5-c7a931fafd80?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/8398e403-29d2-43da-8a75-d753a57e1923?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -81,7 +81,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:30 GMT + - Tue, 25 Jul 2023 02:53:33 GMT expires: - '-1' pragma: @@ -96,7 +96,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateGallery3Min;49,Microsoft.Compute/CreateUpdateGallery30Min;299 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -114,14 +114,14 @@ interactions: ParameterSetName: - -g --gallery-name --permissions User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/8f27ee97-226f-415d-b5e5-c7a931fafd80?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/8398e403-29d2-43da-8a75-d753a57e1923?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T08:59:29.6935533+00:00\",\r\n \"endTime\": - \"2023-07-11T08:59:30.0217396+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"8f27ee97-226f-415d-b5e5-c7a931fafd80\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:53:33.4646679+00:00\",\r\n \"endTime\": + \"2023-07-25T02:53:33.8552995+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"8398e403-29d2-43da-8a75-d753a57e1923\"\r\n}" headers: cache-control: - no-cache @@ -130,7 +130,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:30 GMT + - Tue, 25 Jul 2023 02:53:33 GMT expires: - '-1' pragma: @@ -165,7 +165,7 @@ interactions: ParameterSetName: - -g --gallery-name --permissions User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/gellery000007?api-version=2021-10-01 response: @@ -173,7 +173,7 @@ interactions: string: "{\r\n \"name\": \"gellery000007\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gellery000007\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4JBV7QPO\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSKEUORLJI\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Groups\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -184,7 +184,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:30 GMT + - Tue, 25 Jul 2023 02:53:34 GMT expires: - '-1' pragma: @@ -201,7 +201,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;349,Microsoft.Compute/GetGallery30Min;2496 + - Microsoft.Compute/GetGallery3Min;349,Microsoft.Compute/GetGallery30Min;2499 status: code: 200 message: OK @@ -219,12 +219,12 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_create_vm_with_shared_gallery_image","date":"2023-07-11T08:59:22Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_create_vm_with_shared_gallery_image","date":"2023-07-25T02:53:23Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -233,7 +233,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:32 GMT + - Tue, 25 Jul 2023 02:53:36 GMT expires: - '-1' pragma: @@ -267,7 +267,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/gellery000007/images/image000008?api-version=2021-10-01 response: @@ -281,7 +281,7 @@ interactions: \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/034993ec-c339-4e6f-8436-c678e35bfded?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/eadd1724-15d4-4e2f-8dc8-819f8e366269?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -289,7 +289,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:37 GMT + - Tue, 25 Jul 2023 02:53:41 GMT expires: - '-1' pragma: @@ -322,14 +322,14 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/034993ec-c339-4e6f-8436-c678e35bfded?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/eadd1724-15d4-4e2f-8dc8-819f8e366269?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T08:59:37.0686833+00:00\",\r\n \"endTime\": - \"2023-07-11T08:59:37.1937306+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"034993ec-c339-4e6f-8436-c678e35bfded\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:53:40.6991254+00:00\",\r\n \"endTime\": + \"2023-07-25T02:53:40.8085839+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"eadd1724-15d4-4e2f-8dc8-819f8e366269\"\r\n}" headers: cache-control: - no-cache @@ -338,7 +338,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:38 GMT + - Tue, 25 Jul 2023 02:53:41 GMT expires: - '-1' pragma: @@ -373,7 +373,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/gellery000007/images/image000008?api-version=2021-10-01 response: @@ -393,7 +393,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:38 GMT + - Tue, 25 Jul 2023 02:53:41 GMT expires: - '-1' pragma: @@ -410,7 +410,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImage3Min;598,Microsoft.Compute/GetGalleryImage30Min;2997 + - Microsoft.Compute/GetGalleryImage3Min;599,Microsoft.Compute/GetGalleryImage30Min;2999 status: code: 200 message: OK @@ -428,12 +428,12 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_create_vm_with_shared_gallery_image","date":"2023-07-11T08:59:22Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_create_vm_with_shared_gallery_image","date":"2023-07-25T02:53:23Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -442,7 +442,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:39 GMT + - Tue, 25 Jul 2023 02:53:42 GMT expires: - '-1' pragma: @@ -470,7 +470,7 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 response: @@ -486,7 +486,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:39 GMT + - Tue, 25 Jul 2023 02:53:44 GMT expires: - '-1' pragma: @@ -503,7 +503,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43991 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43994 status: code: 200 message: OK @@ -521,7 +521,7 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202306070?api-version=2022-11-01 response: @@ -547,7 +547,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:41 GMT + - Tue, 25 Jul 2023 02:53:46 GMT expires: - '-1' pragma: @@ -564,7 +564,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73993 + - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73995 status: code: 200 message: OK @@ -582,7 +582,7 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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=2022-01-01 response: @@ -596,7 +596,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:42 GMT + - Tue, 25 Jul 2023 02:53:47 GMT expires: - '-1' pragma: @@ -624,7 +624,7 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 response: @@ -640,7 +640,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:43 GMT + - Tue, 25 Jul 2023 02:53:48 GMT expires: - '-1' pragma: @@ -657,7 +657,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15998,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43990 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15998,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43993 status: code: 200 message: OK @@ -675,7 +675,7 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202306070?api-version=2022-11-01 response: @@ -701,7 +701,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:44 GMT + - Tue, 25 Jul 2023 02:53:51 GMT expires: - '-1' pragma: @@ -718,7 +718,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12998,Microsoft.Compute/GetVMImageFromLocation30Min;73992 + - Microsoft.Compute/GetVMImageFromLocation3Min;12998,Microsoft.Compute/GetVMImageFromLocation30Min;73994 status: code: 200 message: OK @@ -736,7 +736,7 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 response: @@ -752,7 +752,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:45 GMT + - Tue, 25 Jul 2023 02:53:52 GMT expires: - '-1' pragma: @@ -769,7 +769,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15997,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43989 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15997,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43992 status: code: 200 message: OK @@ -787,7 +787,7 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202306070?api-version=2022-11-01 response: @@ -813,7 +813,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:47 GMT + - Tue, 25 Jul 2023 02:53:53 GMT expires: - '-1' pragma: @@ -830,7 +830,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12997,Microsoft.Compute/GetVMImageFromLocation30Min;73991 + - Microsoft.Compute/GetVMImageFromLocation3Min;12997,Microsoft.Compute/GetVMImageFromLocation30Min;73993 status: code: 200 message: OK @@ -863,7 +863,7 @@ interactions: {"storageAccountType": null}, "createOption": "empty", "diskSizeGB": 10}]}, "osProfile": {"computerName": "vm000002", "adminUsername": "clitest1", "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABgQDLq1sEri2RcnDg8tjo775iZUd5HVjAdQjSgky6ciJgrvPNUxZv9D65dL9GLllmDhq4Xv6SxbppUJhG0vl/VgaRRPyWRrHXgZRBl0c+H0A2X0Y7L/9sir1ezs2xv89+T03Y+KQYGyZa4xuxwlfdsl6YHjHGW97ONxyDfQesFkSdwyRI0RsnV0/GB8mRF32tgSwxqT8cpXjzjz7w4usgT52knfpyslFfZGRfTjamae/sZeezBTSfsvgryEMxxxXBvXC8/iiTxRG9cQxURK6t1VCeT6F7OmJhY2G+sPCXbkEyOjkfT18y/iUSyPEPVkoaO8Ab9eNPIUFBhRPapQlZ5YsQcIBrDmBb013lRdH82K6Q7Avp3x5liFwjQT96p5CIikl6MlJScZ6SK1dnqAEEPuBvz7vCKSsVaIxTeZhnpiX44cp87VGOR1Sqlus3s3C4NbRKU/a3023vmMV6t/F9SY94sFlWPs2q6ihRTmqV5oYZScJlGgp9voQ/9XStN+4pfAE= + AAAAB3NzaC1yc2EAAAADAQABAAABgQDmGsW4LjseEjF/ye2EN/w3j6dmswbvXI7N/UlAqV8aCxHeYYIjFDnuhFQSF7i1iYgTt8St/6FGkIaTA4ZefhrVVZtJw8dUEKzDkUIMfdQGu4TdlpDjQIeUSHzz1KNFwhANVNK9pm1cy5Z4P3GJd1PP+lTx/IRP+qZesTC/UCSV7EluCmoj5xg6LeC9MWksu07APIFRJySqxVi8nSbCFFHODW5QTZ/82n6iJzbSRDn7KgEQGzfFEAZgzxJE+ino+r3569kWzO/qkixm92swj97fnuOX7i0Ohe1T4Me5dFvpEifoQ3bii1vG4DQDQ7L2pvEvzQyy11Hr9dDtPHZTCzeIr62vWArq75T149ZLCNjfQh44vmbeSPAc/0KVakQOEiDjLvUkMSgDUx6DD4bQgiaEyWnZ23CZ3U1U9xag4p3Kl48tGLGHTpzplaZJQEAVogeloxE1tPLBGi7et3TskoXejHhl9BrtsnXLeNVj1ep9dqD2kxNogVSc4/Av8Wuv9oU= zhuyan@microsoft.com\n", "path": "/home/clitest1/.ssh/authorized_keys"}]}}}}}], "outputs": {}}, "parameters": {}, "mode": "incremental"}}' headers: @@ -882,15 +882,15 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_fRr9L6YbkOczghbgdJoVk9WJiZKdveaF","name":"vm_deploy_fRr9L6YbkOczghbgdJoVk9WJiZKdveaF","type":"Microsoft.Resources/deployments","properties":{"templateHash":"2030311247204159442","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-07-11T08:59:54.3642052Z","duration":"PT0.0006731S","correlationId":"c7ceecce-a4db-4bfb-abbb-f6372f8de330","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm000002VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm000002PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm000002"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_z3zh7sreBFVou2PhCADsFZMSi52XxtoH","name":"vm_deploy_z3zh7sreBFVou2PhCADsFZMSi52XxtoH","type":"Microsoft.Resources/deployments","properties":{"templateHash":"5572905508768129524","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-07-25T02:53:59.0087961Z","duration":"PT0.0005037S","correlationId":"c48c512e-813c-4417-a3d5-09bd31d9ef64","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm000002VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm000002PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm000002"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_fRr9L6YbkOczghbgdJoVk9WJiZKdveaF/operationStatuses/08585125408942251142?api-version=2022-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_z3zh7sreBFVou2PhCADsFZMSi52XxtoH/operationStatuses/08585113532486735056?api-version=2022-09-01 cache-control: - no-cache content-length: @@ -898,7 +898,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:55 GMT + - Tue, 25 Jul 2023 02:53:59 GMT expires: - '-1' pragma: @@ -926,9 +926,9 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585125408942251142?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585113532486735056?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -940,7 +940,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 08:59:55 GMT + - Tue, 25 Jul 2023 02:54:00 GMT expires: - '-1' pragma: @@ -968,9 +968,9 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585125408942251142?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585113532486735056?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -982,7 +982,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:00:26 GMT + - Tue, 25 Jul 2023 02:54:30 GMT expires: - '-1' pragma: @@ -1010,9 +1010,9 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585125408942251142?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585113532486735056?api-version=2022-09-01 response: body: string: '{"status":"Succeeded"}' @@ -1024,7 +1024,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:00:56 GMT + - Tue, 25 Jul 2023 02:55:01 GMT expires: - '-1' pragma: @@ -1052,21 +1052,21 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_fRr9L6YbkOczghbgdJoVk9WJiZKdveaF","name":"vm_deploy_fRr9L6YbkOczghbgdJoVk9WJiZKdveaF","type":"Microsoft.Resources/deployments","properties":{"templateHash":"2030311247204159442","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-07-11T09:00:43.6638868Z","duration":"PT49.3003547S","correlationId":"c7ceecce-a4db-4bfb-abbb-f6372f8de330","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm000002VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm000002PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm000002"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_z3zh7sreBFVou2PhCADsFZMSi52XxtoH","name":"vm_deploy_z3zh7sreBFVou2PhCADsFZMSi52XxtoH","type":"Microsoft.Resources/deployments","properties":{"templateHash":"5572905508768129524","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-07-25T02:54:36.256403Z","duration":"PT37.2481106S","correlationId":"c48c512e-813c-4417-a3d5-09bd31d9ef64","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm000002VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm000002PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm000002VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm000002"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET"}]}}' headers: cache-control: - no-cache content-length: - - '3184' + - '3183' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:00:57 GMT + - Tue, 25 Jul 2023 02:55:01 GMT expires: - '-1' pragma: @@ -1094,36 +1094,36 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/vm000002?$expand=instanceView&api-version=2022-11-01 response: body: string: "{\r\n \"name\": \"vm000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"d77fb1f5-f7d9-4430-9158-663e36ca09fd\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"0269cb50-aafe-46b7-8f77-2251461ef921\",\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.202306070\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm000002_disk1_e40c286f7b99494cab4997d5355706b2\",\r\n + \"Linux\",\r\n \"name\": \"vm000002_disk1_3a0f1cf618624435971bcdc21c7e5b09\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk1_e40c286f7b99494cab4997d5355706b2\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk1_3a0f1cf618624435971bcdc21c7e5b09\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": - 0,\r\n \"name\": \"vm000002_disk2_e11d235d021445a7bbe0f4cf52cd1450\",\r\n + 0,\r\n \"name\": \"vm000002_disk2_eb23755381a84a4085686285ac02d43f\",\r\n \ \"createOption\": \"Empty\",\r\n \"caching\": \"None\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk2_e11d235d021445a7bbe0f4cf52cd1450\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk2_eb23755381a84a4085686285ac02d43f\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 10,\r\n \"toBeDetached\": false\r\n }\r\n ]\r\n },\r\n \ \"osProfile\": {\r\n \"computerName\": \"vm000002\",\r\n \"adminUsername\": \"clitest1\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \ \"path\": \"/home/clitest1/.ssh/authorized_keys\",\r\n \"keyData\": - \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDLq1sEri2RcnDg8tjo775iZUd5HVjAdQjSgky6ciJgrvPNUxZv9D65dL9GLllmDhq4Xv6SxbppUJhG0vl/VgaRRPyWRrHXgZRBl0c+H0A2X0Y7L/9sir1ezs2xv89+T03Y+KQYGyZa4xuxwlfdsl6YHjHGW97ONxyDfQesFkSdwyRI0RsnV0/GB8mRF32tgSwxqT8cpXjzjz7w4usgT52knfpyslFfZGRfTjamae/sZeezBTSfsvgryEMxxxXBvXC8/iiTxRG9cQxURK6t1VCeT6F7OmJhY2G+sPCXbkEyOjkfT18y/iUSyPEPVkoaO8Ab9eNPIUFBhRPapQlZ5YsQcIBrDmBb013lRdH82K6Q7Avp3x5liFwjQT96p5CIikl6MlJScZ6SK1dnqAEEPuBvz7vCKSsVaIxTeZhnpiX44cp87VGOR1Sqlus3s3C4NbRKU/a3023vmMV6t/F9SY94sFlWPs2q6ihRTmqV5oYZScJlGgp9voQ/9XStN+4pfAE= + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDmGsW4LjseEjF/ye2EN/w3j6dmswbvXI7N/UlAqV8aCxHeYYIjFDnuhFQSF7i1iYgTt8St/6FGkIaTA4ZefhrVVZtJw8dUEKzDkUIMfdQGu4TdlpDjQIeUSHzz1KNFwhANVNK9pm1cy5Z4P3GJd1PP+lTx/IRP+qZesTC/UCSV7EluCmoj5xg6LeC9MWksu07APIFRJySqxVi8nSbCFFHODW5QTZ/82n6iJzbSRDn7KgEQGzfFEAZgzxJE+ino+r3569kWzO/qkixm92swj97fnuOX7i0Ohe1T4Me5dFvpEifoQ3bii1vG4DQDQ7L2pvEvzQyy11Hr9dDtPHZTCzeIr62vWArq75T149ZLCNjfQh44vmbeSPAc/0KVakQOEiDjLvUkMSgDUx6DD4bQgiaEyWnZ23CZ3U1U9xag4p3Kl48tGLGHTpzplaZJQEAVogeloxE1tPLBGi7et3TskoXejHhl9BrtsnXLeNVj1ep9dqD2kxNogVSc4/Av8Wuv9oU= zhuyan@microsoft.com\\n\"\r\n }\r\n ]\r\n },\r\n \ \"provisionVMAgent\": true,\r\n \"patchSettings\": {\r\n \"patchMode\": \"ImageDefault\",\r\n \"assessmentMode\": \"ImageDefault\"\r\n },\r\n @@ -1136,33 +1136,33 @@ interactions: [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2023-07-11T09:00:54+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm000002_disk1_e40c286f7b99494cab4997d5355706b2\",\r\n + \"2023-07-25T02:54:46+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm000002_disk1_3a0f1cf618624435971bcdc21c7e5b09\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2023-07-11T09:00:17.914937+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-25T02:54:20.2622141+00:00\"\r\n \ }\r\n ]\r\n },\r\n {\r\n \"name\": - \"vm000002_disk2_e11d235d021445a7bbe0f4cf52cd1450\",\r\n \"statuses\": + \"vm000002_disk2_eb23755381a84a4085686285ac02d43f\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2023-07-11T09:00:17.914937+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-25T02:54:20.2622141+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\": \"2023-07-11T09:00:40.9934493+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-25T02:54:32.4187327+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n - \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2023-07-11T09:00:14.4305144+00:00\"\r\n + \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2023-07-25T02:54:17.699744+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '4991' + - '4992' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:00:58 GMT + - Tue, 25 Jul 2023 02:55:02 GMT expires: - '-1' pragma: @@ -1179,7 +1179,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31925 + - Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31997 status: code: 200 message: OK @@ -1197,18 +1197,18 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/vm000002VMNic?api-version=2022-01-01 response: body: string: "{\r\n \"name\": \"vm000002VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic\",\r\n - \ \"etag\": \"W/\\\"00f90670-07fb-4c79-9ce8-ec55c362d177\\\"\",\r\n \"tags\": + \ \"etag\": \"W/\\\"00c9ba8f-e50a-416f-9415-5f86dd6502b0\\\"\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"88d055fc-d2de-404c-99b8-b56309ae1cc8\",\r\n \"ipConfigurations\": + \ \"resourceGuid\": \"0b57ce54-c676-413e-8da9-47e8945c34c4\",\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic/ipConfigurations/ipconfigvm000002\",\r\n - \ \"etag\": \"W/\\\"00f90670-07fb-4c79-9ce8-ec55c362d177\\\"\",\r\n + \ \"etag\": \"W/\\\"00c9ba8f-e50a-416f-9415-5f86dd6502b0\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -1217,8 +1217,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\": - \"iov5kp3qk2pelgb2o2x3vtvq5f.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-0D-3A-31-7F-B6\",\r\n \"vnetEncryptionSupported\": false,\r\n \"enableIPForwarding\": + \"1ube2hcs50ve1g2qrshj0wk5ce.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-22-48-09-6E-18\",\r\n \"vnetEncryptionSupported\": false,\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm000002NSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002\"\r\n @@ -1234,9 +1234,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:01:00 GMT + - Tue, 25 Jul 2023 02:55:04 GMT etag: - - W/"00f90670-07fb-4c79-9ce8-ec55c362d177" + - W/"00c9ba8f-e50a-416f-9415-5f86dd6502b0" expires: - '-1' pragma: @@ -1253,7 +1253,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f5543bcc-0f2c-4f29-939e-5bc1ff6f9c0f + - 856c1cf3-6089-4620-81e3-4e2c722f29d9 status: code: 200 message: OK @@ -1271,16 +1271,16 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/vm000002PublicIP?api-version=2022-01-01 response: body: string: "{\r\n \"name\": \"vm000002PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm000002PublicIP\",\r\n - \ \"etag\": \"W/\\\"1436877e-941f-4a55-93d2-3e9f8d98a968\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"4cd32570-0b8b-45ce-afd6-0115e3285c11\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"10e66e41-e2c8-41b3-a6cb-c72e371b8327\",\r\n - \ \"ipAddress\": \"104.42.144.71\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"ce1a1ce0-103e-4380-bcc6-6a14efee8704\",\r\n + \ \"ipAddress\": \"23.99.93.133\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic/ipConfigurations/ipconfigvm000002\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n @@ -1290,13 +1290,13 @@ interactions: cache-control: - no-cache content-length: - - '924' + - '923' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:01:01 GMT + - Tue, 25 Jul 2023 02:55:05 GMT etag: - - W/"1436877e-941f-4a55-93d2-3e9f8d98a968" + - W/"4cd32570-0b8b-45ce-afd6-0115e3285c11" expires: - '-1' pragma: @@ -1313,7 +1313,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3ed6b0ae-67fc-4be6-a194-3c94e3f6b1b0 + - c29a1f89-f5ca-4197-ad5c-efdbce56f73c status: code: 200 message: OK @@ -1333,7 +1333,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/vm000002/deallocate?api-version=2022-11-01 response: @@ -1343,17 +1343,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/15e4c14c-b0ac-40b2-8aff-a7a3b02c3a9e?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/1ffb6cb5-a661-4cc0-a24c-9ab9c0dc2dc8?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 11 Jul 2023 09:02:12 GMT + - Tue, 25 Jul 2023 02:56:17 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/15e4c14c-b0ac-40b2-8aff-a7a3b02c3a9e?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2022-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/1ffb6cb5-a661-4cc0-a24c-9ab9c0dc2dc8?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2022-11-01 pragma: - no-cache server: @@ -1364,7 +1364,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/DeleteVM3Min;236,Microsoft.Compute/DeleteVM30Min;1187 + - Microsoft.Compute/DeleteVM3Min;239,Microsoft.Compute/DeleteVM30Min;1199 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -1384,13 +1384,63 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/1ffb6cb5-a661-4cc0-a24c-9ab9c0dc2dc8?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-25T02:56:17.8109788+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"1ffb6cb5-a661-4cc0-a24c-9ab9c0dc2dc8\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 25 Jul 2023 02:56:17 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;14998,Microsoft.Compute/GetOperation30Min;29996 + 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.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/15e4c14c-b0ac-40b2-8aff-a7a3b02c3a9e?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/1ffb6cb5-a661-4cc0-a24c-9ab9c0dc2dc8?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:02:13.0574126+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"15e4c14c-b0ac-40b2-8aff-a7a3b02c3a9e\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:56:17.8109788+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"1ffb6cb5-a661-4cc0-a24c-9ab9c0dc2dc8\"\r\n}" headers: cache-control: - no-cache @@ -1399,7 +1449,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:02:12 GMT + - Tue, 25 Jul 2023 02:56:48 GMT expires: - '-1' pragma: @@ -1416,7 +1466,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14958,Microsoft.Compute/GetOperation30Min;29721 + - Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29994 status: code: 200 message: OK @@ -1434,14 +1484,14 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/15e4c14c-b0ac-40b2-8aff-a7a3b02c3a9e?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/1ffb6cb5-a661-4cc0-a24c-9ab9c0dc2dc8?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:02:13.0574126+00:00\",\r\n \"endTime\": - \"2023-07-11T09:02:39.7297299+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"15e4c14c-b0ac-40b2-8aff-a7a3b02c3a9e\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:56:17.8109788+00:00\",\r\n \"endTime\": + \"2023-07-25T02:56:54.5928075+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"1ffb6cb5-a661-4cc0-a24c-9ab9c0dc2dc8\"\r\n}" headers: cache-control: - no-cache @@ -1450,7 +1500,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:02:43 GMT + - Tue, 25 Jul 2023 02:57:18 GMT expires: - '-1' pragma: @@ -1467,7 +1517,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14951,Microsoft.Compute/GetOperation30Min;29713 + - Microsoft.Compute/GetOperation3Min;14994,Microsoft.Compute/GetOperation30Min;29992 status: code: 200 message: OK @@ -1485,9 +1535,9 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/15e4c14c-b0ac-40b2-8aff-a7a3b02c3a9e?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/1ffb6cb5-a661-4cc0-a24c-9ab9c0dc2dc8?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2022-11-01 response: body: string: '' @@ -1497,7 +1547,7 @@ interactions: content-length: - '0' date: - - Tue, 11 Jul 2023 09:02:43 GMT + - Tue, 25 Jul 2023 02:57:18 GMT expires: - '-1' pragma: @@ -1510,7 +1560,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14950,Microsoft.Compute/GetOperation30Min;29712 + - Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29991 status: code: 200 message: OK @@ -1530,7 +1580,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/vm000002/generalize?api-version=2022-11-01 response: @@ -1542,7 +1592,7 @@ interactions: content-length: - '0' date: - - Tue, 11 Jul 2023 09:02:44 GMT + - Tue, 25 Jul 2023 02:57:20 GMT expires: - '-1' pragma: @@ -1555,7 +1605,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/UpdateVM3Min;239,Microsoft.Compute/UpdateVM30Min;1198 + - Microsoft.Compute/UpdateVM3Min;239,Microsoft.Compute/UpdateVM30Min;1199 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -1575,50 +1625,50 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/vm000002?api-version=2022-11-01 response: body: string: "{\r\n \"name\": \"vm000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"d77fb1f5-f7d9-4430-9158-663e36ca09fd\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"0269cb50-aafe-46b7-8f77-2251461ef921\",\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.202306070\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm000002_disk1_e40c286f7b99494cab4997d5355706b2\",\r\n + \"Linux\",\r\n \"name\": \"vm000002_disk1_3a0f1cf618624435971bcdc21c7e5b09\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n - \ \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk1_e40c286f7b99494cab4997d5355706b2\"\r\n + \ \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk1_3a0f1cf618624435971bcdc21c7e5b09\"\r\n \ },\r\n \"deleteOption\": \"Detach\"\r\n },\r\n \"dataDisks\": - [\r\n {\r\n \"lun\": 0,\r\n \"name\": \"vm000002_disk2_e11d235d021445a7bbe0f4cf52cd1450\",\r\n + [\r\n {\r\n \"lun\": 0,\r\n \"name\": \"vm000002_disk2_eb23755381a84a4085686285ac02d43f\",\r\n \ \"createOption\": \"Empty\",\r\n \"caching\": \"None\",\r\n - \ \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk2_e11d235d021445a7bbe0f4cf52cd1450\"\r\n + \ \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk2_eb23755381a84a4085686285ac02d43f\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"toBeDetached\": false\r\n }\r\n ]\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm000002\",\r\n \"adminUsername\": \"clitest1\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/clitest1/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABgQDLq1sEri2RcnDg8tjo775iZUd5HVjAdQjSgky6ciJgrvPNUxZv9D65dL9GLllmDhq4Xv6SxbppUJhG0vl/VgaRRPyWRrHXgZRBl0c+H0A2X0Y7L/9sir1ezs2xv89+T03Y+KQYGyZa4xuxwlfdsl6YHjHGW97ONxyDfQesFkSdwyRI0RsnV0/GB8mRF32tgSwxqT8cpXjzjz7w4usgT52knfpyslFfZGRfTjamae/sZeezBTSfsvgryEMxxxXBvXC8/iiTxRG9cQxURK6t1VCeT6F7OmJhY2G+sPCXbkEyOjkfT18y/iUSyPEPVkoaO8Ab9eNPIUFBhRPapQlZ5YsQcIBrDmBb013lRdH82K6Q7Avp3x5liFwjQT96p5CIikl6MlJScZ6SK1dnqAEEPuBvz7vCKSsVaIxTeZhnpiX44cp87VGOR1Sqlus3s3C4NbRKU/a3023vmMV6t/F9SY94sFlWPs2q6ihRTmqV5oYZScJlGgp9voQ/9XStN+4pfAE= + AAAAB3NzaC1yc2EAAAADAQABAAABgQDmGsW4LjseEjF/ye2EN/w3j6dmswbvXI7N/UlAqV8aCxHeYYIjFDnuhFQSF7i1iYgTt8St/6FGkIaTA4ZefhrVVZtJw8dUEKzDkUIMfdQGu4TdlpDjQIeUSHzz1KNFwhANVNK9pm1cy5Z4P3GJd1PP+lTx/IRP+qZesTC/UCSV7EluCmoj5xg6LeC9MWksu07APIFRJySqxVi8nSbCFFHODW5QTZ/82n6iJzbSRDn7KgEQGzfFEAZgzxJE+ino+r3569kWzO/qkixm92swj97fnuOX7i0Ohe1T4Me5dFvpEifoQ3bii1vG4DQDQ7L2pvEvzQyy11Hr9dDtPHZTCzeIr62vWArq75T149ZLCNjfQh44vmbeSPAc/0KVakQOEiDjLvUkMSgDUx6DD4bQgiaEyWnZ23CZ3U1U9xag4p3Kl48tGLGHTpzplaZJQEAVogeloxE1tPLBGi7et3TskoXejHhl9BrtsnXLeNVj1ep9dqD2kxNogVSc4/Av8Wuv9oU= zhuyan@microsoft.com\\n\"\r\n }\r\n ]\r\n },\r\n \ \"provisionVMAgent\": true,\r\n \"patchSettings\": {\r\n \"patchMode\": \"ImageDefault\",\r\n \"assessmentMode\": \"ImageDefault\"\r\n },\r\n \ \"enableVMAgentPlatformUpdates\": false\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm000002VMNic\"}]},\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2023-07-11T09:00:14.4305144+00:00\"\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2023-07-25T02:54:17.699744+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '3175' + - '3174' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:02:46 GMT + - Tue, 25 Jul 2023 02:57:22 GMT expires: - '-1' pragma: @@ -1635,7 +1685,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3987,Microsoft.Compute/LowCostGet30Min;31916 + - Microsoft.Compute/LowCostGet3Min;3993,Microsoft.Compute/LowCostGet30Min;31995 status: code: 200 message: OK @@ -1653,12 +1703,12 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_create_vm_with_shared_gallery_image","date":"2023-07-11T08:59:22Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_create_vm_with_shared_gallery_image","date":"2023-07-25T02:53:23Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1667,7 +1717,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:02:46 GMT + - Tue, 25 Jul 2023 02:57:23 GMT expires: - '-1' pragma: @@ -1701,7 +1751,7 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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=2022-11-01 response: @@ -1712,10 +1762,10 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002\"\r\n \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"managedDisk\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk1_e40c286f7b99494cab4997d5355706b2\"\r\n + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk1_3a0f1cf618624435971bcdc21c7e5b09\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": - 0,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk2_e11d235d021445a7bbe0f4cf52cd1450\"\r\n + 0,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk2_eb23755381a84a4085686285ac02d43f\"\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}" @@ -1723,7 +1773,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/f25320f6-151b-4a35-a3a8-50361244c550?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c83c38e9-b69f-43f5-8c02-bdb4ec90330b?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 cache-control: - no-cache content-length: @@ -1731,7 +1781,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:02:51 GMT + - Tue, 25 Jul 2023 02:57:26 GMT expires: - '-1' pragma: @@ -1746,7 +1796,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateImages3Min;39,Microsoft.Compute/CreateImages30Min;199 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -1764,13 +1814,13 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/f25320f6-151b-4a35-a3a8-50361244c550?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c83c38e9-b69f-43f5-8c02-bdb4ec90330b?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:02:51.4017956+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"f25320f6-151b-4a35-a3a8-50361244c550\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:57:26.4214542+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"c83c38e9-b69f-43f5-8c02-bdb4ec90330b\"\r\n}" headers: cache-control: - no-cache @@ -1779,7 +1829,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:02:52 GMT + - Tue, 25 Jul 2023 02:57:26 GMT expires: - '-1' pragma: @@ -1796,7 +1846,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14947,Microsoft.Compute/GetOperation30Min;29709 + - Microsoft.Compute/GetOperation3Min;14992,Microsoft.Compute/GetOperation30Min;29990 status: code: 200 message: OK @@ -1814,14 +1864,14 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/f25320f6-151b-4a35-a3a8-50361244c550?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c83c38e9-b69f-43f5-8c02-bdb4ec90330b?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:02:51.4017956+00:00\",\r\n \"endTime\": - \"2023-07-11T09:02:56.5424895+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"f25320f6-151b-4a35-a3a8-50361244c550\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:57:26.4214542+00:00\",\r\n \"endTime\": + \"2023-07-25T02:57:31.7027803+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"c83c38e9-b69f-43f5-8c02-bdb4ec90330b\"\r\n}" headers: cache-control: - no-cache @@ -1830,7 +1880,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:03:22 GMT + - Tue, 25 Jul 2023 02:57:57 GMT expires: - '-1' pragma: @@ -1847,7 +1897,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14952,Microsoft.Compute/GetOperation30Min;29707 + - Microsoft.Compute/GetOperation3Min;14992,Microsoft.Compute/GetOperation30Min;29989 status: code: 200 message: OK @@ -1865,7 +1915,7 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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=2022-11-01 response: @@ -1876,11 +1926,11 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm000002\"\r\n \ },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": \"Generalized\",\r\n \"diskSizeGB\": - 30,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk1_e40c286f7b99494cab4997d5355706b2\"\r\n + 30,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk1_3a0f1cf618624435971bcdc21c7e5b09\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": 0,\r\n \"diskSizeGB\": 10,\r\n \"managedDisk\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk2_e11d235d021445a7bbe0f4cf52cd1450\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm000002_disk2_eb23755381a84a4085686285ac02d43f\"\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}" @@ -1892,7 +1942,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:03:23 GMT + - Tue, 25 Jul 2023 02:57:58 GMT expires: - '-1' pragma: @@ -1928,12 +1978,12 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_create_vm_with_shared_gallery_image","date":"2023-07-11T08:59:22Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_create_vm_with_shared_gallery_image","date":"2023-07-25T02:53:23Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1942,7 +1992,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:03:24 GMT + - Tue, 25 Jul 2023 02:57:59 GMT expires: - '-1' pragma: @@ -1977,7 +2027,7 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/gellery000007/images/image000008/versions/1.1.2?api-version=2022-03-03 response: @@ -1988,7 +2038,7 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2023-07-11T09:03:27.9788051+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2023-07-25T02:58:03.7802382+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 \"safetyProfile\": {\r\n \"reportedForPolicyViolation\": @@ -1996,7 +2046,7 @@ interactions: \ \"provisioningState\": \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a7b4ef30-d4b6-40f6-bb92-bd58b8e10588?api-version=2022-03-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/3b3a04e1-7863-4687-9198-1647445be4b5?api-version=2022-03-03 cache-control: - no-cache content-length: @@ -2004,7 +2054,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:03:28 GMT + - Tue, 25 Jul 2023 02:58:03 GMT expires: - '-1' pragma: @@ -2038,22 +2088,22 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a7b4ef30-d4b6-40f6-bb92-bd58b8e10588?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/3b3a04e1-7863-4687-9198-1647445be4b5?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:03:27.9788051+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"a7b4ef30-d4b6-40f6-bb92-bd58b8e10588\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:58:03.764623+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"3b3a04e1-7863-4687-9198-1647445be4b5\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:03:29 GMT + - Tue, 25 Jul 2023 02:58:04 GMT expires: - '-1' pragma: @@ -2089,22 +2139,22 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a7b4ef30-d4b6-40f6-bb92-bd58b8e10588?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/3b3a04e1-7863-4687-9198-1647445be4b5?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:03:27.9788051+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"a7b4ef30-d4b6-40f6-bb92-bd58b8e10588\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:58:03.764623+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"3b3a04e1-7863-4687-9198-1647445be4b5\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:04:30 GMT + - Tue, 25 Jul 2023 02:59:05 GMT expires: - '-1' pragma: @@ -2140,22 +2190,22 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a7b4ef30-d4b6-40f6-bb92-bd58b8e10588?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/3b3a04e1-7863-4687-9198-1647445be4b5?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:03:27.9788051+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"a7b4ef30-d4b6-40f6-bb92-bd58b8e10588\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:58:03.764623+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"3b3a04e1-7863-4687-9198-1647445be4b5\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:05:30 GMT + - Tue, 25 Jul 2023 03:00:05 GMT expires: - '-1' pragma: @@ -2191,22 +2241,22 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a7b4ef30-d4b6-40f6-bb92-bd58b8e10588?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/3b3a04e1-7863-4687-9198-1647445be4b5?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:03:27.9788051+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"a7b4ef30-d4b6-40f6-bb92-bd58b8e10588\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:58:03.764623+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"3b3a04e1-7863-4687-9198-1647445be4b5\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:06:31 GMT + - Tue, 25 Jul 2023 03:01:06 GMT expires: - '-1' pragma: @@ -2242,22 +2292,22 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a7b4ef30-d4b6-40f6-bb92-bd58b8e10588?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/3b3a04e1-7863-4687-9198-1647445be4b5?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:03:27.9788051+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"a7b4ef30-d4b6-40f6-bb92-bd58b8e10588\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:58:03.764623+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"3b3a04e1-7863-4687-9198-1647445be4b5\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:07:32 GMT + - Tue, 25 Jul 2023 03:02:07 GMT expires: - '-1' pragma: @@ -2293,22 +2343,22 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a7b4ef30-d4b6-40f6-bb92-bd58b8e10588?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/3b3a04e1-7863-4687-9198-1647445be4b5?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:03:27.9788051+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"a7b4ef30-d4b6-40f6-bb92-bd58b8e10588\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:58:03.764623+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"3b3a04e1-7863-4687-9198-1647445be4b5\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:08:33 GMT + - Tue, 25 Jul 2023 03:03:07 GMT expires: - '-1' pragma: @@ -2344,22 +2394,22 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a7b4ef30-d4b6-40f6-bb92-bd58b8e10588?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/3b3a04e1-7863-4687-9198-1647445be4b5?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:03:27.9788051+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"a7b4ef30-d4b6-40f6-bb92-bd58b8e10588\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:58:03.764623+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"3b3a04e1-7863-4687-9198-1647445be4b5\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:09:33 GMT + - Tue, 25 Jul 2023 03:04:08 GMT expires: - '-1' pragma: @@ -2395,22 +2445,23 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a7b4ef30-d4b6-40f6-bb92-bd58b8e10588?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/3b3a04e1-7863-4687-9198-1647445be4b5?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:03:27.9788051+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"a7b4ef30-d4b6-40f6-bb92-bd58b8e10588\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T02:58:03.764623+00:00\",\r\n \"endTime\": + \"2023-07-25T03:04:50.1129856+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"3b3a04e1-7863-4687-9198-1647445be4b5\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '183' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:10:34 GMT + - Tue, 25 Jul 2023 03:05:08 GMT expires: - '-1' pragma: @@ -2446,59 +2497,7 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/a7b4ef30-d4b6-40f6-bb92-bd58b8e10588?api-version=2022-03-03 - response: - body: - string: "{\r\n \"startTime\": \"2023-07-11T09:03:27.9788051+00:00\",\r\n \"endTime\": - \"2023-07-11T09:10:36.1427325+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"a7b4ef30-d4b6-40f6-bb92-bd58b8e10588\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '184' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 11 Jul 2023 09:11:34 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4180 - 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.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/gellery000007/images/image000008/versions/1.1.2?api-version=2022-03-03 response: @@ -2509,7 +2508,7 @@ interactions: {\r\n \"targetRegions\": [\r\n {\r\n \"name\": \"West US\",\r\n \"regionalReplicaCount\": 1,\r\n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n ],\r\n \"replicaCount\": 1,\r\n - \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2023-07-11T09:03:27.9788051+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2023-07-25T02:58:03.7802382+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\": @@ -2527,7 +2526,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:11:35 GMT + - Tue, 25 Jul 2023 03:05:09 GMT expires: - '-1' pragma: @@ -2544,7 +2543,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImageVersion3Min;1997,Microsoft.Compute/GetGalleryImageVersion30Min;9994 + - Microsoft.Compute/GetGalleryImageVersion3Min;1999,Microsoft.Compute/GetGalleryImageVersion30Min;9997 status: code: 200 message: OK @@ -2562,7 +2561,7 @@ interactions: ParameterSetName: - --gallery-name --resource-group --select User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/gellery000007?api-version=2021-10-01&$select=Permissions response: @@ -2570,7 +2569,7 @@ interactions: string: "{\r\n \"name\": \"gellery000007\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gellery000007\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4JBV7QPO\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSKEUORLJI\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Groups\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -2581,7 +2580,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:11:37 GMT + - Tue, 25 Jul 2023 03:05:12 GMT expires: - '-1' pragma: @@ -2598,7 +2597,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;345,Microsoft.Compute/GetGallery30Min;2488 + - Microsoft.Compute/GetGallery3Min;345,Microsoft.Compute/GetGallery30Min;2489 status: code: 200 message: OK @@ -2621,7 +2620,7 @@ interactions: ParameterSetName: - --gallery-name -g --subscription-ids --tenant-ids User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/galleries/gellery000007/share?api-version=2022-03-03 response: @@ -2629,17 +2628,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/4fa64dbd-504a-45a0-9eac-8c4fc5deb208?api-version=2022-03-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/346b5949-9a19-4eb6-ba07-596c3c8f4147?api-version=2022-03-03 cache-control: - no-cache content-length: - '0' date: - - Tue, 11 Jul 2023 09:11:38 GMT + - Tue, 25 Jul 2023 03:05:13 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/4fa64dbd-504a-45a0-9eac-8c4fc5deb208?monitor=true&api-version=2022-03-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/346b5949-9a19-4eb6-ba07-596c3c8f4147?monitor=true&api-version=2022-03-03 pragma: - no-cache server: @@ -2670,23 +2669,23 @@ interactions: ParameterSetName: - --gallery-name -g --subscription-ids --tenant-ids User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/4fa64dbd-504a-45a0-9eac-8c4fc5deb208?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/346b5949-9a19-4eb6-ba07-596c3c8f4147?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:11:39.2688955+00:00\",\r\n \"endTime\": - \"2023-07-11T09:11:39.4095148+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"4fa64dbd-504a-45a0-9eac-8c4fc5deb208\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T03:05:14.5507736+00:00\",\r\n \"endTime\": + \"2023-07-25T03:05:14.91015+00:00\",\r\n \"status\": \"Succeeded\",\r\n \"name\": + \"346b5949-9a19-4eb6-ba07-596c3c8f4147\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '182' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:11:38 GMT + - Tue, 25 Jul 2023 03:05:14 GMT expires: - '-1' pragma: @@ -2703,7 +2702,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4179 + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4181 status: code: 200 message: OK @@ -2721,9 +2720,9 @@ interactions: ParameterSetName: - --gallery-name -g --subscription-ids --tenant-ids User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/4fa64dbd-504a-45a0-9eac-8c4fc5deb208?monitor=true&api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/346b5949-9a19-4eb6-ba07-596c3c8f4147?monitor=true&api-version=2022-03-03 response: body: string: '' @@ -2733,7 +2732,7 @@ interactions: content-length: - '0' date: - - Tue, 11 Jul 2023 09:11:39 GMT + - Tue, 25 Jul 2023 03:05:14 GMT expires: - '-1' pragma: @@ -2746,7 +2745,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4178 + - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4179 status: code: 200 message: OK @@ -2764,18 +2763,18 @@ interactions: ParameterSetName: - --gallery-image-definition --gallery-unique-name --location --gallery-image-version User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4JBV7QPO/images/image000008/versions/1.1.2?api-version=2022-01-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSKEUORLJI/images/image000008/versions/1.1.2?api-version=2022-01-03 response: body: - string: "{\r\n \"properties\": {\r\n \"publishedDate\": \"2023-07-11T09:03:27.9788051+00:00\",\r\n + string: "{\r\n \"properties\": {\r\n \"publishedDate\": \"2023-07-25T02:58:03.7802382+00:00\",\r\n \ \"excludeFromLatest\": false,\r\n \"storageProfile\": {\r\n \"osDiskImage\": {\r\n \"diskSizeGB\": 30,\r\n \"hostCaching\": \"ReadWrite\"\r\n \ },\r\n \"dataDiskImages\": [\r\n {\r\n \"lun\": 0,\r\n \"diskSizeGB\": 10,\r\n \"hostCaching\": \"None\"\r\n \ }\r\n ]\r\n }\r\n },\r\n \"location\": \"westus\",\r\n \"name\": - \"1.1.2\",\r\n \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4JBV7QPO/Images/image000008/Versions/1.1.2\"\r\n + \"1.1.2\",\r\n \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSKEUORLJI/Images/image000008/Versions/1.1.2\"\r\n \ }\r\n}" headers: cache-control: @@ -2785,7 +2784,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:11:40 GMT + - Tue, 25 Jul 2023 03:05:16 GMT expires: - '-1' pragma: @@ -2820,12 +2819,12 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_create_vm_with_shared_gallery_image","date":"2023-07-11T08:59:22Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_create_vm_with_shared_gallery_image","date":"2023-07-25T02:53:23Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -2834,7 +2833,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:11:41 GMT + - Tue, 25 Jul 2023 03:05:18 GMT expires: - '-1' pragma: @@ -2862,9 +2861,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4JBV7QPO/images/image000008?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSKEUORLJI/images/image000008?api-version=2022-03-03 response: body: string: "{\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": @@ -2872,7 +2871,7 @@ interactions: \"V1\",\r\n \"architecture\": \"x64\",\r\n \"identifier\": {\r\n \"publisher\": \"publisher1\",\r\n \"offer\": \"offer1\",\r\n \"sku\": \"sku1\"\r\n \ }\r\n },\r\n \"location\": \"westus\",\r\n \"name\": \"image000008\",\r\n - \ \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4JBV7QPO/Images/image000008\"\r\n + \ \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSKEUORLJI/Images/image000008\"\r\n \ }\r\n}" headers: cache-control: @@ -2882,7 +2881,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:11:42 GMT + - Tue, 25 Jul 2023 03:05:19 GMT expires: - '-1' pragma: @@ -2917,24 +2916,24 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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=2022-01-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"vm000002VNET\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET\",\r\n - \ \"etag\": \"W/\\\"f8bf10ad-7692-4793-bf9e-cb25ce2e225a\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"327b0b02-73c8-4907-a8cf-00b9e1458f97\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"3ff5ab43-57b0-451e-983c-772fdaceb0fd\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"1c4e02dd-fe52-4daa-9b90-8c8e9d595f14\",\r\n \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"vm000002Subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET/subnets/vm000002Subnet\",\r\n - \ \"etag\": \"W/\\\"f8bf10ad-7692-4793-bf9e-cb25ce2e225a\\\"\",\r\n + \ \"etag\": \"W/\\\"327b0b02-73c8-4907-a8cf-00b9e1458f97\\\"\",\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.RGW2JEWAHGXAWPT4GHDN3JRW4VYFVOUKBDFLNZFPHFWHJTEM6277FGBULXIMPYR45QR/providers/Microsoft.Network/networkInterfaces/VMWUFGHSVQ66YUT3VMNIC/ipConfigurations/IPCONFIGVMWUFGHSVQ66YUT3\"\r\n + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLITEST.RG2EIBZ2OLWHKNBRCXSSVH347WU6KWHMZAIIAU4H3R43XSSA6LYBHHVPDY4GVVKQCTE/providers/Microsoft.Network/networkInterfaces/VM45RNCB4MSS7VYWVMNIC/ipConfigurations/IPCONFIGVM45RNCB4MSS7VYW\"\r\n \ }\r\n ],\r\n \"delegations\": [],\r\n \ \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n @@ -2948,7 +2947,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:11:44 GMT + - Tue, 25 Jul 2023 03:05:21 GMT expires: - '-1' pragma: @@ -2965,7 +2964,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8739d4c3-59a9-4c28-be4d-5c3703601653 + - 4883ca6f-3a1a-41cc-a9c7-a0996a76a0da status: code: 200 message: OK @@ -2983,9 +2982,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4JBV7QPO/images/image000008?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSKEUORLJI/images/image000008?api-version=2022-03-03 response: body: string: "{\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": @@ -2993,7 +2992,7 @@ interactions: \"V1\",\r\n \"architecture\": \"x64\",\r\n \"identifier\": {\r\n \"publisher\": \"publisher1\",\r\n \"offer\": \"offer1\",\r\n \"sku\": \"sku1\"\r\n \ }\r\n },\r\n \"location\": \"westus\",\r\n \"name\": \"image000008\",\r\n - \ \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4JBV7QPO/Images/image000008\"\r\n + \ \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSKEUORLJI/Images/image000008\"\r\n \ }\r\n}" headers: cache-control: @@ -3003,7 +3002,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:11:44 GMT + - Tue, 25 Jul 2023 03:05:22 GMT expires: - '-1' pragma: @@ -3045,10 +3044,10 @@ interactions: {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic", "properties": {"deleteOption": null}}]}, "storageProfile": {"osDisk": {"caching": "ReadWrite", "managedDisk": {"storageAccountType": null}, "name": null, "createOption": - "fromImage"}, "imageReference": {"sharedGalleryImageId": "/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4JBV7QPO/Images/image000008/Versions/1.1.2"}}, - "osProfile": {"computerName": "vmsgvb3av64oya6", "adminUsername": "clitest1", + "fromImage"}, "imageReference": {"sharedGalleryImageId": "/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSKEUORLJI/Images/image000008/Versions/1.1.2"}}, + "osProfile": {"computerName": "vmsgvt5dilcjnli", "adminUsername": "clitest1", "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": - [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDLq1sEri2RcnDg8tjo775iZUd5HVjAdQjSgky6ciJgrvPNUxZv9D65dL9GLllmDhq4Xv6SxbppUJhG0vl/VgaRRPyWRrHXgZRBl0c+H0A2X0Y7L/9sir1ezs2xv89+T03Y+KQYGyZa4xuxwlfdsl6YHjHGW97ONxyDfQesFkSdwyRI0RsnV0/GB8mRF32tgSwxqT8cpXjzjz7w4usgT52knfpyslFfZGRfTjamae/sZeezBTSfsvgryEMxxxXBvXC8/iiTxRG9cQxURK6t1VCeT6F7OmJhY2G+sPCXbkEyOjkfT18y/iUSyPEPVkoaO8Ab9eNPIUFBhRPapQlZ5YsQcIBrDmBb013lRdH82K6Q7Avp3x5liFwjQT96p5CIikl6MlJScZ6SK1dnqAEEPuBvz7vCKSsVaIxTeZhnpiX44cp87VGOR1Sqlus3s3C4NbRKU/a3023vmMV6t/F9SY94sFlWPs2q6ihRTmqV5oYZScJlGgp9voQ/9XStN+4pfAE= + [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDmGsW4LjseEjF/ye2EN/w3j6dmswbvXI7N/UlAqV8aCxHeYYIjFDnuhFQSF7i1iYgTt8St/6FGkIaTA4ZefhrVVZtJw8dUEKzDkUIMfdQGu4TdlpDjQIeUSHzz1KNFwhANVNK9pm1cy5Z4P3GJd1PP+lTx/IRP+qZesTC/UCSV7EluCmoj5xg6LeC9MWksu07APIFRJySqxVi8nSbCFFHODW5QTZ/82n6iJzbSRDn7KgEQGzfFEAZgzxJE+ino+r3569kWzO/qkixm92swj97fnuOX7i0Ohe1T4Me5dFvpEifoQ3bii1vG4DQDQ7L2pvEvzQyy11Hr9dDtPHZTCzeIr62vWArq75T149ZLCNjfQh44vmbeSPAc/0KVakQOEiDjLvUkMSgDUx6DD4bQgiaEyWnZ23CZ3U1U9xag4p3Kl48tGLGHTpzplaZJQEAVogeloxE1tPLBGi7et3TskoXejHhl9BrtsnXLeNVj1ep9dqD2kxNogVSc4/Av8Wuv9oU= zhuyan@microsoft.com\n", "path": "/home/clitest1/.ssh/authorized_keys"}]}}}}}], "outputs": {}}, "parameters": {}, "mode": "incremental"}}' headers: @@ -3067,23 +3066,23 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_FxRNrSV28pFElthWVuKCrjlJ3en6CxHY","name":"vm_deploy_FxRNrSV28pFElthWVuKCrjlJ3en6CxHY","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3416306684791226509","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-07-11T09:11:51.3234336Z","duration":"PT0.0005814S","correlationId":"1f38f71f-4454-4830-8ad5-c5e8db151f02","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm_sgv000004NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm_sgv000004NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm_sgv000004PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm_sgv000004PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sgv000004VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sgv000004VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sgv000004","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm_sgv000004"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_veOFt9XLykljpG5dmAm2Qy9aRu8PbqW0","name":"vm_deploy_veOFt9XLykljpG5dmAm2Qy9aRu8PbqW0","type":"Microsoft.Resources/deployments","properties":{"templateHash":"17499656599588154984","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-07-25T03:05:28.9103012Z","duration":"PT0.0008528S","correlationId":"43fb27f8-533f-46de-a0ba-00ec34105d05","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm_sgv000004NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm_sgv000004NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm_sgv000004PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm_sgv000004PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sgv000004VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sgv000004VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sgv000004","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm_sgv000004"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_FxRNrSV28pFElthWVuKCrjlJ3en6CxHY/operationStatuses/08585125401770108414?api-version=2022-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_veOFt9XLykljpG5dmAm2Qy9aRu8PbqW0/operationStatuses/08585113525584777522?api-version=2022-09-01 cache-control: - no-cache content-length: - - '2140' + - '2141' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:11:52 GMT + - Tue, 25 Jul 2023 03:05:29 GMT expires: - '-1' pragma: @@ -3111,51 +3110,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585125401770108414?api-version=2022-09-01 - response: - body: - string: '{"status":"Accepted"}' - headers: - cache-control: - - no-cache - content-length: - - '21' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 11 Jul 2023 09:11:52 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -g -n --image --admin-username --generate-ssh-key --nsg-rule - User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585125401770108414?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585113525584777522?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -3167,7 +3124,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:12:23 GMT + - Tue, 25 Jul 2023 03:05:29 GMT expires: - '-1' pragma: @@ -3195,9 +3152,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585125401770108414?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585113525584777522?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -3209,7 +3166,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:12:53 GMT + - Tue, 25 Jul 2023 03:06:00 GMT expires: - '-1' pragma: @@ -3237,9 +3194,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585125401770108414?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585113525584777522?api-version=2022-09-01 response: body: string: '{"status":"Succeeded"}' @@ -3251,7 +3208,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:13:23 GMT + - Tue, 25 Jul 2023 03:06:30 GMT expires: - '-1' pragma: @@ -3279,12 +3236,12 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_FxRNrSV28pFElthWVuKCrjlJ3en6CxHY","name":"vm_deploy_FxRNrSV28pFElthWVuKCrjlJ3en6CxHY","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3416306684791226509","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-07-11T09:12:54.4706953Z","duration":"PT1M3.1478431S","correlationId":"1f38f71f-4454-4830-8ad5-c5e8db151f02","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm_sgv000004NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm_sgv000004NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm_sgv000004PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm_sgv000004PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sgv000004VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sgv000004VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sgv000004","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm_sgv000004"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sgv000004"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm_sgv000004NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm_sgv000004PublicIP"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_veOFt9XLykljpG5dmAm2Qy9aRu8PbqW0","name":"vm_deploy_veOFt9XLykljpG5dmAm2Qy9aRu8PbqW0","type":"Microsoft.Resources/deployments","properties":{"templateHash":"17499656599588154984","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-07-25T03:06:16.4819359Z","duration":"PT47.5724875S","correlationId":"43fb27f8-533f-46de-a0ba-00ec34105d05","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm_sgv000004NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm_sgv000004NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm_sgv000004PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm_sgv000004PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sgv000004VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm_sgv000004VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sgv000004","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm_sgv000004"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sgv000004"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm_sgv000004NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm_sgv000004PublicIP"}]}}' headers: cache-control: - no-cache @@ -3293,7 +3250,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:13:24 GMT + - Tue, 25 Jul 2023 03:06:31 GMT expires: - '-1' pragma: @@ -3321,35 +3278,35 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/vm_sgv000004?$expand=instanceView&api-version=2022-11-01 response: body: string: "{\r\n \"name\": \"vm_sgv000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sgv000004\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"40077ae4-f7a2-42a0-8911-4b9c6e5321e9\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"91beffd6-26ae-4775-ac9c-58fa8eb15a5a\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"exactVersion\": - \"1.1.2\",\r\n \"sharedGalleryImageId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4JBV7QPO/Images/image000008/Versions/1.1.2\"\r\n + \"1.1.2\",\r\n \"sharedGalleryImageId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSKEUORLJI/Images/image000008/Versions/1.1.2\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm_sgv000004_OsDisk_1_6e5daf403eb44b03b3d30cf51fbc42f4\",\r\n \"createOption\": + \"vm_sgv000004_OsDisk_1_970d83a6a4954930a43ff7e77c355b1b\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm_sgv000004_OsDisk_1_6e5daf403eb44b03b3d30cf51fbc42f4\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm_sgv000004_OsDisk_1_970d83a6a4954930a43ff7e77c355b1b\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": - 0,\r\n \"name\": \"vm_sgv000004_lun_0_2_e98fdfdbabc04120a189509581c32969\",\r\n + 0,\r\n \"name\": \"vm_sgv000004_lun_0_2_4bce452083ea41b194e42ad25378d3ef\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"None\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm_sgv000004_lun_0_2_e98fdfdbabc04120a189509581c32969\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm_sgv000004_lun_0_2_4bce452083ea41b194e42ad25378d3ef\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 10,\r\n \"toBeDetached\": false\r\n }\r\n ]\r\n },\r\n - \ \"osProfile\": {\r\n \"computerName\": \"vmsgvb3av64oya6\",\r\n \"adminUsername\": + \ \"osProfile\": {\r\n \"computerName\": \"vmsgvt5dilcjnli\",\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 AAAAB3NzaC1yc2EAAAADAQABAAABgQDLq1sEri2RcnDg8tjo775iZUd5HVjAdQjSgky6ciJgrvPNUxZv9D65dL9GLllmDhq4Xv6SxbppUJhG0vl/VgaRRPyWRrHXgZRBl0c+H0A2X0Y7L/9sir1ezs2xv89+T03Y+KQYGyZa4xuxwlfdsl6YHjHGW97ONxyDfQesFkSdwyRI0RsnV0/GB8mRF32tgSwxqT8cpXjzjz7w4usgT52knfpyslFfZGRfTjamae/sZeezBTSfsvgryEMxxxXBvXC8/iiTxRG9cQxURK6t1VCeT6F7OmJhY2G+sPCXbkEyOjkfT18y/iUSyPEPVkoaO8Ab9eNPIUFBhRPapQlZ5YsQcIBrDmBb013lRdH82K6Q7Avp3x5liFwjQT96p5CIikl6MlJScZ6SK1dnqAEEPuBvz7vCKSsVaIxTeZhnpiX44cp87VGOR1Sqlus3s3C4NbRKU/a3023vmMV6t/F9SY94sFlWPs2q6ihRTmqV5oYZScJlGgp9voQ/9XStN+4pfAE= + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDmGsW4LjseEjF/ye2EN/w3j6dmswbvXI7N/UlAqV8aCxHeYYIjFDnuhFQSF7i1iYgTt8St/6FGkIaTA4ZefhrVVZtJw8dUEKzDkUIMfdQGu4TdlpDjQIeUSHzz1KNFwhANVNK9pm1cy5Z4P3GJd1PP+lTx/IRP+qZesTC/UCSV7EluCmoj5xg6LeC9MWksu07APIFRJySqxVi8nSbCFFHODW5QTZ/82n6iJzbSRDn7KgEQGzfFEAZgzxJE+ino+r3569kWzO/qkixm92swj97fnuOX7i0Ohe1T4Me5dFvpEifoQ3bii1vG4DQDQ7L2pvEvzQyy11Hr9dDtPHZTCzeIr62vWArq75T149ZLCNjfQh44vmbeSPAc/0KVakQOEiDjLvUkMSgDUx6DD4bQgiaEyWnZ23CZ3U1U9xag4p3Kl48tGLGHTpzplaZJQEAVogeloxE1tPLBGi7et3TskoXejHhl9BrtsnXLeNVj1ep9dqD2kxNogVSc4/Av8Wuv9oU= zhuyan@microsoft.com\\n\"\r\n }\r\n ]\r\n },\r\n \ \"provisionVMAgent\": true,\r\n \"patchSettings\": {\r\n \"patchMode\": \"ImageDefault\",\r\n \"assessmentMode\": \"ImageDefault\"\r\n },\r\n @@ -3357,38 +3314,38 @@ interactions: [],\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/vm_sgv000004VMNic\"}]},\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": - \"vmsgvb3av64oya6\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": + \"vmsgvt5dilcjnli\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": \"18.04\",\r\n \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.9.1.1\",\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\": - \"2023-07-11T09:13:00+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm_sgv000004_OsDisk_1_6e5daf403eb44b03b3d30cf51fbc42f4\",\r\n + \"2023-07-25T03:06:19+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm_sgv000004_OsDisk_1_970d83a6a4954930a43ff7e77c355b1b\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2023-07-11T09:12:18.1921039+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-25T03:05:46.3826679+00:00\"\r\n \ }\r\n ]\r\n },\r\n {\r\n \"name\": - \"vm_sgv000004_lun_0_2_e98fdfdbabc04120a189509581c32969\",\r\n \"statuses\": + \"vm_sgv000004_lun_0_2_4bce452083ea41b194e42ad25378d3ef\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2023-07-11T09:12:18.1921039+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-25T03:05:46.3826679+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\": \"2023-07-11T09:12:51.6614382+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-25T03:06:14.305006+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n - \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2023-07-11T09:12:16.5514511+00:00\"\r\n + \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2023-07-25T03:05:44.4295096+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '5065' + - '5064' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:13:25 GMT + - Tue, 25 Jul 2023 03:06:32 GMT expires: - '-1' pragma: @@ -3405,7 +3362,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3988,Microsoft.Compute/LowCostGet30Min;31911 + - Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31991 status: code: 200 message: OK @@ -3423,18 +3380,18 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/vm_sgv000004VMNic?api-version=2022-01-01 response: body: string: "{\r\n \"name\": \"vm_sgv000004VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic\",\r\n - \ \"etag\": \"W/\\\"28190087-2ef8-44a2-9560-61834864b5b9\\\"\",\r\n \"tags\": + \ \"etag\": \"W/\\\"e74fe98a-0892-40b3-97ee-b55cb5505552\\\"\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"ddae3782-596a-4108-ad48-7a9125ccc865\",\r\n \"ipConfigurations\": + \ \"resourceGuid\": \"8de03557-28d1-413d-b9cf-2365170102cf\",\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm_sgv000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic/ipConfigurations/ipconfigvm_sgv000004\",\r\n - \ \"etag\": \"W/\\\"28190087-2ef8-44a2-9560-61834864b5b9\\\"\",\r\n + \ \"etag\": \"W/\\\"e74fe98a-0892-40b3-97ee-b55cb5505552\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.5\",\r\n \"privateIPAllocationMethod\": @@ -3443,8 +3400,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\": - \"iov5kp3qk2pelgb2o2x3vtvq5f.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-22-48-0B-4F-B9\",\r\n \"vnetEncryptionSupported\": false,\r\n \"enableIPForwarding\": + \"1ube2hcs50ve1g2qrshj0wk5ce.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"60-45-BD-05-02-46\",\r\n \"vnetEncryptionSupported\": false,\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkSecurityGroups/vm_sgv000004NSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sgv000004\"\r\n @@ -3460,9 +3417,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:13:27 GMT + - Tue, 25 Jul 2023 03:06:37 GMT etag: - - W/"28190087-2ef8-44a2-9560-61834864b5b9" + - W/"e74fe98a-0892-40b3-97ee-b55cb5505552" expires: - '-1' pragma: @@ -3479,7 +3436,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e3b6b0fe-baf2-4fe6-b0f2-9fe05cb7367f + - c760ae28-5c46-47cb-817e-4a59568fcda3 status: code: 200 message: OK @@ -3497,17 +3454,17 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/vm_sgv000004PublicIP?api-version=2022-01-01 response: body: string: "{\r\n \"name\": \"vm_sgv000004PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vm_sgv000004PublicIP\",\r\n - \ \"etag\": \"W/\\\"4296f8f1-d587-4f03-96eb-72f35d3b925e\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"5b05942f-b9cb-4606-8705-abb754f49864\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"481b5e7c-e531-43a3-b073-c5ebe0345544\",\r\n - \ \"ipAddress\": \"40.118.227.243\",\r\n \"publicIPAddressVersion\": - \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + \"Succeeded\",\r\n \"resourceGuid\": \"da066e63-6ff1-4db0-883d-3cee21414fe6\",\r\n + \ \"ipAddress\": \"20.245.24.221\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic/ipConfigurations/ipconfigvm_sgv000004\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \ \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n @@ -3516,13 +3473,13 @@ interactions: cache-control: - no-cache content-length: - - '941' + - '940' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:13:29 GMT + - Tue, 25 Jul 2023 03:06:39 GMT etag: - - W/"4296f8f1-d587-4f03-96eb-72f35d3b925e" + - W/"5b05942f-b9cb-4606-8705-abb754f49864" expires: - '-1' pragma: @@ -3539,7 +3496,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 513a8bf3-76a1-4e88-a289-ee5bb221b22d + - 00cbffea-8edb-4aad-889b-2ef1c59def5c status: code: 200 message: OK @@ -3557,42 +3514,42 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/vm_sgv000004?api-version=2022-11-01 response: body: string: "{\r\n \"name\": \"vm_sgv000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachines/vm_sgv000004\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"40077ae4-f7a2-42a0-8911-4b9c6e5321e9\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"91beffd6-26ae-4775-ac9c-58fa8eb15a5a\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"exactVersion\": - \"1.1.2\",\r\n \"sharedGalleryImageId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4JBV7QPO/Images/image000008/Versions/1.1.2\"\r\n + \"1.1.2\",\r\n \"sharedGalleryImageId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSKEUORLJI/Images/image000008/Versions/1.1.2\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm_sgv000004_OsDisk_1_6e5daf403eb44b03b3d30cf51fbc42f4\",\r\n \"createOption\": + \"vm_sgv000004_OsDisk_1_970d83a6a4954930a43ff7e77c355b1b\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm_sgv000004_OsDisk_1_6e5daf403eb44b03b3d30cf51fbc42f4\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm_sgv000004_OsDisk_1_970d83a6a4954930a43ff7e77c355b1b\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": - 0,\r\n \"name\": \"vm_sgv000004_lun_0_2_e98fdfdbabc04120a189509581c32969\",\r\n + 0,\r\n \"name\": \"vm_sgv000004_lun_0_2_4bce452083ea41b194e42ad25378d3ef\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"None\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm_sgv000004_lun_0_2_e98fdfdbabc04120a189509581c32969\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm_sgv000004_lun_0_2_4bce452083ea41b194e42ad25378d3ef\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 10,\r\n \"toBeDetached\": false\r\n }\r\n ]\r\n },\r\n - \ \"osProfile\": {\r\n \"computerName\": \"vmsgvb3av64oya6\",\r\n \"adminUsername\": + \ \"osProfile\": {\r\n \"computerName\": \"vmsgvt5dilcjnli\",\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 AAAAB3NzaC1yc2EAAAADAQABAAABgQDLq1sEri2RcnDg8tjo775iZUd5HVjAdQjSgky6ciJgrvPNUxZv9D65dL9GLllmDhq4Xv6SxbppUJhG0vl/VgaRRPyWRrHXgZRBl0c+H0A2X0Y7L/9sir1ezs2xv89+T03Y+KQYGyZa4xuxwlfdsl6YHjHGW97ONxyDfQesFkSdwyRI0RsnV0/GB8mRF32tgSwxqT8cpXjzjz7w4usgT52knfpyslFfZGRfTjamae/sZeezBTSfsvgryEMxxxXBvXC8/iiTxRG9cQxURK6t1VCeT6F7OmJhY2G+sPCXbkEyOjkfT18y/iUSyPEPVkoaO8Ab9eNPIUFBhRPapQlZ5YsQcIBrDmBb013lRdH82K6Q7Avp3x5liFwjQT96p5CIikl6MlJScZ6SK1dnqAEEPuBvz7vCKSsVaIxTeZhnpiX44cp87VGOR1Sqlus3s3C4NbRKU/a3023vmMV6t/F9SY94sFlWPs2q6ihRTmqV5oYZScJlGgp9voQ/9XStN+4pfAE= + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDmGsW4LjseEjF/ye2EN/w3j6dmswbvXI7N/UlAqV8aCxHeYYIjFDnuhFQSF7i1iYgTt8St/6FGkIaTA4ZefhrVVZtJw8dUEKzDkUIMfdQGu4TdlpDjQIeUSHzz1KNFwhANVNK9pm1cy5Z4P3GJd1PP+lTx/IRP+qZesTC/UCSV7EluCmoj5xg6LeC9MWksu07APIFRJySqxVi8nSbCFFHODW5QTZ/82n6iJzbSRDn7KgEQGzfFEAZgzxJE+ino+r3569kWzO/qkixm92swj97fnuOX7i0Ohe1T4Me5dFvpEifoQ3bii1vG4DQDQ7L2pvEvzQyy11Hr9dDtPHZTCzeIr62vWArq75T149ZLCNjfQh44vmbeSPAc/0KVakQOEiDjLvUkMSgDUx6DD4bQgiaEyWnZ23CZ3U1U9xag4p3Kl48tGLGHTpzplaZJQEAVogeloxE1tPLBGi7et3TskoXejHhl9BrtsnXLeNVj1ep9dqD2kxNogVSc4/Av8Wuv9oU= zhuyan@microsoft.com\\n\"\r\n }\r\n ]\r\n },\r\n \ \"provisionVMAgent\": true,\r\n \"patchSettings\": {\r\n \"patchMode\": \"ImageDefault\",\r\n \"assessmentMode\": \"ImageDefault\"\r\n },\r\n \ \"enableVMAgentPlatformUpdates\": false\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm_sgv000004VMNic\"}]},\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2023-07-11T09:12:16.5514511+00:00\"\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2023-07-25T03:05:44.4295096+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -3602,7 +3559,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:13:31 GMT + - Tue, 25 Jul 2023 03:06:41 GMT expires: - '-1' pragma: @@ -3619,7 +3576,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3987,Microsoft.Compute/LowCostGet30Min;31910 + - Microsoft.Compute/LowCostGet3Min;3995,Microsoft.Compute/LowCostGet30Min;31990 status: code: 200 message: OK @@ -3637,12 +3594,12 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule --os-type User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_create_vm_with_shared_gallery_image","date":"2023-07-11T08:59:22Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_create_vm_with_shared_gallery_image","date":"2023-07-25T02:53:23Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -3651,7 +3608,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:13:32 GMT + - Tue, 25 Jul 2023 03:06:43 GMT expires: - '-1' pragma: @@ -3679,9 +3636,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-key --nsg-rule --os-type User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4JBV7QPO/images/image000008?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSKEUORLJI/images/image000008?api-version=2022-03-03 response: body: string: "{\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": @@ -3689,7 +3646,7 @@ interactions: \"V1\",\r\n \"architecture\": \"x64\",\r\n \"identifier\": {\r\n \"publisher\": \"publisher1\",\r\n \"offer\": \"offer1\",\r\n \"sku\": \"sku1\"\r\n \ }\r\n },\r\n \"location\": \"westus\",\r\n \"name\": \"image000008\",\r\n - \ \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4JBV7QPO/Images/image000008\"\r\n + \ \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSKEUORLJI/Images/image000008\"\r\n \ }\r\n}" headers: cache-control: @@ -3699,7 +3656,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:13:33 GMT + - Tue, 25 Jul 2023 03:06:44 GMT expires: - '-1' pragma: @@ -3734,12 +3691,12 @@ interactions: ParameterSetName: - -g -n --image --generate-ssh-keys --admin-username User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_create_vm_with_shared_gallery_image","date":"2023-07-11T08:59:22Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_create_vm_with_shared_gallery_image","date":"2023-07-25T02:53:23Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -3748,7 +3705,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:13:33 GMT + - Tue, 25 Jul 2023 03:06:46 GMT expires: - '-1' pragma: @@ -3776,9 +3733,9 @@ interactions: ParameterSetName: - -g -n --image --generate-ssh-keys --admin-username User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4JBV7QPO/images/image000008?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSKEUORLJI/images/image000008?api-version=2022-03-03 response: body: string: "{\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": @@ -3786,7 +3743,7 @@ interactions: \"V1\",\r\n \"architecture\": \"x64\",\r\n \"identifier\": {\r\n \"publisher\": \"publisher1\",\r\n \"offer\": \"offer1\",\r\n \"sku\": \"sku1\"\r\n \ }\r\n },\r\n \"location\": \"westus\",\r\n \"name\": \"image000008\",\r\n - \ \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4JBV7QPO/Images/image000008\"\r\n + \ \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSKEUORLJI/Images/image000008\"\r\n \ }\r\n}" headers: cache-control: @@ -3796,7 +3753,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:13:35 GMT + - Tue, 25 Jul 2023 03:06:47 GMT expires: - '-1' pragma: @@ -3831,25 +3788,25 @@ interactions: ParameterSetName: - -g -n --image --generate-ssh-keys --admin-username User-Agent: - - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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=2022-01-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"vm000002VNET\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET\",\r\n - \ \"etag\": \"W/\\\"f8bf10ad-7692-4793-bf9e-cb25ce2e225a\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"327b0b02-73c8-4907-a8cf-00b9e1458f97\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"3ff5ab43-57b0-451e-983c-772fdaceb0fd\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"1c4e02dd-fe52-4daa-9b90-8c8e9d595f14\",\r\n \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"vm000002Subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET/subnets/vm000002Subnet\",\r\n - \ \"etag\": \"W/\\\"f8bf10ad-7692-4793-bf9e-cb25ce2e225a\\\"\",\r\n + \ \"etag\": \"W/\\\"327b0b02-73c8-4907-a8cf-00b9e1458f97\\\"\",\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.RGW2JEWAHGXAWPT4GHDN3JRW4VYFVOUKBDFLNZFPHFWHJTEM6277FGBULXIMPYR45QR/providers/Microsoft.Network/networkInterfaces/VMWUFGHSVQ66YUT3VMNIC/ipConfigurations/IPCONFIGVMWUFGHSVQ66YUT3\"\r\n - \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLITEST.RGW2JEWAHGXAWPT4GHDN3JRW4VYFVOUKBDFLNZFPHFWHJTEM6277FGBULXIMPYR45QR/providers/Microsoft.Network/networkInterfaces/VM_SGVB3AV64OYA6VMNIC/ipConfigurations/IPCONFIGVM_SGVB3AV64OYA6\"\r\n + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLITEST.RG2EIBZ2OLWHKNBRCXSSVH347WU6KWHMZAIIAU4H3R43XSSA6LYBHHVPDY4GVVKQCTE/providers/Microsoft.Network/networkInterfaces/VM45RNCB4MSS7VYWVMNIC/ipConfigurations/IPCONFIGVM45RNCB4MSS7VYW\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLITEST.RG2EIBZ2OLWHKNBRCXSSVH347WU6KWHMZAIIAU4H3R43XSSA6LYBHHVPDY4GVVKQCTE/providers/Microsoft.Network/networkInterfaces/VM_SGVT5DILCJNLIVMNIC/ipConfigurations/IPCONFIGVM_SGVT5DILCJNLI\"\r\n \ }\r\n ],\r\n \"delegations\": [],\r\n \ \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n @@ -3863,7 +3820,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:13:36 GMT + - Tue, 25 Jul 2023 03:06:48 GMT expires: - '-1' pragma: @@ -3880,7 +3837,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a3eda5fa-fb9d-451d-b964-a8c6046d5a2c + - b8bc345c-2045-416b-832f-3e5495599a01 status: code: 200 message: OK @@ -3898,9 +3855,9 @@ interactions: ParameterSetName: - -g -n --image --generate-ssh-keys --admin-username User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4JBV7QPO/images/image000008?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/sharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSKEUORLJI/images/image000008?api-version=2022-03-03 response: body: string: "{\r\n \"properties\": {\r\n \"osType\": \"Linux\",\r\n \"osState\": @@ -3908,7 +3865,7 @@ interactions: \"V1\",\r\n \"architecture\": \"x64\",\r\n \"identifier\": {\r\n \"publisher\": \"publisher1\",\r\n \"offer\": \"offer1\",\r\n \"sku\": \"sku1\"\r\n \ }\r\n },\r\n \"location\": \"westus\",\r\n \"name\": \"image000008\",\r\n - \ \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4JBV7QPO/Images/image000008\"\r\n + \ \"identifier\": {\r\n \"uniqueId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSKEUORLJI/Images/image000008\"\r\n \ }\r\n}" headers: cache-control: @@ -3918,7 +3875,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:13:37 GMT + - Tue, 25 Jul 2023 03:06:50 GMT expires: - '-1' pragma: @@ -3959,12 +3916,12 @@ interactions: {}}, "singlePlacementGroup": null, "virtualMachineProfile": {"storageProfile": {"osDisk": {"caching": "ReadWrite", "managedDisk": {"storageAccountType": null}, "name": null, "createOption": "fromImage"}, "imageReference": {"sharedGalleryImageId": - "/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4JBV7QPO/Images/image000008/Versions/1.1.2"}}, - "osProfile": {"computerNamePrefix": "vmss4c384", "adminUsername": "clitest1", + "/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSKEUORLJI/Images/image000008/Versions/1.1.2"}}, + "osProfile": {"computerNamePrefix": "vmss77b8c", "adminUsername": "clitest1", "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": - [{"path": "/home/clitest1/.ssh/authorized_keys", "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDLq1sEri2RcnDg8tjo775iZUd5HVjAdQjSgky6ciJgrvPNUxZv9D65dL9GLllmDhq4Xv6SxbppUJhG0vl/VgaRRPyWRrHXgZRBl0c+H0A2X0Y7L/9sir1ezs2xv89+T03Y+KQYGyZa4xuxwlfdsl6YHjHGW97ONxyDfQesFkSdwyRI0RsnV0/GB8mRF32tgSwxqT8cpXjzjz7w4usgT52knfpyslFfZGRfTjamae/sZeezBTSfsvgryEMxxxXBvXC8/iiTxRG9cQxURK6t1VCeT6F7OmJhY2G+sPCXbkEyOjkfT18y/iUSyPEPVkoaO8Ab9eNPIUFBhRPapQlZ5YsQcIBrDmBb013lRdH82K6Q7Avp3x5liFwjQT96p5CIikl6MlJScZ6SK1dnqAEEPuBvz7vCKSsVaIxTeZhnpiX44cp87VGOR1Sqlus3s3C4NbRKU/a3023vmMV6t/F9SY94sFlWPs2q6ihRTmqV5oYZScJlGgp9voQ/9XStN+4pfAE= + [{"path": "/home/clitest1/.ssh/authorized_keys", "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDmGsW4LjseEjF/ye2EN/w3j6dmswbvXI7N/UlAqV8aCxHeYYIjFDnuhFQSF7i1iYgTt8St/6FGkIaTA4ZefhrVVZtJw8dUEKzDkUIMfdQGu4TdlpDjQIeUSHzz1KNFwhANVNK9pm1cy5Z4P3GJd1PP+lTx/IRP+qZesTC/UCSV7EluCmoj5xg6LeC9MWksu07APIFRJySqxVi8nSbCFFHODW5QTZ/82n6iJzbSRDn7KgEQGzfFEAZgzxJE+ino+r3569kWzO/qkixm92swj97fnuOX7i0Ohe1T4Me5dFvpEifoQ3bii1vG4DQDQ7L2pvEvzQyy11Hr9dDtPHZTCzeIr62vWArq75T149ZLCNjfQh44vmbeSPAc/0KVakQOEiDjLvUkMSgDUx6DD4bQgiaEyWnZ23CZ3U1U9xag4p3Kl48tGLGHTpzplaZJQEAVogeloxE1tPLBGi7et3TskoXejHhl9BrtsnXLeNVj1ep9dqD2kxNogVSc4/Av8Wuv9oU= zhuyan@microsoft.com\n"}]}}}, "networkProfile": {"networkInterfaceConfigurations": - [{"name": "vmss4c384Nic", "properties": {"ipConfigurations": [{"name": "vmss4c384IPConfig", + [{"name": "vmss77b8cNic", "properties": {"ipConfigurations": [{"name": "vmss77b8cIPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET/subnets/vm000002Subnet"}, "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000006LB/backendAddressPools/vmss000006LBBEPool"}], "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000006LB/inboundNatPools/vmss000006LBNatPool"}]}}], @@ -3988,15 +3945,15 @@ interactions: ParameterSetName: - -g -n --image --generate-ssh-keys --admin-username User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vmss_deploy_23WyOm5ttPILlfyVMqHCaB4ywBCKT4KE","name":"vmss_deploy_23WyOm5ttPILlfyVMqHCaB4ywBCKT4KE","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18194821360792817327","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-07-11T09:13:44.4654568Z","duration":"PT0.0009281S","correlationId":"32a97941-fd9d-41bd-961b-d3086a6810ae","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vmss000006LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss000006LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000006LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss000006LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000006LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss000006LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss000006","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss000006"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vmss_deploy_ieYw761Qyac7YqXXt3SbM0JZPRnJIQ4X","name":"vmss_deploy_ieYw761Qyac7YqXXt3SbM0JZPRnJIQ4X","type":"Microsoft.Resources/deployments","properties":{"templateHash":"12361245854545555724","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-07-25T03:06:59.4518659Z","duration":"PT0.0003515S","correlationId":"5da3d3ef-8c43-450d-8855-e2d79fa0aead","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vmss000006LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss000006LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000006LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss000006LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000006LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss000006LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss000006","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss000006"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vmss_deploy_23WyOm5ttPILlfyVMqHCaB4ywBCKT4KE/operationStatuses/08585125400631429349?api-version=2022-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vmss_deploy_ieYw761Qyac7YqXXt3SbM0JZPRnJIQ4X/operationStatuses/08585113524680180665?api-version=2022-09-01 cache-control: - no-cache content-length: @@ -4004,7 +3961,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:13:45 GMT + - Tue, 25 Jul 2023 03:07:00 GMT expires: - '-1' pragma: @@ -4014,7 +3971,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 201 message: Created @@ -4032,21 +3989,63 @@ interactions: ParameterSetName: - -g -n --image --generate-ssh-keys --admin-username User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585125400631429349?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585113524680180665?api-version=2022-09-01 response: body: - string: '{"status":"Accepted"}' + string: '{"status":"Running"}' headers: cache-control: - no-cache content-length: - - '21' + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 25 Jul 2023 03:07:01 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: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --generate-ssh-keys --admin-username + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585113524680180665?api-version=2022-09-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:13:46 GMT + - Tue, 25 Jul 2023 03:07:31 GMT expires: - '-1' pragma: @@ -4074,21 +4073,23 @@ interactions: ParameterSetName: - -g -n --image --generate-ssh-keys --admin-username User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585125400631429349?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585113524680180665?api-version=2022-09-01 response: body: string: '{"status":"Running"}' headers: cache-control: - no-cache + connection: + - close content-length: - '20' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:14:17 GMT + - Tue, 25 Jul 2023 03:08:02 GMT expires: - '-1' pragma: @@ -4116,9 +4117,9 @@ interactions: ParameterSetName: - -g -n --image --generate-ssh-keys --admin-username User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585125400631429349?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585113524680180665?api-version=2022-09-01 response: body: string: '{"status":"Succeeded"}' @@ -4130,7 +4131,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:14:48 GMT + - Tue, 25 Jul 2023 03:08:34 GMT expires: - '-1' pragma: @@ -4158,23 +4159,23 @@ interactions: ParameterSetName: - -g -n --image --generate-ssh-keys --admin-username User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vmss_deploy_23WyOm5ttPILlfyVMqHCaB4ywBCKT4KE","name":"vmss_deploy_23WyOm5ttPILlfyVMqHCaB4ywBCKT4KE","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18194821360792817327","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-07-11T09:14:37.8063658Z","duration":"PT53.3418371S","correlationId":"32a97941-fd9d-41bd-961b-d3086a6810ae","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vmss000006LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss000006LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000006LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss000006LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000006LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss000006LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss000006","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss000006"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"orchestrationMode":"Uniform","upgradePolicy":{"mode":"Manual","rollingUpgradePolicy":{"maxBatchInstancePercent":20,"maxUnhealthyInstancePercent":20,"maxUnhealthyUpgradedInstancePercent":20,"pauseTimeBetweenBatches":"PT0S","maxSurge":false,"rollbackFailedInstancesOnPolicyBreach":false}},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss4c384","adminUsername":"clitest1","linuxConfiguration":{"disablePasswordAuthentication":true,"ssh":{"publicKeys":[{"path":"/home/clitest1/.ssh/authorized_keys","keyData":"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABgQDLq1sEri2RcnDg8tjo775iZUd5HVjAdQjSgky6ciJgrvPNUxZv9D65dL9GLllmDhq4Xv6SxbppUJhG0vl/VgaRRPyWRrHXgZRBl0c+H0A2X0Y7L/9sir1ezs2xv89+T03Y+KQYGyZa4xuxwlfdsl6YHjHGW97ONxyDfQesFkSdwyRI0RsnV0/GB8mRF32tgSwxqT8cpXjzjz7w4usgT52knfpyslFfZGRfTjamae/sZeezBTSfsvgryEMxxxXBvXC8/iiTxRG9cQxURK6t1VCeT6F7OmJhY2G+sPCXbkEyOjkfT18y/iUSyPEPVkoaO8Ab9eNPIUFBhRPapQlZ5YsQcIBrDmBb013lRdH82K6Q7Avp3x5liFwjQT96p5CIikl6MlJScZ6SK1dnqAEEPuBvz7vCKSsVaIxTeZhnpiX44cp87VGOR1Sqlus3s3C4NbRKU/a3023vmMV6t/F9SY94sFlWPs2q6ihRTmqV5oYZScJlGgp9voQ/9XStN+4pfAE= - zhuyan@microsoft.com\n"}]},"provisionVMAgent":true,"enableVMAgentPlatformUpdates":false},"secrets":[],"allowExtensionOperations":true,"requireGuestProvisionSignal":true},"storageProfile":{"osDisk":{"osType":"Linux","createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":30},"imageReference":{"sharedGalleryImageId":"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4JBV7QPO/Images/image000008/Versions/1.1.2"},"dataDisks":[{"lun":0,"createOption":"FromImage","caching":"None","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":10}]},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss4c384Nic","properties":{"primary":true,"disableTcpStateTracking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss4c384IPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET/subnets/vm000002Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000006LB/backendAddressPools/vmss000006LBBEPool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000006LB/inboundNatPools/vmss000006LBNatPool"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"bae9d517-9b2a-406a-b654-3f15e2ba4612","timeCreated":"2023-07-11T09:14:01.537586+00:00"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss000006"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000006LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vmss000006LBPublicIP"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vmss_deploy_ieYw761Qyac7YqXXt3SbM0JZPRnJIQ4X","name":"vmss_deploy_ieYw761Qyac7YqXXt3SbM0JZPRnJIQ4X","type":"Microsoft.Resources/deployments","properties":{"templateHash":"12361245854545555724","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-07-25T03:08:14.8347486Z","duration":"PT1M15.3832342S","correlationId":"5da3d3ef-8c43-450d-8855-e2d79fa0aead","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vmss000006LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss000006LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000006LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss000006LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000006LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss000006LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss000006","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss000006"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"orchestrationMode":"Uniform","upgradePolicy":{"mode":"Manual","rollingUpgradePolicy":{"maxBatchInstancePercent":20,"maxUnhealthyInstancePercent":20,"maxUnhealthyUpgradedInstancePercent":20,"pauseTimeBetweenBatches":"PT0S","maxSurge":false,"rollbackFailedInstancesOnPolicyBreach":false}},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss77b8c","adminUsername":"clitest1","linuxConfiguration":{"disablePasswordAuthentication":true,"ssh":{"publicKeys":[{"path":"/home/clitest1/.ssh/authorized_keys","keyData":"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAABgQDmGsW4LjseEjF/ye2EN/w3j6dmswbvXI7N/UlAqV8aCxHeYYIjFDnuhFQSF7i1iYgTt8St/6FGkIaTA4ZefhrVVZtJw8dUEKzDkUIMfdQGu4TdlpDjQIeUSHzz1KNFwhANVNK9pm1cy5Z4P3GJd1PP+lTx/IRP+qZesTC/UCSV7EluCmoj5xg6LeC9MWksu07APIFRJySqxVi8nSbCFFHODW5QTZ/82n6iJzbSRDn7KgEQGzfFEAZgzxJE+ino+r3569kWzO/qkixm92swj97fnuOX7i0Ohe1T4Me5dFvpEifoQ3bii1vG4DQDQ7L2pvEvzQyy11Hr9dDtPHZTCzeIr62vWArq75T149ZLCNjfQh44vmbeSPAc/0KVakQOEiDjLvUkMSgDUx6DD4bQgiaEyWnZ23CZ3U1U9xag4p3Kl48tGLGHTpzplaZJQEAVogeloxE1tPLBGi7et3TskoXejHhl9BrtsnXLeNVj1ep9dqD2kxNogVSc4/Av8Wuv9oU= + zhuyan@microsoft.com\n"}]},"provisionVMAgent":true,"enableVMAgentPlatformUpdates":false},"secrets":[],"allowExtensionOperations":true,"requireGuestProvisionSignal":true},"storageProfile":{"osDisk":{"osType":"Linux","createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":30},"imageReference":{"sharedGalleryImageId":"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSKEUORLJI/Images/image000008/Versions/1.1.2"},"dataDisks":[{"lun":0,"createOption":"FromImage","caching":"None","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":10}]},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss77b8cNic","properties":{"primary":true,"disableTcpStateTracking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss77b8cIPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET/subnets/vm000002Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000006LB/backendAddressPools/vmss000006LBBEPool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000006LB/inboundNatPools/vmss000006LBNatPool"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"02f6fcac-123f-4be7-9a71-7dcb2197e077","timeCreated":"2023-07-25T03:07:15.0559343+00:00"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss000006"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000006LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/publicIPAddresses/vmss000006LBPublicIP"}]}}' headers: cache-control: - no-cache content-length: - - '5184' + - '5187' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:14:48 GMT + - Tue, 25 Jul 2023 03:08:34 GMT expires: - '-1' pragma: @@ -4202,7 +4203,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/virtualMachineScaleSets/vmss000006?api-version=2023-03-01 response: @@ -4217,11 +4218,11 @@ interactions: 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\",\r\n \"maxSurge\": false,\r\n \"rollbackFailedInstancesOnPolicyBreach\": false\r\n }\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": - {\r\n \"computerNamePrefix\": \"vmss4c384\",\r\n \"adminUsername\": + {\r\n \"computerNamePrefix\": \"vmss77b8c\",\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 AAAAB3NzaC1yc2EAAAADAQABAAABgQDLq1sEri2RcnDg8tjo775iZUd5HVjAdQjSgky6ciJgrvPNUxZv9D65dL9GLllmDhq4Xv6SxbppUJhG0vl/VgaRRPyWRrHXgZRBl0c+H0A2X0Y7L/9sir1ezs2xv89+T03Y+KQYGyZa4xuxwlfdsl6YHjHGW97ONxyDfQesFkSdwyRI0RsnV0/GB8mRF32tgSwxqT8cpXjzjz7w4usgT52knfpyslFfZGRfTjamae/sZeezBTSfsvgryEMxxxXBvXC8/iiTxRG9cQxURK6t1VCeT6F7OmJhY2G+sPCXbkEyOjkfT18y/iUSyPEPVkoaO8Ab9eNPIUFBhRPapQlZ5YsQcIBrDmBb013lRdH82K6Q7Avp3x5liFwjQT96p5CIikl6MlJScZ6SK1dnqAEEPuBvz7vCKSsVaIxTeZhnpiX44cp87VGOR1Sqlus3s3C4NbRKU/a3023vmMV6t/F9SY94sFlWPs2q6ihRTmqV5oYZScJlGgp9voQ/9XStN+4pfAE= + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDmGsW4LjseEjF/ye2EN/w3j6dmswbvXI7N/UlAqV8aCxHeYYIjFDnuhFQSF7i1iYgTt8St/6FGkIaTA4ZefhrVVZtJw8dUEKzDkUIMfdQGu4TdlpDjQIeUSHzz1KNFwhANVNK9pm1cy5Z4P3GJd1PP+lTx/IRP+qZesTC/UCSV7EluCmoj5xg6LeC9MWksu07APIFRJySqxVi8nSbCFFHODW5QTZ/82n6iJzbSRDn7KgEQGzfFEAZgzxJE+ino+r3569kWzO/qkixm92swj97fnuOX7i0Ohe1T4Me5dFvpEifoQ3bii1vG4DQDQ7L2pvEvzQyy11Hr9dDtPHZTCzeIr62vWArq75T149ZLCNjfQh44vmbeSPAc/0KVakQOEiDjLvUkMSgDUx6DD4bQgiaEyWnZ23CZ3U1U9xag4p3Kl48tGLGHTpzplaZJQEAVogeloxE1tPLBGi7et3TskoXejHhl9BrtsnXLeNVj1ep9dqD2kxNogVSc4/Av8Wuv9oU= zhuyan@microsoft.com\\n\"\r\n }\r\n ]\r\n },\r\n \ \"provisionVMAgent\": true,\r\n \"enableVMAgentPlatformUpdates\": false\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": @@ -4230,25 +4231,25 @@ interactions: \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \ \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": - {\r\n \"sharedGalleryImageId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4JBV7QPO/Images/image000008/Versions/1.1.2\"\r\n + {\r\n \"sharedGalleryImageId\": \"/SharedGalleries/0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSKEUORLJI/Images/image000008/Versions/1.1.2\"\r\n \ },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": 0,\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"None\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"diskSizeGB\": 10\r\n }\r\n - \ ]\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss4c384Nic\",\"properties\":{\"primary\":true,\"disableTcpStateTracking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss4c384IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET/subnets/vm000002Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000006LB/backendAddressPools/vmss000006LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000006LB/inboundNatPools/vmss000006LBNatPool\"}]}}]}}]}\r\n + \ ]\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss77b8cNic\",\"properties\":{\"primary\":true,\"disableTcpStateTracking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss77b8cIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/vm000002VNET/subnets/vm000002Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000006LB/backendAddressPools/vmss000006LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/loadBalancers/vmss000006LB/inboundNatPools/vmss000006LBNatPool\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"bae9d517-9b2a-406a-b654-3f15e2ba4612\",\r\n \"timeCreated\": \"2023-07-11T09:14:01.537586+00:00\"\r\n + \"02f6fcac-123f-4be7-9a71-7dcb2197e077\",\r\n \"timeCreated\": \"2023-07-25T03:07:15.0559343+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '3987' + - '3988' content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:14:49 GMT + - Tue, 25 Jul 2023 03:08:36 GMT expires: - '-1' pragma: @@ -4265,7 +4266,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;379,Microsoft.Compute/GetVMScaleSet30Min;2389 + - Microsoft.Compute/GetVMScaleSet3Min;395,Microsoft.Compute/GetVMScaleSet30Min;2576 status: code: 200 message: OK @@ -4287,7 +4288,7 @@ interactions: ParameterSetName: - --gallery-name -g User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/galleries/gellery000007/share?api-version=2022-03-03 response: @@ -4295,17 +4296,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/08035ee6-1836-4f76-a2a5-202b6fe3ad00?api-version=2022-03-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/32844e23-6d47-43e3-b249-7e6bf42bbf22?api-version=2022-03-03 cache-control: - no-cache content-length: - '0' date: - - Tue, 11 Jul 2023 09:14:51 GMT + - Tue, 25 Jul 2023 03:08:37 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/08035ee6-1836-4f76-a2a5-202b6fe3ad00?monitor=true&api-version=2022-03-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/32844e23-6d47-43e3-b249-7e6bf42bbf22?monitor=true&api-version=2022-03-03 pragma: - no-cache server: @@ -4336,14 +4337,14 @@ interactions: ParameterSetName: - --gallery-name -g User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/08035ee6-1836-4f76-a2a5-202b6fe3ad00?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/32844e23-6d47-43e3-b249-7e6bf42bbf22?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-07-11T09:14:51.6940572+00:00\",\r\n \"endTime\": - \"2023-07-11T09:14:51.8659368+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"08035ee6-1836-4f76-a2a5-202b6fe3ad00\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-25T03:08:38.2093531+00:00\",\r\n \"endTime\": + \"2023-07-25T03:08:38.3812298+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"32844e23-6d47-43e3-b249-7e6bf42bbf22\"\r\n}" headers: cache-control: - no-cache @@ -4352,7 +4353,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:14:51 GMT + - Tue, 25 Jul 2023 03:08:38 GMT expires: - '-1' pragma: @@ -4369,7 +4370,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1199,Microsoft.Compute/GetOperationStatus30Min;4176 + - Microsoft.Compute/GetOperationStatus3Min;1199,Microsoft.Compute/GetOperationStatus30Min;4177 status: code: 200 message: OK @@ -4387,9 +4388,9 @@ interactions: ParameterSetName: - --gallery-name -g User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/08035ee6-1836-4f76-a2a5-202b6fe3ad00?monitor=true&api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/capsOperations/32844e23-6d47-43e3-b249-7e6bf42bbf22?monitor=true&api-version=2022-03-03 response: body: string: '' @@ -4399,7 +4400,7 @@ interactions: content-length: - '0' date: - - Tue, 11 Jul 2023 09:14:51 GMT + - Tue, 25 Jul 2023 03:08:38 GMT expires: - '-1' pragma: @@ -4412,7 +4413,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4175 + - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4176 status: code: 200 message: OK @@ -4430,7 +4431,7 @@ interactions: ParameterSetName: - --gallery-name --resource-group --select User-Agent: - - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/30.0.0 Python/3.9.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/gellery000007?api-version=2021-10-01&$select=Permissions response: @@ -4438,7 +4439,7 @@ interactions: string: "{\r\n \"name\": \"gellery000007\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gellery000007\",\r\n \ \"type\": \"Microsoft.Compute/galleries\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"identifier\": {\r\n \"uniqueName\": - \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYG4JBV7QPO\"\r\n },\r\n \"sharingProfile\": + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GELLERYSKEUORLJI\"\r\n },\r\n \"sharingProfile\": {\r\n \"permissions\": \"Private\"\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -4449,7 +4450,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 11 Jul 2023 09:14:53 GMT + - Tue, 25 Jul 2023 03:08:40 GMT expires: - '-1' pragma: @@ -4466,7 +4467,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;349,Microsoft.Compute/GetGallery30Min;2487 + - Microsoft.Compute/GetGallery3Min;349,Microsoft.Compute/GetGallery30Min;2488 status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_disk_encryption_set_snapshot.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_disk_encryption_set_snapshot.yaml index 2509b94bdb3..e33afba180e 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_disk_encryption_set_snapshot.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_disk_encryption_set_snapshot.yaml @@ -13,22 +13,21 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-keyvault/10.2.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002","name":"vault4-000002","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-05-26T00:37:54.562Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-26T00:37:54.562Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault4-000002.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002","name":"vault4-000002","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"zhuyan@microsoft.com","createdByType":"User","createdAt":"2023-07-12T10:52:20.05Z","lastModifiedBy":"zhuyan@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-12T10:52:20.05Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault4-000002.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '1082' + - '1030' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:38:28 GMT + - Wed, 12 Jul 2023 10:52:56 GMT expires: - '-1' pragma: @@ -46,7 +45,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.785.0 + - 1.5.851.0 status: code: 200 message: OK @@ -64,8 +63,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.8.0b2 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - azsdk-python-keyvault-keys/4.8.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://vault4-000002.vault.azure.net/keys/key-000003/create?api-version=7.4-preview.1 response: @@ -80,7 +78,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:38:28 GMT + - Wed, 12 Jul 2023 10:52:58 GMT expires: - '-1' pragma: @@ -93,11 +91,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=13.72.72.46;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.11;act_addr_fam=InterNetwork; x-ms-keyvault-region: - westcentralus x-ms-keyvault-service-version: - - 1.9.804.1 + - 1.9.908.1 status: code: 401 message: Unauthorized @@ -115,13 +113,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.8.0b2 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - azsdk-python-keyvault-keys/4.8.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://vault4-000002.vault.azure.net/keys/key-000003/create?api-version=7.4-preview.1 response: body: - string: '{"key":{"kid":"https://vault4-000002.vault.azure.net/keys/key-000003/5c010d748af7488e814e4bb7c0f176f5","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wNmNg70JmYTfvlnQJ6x3Yvv8jgzbbnlqOLjAqozSpRyWA1DTpU4O8uFftIzjKEA2u4QVRU6Rc6o77Ddu5N5j8m5xL4Zdwg6serzn25AY7dTbEdIN59k1kFXeE2UvMrfDlOJ_tiAXcFQkZE5el_TEFgSl3yKYXsBzQnJQEM-bJMki1GZ09BUbKV_DUmjs6ukKKN0v1YfvG9JEHYIrCQGd4yUmaqHOY98iLp7xfMuUKF3BQ1Xv3KfPp1KIvpGC84UBO7an95Dw5SdIhOaBzChpQDvHjT3cHAzmcg02W-pHYdQPab_xqmzv2uP8cj8370fPo2aulImiLum3rNKKhZlbIQ","e":"AQAB"},"attributes":{"enabled":true,"created":1685061508,"updated":1685061508,"recoveryLevel":"CustomizedRecoverable","recoverableDays":7,"exportable":false}}' + string: '{"key":{"kid":"https://vault4-000002.vault.azure.net/keys/key-000003/ef37029086504adcbcf52ba36d16bf06","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"yhR_Af5ntrEK7RxFji_95Fhv6qIN9Ra7tPg9mX2OFHgIIniA4N4J1--dbRigvgXVOPlVi2pUijuOIMDLSwBKhetk3zZ_ZAC3lf3YpRICTDmwFhW9iEAThlyFimxwtUJBFot69rxnCJT3lhlUYIO0krcRRTzRknzY-SlI4rgDLO881V8z7gX7Y7BpDE93KleCpZI6lRuTarxkgbcr0n2voqq3LHe9dH-pLIHjdaVtLhSl_H84DzFRFShPAGGUwp4RTYbYQkf1opee_lWeT8HHoUv50iWt6wT-DmK56zkrv1KuGN0Euwj8wAkEPPBSTjIKtqoV1axZfS3blgUuKh_BwQ","e":"AQAB"},"attributes":{"enabled":true,"created":1689159179,"updated":1689159179,"recoveryLevel":"CustomizedRecoverable","recoverableDays":7,"exportable":false}}' headers: cache-control: - no-cache @@ -130,7 +127,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:38:28 GMT + - Wed, 12 Jul 2023 10:52:58 GMT expires: - '-1' pragma: @@ -140,11 +137,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=13.72.72.46;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.11;act_addr_fam=InterNetwork; x-ms-keyvault-region: - westcentralus x-ms-keyvault-service-version: - - 1.9.804.1 + - 1.9.908.1 status: code: 200 message: OK @@ -162,22 +159,21 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_disk_encryption_set_snapshot_000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001","name":"cli_test_disk_encryption_set_snapshot_000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","date":"2023-05-26T00:37:51Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001","name":"cli_test_disk_encryption_set_snapshot_000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","test":"test_disk_encryption_set_snapshot","date":"2023-07-12T10:52:09Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '373' + - '430' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:38:28 GMT + - Wed, 12 Jul 2023 10:53:05 GMT expires: - '-1' pragma: @@ -194,7 +190,7 @@ interactions: - request: body: '{"location": "westcentralus", "identity": {"type": "SystemAssigned"}, "properties": {"activeKey": {"sourceVault": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002"}, - "keyUrl": "https://vault4-000002.vault.azure.net/keys/key-000003/5c010d748af7488e814e4bb7c0f176f5"}}}' + "keyUrl": "https://vault4-000002.vault.azure.net/keys/key-000003/ef37029086504adcbcf52ba36d16bf06"}}}' headers: Accept: - application/json @@ -211,8 +207,7 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000004?api-version=2022-03-02 response: @@ -220,11 +215,11 @@ interactions: string: "{\r\n \"location\": \"westcentralus\",\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/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002\"\r\n - \ },\r\n \"keyUrl\": \"https://vault4-000002.vault.azure.net/keys/key-000003/5c010d748af7488e814e4bb7c0f176f5\"\r\n + \ },\r\n \"keyUrl\": \"https://vault4-000002.vault.azure.net/keys/key-000003/ef37029086504adcbcf52ba36d16bf06\"\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/westcentralus/DiskOperations/6f71811c-4a68-40b2-9644-789b87e2534e?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/2f685d82-e1d3-4087-8fa3-44d5a50de1bc?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 cache-control: - no-cache content-length: @@ -232,11 +227,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:38:30 GMT + - Wed, 12 Jul 2023 10:53:13 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/6f71811c-4a68-40b2-9644-789b87e2534e?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/2f685d82-e1d3-4087-8fa3-44d5a50de1bc?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -247,9 +242,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet3Min;99,Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet30Min;296 + - Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet3Min;99,Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet30Min;299 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -267,25 +262,33 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/6f71811c-4a68-40b2-9644-789b87e2534e?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/2f685d82-e1d3-4087-8fa3-44d5a50de1bc?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2023-05-26T00:38:31.3896441+00:00\",\r\n \"endTime\": - \"2023-05-26T00:38:31.4677457+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"properties\": {\r\n \"output\": {\"name\":\"des1-000004\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000004\",\"type\":\"Microsoft.Compute/diskEncryptionSets\",\"location\":\"westcentralus\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"f309b3d8-370a-46ca-ac5f-a565f6840b58\",\"tenantId\":\"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"},\"properties\":{\"activeKey\":{\"sourceVault\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002\"},\"keyUrl\":\"https://vault4-000002.vault.azure.net/keys/key-000003/5c010d748af7488e814e4bb7c0f176f5\"},\"encryptionType\":\"EncryptionAtRestWithCustomerKey\",\"provisioningState\":\"Succeeded\"}}\r\n - \ },\r\n \"name\": \"6f71811c-4a68-40b2-9644-789b87e2534e\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-12T10:53:13.3250135+00:00\",\r\n \"endTime\": + \"2023-07-12T10:53:13.4031384+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"des1-000004\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000004\",\r\n + \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n + \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": + \"ff76eb35-f944-4275-b948-d9690d2a0ffb\",\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/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002\"\r\n + \ },\r\n \"keyUrl\": \"https://vault4-000002.vault.azure.net/keys/key-000003/ef37029086504adcbcf52ba36d16bf06\"\r\n + \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n + \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}\r\n },\r\n \"name\": + \"2f685d82-e1d3-4087-8fa3-44d5a50de1bc\"\r\n}" headers: cache-control: - no-cache content-length: - - '1033' + - '1158' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:39:00 GMT + - Wed, 12 Jul 2023 10:53:13 GMT expires: - '-1' pragma: @@ -302,7 +305,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49998,Microsoft.Compute/GetOperation30Min;399983 + - Microsoft.Compute/GetOperation3Min;49999,Microsoft.Compute/GetOperation30Min;399999 status: code: 200 message: OK @@ -320,8 +323,7 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000004?api-version=2022-03-02 response: @@ -329,10 +331,10 @@ interactions: string: "{\r\n \"name\": \"des1-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000004\",\r\n \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": - \"f309b3d8-370a-46ca-ac5f-a565f6840b58\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \"ff76eb35-f944-4275-b948-d9690d2a0ffb\",\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/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002\"\r\n - \ },\r\n \"keyUrl\": \"https://vault4-000002.vault.azure.net/keys/key-000003/5c010d748af7488e814e4bb7c0f176f5\"\r\n + \ },\r\n \"keyUrl\": \"https://vault4-000002.vault.azure.net/keys/key-000003/ef37029086504adcbcf52ba36d16bf06\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -343,7 +345,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:39:01 GMT + - Wed, 12 Jul 2023 10:53:14 GMT expires: - '-1' pragma: @@ -360,7 +362,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14995,Microsoft.Compute/LowCostGet30Min;119953 + - Microsoft.Compute/LowCostGet3Min;14999,Microsoft.Compute/LowCostGet30Min;119999 status: code: 200 message: OK @@ -378,8 +380,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000004?api-version=2022-03-02 response: @@ -387,10 +388,10 @@ interactions: string: "{\r\n \"name\": \"des1-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000004\",\r\n \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": - \"f309b3d8-370a-46ca-ac5f-a565f6840b58\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \"ff76eb35-f944-4275-b948-d9690d2a0ffb\",\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/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002\"\r\n - \ },\r\n \"keyUrl\": \"https://vault4-000002.vault.azure.net/keys/key-000003/5c010d748af7488e814e4bb7c0f176f5\"\r\n + \ },\r\n \"keyUrl\": \"https://vault4-000002.vault.azure.net/keys/key-000003/ef37029086504adcbcf52ba36d16bf06\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -401,7 +402,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:39:02 GMT + - Wed, 12 Jul 2023 10:53:16 GMT expires: - '-1' pragma: @@ -411,10 +412,14 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14994,Microsoft.Compute/LowCostGet30Min;119952 + - Microsoft.Compute/LowCostGet3Min;14998,Microsoft.Compute/LowCostGet30Min;119998 status: code: 200 message: OK @@ -432,22 +437,21 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_disk_encryption_set_snapshot_000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001","name":"cli_test_disk_encryption_set_snapshot_000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","date":"2023-05-26T00:37:51Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001","name":"cli_test_disk_encryption_set_snapshot_000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","test":"test_disk_encryption_set_snapshot","date":"2023-07-12T10:52:09Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '373' + - '430' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:39:01 GMT + - Wed, 12 Jul 2023 10:53:17 GMT expires: - '-1' pragma: @@ -464,7 +468,7 @@ interactions: - request: body: '{"location": "westcentralus", "identity": {"type": "SystemAssigned"}, "properties": {"activeKey": {"sourceVault": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002"}, - "keyUrl": "https://vault4-000002.vault.azure.net/keys/key-000003/5c010d748af7488e814e4bb7c0f176f5"}}}' + "keyUrl": "https://vault4-000002.vault.azure.net/keys/key-000003/ef37029086504adcbcf52ba36d16bf06"}}}' headers: Accept: - application/json @@ -481,8 +485,7 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/diskEncryptionSets/des2-000005?api-version=2022-03-02 response: @@ -490,11 +493,11 @@ interactions: string: "{\r\n \"location\": \"westcentralus\",\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/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002\"\r\n - \ },\r\n \"keyUrl\": \"https://vault4-000002.vault.azure.net/keys/key-000003/5c010d748af7488e814e4bb7c0f176f5\"\r\n + \ },\r\n \"keyUrl\": \"https://vault4-000002.vault.azure.net/keys/key-000003/ef37029086504adcbcf52ba36d16bf06\"\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/westcentralus/DiskOperations/6071d790-86e7-4982-9b99-9d8448fce480?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/3a2c181b-12d9-4f51-95fe-4d4af8029988?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 cache-control: - no-cache content-length: @@ -502,11 +505,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:39:04 GMT + - Wed, 12 Jul 2023 10:53:22 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/6071d790-86e7-4982-9b99-9d8448fce480?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/3a2c181b-12d9-4f51-95fe-4d4af8029988?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -517,9 +520,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet3Min;98,Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet30Min;295 + - Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet3Min;98,Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet30Min;298 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -537,25 +540,33 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/6071d790-86e7-4982-9b99-9d8448fce480?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/3a2c181b-12d9-4f51-95fe-4d4af8029988?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2023-05-26T00:39:04.5927342+00:00\",\r\n \"endTime\": - \"2023-05-26T00:39:04.6552482+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"properties\": {\r\n \"output\": {\"name\":\"des2-000005\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/diskEncryptionSets/des2-000005\",\"type\":\"Microsoft.Compute/diskEncryptionSets\",\"location\":\"westcentralus\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"1c53c5b3-4e49-4625-bf0a-76141fa6febf\",\"tenantId\":\"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"},\"properties\":{\"activeKey\":{\"sourceVault\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002\"},\"keyUrl\":\"https://vault4-000002.vault.azure.net/keys/key-000003/5c010d748af7488e814e4bb7c0f176f5\"},\"encryptionType\":\"EncryptionAtRestWithCustomerKey\",\"provisioningState\":\"Succeeded\"}}\r\n - \ },\r\n \"name\": \"6071d790-86e7-4982-9b99-9d8448fce480\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-12T10:53:23.5593469+00:00\",\r\n \"endTime\": + \"2023-07-12T10:53:23.6374491+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"des2-000005\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/diskEncryptionSets/des2-000005\",\r\n + \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n + \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": + \"55eed423-52e6-4d96-b8f8-97d72128500f\",\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/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002\"\r\n + \ },\r\n \"keyUrl\": \"https://vault4-000002.vault.azure.net/keys/key-000003/ef37029086504adcbcf52ba36d16bf06\"\r\n + \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n + \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}\r\n },\r\n \"name\": + \"3a2c181b-12d9-4f51-95fe-4d4af8029988\"\r\n}" headers: cache-control: - no-cache content-length: - - '1033' + - '1158' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:39:34 GMT + - Wed, 12 Jul 2023 10:53:23 GMT expires: - '-1' pragma: @@ -572,7 +583,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49996,Microsoft.Compute/GetOperation30Min;399981 + - Microsoft.Compute/GetOperation3Min;49998,Microsoft.Compute/GetOperation30Min;399998 status: code: 200 message: OK @@ -590,8 +601,7 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/diskEncryptionSets/des2-000005?api-version=2022-03-02 response: @@ -599,10 +609,10 @@ interactions: string: "{\r\n \"name\": \"des2-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/diskEncryptionSets/des2-000005\",\r\n \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": - \"1c53c5b3-4e49-4625-bf0a-76141fa6febf\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \"55eed423-52e6-4d96-b8f8-97d72128500f\",\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/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002\"\r\n - \ },\r\n \"keyUrl\": \"https://vault4-000002.vault.azure.net/keys/key-000003/5c010d748af7488e814e4bb7c0f176f5\"\r\n + \ },\r\n \"keyUrl\": \"https://vault4-000002.vault.azure.net/keys/key-000003/ef37029086504adcbcf52ba36d16bf06\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -613,7 +623,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:39:34 GMT + - Wed, 12 Jul 2023 10:53:23 GMT expires: - '-1' pragma: @@ -630,7 +640,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14991,Microsoft.Compute/LowCostGet30Min;119949 + - Microsoft.Compute/LowCostGet3Min;14997,Microsoft.Compute/LowCostGet30Min;119997 status: code: 200 message: OK @@ -648,8 +658,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/diskEncryptionSets/des2-000005?api-version=2022-03-02 response: @@ -657,10 +666,10 @@ interactions: string: "{\r\n \"name\": \"des2-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/diskEncryptionSets/des2-000005\",\r\n \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": - \"1c53c5b3-4e49-4625-bf0a-76141fa6febf\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \"55eed423-52e6-4d96-b8f8-97d72128500f\",\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/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002\"\r\n - \ },\r\n \"keyUrl\": \"https://vault4-000002.vault.azure.net/keys/key-000003/5c010d748af7488e814e4bb7c0f176f5\"\r\n + \ },\r\n \"keyUrl\": \"https://vault4-000002.vault.azure.net/keys/key-000003/ef37029086504adcbcf52ba36d16bf06\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -671,7 +680,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:39:35 GMT + - Wed, 12 Jul 2023 10:53:26 GMT expires: - '-1' pragma: @@ -688,7 +697,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14990,Microsoft.Compute/LowCostGet30Min;119948 + - Microsoft.Compute/LowCostGet3Min;14996,Microsoft.Compute/LowCostGet30Min;119996 status: code: 200 message: OK @@ -706,22 +715,21 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-keyvault/10.2.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.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/AzurePowerShellLiveTest/providers/Microsoft.KeyVault/vaults/LiveTestKeyVault","name":"LiveTestKeyVault","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bez-rg/providers/Microsoft.KeyVault/vaults/bez-kv","name":"bez-kv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bez-rg/providers/Microsoft.KeyVault/vaults/bez-kv-test","name":"bez-kv-test","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002","name":"vault4-000002","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/hangkey","name":"hangkey","type":"Microsoft.KeyVault/vaults","location":"koreasouth","tags":{"kk":"kk","zz":"kk","--kk":"zz"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/similar0327002194","name":"similar0327002194","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiaslivmmirg/providers/Microsoft.KeyVault/vaults/jlkv0516","name":"jlkv0516","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jltest0525/providers/Microsoft.KeyVault/vaults/jlkv0525","name":"jlkv0525","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jltest0525/providers/Microsoft.KeyVault/vaults/jlkv05252","name":"jlkv05252","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jltest0525/providers/Microsoft.KeyVault/vaults/jlkv05253","name":"jlkv05253","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nori-rg/providers/Microsoft.KeyVault/vaults/nori-kv765","name":"nori-kv765","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/shiying-rg/providers/Microsoft.KeyVault/vaults/shiyingkv","name":"shiyingkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testkvv2rg/providers/Microsoft.KeyVault/vaults/testkvtrack2","name":"testkvtrack2","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yishitest/providers/Microsoft.KeyVault/vaults/ystestkv","name":"ystestkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AzurePowerShellLiveTest/providers/Microsoft.KeyVault/vaults/LiveTestKeyVault","name":"LiveTestKeyVault","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002","name":"vault4-000002","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/hangkey","name":"hangkey","type":"Microsoft.KeyVault/vaults","location":"koreasouth","tags":{"kk":"kk","zz":"kk","--kk":"zz"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/similar0327002194","name":"similar0327002194","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiaslivmmirg/providers/Microsoft.KeyVault/vaults/jlkv0516","name":"jlkv0516","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nori-rg/providers/Microsoft.KeyVault/vaults/ps0001","name":"ps0001","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"key":"value"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/shiying-rg/providers/Microsoft.KeyVault/vaults/shiyingkv","name":"shiyingkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testkvv2rg/providers/Microsoft.KeyVault/vaults/testkvtrack2","name":"testkvtrack2","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yishitest/providers/Microsoft.KeyVault/vaults/ystestkv","name":"ystestkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zhiyihuang-rg/providers/Microsoft.KeyVault/vaults/test-user-identity-kv2","name":"test-user-identity-kv2","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{}}]}' headers: cache-control: - no-cache content-length: - - '3157' + - '2336' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:39:34 GMT + - Wed, 12 Jul 2023 10:53:27 GMT expires: - '-1' pragma: @@ -749,22 +757,21 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-keyvault/10.2.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002","name":"vault4-000002","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-05-26T00:37:54.562Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-26T00:37:54.562Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault4-000002.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002","name":"vault4-000002","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"zhuyan@microsoft.com","createdByType":"User","createdAt":"2023-07-12T10:52:20.05Z","lastModifiedBy":"zhuyan@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-12T10:52:20.05Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault4-000002.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '1082' + - '1030' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:39:35 GMT + - Wed, 12 Jul 2023 10:53:28 GMT expires: - '-1' pragma: @@ -782,20 +789,21 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.785.0 + - 1.5.851.0 status: code: 200 message: OK - request: body: '{"location": "westcentralus", "tags": {}, "properties": {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "sku": {"family": "A", "name": "standard"}, "accessPolicies": [{"tenantId": - "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "6b30bdc6-696a-46fb-82d7-739c2fb147b7", + "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2", "permissions": {"keys": ["all"], "secrets": ["all"], "certificates": ["all"], "storage": ["all"]}}, {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": - "f309b3d8-370a-46ca-ac5f-a565f6840b58", "permissions": {"keys": ["get", "wrapKey", - "unwrapKey"]}}], "vaultUri": "https://vault4-000002.vault.azure.net/", "enabledForDeployment": - false, "enableSoftDelete": true, "softDeleteRetentionInDays": 7, "enablePurgeProtection": - true, "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled"}}' + "ff76eb35-f944-4275-b948-d9690d2a0ffb", "permissions": {"keys": ["wrapKey", + "unwrapKey", "get"]}}], "vaultUri": "https://vault4-000002.vault.azure.net/", + "enabledForDeployment": false, "enableSoftDelete": true, "softDeleteRetentionInDays": + 7, "enablePurgeProtection": true, "provisioningState": "Succeeded", "publicNetworkAccess": + "Enabled"}}' headers: Accept: - application/json @@ -812,22 +820,21 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-keyvault/10.2.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002","name":"vault4-000002","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-05-26T00:37:54.562Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-26T00:39:36.899Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"f309b3d8-370a-46ca-ac5f-a565f6840b58","permissions":{"keys":["get","wrapKey","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault4-000002.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002","name":"vault4-000002","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"zhuyan@microsoft.com","createdByType":"User","createdAt":"2023-07-12T10:52:20.05Z","lastModifiedBy":"zhuyan@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-12T10:53:29.804Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"ff76eb35-f944-4275-b948-d9690d2a0ffb","permissions":{"keys":["wrapKey","unwrapKey","get"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault4-000002.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '1237' + - '1186' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:39:36 GMT + - Wed, 12 Jul 2023 10:53:29 GMT expires: - '-1' pragma: @@ -845,9 +852,9 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.785.0 + - 1.5.851.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -865,22 +872,21 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-keyvault/10.2.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.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/AzurePowerShellLiveTest/providers/Microsoft.KeyVault/vaults/LiveTestKeyVault","name":"LiveTestKeyVault","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bez-rg/providers/Microsoft.KeyVault/vaults/bez-kv","name":"bez-kv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bez-rg/providers/Microsoft.KeyVault/vaults/bez-kv-test","name":"bez-kv-test","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002","name":"vault4-000002","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/hangkey","name":"hangkey","type":"Microsoft.KeyVault/vaults","location":"koreasouth","tags":{"kk":"kk","zz":"kk","--kk":"zz"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/similar0327002194","name":"similar0327002194","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiaslivmmirg/providers/Microsoft.KeyVault/vaults/jlkv0516","name":"jlkv0516","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jltest0525/providers/Microsoft.KeyVault/vaults/jlkv0525","name":"jlkv0525","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jltest0525/providers/Microsoft.KeyVault/vaults/jlkv05252","name":"jlkv05252","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jltest0525/providers/Microsoft.KeyVault/vaults/jlkv05253","name":"jlkv05253","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nori-rg/providers/Microsoft.KeyVault/vaults/nori-kv765","name":"nori-kv765","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/shiying-rg/providers/Microsoft.KeyVault/vaults/shiyingkv","name":"shiyingkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testkvv2rg/providers/Microsoft.KeyVault/vaults/testkvtrack2","name":"testkvtrack2","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yishitest/providers/Microsoft.KeyVault/vaults/ystestkv","name":"ystestkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AzurePowerShellLiveTest/providers/Microsoft.KeyVault/vaults/LiveTestKeyVault","name":"LiveTestKeyVault","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002","name":"vault4-000002","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/hangkey","name":"hangkey","type":"Microsoft.KeyVault/vaults","location":"koreasouth","tags":{"kk":"kk","zz":"kk","--kk":"zz"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/similar0327002194","name":"similar0327002194","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiaslivmmirg/providers/Microsoft.KeyVault/vaults/jlkv0516","name":"jlkv0516","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nori-rg/providers/Microsoft.KeyVault/vaults/ps0001","name":"ps0001","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"key":"value"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/shiying-rg/providers/Microsoft.KeyVault/vaults/shiyingkv","name":"shiyingkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testkvv2rg/providers/Microsoft.KeyVault/vaults/testkvtrack2","name":"testkvtrack2","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yishitest/providers/Microsoft.KeyVault/vaults/ystestkv","name":"ystestkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zhiyihuang-rg/providers/Microsoft.KeyVault/vaults/test-user-identity-kv2","name":"test-user-identity-kv2","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{}}]}' headers: cache-control: - no-cache content-length: - - '3157' + - '2336' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:39:36 GMT + - Wed, 12 Jul 2023 10:53:30 GMT expires: - '-1' pragma: @@ -908,22 +914,21 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-keyvault/10.2.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002","name":"vault4-000002","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-05-26T00:37:54.562Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-26T00:39:36.899Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"f309b3d8-370a-46ca-ac5f-a565f6840b58","permissions":{"keys":["get","wrapKey","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault4-000002.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002","name":"vault4-000002","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"zhuyan@microsoft.com","createdByType":"User","createdAt":"2023-07-12T10:52:20.05Z","lastModifiedBy":"zhuyan@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-12T10:53:29.804Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"ff76eb35-f944-4275-b948-d9690d2a0ffb","permissions":{"keys":["wrapKey","unwrapKey","get"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault4-000002.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '1237' + - '1186' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:39:37 GMT + - Wed, 12 Jul 2023 10:53:31 GMT expires: - '-1' pragma: @@ -941,22 +946,23 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.785.0 + - 1.5.851.0 status: code: 200 message: OK - request: body: '{"location": "westcentralus", "tags": {}, "properties": {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "sku": {"family": "A", "name": "standard"}, "accessPolicies": [{"tenantId": - "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "6b30bdc6-696a-46fb-82d7-739c2fb147b7", + "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2", "permissions": {"keys": ["all"], "secrets": ["all"], "certificates": ["all"], "storage": ["all"]}}, {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": - "f309b3d8-370a-46ca-ac5f-a565f6840b58", "permissions": {"keys": ["get", "wrapKey", - "unwrapKey"]}}, {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": - "1c53c5b3-4e49-4625-bf0a-76141fa6febf", "permissions": {"keys": ["get", "wrapKey", - "unwrapKey"]}}], "vaultUri": "https://vault4-000002.vault.azure.net/", "enabledForDeployment": - false, "enableSoftDelete": true, "softDeleteRetentionInDays": 7, "enablePurgeProtection": - true, "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled"}}' + "ff76eb35-f944-4275-b948-d9690d2a0ffb", "permissions": {"keys": ["wrapKey", + "unwrapKey", "get"]}}, {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", + "objectId": "55eed423-52e6-4d96-b8f8-97d72128500f", "permissions": {"keys": + ["wrapKey", "unwrapKey", "get"]}}], "vaultUri": "https://vault4-000002.vault.azure.net/", + "enabledForDeployment": false, "enableSoftDelete": true, "softDeleteRetentionInDays": + 7, "enablePurgeProtection": true, "provisioningState": "Succeeded", "publicNetworkAccess": + "Enabled"}}' headers: Accept: - application/json @@ -973,22 +979,21 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-keyvault/10.2.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002","name":"vault4-000002","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-05-26T00:37:54.562Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-26T00:39:37.765Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"f309b3d8-370a-46ca-ac5f-a565f6840b58","permissions":{"keys":["get","wrapKey","unwrapKey"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"1c53c5b3-4e49-4625-bf0a-76141fa6febf","permissions":{"keys":["get","wrapKey","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault4-000002.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002","name":"vault4-000002","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"zhuyan@microsoft.com","createdByType":"User","createdAt":"2023-07-12T10:52:20.05Z","lastModifiedBy":"zhuyan@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-12T10:53:32.601Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"ff76eb35-f944-4275-b948-d9690d2a0ffb","permissions":{"keys":["wrapKey","unwrapKey","get"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"55eed423-52e6-4d96-b8f8-97d72128500f","permissions":{"keys":["wrapKey","unwrapKey","get"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault4-000002.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '1392' + - '1341' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:39:37 GMT + - Wed, 12 Jul 2023 10:53:32 GMT expires: - '-1' pragma: @@ -1006,9 +1011,9 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.785.0 + - 1.5.851.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -1026,10 +1031,9 @@ interactions: ParameterSetName: - --assignee --role --scope User-Agent: - - python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) AZURECLI/2.47.0 - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - python/3.9.0 (Windows-10-10.0.19041-SP0) AZURECLI/2.50.0 method: GET - uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames%2Fany%28c%3Ac%20eq%20%27f309b3d8-370a-46ca-ac5f-a565f6840b58%27%29 + uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames%2Fany%28c%3Ac%20eq%20%27ff76eb35-f944-4275-b948-d9690d2a0ffb%27%29 response: body: string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals","value":[]}' @@ -1041,11 +1045,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Fri, 26 May 2023 00:39:52 GMT + - Wed, 12 Jul 2023 10:53:48 GMT odata-version: - '4.0' request-id: - - 87b7280e-7de2-4097-95cb-600a1d5daf76 + - 2910697e-6747-4288-8daf-07f27ea64775 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -1053,14 +1057,14 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"East US","Slice":"E","Ring":"5","ScaleUnit":"005","RoleInstance":"MN1PEPF00002F55"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00004C7E"}}' x-ms-resource-unit: - '1' status: code: 200 message: OK - request: - body: '{"ids": ["f309b3d8-370a-46ca-ac5f-a565f6840b58"], "types": ["user", "group", + body: '{"ids": ["ff76eb35-f944-4275-b948-d9690d2a0ffb"], "types": ["user", "group", "servicePrincipal", "directoryObjectPartnerReference"]}' headers: Accept: @@ -1078,14 +1082,13 @@ interactions: ParameterSetName: - --assignee --role --scope User-Agent: - - python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) AZURECLI/2.47.0 - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - python/3.9.0 (Windows-10-10.0.19041-SP0) AZURECLI/2.50.0 method: POST uri: https://graph.microsoft.com/v1.0/directoryObjects/getByIds response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#directoryObjects","value":[{"@odata.type":"#microsoft.graph.servicePrincipal","id":"f309b3d8-370a-46ca-ac5f-a565f6840b58","deletedDateTime":null,"accountEnabled":true,"alternativeNames":["isExplicit=False","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000004"],"appDisplayName":null,"appDescription":null,"appId":"0d77c465-19e6-4d52-9ed7-7fb4bb5ea6d1","applicationTemplateId":null,"appOwnerOrganizationId":null,"appRoleAssignmentRequired":false,"createdDateTime":"2023-05-26T00:38:31Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"des1-000004","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["0d77c465-19e6-4d52-9ed7-7fb4bb5ea6d1","https://identity.azure.net/4SWGMd5H61Ig9FpNR0FwVnbqUL2zHQmIjkQcwnj1cmE="],"servicePrincipalType":"ManagedIdentity","signInAudience":null,"tags":[],"tokenEncryptionKeyId":null,"info":null,"samlSingleSignOnSettings":null,"addIns":[],"appRoles":[],"keyCredentials":[{"customKeyIdentifier":"ABB7975B8D2383F0CA569FCF1771D49EE7024F28","displayName":"CN=0d77c465-19e6-4d52-9ed7-7fb4bb5ea6d1, - DC=54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","endDateTime":"2023-08-24T00:33:00Z","key":null,"keyId":"88798aaa-be11-46c3-9d3a-c31e14ef1ba7","startDateTime":"2023-05-26T00:33:00Z","type":"AsymmetricX509Cert","usage":"Verify"}],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null}}]}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#directoryObjects","value":[{"@odata.type":"#microsoft.graph.servicePrincipal","id":"ff76eb35-f944-4275-b948-d9690d2a0ffb","deletedDateTime":null,"accountEnabled":true,"alternativeNames":["isExplicit=False","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000004"],"appDisplayName":null,"appDescription":null,"appId":"29a7627b-16a4-4919-b2a6-3c8f3f17527c","applicationTemplateId":null,"appOwnerOrganizationId":null,"appRoleAssignmentRequired":false,"createdDateTime":"2023-07-12T10:53:12Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"des1-000004","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["29a7627b-16a4-4919-b2a6-3c8f3f17527c","https://identity.azure.net/aMc7LhB3r73spfDXgJAcSkHWLGc0tDqjdLeELPldsBI="],"servicePrincipalType":"ManagedIdentity","signInAudience":null,"tags":[],"tokenEncryptionKeyId":null,"info":null,"samlSingleSignOnSettings":null,"addIns":[],"appRoles":[],"keyCredentials":[{"customKeyIdentifier":"67B89DDB479AA6C3A5AE3945B0C397A2DBBBBFB5","displayName":"CN=29a7627b-16a4-4919-b2a6-3c8f3f17527c, + DC=54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","endDateTime":"2023-10-10T10:48:00Z","key":null,"keyId":"f8fa4e9a-068a-4204-a01e-d6e19fbe7d7a","startDateTime":"2023-07-12T10:48:00Z","type":"AsymmetricX509Cert","usage":"Verify"}],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null}}]}' headers: cache-control: - no-cache @@ -1094,13 +1097,13 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Fri, 26 May 2023 00:39:52 GMT + - Wed, 12 Jul 2023 10:53:49 GMT location: - https://graph.microsoft.com odata-version: - '4.0' request-id: - - 6872d332-8467-4677-8dc1-eac78a126f12 + - 1f9553c5-3e27-464e-a730-a0391b89d441 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -1108,7 +1111,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"East US","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"BL4PEPF00000034"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00000BC4"}}' x-ms-resource-unit: - '3' status: @@ -1128,8 +1131,7 @@ interactions: ParameterSetName: - --assignee --role --scope User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-authorization/3.0.0 Python/3.10.11 - (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-authorization/3.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002/providers/Microsoft.Authorization/roleDefinitions?$filter=roleName%20eq%20%27Reader%27&api-version=2022-04-01 response: @@ -1144,7 +1146,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:39:53 GMT + - Wed, 12 Jul 2023 10:53:51 GMT expires: - '-1' pragma: @@ -1164,7 +1166,7 @@ interactions: message: OK - request: body: '{"properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", - "principalId": "f309b3d8-370a-46ca-ac5f-a565f6840b58", "principalType": "ServicePrincipal"}}' + "principalId": "ff76eb35-f944-4275-b948-d9690d2a0ffb", "principalType": "ServicePrincipal"}}' headers: Accept: - application/json @@ -1183,13 +1185,12 @@ interactions: ParameterSetName: - --assignee --role --scope User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-authorization/3.0.0 Python/3.10.11 - (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-authorization/3.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"f309b3d8-370a-46ca-ac5f-a565f6840b58","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002","condition":null,"conditionVersion":null,"createdOn":"2023-05-26T00:39:53.3445830Z","updatedOn":"2023-05-26T00:39:53.8995910Z","createdBy":null,"updatedBy":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002/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":"ff76eb35-f944-4275-b948-d9690d2a0ffb","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002","condition":null,"conditionVersion":null,"createdOn":"2023-07-12T10:53:52.2931591Z","updatedOn":"2023-07-12T10:53:53.6350736Z","createdBy":null,"updatedBy":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000001"}' headers: cache-control: - no-cache @@ -1198,7 +1199,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:39:55 GMT + - Wed, 12 Jul 2023 10:53:58 GMT expires: - '-1' pragma: @@ -1208,7 +1209,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -1226,10 +1227,9 @@ interactions: ParameterSetName: - --assignee --role --scope User-Agent: - - python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) AZURECLI/2.47.0 - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - python/3.9.0 (Windows-10-10.0.19041-SP0) AZURECLI/2.50.0 method: GET - uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames%2Fany%28c%3Ac%20eq%20%271c53c5b3-4e49-4625-bf0a-76141fa6febf%27%29 + uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames%2Fany%28c%3Ac%20eq%20%2755eed423-52e6-4d96-b8f8-97d72128500f%27%29 response: body: string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals","value":[]}' @@ -1241,11 +1241,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Fri, 26 May 2023 00:39:55 GMT + - Wed, 12 Jul 2023 10:54:00 GMT odata-version: - '4.0' request-id: - - 00e0dbfe-0ebf-42e3-afae-f2899c0a8cc4 + - 4993d7b1-d97b-4b56-bbd4-656d6c8109b7 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -1253,14 +1253,14 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"East US","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"BL4PEPF0000005C"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF00000BCF"}}' x-ms-resource-unit: - '1' status: code: 200 message: OK - request: - body: '{"ids": ["1c53c5b3-4e49-4625-bf0a-76141fa6febf"], "types": ["user", "group", + body: '{"ids": ["55eed423-52e6-4d96-b8f8-97d72128500f"], "types": ["user", "group", "servicePrincipal", "directoryObjectPartnerReference"]}' headers: Accept: @@ -1278,14 +1278,13 @@ interactions: ParameterSetName: - --assignee --role --scope User-Agent: - - python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) AZURECLI/2.47.0 - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - python/3.9.0 (Windows-10-10.0.19041-SP0) AZURECLI/2.50.0 method: POST uri: https://graph.microsoft.com/v1.0/directoryObjects/getByIds response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#directoryObjects","value":[{"@odata.type":"#microsoft.graph.servicePrincipal","id":"1c53c5b3-4e49-4625-bf0a-76141fa6febf","deletedDateTime":null,"accountEnabled":true,"alternativeNames":["isExplicit=False","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/diskEncryptionSets/des2-000005"],"appDisplayName":null,"appDescription":null,"appId":"8e1c95ec-7ddb-43a0-8a34-a677b54e92c0","applicationTemplateId":null,"appOwnerOrganizationId":null,"appRoleAssignmentRequired":false,"createdDateTime":"2023-05-26T00:39:04Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"des2-000005","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["8e1c95ec-7ddb-43a0-8a34-a677b54e92c0","https://identity.azure.net/9rYSvPUgcgPtIPVh/28HEXO4NRv8iX8o3wFEWxEfc1g="],"servicePrincipalType":"ManagedIdentity","signInAudience":null,"tags":[],"tokenEncryptionKeyId":null,"info":null,"samlSingleSignOnSettings":null,"addIns":[],"appRoles":[],"keyCredentials":[{"customKeyIdentifier":"275980134393CA6207D3AB19E2AA647E5F70360F","displayName":"CN=8e1c95ec-7ddb-43a0-8a34-a677b54e92c0, - DC=54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","endDateTime":"2023-08-24T00:34:00Z","key":null,"keyId":"5ccbc061-9b6d-4ea9-bf7a-00f2900ee9ef","startDateTime":"2023-05-26T00:34:00Z","type":"AsymmetricX509Cert","usage":"Verify"}],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null}}]}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#directoryObjects","value":[{"@odata.type":"#microsoft.graph.servicePrincipal","id":"55eed423-52e6-4d96-b8f8-97d72128500f","deletedDateTime":null,"accountEnabled":true,"alternativeNames":["isExplicit=False","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/diskEncryptionSets/des2-000005"],"appDisplayName":null,"appDescription":null,"appId":"ea549197-c569-42d3-98d4-8410494285f5","applicationTemplateId":null,"appOwnerOrganizationId":null,"appRoleAssignmentRequired":false,"createdDateTime":"2023-07-12T10:53:23Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"des2-000005","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["ea549197-c569-42d3-98d4-8410494285f5","https://identity.azure.net/UV7NVxSxhhe8D76eKK6J+FLnyo6MMJTP/TCWIqVAmOY="],"servicePrincipalType":"ManagedIdentity","signInAudience":null,"tags":[],"tokenEncryptionKeyId":null,"info":null,"samlSingleSignOnSettings":null,"addIns":[],"appRoles":[],"keyCredentials":[{"customKeyIdentifier":"60A18974EFA5532CAE6EDB447D7521020EFF0A6E","displayName":"CN=ea549197-c569-42d3-98d4-8410494285f5, + DC=54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","endDateTime":"2023-10-10T10:48:00Z","key":null,"keyId":"df1d059f-4f58-4b00-b43f-d13352987027","startDateTime":"2023-07-12T10:48:00Z","type":"AsymmetricX509Cert","usage":"Verify"}],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null}}]}' headers: cache-control: - no-cache @@ -1294,13 +1293,13 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Fri, 26 May 2023 00:39:56 GMT + - Wed, 12 Jul 2023 10:54:01 GMT location: - https://graph.microsoft.com odata-version: - '4.0' request-id: - - b065661c-67be-451e-afe9-8525457e8bf0 + - a4d90742-8fba-4441-8287-42da1e5d7a0d strict-transport-security: - max-age=31536000 transfer-encoding: @@ -1308,7 +1307,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"East US","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"BL4PEPF000001B2"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"001","RoleInstance":"SI2PEPF0000163A"}}' x-ms-resource-unit: - '3' status: @@ -1328,8 +1327,7 @@ interactions: ParameterSetName: - --assignee --role --scope User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-authorization/3.0.0 Python/3.10.11 - (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-authorization/3.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002/providers/Microsoft.Authorization/roleDefinitions?$filter=roleName%20eq%20%27Reader%27&api-version=2022-04-01 response: @@ -1344,7 +1342,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:39:55 GMT + - Wed, 12 Jul 2023 10:54:03 GMT expires: - '-1' pragma: @@ -1364,7 +1362,7 @@ interactions: message: OK - request: body: '{"properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", - "principalId": "1c53c5b3-4e49-4625-bf0a-76141fa6febf", "principalType": "ServicePrincipal"}}' + "principalId": "55eed423-52e6-4d96-b8f8-97d72128500f", "principalType": "ServicePrincipal"}}' headers: Accept: - application/json @@ -1383,13 +1381,12 @@ interactions: ParameterSetName: - --assignee --role --scope User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-authorization/3.0.0 Python/3.10.11 - (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-authorization/3.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"1c53c5b3-4e49-4625-bf0a-76141fa6febf","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002","condition":null,"conditionVersion":null,"createdOn":"2023-05-26T00:39:56.6585248Z","updatedOn":"2023-05-26T00:39:57.2385207Z","createdBy":null,"updatedBy":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000002"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"55eed423-52e6-4d96-b8f8-97d72128500f","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002","condition":null,"conditionVersion":null,"createdOn":"2023-07-12T10:54:03.9098683Z","updatedOn":"2023-07-12T10:54:05.2712377Z","createdBy":null,"updatedBy":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.KeyVault/vaults/vault4-000002/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000002"}' headers: cache-control: - no-cache @@ -1398,7 +1395,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:39:58 GMT + - Wed, 12 Jul 2023 10:54:10 GMT expires: - '-1' pragma: @@ -1408,7 +1405,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -1426,22 +1423,21 @@ interactions: ParameterSetName: - -g -n --encryption-type --disk-encryption-set --size-gb User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_disk_encryption_set_snapshot_000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001","name":"cli_test_disk_encryption_set_snapshot_000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","date":"2023-05-26T00:37:51Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001","name":"cli_test_disk_encryption_set_snapshot_000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","test":"test_disk_encryption_set_snapshot","date":"2023-07-12T10:52:09Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '373' + - '430' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:40:14 GMT + - Wed, 12 Jul 2023 10:54:26 GMT expires: - '-1' pragma: @@ -1476,8 +1472,7 @@ interactions: ParameterSetName: - -g -n --encryption-type --disk-encryption-set --size-gb User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/snapshots/snapshot1-000006?api-version=2022-03-02 response: @@ -1492,7 +1487,7 @@ interactions: \ },\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/westcentralus/DiskOperations/3477c835-9f90-4f7a-9b66-f8e98123984b?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/33162ade-559f-4d28-8a65-dd77fa9bd842?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 cache-control: - no-cache content-length: @@ -1500,11 +1495,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:40:16 GMT + - Wed, 12 Jul 2023 10:54:32 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/3477c835-9f90-4f7a-9b66-f8e98123984b?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/33162ade-559f-4d28-8a65-dd77fa9bd842?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -1535,36 +1530,74 @@ interactions: ParameterSetName: - -g -n --encryption-type --disk-encryption-set --size-gb User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/3477c835-9f90-4f7a-9b66-f8e98123984b?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/33162ade-559f-4d28-8a65-dd77fa9bd842?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2023-05-26T00:40:15.8894914+00:00\",\r\n \"endTime\": - \"2023-05-26T00:40:17.2957653+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"snapshot1-000006\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/snapshots/snapshot1-000006\",\r\n - \ \"type\": \"Microsoft.Compute/snapshots\",\r\n \"location\": \"westcentralus\",\r\n - \ \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_LRS\",\r\n \"tier\": - \"Standard\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n - \ \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n - \ \"diskSizeGB\": 10,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithCustomerKey\",\r\n - \ \"diskEncryptionSetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DISK_ENCRYPTION_SET_SNAPSHOT_DZB6AO2U2YSSRP3L37MY75ORYWZKTV3QVU5VB/providers/Microsoft.Compute/diskEncryptionSets/des1-000004\"\r\n - \ },\r\n \"incremental\": false,\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n - \ \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": \"2023-05-26T00:40:16.3895042+00:00\",\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"6ff61305-a986-4b0e-8a6d-739566a43635\"\r\n - \ }\r\n}\r\n },\r\n \"name\": \"3477c835-9f90-4f7a-9b66-f8e98123984b\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-12T10:54:31.9494588+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"33162ade-559f-4d28-8a65-dd77fa9bd842\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 12 Jul 2023 10:54: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/GetOperation3Min;49995,Microsoft.Compute/GetOperation30Min;399995 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - snapshot create + Connection: + - keep-alive + ParameterSetName: + - -g -n --encryption-type --disk-encryption-set --size-gb + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/33162ade-559f-4d28-8a65-dd77fa9bd842?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-12T10:54:31.9494588+00:00\",\r\n \"endTime\": + \"2023-07-12T10:54:33.46507+00:00\",\r\n \"status\": \"Succeeded\",\r\n \"properties\": + {\r\n \"output\": {\"name\":\"snapshot1-000006\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/snapshots/snapshot1-000006\",\"type\":\"Microsoft.Compute/snapshots\",\"location\":\"westcentralus\",\"tags\":{},\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"properties\":{\"hyperVGeneration\":\"V1\",\"creationData\":{\"createOption\":\"Empty\"},\"diskSizeGB\":10,\"encryption\":{\"type\":\"EncryptionAtRestWithCustomerKey\",\"diskEncryptionSetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DISK_ENCRYPTION_SET_SNAPSHOT_OQAQAS2GDDPFMMCUQNBYFTNCJYEQHUYS3YS3J/providers/Microsoft.Compute/diskEncryptionSets/des1-000004\"},\"incremental\":false,\"networkAccessPolicy\":\"AllowAll\",\"publicNetworkAccess\":\"Enabled\",\"timeCreated\":\"2023-07-12T10:54:32.5744212+00:00\",\"provisioningState\":\"Succeeded\",\"diskState\":\"Unattached\",\"diskSizeBytes\":10737418240,\"uniqueId\":\"ef7c6e39-77ea-45f8-9a26-154c79efbd7c\"}}\r\n + \ },\r\n \"name\": \"33162ade-559f-4d28-8a65-dd77fa9bd842\"\r\n}" headers: cache-control: - no-cache content-length: - - '1377' + - '1193' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:40:18 GMT + - Wed, 12 Jul 2023 10:54:42 GMT expires: - '-1' pragma: @@ -1581,7 +1614,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49995,Microsoft.Compute/GetOperation30Min;399980 + - Microsoft.Compute/GetOperation3Min;49993,Microsoft.Compute/GetOperation30Min;399993 status: code: 200 message: OK @@ -1599,8 +1632,7 @@ interactions: ParameterSetName: - -g -n --encryption-type --disk-encryption-set --size-gb User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/snapshots/snapshot1-000006?api-version=2022-03-02 response: @@ -1611,11 +1643,11 @@ interactions: \"Standard\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \ \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \ \"diskSizeGB\": 10,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithCustomerKey\",\r\n - \ \"diskEncryptionSetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DISK_ENCRYPTION_SET_SNAPSHOT_DZB6AO2U2YSSRP3L37MY75ORYWZKTV3QVU5VB/providers/Microsoft.Compute/diskEncryptionSets/des1-000004\"\r\n + \ \"diskEncryptionSetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DISK_ENCRYPTION_SET_SNAPSHOT_OQAQAS2GDDPFMMCUQNBYFTNCJYEQHUYS3YS3J/providers/Microsoft.Compute/diskEncryptionSets/des1-000004\"\r\n \ },\r\n \"incremental\": false,\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n - \ \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": \"2023-05-26T00:40:16.3895042+00:00\",\r\n + \ \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": \"2023-07-12T10:54:32.5744212+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"6ff61305-a986-4b0e-8a6d-739566a43635\"\r\n + \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"ef7c6e39-77ea-45f8-9a26-154c79efbd7c\"\r\n \ }\r\n}" headers: cache-control: @@ -1625,7 +1657,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:40:18 GMT + - Wed, 12 Jul 2023 10:54:43 GMT expires: - '-1' pragma: @@ -1642,7 +1674,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14989,Microsoft.Compute/LowCostGet30Min;119947 + - Microsoft.Compute/LowCostGet3Min;14990,Microsoft.Compute/LowCostGet30Min;119990 status: code: 200 message: OK @@ -1660,22 +1692,21 @@ interactions: ParameterSetName: - -g -n --size-gb User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_disk_encryption_set_snapshot_000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001","name":"cli_test_disk_encryption_set_snapshot_000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","date":"2023-05-26T00:37:51Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001","name":"cli_test_disk_encryption_set_snapshot_000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","test":"test_disk_encryption_set_snapshot","date":"2023-07-12T10:52:09Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '373' + - '430' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:40:18 GMT + - Wed, 12 Jul 2023 10:54:43 GMT expires: - '-1' pragma: @@ -1709,8 +1740,7 @@ interactions: ParameterSetName: - -g -n --size-gb User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/snapshots/snapshot2-000007?api-version=2022-03-02 response: @@ -1723,7 +1753,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/westcentralus/DiskOperations/0784c206-fa86-4b5f-9222-ccbac3e5a28c?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/94ae41dc-bba4-4cb6-b711-daf27ad5507b?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 cache-control: - no-cache content-length: @@ -1731,11 +1761,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:40:20 GMT + - Wed, 12 Jul 2023 10:54:48 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/0784c206-fa86-4b5f-9222-ccbac3e5a28c?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/94ae41dc-bba4-4cb6-b711-daf27ad5507b?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -1766,14 +1796,13 @@ interactions: ParameterSetName: - -g -n --size-gb User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/0784c206-fa86-4b5f-9222-ccbac3e5a28c?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/94ae41dc-bba4-4cb6-b711-daf27ad5507b?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2023-05-26T00:40:20.3894882+00:00\",\r\n \"endTime\": - \"2023-05-26T00:40:20.6707629+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2023-07-12T10:54:48.6993397+00:00\",\r\n \"endTime\": + \"2023-07-12T10:54:48.8399513+00:00\",\r\n \"status\": \"Succeeded\",\r\n \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"snapshot2-000007\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/snapshots/snapshot2-000007\",\r\n \ \"type\": \"Microsoft.Compute/snapshots\",\r\n \"location\": \"westcentralus\",\r\n @@ -1782,10 +1811,10 @@ interactions: \ \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \ \"diskSizeGB\": 10,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n \ },\r\n \"incremental\": false,\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n - \ \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": \"2023-05-26T00:40:20.4052017+00:00\",\r\n + \ \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": \"2023-07-12T10:54:48.6993397+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"9896fe8a-b689-4138-b7e6-e3f4a0beae28\"\r\n - \ }\r\n}\r\n },\r\n \"name\": \"0784c206-fa86-4b5f-9222-ccbac3e5a28c\"\r\n}" + \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"22cfbf26-52a3-4e0e-bd36-e2308b875b17\"\r\n + \ }\r\n}\r\n },\r\n \"name\": \"94ae41dc-bba4-4cb6-b711-daf27ad5507b\"\r\n}" headers: cache-control: - no-cache @@ -1794,7 +1823,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:40:22 GMT + - Wed, 12 Jul 2023 10:54:48 GMT expires: - '-1' pragma: @@ -1811,7 +1840,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49993,Microsoft.Compute/GetOperation30Min;399978 + - Microsoft.Compute/GetOperation3Min;49992,Microsoft.Compute/GetOperation30Min;399992 status: code: 200 message: OK @@ -1829,8 +1858,7 @@ interactions: ParameterSetName: - -g -n --size-gb User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/snapshots/snapshot2-000007?api-version=2022-03-02 response: @@ -1842,9 +1870,9 @@ interactions: \ \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \ \"diskSizeGB\": 10,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n \ },\r\n \"incremental\": false,\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n - \ \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": \"2023-05-26T00:40:20.4052017+00:00\",\r\n + \ \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": \"2023-07-12T10:54:48.6993397+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"9896fe8a-b689-4138-b7e6-e3f4a0beae28\"\r\n + \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"22cfbf26-52a3-4e0e-bd36-e2308b875b17\"\r\n \ }\r\n}" headers: cache-control: @@ -1854,7 +1882,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:40:22 GMT + - Wed, 12 Jul 2023 10:54:49 GMT expires: - '-1' pragma: @@ -1871,7 +1899,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14987,Microsoft.Compute/LowCostGet30Min;119945 + - Microsoft.Compute/LowCostGet3Min;14988,Microsoft.Compute/LowCostGet30Min;119988 status: code: 200 message: OK @@ -1889,8 +1917,7 @@ interactions: ParameterSetName: - -g -n --encryption-type --disk-encryption-set User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/snapshots/snapshot2-000007?api-version=2022-03-02 response: @@ -1902,9 +1929,9 @@ interactions: \ \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \ \"diskSizeGB\": 10,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n \ },\r\n \"incremental\": false,\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n - \ \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": \"2023-05-26T00:40:20.4052017+00:00\",\r\n + \ \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": \"2023-07-12T10:54:48.6993397+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"9896fe8a-b689-4138-b7e6-e3f4a0beae28\"\r\n + \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"22cfbf26-52a3-4e0e-bd36-e2308b875b17\"\r\n \ }\r\n}" headers: cache-control: @@ -1914,7 +1941,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:40:22 GMT + - Wed, 12 Jul 2023 10:54:52 GMT expires: - '-1' pragma: @@ -1931,7 +1958,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14986,Microsoft.Compute/LowCostGet30Min;119944 + - Microsoft.Compute/LowCostGet3Min;14987,Microsoft.Compute/LowCostGet30Min;119987 status: code: 200 message: OK @@ -1958,8 +1985,7 @@ interactions: ParameterSetName: - -g -n --encryption-type --disk-encryption-set User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/snapshots/snapshot2-000007?api-version=2022-03-02 response: @@ -1976,7 +2002,7 @@ interactions: \ }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/aaf9fecd-698f-4ea1-a39c-1f6d98820af7?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/aec119ab-1d9a-4700-bdc2-08f595168187?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 cache-control: - no-cache content-length: @@ -1984,11 +2010,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:40:24 GMT + - Wed, 12 Jul 2023 10:54:54 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/aaf9fecd-698f-4ea1-a39c-1f6d98820af7?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/aec119ab-1d9a-4700-bdc2-08f595168187?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -2001,7 +2027,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/HighCostSnapshotCreateHydrate3Min;997,Microsoft.Compute/HighCostSnapshotCreateHydrate30Min;7997 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -2019,36 +2045,74 @@ interactions: ParameterSetName: - -g -n --encryption-type --disk-encryption-set User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/aaf9fecd-698f-4ea1-a39c-1f6d98820af7?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/aec119ab-1d9a-4700-bdc2-08f595168187?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2023-05-26T00:40:23.9520198+00:00\",\r\n \"endTime\": - \"2023-05-26T00:40:26.3738783+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"snapshot2-000007\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/snapshots/snapshot2-000007\",\r\n - \ \"type\": \"Microsoft.Compute/snapshots\",\r\n \"location\": \"westcentralus\",\r\n - \ \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_LRS\",\r\n \"tier\": - \"Standard\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n - \ \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n - \ \"diskSizeGB\": 10,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithCustomerKey\",\r\n - \ \"diskEncryptionSetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DISK_ENCRYPTION_SET_SNAPSHOT_DZB6AO2U2YSSRP3L37MY75ORYWZKTV3QVU5VB/providers/Microsoft.Compute/diskEncryptionSets/des2-000005\"\r\n - \ },\r\n \"incremental\": false,\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n - \ \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": \"2023-05-26T00:40:20.4052017+00:00\",\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"9896fe8a-b689-4138-b7e6-e3f4a0beae28\"\r\n - \ }\r\n}\r\n },\r\n \"name\": \"aaf9fecd-698f-4ea1-a39c-1f6d98820af7\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-12T10:54:53.9180255+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"aec119ab-1d9a-4700-bdc2-08f595168187\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 12 Jul 2023 10:54: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/GetOperation3Min;49991,Microsoft.Compute/GetOperation30Min;399991 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - snapshot update + Connection: + - keep-alive + ParameterSetName: + - -g -n --encryption-type --disk-encryption-set + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/aec119ab-1d9a-4700-bdc2-08f595168187?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-12T10:54:53.9180255+00:00\",\r\n \"endTime\": + \"2023-07-12T10:54:56.2617679+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\"name\":\"snapshot2-000007\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/snapshots/snapshot2-000007\",\"type\":\"Microsoft.Compute/snapshots\",\"location\":\"westcentralus\",\"tags\":{},\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"properties\":{\"hyperVGeneration\":\"V1\",\"creationData\":{\"createOption\":\"Empty\"},\"diskSizeGB\":10,\"encryption\":{\"type\":\"EncryptionAtRestWithCustomerKey\",\"diskEncryptionSetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DISK_ENCRYPTION_SET_SNAPSHOT_OQAQAS2GDDPFMMCUQNBYFTNCJYEQHUYS3YS3J/providers/Microsoft.Compute/diskEncryptionSets/des2-000005\"},\"incremental\":false,\"networkAccessPolicy\":\"AllowAll\",\"publicNetworkAccess\":\"Enabled\",\"timeCreated\":\"2023-07-12T10:54:48.6993397+00:00\",\"provisioningState\":\"Succeeded\",\"diskState\":\"Unattached\",\"diskSizeBytes\":10737418240,\"uniqueId\":\"22cfbf26-52a3-4e0e-bd36-e2308b875b17\"}}\r\n + \ },\r\n \"name\": \"aec119ab-1d9a-4700-bdc2-08f595168187\"\r\n}" headers: cache-control: - no-cache content-length: - - '1377' + - '1195' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:40:26 GMT + - Wed, 12 Jul 2023 10:55:04 GMT expires: - '-1' pragma: @@ -2065,7 +2129,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49991,Microsoft.Compute/GetOperation30Min;399976 + - Microsoft.Compute/GetOperation3Min;49988,Microsoft.Compute/GetOperation30Min;399988 status: code: 200 message: OK @@ -2083,8 +2147,7 @@ interactions: ParameterSetName: - -g -n --encryption-type --disk-encryption-set User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/snapshots/snapshot2-000007?api-version=2022-03-02 response: @@ -2095,11 +2158,11 @@ interactions: \"Standard\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \ \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \ \"diskSizeGB\": 10,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithCustomerKey\",\r\n - \ \"diskEncryptionSetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DISK_ENCRYPTION_SET_SNAPSHOT_DZB6AO2U2YSSRP3L37MY75ORYWZKTV3QVU5VB/providers/Microsoft.Compute/diskEncryptionSets/des2-000005\"\r\n + \ \"diskEncryptionSetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DISK_ENCRYPTION_SET_SNAPSHOT_OQAQAS2GDDPFMMCUQNBYFTNCJYEQHUYS3YS3J/providers/Microsoft.Compute/diskEncryptionSets/des2-000005\"\r\n \ },\r\n \"incremental\": false,\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n - \ \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": \"2023-05-26T00:40:20.4052017+00:00\",\r\n + \ \"publicNetworkAccess\": \"Enabled\",\r\n \"timeCreated\": \"2023-07-12T10:54:48.6993397+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"9896fe8a-b689-4138-b7e6-e3f4a0beae28\"\r\n + \ \"diskSizeBytes\": 10737418240,\r\n \"uniqueId\": \"22cfbf26-52a3-4e0e-bd36-e2308b875b17\"\r\n \ }\r\n}" headers: cache-control: @@ -2109,7 +2172,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:40:26 GMT + - Wed, 12 Jul 2023 10:55:05 GMT expires: - '-1' pragma: @@ -2126,7 +2189,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14984,Microsoft.Compute/LowCostGet30Min;119942 + - Microsoft.Compute/LowCostGet3Min;14983,Microsoft.Compute/LowCostGet30Min;119983 status: code: 200 message: OK @@ -2144,13 +2207,12 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_snapshot_000001/providers/Microsoft.Compute/diskEncryptionSets/des2-000005/associatedResources?api-version=2022-03-02 response: body: - string: "{\r\n \"value\": [\r\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DISK_ENCRYPTION_SET_SNAPSHOT_DZB6AO2U2YSSRP3L37MY75ORYWZKTV3QVU5VB/providers/Microsoft.Compute/snapshots/SNAPSHOT2-WP3SQ72M7W\"\r\n + string: "{\r\n \"value\": [\r\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_DISK_ENCRYPTION_SET_SNAPSHOT_OQAQAS2GDDPFMMCUQNBYFTNCJYEQHUYS3YS3J/providers/Microsoft.Compute/snapshots/SNAPSHOT2-XQZXTXYAHN\"\r\n \ ]\r\n}" headers: cache-control: @@ -2160,7 +2222,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:40:26 GMT + - Wed, 12 Jul 2023 10:55:07 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_disk_encryption_set_update.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_disk_encryption_set_update.yaml index 624aeb0bc45..18c68956d6c 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_disk_encryption_set_update.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_disk_encryption_set_update.yaml @@ -13,8 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.8.0b2 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - azsdk-python-keyvault-keys/4.8.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://vault1-000002.vault.azure.net/keys/key1-000005/create?api-version=7.4-preview.1 response: @@ -29,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:42:16 GMT + - Wed, 12 Jul 2023 11:03:18 GMT expires: - '-1' pragma: @@ -42,11 +41,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=13.72.72.46;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.11;act_addr_fam=InterNetwork; x-ms-keyvault-region: - westcentralus x-ms-keyvault-service-version: - - 1.9.804.1 + - 1.9.908.1 status: code: 401 message: Unauthorized @@ -64,13 +63,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.8.0b2 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - azsdk-python-keyvault-keys/4.8.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://vault1-000002.vault.azure.net/keys/key1-000005/create?api-version=7.4-preview.1 response: body: - string: '{"key":{"kid":"https://vault1-000002.vault.azure.net/keys/key1-000005/6c5697c7c13b412f962c4422f2a4443c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"tYA-58E1nlGo1MnUBPZWu5KhB-muXH2_0LDDZrhwKbkz5VkkTZ_V_eMPpUiO8YCtATt741eIC2Wc5C_LL3i1xD58OUpA5AhbrOBGtDinz2XKsTqKJzlNwxSAGRrCFwColExIIZKzvsqCJrNKIK9BG6vb4507mXJBiomLPXm2cbxsuIIQRPMFIRg1pIqwYvDQISkvHi-n-2dYjSLpHBSZFT1jAOfs_hgM5bxNc0tAOcrkVIqTBrAnM6DRjr_ub8pxIqA1LchGRXsnisp91OHBOFuFVvkYwAGa52AKiCi1_b1ZDEsiSrY6wPhTqoLB0Yvs6rLuyDdhetOsQL9IqHXIJQ","e":"AQAB"},"attributes":{"enabled":true,"created":1685061737,"updated":1685061737,"recoveryLevel":"CustomizedRecoverable","recoverableDays":7,"exportable":false}}' + string: '{"key":{"kid":"https://vault1-000002.vault.azure.net/keys/key1-000005/5f02ceeeecbe47c8b3316eec72c96ace","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"mXcurOjj3OrdcFPTThI1sC5NAPvN6dTc3eTJWgvHda5cA9Dn1omj1xOgNJuhwUPTY3EexyIxV5gJ6Ozvv7VSw4J-py3UwkCW7civ7PDiS8H1iGt7jd5SFvyyF703axsP1T685G3ab7ZlCpwADphAiFFgToQAb7d7FDWoJ7DrjHXR_g4GNpFQ2A_tR6NEAsRnxD1oRHpqr3gvx1vmeE76kGd2bDo-whhJR1su-bimWfFOQpPXfvwV1IGnVbJKiLg089ntiIFWIvcv6NnX2qECVotNQqE_NsEaPt6aRUk62DF7pmhVrP5t0ruUVJZ4Yo9negUrKLsojBnzqXAcIb8FMQ","e":"AQAB"},"attributes":{"enabled":true,"created":1689159799,"updated":1689159799,"recoveryLevel":"CustomizedRecoverable","recoverableDays":7,"exportable":false}}' headers: cache-control: - no-cache @@ -79,7 +77,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:42:16 GMT + - Wed, 12 Jul 2023 11:03:19 GMT expires: - '-1' pragma: @@ -89,11 +87,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=13.72.72.46;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.11;act_addr_fam=InterNetwork; x-ms-keyvault-region: - westcentralus x-ms-keyvault-service-version: - - 1.9.804.1 + - 1.9.908.1 status: code: 200 message: OK @@ -111,22 +109,21 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-keyvault/10.2.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003","name":"vault2-000003","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-05-26T00:41:10.341Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-26T00:41:10.341Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault2-000003.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003","name":"vault2-000003","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"zhuyan@microsoft.com","createdByType":"User","createdAt":"2023-07-12T11:02:01.663Z","lastModifiedBy":"zhuyan@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-12T11:02:01.663Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault2-000003.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '1080' + - '1030' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:42:17 GMT + - Wed, 12 Jul 2023 11:03:21 GMT expires: - '-1' pragma: @@ -144,7 +141,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.785.0 + - 1.5.851.0 status: code: 200 message: OK @@ -162,22 +159,21 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-keyvault/10.2.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004","name":"vault3-000004","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-05-26T00:41:44.362Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-26T00:41:44.362Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault3-000004.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004","name":"vault3-000004","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"zhuyan@microsoft.com","createdByType":"User","createdAt":"2023-07-12T11:02:43.016Z","lastModifiedBy":"zhuyan@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-12T11:02:43.016Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault3-000004.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '1080' + - '1030' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:42:18 GMT + - Wed, 12 Jul 2023 11:03:23 GMT expires: - '-1' pragma: @@ -195,7 +191,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.785.0 + - 1.5.851.0 status: code: 200 message: OK @@ -213,8 +209,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.8.0b2 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - azsdk-python-keyvault-keys/4.8.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://vault2-000003.vault.azure.net/keys/key2-000006/create?api-version=7.4-preview.1 response: @@ -229,7 +224,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:42:17 GMT + - Wed, 12 Jul 2023 11:03:25 GMT expires: - '-1' pragma: @@ -242,11 +237,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=13.72.72.46;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.11;act_addr_fam=InterNetwork; x-ms-keyvault-region: - westcentralus x-ms-keyvault-service-version: - - 1.9.804.1 + - 1.9.908.1 status: code: 401 message: Unauthorized @@ -264,13 +259,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.8.0b2 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - azsdk-python-keyvault-keys/4.8.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://vault2-000003.vault.azure.net/keys/key2-000006/create?api-version=7.4-preview.1 response: body: - string: '{"key":{"kid":"https://vault2-000003.vault.azure.net/keys/key2-000006/b8c58ab688dc41e3acc95f7fe7769a98","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"q-QsmHu517pUtN-JS6rNxWw5EK8VUWy2mnXal7qREVJB3ojQ-1fAKbBZ8EKgxKY2q455lDAVLHRnq_rVhy9pTKfxFhfQFd_dc05R2f9uTPYYaOzHQndauuh5w96t_IxmHLUsA9P3tXL-KslD8Sp2GpKyQyGJ1OmtJzKkxdQVvWMG9i50KsI-_h0sdUz7v1j0mOBTwtyUD2wBV9-c7AdnZqjzEEv6MAVRSqGIzi-PEI3A50wtRbATfzELuWFhinre0bnFrEcqWNGvtHlP1P-P8SPDxjOY14ZT-iVrJbhfuGlGf9XhgdPT5YoatKyuCjQg66AO4UuUOXxZhfpsGKQ0UQ","e":"AQAB"},"attributes":{"enabled":true,"created":1685061739,"updated":1685061739,"recoveryLevel":"CustomizedRecoverable","recoverableDays":7,"exportable":false}}' + string: '{"key":{"kid":"https://vault2-000003.vault.azure.net/keys/key2-000006/2b76b4c1d0a546c4bd529ce98b520af8","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"n0CznsshUTcQV_sGt2ITIkAwTd9Y5OPDpydXneWCfIWzV9Ux-ISfFd6A4Ih7-M9ZMOYREodYmkAsSBj8YgjFLQ1_TL4C4pZDs31W2u6gdJ9rCjc_ZnYr26mIl0miHcf2ltYF4tmzSxA5UD5uVn_rUJ8D5N24t2yMjEPlbmGGoESdA_sEj2WUpI7_4GeTj8XYJDFQ2V2v8F604861yCBuXZ9p7pVRZpulSip8ZfHGp2GJW0sLCjBFpPQ8xT0Vv2nuzEr9mQsLooKuyWgK8YNeEb9O9JZ4g43Ta6BPqxWhHaLj_nUdncDowYLQlxjsX9t_lJip929XZmFFaRZ7r3uzZQ","e":"AQAB"},"attributes":{"enabled":true,"created":1689159806,"updated":1689159806,"recoveryLevel":"CustomizedRecoverable","recoverableDays":7,"exportable":false}}' headers: cache-control: - no-cache @@ -279,7 +273,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:42:18 GMT + - Wed, 12 Jul 2023 11:03:25 GMT expires: - '-1' pragma: @@ -289,11 +283,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=13.72.72.46;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.11;act_addr_fam=InterNetwork; x-ms-keyvault-region: - westcentralus x-ms-keyvault-service-version: - - 1.9.804.1 + - 1.9.908.1 status: code: 200 message: OK @@ -311,8 +305,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.8.0b2 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - azsdk-python-keyvault-keys/4.8.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://vault3-000004.vault.azure.net/keys/key3-000007/create?api-version=7.4-preview.1 response: @@ -327,7 +320,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:42:18 GMT + - Wed, 12 Jul 2023 11:03:27 GMT expires: - '-1' pragma: @@ -340,11 +333,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=13.72.72.46;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.11;act_addr_fam=InterNetwork; x-ms-keyvault-region: - westcentralus x-ms-keyvault-service-version: - - 1.9.804.1 + - 1.9.908.1 status: code: 401 message: Unauthorized @@ -362,13 +355,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-keyvault-keys/4.8.0b2 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - azsdk-python-keyvault-keys/4.8.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://vault3-000004.vault.azure.net/keys/key3-000007/create?api-version=7.4-preview.1 response: body: - string: '{"key":{"kid":"https://vault3-000004.vault.azure.net/keys/key3-000007/ff117bee7f5e4e7eb9d18f80f2b57ded","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vghplbYX0tlwU-7fztcdn1zzi_VlVfEhMtRQZIG2PcvZQPiJZ0eA2al58KuTS9XCAoF3KOfYOVSKfr4hEA_8qiqrEFLb8mBaUs1Lizg_eJIhxW97OPF885VY2SJBRXxW_JiDJz_XBFOzTio3-C-55bGhzt8gz-UPquHNSZEK1YXM52ycdTxqj_XHB5VDtmWsUSHSsY_6-jD7u75sC3u5EfFBzdKvmvPKkcxozGjFkiNUakBWbQHZCoIkOnworqdrjPC3pgyJZtwZcJv2uof_JpW2RkI-RAiGb710tQ7d9Jb-NPjfXGqjswVgyReNucJLFgPhG1IhHJyTejzrleRRwQ","e":"AQAB"},"attributes":{"enabled":true,"created":1685061739,"updated":1685061739,"recoveryLevel":"CustomizedRecoverable","recoverableDays":7,"exportable":false}}' + string: '{"key":{"kid":"https://vault3-000004.vault.azure.net/keys/key3-000007/f792bbeda2bc4d39b8b6aa57a09ba402","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"0nrDiFUL4fGiSRDW3BwzGGfgRHtenZkzOWKAbR3X-FkOgeyFsQQUvHw61unVICUeSJtgZZKCT4KqTD9r2Vr2Ecyqf3TRwdW9mMmCLKJ0e9IeE3tC8-udhVk_O9rnwhCxEfmvMDJDM6Nqqgix-ZrAQfWWcKZDilselYtRWONiJzpynuLvoz4F8BklCUM3YhxIOHuHW2zwkmda2PSzEMyFUA1ujX0xySCv18aKWMRxGGNdXHNG9vz0ajZDZpG_UxlrPZjEMgpncYeXKjMSkTlY13gwDEYXoZQjLP7TDvXBz37jrNX4RaEveWjzyw4T9oY3huCT4Gv_iqtE6KVaK1ggsQ","e":"AQAB"},"attributes":{"enabled":true,"created":1689159808,"updated":1689159808,"recoveryLevel":"CustomizedRecoverable","recoverableDays":7,"exportable":false}}' headers: cache-control: - no-cache @@ -377,7 +369,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:42:19 GMT + - Wed, 12 Jul 2023 11:03:28 GMT expires: - '-1' pragma: @@ -387,11 +379,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=13.72.72.46;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.11;act_addr_fam=InterNetwork; x-ms-keyvault-region: - westcentralus x-ms-keyvault-service-version: - - 1.9.804.1 + - 1.9.908.1 status: code: 200 message: OK @@ -409,22 +401,21 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault --enable-auto-key-rotation User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_disk_encryption_set_update_000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001","name":"cli_test_disk_encryption_set_update_000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","date":"2023-05-26T00:40:34Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001","name":"cli_test_disk_encryption_set_update_000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","test":"test_disk_encryption_set_update","date":"2023-07-12T11:01:16Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '369' + - '424' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:42:19 GMT + - Wed, 12 Jul 2023 11:03:30 GMT expires: - '-1' pragma: @@ -441,7 +432,7 @@ interactions: - request: body: '{"location": "westcentralus", "identity": {"type": "SystemAssigned"}, "properties": {"activeKey": {"sourceVault": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault1-000002"}, - "keyUrl": "https://vault1-000002.vault.azure.net/keys/key1-000005/6c5697c7c13b412f962c4422f2a4443c"}, + "keyUrl": "https://vault1-000002.vault.azure.net/keys/key1-000005/5f02ceeeecbe47c8b3316eec72c96ace"}, "rotationToLatestKeyVersionEnabled": true}}' headers: Accept: @@ -459,8 +450,7 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault --enable-auto-key-rotation User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000008?api-version=2022-03-02 response: @@ -468,12 +458,12 @@ interactions: string: "{\r\n \"location\": \"westcentralus\",\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/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault1-000002\"\r\n - \ },\r\n \"keyUrl\": \"https://vault1-000002.vault.azure.net/keys/key1-000005/6c5697c7c13b412f962c4422f2a4443c\"\r\n + \ },\r\n \"keyUrl\": \"https://vault1-000002.vault.azure.net/keys/key1-000005/5f02ceeeecbe47c8b3316eec72c96ace\"\r\n \ },\r\n \"rotationToLatestKeyVersionEnabled\": true,\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/westcentralus/DiskOperations/c7e1086d-45f9-48db-8ea1-3ccebd18c14e?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/ac3b20ef-10a1-4fc1-adb0-3697f2a01f3c?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 cache-control: - no-cache content-length: @@ -481,11 +471,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:42:22 GMT + - Wed, 12 Jul 2023 11:03:35 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/c7e1086d-45f9-48db-8ea1-3ccebd18c14e?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/ac3b20ef-10a1-4fc1-adb0-3697f2a01f3c?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -496,9 +486,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet3Min;99,Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet30Min;294 + - Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet3Min;99,Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet30Min;297 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -516,25 +506,33 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault --enable-auto-key-rotation User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/c7e1086d-45f9-48db-8ea1-3ccebd18c14e?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/ac3b20ef-10a1-4fc1-adb0-3697f2a01f3c?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2023-05-26T00:42:22.5300061+00:00\",\r\n \"endTime\": - \"2023-05-26T00:42:22.592521+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"properties\": {\r\n \"output\": {\"name\":\"des-000008\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000008\",\"type\":\"Microsoft.Compute/diskEncryptionSets\",\"location\":\"westcentralus\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"b9fbce45-1b32-4a8b-8819-4879286fb54b\",\"tenantId\":\"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"},\"properties\":{\"activeKey\":{\"sourceVault\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault1-000002\"},\"keyUrl\":\"https://vault1-000002.vault.azure.net/keys/key1-000005/6c5697c7c13b412f962c4422f2a4443c\"},\"encryptionType\":\"EncryptionAtRestWithCustomerKey\",\"rotationToLatestKeyVersionEnabled\":true,\"provisioningState\":\"Succeeded\"}}\r\n - \ },\r\n \"name\": \"c7e1086d-45f9-48db-8ea1-3ccebd18c14e\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-12T11:03:36.0086077+00:00\",\r\n \"endTime\": + \"2023-07-12T11:03:36.0867346+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"des-000008\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000008\",\r\n + \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n + \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": + \"682af290-cecc-47a8-88fa-8dca7d6be984\",\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/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault1-000002\"\r\n + \ },\r\n \"keyUrl\": \"https://vault1-000002.vault.azure.net/keys/key1-000005/5f02ceeeecbe47c8b3316eec72c96ace\"\r\n + \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n + \ \"rotationToLatestKeyVersionEnabled\": true,\r\n \"provisioningState\": + \"Succeeded\"\r\n }\r\n}\r\n },\r\n \"name\": \"ac3b20ef-10a1-4fc1-adb0-3697f2a01f3c\"\r\n}" headers: cache-control: - no-cache content-length: - - '1068' + - '1201' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:42:52 GMT + - Wed, 12 Jul 2023 11:03:36 GMT expires: - '-1' pragma: @@ -544,10 +542,14 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49988,Microsoft.Compute/GetOperation30Min;399969 + - Microsoft.Compute/GetOperation3Min;49999,Microsoft.Compute/GetOperation30Min;399983 status: code: 200 message: OK @@ -565,8 +567,7 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault --enable-auto-key-rotation User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000008?api-version=2022-03-02 response: @@ -574,10 +575,10 @@ interactions: string: "{\r\n \"name\": \"des-000008\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000008\",\r\n \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": - \"b9fbce45-1b32-4a8b-8819-4879286fb54b\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \"682af290-cecc-47a8-88fa-8dca7d6be984\",\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/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault1-000002\"\r\n - \ },\r\n \"keyUrl\": \"https://vault1-000002.vault.azure.net/keys/key1-000005/6c5697c7c13b412f962c4422f2a4443c\"\r\n + \ },\r\n \"keyUrl\": \"https://vault1-000002.vault.azure.net/keys/key1-000005/5f02ceeeecbe47c8b3316eec72c96ace\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"rotationToLatestKeyVersionEnabled\": true,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" @@ -589,7 +590,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:42:52 GMT + - Wed, 12 Jul 2023 11:03:36 GMT expires: - '-1' pragma: @@ -599,10 +600,14 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14978,Microsoft.Compute/LowCostGet30Min;119926 + - Microsoft.Compute/LowCostGet3Min;14997,Microsoft.Compute/LowCostGet30Min;119969 status: code: 200 message: OK @@ -620,8 +625,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000008?api-version=2022-03-02 response: @@ -629,10 +633,10 @@ interactions: string: "{\r\n \"name\": \"des-000008\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000008\",\r\n \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": - \"b9fbce45-1b32-4a8b-8819-4879286fb54b\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \"682af290-cecc-47a8-88fa-8dca7d6be984\",\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/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault1-000002\"\r\n - \ },\r\n \"keyUrl\": \"https://vault1-000002.vault.azure.net/keys/key1-000005/6c5697c7c13b412f962c4422f2a4443c\"\r\n + \ },\r\n \"keyUrl\": \"https://vault1-000002.vault.azure.net/keys/key1-000005/5f02ceeeecbe47c8b3316eec72c96ace\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"rotationToLatestKeyVersionEnabled\": true,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" @@ -644,7 +648,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:42:53 GMT + - Wed, 12 Jul 2023 11:03:38 GMT expires: - '-1' pragma: @@ -661,7 +665,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14977,Microsoft.Compute/LowCostGet30Min;119925 + - Microsoft.Compute/LowCostGet3Min;14996,Microsoft.Compute/LowCostGet30Min;119968 status: code: 200 message: OK @@ -679,28 +683,31 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-keyvault/10.2.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.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/AzurePowerShellLiveTest/providers/Microsoft.KeyVault/vaults/LiveTestKeyVault","name":"LiveTestKeyVault","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bez-rg/providers/Microsoft.KeyVault/vaults/bez-kv","name":"bez-kv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bez-rg/providers/Microsoft.KeyVault/vaults/bez-kv-test","name":"bez-kv-test","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault1-000002","name":"vault1-000002","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003","name":"vault2-000003","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004","name":"vault3-000004","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/hangkey","name":"hangkey","type":"Microsoft.KeyVault/vaults","location":"koreasouth","tags":{"kk":"kk","zz":"kk","--kk":"zz"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/similar0327002194","name":"similar0327002194","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiaslivmmirg/providers/Microsoft.KeyVault/vaults/jlkv0516","name":"jlkv0516","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jltest0525/providers/Microsoft.KeyVault/vaults/jlkv0525","name":"jlkv0525","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jltest0525/providers/Microsoft.KeyVault/vaults/jlkv05252","name":"jlkv05252","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jltest0525/providers/Microsoft.KeyVault/vaults/jlkv05253","name":"jlkv05253","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nori-rg/providers/Microsoft.KeyVault/vaults/nori-kv765","name":"nori-kv765","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/shiying-rg/providers/Microsoft.KeyVault/vaults/shiyingkv","name":"shiyingkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testkvv2rg/providers/Microsoft.KeyVault/vaults/testkvtrack2","name":"testkvtrack2","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yishitest/providers/Microsoft.KeyVault/vaults/ystestkv","name":"ystestkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AzurePowerShellLiveTest/providers/Microsoft.KeyVault/vaults/LiveTestKeyVault","name":"LiveTestKeyVault","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault1-000002","name":"vault1-000002","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003","name":"vault2-000003","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004","name":"vault3-000004","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/hangkey","name":"hangkey","type":"Microsoft.KeyVault/vaults","location":"koreasouth","tags":{"kk":"kk","zz":"kk","--kk":"zz"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/similar0327002194","name":"similar0327002194","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiaslivmmirg/providers/Microsoft.KeyVault/vaults/jlkv0516","name":"jlkv0516","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nori-rg/providers/Microsoft.KeyVault/vaults/ps0001","name":"ps0001","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"key":"value"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/shiying-rg/providers/Microsoft.KeyVault/vaults/shiyingkv","name":"shiyingkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testkvv2rg/providers/Microsoft.KeyVault/vaults/testkvtrack2","name":"testkvtrack2","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yishitest/providers/Microsoft.KeyVault/vaults/ystestkv","name":"ystestkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zhiyihuang-rg/providers/Microsoft.KeyVault/vaults/test-user-identity-kv2","name":"test-user-identity-kv2","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{}}]}' headers: cache-control: - no-cache + connection: + - close content-length: - - '3683' + - '2862' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:42:53 GMT + - Wed, 12 Jul 2023 11:03:40 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding x-content-type-options: - nosniff status: @@ -720,22 +727,21 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-keyvault/10.2.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003","name":"vault2-000003","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-05-26T00:41:10.341Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-26T00:41:10.341Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault2-000003.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003","name":"vault2-000003","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"zhuyan@microsoft.com","createdByType":"User","createdAt":"2023-07-12T11:02:01.663Z","lastModifiedBy":"zhuyan@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-12T11:02:01.663Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault2-000003.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '1080' + - '1030' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:42:55 GMT + - Wed, 12 Jul 2023 11:03:42 GMT expires: - '-1' pragma: @@ -753,18 +759,18 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.785.0 + - 1.5.851.0 status: code: 200 message: OK - request: body: '{"location": "westcentralus", "tags": {}, "properties": {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "sku": {"family": "A", "name": "standard"}, "accessPolicies": [{"tenantId": - "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "6b30bdc6-696a-46fb-82d7-739c2fb147b7", + "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2", "permissions": {"keys": ["all"], "secrets": ["all"], "certificates": ["all"], "storage": ["all"]}}, {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": - "b9fbce45-1b32-4a8b-8819-4879286fb54b", "permissions": {"keys": ["get", "wrapKey", - "unwrapKey"]}}], "vaultUri": "https://vault2-000003.vault.azure.net/", "enabledForDeployment": + "682af290-cecc-47a8-88fa-8dca7d6be984", "permissions": {"keys": ["get", "unwrapKey", + "wrapKey"]}}], "vaultUri": "https://vault2-000003.vault.azure.net/", "enabledForDeployment": false, "enableSoftDelete": true, "softDeleteRetentionInDays": 7, "enablePurgeProtection": true, "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled"}}' headers: @@ -783,22 +789,21 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-keyvault/10.2.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003","name":"vault2-000003","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-05-26T00:41:10.341Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-26T00:42:55.332Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"b9fbce45-1b32-4a8b-8819-4879286fb54b","permissions":{"keys":["get","wrapKey","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault2-000003.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003","name":"vault2-000003","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"zhuyan@microsoft.com","createdByType":"User","createdAt":"2023-07-12T11:02:01.663Z","lastModifiedBy":"zhuyan@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-12T11:03:42.571Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"682af290-cecc-47a8-88fa-8dca7d6be984","permissions":{"keys":["get","unwrapKey","wrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault2-000003.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '1235' + - '1185' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:42:55 GMT + - Wed, 12 Jul 2023 11:03:42 GMT expires: - '-1' pragma: @@ -816,9 +821,9 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.785.0 + - 1.5.851.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -836,10 +841,9 @@ interactions: ParameterSetName: - --assignee --role --scope User-Agent: - - python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) AZURECLI/2.47.0 - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - python/3.9.0 (Windows-10-10.0.19041-SP0) AZURECLI/2.50.0 method: GET - uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames%2Fany%28c%3Ac%20eq%20%27b9fbce45-1b32-4a8b-8819-4879286fb54b%27%29 + uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames%2Fany%28c%3Ac%20eq%20%27682af290-cecc-47a8-88fa-8dca7d6be984%27%29 response: body: string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals","value":[]}' @@ -851,11 +855,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Fri, 26 May 2023 00:43:25 GMT + - Wed, 12 Jul 2023 11:04:13 GMT odata-version: - '4.0' request-id: - - bd4b0887-d686-4b52-9af8-21cfce29dfe7 + - c677a9c1-6b21-4958-8774-ea8e3488b13e strict-transport-security: - max-age=31536000 transfer-encoding: @@ -863,14 +867,14 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"East US","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"BL02EPF000028A6"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF00001A31"}}' x-ms-resource-unit: - '1' status: code: 200 message: OK - request: - body: '{"ids": ["b9fbce45-1b32-4a8b-8819-4879286fb54b"], "types": ["user", "group", + body: '{"ids": ["682af290-cecc-47a8-88fa-8dca7d6be984"], "types": ["user", "group", "servicePrincipal", "directoryObjectPartnerReference"]}' headers: Accept: @@ -888,14 +892,13 @@ interactions: ParameterSetName: - --assignee --role --scope User-Agent: - - python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) AZURECLI/2.47.0 - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - python/3.9.0 (Windows-10-10.0.19041-SP0) AZURECLI/2.50.0 method: POST uri: https://graph.microsoft.com/v1.0/directoryObjects/getByIds response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#directoryObjects","value":[{"@odata.type":"#microsoft.graph.servicePrincipal","id":"b9fbce45-1b32-4a8b-8819-4879286fb54b","deletedDateTime":null,"accountEnabled":true,"alternativeNames":["isExplicit=False","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000008"],"appDisplayName":null,"appDescription":null,"appId":"189003b4-42f5-42da-b8cf-4503785a6530","applicationTemplateId":null,"appOwnerOrganizationId":null,"appRoleAssignmentRequired":false,"createdDateTime":"2023-05-26T00:42:22Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"des-000008","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["189003b4-42f5-42da-b8cf-4503785a6530","https://identity.azure.net/bQamB/9IzT1IgjSJDx6Elkn4xICgEOiZ3L2Bvh6Sdds="],"servicePrincipalType":"ManagedIdentity","signInAudience":null,"tags":[],"tokenEncryptionKeyId":null,"info":null,"samlSingleSignOnSettings":null,"addIns":[],"appRoles":[],"keyCredentials":[{"customKeyIdentifier":"4C60583E418916EB3BF45426C34B5C381FB44207","displayName":"CN=189003b4-42f5-42da-b8cf-4503785a6530, - DC=54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","endDateTime":"2023-08-24T00:37:00Z","key":null,"keyId":"e161cebd-4be7-4f84-a437-6e890a991dda","startDateTime":"2023-05-26T00:37:00Z","type":"AsymmetricX509Cert","usage":"Verify"}],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null}}]}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#directoryObjects","value":[{"@odata.type":"#microsoft.graph.servicePrincipal","id":"682af290-cecc-47a8-88fa-8dca7d6be984","deletedDateTime":null,"accountEnabled":true,"alternativeNames":["isExplicit=False","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000008"],"appDisplayName":null,"appDescription":null,"appId":"97859525-2d85-4e03-a430-4ed10a1aea55","applicationTemplateId":null,"appOwnerOrganizationId":null,"appRoleAssignmentRequired":false,"createdDateTime":"2023-07-12T11:03:35Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"des-000008","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["97859525-2d85-4e03-a430-4ed10a1aea55","https://identity.azure.net/y84fDWL4ZNFiBCt6z3Wmic8Bb5lTAe72Q1MlEXq9LzA="],"servicePrincipalType":"ManagedIdentity","signInAudience":null,"tags":[],"tokenEncryptionKeyId":null,"info":null,"samlSingleSignOnSettings":null,"addIns":[],"appRoles":[],"keyCredentials":[{"customKeyIdentifier":"A093348147C4F0FCBC284258D42A5453FAB04B83","displayName":"CN=97859525-2d85-4e03-a430-4ed10a1aea55, + DC=54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","endDateTime":"2023-10-10T10:58:00Z","key":null,"keyId":"ce7e66f4-dfc9-4170-b079-7f2a3c30b88b","startDateTime":"2023-07-12T10:58:00Z","type":"AsymmetricX509Cert","usage":"Verify"}],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null}}]}' headers: cache-control: - no-cache @@ -904,13 +907,13 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Fri, 26 May 2023 00:43:24 GMT + - Wed, 12 Jul 2023 11:04:13 GMT location: - https://graph.microsoft.com odata-version: - '4.0' request-id: - - 733f7c59-5418-4800-87f0-97e6b68c57b7 + - 77fcddc6-a178-4ac8-b142-05b7be18b67e strict-transport-security: - max-age=31536000 transfer-encoding: @@ -918,7 +921,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"East US","Slice":"E","Ring":"5","ScaleUnit":"005","RoleInstance":"MN1PEPF00002F55"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SI1PEPF0001024A"}}' x-ms-resource-unit: - '3' status: @@ -938,8 +941,7 @@ interactions: ParameterSetName: - --assignee --role --scope User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-authorization/3.0.0 Python/3.10.11 - (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-authorization/3.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003/providers/Microsoft.Authorization/roleDefinitions?$filter=roleName%20eq%20%27Reader%27&api-version=2022-04-01 response: @@ -954,7 +956,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:43:25 GMT + - Wed, 12 Jul 2023 11:04:14 GMT expires: - '-1' pragma: @@ -974,7 +976,7 @@ interactions: message: OK - request: body: '{"properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", - "principalId": "b9fbce45-1b32-4a8b-8819-4879286fb54b", "principalType": "ServicePrincipal"}}' + "principalId": "682af290-cecc-47a8-88fa-8dca7d6be984", "principalType": "ServicePrincipal"}}' headers: Accept: - application/json @@ -993,13 +995,12 @@ interactions: ParameterSetName: - --assignee --role --scope User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-authorization/3.0.0 Python/3.10.11 - (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-authorization/3.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"b9fbce45-1b32-4a8b-8819-4879286fb54b","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003","condition":null,"conditionVersion":null,"createdOn":"2023-05-26T00:43:26.1323999Z","updatedOn":"2023-05-26T00:43:26.7241262Z","createdBy":null,"updatedBy":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-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":"682af290-cecc-47a8-88fa-8dca7d6be984","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003","condition":null,"conditionVersion":null,"createdOn":"2023-07-12T11:04:15.6279538Z","updatedOn":"2023-07-12T11:04:16.9419663Z","createdBy":null,"updatedBy":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-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 @@ -1008,7 +1009,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:43:28 GMT + - Wed, 12 Jul 2023 11:04:21 GMT expires: - '-1' pragma: @@ -1036,8 +1037,7 @@ interactions: ParameterSetName: - -g -n --source-vault --key-url --enable-auto-key-rotation User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000008?api-version=2022-03-02 response: @@ -1045,10 +1045,10 @@ interactions: string: "{\r\n \"name\": \"des-000008\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000008\",\r\n \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": - \"b9fbce45-1b32-4a8b-8819-4879286fb54b\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \"682af290-cecc-47a8-88fa-8dca7d6be984\",\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/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault1-000002\"\r\n - \ },\r\n \"keyUrl\": \"https://vault1-000002.vault.azure.net/keys/key1-000005/6c5697c7c13b412f962c4422f2a4443c\"\r\n + \ },\r\n \"keyUrl\": \"https://vault1-000002.vault.azure.net/keys/key1-000005/5f02ceeeecbe47c8b3316eec72c96ace\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"rotationToLatestKeyVersionEnabled\": true,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" @@ -1060,7 +1060,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:43:58 GMT + - Wed, 12 Jul 2023 11:04:54 GMT expires: - '-1' pragma: @@ -1077,7 +1077,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14985,Microsoft.Compute/LowCostGet30Min;119924 + - Microsoft.Compute/LowCostGet3Min;14992,Microsoft.Compute/LowCostGet30Min;119964 status: code: 200 message: OK @@ -1085,7 +1085,7 @@ interactions: body: '{"location": "westcentralus", "identity": {"type": "SystemAssigned"}, "properties": {"encryptionType": "EncryptionAtRestWithCustomerKey", "activeKey": {"sourceVault": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003"}, - "keyUrl": "https://vault2-000003.vault.azure.net/keys/key2-000006/b8c58ab688dc41e3acc95f7fe7769a98"}, + "keyUrl": "https://vault2-000003.vault.azure.net/keys/key2-000006/2b76b4c1d0a546c4bd529ce98b520af8"}, "rotationToLatestKeyVersionEnabled": false}}' headers: Accept: @@ -1103,8 +1103,7 @@ interactions: ParameterSetName: - -g -n --source-vault --key-url --enable-auto-key-rotation User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000008?api-version=2022-03-02 response: @@ -1112,13 +1111,13 @@ interactions: string: "{\r\n \"location\": \"westcentralus\",\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/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003\"\r\n - \ },\r\n \"keyUrl\": \"https://vault2-000003.vault.azure.net/keys/key2-000006/b8c58ab688dc41e3acc95f7fe7769a98\"\r\n + \ },\r\n \"keyUrl\": \"https://vault2-000003.vault.azure.net/keys/key2-000006/2b76b4c1d0a546c4bd529ce98b520af8\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"rotationToLatestKeyVersionEnabled\": false,\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/westcentralus/DiskOperations/58914cf6-6154-4f9b-9483-93c44666e6c4?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/dd66e1ad-c2f6-4a63-9fd8-b03f21ce8cc8?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 cache-control: - no-cache content-length: @@ -1126,11 +1125,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:44:00 GMT + - Wed, 12 Jul 2023 11:04:57 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/58914cf6-6154-4f9b-9483-93c44666e6c4?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/dd66e1ad-c2f6-4a63-9fd8-b03f21ce8cc8?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -1141,9 +1140,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet3Min;98,Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet30Min;293 + - Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet3Min;98,Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet30Min;296 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 202 message: Accepted @@ -1161,25 +1160,34 @@ interactions: ParameterSetName: - -g -n --source-vault --key-url --enable-auto-key-rotation User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/58914cf6-6154-4f9b-9483-93c44666e6c4?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/dd66e1ad-c2f6-4a63-9fd8-b03f21ce8cc8?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2023-05-26T00:43:59.904907+00:00\",\r\n \"endTime\": - \"2023-05-26T00:44:00.8736595+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"properties\": {\r\n \"output\": {\"name\":\"des-000008\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000008\",\"type\":\"Microsoft.Compute/diskEncryptionSets\",\"location\":\"westcentralus\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"b9fbce45-1b32-4a8b-8819-4879286fb54b\",\"tenantId\":\"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"},\"properties\":{\"activeKey\":{\"sourceVault\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003\"},\"keyUrl\":\"https://vault2-000003.vault.azure.net/keys/key2-000006/b8c58ab688dc41e3acc95f7fe7769a98\"},\"encryptionType\":\"EncryptionAtRestWithCustomerKey\",\"rotationToLatestKeyVersionEnabled\":false,\"provisioningState\":\"Succeeded\",\"lastKeyRotationTimestamp\":\"2023-05-26T00:44:00.8424036+00:00\"}}\r\n - \ },\r\n \"name\": \"58914cf6-6154-4f9b-9483-93c44666e6c4\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-12T11:04:56.9767764+00:00\",\r\n \"endTime\": + \"2023-07-12T11:04:57.5861463+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"des-000008\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000008\",\r\n + \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n + \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": + \"682af290-cecc-47a8-88fa-8dca7d6be984\",\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/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003\"\r\n + \ },\r\n \"keyUrl\": \"https://vault2-000003.vault.azure.net/keys/key2-000006/2b76b4c1d0a546c4bd529ce98b520af8\"\r\n + \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n + \ \"rotationToLatestKeyVersionEnabled\": false,\r\n \"provisioningState\": + \"Succeeded\",\r\n \"lastKeyRotationTimestamp\": \"2023-07-12T11:04:57.5392694+00:00\"\r\n + \ }\r\n}\r\n },\r\n \"name\": \"dd66e1ad-c2f6-4a63-9fd8-b03f21ce8cc8\"\r\n}" headers: cache-control: - no-cache content-length: - - '1132' + - '1272' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:44:30 GMT + - Wed, 12 Jul 2023 11:04:57 GMT expires: - '-1' pragma: @@ -1196,7 +1204,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49994,Microsoft.Compute/GetOperation30Min;399967 + - Microsoft.Compute/GetOperation3Min;49997,Microsoft.Compute/GetOperation30Min;399981 status: code: 200 message: OK @@ -1214,8 +1222,7 @@ interactions: ParameterSetName: - -g -n --source-vault --key-url --enable-auto-key-rotation User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000008?api-version=2022-03-02 response: @@ -1223,13 +1230,13 @@ interactions: string: "{\r\n \"name\": \"des-000008\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000008\",\r\n \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": - \"b9fbce45-1b32-4a8b-8819-4879286fb54b\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \"682af290-cecc-47a8-88fa-8dca7d6be984\",\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/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003\"\r\n - \ },\r\n \"keyUrl\": \"https://vault2-000003.vault.azure.net/keys/key2-000006/b8c58ab688dc41e3acc95f7fe7769a98\"\r\n + \ },\r\n \"keyUrl\": \"https://vault2-000003.vault.azure.net/keys/key2-000006/2b76b4c1d0a546c4bd529ce98b520af8\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"rotationToLatestKeyVersionEnabled\": false,\r\n \"provisioningState\": - \"Succeeded\",\r\n \"lastKeyRotationTimestamp\": \"2023-05-26T00:44:00.8424036+00:00\"\r\n + \"Succeeded\",\r\n \"lastKeyRotationTimestamp\": \"2023-07-12T11:04:57.5392694+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -1239,7 +1246,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:44:30 GMT + - Wed, 12 Jul 2023 11:04:58 GMT expires: - '-1' pragma: @@ -1256,7 +1263,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14986,Microsoft.Compute/LowCostGet30Min;119921 + - Microsoft.Compute/LowCostGet3Min;14990,Microsoft.Compute/LowCostGet30Min;119962 status: code: 200 message: OK @@ -1264,7 +1271,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1276,8 +1283,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000008?api-version=2022-03-02 response: @@ -1285,17 +1291,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/dc765226-0d12-4b7c-b896-07eb5ab00c5e?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/13d7aa53-bc6f-4d18-91fe-77e72b52c973?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 cache-control: - no-cache content-length: - '0' date: - - Fri, 26 May 2023 00:44:30 GMT + - Wed, 12 Jul 2023 11:05:00 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/dc765226-0d12-4b7c-b896-07eb5ab00c5e?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/13d7aa53-bc6f-4d18-91fe-77e72b52c973?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -1306,9 +1312,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/DeleteHighCostDiskEncryptionSet3Min;199,Microsoft.Compute/DeleteHighCostDiskEncryptionSet30Min;486 + - Microsoft.Compute/DeleteHighCostDiskEncryptionSet3Min;199,Microsoft.Compute/DeleteHighCostDiskEncryptionSet30Min;495 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' status: code: 202 message: Accepted @@ -1326,15 +1332,14 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/dc765226-0d12-4b7c-b896-07eb5ab00c5e?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/13d7aa53-bc6f-4d18-91fe-77e72b52c973?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2023-05-26T00:44:31.6705379+00:00\",\r\n \"endTime\": - \"2023-05-26T00:44:31.7017578+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"dc765226-0d12-4b7c-b896-07eb5ab00c5e\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-12T11:05:00.5548843+00:00\",\r\n \"endTime\": + \"2023-07-12T11:05:00.6017833+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"13d7aa53-bc6f-4d18-91fe-77e72b52c973\"\r\n}" headers: cache-control: - no-cache @@ -1343,7 +1348,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:45:02 GMT + - Wed, 12 Jul 2023 11:05:00 GMT expires: - '-1' pragma: @@ -1360,7 +1365,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49994,Microsoft.Compute/GetOperation30Min;399965 + - Microsoft.Compute/GetOperation3Min;49996,Microsoft.Compute/GetOperation30Min;399980 status: code: 200 message: OK @@ -1378,22 +1383,21 @@ interactions: ParameterSetName: - -g -n --key-url --enable-auto-key-rotation User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_disk_encryption_set_update_000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001","name":"cli_test_disk_encryption_set_update_000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","date":"2023-05-26T00:40:34Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001","name":"cli_test_disk_encryption_set_update_000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","test":"test_disk_encryption_set_update","date":"2023-07-12T11:01:16Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '369' + - '424' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:45:01 GMT + - Wed, 12 Jul 2023 11:05:01 GMT expires: - '-1' pragma: @@ -1409,7 +1413,7 @@ interactions: message: OK - request: body: '{"location": "westcentralus", "identity": {"type": "SystemAssigned"}, "properties": - {"activeKey": {"keyUrl": "https://vault3-000004.vault.azure.net/keys/key3-000007/ff117bee7f5e4e7eb9d18f80f2b57ded"}, + {"activeKey": {"keyUrl": "https://vault3-000004.vault.azure.net/keys/key3-000007/f792bbeda2bc4d39b8b6aa57a09ba402"}, "rotationToLatestKeyVersionEnabled": true}}' headers: Accept: @@ -1427,20 +1431,19 @@ interactions: ParameterSetName: - -g -n --key-url --enable-auto-key-rotation User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009?api-version=2022-03-02 response: body: string: "{\r\n \"location\": \"westcentralus\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n },\r\n \"properties\": {\r\n \"activeKey\": {\r\n - \ \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/ff117bee7f5e4e7eb9d18f80f2b57ded\"\r\n + \ \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/f792bbeda2bc4d39b8b6aa57a09ba402\"\r\n \ },\r\n \"rotationToLatestKeyVersionEnabled\": true,\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/westcentralus/DiskOperations/4f80f80d-67ba-48d4-96c2-b4020cee36c9?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/e6a22fa2-82f6-496c-a9c9-d06ed8e6a292?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 cache-control: - no-cache content-length: @@ -1448,11 +1451,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:45:04 GMT + - Wed, 12 Jul 2023 11:05:07 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/4f80f80d-67ba-48d4-96c2-b4020cee36c9?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/e6a22fa2-82f6-496c-a9c9-d06ed8e6a292?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -1463,9 +1466,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet3Min;98,Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet30Min;292 + - Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet3Min;97,Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet30Min;295 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 202 message: Accepted @@ -1483,25 +1486,31 @@ interactions: ParameterSetName: - -g -n --key-url --enable-auto-key-rotation User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/4f80f80d-67ba-48d4-96c2-b4020cee36c9?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/e6a22fa2-82f6-496c-a9c9-d06ed8e6a292?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2023-05-26T00:45:04.6860995+00:00\",\r\n \"endTime\": - \"2023-05-26T00:45:04.732977+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"properties\": {\r\n \"output\": {\"name\":\"des-000009\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009\",\"type\":\"Microsoft.Compute/diskEncryptionSets\",\"location\":\"westcentralus\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"4cec8efd-7115-423a-a9f2-000796df8fe2\",\"tenantId\":\"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"},\"properties\":{\"activeKey\":{\"keyUrl\":\"https://vault3-000004.vault.azure.net/keys/key3-000007/ff117bee7f5e4e7eb9d18f80f2b57ded\"},\"encryptionType\":\"EncryptionAtRestWithCustomerKey\",\"rotationToLatestKeyVersionEnabled\":true,\"provisioningState\":\"Succeeded\"}}\r\n - \ },\r\n \"name\": \"4f80f80d-67ba-48d4-96c2-b4020cee36c9\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-12T11:05:08.1485759+00:00\",\r\n \"endTime\": + \"2023-07-12T11:05:08.2267036+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"des-000009\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009\",\r\n + \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n + \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": + \"27378419-7a9d-4b45-8c74-1b3892684c04\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \ },\r\n \"properties\": {\r\n \"activeKey\": {\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/f792bbeda2bc4d39b8b6aa57a09ba402\"\r\n + \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n + \ \"rotationToLatestKeyVersionEnabled\": true,\r\n \"provisioningState\": + \"Succeeded\"\r\n }\r\n}\r\n },\r\n \"name\": \"e6a22fa2-82f6-496c-a9c9-d06ed8e6a292\"\r\n}" headers: cache-control: - no-cache content-length: - - '885' + - '990' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:45:34 GMT + - Wed, 12 Jul 2023 11:05:08 GMT expires: - '-1' pragma: @@ -1518,7 +1527,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49994,Microsoft.Compute/GetOperation30Min;399963 + - Microsoft.Compute/GetOperation3Min;49995,Microsoft.Compute/GetOperation30Min;399979 status: code: 200 message: OK @@ -1536,8 +1545,7 @@ interactions: ParameterSetName: - -g -n --key-url --enable-auto-key-rotation User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009?api-version=2022-03-02 response: @@ -1545,8 +1553,8 @@ interactions: string: "{\r\n \"name\": \"des-000009\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009\",\r\n \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": - \"4cec8efd-7115-423a-a9f2-000796df8fe2\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n - \ },\r\n \"properties\": {\r\n \"activeKey\": {\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/ff117bee7f5e4e7eb9d18f80f2b57ded\"\r\n + \"27378419-7a9d-4b45-8c74-1b3892684c04\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \ },\r\n \"properties\": {\r\n \"activeKey\": {\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/f792bbeda2bc4d39b8b6aa57a09ba402\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"rotationToLatestKeyVersionEnabled\": true,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" @@ -1558,7 +1566,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:45:34 GMT + - Wed, 12 Jul 2023 11:05:08 GMT expires: - '-1' pragma: @@ -1575,7 +1583,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14990,Microsoft.Compute/LowCostGet30Min;119915 + - Microsoft.Compute/LowCostGet3Min;14989,Microsoft.Compute/LowCostGet30Min;119961 status: code: 200 message: OK @@ -1593,8 +1601,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009?api-version=2022-03-02 response: @@ -1602,8 +1609,8 @@ interactions: string: "{\r\n \"name\": \"des-000009\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009\",\r\n \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": - \"4cec8efd-7115-423a-a9f2-000796df8fe2\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n - \ },\r\n \"properties\": {\r\n \"activeKey\": {\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/ff117bee7f5e4e7eb9d18f80f2b57ded\"\r\n + \"27378419-7a9d-4b45-8c74-1b3892684c04\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \ },\r\n \"properties\": {\r\n \"activeKey\": {\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/f792bbeda2bc4d39b8b6aa57a09ba402\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"rotationToLatestKeyVersionEnabled\": true,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" @@ -1615,7 +1622,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:45:35 GMT + - Wed, 12 Jul 2023 11:05:11 GMT expires: - '-1' pragma: @@ -1632,7 +1639,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14989,Microsoft.Compute/LowCostGet30Min;119914 + - Microsoft.Compute/LowCostGet3Min;14988,Microsoft.Compute/LowCostGet30Min;119960 status: code: 200 message: OK @@ -1650,22 +1657,21 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-keyvault/10.2.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.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/AzurePowerShellLiveTest/providers/Microsoft.KeyVault/vaults/LiveTestKeyVault","name":"LiveTestKeyVault","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bez-rg/providers/Microsoft.KeyVault/vaults/bez-kv","name":"bez-kv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bez-rg/providers/Microsoft.KeyVault/vaults/bez-kv-test","name":"bez-kv-test","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault1-000002","name":"vault1-000002","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003","name":"vault2-000003","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004","name":"vault3-000004","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/hangkey","name":"hangkey","type":"Microsoft.KeyVault/vaults","location":"koreasouth","tags":{"kk":"kk","zz":"kk","--kk":"zz"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/similar0327002194","name":"similar0327002194","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiaslivmmirg/providers/Microsoft.KeyVault/vaults/jlkv0516","name":"jlkv0516","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jltest0525/providers/Microsoft.KeyVault/vaults/jlkv0525","name":"jlkv0525","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jltest0525/providers/Microsoft.KeyVault/vaults/jlkv05252","name":"jlkv05252","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jltest0525/providers/Microsoft.KeyVault/vaults/jlkv05253","name":"jlkv05253","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nori-rg/providers/Microsoft.KeyVault/vaults/nori-kv765","name":"nori-kv765","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/shiying-rg/providers/Microsoft.KeyVault/vaults/shiyingkv","name":"shiyingkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testkvv2rg/providers/Microsoft.KeyVault/vaults/testkvtrack2","name":"testkvtrack2","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yishitest/providers/Microsoft.KeyVault/vaults/ystestkv","name":"ystestkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AzurePowerShellLiveTest/providers/Microsoft.KeyVault/vaults/LiveTestKeyVault","name":"LiveTestKeyVault","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault1-000002","name":"vault1-000002","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003","name":"vault2-000003","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004","name":"vault3-000004","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/hangkey","name":"hangkey","type":"Microsoft.KeyVault/vaults","location":"koreasouth","tags":{"kk":"kk","zz":"kk","--kk":"zz"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/similar0327002194","name":"similar0327002194","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiaslivmmirg/providers/Microsoft.KeyVault/vaults/jlkv0516","name":"jlkv0516","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nori-rg/providers/Microsoft.KeyVault/vaults/ps0001","name":"ps0001","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"key":"value"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/shiying-rg/providers/Microsoft.KeyVault/vaults/shiyingkv","name":"shiyingkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testkvv2rg/providers/Microsoft.KeyVault/vaults/testkvtrack2","name":"testkvtrack2","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yishitest/providers/Microsoft.KeyVault/vaults/ystestkv","name":"ystestkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zhiyihuang-rg/providers/Microsoft.KeyVault/vaults/test-user-identity-kv2","name":"test-user-identity-kv2","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{}}]}' headers: cache-control: - no-cache content-length: - - '3683' + - '2862' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:45:35 GMT + - Wed, 12 Jul 2023 11:05:11 GMT expires: - '-1' pragma: @@ -1693,22 +1699,21 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-keyvault/10.2.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004","name":"vault3-000004","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-05-26T00:41:44.362Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-26T00:41:44.362Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault3-000004.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004","name":"vault3-000004","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"zhuyan@microsoft.com","createdByType":"User","createdAt":"2023-07-12T11:02:43.016Z","lastModifiedBy":"zhuyan@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-12T11:02:43.016Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault3-000004.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '1080' + - '1030' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:45:36 GMT + - Wed, 12 Jul 2023 11:05:14 GMT expires: - '-1' pragma: @@ -1726,18 +1731,18 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.785.0 + - 1.5.851.0 status: code: 200 message: OK - request: body: '{"location": "westcentralus", "tags": {}, "properties": {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "sku": {"family": "A", "name": "standard"}, "accessPolicies": [{"tenantId": - "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "6b30bdc6-696a-46fb-82d7-739c2fb147b7", + "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2", "permissions": {"keys": ["all"], "secrets": ["all"], "certificates": ["all"], "storage": ["all"]}}, {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": - "4cec8efd-7115-423a-a9f2-000796df8fe2", "permissions": {"keys": ["get", "wrapKey", - "unwrapKey"]}}], "vaultUri": "https://vault3-000004.vault.azure.net/", "enabledForDeployment": + "27378419-7a9d-4b45-8c74-1b3892684c04", "permissions": {"keys": ["get", "unwrapKey", + "wrapKey"]}}], "vaultUri": "https://vault3-000004.vault.azure.net/", "enabledForDeployment": false, "enableSoftDelete": true, "softDeleteRetentionInDays": 7, "enablePurgeProtection": true, "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled"}}' headers: @@ -1756,22 +1761,21 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-keyvault/10.2.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004","name":"vault3-000004","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-05-26T00:41:44.362Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-26T00:45:36.753Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"4cec8efd-7115-423a-a9f2-000796df8fe2","permissions":{"keys":["get","wrapKey","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault3-000004.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004","name":"vault3-000004","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"zhuyan@microsoft.com","createdByType":"User","createdAt":"2023-07-12T11:02:43.016Z","lastModifiedBy":"zhuyan@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-12T11:05:14.45Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"27378419-7a9d-4b45-8c74-1b3892684c04","permissions":{"keys":["get","unwrapKey","wrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault3-000004.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '1235' + - '1184' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:45:36 GMT + - Wed, 12 Jul 2023 11:05:14 GMT expires: - '-1' pragma: @@ -1789,9 +1793,9 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.785.0 + - 1.5.851.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -1809,8 +1813,7 @@ interactions: ParameterSetName: - -g -n --source-vault User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009?api-version=2022-03-02 response: @@ -1818,8 +1821,8 @@ interactions: string: "{\r\n \"name\": \"des-000009\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009\",\r\n \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": - \"4cec8efd-7115-423a-a9f2-000796df8fe2\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n - \ },\r\n \"properties\": {\r\n \"activeKey\": {\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/ff117bee7f5e4e7eb9d18f80f2b57ded\"\r\n + \"27378419-7a9d-4b45-8c74-1b3892684c04\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \ },\r\n \"properties\": {\r\n \"activeKey\": {\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/f792bbeda2bc4d39b8b6aa57a09ba402\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"rotationToLatestKeyVersionEnabled\": true,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" @@ -1831,7 +1834,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:45:36 GMT + - Wed, 12 Jul 2023 11:05:16 GMT expires: - '-1' pragma: @@ -1848,7 +1851,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14988,Microsoft.Compute/LowCostGet30Min;119913 + - Microsoft.Compute/LowCostGet3Min;14986,Microsoft.Compute/LowCostGet30Min;119958 status: code: 200 message: OK @@ -1856,7 +1859,7 @@ interactions: body: '{"location": "westcentralus", "identity": {"type": "SystemAssigned"}, "properties": {"encryptionType": "EncryptionAtRestWithCustomerKey", "activeKey": {"sourceVault": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004"}, - "keyUrl": "https://vault3-000004.vault.azure.net/keys/key3-000007/ff117bee7f5e4e7eb9d18f80f2b57ded"}, + "keyUrl": "https://vault3-000004.vault.azure.net/keys/key3-000007/f792bbeda2bc4d39b8b6aa57a09ba402"}, "rotationToLatestKeyVersionEnabled": true}}' headers: Accept: @@ -1874,8 +1877,7 @@ interactions: ParameterSetName: - -g -n --source-vault User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009?api-version=2022-03-02 response: @@ -1883,13 +1885,13 @@ interactions: string: "{\r\n \"location\": \"westcentralus\",\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/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004\"\r\n - \ },\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/ff117bee7f5e4e7eb9d18f80f2b57ded\"\r\n + \ },\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/f792bbeda2bc4d39b8b6aa57a09ba402\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"rotationToLatestKeyVersionEnabled\": true,\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/westcentralus/DiskOperations/9de30f99-0a0c-4180-95a6-5e0079ec4342?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/f8406d39-4673-4fb0-866d-c1cdd2359d29?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 cache-control: - no-cache content-length: @@ -1897,11 +1899,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:45:38 GMT + - Wed, 12 Jul 2023 11:05:20 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/9de30f99-0a0c-4180-95a6-5e0079ec4342?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/f8406d39-4673-4fb0-866d-c1cdd2359d29?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -1912,9 +1914,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet3Min;97,Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet30Min;291 + - Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet3Min;96,Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet30Min;294 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 202 message: Accepted @@ -1932,25 +1934,33 @@ interactions: ParameterSetName: - -g -n --source-vault User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/9de30f99-0a0c-4180-95a6-5e0079ec4342?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/f8406d39-4673-4fb0-866d-c1cdd2359d29?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2023-05-26T00:45:38.3266742+00:00\",\r\n \"endTime\": - \"2023-05-26T00:45:38.9360573+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"properties\": {\r\n \"output\": {\"name\":\"des-000009\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009\",\"type\":\"Microsoft.Compute/diskEncryptionSets\",\"location\":\"westcentralus\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"4cec8efd-7115-423a-a9f2-000796df8fe2\",\"tenantId\":\"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"},\"properties\":{\"activeKey\":{\"sourceVault\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004\"},\"keyUrl\":\"https://vault3-000004.vault.azure.net/keys/key3-000007/ff117bee7f5e4e7eb9d18f80f2b57ded\"},\"encryptionType\":\"EncryptionAtRestWithCustomerKey\",\"rotationToLatestKeyVersionEnabled\":true,\"provisioningState\":\"Succeeded\"}}\r\n - \ },\r\n \"name\": \"9de30f99-0a0c-4180-95a6-5e0079ec4342\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-12T11:05:20.2109939+00:00\",\r\n \"endTime\": + \"2023-07-12T11:05:20.679741+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"des-000009\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009\",\r\n + \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n + \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": + \"27378419-7a9d-4b45-8c74-1b3892684c04\",\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/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004\"\r\n + \ },\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/f792bbeda2bc4d39b8b6aa57a09ba402\"\r\n + \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n + \ \"rotationToLatestKeyVersionEnabled\": true,\r\n \"provisioningState\": + \"Succeeded\"\r\n }\r\n}\r\n },\r\n \"name\": \"f8406d39-4673-4fb0-866d-c1cdd2359d29\"\r\n}" headers: cache-control: - no-cache content-length: - - '1069' + - '1200' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:46:08 GMT + - Wed, 12 Jul 2023 11:05:20 GMT expires: - '-1' pragma: @@ -1967,7 +1977,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49992,Microsoft.Compute/GetOperation30Min;399961 + - Microsoft.Compute/GetOperation3Min;49992,Microsoft.Compute/GetOperation30Min;399976 status: code: 200 message: OK @@ -1985,8 +1995,7 @@ interactions: ParameterSetName: - -g -n --source-vault User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009?api-version=2022-03-02 response: @@ -1994,10 +2003,10 @@ interactions: string: "{\r\n \"name\": \"des-000009\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009\",\r\n \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": - \"4cec8efd-7115-423a-a9f2-000796df8fe2\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \"27378419-7a9d-4b45-8c74-1b3892684c04\",\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/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004\"\r\n - \ },\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/ff117bee7f5e4e7eb9d18f80f2b57ded\"\r\n + \ },\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/f792bbeda2bc4d39b8b6aa57a09ba402\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"rotationToLatestKeyVersionEnabled\": true,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" @@ -2009,7 +2018,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:46:08 GMT + - Wed, 12 Jul 2023 11:05:21 GMT expires: - '-1' pragma: @@ -2026,7 +2035,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14985,Microsoft.Compute/LowCostGet30Min;119910 + - Microsoft.Compute/LowCostGet3Min;14983,Microsoft.Compute/LowCostGet30Min;119955 status: code: 200 message: OK @@ -2034,7 +2043,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2046,8 +2055,7 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009?api-version=2022-03-02 response: @@ -2055,17 +2063,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/739945a8-48e5-4e98-b3c6-2214511d77b1?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/9ef526fd-f392-4529-b0d5-7964adc8e023?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 cache-control: - no-cache content-length: - '0' date: - - Fri, 26 May 2023 00:46:08 GMT + - Wed, 12 Jul 2023 11:05:23 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/739945a8-48e5-4e98-b3c6-2214511d77b1?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/9ef526fd-f392-4529-b0d5-7964adc8e023?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -2076,7 +2084,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/DeleteHighCostDiskEncryptionSet3Min;198,Microsoft.Compute/DeleteHighCostDiskEncryptionSet30Min;485 + - Microsoft.Compute/DeleteHighCostDiskEncryptionSet3Min;198,Microsoft.Compute/DeleteHighCostDiskEncryptionSet30Min;494 x-ms-ratelimit-remaining-subscription-deletes: - '14999' status: @@ -2096,24 +2104,23 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/739945a8-48e5-4e98-b3c6-2214511d77b1?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/9ef526fd-f392-4529-b0d5-7964adc8e023?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2023-05-26T00:46:09.6703953+00:00\",\r\n \"endTime\": - \"2023-05-26T00:46:09.717292+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"739945a8-48e5-4e98-b3c6-2214511d77b1\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-12T11:05:24.0391194+00:00\",\r\n \"endTime\": + \"2023-07-12T11:05:24.1016155+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"9ef526fd-f392-4529-b0d5-7964adc8e023\"\r\n}" headers: cache-control: - no-cache content-length: - - '183' + - '184' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:46:39 GMT + - Wed, 12 Jul 2023 11:05:24 GMT expires: - '-1' pragma: @@ -2130,7 +2137,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49990,Microsoft.Compute/GetOperation30Min;399959 + - Microsoft.Compute/GetOperation3Min;49991,Microsoft.Compute/GetOperation30Min;399975 status: code: 200 message: OK @@ -2148,22 +2155,21 @@ interactions: ParameterSetName: - -g -n --key-url --enable-auto-key-rotation User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_disk_encryption_set_update_000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001","name":"cli_test_disk_encryption_set_update_000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","date":"2023-05-26T00:40:34Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001","name":"cli_test_disk_encryption_set_update_000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","test":"test_disk_encryption_set_update","date":"2023-07-12T11:01:16Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '369' + - '424' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:46:40 GMT + - Wed, 12 Jul 2023 11:05:24 GMT expires: - '-1' pragma: @@ -2179,7 +2185,7 @@ interactions: message: OK - request: body: '{"location": "westcentralus", "identity": {"type": "SystemAssigned"}, "properties": - {"activeKey": {"keyUrl": "https://vault3-000004.vault.azure.net/keys/key3-000007/ff117bee7f5e4e7eb9d18f80f2b57ded"}, + {"activeKey": {"keyUrl": "https://vault3-000004.vault.azure.net/keys/key3-000007/f792bbeda2bc4d39b8b6aa57a09ba402"}, "rotationToLatestKeyVersionEnabled": true}}' headers: Accept: @@ -2197,20 +2203,19 @@ interactions: ParameterSetName: - -g -n --key-url --enable-auto-key-rotation User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009?api-version=2022-03-02 response: body: string: "{\r\n \"location\": \"westcentralus\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n },\r\n \"properties\": {\r\n \"activeKey\": {\r\n - \ \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/ff117bee7f5e4e7eb9d18f80f2b57ded\"\r\n + \ \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/f792bbeda2bc4d39b8b6aa57a09ba402\"\r\n \ },\r\n \"rotationToLatestKeyVersionEnabled\": true,\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/westcentralus/DiskOperations/94f05ea2-b683-44dd-8cb9-6970d9ee10f8?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/eeaa49b6-db2c-4114-8570-41d2bad714e7?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 cache-control: - no-cache content-length: @@ -2218,11 +2223,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:46:41 GMT + - Wed, 12 Jul 2023 11:05:29 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/94f05ea2-b683-44dd-8cb9-6970d9ee10f8?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/eeaa49b6-db2c-4114-8570-41d2bad714e7?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -2233,9 +2238,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet3Min;97,Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet30Min;290 + - Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet3Min;95,Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet30Min;293 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -2253,25 +2258,31 @@ interactions: ParameterSetName: - -g -n --key-url --enable-auto-key-rotation User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/94f05ea2-b683-44dd-8cb9-6970d9ee10f8?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/eeaa49b6-db2c-4114-8570-41d2bad714e7?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2023-05-26T00:46:42.1079205+00:00\",\r\n \"endTime\": - \"2023-05-26T00:46:42.154796+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"properties\": {\r\n \"output\": {\"name\":\"des-000009\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009\",\"type\":\"Microsoft.Compute/diskEncryptionSets\",\"location\":\"westcentralus\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"1e83267f-7d93-4982-b96e-5bfad62e2684\",\"tenantId\":\"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"},\"properties\":{\"activeKey\":{\"keyUrl\":\"https://vault3-000004.vault.azure.net/keys/key3-000007/ff117bee7f5e4e7eb9d18f80f2b57ded\"},\"encryptionType\":\"EncryptionAtRestWithCustomerKey\",\"rotationToLatestKeyVersionEnabled\":true,\"provisioningState\":\"Succeeded\"}}\r\n - \ },\r\n \"name\": \"94f05ea2-b683-44dd-8cb9-6970d9ee10f8\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-12T11:05:29.2422023+00:00\",\r\n \"endTime\": + \"2023-07-12T11:05:29.3046804+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"des-000009\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009\",\r\n + \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n + \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": + \"27378419-7a9d-4b45-8c74-1b3892684c04\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \ },\r\n \"properties\": {\r\n \"activeKey\": {\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/f792bbeda2bc4d39b8b6aa57a09ba402\"\r\n + \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n + \ \"rotationToLatestKeyVersionEnabled\": true,\r\n \"provisioningState\": + \"Succeeded\"\r\n }\r\n}\r\n },\r\n \"name\": \"eeaa49b6-db2c-4114-8570-41d2bad714e7\"\r\n}" headers: cache-control: - no-cache content-length: - - '885' + - '990' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:47:11 GMT + - Wed, 12 Jul 2023 11:05:29 GMT expires: - '-1' pragma: @@ -2288,7 +2299,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49989,Microsoft.Compute/GetOperation30Min;399957 + - Microsoft.Compute/GetOperation3Min;49989,Microsoft.Compute/GetOperation30Min;399973 status: code: 200 message: OK @@ -2306,8 +2317,7 @@ interactions: ParameterSetName: - -g -n --key-url --enable-auto-key-rotation User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009?api-version=2022-03-02 response: @@ -2315,8 +2325,8 @@ interactions: string: "{\r\n \"name\": \"des-000009\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009\",\r\n \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": - \"1e83267f-7d93-4982-b96e-5bfad62e2684\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n - \ },\r\n \"properties\": {\r\n \"activeKey\": {\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/ff117bee7f5e4e7eb9d18f80f2b57ded\"\r\n + \"27378419-7a9d-4b45-8c74-1b3892684c04\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \ },\r\n \"properties\": {\r\n \"activeKey\": {\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/f792bbeda2bc4d39b8b6aa57a09ba402\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"rotationToLatestKeyVersionEnabled\": true,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" @@ -2328,7 +2338,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:47:11 GMT + - Wed, 12 Jul 2023 11:05:29 GMT expires: - '-1' pragma: @@ -2345,7 +2355,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14983,Microsoft.Compute/LowCostGet30Min;119905 + - Microsoft.Compute/LowCostGet3Min;14981,Microsoft.Compute/LowCostGet30Min;119953 status: code: 200 message: OK @@ -2363,8 +2373,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009?api-version=2022-03-02 response: @@ -2372,8 +2381,8 @@ interactions: string: "{\r\n \"name\": \"des-000009\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009\",\r\n \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": - \"1e83267f-7d93-4982-b96e-5bfad62e2684\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n - \ },\r\n \"properties\": {\r\n \"activeKey\": {\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/ff117bee7f5e4e7eb9d18f80f2b57ded\"\r\n + \"27378419-7a9d-4b45-8c74-1b3892684c04\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \ },\r\n \"properties\": {\r\n \"activeKey\": {\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/f792bbeda2bc4d39b8b6aa57a09ba402\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"rotationToLatestKeyVersionEnabled\": true,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" @@ -2385,7 +2394,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:47:12 GMT + - Wed, 12 Jul 2023 11:05:32 GMT expires: - '-1' pragma: @@ -2402,7 +2411,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14982,Microsoft.Compute/LowCostGet30Min;119904 + - Microsoft.Compute/LowCostGet3Min;14980,Microsoft.Compute/LowCostGet30Min;119952 status: code: 200 message: OK @@ -2420,22 +2429,23 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-keyvault/10.2.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.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/AzurePowerShellLiveTest/providers/Microsoft.KeyVault/vaults/LiveTestKeyVault","name":"LiveTestKeyVault","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bez-rg/providers/Microsoft.KeyVault/vaults/bez-kv","name":"bez-kv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bez-rg/providers/Microsoft.KeyVault/vaults/bez-kv-test","name":"bez-kv-test","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault1-000002","name":"vault1-000002","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003","name":"vault2-000003","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004","name":"vault3-000004","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/hangkey","name":"hangkey","type":"Microsoft.KeyVault/vaults","location":"koreasouth","tags":{"kk":"kk","zz":"kk","--kk":"zz"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/similar0327002194","name":"similar0327002194","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiaslivmmirg/providers/Microsoft.KeyVault/vaults/jlkv0516","name":"jlkv0516","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jltest0525/providers/Microsoft.KeyVault/vaults/jlkv0525","name":"jlkv0525","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jltest0525/providers/Microsoft.KeyVault/vaults/jlkv05252","name":"jlkv05252","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jltest0525/providers/Microsoft.KeyVault/vaults/jlkv05253","name":"jlkv05253","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nori-rg/providers/Microsoft.KeyVault/vaults/nori-kv765","name":"nori-kv765","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/shiying-rg/providers/Microsoft.KeyVault/vaults/shiyingkv","name":"shiyingkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testkvv2rg/providers/Microsoft.KeyVault/vaults/testkvtrack2","name":"testkvtrack2","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yishitest/providers/Microsoft.KeyVault/vaults/ystestkv","name":"ystestkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AzurePowerShellLiveTest/providers/Microsoft.KeyVault/vaults/LiveTestKeyVault","name":"LiveTestKeyVault","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault1-000002","name":"vault1-000002","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003","name":"vault2-000003","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004","name":"vault3-000004","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/hangkey","name":"hangkey","type":"Microsoft.KeyVault/vaults","location":"koreasouth","tags":{"kk":"kk","zz":"kk","--kk":"zz"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/similar0327002194","name":"similar0327002194","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiaslivmmirg/providers/Microsoft.KeyVault/vaults/jlkv0516","name":"jlkv0516","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nori-rg/providers/Microsoft.KeyVault/vaults/ps0001","name":"ps0001","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"key":"value"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/shiying-rg/providers/Microsoft.KeyVault/vaults/shiyingkv","name":"shiyingkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testkvv2rg/providers/Microsoft.KeyVault/vaults/testkvtrack2","name":"testkvtrack2","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yishitest/providers/Microsoft.KeyVault/vaults/ystestkv","name":"ystestkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zhiyihuang-rg/providers/Microsoft.KeyVault/vaults/test-user-identity-kv2","name":"test-user-identity-kv2","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{}}]}' headers: cache-control: - no-cache + connection: + - close content-length: - - '3683' + - '2862' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:47:12 GMT + - Wed, 12 Jul 2023 11:05:32 GMT expires: - '-1' pragma: @@ -2463,22 +2473,21 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-keyvault/10.2.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003","name":"vault2-000003","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-05-26T00:41:10.341Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-26T00:42:55.332Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"b9fbce45-1b32-4a8b-8819-4879286fb54b","permissions":{"keys":["get","wrapKey","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault2-000003.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003","name":"vault2-000003","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"zhuyan@microsoft.com","createdByType":"User","createdAt":"2023-07-12T11:02:01.663Z","lastModifiedBy":"zhuyan@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-12T11:03:42.571Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"682af290-cecc-47a8-88fa-8dca7d6be984","permissions":{"keys":["get","unwrapKey","wrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault2-000003.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '1235' + - '1185' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:47:13 GMT + - Wed, 12 Jul 2023 11:05:35 GMT expires: - '-1' pragma: @@ -2496,20 +2505,20 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.785.0 + - 1.5.851.0 status: code: 200 message: OK - request: body: '{"location": "westcentralus", "tags": {}, "properties": {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "sku": {"family": "A", "name": "standard"}, "accessPolicies": [{"tenantId": - "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "6b30bdc6-696a-46fb-82d7-739c2fb147b7", + "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2", "permissions": {"keys": ["all"], "secrets": ["all"], "certificates": ["all"], "storage": ["all"]}}, {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": - "b9fbce45-1b32-4a8b-8819-4879286fb54b", "permissions": {"keys": ["get", "wrapKey", - "unwrapKey"]}}, {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": - "1e83267f-7d93-4982-b96e-5bfad62e2684", "permissions": {"keys": ["get", "wrapKey", - "unwrapKey"]}}], "vaultUri": "https://vault2-000003.vault.azure.net/", "enabledForDeployment": + "682af290-cecc-47a8-88fa-8dca7d6be984", "permissions": {"keys": ["get", "unwrapKey", + "wrapKey"]}}, {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": + "27378419-7a9d-4b45-8c74-1b3892684c04", "permissions": {"keys": ["get", "unwrapKey", + "wrapKey"]}}], "vaultUri": "https://vault2-000003.vault.azure.net/", "enabledForDeployment": false, "enableSoftDelete": true, "softDeleteRetentionInDays": 7, "enablePurgeProtection": true, "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled"}}' headers: @@ -2528,22 +2537,21 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-keyvault/10.2.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003","name":"vault2-000003","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-05-26T00:41:10.341Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-26T00:47:13.776Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"b9fbce45-1b32-4a8b-8819-4879286fb54b","permissions":{"keys":["get","wrapKey","unwrapKey"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"1e83267f-7d93-4982-b96e-5bfad62e2684","permissions":{"keys":["get","wrapKey","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault2-000003.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003","name":"vault2-000003","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"zhuyan@microsoft.com","createdByType":"User","createdAt":"2023-07-12T11:02:01.663Z","lastModifiedBy":"zhuyan@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-12T11:05:36.078Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"682af290-cecc-47a8-88fa-8dca7d6be984","permissions":{"keys":["get","unwrapKey","wrapKey"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"27378419-7a9d-4b45-8c74-1b3892684c04","permissions":{"keys":["get","unwrapKey","wrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault2-000003.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '1390' + - '1340' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:47:13 GMT + - Wed, 12 Jul 2023 11:05:35 GMT expires: - '-1' pragma: @@ -2561,7 +2569,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.785.0 + - 1.5.851.0 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -2581,8 +2589,7 @@ interactions: ParameterSetName: - -g -n --key-url User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009?api-version=2022-03-02 response: @@ -2590,8 +2597,8 @@ interactions: string: "{\r\n \"name\": \"des-000009\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009\",\r\n \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": - \"1e83267f-7d93-4982-b96e-5bfad62e2684\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n - \ },\r\n \"properties\": {\r\n \"activeKey\": {\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/ff117bee7f5e4e7eb9d18f80f2b57ded\"\r\n + \"27378419-7a9d-4b45-8c74-1b3892684c04\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \ },\r\n \"properties\": {\r\n \"activeKey\": {\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/f792bbeda2bc4d39b8b6aa57a09ba402\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"rotationToLatestKeyVersionEnabled\": true,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}" @@ -2603,7 +2610,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:47:13 GMT + - Wed, 12 Jul 2023 11:05:38 GMT expires: - '-1' pragma: @@ -2620,14 +2627,14 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14981,Microsoft.Compute/LowCostGet30Min;119903 + - Microsoft.Compute/LowCostGet3Min;14979,Microsoft.Compute/LowCostGet30Min;119951 status: code: 200 message: OK - request: body: '{"location": "westcentralus", "identity": {"type": "SystemAssigned"}, "properties": {"encryptionType": "EncryptionAtRestWithCustomerKey", "activeKey": {"keyUrl": - "https://vault2-000003.vault.azure.net/keys/key2-000006/b8c58ab688dc41e3acc95f7fe7769a98"}, + "https://vault2-000003.vault.azure.net/keys/key2-000006/2b76b4c1d0a546c4bd529ce98b520af8"}, "rotationToLatestKeyVersionEnabled": true}}' headers: Accept: @@ -2645,21 +2652,20 @@ interactions: ParameterSetName: - -g -n --key-url User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009?api-version=2022-03-02 response: body: string: "{\r\n \"location\": \"westcentralus\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n },\r\n \"properties\": {\r\n \"activeKey\": {\r\n - \ \"keyUrl\": \"https://vault2-000003.vault.azure.net/keys/key2-000006/b8c58ab688dc41e3acc95f7fe7769a98\"\r\n + \ \"keyUrl\": \"https://vault2-000003.vault.azure.net/keys/key2-000006/2b76b4c1d0a546c4bd529ce98b520af8\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"rotationToLatestKeyVersionEnabled\": true,\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/westcentralus/DiskOperations/27e0b048-e525-42d4-832a-8dab9bf1f946?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/8f2b65bf-d0d2-4886-aca0-95b69b7fd55e?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 cache-control: - no-cache content-length: @@ -2667,11 +2673,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:47:15 GMT + - Wed, 12 Jul 2023 11:05:39 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/27e0b048-e525-42d4-832a-8dab9bf1f946?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/8f2b65bf-d0d2-4886-aca0-95b69b7fd55e?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -2682,9 +2688,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet3Min;96,Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet30Min;289 + - Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet3Min;94,Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet30Min;292 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -2702,25 +2708,32 @@ interactions: ParameterSetName: - -g -n --key-url User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/27e0b048-e525-42d4-832a-8dab9bf1f946?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/8f2b65bf-d0d2-4886-aca0-95b69b7fd55e?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2023-05-26T00:47:15.3266827+00:00\",\r\n \"endTime\": - \"2023-05-26T00:47:15.9985595+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"properties\": {\r\n \"output\": {\"name\":\"des-000009\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009\",\"type\":\"Microsoft.Compute/diskEncryptionSets\",\"location\":\"westcentralus\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"1e83267f-7d93-4982-b96e-5bfad62e2684\",\"tenantId\":\"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"},\"properties\":{\"activeKey\":{\"keyUrl\":\"https://vault2-000003.vault.azure.net/keys/key2-000006/b8c58ab688dc41e3acc95f7fe7769a98\"},\"encryptionType\":\"EncryptionAtRestWithCustomerKey\",\"rotationToLatestKeyVersionEnabled\":true,\"provisioningState\":\"Succeeded\",\"lastKeyRotationTimestamp\":\"2023-05-26T00:47:15.9673084+00:00\"}}\r\n - \ },\r\n \"name\": \"27e0b048-e525-42d4-832a-8dab9bf1f946\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-12T11:05:40.429589+00:00\",\r\n \"endTime\": + \"2023-07-12T11:05:40.7108339+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"des-000009\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009\",\r\n + \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n + \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": + \"27378419-7a9d-4b45-8c74-1b3892684c04\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \ },\r\n \"properties\": {\r\n \"activeKey\": {\r\n \"keyUrl\": \"https://vault2-000003.vault.azure.net/keys/key2-000006/2b76b4c1d0a546c4bd529ce98b520af8\"\r\n + \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n + \ \"rotationToLatestKeyVersionEnabled\": true,\r\n \"provisioningState\": + \"Succeeded\",\r\n \"lastKeyRotationTimestamp\": \"2023-07-12T11:05:40.6795837+00:00\"\r\n + \ }\r\n}\r\n },\r\n \"name\": \"8f2b65bf-d0d2-4886-aca0-95b69b7fd55e\"\r\n}" headers: cache-control: - no-cache content-length: - - '949' + - '1059' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:47:45 GMT + - Wed, 12 Jul 2023 11:05:40 GMT expires: - '-1' pragma: @@ -2737,7 +2750,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49989,Microsoft.Compute/GetOperation30Min;399955 + - Microsoft.Compute/GetOperation3Min;49986,Microsoft.Compute/GetOperation30Min;399970 status: code: 200 message: OK @@ -2755,8 +2768,7 @@ interactions: ParameterSetName: - -g -n --key-url User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009?api-version=2022-03-02 response: @@ -2764,11 +2776,11 @@ interactions: string: "{\r\n \"name\": \"des-000009\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009\",\r\n \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": - \"1e83267f-7d93-4982-b96e-5bfad62e2684\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n - \ },\r\n \"properties\": {\r\n \"activeKey\": {\r\n \"keyUrl\": \"https://vault2-000003.vault.azure.net/keys/key2-000006/b8c58ab688dc41e3acc95f7fe7769a98\"\r\n + \"27378419-7a9d-4b45-8c74-1b3892684c04\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \ },\r\n \"properties\": {\r\n \"activeKey\": {\r\n \"keyUrl\": \"https://vault2-000003.vault.azure.net/keys/key2-000006/2b76b4c1d0a546c4bd529ce98b520af8\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"rotationToLatestKeyVersionEnabled\": true,\r\n \"provisioningState\": - \"Succeeded\",\r\n \"lastKeyRotationTimestamp\": \"2023-05-26T00:47:15.9673084+00:00\"\r\n + \"Succeeded\",\r\n \"lastKeyRotationTimestamp\": \"2023-07-12T11:05:40.6795837+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -2778,7 +2790,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:47:45 GMT + - Wed, 12 Jul 2023 11:05:40 GMT expires: - '-1' pragma: @@ -2795,7 +2807,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14981,Microsoft.Compute/LowCostGet30Min;119900 + - Microsoft.Compute/LowCostGet3Min;14976,Microsoft.Compute/LowCostGet30Min;119948 status: code: 200 message: OK @@ -2813,22 +2825,21 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-keyvault/10.2.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.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/AzurePowerShellLiveTest/providers/Microsoft.KeyVault/vaults/LiveTestKeyVault","name":"LiveTestKeyVault","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bez-rg/providers/Microsoft.KeyVault/vaults/bez-kv","name":"bez-kv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bez-rg/providers/Microsoft.KeyVault/vaults/bez-kv-test","name":"bez-kv-test","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault1-000002","name":"vault1-000002","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003","name":"vault2-000003","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004","name":"vault3-000004","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/hangkey","name":"hangkey","type":"Microsoft.KeyVault/vaults","location":"koreasouth","tags":{"kk":"kk","zz":"kk","--kk":"zz"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/similar0327002194","name":"similar0327002194","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiaslivmmirg/providers/Microsoft.KeyVault/vaults/jlkv0516","name":"jlkv0516","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jltest0525/providers/Microsoft.KeyVault/vaults/jlkv0525","name":"jlkv0525","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jltest0525/providers/Microsoft.KeyVault/vaults/jlkv05252","name":"jlkv05252","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jltest0525/providers/Microsoft.KeyVault/vaults/jlkv05253","name":"jlkv05253","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nori-rg/providers/Microsoft.KeyVault/vaults/nori-kv765","name":"nori-kv765","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/shiying-rg/providers/Microsoft.KeyVault/vaults/shiyingkv","name":"shiyingkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testkvv2rg/providers/Microsoft.KeyVault/vaults/testkvtrack2","name":"testkvtrack2","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yishitest/providers/Microsoft.KeyVault/vaults/ystestkv","name":"ystestkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AzurePowerShellLiveTest/providers/Microsoft.KeyVault/vaults/LiveTestKeyVault","name":"LiveTestKeyVault","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault1-000002","name":"vault1-000002","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault2-000003","name":"vault2-000003","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004","name":"vault3-000004","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/hangkey","name":"hangkey","type":"Microsoft.KeyVault/vaults","location":"koreasouth","tags":{"kk":"kk","zz":"kk","--kk":"zz"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hang-rg/providers/Microsoft.KeyVault/vaults/similar0327002194","name":"similar0327002194","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jiaslivmmirg/providers/Microsoft.KeyVault/vaults/jlkv0516","name":"jlkv0516","type":"Microsoft.KeyVault/vaults","location":"westus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/nori-rg/providers/Microsoft.KeyVault/vaults/ps0001","name":"ps0001","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{"key":"value"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/shiying-rg/providers/Microsoft.KeyVault/vaults/shiyingkv","name":"shiyingkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testkvv2rg/providers/Microsoft.KeyVault/vaults/testkvtrack2","name":"testkvtrack2","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/yishitest/providers/Microsoft.KeyVault/vaults/ystestkv","name":"ystestkv","type":"Microsoft.KeyVault/vaults","location":"eastus","tags":{}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zhiyihuang-rg/providers/Microsoft.KeyVault/vaults/test-user-identity-kv2","name":"test-user-identity-kv2","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{}}]}' headers: cache-control: - no-cache content-length: - - '3683' + - '2862' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:47:45 GMT + - Wed, 12 Jul 2023 11:05:41 GMT expires: - '-1' pragma: @@ -2856,22 +2867,21 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-keyvault/10.2.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004","name":"vault3-000004","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-05-26T00:41:44.362Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-26T00:45:36.753Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"4cec8efd-7115-423a-a9f2-000796df8fe2","permissions":{"keys":["get","wrapKey","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault3-000004.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004","name":"vault3-000004","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"zhuyan@microsoft.com","createdByType":"User","createdAt":"2023-07-12T11:02:43.016Z","lastModifiedBy":"zhuyan@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-12T11:05:14.45Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"27378419-7a9d-4b45-8c74-1b3892684c04","permissions":{"keys":["get","unwrapKey","wrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault3-000004.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '1235' + - '1184' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:47:46 GMT + - Wed, 12 Jul 2023 11:05:44 GMT expires: - '-1' pragma: @@ -2889,20 +2899,18 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.785.0 + - 1.5.851.0 status: code: 200 message: OK - request: body: '{"location": "westcentralus", "tags": {}, "properties": {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "sku": {"family": "A", "name": "standard"}, "accessPolicies": [{"tenantId": - "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "6b30bdc6-696a-46fb-82d7-739c2fb147b7", + "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2", "permissions": {"keys": ["all"], "secrets": ["all"], "certificates": ["all"], "storage": ["all"]}}, {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": - "4cec8efd-7115-423a-a9f2-000796df8fe2", "permissions": {"keys": ["get", "wrapKey", - "unwrapKey"]}}, {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": - "1e83267f-7d93-4982-b96e-5bfad62e2684", "permissions": {"keys": ["get", "wrapKey", - "unwrapKey"]}}], "vaultUri": "https://vault3-000004.vault.azure.net/", "enabledForDeployment": + "27378419-7a9d-4b45-8c74-1b3892684c04", "permissions": {"keys": ["get", "unwrapKey", + "wrapKey"]}}], "vaultUri": "https://vault3-000004.vault.azure.net/", "enabledForDeployment": false, "enableSoftDelete": true, "softDeleteRetentionInDays": 7, "enablePurgeProtection": true, "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled"}}' headers: @@ -2915,28 +2923,27 @@ interactions: Connection: - keep-alive Content-Length: - - '948' + - '784' Content-Type: - application/json ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-keyvault/10.2.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004","name":"vault3-000004","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","createdByType":"User","createdAt":"2023-05-26T00:41:44.362Z","lastModifiedBy":"azureclilivetest@azuresdkteam.onmicrosoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-05-26T00:47:46.819Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"4cec8efd-7115-423a-a9f2-000796df8fe2","permissions":{"keys":["get","wrapKey","unwrapKey"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"1e83267f-7d93-4982-b96e-5bfad62e2684","permissions":{"keys":["get","wrapKey","unwrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault3-000004.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004","name":"vault3-000004","type":"Microsoft.KeyVault/vaults","location":"westcentralus","tags":{},"systemData":{"createdBy":"zhuyan@microsoft.com","createdByType":"User","createdAt":"2023-07-12T11:02:43.016Z","lastModifiedBy":"zhuyan@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-12T11:05:44.784Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"27378419-7a9d-4b45-8c74-1b3892684c04","permissions":{"keys":["get","unwrapKey","wrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault3-000004.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '1390' + - '1185' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:47:46 GMT + - Wed, 12 Jul 2023 11:05:44 GMT expires: - '-1' pragma: @@ -2954,9 +2961,9 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.785.0 + - 1.5.851.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -2974,8 +2981,7 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault --enable-auto-key-rotation User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009?api-version=2022-03-02 response: @@ -2983,11 +2989,11 @@ interactions: string: "{\r\n \"name\": \"des-000009\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009\",\r\n \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": - \"1e83267f-7d93-4982-b96e-5bfad62e2684\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n - \ },\r\n \"properties\": {\r\n \"activeKey\": {\r\n \"keyUrl\": \"https://vault2-000003.vault.azure.net/keys/key2-000006/b8c58ab688dc41e3acc95f7fe7769a98\"\r\n + \"27378419-7a9d-4b45-8c74-1b3892684c04\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \ },\r\n \"properties\": {\r\n \"activeKey\": {\r\n \"keyUrl\": \"https://vault2-000003.vault.azure.net/keys/key2-000006/2b76b4c1d0a546c4bd529ce98b520af8\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"rotationToLatestKeyVersionEnabled\": true,\r\n \"provisioningState\": - \"Succeeded\",\r\n \"lastKeyRotationTimestamp\": \"2023-05-26T00:47:15.9673084+00:00\"\r\n + \"Succeeded\",\r\n \"lastKeyRotationTimestamp\": \"2023-07-12T11:05:40.6795837+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -2997,7 +3003,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:47:46 GMT + - Wed, 12 Jul 2023 11:05:47 GMT expires: - '-1' pragma: @@ -3014,7 +3020,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14980,Microsoft.Compute/LowCostGet30Min;119899 + - Microsoft.Compute/LowCostGet3Min;14973,Microsoft.Compute/LowCostGet30Min;119945 status: code: 200 message: OK @@ -3022,7 +3028,7 @@ interactions: body: '{"location": "westcentralus", "identity": {"type": "SystemAssigned"}, "properties": {"encryptionType": "EncryptionAtRestWithCustomerKey", "activeKey": {"sourceVault": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004"}, - "keyUrl": "https://vault3-000004.vault.azure.net/keys/key3-000007/ff117bee7f5e4e7eb9d18f80f2b57ded"}, + "keyUrl": "https://vault3-000004.vault.azure.net/keys/key3-000007/f792bbeda2bc4d39b8b6aa57a09ba402"}, "rotationToLatestKeyVersionEnabled": false}}' headers: Accept: @@ -3040,8 +3046,7 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault --enable-auto-key-rotation User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009?api-version=2022-03-02 response: @@ -3049,13 +3054,13 @@ interactions: string: "{\r\n \"location\": \"westcentralus\",\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/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004\"\r\n - \ },\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/ff117bee7f5e4e7eb9d18f80f2b57ded\"\r\n + \ },\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/f792bbeda2bc4d39b8b6aa57a09ba402\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"rotationToLatestKeyVersionEnabled\": false,\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/westcentralus/DiskOperations/a3f0cfbf-c6ad-4aaa-8b35-a889955336d1?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/a665ddcb-6fc1-443e-8553-a290a6192ead?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 cache-control: - no-cache content-length: @@ -3063,11 +3068,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:47:47 GMT + - Wed, 12 Jul 2023 11:05:50 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/a3f0cfbf-c6ad-4aaa-8b35-a889955336d1?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/a665ddcb-6fc1-443e-8553-a290a6192ead?p=c7be8819-8178-488e-b751-923f11b1b57c&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -3078,9 +3083,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet3Min;95,Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet30Min;288 + - Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet3Min;93,Microsoft.Compute/CreateUpdateHighCostDiskEncryptionSet30Min;291 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 202 message: Accepted @@ -3098,25 +3103,34 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault --enable-auto-key-rotation User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/a3f0cfbf-c6ad-4aaa-8b35-a889955336d1?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westcentralus/DiskOperations/a665ddcb-6fc1-443e-8553-a290a6192ead?p=c7be8819-8178-488e-b751-923f11b1b57c&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2023-05-26T00:47:48.2641412+00:00\",\r\n \"endTime\": - \"2023-05-26T00:47:48.6235302+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"properties\": {\r\n \"output\": {\"name\":\"des-000009\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009\",\"type\":\"Microsoft.Compute/diskEncryptionSets\",\"location\":\"westcentralus\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"1e83267f-7d93-4982-b96e-5bfad62e2684\",\"tenantId\":\"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"},\"properties\":{\"activeKey\":{\"sourceVault\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004\"},\"keyUrl\":\"https://vault3-000004.vault.azure.net/keys/key3-000007/ff117bee7f5e4e7eb9d18f80f2b57ded\"},\"encryptionType\":\"EncryptionAtRestWithCustomerKey\",\"rotationToLatestKeyVersionEnabled\":false,\"provisioningState\":\"Succeeded\",\"lastKeyRotationTimestamp\":\"2023-05-26T00:47:48.6079078+00:00\"}}\r\n - \ },\r\n \"name\": \"a3f0cfbf-c6ad-4aaa-8b35-a889955336d1\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-12T11:05:50.4153317+00:00\",\r\n \"endTime\": + \"2023-07-12T11:05:50.6028081+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"des-000009\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009\",\r\n + \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n + \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": + \"27378419-7a9d-4b45-8c74-1b3892684c04\",\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/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004\"\r\n + \ },\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/f792bbeda2bc4d39b8b6aa57a09ba402\"\r\n + \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n + \ \"rotationToLatestKeyVersionEnabled\": false,\r\n \"provisioningState\": + \"Succeeded\",\r\n \"lastKeyRotationTimestamp\": \"2023-07-12T11:05:50.5559345+00:00\"\r\n + \ }\r\n}\r\n },\r\n \"name\": \"a665ddcb-6fc1-443e-8553-a290a6192ead\"\r\n}" headers: cache-control: - no-cache content-length: - - '1133' + - '1272' content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:48:18 GMT + - Wed, 12 Jul 2023 11:05:50 GMT expires: - '-1' pragma: @@ -3133,7 +3147,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49989,Microsoft.Compute/GetOperation30Min;399953 + - Microsoft.Compute/GetOperation3Min;49984,Microsoft.Compute/GetOperation30Min;399968 status: code: 200 message: OK @@ -3151,8 +3165,7 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault --enable-auto-key-rotation User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009?api-version=2022-03-02 response: @@ -3160,13 +3173,13 @@ interactions: string: "{\r\n \"name\": \"des-000009\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_update_000001/providers/Microsoft.Compute/diskEncryptionSets/des-000009\",\r\n \ \"type\": \"Microsoft.Compute/diskEncryptionSets\",\r\n \"location\": \"westcentralus\",\r\n \ \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": - \"1e83267f-7d93-4982-b96e-5bfad62e2684\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \"27378419-7a9d-4b45-8c74-1b3892684c04\",\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/cli_test_disk_encryption_set_update_000001/providers/Microsoft.KeyVault/vaults/vault3-000004\"\r\n - \ },\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/ff117bee7f5e4e7eb9d18f80f2b57ded\"\r\n + \ },\r\n \"keyUrl\": \"https://vault3-000004.vault.azure.net/keys/key3-000007/f792bbeda2bc4d39b8b6aa57a09ba402\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"rotationToLatestKeyVersionEnabled\": false,\r\n \"provisioningState\": - \"Succeeded\",\r\n \"lastKeyRotationTimestamp\": \"2023-05-26T00:47:48.6079078+00:00\"\r\n + \"Succeeded\",\r\n \"lastKeyRotationTimestamp\": \"2023-07-12T11:05:50.5559345+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -3176,7 +3189,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 26 May 2023 00:48:18 GMT + - Wed, 12 Jul 2023 11:05:51 GMT expires: - '-1' pragma: @@ -3193,7 +3206,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14980,Microsoft.Compute/LowCostGet30Min;119896 + - Microsoft.Compute/LowCostGet3Min;14972,Microsoft.Compute/LowCostGet30Min;119944 status: code: 200 message: OK 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 a19e5423dd4..fdcb35bd7d0 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.49.0 azsdk-python-azure-mgmt-resource/23.0.1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-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","test":"test_gallery_e2e","date":"2023-06-25T12:39:37Z","module":"vm"},"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","test":"test_gallery_e2e","date":"2023-07-20T08:45:56Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:40:53 GMT + - Thu, 20 Jul 2023 08:46:31 GMT expires: - '-1' pragma: @@ -59,7 +59,7 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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_000003?api-version=2021-10-01 response: @@ -67,11 +67,11 @@ interactions: string: "{\r\n \"name\": \"gallery_000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000003\",\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_FPTHLBYZCSFU\"\r\n },\r\n + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY_V6X2SEZJSIJT\"\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/fe0b71b3-a0bc-454f-927b-60f329f45fde?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/e78b4383-43d7-472a-bddb-5eca4e984cdf?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -79,7 +79,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:40:58 GMT + - Thu, 20 Jul 2023 08:46:38 GMT expires: - '-1' pragma: @@ -92,9 +92,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateGallery3Min;49,Microsoft.Compute/CreateUpdateGallery30Min;299 + - Microsoft.Compute/CreateUpdateGallery3Min;48,Microsoft.Compute/CreateUpdateGallery30Min;297 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -112,14 +112,14 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/fe0b71b3-a0bc-454f-927b-60f329f45fde?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/e78b4383-43d7-472a-bddb-5eca4e984cdf?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:40:57.7609039+00:00\",\r\n \"endTime\": - \"2023-06-25T12:40:57.9952785+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"fe0b71b3-a0bc-454f-927b-60f329f45fde\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:46:36.8061391+00:00\",\r\n \"endTime\": + \"2023-07-20T08:46:36.8998953+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"e78b4383-43d7-472a-bddb-5eca4e984cdf\"\r\n}" headers: cache-control: - no-cache @@ -128,7 +128,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:40:58 GMT + - Thu, 20 Jul 2023 08:46:38 GMT expires: - '-1' pragma: @@ -145,7 +145,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4158 + - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4188 status: code: 200 message: OK @@ -163,7 +163,7 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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_000003?api-version=2021-10-01 response: @@ -171,7 +171,7 @@ interactions: string: "{\r\n \"name\": \"gallery_000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000003\",\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_FPTHLBYZCSFU\"\r\n },\r\n + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY_V6X2SEZJSIJT\"\r\n },\r\n \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: cache-control: @@ -181,7 +181,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:40:59 GMT + - Thu, 20 Jul 2023 08:46:39 GMT expires: - '-1' pragma: @@ -198,7 +198,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;345,Microsoft.Compute/GetGallery30Min;2492 + - Microsoft.Compute/GetGallery3Min;345,Microsoft.Compute/GetGallery30Min;2489 status: code: 200 message: OK @@ -216,16 +216,16 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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=2021-10-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"gallery_000003\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLITEST.RGXP2IT5H3IY7ZURMG3ELCQHYFU2JJSYNXAKUKR4L72R66VECQRTFTMRM5NZU6VPIJ3/providers/Microsoft.Compute/galleries/gallery_000003\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLITEST.RGGFH5FCXAUXTIOAD5WI2BNOCWA6M2S3772GRLTLOSLLJQDE7G6NU4WN7DZX3BS45YZ/providers/Microsoft.Compute/galleries/gallery_000003\",\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_FPTHLBYZCSFU\"\r\n + {\r\n \"uniqueName\": \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY_V6X2SEZJSIJT\"\r\n \ },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n \ }\r\n ]\r\n}" headers: @@ -236,7 +236,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:41:00 GMT + - Thu, 20 Jul 2023 08:46:41 GMT expires: - '-1' pragma: @@ -253,7 +253,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListGalleryInResourceGroup3Min;99,Microsoft.Compute/ListGalleryInResourceGroup30Min;999 + - Microsoft.Compute/ListGalleryInResourceGroup3Min;99,Microsoft.Compute/ListGalleryInResourceGroup30Min;998 status: code: 200 message: OK @@ -271,7 +271,7 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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_000003?api-version=2021-10-01 response: @@ -279,7 +279,7 @@ interactions: string: "{\r\n \"name\": \"gallery_000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/galleries/gallery_000003\",\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_FPTHLBYZCSFU\"\r\n },\r\n + \"0b1f6471-1bf0-4dda-aec3-cb9272f09590-GALLERY_V6X2SEZJSIJT\"\r\n },\r\n \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: cache-control: @@ -289,7 +289,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:41:02 GMT + - Thu, 20 Jul 2023 08:46:43 GMT expires: - '-1' pragma: @@ -306,7 +306,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGallery3Min;346,Microsoft.Compute/GetGallery30Min;2491 + - Microsoft.Compute/GetGallery3Min;343,Microsoft.Compute/GetGallery30Min;2487 status: code: 200 message: OK @@ -324,21 +324,23 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/23.0.1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-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","test":"test_gallery_e2e","date":"2023-06-25T12:39:37Z","module":"vm"},"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","test":"test_gallery_e2e","date":"2023-07-20T08:45:56Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache + connection: + - close content-length: - '351' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:41:03 GMT + - Thu, 20 Jul 2023 08:46:44 GMT expires: - '-1' pragma: @@ -372,7 +374,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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_000003/images/image1?api-version=2021-10-01 response: @@ -386,7 +388,7 @@ interactions: \"Creating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/ac1c5573-55e1-483a-9d30-fc88af02eb26?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/7d0bdb32-67cf-4b4d-afa4-61dba9afe53a?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -394,7 +396,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:41:09 GMT + - Thu, 20 Jul 2023 08:46:51 GMT expires: - '-1' pragma: @@ -407,7 +409,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateGalleryImage3Min;149,Microsoft.Compute/CreateUpdateGalleryImage30Min;749 + - Microsoft.Compute/CreateUpdateGalleryImage3Min;148,Microsoft.Compute/CreateUpdateGalleryImage30Min;747 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -427,14 +429,14 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/ac1c5573-55e1-483a-9d30-fc88af02eb26?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/7d0bdb32-67cf-4b4d-afa4-61dba9afe53a?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:41:08.8858829+00:00\",\r\n \"endTime\": - \"2023-06-25T12:41:08.9952546+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"ac1c5573-55e1-483a-9d30-fc88af02eb26\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:46:50.3691052+00:00\",\r\n \"endTime\": + \"2023-07-20T08:46:50.4627503+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"7d0bdb32-67cf-4b4d-afa4-61dba9afe53a\"\r\n}" headers: cache-control: - no-cache @@ -443,7 +445,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:41:10 GMT + - Thu, 20 Jul 2023 08:46:51 GMT expires: - '-1' pragma: @@ -460,7 +462,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1198,Microsoft.Compute/GetOperationStatus30Min;4157 + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4187 status: code: 200 message: OK @@ -478,7 +480,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --os-type -p -f -s User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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_000003/images/image1?api-version=2021-10-01 response: @@ -498,7 +500,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:41:10 GMT + - Thu, 20 Jul 2023 08:46:52 GMT expires: - '-1' pragma: @@ -515,7 +517,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImage3Min;599,Microsoft.Compute/GetGalleryImage30Min;2996 + - Microsoft.Compute/GetGalleryImage3Min;595,Microsoft.Compute/GetGalleryImage30Min;2989 status: code: 200 message: OK @@ -533,7 +535,7 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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_000003/images?api-version=2021-10-01 response: @@ -555,7 +557,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:41:11 GMT + - Thu, 20 Jul 2023 08:46:55 GMT expires: - '-1' pragma: @@ -572,7 +574,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListGalleryImagesInGallery3Min;1499,Microsoft.Compute/ListGalleryImagesInGallery30Min;9999 + - Microsoft.Compute/ListGalleryImagesInGallery3Min;1499,Microsoft.Compute/ListGalleryImagesInGallery30Min;9998 status: code: 200 message: OK @@ -590,7 +592,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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_000003/images/image1?api-version=2021-10-01 response: @@ -610,7 +612,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:41:13 GMT + - Thu, 20 Jul 2023 08:46:56 GMT expires: - '-1' pragma: @@ -627,7 +629,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImage3Min;597,Microsoft.Compute/GetGalleryImage30Min;2994 + - Microsoft.Compute/GetGalleryImage3Min;593,Microsoft.Compute/GetGalleryImage30Min;2987 status: code: 200 message: OK @@ -645,12 +647,12 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/23.0.1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-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","test":"test_gallery_e2e","date":"2023-06-25T12:39:37Z","module":"vm"},"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","test":"test_gallery_e2e","date":"2023-07-20T08:45:56Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -659,7 +661,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:41:14 GMT + - Thu, 20 Jul 2023 08:46:57 GMT expires: - '-1' pragma: @@ -687,7 +689,7 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 response: @@ -703,7 +705,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:41:17 GMT + - Thu, 20 Jul 2023 08:46:59 GMT expires: - '-1' pragma: @@ -720,7 +722,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15999,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43999 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15995,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43990 status: code: 200 message: OK @@ -738,7 +740,7 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202306070?api-version=2022-11-01 response: @@ -764,7 +766,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:41:19 GMT + - Thu, 20 Jul 2023 08:47:00 GMT expires: - '-1' pragma: @@ -781,7 +783,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73999 + - Microsoft.Compute/GetVMImageFromLocation3Min;12995,Microsoft.Compute/GetVMImageFromLocation30Min;73991 status: code: 200 message: OK @@ -799,7 +801,7 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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=2022-01-01 response: @@ -813,7 +815,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:41:20 GMT + - Thu, 20 Jul 2023 08:47:02 GMT expires: - '-1' pragma: @@ -841,7 +843,7 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 response: @@ -857,7 +859,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:41:21 GMT + - Thu, 20 Jul 2023 08:47:03 GMT expires: - '-1' pragma: @@ -874,7 +876,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15998,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43998 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15994,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43989 status: code: 200 message: OK @@ -892,7 +894,7 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202306070?api-version=2022-11-01 response: @@ -918,7 +920,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:41:23 GMT + - Thu, 20 Jul 2023 08:47:04 GMT expires: - '-1' pragma: @@ -935,7 +937,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12998,Microsoft.Compute/GetVMImageFromLocation30Min;73998 + - Microsoft.Compute/GetVMImageFromLocation3Min;12994,Microsoft.Compute/GetVMImageFromLocation30Min;73990 status: code: 200 message: OK @@ -953,7 +955,7 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 response: @@ -969,7 +971,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:41:24 GMT + - Thu, 20 Jul 2023 08:47:07 GMT expires: - '-1' pragma: @@ -986,7 +988,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15997,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43997 + - Microsoft.Compute/ListVMImagesVersionsFromLocation3Min;15993,Microsoft.Compute/ListVMImagesVersionsFromLocation30Min;43988 status: code: 200 message: OK @@ -1004,7 +1006,7 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/publishers/Canonical/artifacttypes/vmimage/offers/UbuntuServer/skus/18.04-LTS/versions/18.04.202306070?api-version=2022-11-01 response: @@ -1030,7 +1032,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:41:25 GMT + - Thu, 20 Jul 2023 08:47:07 GMT expires: - '-1' pragma: @@ -1047,7 +1049,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMImageFromLocation3Min;12997,Microsoft.Compute/GetVMImageFromLocation30Min;73997 + - Microsoft.Compute/GetVMImageFromLocation3Min;12993,Microsoft.Compute/GetVMImageFromLocation30Min;73989 status: code: 200 message: OK @@ -1098,23 +1100,23 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/23.0.1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_ZB9PARwuz1DM98dsgRkR0UFMj5Mo0WdT","name":"vm_deploy_ZB9PARwuz1DM98dsgRkR0UFMj5Mo0WdT","type":"Microsoft.Resources/deployments","properties":{"templateHash":"119128125590167101","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-06-25T12:41:32.3956188Z","duration":"PT0.0001192S","correlationId":"e4d2acbe-1177-4aed-9cd4-9960172893cd","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_AavzuCUq7EdXY8zvkeQ9fV3KstECvnmw","name":"vm_deploy_AavzuCUq7EdXY8zvkeQ9fV3KstECvnmw","type":"Microsoft.Resources/deployments","properties":{"templateHash":"5246579848897584858","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-07-20T08:47:15.8263054Z","duration":"PT0.0001908S","correlationId":"f9524433-f0c6-4dc7-b04b-2fe614896d32","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_ZB9PARwuz1DM98dsgRkR0UFMj5Mo0WdT/operationStatuses/08585139099960685955?api-version=2022-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_AavzuCUq7EdXY8zvkeQ9fV3KstECvnmw/operationStatuses/08585117640530518147?api-version=2022-09-01 cache-control: - no-cache content-length: - - '2333' + - '2334' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:41:32 GMT + - Thu, 20 Jul 2023 08:47:17 GMT expires: - '-1' pragma: @@ -1124,7 +1126,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -1142,21 +1144,21 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/23.0.1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585139099960685955?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585117640530518147?api-version=2022-09-01 response: body: - string: '{"status":"Accepted"}' + string: '{"status":"Running"}' headers: cache-control: - no-cache content-length: - - '21' + - '20' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:41:33 GMT + - Thu, 20 Jul 2023 08:47:17 GMT expires: - '-1' pragma: @@ -1184,9 +1186,9 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/23.0.1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585139099960685955?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585117640530518147?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -1198,7 +1200,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:42:04 GMT + - Thu, 20 Jul 2023 08:47:48 GMT expires: - '-1' pragma: @@ -1226,9 +1228,9 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/23.0.1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585139099960685955?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585117640530518147?api-version=2022-09-01 response: body: string: '{"status":"Succeeded"}' @@ -1240,7 +1242,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:42:34 GMT + - Thu, 20 Jul 2023 08:48:19 GMT expires: - '-1' pragma: @@ -1268,21 +1270,21 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/23.0.1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_ZB9PARwuz1DM98dsgRkR0UFMj5Mo0WdT","name":"vm_deploy_ZB9PARwuz1DM98dsgRkR0UFMj5Mo0WdT","type":"Microsoft.Resources/deployments","properties":{"templateHash":"119128125590167101","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-06-25T12:42:24.4158725Z","duration":"PT52.0203729S","correlationId":"e4d2acbe-1177-4aed-9cd4-9960172893cd","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_AavzuCUq7EdXY8zvkeQ9fV3KstECvnmw","name":"vm_deploy_AavzuCUq7EdXY8zvkeQ9fV3KstECvnmw","type":"Microsoft.Resources/deployments","properties":{"templateHash":"5246579848897584858","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-07-20T08:47:53.0193214Z","duration":"PT37.1932068S","correlationId":"f9524433-f0c6-4dc7-b04b-2fe614896d32","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: - - '3103' + - '3104' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:42:34 GMT + - Thu, 20 Jul 2023 08:48:20 GMT expires: - '-1' pragma: @@ -1310,29 +1312,29 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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=2022-11-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\": \"b4a6eb3b-068a-4776-aaa0-6ec78ac02ff5\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"7e764bc8-cdd7-4960-bdb4-c4b65a3eaba4\",\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.202306070\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm1_OsDisk_1_5026d6fabd9244d0931f1ea07e6bed0e\",\r\n + \"Linux\",\r\n \"name\": \"vm1_disk1_4226921377e847738347efa6040a8e90\",\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_OsDisk_1_5026d6fabd9244d0931f1ea07e6bed0e\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk1_4226921377e847738347efa6040a8e90\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": - 0,\r\n \"name\": \"vm1_disk2_8b4f1c78ca84446b9c85f1748ce7f7e8\",\r\n + 0,\r\n \"name\": \"vm1_disk2_39258f8cbed64c7db1d7332692bf11c5\",\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_8b4f1c78ca84446b9c85f1748ce7f7e8\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk2_39258f8cbed64c7db1d7332692bf11c5\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 10,\r\n \"toBeDetached\": false\r\n }\r\n ]\r\n },\r\n \ \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n \"adminUsername\": @@ -1352,33 +1354,33 @@ interactions: [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2023-06-25T12:42:32+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_OsDisk_1_5026d6fabd9244d0931f1ea07e6bed0e\",\r\n + \"2023-07-20T08:48:03+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_4226921377e847738347efa6040a8e90\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2023-06-25T12:41:55.6504189+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-20T08:47:38.8332672+00:00\"\r\n \ }\r\n ]\r\n },\r\n {\r\n \"name\": - \"vm1_disk2_8b4f1c78ca84446b9c85f1748ce7f7e8\",\r\n \"statuses\": + \"vm1_disk2_39258f8cbed64c7db1d7332692bf11c5\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2023-06-25T12:41:55.666045+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-20T08:47:38.8332672+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\": \"2023-06-25T12:42:21.8223606+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-20T08:47:48.6614072+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n - \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2023-06-25T12:41:49.3847789+00:00\"\r\n + \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2023-07-20T08:47:36.8176317+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '4947' + - '4939' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:42:36 GMT + - Thu, 20 Jul 2023 08:48:21 GMT expires: - '-1' pragma: @@ -1395,7 +1397,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31988 + - Microsoft.Compute/LowCostGet3Min;3994,Microsoft.Compute/LowCostGet30Min;31991 status: code: 200 message: OK @@ -1413,17 +1415,17 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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=2022-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/\\\"2e7bd4b4-11bf-43f7-8564-60d624bf7652\\\"\",\r\n \"tags\": + \ \"etag\": \"W/\\\"7a06b28c-f5eb-4859-aa44-f8f3a3c9ddcd\\\"\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"b91d2382-d82c-4774-819a-38d01cfa6d4f\",\r\n \"ipConfigurations\": + \ \"resourceGuid\": \"49cf0519-a332-4763-abdc-f16ad0641919\",\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/\\\"2e7bd4b4-11bf-43f7-8564-60d624bf7652\\\"\",\r\n + \ \"etag\": \"W/\\\"7a06b28c-f5eb-4859-aa44-f8f3a3c9ddcd\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -1432,8 +1434,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\": - \"prgvcsflpyweraqeh2kjknsc3h.cx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"60-45-BD-BC-35-55\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \"xrryickvx43u3jkduighqma22b.cx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-E3-DB-7B\",\r\n \"enableAcceleratedNetworking\": false,\r\n \ \"vnetEncryptionSupported\": 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\": @@ -1450,9 +1452,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:42:38 GMT + - Thu, 20 Jul 2023 08:48:22 GMT etag: - - W/"2e7bd4b4-11bf-43f7-8564-60d624bf7652" + - W/"7a06b28c-f5eb-4859-aa44-f8f3a3c9ddcd" expires: - '-1' pragma: @@ -1469,7 +1471,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b35cac85-20b9-43ae-881c-da9a4592cd3f + - 61433930-e1ad-4ec2-84d2-efbd82a605f5 status: code: 200 message: OK @@ -1487,16 +1489,16 @@ interactions: ParameterSetName: - -g -n --image --data-disk-sizes-gb --admin-username --generate-ssh-key --nsg-rule User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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=2022-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/\\\"c1205d53-402a-4318-870b-6ec8b8321c3d\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"9f538b77-2817-4774-b9fc-e56935bd3ee2\\\"\",\r\n \"location\": \"eastus2\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"fe0aa260-4c94-427f-a147-2c3a319c6c43\",\r\n - \ \"ipAddress\": \"20.22.249.103\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"46c6d61e-f067-4892-b31e-762384818188\",\r\n + \ \"ipAddress\": \"20.12.21.58\",\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 @@ -1506,13 +1508,13 @@ interactions: cache-control: - no-cache content-length: - - '905' + - '903' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:42:40 GMT + - Thu, 20 Jul 2023 08:48:24 GMT etag: - - W/"c1205d53-402a-4318-870b-6ec8b8321c3d" + - W/"9f538b77-2817-4774-b9fc-e56935bd3ee2" expires: - '-1' pragma: @@ -1529,10 +1531,10 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c1c21c4c-f1af-42f0-b9e1-561ee3d3b8f7 + - 23992a1a-4551-4a49-baf5-f3529f6c7dd3 status: code: 200 - message: OK + message: '' - request: body: '{"commandId": "RunShellScript", "script": ["echo ''sudo waagent -deprovision+user --force'' | at -M now + 1 minutes"], "parameters": []}' @@ -1552,7 +1554,7 @@ interactions: ParameterSetName: - -g -n --command-id --scripts User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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=2022-11-01 response: @@ -1562,17 +1564,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/dca56c02-1a06-4852-9f7e-0f0ef08df3eb?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/901b9629-f30d-4773-8cf8-bbf632314e61?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 cache-control: - no-cache content-length: - '0' date: - - Sun, 25 Jun 2023 12:42:41 GMT + - Thu, 20 Jul 2023 08:48:25 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/dca56c02-1a06-4852-9f7e-0f0ef08df3eb?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&monitor=true&api-version=2022-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/901b9629-f30d-4773-8cf8-bbf632314e61?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&monitor=true&api-version=2022-11-01 pragma: - no-cache server: @@ -1603,13 +1605,13 @@ interactions: ParameterSetName: - -g -n --command-id --scripts User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/dca56c02-1a06-4852-9f7e-0f0ef08df3eb?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/901b9629-f30d-4773-8cf8-bbf632314e61?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:42:41.6036635+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"dca56c02-1a06-4852-9f7e-0f0ef08df3eb\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:48:26.3489503+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"901b9629-f30d-4773-8cf8-bbf632314e61\"\r\n}" headers: cache-control: - no-cache @@ -1618,7 +1620,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:42:41 GMT + - Thu, 20 Jul 2023 08:48:26 GMT expires: - '-1' pragma: @@ -1635,7 +1637,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14998,Microsoft.Compute/GetOperation30Min;29992 + - Microsoft.Compute/GetOperation3Min;14994,Microsoft.Compute/GetOperation30Min;29992 status: code: 200 message: OK @@ -1653,17 +1655,17 @@ interactions: ParameterSetName: - -g -n --command-id --scripts User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/dca56c02-1a06-4852-9f7e-0f0ef08df3eb?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/901b9629-f30d-4773-8cf8-bbf632314e61?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:42:41.6036635+00:00\",\r\n \"endTime\": - \"2023-06-25T12:43:00.1037125+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2023-07-20T08:48:26.3489503+00:00\",\r\n \"endTime\": + \"2023-07-20T08:48:43.5833266+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 Sun Jun 25 12:43:00 2023\\n\"}]}\r\n - \ },\r\n \"name\": \"dca56c02-1a06-4852-9f7e-0f0ef08df3eb\"\r\n}" + commands will be executed using /bin/sh\\njob 1 at Thu Jul 20 08:49:00 2023\\n\"}]}\r\n + \ },\r\n \"name\": \"901b9629-f30d-4773-8cf8-bbf632314e61\"\r\n}" headers: cache-control: - no-cache @@ -1672,7 +1674,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:43:12 GMT + - Thu, 20 Jul 2023 08:48:56 GMT expires: - '-1' pragma: @@ -1689,7 +1691,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29990 + - Microsoft.Compute/GetOperation3Min;14988,Microsoft.Compute/GetOperation30Min;29986 status: code: 200 message: OK @@ -1707,14 +1709,14 @@ interactions: ParameterSetName: - -g -n --command-id --scripts User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/dca56c02-1a06-4852-9f7e-0f0ef08df3eb?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&monitor=true&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/901b9629-f30d-4773-8cf8-bbf632314e61?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&monitor=true&api-version=2022-11-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 Sun Jun 25 12:43:00 2023\n"}]}' + will be executed using /bin/sh\njob 1 at Thu Jul 20 08:49:00 2023\n"}]}' headers: cache-control: - no-cache @@ -1723,7 +1725,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:43:12 GMT + - Thu, 20 Jul 2023 08:48:57 GMT expires: - '-1' pragma: @@ -1740,7 +1742,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14995,Microsoft.Compute/GetOperation30Min;29989 + - Microsoft.Compute/GetOperation3Min;14987,Microsoft.Compute/GetOperation30Min;29985 status: code: 200 message: OK @@ -1760,7 +1762,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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=2022-11-01 response: @@ -1770,17 +1772,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/c7c440e7-2ef3-44fe-8e9a-e27da9f15ae2?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/7a74b4f5-8fc8-4558-ac72-f367ad50fa3b?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 cache-control: - no-cache content-length: - '0' date: - - Sun, 25 Jun 2023 12:44:24 GMT + - Thu, 20 Jul 2023 08:50:09 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/c7c440e7-2ef3-44fe-8e9a-e27da9f15ae2?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&monitor=true&api-version=2022-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/7a74b4f5-8fc8-4558-ac72-f367ad50fa3b?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&monitor=true&api-version=2022-11-01 pragma: - no-cache server: @@ -1791,9 +1793,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/DeleteVM3Min;239,Microsoft.Compute/DeleteVM30Min;1197 + - Microsoft.Compute/DeleteVM3Min;238,Microsoft.Compute/DeleteVM30Min;1198 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -1811,13 +1813,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/c7c440e7-2ef3-44fe-8e9a-e27da9f15ae2?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/7a74b4f5-8fc8-4558-ac72-f367ad50fa3b?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:44:24.8695673+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"c7c440e7-2ef3-44fe-8e9a-e27da9f15ae2\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:50:10.2240341+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"7a74b4f5-8fc8-4558-ac72-f367ad50fa3b\"\r\n}" headers: cache-control: - no-cache @@ -1826,7 +1828,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:44:24 GMT + - Thu, 20 Jul 2023 08:50:09 GMT expires: - '-1' pragma: @@ -1843,7 +1845,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29987 + - Microsoft.Compute/GetOperation3Min;14985,Microsoft.Compute/GetOperation30Min;29982 status: code: 200 message: OK @@ -1861,14 +1863,14 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/c7c440e7-2ef3-44fe-8e9a-e27da9f15ae2?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/7a74b4f5-8fc8-4558-ac72-f367ad50fa3b?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:44:24.8695673+00:00\",\r\n \"endTime\": - \"2023-06-25T12:44:47.3228063+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"c7c440e7-2ef3-44fe-8e9a-e27da9f15ae2\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:50:10.2240341+00:00\",\r\n \"endTime\": + \"2023-07-20T08:50:40.1146912+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"7a74b4f5-8fc8-4558-ac72-f367ad50fa3b\"\r\n}" headers: cache-control: - no-cache @@ -1877,7 +1879,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:44:55 GMT + - Thu, 20 Jul 2023 08:50:41 GMT expires: - '-1' pragma: @@ -1894,7 +1896,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14991,Microsoft.Compute/GetOperation30Min;29985 + - Microsoft.Compute/GetOperation3Min;14986,Microsoft.Compute/GetOperation30Min;29981 status: code: 200 message: OK @@ -1912,9 +1914,9 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/c7c440e7-2ef3-44fe-8e9a-e27da9f15ae2?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&monitor=true&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/7a74b4f5-8fc8-4558-ac72-f367ad50fa3b?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&monitor=true&api-version=2022-11-01 response: body: string: '' @@ -1924,7 +1926,7 @@ interactions: content-length: - '0' date: - - Sun, 25 Jun 2023 12:44:55 GMT + - Thu, 20 Jul 2023 08:50:42 GMT expires: - '-1' pragma: @@ -1937,7 +1939,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14990,Microsoft.Compute/GetOperation30Min;29984 + - Microsoft.Compute/GetOperation3Min;14985,Microsoft.Compute/GetOperation30Min;29980 status: code: 200 message: OK @@ -1957,7 +1959,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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=2022-11-01 response: @@ -1969,7 +1971,7 @@ interactions: content-length: - '0' date: - - Sun, 25 Jun 2023 12:44:58 GMT + - Thu, 20 Jul 2023 08:50:43 GMT expires: - '-1' pragma: @@ -1982,7 +1984,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/UpdateVM3Min;238,Microsoft.Compute/UpdateVM30Min;1198 + - Microsoft.Compute/UpdateVM3Min;237,Microsoft.Compute/UpdateVM30Min;1197 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -2002,26 +2004,26 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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=2022-11-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\": \"b4a6eb3b-068a-4776-aaa0-6ec78ac02ff5\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"7e764bc8-cdd7-4960-bdb4-c4b65a3eaba4\",\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.202306070\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm1_OsDisk_1_5026d6fabd9244d0931f1ea07e6bed0e\",\r\n + \"Linux\",\r\n \"name\": \"vm1_disk1_4226921377e847738347efa6040a8e90\",\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_OsDisk_1_5026d6fabd9244d0931f1ea07e6bed0e\"\r\n + \ \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk1_4226921377e847738347efa6040a8e90\"\r\n \ },\r\n \"deleteOption\": \"Detach\"\r\n },\r\n \"dataDisks\": - [\r\n {\r\n \"lun\": 0,\r\n \"name\": \"vm1_disk2_8b4f1c78ca84446b9c85f1748ce7f7e8\",\r\n + [\r\n {\r\n \"lun\": 0,\r\n \"name\": \"vm1_disk2_39258f8cbed64c7db1d7332692bf11c5\",\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_8b4f1c78ca84446b9c85f1748ce7f7e8\"\r\n + \ \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk2_39258f8cbed64c7db1d7332692bf11c5\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"toBeDetached\": false\r\n }\r\n ]\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n \"adminUsername\": \"clitest1\",\r\n \"linuxConfiguration\": @@ -2035,17 +2037,17 @@ interactions: \ \"enableVMAgentPlatformUpdates\": false\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"}]},\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2023-06-25T12:41:49.3847789+00:00\"\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2023-07-20T08:47:36.8176317+00:00\"\r\n \ }\r\n}" headers: cache-control: - no-cache content-length: - - '3142' + - '3136' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:44:59 GMT + - Thu, 20 Jul 2023 08:50:45 GMT expires: - '-1' pragma: @@ -2062,7 +2064,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31986 + - Microsoft.Compute/LowCostGet3Min;3992,Microsoft.Compute/LowCostGet30Min;31986 status: code: 200 message: OK @@ -2080,12 +2082,12 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/23.0.1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-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","test":"test_gallery_e2e","date":"2023-06-25T12:39:37Z","module":"vm"},"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","test":"test_gallery_e2e","date":"2023-07-20T08:45:56Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -2094,7 +2096,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:45:00 GMT + - Thu, 20 Jul 2023 08:50:46 GMT expires: - '-1' pragma: @@ -2128,7 +2130,7 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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=2022-11-01 response: @@ -2139,10 +2141,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_OsDisk_1_5026d6fabd9244d0931f1ea07e6bed0e\"\r\n + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk1_4226921377e847738347efa6040a8e90\"\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_8b4f1c78ca84446b9c85f1748ce7f7e8\"\r\n + 0,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk2_39258f8cbed64c7db1d7332692bf11c5\"\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}" @@ -2150,15 +2152,15 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/a03acbf8-2426-4b72-84eb-f3e089934a7a?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/922227b2-45ec-4579-a81d-50ebb8752644?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 cache-control: - no-cache content-length: - - '1334' + - '1331' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:45:04 GMT + - Thu, 20 Jul 2023 08:50:53 GMT expires: - '-1' pragma: @@ -2171,7 +2173,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateImages3Min;39,Microsoft.Compute/CreateImages30Min;199 + - Microsoft.Compute/CreateImages3Min;38,Microsoft.Compute/CreateImages30Min;198 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -2191,13 +2193,13 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/a03acbf8-2426-4b72-84eb-f3e089934a7a?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/922227b2-45ec-4579-a81d-50ebb8752644?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:45:04.0416556+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"a03acbf8-2426-4b72-84eb-f3e089934a7a\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:50:52.2865781+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"922227b2-45ec-4579-a81d-50ebb8752644\"\r\n}" headers: cache-control: - no-cache @@ -2206,7 +2208,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:45:04 GMT + - Thu, 20 Jul 2023 08:50:53 GMT expires: - '-1' pragma: @@ -2223,7 +2225,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14990,Microsoft.Compute/GetOperation30Min;29983 + - Microsoft.Compute/GetOperation3Min;14983,Microsoft.Compute/GetOperation30Min;29978 status: code: 200 message: OK @@ -2241,23 +2243,23 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/a03acbf8-2426-4b72-84eb-f3e089934a7a?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/operations/922227b2-45ec-4579-a81d-50ebb8752644?p=4da1aac7-dfbb-41ae-bded-ca0db7baa978&api-version=2022-11-01 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:45:04.0416556+00:00\",\r\n \"endTime\": - \"2023-06-25T12:45:09.119807+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"a03acbf8-2426-4b72-84eb-f3e089934a7a\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:50:52.2865781+00:00\",\r\n \"endTime\": + \"2023-07-20T08:50:57.4272159+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"922227b2-45ec-4579-a81d-50ebb8752644\"\r\n}" headers: cache-control: - no-cache content-length: - - '183' + - '184' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:45:34 GMT + - Thu, 20 Jul 2023 08:51:24 GMT expires: - '-1' pragma: @@ -2274,7 +2276,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14990,Microsoft.Compute/GetOperation30Min;29982 + - Microsoft.Compute/GetOperation3Min;14984,Microsoft.Compute/GetOperation30Min;29976 status: code: 200 message: OK @@ -2292,7 +2294,7 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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=2022-11-01 response: @@ -2303,11 +2305,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_OsDisk_1_5026d6fabd9244d0931f1ea07e6bed0e\"\r\n + 30,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk1_4226921377e847738347efa6040a8e90\"\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_8b4f1c78ca84446b9c85f1748ce7f7e8\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vm1_disk2_39258f8cbed64c7db1d7332692bf11c5\"\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}" @@ -2315,11 +2317,11 @@ interactions: cache-control: - no-cache content-length: - - '1391' + - '1388' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:45:34 GMT + - Thu, 20 Jul 2023 08:51:25 GMT expires: - '-1' pragma: @@ -2336,7 +2338,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetImages3Min;358,Microsoft.Compute/GetImages30Min;1796 + - Microsoft.Compute/GetImages3Min;354,Microsoft.Compute/GetImages30Min;1794 status: code: 200 message: OK @@ -2355,12 +2357,12 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/23.0.1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-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","test":"test_gallery_e2e","date":"2023-06-25T12:39:37Z","module":"vm"},"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","test":"test_gallery_e2e","date":"2023-07-20T08:45:56Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -2369,7 +2371,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:45:36 GMT + - Thu, 20 Jul 2023 08:51:25 GMT expires: - '-1' pragma: @@ -2404,7 +2406,7 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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_000003/images/image1/versions/1.1.2?api-version=2022-03-03 response: @@ -2415,7 +2417,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\": \"2023-06-25T12:45:41.1197239+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2023-07-20T08:51:32.1221577+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 \"safetyProfile\": {\r\n \"reportedForPolicyViolation\": @@ -2423,7 +2425,7 @@ interactions: \ \"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/8f39a220-e10f-4cf4-8396-23f275ee64c0?api-version=2022-03-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/20c216b7-91f9-4771-8075-b42eeef1f3fb?api-version=2022-03-03 cache-control: - no-cache content-length: @@ -2431,7 +2433,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:45:41 GMT + - Thu, 20 Jul 2023 08:51:33 GMT expires: - '-1' pragma: @@ -2444,7 +2446,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;374,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1198 + - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;373,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1198 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -2465,13 +2467,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/8f39a220-e10f-4cf4-8396-23f275ee64c0?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/20c216b7-91f9-4771-8075-b42eeef1f3fb?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:45:41.1197239+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"8f39a220-e10f-4cf4-8396-23f275ee64c0\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:51:32.1221577+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"20c216b7-91f9-4771-8075-b42eeef1f3fb\"\r\n}" headers: cache-control: - no-cache @@ -2480,7 +2482,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:45:41 GMT + - Thu, 20 Jul 2023 08:51:33 GMT expires: - '-1' pragma: @@ -2497,7 +2499,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1199,Microsoft.Compute/GetOperationStatus30Min;4164 + - Microsoft.Compute/GetOperationStatus3Min;1196,Microsoft.Compute/GetOperationStatus30Min;4181 status: code: 200 message: OK @@ -2516,13 +2518,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/8f39a220-e10f-4cf4-8396-23f275ee64c0?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/20c216b7-91f9-4771-8075-b42eeef1f3fb?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:45:41.1197239+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"8f39a220-e10f-4cf4-8396-23f275ee64c0\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:51:32.1221577+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"20c216b7-91f9-4771-8075-b42eeef1f3fb\"\r\n}" headers: cache-control: - no-cache @@ -2531,7 +2533,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:46:42 GMT + - Thu, 20 Jul 2023 08:52:34 GMT expires: - '-1' pragma: @@ -2548,7 +2550,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1197,Microsoft.Compute/GetOperationStatus30Min;4162 + - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4177 status: code: 200 message: OK @@ -2567,13 +2569,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/8f39a220-e10f-4cf4-8396-23f275ee64c0?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/20c216b7-91f9-4771-8075-b42eeef1f3fb?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:45:41.1197239+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"8f39a220-e10f-4cf4-8396-23f275ee64c0\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:51:32.1221577+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"20c216b7-91f9-4771-8075-b42eeef1f3fb\"\r\n}" headers: cache-control: - no-cache @@ -2582,7 +2584,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:47:43 GMT + - Thu, 20 Jul 2023 08:53:35 GMT expires: - '-1' pragma: @@ -2599,7 +2601,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4160 + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4173 status: code: 200 message: OK @@ -2618,13 +2620,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/8f39a220-e10f-4cf4-8396-23f275ee64c0?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/20c216b7-91f9-4771-8075-b42eeef1f3fb?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:45:41.1197239+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"8f39a220-e10f-4cf4-8396-23f275ee64c0\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:51:32.1221577+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"20c216b7-91f9-4771-8075-b42eeef1f3fb\"\r\n}" headers: cache-control: - no-cache @@ -2633,7 +2635,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:48:43 GMT + - Thu, 20 Jul 2023 08:54:36 GMT expires: - '-1' pragma: @@ -2650,7 +2652,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4158 + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4170 status: code: 200 message: OK @@ -2669,13 +2671,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/8f39a220-e10f-4cf4-8396-23f275ee64c0?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/20c216b7-91f9-4771-8075-b42eeef1f3fb?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:45:41.1197239+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"8f39a220-e10f-4cf4-8396-23f275ee64c0\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:51:32.1221577+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"20c216b7-91f9-4771-8075-b42eeef1f3fb\"\r\n}" headers: cache-control: - no-cache @@ -2684,7 +2686,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:49:44 GMT + - Thu, 20 Jul 2023 08:55:37 GMT expires: - '-1' pragma: @@ -2701,7 +2703,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4157 + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4166 status: code: 200 message: OK @@ -2720,13 +2722,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/8f39a220-e10f-4cf4-8396-23f275ee64c0?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/20c216b7-91f9-4771-8075-b42eeef1f3fb?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:45:41.1197239+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"8f39a220-e10f-4cf4-8396-23f275ee64c0\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:51:32.1221577+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"20c216b7-91f9-4771-8075-b42eeef1f3fb\"\r\n}" headers: cache-control: - no-cache @@ -2735,7 +2737,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:50:45 GMT + - Thu, 20 Jul 2023 08:56:38 GMT expires: - '-1' pragma: @@ -2752,7 +2754,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4162 + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4162 status: code: 200 message: OK @@ -2771,13 +2773,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/8f39a220-e10f-4cf4-8396-23f275ee64c0?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/20c216b7-91f9-4771-8075-b42eeef1f3fb?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:45:41.1197239+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"8f39a220-e10f-4cf4-8396-23f275ee64c0\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:51:32.1221577+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"20c216b7-91f9-4771-8075-b42eeef1f3fb\"\r\n}" headers: cache-control: - no-cache @@ -2786,7 +2788,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:51:46 GMT + - Thu, 20 Jul 2023 08:57:39 GMT expires: - '-1' pragma: @@ -2803,7 +2805,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4160 + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4158 status: code: 200 message: OK @@ -2822,14 +2824,65 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/8f39a220-e10f-4cf4-8396-23f275ee64c0?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/20c216b7-91f9-4771-8075-b42eeef1f3fb?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:45:41.1197239+00:00\",\r\n \"endTime\": - \"2023-06-25T12:52:27.1658771+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"8f39a220-e10f-4cf4-8396-23f275ee64c0\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:51:32.1221577+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"20c216b7-91f9-4771-8075-b42eeef1f3fb\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 08:58: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;1192,Microsoft.Compute/GetOperationStatus30Min;4155 + 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.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/20c216b7-91f9-4771-8075-b42eeef1f3fb?api-version=2022-03-03 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-20T08:51:32.1221577+00:00\",\r\n \"endTime\": + \"2023-07-20T08:59:18.3251315+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"20c216b7-91f9-4771-8075-b42eeef1f3fb\"\r\n}" headers: cache-control: - no-cache @@ -2838,7 +2891,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:52:47 GMT + - Thu, 20 Jul 2023 08:59:42 GMT expires: - '-1' pragma: @@ -2855,7 +2908,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4158 + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4153 status: code: 200 message: OK @@ -2874,7 +2927,7 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --managed-image --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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_000003/images/image1/versions/1.1.2?api-version=2022-03-03 response: @@ -2885,7 +2938,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\": \"2023-06-25T12:45:41.1197239+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2023-07-20T08:51:32.1221577+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\": @@ -2903,7 +2956,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:52:47 GMT + - Thu, 20 Jul 2023 08:59:43 GMT expires: - '-1' pragma: @@ -2920,7 +2973,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImageVersion3Min;1999,Microsoft.Compute/GetGalleryImageVersion30Min;9983 + - Microsoft.Compute/GetGalleryImageVersion3Min;1996,Microsoft.Compute/GetGalleryImageVersion30Min;9990 status: code: 200 message: OK @@ -2938,7 +2991,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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_000003/images/image1/versions?api-version=2022-03-03 response: @@ -2951,7 +3004,7 @@ interactions: \"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\": - \"2023-06-25T12:45:41.1197239+00:00\",\r\n \"storageAccountType\": + \"2023-07-20T08:51:32.1221577+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\": @@ -2970,7 +3023,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:52:50 GMT + - Thu, 20 Jul 2023 08:59:45 GMT expires: - '-1' pragma: @@ -2987,7 +3040,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListGalleryImageVersionsInGalleryImage3Min;1499,Microsoft.Compute/ListGalleryImageVersionsInGalleryImage30Min;9998 + - Microsoft.Compute/ListGalleryImageVersionsInGalleryImage3Min;1499,Microsoft.Compute/ListGalleryImageVersionsInGalleryImage30Min;9999 status: code: 200 message: OK @@ -3005,7 +3058,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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_000003/images/image1/versions/1.1.2?api-version=2022-03-03 response: @@ -3016,7 +3069,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\": \"2023-06-25T12:45:41.1197239+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2023-07-20T08:51:32.1221577+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\": @@ -3034,7 +3087,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:52:51 GMT + - Thu, 20 Jul 2023 08:59:48 GMT expires: - '-1' pragma: @@ -3051,7 +3104,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImageVersion3Min;1997,Microsoft.Compute/GetGalleryImageVersion30Min;9981 + - Microsoft.Compute/GetGalleryImageVersion3Min;1995,Microsoft.Compute/GetGalleryImageVersion30Min;9989 status: code: 200 message: OK @@ -3070,7 +3123,7 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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_000003/images/image1/versions/1.1.2?api-version=2022-03-03 response: @@ -3081,7 +3134,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\": \"2023-06-25T12:45:41.1197239+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2023-07-20T08:51:32.1221577+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\": @@ -3099,7 +3152,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:52:53 GMT + - Thu, 20 Jul 2023 08:59:51 GMT expires: - '-1' pragma: @@ -3116,7 +3169,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImageVersion3Min;1996,Microsoft.Compute/GetGalleryImageVersion30Min;9980 + - Microsoft.Compute/GetGalleryImageVersion3Min;1993,Microsoft.Compute/GetGalleryImageVersion30Min;9987 status: code: 200 message: OK @@ -3144,7 +3197,7 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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_000003/images/image1/versions/1.1.2?api-version=2022-03-03 response: @@ -3157,7 +3210,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\": \"2023-06-25T12:45:41.1197239+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2023-07-20T08:51:32.1221577+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\": @@ -3169,7 +3222,7 @@ interactions: \"Updating\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/9af26892-0352-478b-9844-d5d83eba5499?api-version=2022-03-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/8b9db517-0d76-4179-b30b-40bc2bbe59e4?api-version=2022-03-03 cache-control: - no-cache content-length: @@ -3177,7 +3230,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:52:55 GMT + - Thu, 20 Jul 2023 08:59:53 GMT expires: - '-1' pragma: @@ -3194,7 +3247,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;374,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1198 + - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;374,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1197 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -3215,13 +3268,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/9af26892-0352-478b-9844-d5d83eba5499?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/8b9db517-0d76-4179-b30b-40bc2bbe59e4?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:52:55.7283316+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"9af26892-0352-478b-9844-d5d83eba5499\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:59:52.9660393+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"8b9db517-0d76-4179-b30b-40bc2bbe59e4\"\r\n}" headers: cache-control: - no-cache @@ -3230,7 +3283,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:52:55 GMT + - Thu, 20 Jul 2023 08:59:53 GMT expires: - '-1' pragma: @@ -3247,7 +3300,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4156 + - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4151 status: code: 200 message: OK @@ -3266,13 +3319,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/9af26892-0352-478b-9844-d5d83eba5499?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/8b9db517-0d76-4179-b30b-40bc2bbe59e4?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:52:55.7283316+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"9af26892-0352-478b-9844-d5d83eba5499\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:59:52.9660393+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"8b9db517-0d76-4179-b30b-40bc2bbe59e4\"\r\n}" headers: cache-control: - no-cache @@ -3281,7 +3334,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:53:56 GMT + - Thu, 20 Jul 2023 09:00:54 GMT expires: - '-1' pragma: @@ -3298,7 +3351,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4154 + - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4148 status: code: 200 message: OK @@ -3317,13 +3370,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/9af26892-0352-478b-9844-d5d83eba5499?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/8b9db517-0d76-4179-b30b-40bc2bbe59e4?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:52:55.7283316+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"9af26892-0352-478b-9844-d5d83eba5499\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:59:52.9660393+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"8b9db517-0d76-4179-b30b-40bc2bbe59e4\"\r\n}" headers: cache-control: - no-cache @@ -3332,7 +3385,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:54:57 GMT + - Thu, 20 Jul 2023 09:01:55 GMT expires: - '-1' pragma: @@ -3349,7 +3402,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4153 + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4145 status: code: 200 message: OK @@ -3368,13 +3421,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/9af26892-0352-478b-9844-d5d83eba5499?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/8b9db517-0d76-4179-b30b-40bc2bbe59e4?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:52:55.7283316+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"9af26892-0352-478b-9844-d5d83eba5499\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:59:52.9660393+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"8b9db517-0d76-4179-b30b-40bc2bbe59e4\"\r\n}" headers: cache-control: - no-cache @@ -3383,7 +3436,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:55:57 GMT + - Thu, 20 Jul 2023 09:02:55 GMT expires: - '-1' pragma: @@ -3400,7 +3453,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4161 + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4142 status: code: 200 message: OK @@ -3419,13 +3472,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/9af26892-0352-478b-9844-d5d83eba5499?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/8b9db517-0d76-4179-b30b-40bc2bbe59e4?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:52:55.7283316+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"9af26892-0352-478b-9844-d5d83eba5499\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:59:52.9660393+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"8b9db517-0d76-4179-b30b-40bc2bbe59e4\"\r\n}" headers: cache-control: - no-cache @@ -3434,7 +3487,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:56:58 GMT + - Thu, 20 Jul 2023 09:03:57 GMT expires: - '-1' pragma: @@ -3451,7 +3504,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4159 + - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4139 status: code: 200 message: OK @@ -3470,13 +3523,13 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/9af26892-0352-478b-9844-d5d83eba5499?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/8b9db517-0d76-4179-b30b-40bc2bbe59e4?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:52:55.7283316+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"9af26892-0352-478b-9844-d5d83eba5499\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:59:52.9660393+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"8b9db517-0d76-4179-b30b-40bc2bbe59e4\"\r\n}" headers: cache-control: - no-cache @@ -3485,7 +3538,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:57:59 GMT + - Thu, 20 Jul 2023 09:04:58 GMT expires: - '-1' pragma: @@ -3502,7 +3555,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4157 + - Microsoft.Compute/GetOperationStatus3Min;1192,Microsoft.Compute/GetOperationStatus30Min;4136 status: code: 200 message: OK @@ -3521,14 +3574,65 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/9af26892-0352-478b-9844-d5d83eba5499?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/8b9db517-0d76-4179-b30b-40bc2bbe59e4?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:52:55.7283316+00:00\",\r\n \"endTime\": - \"2023-06-25T12:58:26.2902144+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"9af26892-0352-478b-9844-d5d83eba5499\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T08:59:52.9660393+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"8b9db517-0d76-4179-b30b-40bc2bbe59e4\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 09:05:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperationStatus3Min;1191,Microsoft.Compute/GetOperationStatus30Min;4137 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sig image-version update + Connection: + - keep-alive + ParameterSetName: + - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions + --replica-count + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/8b9db517-0d76-4179-b30b-40bc2bbe59e4?api-version=2022-03-03 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-20T08:59:52.9660393+00:00\",\r\n \"endTime\": + \"2023-07-20T09:06:09.1223121+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"8b9db517-0d76-4179-b30b-40bc2bbe59e4\"\r\n}" headers: cache-control: - no-cache @@ -3537,7 +3641,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:59:00 GMT + - Thu, 20 Jul 2023 09:07:00 GMT expires: - '-1' pragma: @@ -3554,7 +3658,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4155 + - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4135 status: code: 200 message: OK @@ -3573,7 +3677,7 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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_000003/images/image1/versions/1.1.2?api-version=2022-03-03 response: @@ -3586,7 +3690,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\": \"2023-06-25T12:45:41.1197239+00:00\",\r\n + \ \"excludeFromLatest\": false,\r\n \"publishedDate\": \"2023-07-20T08:51:32.1221577+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\": @@ -3604,7 +3708,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:59:00 GMT + - Thu, 20 Jul 2023 09:07:01 GMT expires: - '-1' pragma: @@ -3621,7 +3725,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImageVersion3Min;1999,Microsoft.Compute/GetGalleryImageVersion30Min;9980 + - Microsoft.Compute/GetGalleryImageVersion3Min;1998,Microsoft.Compute/GetGalleryImageVersion30Min;9982 status: code: 200 message: OK @@ -3639,12 +3743,12 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.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-000002?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000002","name":"vault-000002","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{},"systemData":{"createdBy":"zhuyan@microsoft.com","createdByType":"User","createdAt":"2023-06-25T12:40:11.081Z","lastModifiedBy":"zhuyan@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-25T12:40:11.081Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault-000002.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000002","name":"vault-000002","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{},"systemData":{"createdBy":"zhuyan@microsoft.com","createdByType":"User","createdAt":"2023-07-20T08:45:55.002Z","lastModifiedBy":"zhuyan@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-20T08:45:55.002Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault-000002.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache @@ -3653,7 +3757,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:59:03 GMT + - Thu, 20 Jul 2023 09:07:03 GMT expires: - '-1' pragma: @@ -3671,7 +3775,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.785.0 + - 1.5.851.0 status: code: 200 message: OK @@ -3704,7 +3808,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:59:05 GMT + - Thu, 20 Jul 2023 09:07:05 GMT expires: - '-1' pragma: @@ -3717,11 +3821,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.232.5;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.75;act_addr_fam=InterNetwork; x-ms-keyvault-region: - eastus2 x-ms-keyvault-service-version: - - 1.9.865.1 + - 1.9.908.1 status: code: 401 message: Unauthorized @@ -3744,7 +3848,7 @@ interactions: uri: https://vault-000002.vault.azure.net/keys/key-000004/create?api-version=7.4-preview.1 response: body: - string: '{"key":{"kid":"https://vault-000002.vault.azure.net/keys/key-000004/7369c2db4eba486ea484b55d06545c73","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"wVob8msPjzBo-wefIYiqQxZVexq2jatuT4YjyrqAxKlEcsewY_gTrmZpbIfDr5mWXax2jm5LeN40YDFiDH78GGPMH9l8VQ7INubTXc4kgYHhpukQ6NVjbSvB2tG70dxOS8wxoGWfTnzly6jMBRFdCx2ZhNqVrvSa0XRiNQt4AmzQo-YyLiaZMvY-lVAA3NhzUyU4Ctym40zSeLrukv4MHCtSARzCvdZl7hdUW1S3BSk5k9inq1IlKBjjMk0dzcQzcqF7vJOTxMPqpFEUBQ5xydRYTnX_BjzYoiFrqc9APqfuZ2mW4d3lnnl2yRtVfoG1s_H_M4-YMQA9XyUxER-3pQ","e":"AQAB"},"attributes":{"enabled":true,"created":1687697946,"updated":1687697946,"recoveryLevel":"CustomizedRecoverable","recoverableDays":7,"exportable":false}}' + string: '{"key":{"kid":"https://vault-000002.vault.azure.net/keys/key-000004/81f560a6ab6345e096ee99bfe64a3d5d","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"y4u-JeWjj4gKIkdbBfdTW0kXD1paERaTIpmdiQ64E6regJ8YQ7WSC2DVQ1rl446DaqCZmXV68u5iEKhF05sGThciahBX9mAd2cbkaId0BoZxdnUOhpDC9q2tJal0e0tHpWZYMYKyt6MCWIse_FCKERVp8P0v5iiJyNEviF291cHKqVNlaGCw-Mv0-wJpOE_wbxzWweY7FV7DHO8CTQSy7Hpw5T0ObzUdOmmg-K6mvuI8PS36sK2DOHorJMmpKHoWsM_Rmv7CSGEbXa980mKCuMJd-G4ypPKwAa-z2ks3E0ImNKv352U8Bvg4IAwJt0TW9wJ34UJ8yEfTPTA-u88pjQ","e":"AQAB"},"attributes":{"enabled":true,"created":1689844028,"updated":1689844028,"recoveryLevel":"CustomizedRecoverable","recoverableDays":7,"exportable":false}}' headers: cache-control: - no-cache @@ -3753,7 +3857,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:59:05 GMT + - Thu, 20 Jul 2023 09:07:08 GMT expires: - '-1' pragma: @@ -3763,11 +3867,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.232.5;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.75;act_addr_fam=InterNetwork; x-ms-keyvault-region: - eastus2 x-ms-keyvault-service-version: - - 1.9.865.1 + - 1.9.908.1 status: code: 200 message: OK @@ -3785,12 +3889,12 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/23.0.1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-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","test":"test_gallery_e2e","date":"2023-06-25T12:39:37Z","module":"vm"},"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","test":"test_gallery_e2e","date":"2023-07-20T08:45:56Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -3799,7 +3903,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:59:07 GMT + - Thu, 20 Jul 2023 09:07:09 GMT expires: - '-1' pragma: @@ -3816,7 +3920,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-000002"}, - "keyUrl": "https://vault-000002.vault.azure.net/keys/key-000004/7369c2db4eba486ea484b55d06545c73"}}}' + "keyUrl": "https://vault-000002.vault.azure.net/keys/key-000004/81f560a6ab6345e096ee99bfe64a3d5d"}}}' headers: Accept: - application/json @@ -3833,7 +3937,7 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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=2022-03-02 response: @@ -3841,11 +3945,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-000002\"\r\n - \ },\r\n \"keyUrl\": \"https://vault-000002.vault.azure.net/keys/key-000004/7369c2db4eba486ea484b55d06545c73\"\r\n + \ },\r\n \"keyUrl\": \"https://vault-000002.vault.azure.net/keys/key-000004/81f560a6ab6345e096ee99bfe64a3d5d\"\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/2db9c025-021f-4129-8ceb-73355d9bacf6?p=ce96b30d-0275-4436-80e4-d93926dd88a7&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/34577359-dab2-4af4-b269-1ecd02884c0d?p=ce96b30d-0275-4436-80e4-d93926dd88a7&api-version=2022-03-02 cache-control: - no-cache content-length: @@ -3853,11 +3957,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:59:12 GMT + - Thu, 20 Jul 2023 09:07:17 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/2db9c025-021f-4129-8ceb-73355d9bacf6?p=ce96b30d-0275-4436-80e4-d93926dd88a7&monitor=true&api-version=2022-03-02 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/34577359-dab2-4af4-b269-1ecd02884c0d?p=ce96b30d-0275-4436-80e4-d93926dd88a7&monitor=true&api-version=2022-03-02 pragma: - no-cache server: @@ -3868,9 +3972,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/HighCostDiskEncryptionSet3Min;99,Microsoft.Compute/HighCostDiskEncryptionSet30Min;296 + - Microsoft.Compute/HighCostDiskEncryptionSet3Min;99,Microsoft.Compute/HighCostDiskEncryptionSet30Min;299 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -3888,33 +3992,33 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/2db9c025-021f-4129-8ceb-73355d9bacf6?p=ce96b30d-0275-4436-80e4-d93926dd88a7&api-version=2022-03-02 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/DiskOperations/34577359-dab2-4af4-b269-1ecd02884c0d?p=ce96b30d-0275-4436-80e4-d93926dd88a7&api-version=2022-03-02 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T12:59:12.778298+00:00\",\r\n \"endTime\": - \"2023-06-25T12:59:12.8407908+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2023-07-20T09:07:17.7594084+00:00\",\r\n \"endTime\": + \"2023-07-20T09:07:17.8375268+00:00\",\r\n \"status\": \"Succeeded\",\r\n \ \"properties\": {\r\n \"output\": {\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\": - \"b3c324cb-06f2-4d1f-b376-be435373d22f\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \"5cceebc6-dfef-4d1c-b4ff-f43fb4ad6462\",\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-000002\"\r\n - \ },\r\n \"keyUrl\": \"https://vault-000002.vault.azure.net/keys/key-000004/7369c2db4eba486ea484b55d06545c73\"\r\n + \ },\r\n \"keyUrl\": \"https://vault-000002.vault.azure.net/keys/key-000004/81f560a6ab6345e096ee99bfe64a3d5d\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}\r\n },\r\n \"name\": - \"2db9c025-021f-4129-8ceb-73355d9bacf6\"\r\n}" + \"34577359-dab2-4af4-b269-1ecd02884c0d\"\r\n}" headers: cache-control: - no-cache content-length: - - '1093' + - '1094' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:59:12 GMT + - Thu, 20 Jul 2023 09:07:17 GMT expires: - '-1' pragma: @@ -3931,7 +4035,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49999,Microsoft.Compute/GetOperation30Min;399938 + - Microsoft.Compute/GetOperation3Min;49999,Microsoft.Compute/GetOperation30Min;399903 status: code: 200 message: OK @@ -3949,7 +4053,7 @@ interactions: ParameterSetName: - -g -n --key-url --source-vault User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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=2022-03-02 response: @@ -3957,10 +4061,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\": - \"b3c324cb-06f2-4d1f-b376-be435373d22f\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \"5cceebc6-dfef-4d1c-b4ff-f43fb4ad6462\",\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-000002\"\r\n - \ },\r\n \"keyUrl\": \"https://vault-000002.vault.azure.net/keys/key-000004/7369c2db4eba486ea484b55d06545c73\"\r\n + \ },\r\n \"keyUrl\": \"https://vault-000002.vault.azure.net/keys/key-000004/81f560a6ab6345e096ee99bfe64a3d5d\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -3971,7 +4075,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:59:12 GMT + - Thu, 20 Jul 2023 09:07:18 GMT expires: - '-1' pragma: @@ -3988,7 +4092,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14999,Microsoft.Compute/LowCostGet30Min;119969 + - Microsoft.Compute/LowCostGet3Min;14999,Microsoft.Compute/LowCostGet30Min;119977 status: code: 200 message: OK @@ -4006,7 +4110,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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=2022-03-02 response: @@ -4014,10 +4118,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\": - \"b3c324cb-06f2-4d1f-b376-be435373d22f\",\r\n \"tenantId\": \"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a\"\r\n + \"5cceebc6-dfef-4d1c-b4ff-f43fb4ad6462\",\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-000002\"\r\n - \ },\r\n \"keyUrl\": \"https://vault-000002.vault.azure.net/keys/key-000004/7369c2db4eba486ea484b55d06545c73\"\r\n + \ },\r\n \"keyUrl\": \"https://vault-000002.vault.azure.net/keys/key-000004/81f560a6ab6345e096ee99bfe64a3d5d\"\r\n \ },\r\n \"encryptionType\": \"EncryptionAtRestWithCustomerKey\",\r\n \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" headers: @@ -4028,7 +4132,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:59:15 GMT + - Thu, 20 Jul 2023 09:07:20 GMT expires: - '-1' pragma: @@ -4045,7 +4149,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14998,Microsoft.Compute/LowCostGet30Min;119968 + - Microsoft.Compute/LowCostGet3Min;14998,Microsoft.Compute/LowCostGet30Min;119976 status: code: 200 message: OK @@ -4063,7 +4167,7 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.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: @@ -4077,7 +4181,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:59:16 GMT + - Thu, 20 Jul 2023 09:07:20 GMT expires: - '-1' pragma: @@ -4105,12 +4209,12 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.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-000002?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000002","name":"vault-000002","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{},"systemData":{"createdBy":"zhuyan@microsoft.com","createdByType":"User","createdAt":"2023-06-25T12:40:11.081Z","lastModifiedBy":"zhuyan@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-25T12:40:11.081Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault-000002.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000002","name":"vault-000002","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{},"systemData":{"createdBy":"zhuyan@microsoft.com","createdByType":"User","createdAt":"2023-07-20T08:45:55.002Z","lastModifiedBy":"zhuyan@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-20T08:45:55.002Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault-000002.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache @@ -4119,7 +4223,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:59:18 GMT + - Thu, 20 Jul 2023 09:07:23 GMT expires: - '-1' pragma: @@ -4137,7 +4241,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.785.0 + - 1.5.851.0 status: code: 200 message: OK @@ -4147,8 +4251,8 @@ interactions: "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": "0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2", "permissions": {"keys": ["all"], "secrets": ["all"], "certificates": ["all"], "storage": ["all"]}}, {"tenantId": "54826b22-38d6-4fb2-bad9-b7b93a3e9c5a", "objectId": - "b3c324cb-06f2-4d1f-b376-be435373d22f", "permissions": {"keys": ["unwrapKey", - "wrapKey", "get"]}}], "vaultUri": "https://vault-000002.vault.azure.net/", "enabledForDeployment": + "5cceebc6-dfef-4d1c-b4ff-f43fb4ad6462", "permissions": {"keys": ["get", "unwrapKey", + "wrapKey"]}}], "vaultUri": "https://vault-000002.vault.azure.net/", "enabledForDeployment": false, "enableSoftDelete": true, "softDeleteRetentionInDays": 7, "enablePurgeProtection": true, "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled"}}' headers: @@ -4167,21 +4271,21 @@ interactions: ParameterSetName: - -n --object-id --key-permissions User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-keyvault/10.2.2 Python/3.9.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-000002?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000002","name":"vault-000002","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{},"systemData":{"createdBy":"zhuyan@microsoft.com","createdByType":"User","createdAt":"2023-06-25T12:40:11.081Z","lastModifiedBy":"zhuyan@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-25T12:59:18.963Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"b3c324cb-06f2-4d1f-b376-be435373d22f","permissions":{"keys":["unwrapKey","wrapKey","get"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault-000002.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000002","name":"vault-000002","type":"Microsoft.KeyVault/vaults","location":"eastus2","tags":{},"systemData":{"createdBy":"zhuyan@microsoft.com","createdByType":"User","createdAt":"2023-07-20T08:45:55.002Z","lastModifiedBy":"zhuyan@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-20T09:07:23.87Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","accessPolicies":[{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}},{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","objectId":"5cceebc6-dfef-4d1c-b4ff-f43fb4ad6462","permissions":{"keys":["get","unwrapKey","wrapKey"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":7,"enablePurgeProtection":true,"vaultUri":"https://vault-000002.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '1150' + - '1149' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:59:19 GMT + - Thu, 20 Jul 2023 09:07:23 GMT expires: - '-1' pragma: @@ -4199,9 +4303,9 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.785.0 + - 1.5.851.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -4219,9 +4323,9 @@ interactions: ParameterSetName: - --assignee --role --scope User-Agent: - - python/3.9.0 (Windows-10-10.0.19041-SP0) AZURECLI/2.49.0 + - python/3.9.0 (Windows-10-10.0.19041-SP0) AZURECLI/2.50.0 method: GET - uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames%2Fany%28c%3Ac%20eq%20%27b3c324cb-06f2-4d1f-b376-be435373d22f%27%29 + uri: https://graph.microsoft.com/v1.0/servicePrincipals?$filter=servicePrincipalNames%2Fany%28c%3Ac%20eq%20%275cceebc6-dfef-4d1c-b4ff-f43fb4ad6462%27%29 response: body: string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#servicePrincipals","value":[]}' @@ -4233,11 +4337,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Sun, 25 Jun 2023 12:59:35 GMT + - Thu, 20 Jul 2023 09:07:43 GMT odata-version: - '4.0' request-id: - - 074c78ae-4bdf-45f7-901f-a8d736c17fff + - b835fa8f-7acf-417f-84ec-e376fe7f8920 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -4245,14 +4349,14 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Japan East","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"TY1PEPF0000604C"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"SG1PEPF00007D09"}}' x-ms-resource-unit: - '1' status: code: 200 message: OK - request: - body: '{"ids": ["b3c324cb-06f2-4d1f-b376-be435373d22f"], "types": ["user", "group", + body: '{"ids": ["5cceebc6-dfef-4d1c-b4ff-f43fb4ad6462"], "types": ["user", "group", "servicePrincipal", "directoryObjectPartnerReference"]}' headers: Accept: @@ -4270,13 +4374,13 @@ interactions: ParameterSetName: - --assignee --role --scope User-Agent: - - python/3.9.0 (Windows-10-10.0.19041-SP0) AZURECLI/2.49.0 + - python/3.9.0 (Windows-10-10.0.19041-SP0) AZURECLI/2.50.0 method: POST uri: https://graph.microsoft.com/v1.0/directoryObjects/getByIds response: body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#directoryObjects","value":[{"@odata.type":"#microsoft.graph.servicePrincipal","id":"b3c324cb-06f2-4d1f-b376-be435373d22f","deletedDateTime":null,"accountEnabled":true,"alternativeNames":["isExplicit=False","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000005"],"appDisplayName":null,"appDescription":null,"appId":"9554a383-ae9e-424e-b626-554c0e6f27bc","applicationTemplateId":null,"appOwnerOrganizationId":null,"appRoleAssignmentRequired":false,"createdDateTime":"2023-06-25T12:59:11Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"des1-000005","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["9554a383-ae9e-424e-b626-554c0e6f27bc","https://identity.azure.net/CdpLKLzU79Miu/t4usDI5rafmw4RLDfP9CipQxXsl80="],"servicePrincipalType":"ManagedIdentity","signInAudience":null,"tags":[],"tokenEncryptionKeyId":null,"info":null,"samlSingleSignOnSettings":null,"addIns":[],"appRoles":[],"keyCredentials":[{"customKeyIdentifier":"6585909E9EAEF31B57B88B0CD92CDD280F68A5F7","displayName":"CN=9554a383-ae9e-424e-b626-554c0e6f27bc, - DC=54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","endDateTime":"2023-09-23T12:54:00Z","key":null,"keyId":"8a4c5fbd-2364-40d9-afd9-59652db8f6ad","startDateTime":"2023-06-25T12:54:00Z","type":"AsymmetricX509Cert","usage":"Verify"}],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null}}]}' + string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#directoryObjects","value":[{"@odata.type":"#microsoft.graph.servicePrincipal","id":"5cceebc6-dfef-4d1c-b4ff-f43fb4ad6462","deletedDateTime":null,"accountEnabled":true,"alternativeNames":["isExplicit=False","/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Compute/diskEncryptionSets/des1-000005"],"appDisplayName":null,"appDescription":null,"appId":"21e876ec-c1ac-4096-8623-76f521242230","applicationTemplateId":null,"appOwnerOrganizationId":null,"appRoleAssignmentRequired":false,"createdDateTime":"2023-07-20T09:07:16Z","description":null,"disabledByMicrosoftStatus":null,"displayName":"des1-000005","homepage":null,"loginUrl":null,"logoutUrl":null,"notes":null,"notificationEmailAddresses":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyThumbprint":null,"replyUrls":[],"servicePrincipalNames":["21e876ec-c1ac-4096-8623-76f521242230","https://identity.azure.net/xKzsOl+Y4rXzPsDVpiCFVa2ZrmUO4nASi9BKsZwjreE="],"servicePrincipalType":"ManagedIdentity","signInAudience":null,"tags":[],"tokenEncryptionKeyId":null,"info":null,"samlSingleSignOnSettings":null,"addIns":[],"appRoles":[],"keyCredentials":[{"customKeyIdentifier":"1AF22655527DA52071BE24CB5CABA72CAF3F20AD","displayName":"CN=21e876ec-c1ac-4096-8623-76f521242230, + DC=54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","endDateTime":"2023-10-18T09:02:00Z","key":null,"keyId":"1eab86c1-fde2-44e7-9ffb-b71f24225114","startDateTime":"2023-07-20T09:02:00Z","type":"AsymmetricX509Cert","usage":"Verify"}],"oauth2PermissionScopes":[],"passwordCredentials":[],"resourceSpecificApplicationPermissions":[],"verifiedPublisher":{"displayName":null,"verifiedPublisherId":null,"addedDateTime":null}}]}' headers: cache-control: - no-cache @@ -4285,13 +4389,13 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Sun, 25 Jun 2023 12:59:36 GMT + - Thu, 20 Jul 2023 09:07:44 GMT location: - https://graph.microsoft.com odata-version: - '4.0' request-id: - - d7252341-8234-4c34-9acd-aef058b173ed + - 9f6d8a70-49ae-4fa1-93e7-e53a77c27abd strict-transport-security: - max-age=31536000 transfer-encoding: @@ -4299,7 +4403,7 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"Japan East","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"TY1PEPF0000604B"}}' + - '{"ServerInfo":{"DataCenter":"Southeast Asia","Slice":"E","Ring":"5","ScaleUnit":"002","RoleInstance":"SG1PEPF00002EB9"}}' x-ms-resource-unit: - '3' status: @@ -4319,7 +4423,7 @@ interactions: ParameterSetName: - --assignee --role --scope User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-authorization/3.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-authorization/3.0.0 Python/3.9.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-000002/providers/Microsoft.Authorization/roleDefinitions?$filter=roleName%20eq%20%27Reader%27&api-version=2022-04-01 response: @@ -4334,7 +4438,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:59:37 GMT + - Thu, 20 Jul 2023 09:07:48 GMT expires: - '-1' pragma: @@ -4354,7 +4458,7 @@ interactions: message: OK - request: body: '{"properties": {"roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", - "principalId": "b3c324cb-06f2-4d1f-b376-be435373d22f", "principalType": "ServicePrincipal"}}' + "principalId": "5cceebc6-dfef-4d1c-b4ff-f43fb4ad6462", "principalType": "ServicePrincipal"}}' headers: Accept: - application/json @@ -4373,12 +4477,12 @@ interactions: ParameterSetName: - --assignee --role --scope User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-authorization/3.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-authorization/3.0.0 Python/3.9.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-000002/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"b3c324cb-06f2-4d1f-b376-be435373d22f","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000002","condition":null,"conditionVersion":null,"createdOn":"2023-06-25T12:59:38.3885417Z","updatedOn":"2023-06-25T12:59:39.3155552Z","createdBy":null,"updatedBy":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000002/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":"5cceebc6-dfef-4d1c-b4ff-f43fb4ad6462","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000002","condition":null,"conditionVersion":null,"createdOn":"2023-07-20T09:07:49.1313465Z","updatedOn":"2023-07-20T09:07:49.8003514Z","createdBy":null,"updatedBy":"0581142e-ae8f-4bc0-9a0d-ffb7cbad05b2","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/vault-000002/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000001"}' headers: cache-control: - no-cache @@ -4387,7 +4491,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:59:43 GMT + - Thu, 20 Jul 2023 09:07:54 GMT expires: - '-1' pragma: @@ -4397,7 +4501,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -4416,12 +4520,12 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --target-region-encryption --managed-image --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/23.0.1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-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","test":"test_gallery_e2e","date":"2023-06-25T12:39:37Z","module":"vm"},"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","test":"test_gallery_e2e","date":"2023-07-20T08:45:56Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -4430,7 +4534,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 12:59:59 GMT + - Thu, 20 Jul 2023 09:08:09 GMT expires: - '-1' pragma: @@ -4467,7 +4571,7 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --target-region-encryption --managed-image --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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_000003/images/image1/versions/1.1.3?api-version=2022-03-03 response: @@ -4484,7 +4588,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\": - \"2023-06-25T13:00:04.0244034+00:00\",\r\n \"storageAccountType\": \"Standard_LRS\"\r\n + \"2023-07-20T09:08:15.841183+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 \"safetyProfile\": {\r\n \"reportedForPolicyViolation\": @@ -4492,15 +4596,15 @@ interactions: \ \"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/761375f4-6f6a-4941-bfed-42728ad10ac9?api-version=2022-03-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/c4f55bc5-74ee-47ee-bcd6-eda0a422cb77?api-version=2022-03-03 cache-control: - no-cache content-length: - - '1680' + - '1679' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:00:04 GMT + - Thu, 20 Jul 2023 09:08:17 GMT expires: - '-1' pragma: @@ -4513,7 +4617,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;374,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1197 + - Microsoft.Compute/CreateUpdateGalleryImageVersion3Min;374,Microsoft.Compute/CreateUpdateGalleryImageVersion30Min;1196 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -4534,73 +4638,22 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --target-region-encryption --managed-image --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/761375f4-6f6a-4941-bfed-42728ad10ac9?api-version=2022-03-03 - response: - body: - string: "{\r\n \"startTime\": \"2023-06-25T13:00:04.0087792+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"761375f4-6f6a-4941-bfed-42728ad10ac9\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Sun, 25 Jun 2023 13:00:04 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;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 --target-regions - --target-region-encryption --managed-image --replica-count - User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/761375f4-6f6a-4941-bfed-42728ad10ac9?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/c4f55bc5-74ee-47ee-bcd6-eda0a422cb77?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T13:00:04.0087792+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"761375f4-6f6a-4941-bfed-42728ad10ac9\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T09:08:15.825616+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"c4f55bc5-74ee-47ee-bcd6-eda0a422cb77\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:01:05 GMT + - Thu, 20 Jul 2023 09:08:17 GMT expires: - '-1' pragma: @@ -4617,7 +4670,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;4133 status: code: 200 message: OK @@ -4636,22 +4689,22 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --target-region-encryption --managed-image --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/761375f4-6f6a-4941-bfed-42728ad10ac9?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/c4f55bc5-74ee-47ee-bcd6-eda0a422cb77?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T13:00:04.0087792+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"761375f4-6f6a-4941-bfed-42728ad10ac9\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T09:08:15.825616+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"c4f55bc5-74ee-47ee-bcd6-eda0a422cb77\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:02:06 GMT + - Thu, 20 Jul 2023 09:09:18 GMT expires: - '-1' pragma: @@ -4668,7 +4721,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1196,Microsoft.Compute/GetOperationStatus30Min;4160 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4131 status: code: 200 message: OK @@ -4687,22 +4740,22 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --target-region-encryption --managed-image --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/761375f4-6f6a-4941-bfed-42728ad10ac9?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/c4f55bc5-74ee-47ee-bcd6-eda0a422cb77?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T13:00:04.0087792+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"761375f4-6f6a-4941-bfed-42728ad10ac9\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T09:08:15.825616+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"c4f55bc5-74ee-47ee-bcd6-eda0a422cb77\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:03:07 GMT + - Thu, 20 Jul 2023 09:10:19 GMT expires: - '-1' pragma: @@ -4719,7 +4772,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4158 + - Microsoft.Compute/GetOperationStatus3Min;1196,Microsoft.Compute/GetOperationStatus30Min;4130 status: code: 200 message: OK @@ -4738,22 +4791,22 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --target-region-encryption --managed-image --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/761375f4-6f6a-4941-bfed-42728ad10ac9?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/c4f55bc5-74ee-47ee-bcd6-eda0a422cb77?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T13:00:04.0087792+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"761375f4-6f6a-4941-bfed-42728ad10ac9\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T09:08:15.825616+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"c4f55bc5-74ee-47ee-bcd6-eda0a422cb77\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:04:07 GMT + - Thu, 20 Jul 2023 09:11:20 GMT expires: - '-1' pragma: @@ -4770,7 +4823,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4156 + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4127 status: code: 200 message: OK @@ -4789,22 +4842,22 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --target-region-encryption --managed-image --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/761375f4-6f6a-4941-bfed-42728ad10ac9?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/c4f55bc5-74ee-47ee-bcd6-eda0a422cb77?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T13:00:04.0087792+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"761375f4-6f6a-4941-bfed-42728ad10ac9\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T09:08:15.825616+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"c4f55bc5-74ee-47ee-bcd6-eda0a422cb77\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:05:08 GMT + - Thu, 20 Jul 2023 09:12:21 GMT expires: - '-1' pragma: @@ -4821,7 +4874,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4158 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4126 status: code: 200 message: OK @@ -4840,22 +4893,22 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --target-region-encryption --managed-image --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/761375f4-6f6a-4941-bfed-42728ad10ac9?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/c4f55bc5-74ee-47ee-bcd6-eda0a422cb77?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T13:00:04.0087792+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"761375f4-6f6a-4941-bfed-42728ad10ac9\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T09:08:15.825616+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"c4f55bc5-74ee-47ee-bcd6-eda0a422cb77\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:06:09 GMT + - Thu, 20 Jul 2023 09:13:22 GMT expires: - '-1' pragma: @@ -4872,7 +4925,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4156 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4124 status: code: 200 message: OK @@ -4891,22 +4944,22 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --target-region-encryption --managed-image --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/761375f4-6f6a-4941-bfed-42728ad10ac9?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/c4f55bc5-74ee-47ee-bcd6-eda0a422cb77?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T13:00:04.0087792+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"761375f4-6f6a-4941-bfed-42728ad10ac9\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T09:08:15.825616+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"c4f55bc5-74ee-47ee-bcd6-eda0a422cb77\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:07:09 GMT + - Thu, 20 Jul 2023 09:14:23 GMT expires: - '-1' pragma: @@ -4923,7 +4976,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4154 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4122 status: code: 200 message: OK @@ -4942,23 +4995,23 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --target-region-encryption --managed-image --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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/761375f4-6f6a-4941-bfed-42728ad10ac9?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/c4f55bc5-74ee-47ee-bcd6-eda0a422cb77?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T13:00:04.0087792+00:00\",\r\n \"endTime\": - \"2023-06-25T13:07:12.0705074+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"761375f4-6f6a-4941-bfed-42728ad10ac9\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T09:08:15.825616+00:00\",\r\n \"endTime\": + \"2023-07-20T09:15:16.8996375+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"c4f55bc5-74ee-47ee-bcd6-eda0a422cb77\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '183' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:08:10 GMT + - Thu, 20 Jul 2023 09:15:24 GMT expires: - '-1' pragma: @@ -4975,7 +5028,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4152 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4132 status: code: 200 message: OK @@ -4994,7 +5047,7 @@ interactions: - -g --gallery-name --gallery-image-definition --gallery-image-version --target-regions --target-region-encryption --managed-image --replica-count User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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_000003/images/image1/versions/1.1.3?api-version=2022-03-03 response: @@ -5011,7 +5064,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\": - \"2023-06-25T13:00:04.0244034+00:00\",\r\n \"storageAccountType\": \"Standard_LRS\"\r\n + \"2023-07-20T09:08:15.841183+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\": @@ -5025,11 +5078,11 @@ interactions: cache-control: - no-cache content-length: - - '1939' + - '1938' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:08:10 GMT + - Thu, 20 Jul 2023 09:15:25 GMT expires: - '-1' pragma: @@ -5046,7 +5099,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetGalleryImageVersion3Min;1997,Microsoft.Compute/GetGalleryImageVersion30Min;9977 + - Microsoft.Compute/GetGalleryImageVersion3Min;1999,Microsoft.Compute/GetGalleryImageVersion30Min;9975 status: code: 200 message: OK @@ -5064,12 +5117,12 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/23.0.1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-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","test":"test_gallery_e2e","date":"2023-06-25T12:39:37Z","module":"vm"},"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","test":"test_gallery_e2e","date":"2023-07-20T08:45:56Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -5078,7 +5131,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:08:12 GMT + - Thu, 20 Jul 2023 09:15:25 GMT expires: - '-1' pragma: @@ -5106,7 +5159,7 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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_000003/images/image1?api-version=2021-10-01 response: @@ -5126,7 +5179,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:08:14 GMT + - Thu, 20 Jul 2023 09:15:27 GMT expires: - '-1' pragma: @@ -5161,7 +5214,7 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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_000003/images/image1/versions?api-version=2022-03-03 response: @@ -5176,7 +5229,7 @@ interactions: \"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\": - \"2023-06-25T12:45:41.1197239+00:00\",\r\n \"storageAccountType\": + \"2023-07-20T08:51:32.1221577+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\": @@ -5199,7 +5252,7 @@ interactions: \"/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\": \"2023-06-25T13:00:04.0244034+00:00\",\r\n + false,\r\n \"publishedDate\": \"2023-07-20T09:08:15.841183+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\": @@ -5214,11 +5267,11 @@ interactions: cache-control: - no-cache content-length: - - '3865' + - '3864' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:08:14 GMT + - Thu, 20 Jul 2023 09:15:28 GMT expires: - '-1' pragma: @@ -5253,21 +5306,21 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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=2022-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/\\\"9553a44e-c6e0-4fb0-8259-5abcb27b77e2\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"50eedbe2-e5b2-473a-a309-25bdde666702\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"48514d7c-7eab-482c-8204-3f14953642ef\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"098463bc-bf55-4ebb-a543-a20c78301ce1\",\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/\\\"9553a44e-c6e0-4fb0-8259-5abcb27b77e2\\\"\",\r\n + \ \"etag\": \"W/\\\"50eedbe2-e5b2-473a-a309-25bdde666702\\\"\",\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 @@ -5284,7 +5337,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:08:16 GMT + - Thu, 20 Jul 2023 09:15:30 GMT expires: - '-1' pragma: @@ -5301,7 +5354,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5352a109-bca3-41e2-ab32-e96b632d7928 + - 8ee1cbb0-65b4-4aff-8372-7a4e218458e5 status: code: 200 message: OK @@ -5349,23 +5402,23 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/23.0.1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_1tiYN8BePoR3a53RXJxLswYwT1hKASbd","name":"vm_deploy_1tiYN8BePoR3a53RXJxLswYwT1hKASbd","type":"Microsoft.Resources/deployments","properties":{"templateHash":"10947101817267581205","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-06-25T13:08:23.7775235Z","duration":"PT0.0004408S","correlationId":"33e2b0f3-76dd-4095-a09c-06954496283a","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_zT1CfAbQljOs4FTTHGU8q6nliuyrQBNl","name":"vm_deploy_zT1CfAbQljOs4FTTHGU8q6nliuyrQBNl","type":"Microsoft.Resources/deployments","properties":{"templateHash":"1385784201216297456","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-07-20T09:15:41.937861Z","duration":"PT0.0009401S","correlationId":"5d1c5094-4801-49d0-8531-f7e7b1904ed5","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_1tiYN8BePoR3a53RXJxLswYwT1hKASbd/operationStatuses/08585139083846798708?api-version=2022-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_zT1CfAbQljOs4FTTHGU8q6nliuyrQBNl/operationStatuses/08585117623473129391?api-version=2022-09-01 cache-control: - no-cache content-length: - - '2135' + - '2133' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:08:24 GMT + - Thu, 20 Jul 2023 09:15:43 GMT expires: - '-1' pragma: @@ -5393,9 +5446,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/23.0.1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585139083846798708?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585117623473129391?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -5407,7 +5460,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:08:24 GMT + - Thu, 20 Jul 2023 09:15:43 GMT expires: - '-1' pragma: @@ -5435,9 +5488,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/23.0.1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585139083846798708?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585117623473129391?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -5449,7 +5502,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:08:55 GMT + - Thu, 20 Jul 2023 09:16:14 GMT expires: - '-1' pragma: @@ -5477,9 +5530,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/23.0.1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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/08585139083846798708?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585117623473129391?api-version=2022-09-01 response: body: string: '{"status":"Succeeded"}' @@ -5491,7 +5544,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:09:26 GMT + - Thu, 20 Jul 2023 09:16:44 GMT expires: - '-1' pragma: @@ -5519,21 +5572,21 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/23.0.1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.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=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Resources/deployments/vm_deploy_1tiYN8BePoR3a53RXJxLswYwT1hKASbd","name":"vm_deploy_1tiYN8BePoR3a53RXJxLswYwT1hKASbd","type":"Microsoft.Resources/deployments","properties":{"templateHash":"10947101817267581205","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-06-25T13:09:11.0939532Z","duration":"PT47.3168705S","correlationId":"33e2b0f3-76dd-4095-a09c-06954496283a","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_zT1CfAbQljOs4FTTHGU8q6nliuyrQBNl","name":"vm_deploy_zT1CfAbQljOs4FTTHGU8q6nliuyrQBNl","type":"Microsoft.Resources/deployments","properties":{"templateHash":"1385784201216297456","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-07-20T09:16:31.9457193Z","duration":"PT50.0087984S","correlationId":"5d1c5094-4801-49d0-8531-f7e7b1904ed5","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 content-length: - - '2792' + - '2791' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:09:26 GMT + - Thu, 20 Jul 2023 09:16:45 GMT expires: - '-1' pragma: @@ -5561,32 +5614,32 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.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=2022-11-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\": \"1fc85a97-2487-4722-95ae-82e1c2e4c93a\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"bbe66206-316e-451d-a522-b05f279b7e90\",\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_000003/images/image1\",\r\n \ \"exactVersion\": \"1.1.3\"\r\n },\r\n \"osDisk\": {\r\n - \ \"osType\": \"Linux\",\r\n \"name\": \"vmFromImage_OsDisk_1_3c0905d580ee446ca2e38b7d73a3e019\",\r\n + \ \"osType\": \"Linux\",\r\n \"name\": \"vmFromImage_OsDisk_1_48b8f2b145e84655ae15b447feace2e6\",\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_3c0905d580ee446ca2e38b7d73a3e019\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vmFromImage_OsDisk_1_48b8f2b145e84655ae15b447feace2e6\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": [\r\n {\r\n \"lun\": - 0,\r\n \"name\": \"vmFromImage_lun_0_2_9c401bc822174849b1b5996c5e402a14\",\r\n + 0,\r\n \"name\": \"vmFromImage_lun_0_2_0dbbf3cc42324cc4bf4e0a2ad64159c7\",\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_9c401bc822174849b1b5996c5e402a14\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Compute/disks/vmFromImage_lun_0_2_0dbbf3cc42324cc4bf4e0a2ad64159c7\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 10,\r\n \"toBeDetached\": false\r\n }\r\n ]\r\n },\r\n \ \"osProfile\": {\r\n \"computerName\": \"vmFromImage\",\r\n \"adminUsername\": @@ -5606,23 +5659,23 @@ interactions: \ \"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\": - \"2023-06-25T13:09:15+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vmFromImage_OsDisk_1_3c0905d580ee446ca2e38b7d73a3e019\",\r\n + \"2023-07-20T09:16:35+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vmFromImage_OsDisk_1_48b8f2b145e84655ae15b447feace2e6\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2023-06-25T13:08:43.2657636+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-20T09:16:04.1623554+00:00\"\r\n \ }\r\n ]\r\n },\r\n {\r\n \"name\": - \"vmFromImage_lun_0_2_9c401bc822174849b1b5996c5e402a14\",\r\n \"statuses\": + \"vmFromImage_lun_0_2_0dbbf3cc42324cc4bf4e0a2ad64159c7\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2023-06-25T13:08:43.2657636+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-20T09:16:04.1779811+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\": \"2023-06-25T13:09:08.6408541+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-20T09:16:28.6311189+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n - \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2023-06-25T13:08:39.0626338+00:00\"\r\n + \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2023-07-20T09:15:59.2717278+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -5632,7 +5685,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:09:27 GMT + - Thu, 20 Jul 2023 09:16:47 GMT expires: - '-1' pragma: @@ -5649,7 +5702,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31991 + - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31984 status: code: 200 message: OK @@ -5667,18 +5720,18 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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=2022-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/\\\"53f7748c-a213-494f-99bd-1e965e616fe9\\\"\",\r\n \"tags\": + \ \"etag\": \"W/\\\"b80ddd41-a5b0-4c9a-8a2d-7dc555cb1bb5\\\"\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"b13f72d9-efe6-4789-b29c-5223cd64a822\",\r\n \"ipConfigurations\": + \ \"resourceGuid\": \"e9f79b45-a3b5-422f-9543-da61a8a8a4f1\",\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/\\\"53f7748c-a213-494f-99bd-1e965e616fe9\\\"\",\r\n + \ \"etag\": \"W/\\\"b80ddd41-a5b0-4c9a-8a2d-7dc555cb1bb5\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.5\",\r\n \"privateIPAllocationMethod\": @@ -5687,8 +5740,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\": - \"prgvcsflpyweraqeh2kjknsc3h.cx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"60-45-BD-B7-47-41\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \"xrryickvx43u3jkduighqma22b.cx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-03-34-52\",\r\n \"enableAcceleratedNetworking\": false,\r\n \ \"vnetEncryptionSupported\": 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\": @@ -5705,9 +5758,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:09:30 GMT + - Thu, 20 Jul 2023 09:16:49 GMT etag: - - W/"53f7748c-a213-494f-99bd-1e965e616fe9" + - W/"b80ddd41-a5b0-4c9a-8a2d-7dc555cb1bb5" expires: - '-1' pragma: @@ -5724,7 +5777,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b3ed78ce-5f86-4e68-833b-590ab440fd96 + - cde618c0-4aa0-4a7c-a85c-5ddc6be4a461 status: code: 200 message: OK @@ -5742,17 +5795,17 @@ interactions: ParameterSetName: - -g -n --image --admin-username --generate-ssh-keys --nsg-rule User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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=2022-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/\\\"b6e0ee77-b388-49a9-b6c3-5f47c3c718b7\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"1d9301ea-11d0-4423-9959-18c35d71af35\\\"\",\r\n \"location\": \"eastus2\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"5cabf327-68e5-4a47-9f03-daecc78194bb\",\r\n - \ \"ipAddress\": \"20.14.148.195\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n - \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + \"Succeeded\",\r\n \"resourceGuid\": \"5670a35a-440f-4bb3-99dd-caa68cff42c9\",\r\n + \ \"ipAddress\": \"172.177.146.193\",\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 \ \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n @@ -5761,13 +5814,13 @@ interactions: cache-control: - no-cache content-length: - - '937' + - '939' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:09:30 GMT + - Thu, 20 Jul 2023 09:16:51 GMT etag: - - W/"b6e0ee77-b388-49a9-b6c3-5f47c3c718b7" + - W/"1d9301ea-11d0-4423-9959-18c35d71af35" expires: - '-1' pragma: @@ -5784,7 +5837,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5c066872-5ecf-46dd-8511-93edf47ba978 + - 5df899fb-ba67-4f7d-b764-af28542136f5 status: code: 200 message: OK @@ -5792,7 +5845,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -5804,7 +5857,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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_000003/images/image1/versions/1.1.2?api-version=2022-03-03 response: @@ -5812,17 +5865,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/6b5ca773-eb55-4d2f-969d-54d6aa2c4ff2?api-version=2022-03-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/fb0d2bd4-bff7-4811-a3d8-876c801c2cf6?api-version=2022-03-03 cache-control: - no-cache content-length: - '0' date: - - Sun, 25 Jun 2023 13:09:32 GMT + - Thu, 20 Jul 2023 09:16:53 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/6b5ca773-eb55-4d2f-969d-54d6aa2c4ff2?monitor=true&api-version=2022-03-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/fb0d2bd4-bff7-4811-a3d8-876c801c2cf6?monitor=true&api-version=2022-03-03 pragma: - no-cache server: @@ -5833,7 +5886,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/DeleteGalleryImageVersion3Min;149,Microsoft.Compute/DeleteGalleryImageVersion30Min;999 + - Microsoft.Compute/DeleteGalleryImageVersion3Min;149,Microsoft.Compute/DeleteGalleryImageVersion30Min;998 x-ms-ratelimit-remaining-subscription-deletes: - '14999' status: @@ -5853,13 +5906,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/6b5ca773-eb55-4d2f-969d-54d6aa2c4ff2?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/fb0d2bd4-bff7-4811-a3d8-876c801c2cf6?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T13:09:33.2265208+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"6b5ca773-eb55-4d2f-969d-54d6aa2c4ff2\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T09:16:53.8064637+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"fb0d2bd4-bff7-4811-a3d8-876c801c2cf6\"\r\n}" headers: cache-control: - no-cache @@ -5868,7 +5921,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:09:32 GMT + - Thu, 20 Jul 2023 09:16:53 GMT expires: - '-1' pragma: @@ -5885,7 +5938,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1196,Microsoft.Compute/GetOperationStatus30Min;4151 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4130 status: code: 200 message: OK @@ -5903,13 +5956,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/6b5ca773-eb55-4d2f-969d-54d6aa2c4ff2?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/fb0d2bd4-bff7-4811-a3d8-876c801c2cf6?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T13:09:33.2265208+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"6b5ca773-eb55-4d2f-969d-54d6aa2c4ff2\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T09:16:53.8064637+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"fb0d2bd4-bff7-4811-a3d8-876c801c2cf6\"\r\n}" headers: cache-control: - no-cache @@ -5918,7 +5971,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:10:33 GMT + - Thu, 20 Jul 2023 09:17:54 GMT expires: - '-1' pragma: @@ -5935,7 +5988,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1197,Microsoft.Compute/GetOperationStatus30Min;4154 + - Microsoft.Compute/GetOperationStatus3Min;1196,Microsoft.Compute/GetOperationStatus30Min;4129 status: code: 200 message: OK @@ -5953,14 +6006,14 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/6b5ca773-eb55-4d2f-969d-54d6aa2c4ff2?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/fb0d2bd4-bff7-4811-a3d8-876c801c2cf6?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T13:09:33.2265208+00:00\",\r\n \"endTime\": - \"2023-06-25T13:11:04.1482482+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"6b5ca773-eb55-4d2f-969d-54d6aa2c4ff2\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T09:16:53.8064637+00:00\",\r\n \"endTime\": + \"2023-07-20T09:18:24.7296993+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"fb0d2bd4-bff7-4811-a3d8-876c801c2cf6\"\r\n}" headers: cache-control: - no-cache @@ -5969,7 +6022,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:11:35 GMT + - Thu, 20 Jul 2023 09:18:55 GMT expires: - '-1' pragma: @@ -5986,7 +6039,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1196,Microsoft.Compute/GetOperationStatus30Min;4152 + - Microsoft.Compute/GetOperationStatus3Min;1196,Microsoft.Compute/GetOperationStatus30Min;4127 status: code: 200 message: OK @@ -5994,7 +6047,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -6006,7 +6059,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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_000003/images/image1/versions/1.1.3?api-version=2022-03-03 response: @@ -6014,17 +6067,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/ecf87a5a-e084-4853-b1f9-a80d41aef73c?api-version=2022-03-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/42d61594-f3b4-410a-87c8-68d0778aded3?api-version=2022-03-03 cache-control: - no-cache content-length: - '0' date: - - Sun, 25 Jun 2023 13:11:36 GMT + - Thu, 20 Jul 2023 09:18:58 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/ecf87a5a-e084-4853-b1f9-a80d41aef73c?monitor=true&api-version=2022-03-03 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/42d61594-f3b4-410a-87c8-68d0778aded3?monitor=true&api-version=2022-03-03 pragma: - no-cache server: @@ -6035,7 +6088,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/DeleteGalleryImageVersion3Min;148,Microsoft.Compute/DeleteGalleryImageVersion30Min;998 + - Microsoft.Compute/DeleteGalleryImageVersion3Min;148,Microsoft.Compute/DeleteGalleryImageVersion30Min;997 x-ms-ratelimit-remaining-subscription-deletes: - '14999' status: @@ -6055,13 +6108,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/ecf87a5a-e084-4853-b1f9-a80d41aef73c?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/42d61594-f3b4-410a-87c8-68d0778aded3?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T13:11:37.5075657+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"ecf87a5a-e084-4853-b1f9-a80d41aef73c\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T09:18:58.7159425+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"42d61594-f3b4-410a-87c8-68d0778aded3\"\r\n}" headers: cache-control: - no-cache @@ -6070,7 +6123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:11:37 GMT + - Thu, 20 Jul 2023 09:18:59 GMT expires: - '-1' pragma: @@ -6087,7 +6140,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;4125 status: code: 200 message: OK @@ -6105,13 +6158,13 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/ecf87a5a-e084-4853-b1f9-a80d41aef73c?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/42d61594-f3b4-410a-87c8-68d0778aded3?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T13:11:37.5075657+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"ecf87a5a-e084-4853-b1f9-a80d41aef73c\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T09:18:58.7159425+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"42d61594-f3b4-410a-87c8-68d0778aded3\"\r\n}" headers: cache-control: - no-cache @@ -6120,7 +6173,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:12:37 GMT + - Thu, 20 Jul 2023 09:19:58 GMT expires: - '-1' pragma: @@ -6137,7 +6190,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4149 + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4124 status: code: 200 message: OK @@ -6155,14 +6208,14 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition --gallery-image-version User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/ecf87a5a-e084-4853-b1f9-a80d41aef73c?api-version=2022-03-03 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/42d61594-f3b4-410a-87c8-68d0778aded3?api-version=2022-03-03 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T13:11:37.5075657+00:00\",\r\n \"endTime\": - \"2023-06-25T13:13:07.6480456+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"ecf87a5a-e084-4853-b1f9-a80d41aef73c\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T09:18:58.7159425+00:00\",\r\n \"endTime\": + \"2023-07-20T09:20:28.8602833+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"42d61594-f3b4-410a-87c8-68d0778aded3\"\r\n}" headers: cache-control: - no-cache @@ -6171,7 +6224,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:13:38 GMT + - Thu, 20 Jul 2023 09:21:00 GMT expires: - '-1' pragma: @@ -6188,7 +6241,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4147 + - Microsoft.Compute/GetOperationStatus3Min;1194,Microsoft.Compute/GetOperationStatus30Min;4139 status: code: 200 message: OK @@ -6208,7 +6261,7 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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_000003/images/image1?api-version=2021-10-01 response: @@ -6216,17 +6269,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/6e8b6286-924b-4eaf-8c59-98d15250b1c5?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/7e26be10-3aba-4801-abbc-a5dd028a1a7c?api-version=2021-10-01 cache-control: - no-cache content-length: - '0' date: - - Sun, 25 Jun 2023 13:14:41 GMT + - Thu, 20 Jul 2023 09:22:03 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/6e8b6286-924b-4eaf-8c59-98d15250b1c5?monitor=true&api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/7e26be10-3aba-4801-abbc-a5dd028a1a7c?monitor=true&api-version=2021-10-01 pragma: - no-cache server: @@ -6237,7 +6290,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/DeleteGalleryImage3Min;49,Microsoft.Compute/DeleteGalleryImage30Min;299 + - Microsoft.Compute/DeleteGalleryImage3Min;49,Microsoft.Compute/DeleteGalleryImage30Min;298 x-ms-ratelimit-remaining-subscription-deletes: - '14999' status: @@ -6257,14 +6310,14 @@ interactions: ParameterSetName: - -g --gallery-name --gallery-image-definition User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/6e8b6286-924b-4eaf-8c59-98d15250b1c5?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/7e26be10-3aba-4801-abbc-a5dd028a1a7c?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T13:14:41.6322609+00:00\",\r\n \"endTime\": - \"2023-06-25T13:14:41.8666367+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"6e8b6286-924b-4eaf-8c59-98d15250b1c5\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T09:22:03.0193351+00:00\",\r\n \"endTime\": + \"2023-07-20T09:22:03.2224632+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"7e26be10-3aba-4801-abbc-a5dd028a1a7c\"\r\n}" headers: cache-control: - no-cache @@ -6273,7 +6326,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:14:41 GMT + - Thu, 20 Jul 2023 09:22:03 GMT expires: - '-1' pragma: @@ -6290,7 +6343,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4145 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4137 status: code: 200 message: OK @@ -6310,7 +6363,7 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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_000003?api-version=2021-10-01 response: @@ -6318,17 +6371,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/d5555273-db83-4699-abb3-4f7648e5e306?api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/6a825e21-2e15-412a-aec2-233c1be19ef8?api-version=2021-10-01 cache-control: - no-cache content-length: - '0' date: - - Sun, 25 Jun 2023 13:15:13 GMT + - Thu, 20 Jul 2023 09:22:35 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/d5555273-db83-4699-abb3-4f7648e5e306?monitor=true&api-version=2021-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/6a825e21-2e15-412a-aec2-233c1be19ef8?monitor=true&api-version=2021-10-01 pragma: - no-cache server: @@ -6339,7 +6392,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/DeleteGallery3Min;49,Microsoft.Compute/DeleteGallery30Min;299 + - Microsoft.Compute/DeleteGallery3Min;49,Microsoft.Compute/DeleteGallery30Min;298 x-ms-ratelimit-remaining-subscription-deletes: - '14999' status: @@ -6359,23 +6412,23 @@ interactions: ParameterSetName: - -g --gallery-name User-Agent: - - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.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/d5555273-db83-4699-abb3-4f7648e5e306?api-version=2021-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2/capsOperations/6a825e21-2e15-412a-aec2-233c1be19ef8?api-version=2021-10-01 response: body: - string: "{\r\n \"startTime\": \"2023-06-25T13:15:14.1165859+00:00\",\r\n \"endTime\": - \"2023-06-25T13:15:14.2259599+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"d5555273-db83-4699-abb3-4f7648e5e306\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T09:22:36.4107303+00:00\",\r\n \"endTime\": + \"2023-07-20T09:22:36.520177+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"6a825e21-2e15-412a-aec2-233c1be19ef8\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '183' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 13:15:13 GMT + - Thu, 20 Jul 2023 09:22:36 GMT expires: - '-1' pragma: @@ -6392,7 +6445,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperationStatus3Min;1193,Microsoft.Compute/GetOperationStatus30Min;4152 + - Microsoft.Compute/GetOperationStatus3Min;1195,Microsoft.Compute/GetOperationStatus30Min;4135 status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_custom_image_management.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_custom_image_management.yaml index ff7e62ef9bf..5d3b2ec599a 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_custom_image_management.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_custom_image_management.yaml @@ -13,22 +13,23 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_custom_image_mgmt_000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001","name":"cli_test_vm_custom_image_mgmt_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2023-05-25T09:13:22Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001","name":"cli_test_vm_custom_image_mgmt_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_vm_custom_image_management","date":"2023-07-20T10:48:45Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache + connection: + - close content-length: - - '350' + - '405' content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:13:22 GMT + - Thu, 20 Jul 2023 10:48:40 GMT expires: - '-1' pragma: @@ -56,8 +57,7 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/OpenLogic/artifacttypes/vmimage/offers/CentOS/skus/7.5/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 response: @@ -73,7 +73,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:13:23 GMT + - Thu, 20 Jul 2023 10:48:41 GMT expires: - '-1' pragma: @@ -108,8 +108,7 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/OpenLogic/artifacttypes/vmimage/offers/CentOS/skus/7.5/versions/7.5.201808150?api-version=2022-11-01 response: @@ -130,7 +129,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:13:23 GMT + - Thu, 20 Jul 2023 10:48:43 GMT expires: - '-1' pragma: @@ -165,8 +164,7 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --nsg-rule User-Agent: - - AZURECLI/2.47.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/virtualNetworks?api-version=2022-01-01 response: @@ -180,7 +178,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:13:23 GMT + - Thu, 20 Jul 2023 10:48:44 GMT expires: - '-1' pragma: @@ -208,8 +206,7 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/OpenLogic/artifacttypes/vmimage/offers/CentOS/skus/7.5/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 response: @@ -225,7 +222,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:13:24 GMT + - Thu, 20 Jul 2023 10:48:46 GMT expires: - '-1' pragma: @@ -260,8 +257,7 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/OpenLogic/artifacttypes/vmimage/offers/CentOS/skus/7.5/versions/7.5.201808150?api-version=2022-11-01 response: @@ -282,7 +278,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:13:24 GMT + - Thu, 20 Jul 2023 10:48:47 GMT expires: - '-1' pragma: @@ -292,6 +288,10 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: @@ -313,8 +313,7 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/OpenLogic/artifacttypes/vmimage/offers/CentOS/skus/7.5/versions?$top=1&$orderby=name%20desc&api-version=2022-11-01 response: @@ -330,7 +329,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:13:24 GMT + - Thu, 20 Jul 2023 10:48:48 GMT expires: - '-1' pragma: @@ -365,8 +364,7 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/OpenLogic/artifacttypes/vmimage/offers/CentOS/skus/7.5/versions/7.5.201808150?api-version=2022-11-01 response: @@ -387,7 +385,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:13:25 GMT + - Thu, 20 Jul 2023 10:48:50 GMT expires: - '-1' pragma: @@ -452,24 +450,23 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Resources/deployments/vm_deploy_IALS0iBmzY3ocOwnqzFTvcWQrVn6fK3U","name":"vm_deploy_IALS0iBmzY3ocOwnqzFTvcWQrVn6fK3U","type":"Microsoft.Resources/deployments","properties":{"templateHash":"15183076336627207729","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-05-25T09:13:28.6992795Z","duration":"PT0.0009856S","correlationId":"3d97774d-501f-4bb4-8bee-ff61abbaeaa6","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Resources/deployments/vm_deploy_YAzC40CjjgyEHarIxvR0Sgnb3FzYetui","name":"vm_deploy_YAzC40CjjgyEHarIxvR0Sgnb3FzYetui","type":"Microsoft.Resources/deployments","properties":{"templateHash":"7295719444584016331","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2023-07-20T10:48:56.0979383Z","duration":"PT0.0005384S","correlationId":"e436b393-9226-4993-9add-7289c587eedc","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Resources/deployments/vm_deploy_IALS0iBmzY3ocOwnqzFTvcWQrVn6fK3U/operationStatuses/08585166008783276726?api-version=2022-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Resources/deployments/vm_deploy_YAzC40CjjgyEHarIxvR0Sgnb3FzYetui/operationStatuses/08585117567518185331?api-version=2022-09-01 cache-control: - no-cache content-length: - - '2509' + - '2508' content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:13:29 GMT + - Thu, 20 Jul 2023 10:48:56 GMT expires: - '-1' pragma: @@ -497,10 +494,93 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585117567518185331?api-version=2022-09-01 + response: + body: + string: '{"status":"Accepted"}' + headers: + cache-control: + - no-cache + content-length: + - '21' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:48:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --admin-username --image --admin-password --authentication-type --nsg-rule + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585117567518185331?api-version=2022-09-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:49:28 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 --admin-username --image --admin-password --authentication-type --nsg-rule + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585166008783276726?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585117567518185331?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -512,7 +592,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:13:59 GMT + - Thu, 20 Jul 2023 10:49:58 GMT expires: - '-1' pragma: @@ -540,10 +620,9 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585166008783276726?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585117567518185331?api-version=2022-09-01 response: body: string: '{"status":"Running"}' @@ -555,7 +634,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:14:29 GMT + - Thu, 20 Jul 2023 10:50:29 GMT expires: - '-1' pragma: @@ -583,10 +662,9 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585166008783276726?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585117567518185331?api-version=2022-09-01 response: body: string: '{"status":"Succeeded"}' @@ -598,7 +676,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:14:59 GMT + - Thu, 20 Jul 2023 10:50:59 GMT expires: - '-1' pragma: @@ -626,22 +704,21 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Resources/deployments/vm_deploy_IALS0iBmzY3ocOwnqzFTvcWQrVn6fK3U","name":"vm_deploy_IALS0iBmzY3ocOwnqzFTvcWQrVn6fK3U","type":"Microsoft.Resources/deployments","properties":{"templateHash":"15183076336627207729","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-05-25T09:14:47.5631303Z","duration":"PT1M18.8648364S","correlationId":"3d97774d-501f-4bb4-8bee-ff61abbaeaa6","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Resources/deployments/vm_deploy_YAzC40CjjgyEHarIxvR0Sgnb3FzYetui","name":"vm_deploy_YAzC40CjjgyEHarIxvR0Sgnb3FzYetui","type":"Microsoft.Resources/deployments","properties":{"templateHash":"7295719444584016331","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2023-07-20T10:50:37.5223643Z","duration":"PT1M41.4249644S","correlationId":"e436b393-9226-4993-9add-7289c587eedc","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}' headers: cache-control: - no-cache content-length: - - '3381' + - '3380' content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:14:59 GMT + - Thu, 20 Jul 2023 10:50:59 GMT expires: - '-1' pragma: @@ -669,24 +746,23 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --nsg-rule User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/virtualMachines/vm1?$expand=instanceView&api-version=2022-11-01 response: body: string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"b5d2f171-fa90-49df-8788-8f3eb0c55ae1\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"50d53392-4417-43c9-a894-5c5296af87c5\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"OpenLogic\",\r\n \"offer\": \"CentOS\",\r\n \"sku\": \"7.5\",\r\n \ \"version\": \"latest\",\r\n \"exactVersion\": \"7.5.201808150\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm1_OsDisk_1_3935eb2fca844c05905356a344211eb7\",\r\n \"createOption\": + \"vm1_OsDisk_1_6cdaf08fe363497c9e2b4b0ee9ae1a91\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_3935eb2fca844c05905356a344211eb7\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_6cdaf08fe363497c9e2b4b0ee9ae1a91\"\r\n \ },\r\n \"deleteOption\": \"Detach\",\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n \"adminUsername\": \"theuser\",\r\n @@ -699,22 +775,22 @@ interactions: {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"}]},\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": \"vm1\",\r\n \"osName\": \"centos\",\r\n \"osVersion\": \"7.5.1804\",\r\n - \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.9.0.4\",\r\n \"statuses\": + \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.9.1.1\",\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\": - \"2023-05-25T09:14:48+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_OsDisk_1_3935eb2fca844c05905356a344211eb7\",\r\n + \"2023-07-20T10:50:31+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_OsDisk_1_6cdaf08fe363497c9e2b4b0ee9ae1a91\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2023-05-25T09:13:41.1658565+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-20T10:49:20.6921193+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\": \"2023-05-25T09:14:46.0413731+00:00\"\r\n + succeeded\",\r\n \"time\": \"2023-07-20T10:50:33.1937945+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n - \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2023-05-25T09:13:37.8220798+00:00\"\r\n + \ }\r\n ]\r\n },\r\n \"timeCreated\": \"2023-07-20T10:49:18.0045533+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -724,7 +800,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:15:00 GMT + - Thu, 20 Jul 2023 10:51:01 GMT expires: - '-1' pragma: @@ -741,7 +817,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3993,Microsoft.Compute/LowCostGet30Min;31936 + - Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31996 status: code: 200 message: OK @@ -759,18 +835,17 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --nsg-rule User-Agent: - - AZURECLI/2.47.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic?api-version=2022-01-01 response: body: string: "{\r\n \"name\": \"vm1VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\",\r\n - \ \"etag\": \"W/\\\"ceb18f2a-87e8-43cd-84e0-4d86042f9f88\\\"\",\r\n \"tags\": + \ \"etag\": \"W/\\\"50d2fb68-2a50-40d0-8654-163b4b5bd6ca\\\"\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"65b5b3ca-765f-4076-8eb5-57bb410d0bf1\",\r\n \"ipConfigurations\": + \ \"resourceGuid\": \"f7cb5756-d954-4344-ab3d-a8e372412a68\",\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\",\r\n - \ \"etag\": \"W/\\\"ceb18f2a-87e8-43cd-84e0-4d86042f9f88\\\"\",\r\n + \ \"etag\": \"W/\\\"50d2fb68-2a50-40d0-8654-163b4b5bd6ca\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -779,8 +854,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\": - \"bbnl4oljdwzefmpv0bdeqwbeuc.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"60-45-BD-05-6F-7D\",\r\n \"vnetEncryptionSupported\": false,\r\n \"enableIPForwarding\": + \"gpopfze53kjunks03ndobkmsog.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-22-48-0B-09-81\",\r\n \"vnetEncryptionSupported\": false,\r\n \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n @@ -796,9 +871,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:15:00 GMT + - Thu, 20 Jul 2023 10:51:03 GMT etag: - - W/"ceb18f2a-87e8-43cd-84e0-4d86042f9f88" + - W/"50d2fb68-2a50-40d0-8654-163b4b5bd6ca" expires: - '-1' pragma: @@ -815,7 +890,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 691eb51a-45b0-4183-958c-c6de75fb85fa + - a1a76d11-df01-462e-9a49-ce9c0417d70e status: code: 200 message: OK @@ -833,18 +908,17 @@ interactions: ParameterSetName: - -g -n --admin-username --image --admin-password --authentication-type --nsg-rule User-Agent: - - AZURECLI/2.47.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP?api-version=2022-01-01 response: body: string: "{\r\n \"name\": \"vm1PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\",\r\n - \ \"etag\": \"W/\\\"abc7f84e-07c7-44df-b0e2-091d9cbc9d37\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"e9576d29-f412-4e65-8332-7461574d5312\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"02a1db7b-d902-4ccc-afce-c844b533deb5\",\r\n - \ \"ipAddress\": \"40.83.180.126\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n - \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + \"Succeeded\",\r\n \"resourceGuid\": \"8bf92d9b-20da-493f-b735-c1e570cf94f1\",\r\n + \ \"ipAddress\": \"137.135.27.228\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \ \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n @@ -853,13 +927,13 @@ interactions: cache-control: - no-cache content-length: - - '944' + - '945' content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:15:01 GMT + - Thu, 20 Jul 2023 10:51:05 GMT etag: - - W/"abc7f84e-07c7-44df-b0e2-091d9cbc9d37" + - W/"e9576d29-f412-4e65-8332-7461574d5312" expires: - '-1' pragma: @@ -876,7 +950,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7b377b24-6abe-444d-ae27-a298dd30b70d + - 4f5c8788-4742-4a0f-b5a0-ab819a6ef7bd status: code: 200 message: OK @@ -896,8 +970,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/virtualMachines/vm1/deallocate?api-version=2022-11-01 response: @@ -907,17 +980,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/37804c62-8166-4076-8559-d08c45c4dc87?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/30bd3e62-7dd9-4547-b289-ada667958442?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 25 May 2023 09:15:02 GMT + - Thu, 20 Jul 2023 10:51:07 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/37804c62-8166-4076-8559-d08c45c4dc87?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2022-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/30bd3e62-7dd9-4547-b289-ada667958442?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2022-11-01 pragma: - no-cache server: @@ -928,7 +1001,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/DeleteVM3Min;234,Microsoft.Compute/DeleteVM30Min;1187 + - Microsoft.Compute/DeleteVM3Min;239,Microsoft.Compute/DeleteVM30Min;1199 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -948,14 +1021,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/37804c62-8166-4076-8559-d08c45c4dc87?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/30bd3e62-7dd9-4547-b289-ada667958442?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 response: body: - string: "{\r\n \"startTime\": \"2023-05-25T09:15:02.7915331+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"37804c62-8166-4076-8559-d08c45c4dc87\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T10:51:07.4600766+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"30bd3e62-7dd9-4547-b289-ada667958442\"\r\n}" headers: cache-control: - no-cache @@ -964,7 +1036,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:15:12 GMT + - Thu, 20 Jul 2023 10:51:07 GMT expires: - '-1' pragma: @@ -981,7 +1053,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14980,Microsoft.Compute/GetOperation30Min;29921 + - Microsoft.Compute/GetOperation3Min;14998,Microsoft.Compute/GetOperation30Min;29998 status: code: 200 message: OK @@ -999,15 +1071,14 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/37804c62-8166-4076-8559-d08c45c4dc87?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/30bd3e62-7dd9-4547-b289-ada667958442?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 response: body: - string: "{\r\n \"startTime\": \"2023-05-25T09:15:02.7915331+00:00\",\r\n \"endTime\": - \"2023-05-25T09:15:26.4792668+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"37804c62-8166-4076-8559-d08c45c4dc87\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T10:51:07.4600766+00:00\",\r\n \"endTime\": + \"2023-07-20T10:51:32.1636372+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"30bd3e62-7dd9-4547-b289-ada667958442\"\r\n}" headers: cache-control: - no-cache @@ -1016,7 +1087,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:15:42 GMT + - Thu, 20 Jul 2023 10:51:38 GMT expires: - '-1' pragma: @@ -1033,7 +1104,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14977,Microsoft.Compute/GetOperation30Min;29918 + - Microsoft.Compute/GetOperation3Min;14995,Microsoft.Compute/GetOperation30Min;29995 status: code: 200 message: OK @@ -1051,10 +1122,9 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/37804c62-8166-4076-8559-d08c45c4dc87?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/30bd3e62-7dd9-4547-b289-ada667958442?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2022-11-01 response: body: string: '' @@ -1064,7 +1134,7 @@ interactions: content-length: - '0' date: - - Thu, 25 May 2023 09:15:42 GMT + - Thu, 20 Jul 2023 10:51:39 GMT expires: - '-1' pragma: @@ -1077,7 +1147,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14976,Microsoft.Compute/GetOperation30Min;29917 + - Microsoft.Compute/GetOperation3Min;14994,Microsoft.Compute/GetOperation30Min;29994 status: code: 200 message: OK @@ -1097,8 +1167,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/virtualMachines/vm1/generalize?api-version=2022-11-01 response: @@ -1110,7 +1179,7 @@ interactions: content-length: - '0' date: - - Thu, 25 May 2023 09:15:42 GMT + - Thu, 20 Jul 2023 10:51:39 GMT expires: - '-1' pragma: @@ -1123,7 +1192,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/UpdateVM3Min;239,Microsoft.Compute/UpdateVM30Min;1195 + - Microsoft.Compute/UpdateVM3Min;239,Microsoft.Compute/UpdateVM30Min;1199 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -1143,23 +1212,22 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/virtualMachines/vm1?api-version=2022-11-01 response: body: string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"b5d2f171-fa90-49df-8788-8f3eb0c55ae1\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"50d53392-4417-43c9-a894-5c5296af87c5\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"OpenLogic\",\r\n \"offer\": \"CentOS\",\r\n \"sku\": \"7.5\",\r\n \ \"version\": \"latest\",\r\n \"exactVersion\": \"7.5.201808150\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm1_OsDisk_1_3935eb2fca844c05905356a344211eb7\",\r\n \"createOption\": + \"vm1_OsDisk_1_6cdaf08fe363497c9e2b4b0ee9ae1a91\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_3935eb2fca844c05905356a344211eb7\"\r\n + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_6cdaf08fe363497c9e2b4b0ee9ae1a91\"\r\n \ },\r\n \"deleteOption\": \"Detach\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n \ \"adminUsername\": \"theuser\",\r\n \"linuxConfiguration\": {\r\n @@ -1169,7 +1237,7 @@ interactions: false\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"}]},\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2023-05-25T09:13:37.8220798+00:00\"\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2023-07-20T10:49:18.0045533+00:00\"\r\n \ }\r\n}" headers: cache-control: @@ -1179,7 +1247,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:15:43 GMT + - Thu, 20 Jul 2023 10:51:41 GMT expires: - '-1' pragma: @@ -1196,7 +1264,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3983,Microsoft.Compute/LowCostGet30Min;31929 + - Microsoft.Compute/LowCostGet3Min;3994,Microsoft.Compute/LowCostGet30Min;31994 status: code: 200 message: OK @@ -1214,28 +1282,29 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_custom_image_mgmt_000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001","name":"cli_test_vm_custom_image_mgmt_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2023-05-25T09:13:22Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001","name":"cli_test_vm_custom_image_mgmt_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_vm_custom_image_management","date":"2023-07-20T10:48:45Z","module":"vm"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '350' + - '405' content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:15:43 GMT + - Thu, 20 Jul 2023 10:51:43 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding x-content-type-options: - nosniff status: @@ -1261,8 +1330,7 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/images/myImage1?api-version=2022-11-01 response: @@ -1273,7 +1341,7 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/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/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_3935eb2fca844c05905356a344211eb7\"\r\n + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_6cdaf08fe363497c9e2b4b0ee9ae1a91\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"hyperVGeneration\": \"V1\"\r\n }\r\n}" @@ -1281,7 +1349,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/4d86f2af-b4c0-4997-a859-0a2d348f0484?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7a17390f-9c3c-4cb0-94f3-aaf5722b34f7?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 cache-control: - no-cache content-length: @@ -1289,7 +1357,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:15:45 GMT + - Thu, 20 Jul 2023 10:51:47 GMT expires: - '-1' pragma: @@ -1302,7 +1370,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateImages3Min;39,Microsoft.Compute/CreateImages30Min;197 + - Microsoft.Compute/CreateImages3Min;39,Microsoft.Compute/CreateImages30Min;199 x-ms-ratelimit-remaining-subscription-writes: - '1198' status: @@ -1322,24 +1390,73 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/4d86f2af-b4c0-4997-a859-0a2d348f0484?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7a17390f-9c3c-4cb0-94f3-aaf5722b34f7?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 response: body: - string: "{\r\n \"startTime\": \"2023-05-25T09:15:45.4481621+00:00\",\r\n \"endTime\": - \"2023-05-25T09:15:50.5262717+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"4d86f2af-b4c0-4997-a859-0a2d348f0484\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T10:51:47.5076691+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"7a17390f-9c3c-4cb0-94f3-aaf5722b34f7\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:51:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29993 + 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.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7a17390f-9c3c-4cb0-94f3-aaf5722b34f7?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-20T10:51:47.5076691+00:00\",\r\n \"endTime\": + \"2023-07-20T10:51:52.632753+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"7a17390f-9c3c-4cb0-94f3-aaf5722b34f7\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '183' content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:16:15 GMT + - Thu, 20 Jul 2023 10:52:19 GMT expires: - '-1' pragma: @@ -1356,7 +1473,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14975,Microsoft.Compute/GetOperation30Min;29915 + - Microsoft.Compute/GetOperation3Min;14992,Microsoft.Compute/GetOperation30Min;29992 status: code: 200 message: OK @@ -1374,8 +1491,7 @@ interactions: ParameterSetName: - -g -n --source User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/images/myImage1?api-version=2022-11-01 response: @@ -1386,7 +1502,7 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/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/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_3935eb2fca844c05905356a344211eb7\"\r\n + 30,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_6cdaf08fe363497c9e2b4b0ee9ae1a91\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"hyperVGeneration\": \"V1\"\r\n }\r\n}" @@ -1398,7 +1514,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:16:16 GMT + - Thu, 20 Jul 2023 10:52:19 GMT expires: - '-1' pragma: @@ -1415,7 +1531,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetImages3Min;358,Microsoft.Compute/GetImages30Min;1771 + - Microsoft.Compute/GetImages3Min;358,Microsoft.Compute/GetImages30Min;1798 status: code: 200 message: OK @@ -1433,8 +1549,7 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/images?api-version=2022-11-01 response: @@ -1447,7 +1562,7 @@ interactions: \ },\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/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_3935eb2fca844c05905356a344211eb7\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_6cdaf08fe363497c9e2b4b0ee9ae1a91\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"hyperVGeneration\": @@ -1460,7 +1575,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:16:16 GMT + - Thu, 20 Jul 2023 10:52:21 GMT expires: - '-1' pragma: @@ -1481,6 +1596,64 @@ interactions: status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - image show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/images/myImage1?api-version=2022-11-01 + response: + body: + string: "{\r\n \"name\": \"myImage1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/images/myImage1\",\r\n + \ \"type\": \"Microsoft.Compute/images\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"sourceVirtualMachine\": {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/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/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_6cdaf08fe363497c9e2b4b0ee9ae1a91\"\r\n + \ },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": + \"Premium_LRS\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"provisioningState\": + \"Succeeded\",\r\n \"hyperVGeneration\": \"V1\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1059' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:52:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetImages3Min;357,Microsoft.Compute/GetImages30Min;1797 + status: + code: 200 + message: OK - request: body: null headers: @@ -1495,8 +1668,7 @@ interactions: ParameterSetName: - -n -g --tags User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/images/myImage1?api-version=2022-11-01 response: @@ -1507,7 +1679,7 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/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/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_3935eb2fca844c05905356a344211eb7\"\r\n + 30,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_6cdaf08fe363497c9e2b4b0ee9ae1a91\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"hyperVGeneration\": \"V1\"\r\n }\r\n}" @@ -1519,7 +1691,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:16:16 GMT + - Thu, 20 Jul 2023 10:52:26 GMT expires: - '-1' pragma: @@ -1536,14 +1708,14 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetImages3Min;357,Microsoft.Compute/GetImages30Min;1770 + - Microsoft.Compute/GetImages3Min;356,Microsoft.Compute/GetImages30Min;1796 status: code: 200 message: OK - request: body: '{"location": "westus", "tags": {"foo": "bar"}, "properties": {"sourceVirtualMachine": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/virtualMachines/vm1"}, - "storageProfile": {"osDisk": {"managedDisk": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_3935eb2fca844c05905356a344211eb7"}, + "storageProfile": {"osDisk": {"managedDisk": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_6cdaf08fe363497c9e2b4b0ee9ae1a91"}, "caching": "ReadWrite", "diskSizeGB": 30, "storageAccountType": "Premium_LRS", "osType": "Linux", "osState": "Generalized"}, "dataDisks": []}, "hyperVGeneration": "V1"}}' @@ -1563,8 +1735,7 @@ interactions: ParameterSetName: - -n -g --tags User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/images/myImage1?api-version=2022-11-01 response: @@ -1575,7 +1746,7 @@ interactions: {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/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/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_3935eb2fca844c05905356a344211eb7\"\r\n + 30,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_6cdaf08fe363497c9e2b4b0ee9ae1a91\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"provisioningState\": \"Updating\",\r\n \"hyperVGeneration\": \"V1\"\r\n }\r\n}" @@ -1583,7 +1754,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/86f59390-90d4-4cdb-8589-8e16ffcf9dca?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/f20ae118-6684-4476-b44f-251f78ebb178?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 cache-control: - no-cache content-length: @@ -1591,7 +1762,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:16:17 GMT + - Thu, 20 Jul 2023 10:52:29 GMT expires: - '-1' pragma: @@ -1608,9 +1779,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateImages3Min;38,Microsoft.Compute/CreateImages30Min;196 + - Microsoft.Compute/CreateImages3Min;38,Microsoft.Compute/CreateImages30Min;198 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 200 message: OK @@ -1628,15 +1799,64 @@ interactions: ParameterSetName: - -n -g --tags User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/86f59390-90d4-4cdb-8589-8e16ffcf9dca?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/f20ae118-6684-4476-b44f-251f78ebb178?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 response: body: - string: "{\r\n \"startTime\": \"2023-05-25T09:16:17.3389835+00:00\",\r\n \"endTime\": - \"2023-05-25T09:16:22.4327607+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"86f59390-90d4-4cdb-8589-8e16ffcf9dca\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T10:52:28.5865131+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"f20ae118-6684-4476-b44f-251f78ebb178\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:52: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/GetOperation3Min;14991,Microsoft.Compute/GetOperation30Min;29991 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - image update + Connection: + - keep-alive + ParameterSetName: + - -n -g --tags + User-Agent: + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/f20ae118-6684-4476-b44f-251f78ebb178?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-20T10:52:28.5865131+00:00\",\r\n \"endTime\": + \"2023-07-20T10:52:33.6647361+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"f20ae118-6684-4476-b44f-251f78ebb178\"\r\n}" headers: cache-control: - no-cache @@ -1645,7 +1865,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:16:47 GMT + - Thu, 20 Jul 2023 10:53:02 GMT expires: - '-1' pragma: @@ -1662,7 +1882,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14975,Microsoft.Compute/GetOperation30Min;29914 + - Microsoft.Compute/GetOperation3Min;14990,Microsoft.Compute/GetOperation30Min;29990 status: code: 200 message: OK @@ -1680,8 +1900,7 @@ interactions: ParameterSetName: - -n -g --tags User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/images/myImage1?api-version=2022-11-01 response: @@ -1692,7 +1911,7 @@ interactions: {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/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/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_3935eb2fca844c05905356a344211eb7\"\r\n + 30,\r\n \"managedDisk\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/disks/vm1_OsDisk_1_6cdaf08fe363497c9e2b4b0ee9ae1a91\"\r\n \ },\r\n \"caching\": \"ReadWrite\",\r\n \"storageAccountType\": \"Premium_LRS\"\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"hyperVGeneration\": \"V1\"\r\n }\r\n}" @@ -1704,7 +1923,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:16:47 GMT + - Thu, 20 Jul 2023 10:53:02 GMT expires: - '-1' pragma: @@ -1721,7 +1940,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetImages3Min;355,Microsoft.Compute/GetImages30Min;1768 + - Microsoft.Compute/GetImages3Min;354,Microsoft.Compute/GetImages30Min;1794 status: code: 200 message: OK @@ -1729,7 +1948,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1741,8 +1960,7 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/images/myImage1?api-version=2022-11-01 response: @@ -1752,17 +1970,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/9a9618bb-5374-4744-bed8-542230017b76?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7f525c3c-c102-4bff-b51a-e5e478557bde?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 25 May 2023 09:16:49 GMT + - Thu, 20 Jul 2023 10:53:04 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/9a9618bb-5374-4744-bed8-542230017b76?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2022-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7f525c3c-c102-4bff-b51a-e5e478557bde?p=571046f6-b640-41c1-86f7-f9f044b5adf9&monitor=true&api-version=2022-11-01 pragma: - no-cache server: @@ -1773,7 +1991,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/DeleteImages3Min;113,Microsoft.Compute/DeleteImages30Min;587 + - Microsoft.Compute/DeleteImages3Min;119,Microsoft.Compute/DeleteImages30Min;599 x-ms-ratelimit-remaining-subscription-deletes: - '14999' status: @@ -1793,15 +2011,64 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7f525c3c-c102-4bff-b51a-e5e478557bde?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 + response: + body: + string: "{\r\n \"startTime\": \"2023-07-20T10:53:05.2590638+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"7f525c3c-c102-4bff-b51a-e5e478557bde\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 20 Jul 2023 10:53: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/GetOperation3Min;14989,Microsoft.Compute/GetOperation30Min;29989 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - image delete + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/9a9618bb-5374-4744-bed8-542230017b76?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7f525c3c-c102-4bff-b51a-e5e478557bde?p=571046f6-b640-41c1-86f7-f9f044b5adf9&api-version=2022-11-01 response: body: - string: "{\r\n \"startTime\": \"2023-05-25T09:16:49.1829404+00:00\",\r\n \"endTime\": - \"2023-05-25T09:16:54.2923686+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"9a9618bb-5374-4744-bed8-542230017b76\"\r\n}" + string: "{\r\n \"startTime\": \"2023-07-20T10:53:05.2590638+00:00\",\r\n \"endTime\": + \"2023-07-20T10:53:10.3685215+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"7f525c3c-c102-4bff-b51a-e5e478557bde\"\r\n}" headers: cache-control: - no-cache @@ -1810,7 +2077,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:17:19 GMT + - Thu, 20 Jul 2023 10:53:35 GMT expires: - '-1' pragma: @@ -1827,7 +2094,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14972,Microsoft.Compute/GetOperation30Min;29911 + - Microsoft.Compute/GetOperation3Min;14989,Microsoft.Compute/GetOperation30Min;29988 status: code: 200 message: OK @@ -1845,8 +2112,7 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.47.0 azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.11 (Linux-5.15.0-1036-azure-x86_64-with-glibc2.31) - VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 + - AZURECLI/2.50.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_custom_image_mgmt_000001/providers/Microsoft.Compute/images?api-version=2022-11-01 response: @@ -1860,7 +2126,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 25 May 2023 09:17:19 GMT + - Thu, 20 Jul 2023 10:53:37 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py index e605f29a808..19b45354959 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 @@ -648,6 +648,10 @@ def test_vm_custom_image_management(self, resource_group): self.cmd('image create -g {rg} -n {image1} --source {vm1}') self.cmd('image list -g {rg}', checks=self.check('length(@)', 1)) + self.cmd('image show -g {rg} -n {image1}', + checks=[ + self.check('name', '{image1}'), + ]) self.cmd('image update -n {image1} -g {rg} --tags foo=bar', checks=self.check('tags.foo', 'bar')) self.cmd('image delete -n {image1} -g {rg}') self.cmd('image list -g {rg}', checks=self.check('length(@)', 0))