From 2e8a000356b886ebdf5485236e94076b43ef42e6 Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Thu, 2 Oct 2025 11:31:35 -0700 Subject: [PATCH 01/37] add files --- .../identity/aaz/latest/identity/_create.py | 309 ++++++++++++ .../identity/aaz/latest/identity/_delete.py | 136 ++++++ .../identity/aaz/latest/identity/_show.py | 230 +++++++++ .../identity/aaz/latest/identity/_update.py | 453 ++++++++++++++++++ 4 files changed, 1128 insertions(+) create mode 100644 src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py create mode 100644 src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_delete.py create mode 100644 src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_show.py create mode 100644 src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py new file mode 100644 index 00000000000..9557d55b760 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.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( + "identity create", +) +class Create(AAZCommand): + """Create an identity in the specified subscription and resource group. + """ + + _aaz_info = { + "version": "2025-05-31-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managedidentity/userassignedidentities/{}", "2025-05-31-preview"], + ] + } + + 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.resource_group = AAZResourceGroupNameArg( + required=True, + ) + _args_schema.resource_name = AAZStrArg( + options=["-n", "--name", "--resource-name"], + help="The name of the identity resource.", + required=True, + ) + + # define Arg Group "Parameters" + + _args_schema = cls._args_schema + _args_schema.location = AAZResourceLocationArg( + arg_group="Parameters", + help="The geo-location where the resource lives", + required=True, + fmt=AAZResourceLocationArgFormat( + resource_group_arg="resource_group", + ), + ) + _args_schema.tags = AAZDictArg( + options=["--tags"], + arg_group="Parameters", + help="Resource tags.", + ) + + tags = cls._args_schema.tags + tags.Element = AAZStrArg() + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.assignment_restrictions = AAZObjectArg( + options=["--assignment-restrictions"], + arg_group="Properties", + help="Restrictions on which resource providers this identity can be assigned to.", + ) + _args_schema.isolation_scope = AAZStrArg( + options=["--isolation-scope"], + arg_group="Properties", + help="Enum to configure regional restrictions on identity assignment, as necessary.", + enum={"None": "None", "Regional": "Regional"}, + ) + + assignment_restrictions = cls._args_schema.assignment_restrictions + assignment_restrictions.providers = AAZListArg( + options=["providers"], + help="List of resource provider types that this identity can be assigned to (case-insensitive). Examples: 'Microsoft.Compute', 'Microsoft.Storage/Accounts', 'Microsoft.Network/VirtualNetworks'.", + fmt=AAZListArgFormat( + unique=True, + ), + ) + + providers = cls._args_schema.assignment_restrictions.providers + providers.Element = AAZStrArg() + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.UserAssignedIdentitiesCreateOrUpdate(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 UserAssignedIdentitiesCreateOrUpdate(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, 201]: + return self.on_200_201(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @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( + "resourceName", self.ctx.args.resource_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", "2025-05-31-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("location", AAZStrType, ".location", typ_kwargs={"flags": {"required": True}}) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("tags", AAZDictType, ".tags") + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("assignmentRestrictions", AAZObjectType, ".assignment_restrictions") + properties.set_prop("isolationScope", AAZStrType, ".isolation_scope") + + assignment_restrictions = _builder.get(".properties.assignmentRestrictions") + if assignment_restrictions is not None: + assignment_restrictions.set_prop("providers", AAZListType, ".providers") + + providers = _builder.get(".properties.assignmentRestrictions.providers") + if providers is not None: + providers.set_elements(AAZStrType, ".") + + tags = _builder.get(".tags") + if tags is not None: + tags.set_elements(AAZStrType, ".") + + return self.serialize_content(_content_value) + + def on_200_201(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200_201 + ) + + _schema_on_200_201 = None + + @classmethod + def _build_schema_on_200_201(cls): + if cls._schema_on_200_201 is not None: + return cls._schema_on_200_201 + + cls._schema_on_200_201 = AAZObjectType() + + _schema_on_200_201 = cls._schema_on_200_201 + _schema_on_200_201.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200_201.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200_201.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200_201.tags = AAZDictType() + _schema_on_200_201.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200_201.properties + properties.assignment_restrictions = AAZObjectType( + serialized_name="assignmentRestrictions", + ) + properties.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + properties.isolation_scope = AAZStrType( + serialized_name="isolationScope", + ) + properties.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + properties.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + + assignment_restrictions = cls._schema_on_200_201.properties.assignment_restrictions + assignment_restrictions.providers = AAZListType() + + providers = cls._schema_on_200_201.properties.assignment_restrictions.providers + providers.Element = AAZStrType() + + system_data = cls._schema_on_200_201.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200_201.tags + tags.Element = AAZStrType() + + return cls._schema_on_200_201 + + +class _CreateHelper: + """Helper class for Create""" + + +__all__ = ["Create"] diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_delete.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_delete.py new file mode 100644 index 00000000000..5458411687e --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_delete.py @@ -0,0 +1,136 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "identity delete", + confirmation="Are you sure you want to perform this operation?", +) +class Delete(AAZCommand): + """Delete the identity. + """ + + _aaz_info = { + "version": "2025-05-31-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managedidentity/userassignedidentities/{}", "2025-05-31-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return 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.resource_group = AAZResourceGroupNameArg( + required=True, + ) + _args_schema.resource_name = AAZStrArg( + options=["-n", "--name", "--resource-name"], + help="The name of the identity resource.", + required=True, + id_part="name", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.UserAssignedIdentitiesDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class UserAssignedIdentitiesDelete(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) + if session.http_response.status_code in [204]: + return self.on_204(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}", + **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( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "resourceName", self.ctx.args.resource_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", "2025-05-31-preview", + 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/identity/aaz/latest/identity/_show.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_show.py new file mode 100644 index 00000000000..bcdfa2d9cd9 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_show.py @@ -0,0 +1,230 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "identity show", +) +class Show(AAZCommand): + """Get the identity. + """ + + _aaz_info = { + "version": "2025-05-31-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managedidentity/userassignedidentities/{}", "2025-05-31-preview"], + ] + } + + 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.resource_group = AAZResourceGroupNameArg( + required=True, + ) + _args_schema.resource_name = AAZStrArg( + options=["-n", "--name", "--resource-name"], + help="The name of the identity resource.", + required=True, + id_part="name", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.UserAssignedIdentitiesGet(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 UserAssignedIdentitiesGet(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.ManagedIdentity/userAssignedIdentities/{resourceName}", + **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( + "resourceName", self.ctx.args.resource_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", "2025-05-31-preview", + 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.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.assignment_restrictions = AAZObjectType( + serialized_name="assignmentRestrictions", + ) + properties.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + properties.isolation_scope = AAZStrType( + serialized_name="isolationScope", + ) + properties.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + properties.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + + assignment_restrictions = cls._schema_on_200.properties.assignment_restrictions + assignment_restrictions.providers = AAZListType() + + providers = cls._schema_on_200.properties.assignment_restrictions.providers + providers.Element = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + +__all__ = ["Show"] diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py new file mode 100644 index 00000000000..bb041773818 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py @@ -0,0 +1,453 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "identity update", +) +class Update(AAZCommand): + """Update an identity in the specified subscription and resource group. + """ + + _aaz_info = { + "version": "2025-05-31-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managedidentity/userassignedidentities/{}", "2025-05-31-preview"], + ] + } + + AZ_SUPPORT_GENERIC_UPDATE = True + + 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.resource_group = AAZResourceGroupNameArg( + required=True, + ) + _args_schema.resource_name = AAZStrArg( + options=["-n", "--name", "--resource-name"], + help="The name of the identity resource.", + required=True, + id_part="name", + ) + + # define Arg Group "Parameters" + + _args_schema = cls._args_schema + _args_schema.tags = AAZDictArg( + options=["--tags"], + arg_group="Parameters", + help="Resource tags.", + nullable=True, + ) + + tags = cls._args_schema.tags + tags.Element = AAZStrArg( + nullable=True, + ) + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.assignment_restrictions = AAZObjectArg( + options=["--assignment-restrictions"], + arg_group="Properties", + help="Restrictions on which resource providers this identity can be assigned to.", + nullable=True, + ) + _args_schema.isolation_scope = AAZStrArg( + options=["--isolation-scope"], + arg_group="Properties", + help="Enum to configure regional restrictions on identity assignment, as necessary.", + nullable=True, + enum={"None": "None", "Regional": "Regional"}, + ) + + assignment_restrictions = cls._args_schema.assignment_restrictions + assignment_restrictions.providers = AAZListArg( + options=["providers"], + help="List of resource provider types that this identity can be assigned to (case-insensitive). Examples: 'Microsoft.Compute', 'Microsoft.Storage/Accounts', 'Microsoft.Network/VirtualNetworks'.", + nullable=True, + fmt=AAZListArgFormat( + unique=True, + ), + ) + + providers = cls._args_schema.assignment_restrictions.providers + providers.Element = AAZStrArg( + nullable=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.UserAssignedIdentitiesGet(ctx=self.ctx)() + self.pre_instance_update(self.ctx.vars.instance) + self.InstanceUpdateByJson(ctx=self.ctx)() + self.InstanceUpdateByGeneric(ctx=self.ctx)() + self.post_instance_update(self.ctx.vars.instance) + self.UserAssignedIdentitiesCreateOrUpdate(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + @register_callback + def pre_instance_update(self, instance): + pass + + @register_callback + def post_instance_update(self, instance): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class UserAssignedIdentitiesGet(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.ManagedIdentity/userAssignedIdentities/{resourceName}", + **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( + "resourceName", self.ctx.args.resource_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", "2025-05-31-preview", + 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() + _UpdateHelper._build_schema_identity_read(cls._schema_on_200) + + return cls._schema_on_200 + + class UserAssignedIdentitiesCreateOrUpdate(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, 201]: + return self.on_200_201(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @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( + "resourceName", self.ctx.args.resource_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", "2025-05-31-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + value=self.ctx.vars.instance, + ) + + return self.serialize_content(_content_value) + + def on_200_201(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200_201 + ) + + _schema_on_200_201 = None + + @classmethod + def _build_schema_on_200_201(cls): + if cls._schema_on_200_201 is not None: + return cls._schema_on_200_201 + + cls._schema_on_200_201 = AAZObjectType() + _UpdateHelper._build_schema_identity_read(cls._schema_on_200_201) + + return cls._schema_on_200_201 + + class InstanceUpdateByJson(AAZJsonInstanceUpdateOperation): + + def __call__(self, *args, **kwargs): + self._update_instance(self.ctx.vars.instance) + + def _update_instance(self, instance): + _instance_value, _builder = self.new_content_builder( + self.ctx.args, + value=instance, + typ=AAZObjectType + ) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("tags", AAZDictType, ".tags") + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("assignmentRestrictions", AAZObjectType, ".assignment_restrictions") + properties.set_prop("isolationScope", AAZStrType, ".isolation_scope") + + assignment_restrictions = _builder.get(".properties.assignmentRestrictions") + if assignment_restrictions is not None: + assignment_restrictions.set_prop("providers", AAZListType, ".providers") + + providers = _builder.get(".properties.assignmentRestrictions.providers") + if providers is not None: + providers.set_elements(AAZStrType, ".") + + tags = _builder.get(".tags") + if tags is not None: + tags.set_elements(AAZStrType, ".") + + return _instance_value + + class InstanceUpdateByGeneric(AAZGenericInstanceUpdateOperation): + + def __call__(self, *args, **kwargs): + self._update_instance_by_generic( + self.ctx.vars.instance, + self.ctx.generic_update_args + ) + + +class _UpdateHelper: + """Helper class for Update""" + + _schema_identity_read = None + + @classmethod + def _build_schema_identity_read(cls, _schema): + if cls._schema_identity_read is not None: + _schema.id = cls._schema_identity_read.id + _schema.location = cls._schema_identity_read.location + _schema.name = cls._schema_identity_read.name + _schema.properties = cls._schema_identity_read.properties + _schema.system_data = cls._schema_identity_read.system_data + _schema.tags = cls._schema_identity_read.tags + _schema.type = cls._schema_identity_read.type + return + + cls._schema_identity_read = _schema_identity_read = AAZObjectType() + + identity_read = _schema_identity_read + identity_read.id = AAZStrType( + flags={"read_only": True}, + ) + identity_read.location = AAZStrType( + flags={"required": True}, + ) + identity_read.name = AAZStrType( + flags={"read_only": True}, + ) + identity_read.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + identity_read.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + identity_read.tags = AAZDictType() + identity_read.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = _schema_identity_read.properties + properties.assignment_restrictions = AAZObjectType( + serialized_name="assignmentRestrictions", + ) + properties.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + properties.isolation_scope = AAZStrType( + serialized_name="isolationScope", + ) + properties.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + properties.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + + assignment_restrictions = _schema_identity_read.properties.assignment_restrictions + assignment_restrictions.providers = AAZListType() + + providers = _schema_identity_read.properties.assignment_restrictions.providers + providers.Element = AAZStrType() + + system_data = _schema_identity_read.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = _schema_identity_read.tags + tags.Element = AAZStrType() + + _schema.id = cls._schema_identity_read.id + _schema.location = cls._schema_identity_read.location + _schema.name = cls._schema_identity_read.name + _schema.properties = cls._schema_identity_read.properties + _schema.system_data = cls._schema_identity_read.system_data + _schema.tags = cls._schema_identity_read.tags + _schema.type = cls._schema_identity_read.type + + +__all__ = ["Update"] From 26a521ea4aa2d754b17ea13a65f888db1a92b30d Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Thu, 2 Oct 2025 15:20:41 -0700 Subject: [PATCH 02/37] add files --- .../identity/aaz/latest/identity/__cmd_group.py | 2 +- .../command_modules/identity/aaz/latest/identity/__init__.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__cmd_group.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__cmd_group.py index c64b4d3056b..4288cd3bded 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__cmd_group.py +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__cmd_group.py @@ -15,7 +15,7 @@ "identity", ) class __CMDGroup(AAZCommandGroup): - """Manage Managed Identity + """Manage Identity """ pass diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__init__.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__init__.py index 5a9d61963d6..a3db3e36481 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__init__.py +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__init__.py @@ -9,3 +9,7 @@ # flake8: noqa from .__cmd_group import * +from ._create import * +from ._delete import * +from ._show import * +from ._update import * From 1492ad5eb58fea7ab4c9ce5a19bc54dd970f0941 Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Thu, 2 Oct 2025 16:06:35 -0700 Subject: [PATCH 03/37] make required true --- .../identity/aaz/latest/identity/_create.py | 6 ++++-- .../command_modules/identity/aaz/latest/identity/_show.py | 2 ++ .../identity/aaz/latest/identity/_update.py | 8 ++++---- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py index 9557d55b760..055828fdac5 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py @@ -194,8 +194,8 @@ def content(self): properties = _builder.get(".properties") if properties is not None: - properties.set_prop("assignmentRestrictions", AAZObjectType, ".assignment_restrictions") - properties.set_prop("isolationScope", AAZStrType, ".isolation_scope") + properties.set_prop("assignmentRestrictions", AAZObjectType, ".assignment_restrictions", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("isolationScope", AAZStrType, ".isolation_scope", typ_kwargs={"flags": {"required": True}}) assignment_restrictions = _builder.get(".properties.assignmentRestrictions") if assignment_restrictions is not None: @@ -253,6 +253,7 @@ def _build_schema_on_200_201(cls): properties = cls._schema_on_200_201.properties properties.assignment_restrictions = AAZObjectType( serialized_name="assignmentRestrictions", + flags={"required": True}, ) properties.client_id = AAZStrType( serialized_name="clientId", @@ -260,6 +261,7 @@ def _build_schema_on_200_201(cls): ) properties.isolation_scope = AAZStrType( serialized_name="isolationScope", + flags={"required": True}, ) properties.principal_id = AAZStrType( serialized_name="principalId", diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_show.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_show.py index bcdfa2d9cd9..44e6fa3ffe9 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_show.py +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_show.py @@ -174,6 +174,7 @@ def _build_schema_on_200(cls): properties = cls._schema_on_200.properties properties.assignment_restrictions = AAZObjectType( serialized_name="assignmentRestrictions", + flags={"required": True}, ) properties.client_id = AAZStrType( serialized_name="clientId", @@ -181,6 +182,7 @@ def _build_schema_on_200(cls): ) properties.isolation_scope = AAZStrType( serialized_name="isolationScope", + flags={"required": True}, ) properties.principal_id = AAZStrType( serialized_name="principalId", diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py index bb041773818..f41b354866e 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py @@ -75,13 +75,11 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["--assignment-restrictions"], arg_group="Properties", help="Restrictions on which resource providers this identity can be assigned to.", - nullable=True, ) _args_schema.isolation_scope = AAZStrArg( options=["--isolation-scope"], arg_group="Properties", help="Enum to configure regional restrictions on identity assignment, as necessary.", - nullable=True, enum={"None": "None", "Regional": "Regional"}, ) @@ -325,8 +323,8 @@ def _update_instance(self, instance): properties = _builder.get(".properties") if properties is not None: - properties.set_prop("assignmentRestrictions", AAZObjectType, ".assignment_restrictions") - properties.set_prop("isolationScope", AAZStrType, ".isolation_scope") + properties.set_prop("assignmentRestrictions", AAZObjectType, ".assignment_restrictions", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("isolationScope", AAZStrType, ".isolation_scope", typ_kwargs={"flags": {"required": True}}) assignment_restrictions = _builder.get(".properties.assignmentRestrictions") if assignment_restrictions is not None: @@ -395,6 +393,7 @@ def _build_schema_identity_read(cls, _schema): properties = _schema_identity_read.properties properties.assignment_restrictions = AAZObjectType( serialized_name="assignmentRestrictions", + flags={"required": True}, ) properties.client_id = AAZStrType( serialized_name="clientId", @@ -402,6 +401,7 @@ def _build_schema_identity_read(cls, _schema): ) properties.isolation_scope = AAZStrType( serialized_name="isolationScope", + flags={"required": True}, ) properties.principal_id = AAZStrType( serialized_name="principalId", From 9688b75823ad5c7fe61334c6fcc80f68442efabd Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Mon, 6 Oct 2025 16:40:32 -0700 Subject: [PATCH 04/37] updated the files --- .../cli/command_modules/identity/_help.py | 20 +++++++++++++++++ .../cli/command_modules/identity/_params.py | 9 +++++++- .../cli/command_modules/identity/commands.py | 1 + .../cli/command_modules/identity/custom.py | 16 +++++++++++++- .../identity/tests/latest/test_identity.py | 22 ++++++++++++++++++- 5 files changed, 65 insertions(+), 3 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/_help.py b/src/azure-cli/azure/cli/command_modules/identity/_help.py index fe7858fb7f7..2199df99503 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/_help.py +++ b/src/azure-cli/azure/cli/command_modules/identity/_help.py @@ -19,6 +19,26 @@ - name: Create an identity. text: | az identity create --name MyIdentity --resource-group MyResourceGroup + + - name: Create an identity with regional assignment restrictions. + text: | + az identity create --name MyIdentity --resource-group MyResourceGroup --isolation-scope Regional + + - name: Create an identity with resource assignment restrictions. + text: | + az identity create --name MyIdentity --resource-group MyResourceGroup --assignment-restrictions {providers: ['Microsoft.Compute', 'Microsoft.Storage/Accounts']} +""" + +helps['identity update'] = """ +type: command +short-summary: Update an identity. +examples: + - name: Update an identity to restrict assignment within an Azure region. + text: | + az identity update --name MyIdentity --resource-group MyResourceGroup --isolation-scope Regional + - name: Update an identity to restrict assignment to specific resources. + text: | + az identity update --name MyIdentity --resource-group MyResourceGroup --assignment-restrictions {providers: ['Microsoft.Compute', 'Microsoft.Storage/Accounts']} """ helps['identity list'] = """ diff --git a/src/azure-cli/azure/cli/command_modules/identity/_params.py b/src/azure-cli/azure/cli/command_modules/identity/_params.py index 1754b44b061..2a9a1b6987a 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/_params.py +++ b/src/azure-cli/azure/cli/command_modules/identity/_params.py @@ -6,7 +6,7 @@ # pylint: disable=line-too-long, too-many-lines from knack.arguments import CLIArgumentType -from azure.cli.core.commands.parameters import get_location_type, tags_type +from azure.cli.core.commands.parameters import get_location_type, tags_type, get_enum_type name_arg_type = CLIArgumentType(options_list=('--name', '-n'), metavar='NAME', help='The name of the identity resource.') @@ -20,3 +20,10 @@ def load_arguments(self, _): with self.argument_context('identity create') as c: c.argument('location', get_location_type(self.cli_ctx), required=False) c.argument('tags', tags_type) + c.argument('isolation_scope', get_enum_type(['None', 'Regional']), required=False, help='Identity isolation scope, used to restrict identity assignment within an Azure region.') + c.argument('assignment_restrictions', required=False, help='Identity assignment restrictions, used to restrict the resources that can be assigned to the identity.') + + with self.argument_context('identity update') as c: + c.argument('tags', tags_type) + c.argument('isolation_scope', get_enum_type(['None', 'Regional']), required=False, help='Identity isolation scope, used to restrict identity assignment within an Azure region.') + c.argument('assignment_restrictions', required=False, help='Identity assignment restrictions, used to restrict the resources that can be assigned to the identity.') \ No newline at end of file diff --git a/src/azure-cli/azure/cli/command_modules/identity/commands.py b/src/azure-cli/azure/cli/command_modules/identity/commands.py index efb08ab5307..559b99fd221 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/commands.py +++ b/src/azure-cli/azure/cli/command_modules/identity/commands.py @@ -22,6 +22,7 @@ def load_command_table(self, _): ) with self.command_group('identity', identity_sdk, client_factory=_msi_user_identities_operations) as g: g.custom_command('create', 'create_identity', validator=process_msi_namespace) + g.generic_update_command('update', setter_name="update", custom_func_name='update_identity') g.show_command('show', 'get') g.command('delete', 'delete') g.custom_command('list', 'list_user_assigned_identities') diff --git a/src/azure-cli/azure/cli/command_modules/identity/custom.py b/src/azure-cli/azure/cli/command_modules/identity/custom.py index b63af796af4..6de06d0abec 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/custom.py +++ b/src/azure-cli/azure/cli/command_modules/identity/custom.py @@ -12,16 +12,30 @@ def list_user_assigned_identities(cmd, resource_group_name=None): return client.user_assigned_identities.list_by_subscription() -def create_identity(client, resource_group_name, resource_name, location, tags=None): +def create_identity(client, resource_group_name, resource_name, location, tags=None, isolation_scope=None, assignment_restrictions=None): parameters = {} parameters['location'] = location if tags is not None: parameters['tags'] = tags + if isolation_scope is not None: + parameters['isolationScope'] = isolation_scope + if assignment_restrictions is not None: + parameters['assignmentRestrictions'] = assignment_restrictions return client.create_or_update(resource_group_name=resource_group_name, resource_name=resource_name, parameters=parameters) +def update_identity(instance, tags=None, isolation_scope=None, assignment_restrictions=None): + parameters = {} + if tags is not None: + parameters['tags'] = tags + if isolation_scope is not None: + parameters['isolationScope'] = isolation_scope or instance.isolation_scope + if assignment_restrictions is not None: + parameters['assignmentRestrictions'] = assignment_restrictions or instance.assignment_restrictions + return parameters + def list_identity_resources(cmd, resource_group_name, resource_name): from azure.cli.command_modules.identity._client_factory import _msi_list_resources_client client = _msi_list_resources_client(cmd.cli_ctx) diff --git a/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py b/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py index a3b1628f1b6..2c846c5ee42 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py +++ b/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py @@ -22,13 +22,33 @@ def test_identity_management(self, resource_group): self.cmd('identity create -n {identity} -g {rg}', checks=[ self.check('name', '{identity}'), - self.check('resourceGroup', '{rg}') + self.check('resourceGroup', '{rg}'), + self.check('assignmentRestrictions', '{providers: []}') ]) + + self.cmd('identity update -n {identity} -g {rg} --assignment-restrictions {providers: ['Microsoft.Compute']}', checks=[ + self.check('name', '{identity}'), + self.check('resourceGroup', '{rg}'), + self.check('assignmentRestrictions', '{providers: [Microsoft.Compute]}') + ]) + self.cmd('identity list-resources -g {rg} -n {identity}') self.cmd('identity list -g {rg}', checks=self.check('length(@)', 1)) self.cmd('identity delete -n {identity} -g {rg}') + self.cmd('identity create -n {identity} -g {rg} --assignment-restrictions {providers: [Microsoft.Compute]}', checks=[ + self.check('name', '{identity}'), + self.check('resourceGroup', '{rg}'), + self.check('assignmentRestrictions', '{providers: [Microsoft.Compute]}') + ]) + + self.cmd('identity update -n {identity} -g {rg} --assignment-restrictions {providers: []}', checks=[ + self.check('name', '{identity}'), + self.check('resourceGroup', '{rg}'), + self.check('assignmentRestrictions', '{providers: []}') + ]) + @ResourceGroupPreparer(name_prefix='cli_test_federated_identity_credential_', location='centraluseuap') def test_federated_identity_credential(self, resource_group): self.kwargs.update({ From 6e74275f974abd4c4b73c0a3955687f39d9d8f82 Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Sun, 19 Oct 2025 15:33:19 -0700 Subject: [PATCH 05/37] Lint error fixes --- .../identity/tests/latest/test_identity.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py b/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py index 2c846c5ee42..3dd0da60b8b 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py +++ b/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py @@ -23,12 +23,14 @@ def test_identity_management(self, resource_group): self.cmd('identity create -n {identity} -g {rg}', checks=[ self.check('name', '{identity}'), self.check('resourceGroup', '{rg}'), + self.check('isolationScope', 'None'), self.check('assignmentRestrictions', '{providers: []}') ]) - self.cmd('identity update -n {identity} -g {rg} --assignment-restrictions {providers: ['Microsoft.Compute']}', checks=[ + self.cmd('identity update -n {identity} -g {rg} --assignment-restriction {providers: ['Microsoft.Compute']}', checks=[ self.check('name', '{identity}'), self.check('resourceGroup', '{rg}'), + self.check('isolationScope', 'Regional'), self.check('assignmentRestrictions', '{providers: [Microsoft.Compute]}') ]) @@ -37,15 +39,17 @@ def test_identity_management(self, resource_group): self.cmd('identity list -g {rg}', checks=self.check('length(@)', 1)) self.cmd('identity delete -n {identity} -g {rg}') - self.cmd('identity create -n {identity} -g {rg} --assignment-restrictions {providers: [Microsoft.Compute]}', checks=[ + self.cmd('identity create -n {identity} -g {rg} --assignment-restriction {providers: [Microsoft.Compute]}', checks=[ self.check('name', '{identity}'), self.check('resourceGroup', '{rg}'), + self.check('isolationScope', 'Regional'), self.check('assignmentRestrictions', '{providers: [Microsoft.Compute]}') ]) - self.cmd('identity update -n {identity} -g {rg} --assignment-restrictions {providers: []}', checks=[ + self.cmd('identity update -n {identity} -g {rg} --assignment-restriction {providers: []}', checks=[ self.check('name', '{identity}'), self.check('resourceGroup', '{rg}'), + self.check('isolationScope', 'None'), self.check('assignmentRestrictions', '{providers: []}') ]) From d820df777323831645464e7f77be21b8b5ae0310 Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Sun, 19 Oct 2025 21:36:04 -0700 Subject: [PATCH 06/37] Lint error fixes --- .../cli/command_modules/identity/_help.py | 4 +-- .../cli/command_modules/identity/_params.py | 4 +-- .../identity/aaz/latest/identity/_create.py | 30 +++++++++---------- .../identity/aaz/latest/identity/_show.py | 10 +++---- .../identity/aaz/latest/identity/_update.py | 30 +++++++++---------- .../cli/command_modules/identity/custom.py | 12 ++++---- .../identity/tests/latest/test_identity.py | 4 +-- 7 files changed, 47 insertions(+), 47 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/_help.py b/src/azure-cli/azure/cli/command_modules/identity/_help.py index 2199df99503..9422319962e 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/_help.py +++ b/src/azure-cli/azure/cli/command_modules/identity/_help.py @@ -26,7 +26,7 @@ - name: Create an identity with resource assignment restrictions. text: | - az identity create --name MyIdentity --resource-group MyResourceGroup --assignment-restrictions {providers: ['Microsoft.Compute', 'Microsoft.Storage/Accounts']} + az identity create --name MyIdentity --resource-group MyResourceGroup --assignment-restriction {providers: ['Microsoft.Compute', 'Microsoft.Storage/Accounts']} """ helps['identity update'] = """ @@ -38,7 +38,7 @@ az identity update --name MyIdentity --resource-group MyResourceGroup --isolation-scope Regional - name: Update an identity to restrict assignment to specific resources. text: | - az identity update --name MyIdentity --resource-group MyResourceGroup --assignment-restrictions {providers: ['Microsoft.Compute', 'Microsoft.Storage/Accounts']} + az identity update --name MyIdentity --resource-group MyResourceGroup --assignment-restriction {providers: ['Microsoft.Compute', 'Microsoft.Storage/Accounts']} """ helps['identity list'] = """ diff --git a/src/azure-cli/azure/cli/command_modules/identity/_params.py b/src/azure-cli/azure/cli/command_modules/identity/_params.py index 2a9a1b6987a..17508d735c8 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/_params.py +++ b/src/azure-cli/azure/cli/command_modules/identity/_params.py @@ -21,9 +21,9 @@ def load_arguments(self, _): c.argument('location', get_location_type(self.cli_ctx), required=False) c.argument('tags', tags_type) c.argument('isolation_scope', get_enum_type(['None', 'Regional']), required=False, help='Identity isolation scope, used to restrict identity assignment within an Azure region.') - c.argument('assignment_restrictions', required=False, help='Identity assignment restrictions, used to restrict the resources that can be assigned to the identity.') + c.argument('assignment_restriction', required=False, help='Identity assignment restriction, used to restrict the resources that can be assigned to the identity.') with self.argument_context('identity update') as c: c.argument('tags', tags_type) c.argument('isolation_scope', get_enum_type(['None', 'Regional']), required=False, help='Identity isolation scope, used to restrict identity assignment within an Azure region.') - c.argument('assignment_restrictions', required=False, help='Identity assignment restrictions, used to restrict the resources that can be assigned to the identity.') \ No newline at end of file + c.argument('assignment_restriction', required=False, help='Identity assignment restriction, used to restrict the resources that can be assigned to the identity.') \ No newline at end of file diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py index 055828fdac5..baae123347f 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py @@ -73,8 +73,8 @@ def _build_arguments_schema(cls, *args, **kwargs): # define Arg Group "Properties" _args_schema = cls._args_schema - _args_schema.assignment_restrictions = AAZObjectArg( - options=["--assignment-restrictions"], + _args_schema.assignment_restriction = AAZObjectArg( + options=["--assignment-restriction"], arg_group="Properties", help="Restrictions on which resource providers this identity can be assigned to.", ) @@ -85,8 +85,8 @@ def _build_arguments_schema(cls, *args, **kwargs): enum={"None": "None", "Regional": "Regional"}, ) - assignment_restrictions = cls._args_schema.assignment_restrictions - assignment_restrictions.providers = AAZListArg( + assignment_restriction = cls._args_schema.assignment_restriction + assignment_restriction.providers = AAZListArg( options=["providers"], help="List of resource provider types that this identity can be assigned to (case-insensitive). Examples: 'Microsoft.Compute', 'Microsoft.Storage/Accounts', 'Microsoft.Network/VirtualNetworks'.", fmt=AAZListArgFormat( @@ -94,7 +94,7 @@ def _build_arguments_schema(cls, *args, **kwargs): ), ) - providers = cls._args_schema.assignment_restrictions.providers + providers = cls._args_schema.assignment_restriction.providers providers.Element = AAZStrArg() return cls._args_schema @@ -194,14 +194,14 @@ def content(self): properties = _builder.get(".properties") if properties is not None: - properties.set_prop("assignmentRestrictions", AAZObjectType, ".assignment_restrictions", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("assignmentRestriction", AAZObjectType, ".assignment_restriction", typ_kwargs={"flags": {"required": True}}) properties.set_prop("isolationScope", AAZStrType, ".isolation_scope", typ_kwargs={"flags": {"required": True}}) - assignment_restrictions = _builder.get(".properties.assignmentRestrictions") - if assignment_restrictions is not None: - assignment_restrictions.set_prop("providers", AAZListType, ".providers") + assignment_restriction = _builder.get(".properties.assignmentRestriction") + if assignment_restriction is not None: + assignment_restriction.set_prop("providers", AAZListType, ".providers") - providers = _builder.get(".properties.assignmentRestrictions.providers") + providers = _builder.get(".properties.assignmentRestriction.providers") if providers is not None: providers.set_elements(AAZStrType, ".") @@ -251,8 +251,8 @@ def _build_schema_on_200_201(cls): ) properties = cls._schema_on_200_201.properties - properties.assignment_restrictions = AAZObjectType( - serialized_name="assignmentRestrictions", + properties.assignment_restriction = AAZObjectType( + serialized_name="assignmentRestriction", flags={"required": True}, ) properties.client_id = AAZStrType( @@ -272,10 +272,10 @@ def _build_schema_on_200_201(cls): flags={"read_only": True}, ) - assignment_restrictions = cls._schema_on_200_201.properties.assignment_restrictions - assignment_restrictions.providers = AAZListType() + assignment_restriction = cls._schema_on_200_201.properties.assignment_restriction + assignment_restriction.providers = AAZListType() - providers = cls._schema_on_200_201.properties.assignment_restrictions.providers + providers = cls._schema_on_200_201.properties.assignment_restriction.providers providers.Element = AAZStrType() system_data = cls._schema_on_200_201.system_data diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_show.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_show.py index 44e6fa3ffe9..fe36a5920c9 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_show.py +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_show.py @@ -172,8 +172,8 @@ def _build_schema_on_200(cls): ) properties = cls._schema_on_200.properties - properties.assignment_restrictions = AAZObjectType( - serialized_name="assignmentRestrictions", + properties.assignment_restriction = AAZObjectType( + serialized_name="assignmentRestriction", flags={"required": True}, ) properties.client_id = AAZStrType( @@ -193,10 +193,10 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) - assignment_restrictions = cls._schema_on_200.properties.assignment_restrictions - assignment_restrictions.providers = AAZListType() + assignment_restriction = cls._schema_on_200.properties.assignment_restriction + assignment_restriction.providers = AAZListType() - providers = cls._schema_on_200.properties.assignment_restrictions.providers + providers = cls._schema_on_200.properties.assignment_restriction.providers providers.Element = AAZStrType() system_data = cls._schema_on_200.system_data diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py index f41b354866e..5fe92591333 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py @@ -71,8 +71,8 @@ def _build_arguments_schema(cls, *args, **kwargs): # define Arg Group "Properties" _args_schema = cls._args_schema - _args_schema.assignment_restrictions = AAZObjectArg( - options=["--assignment-restrictions"], + _args_schema.assignment_restriction = AAZObjectArg( + options=["--assignment-restriction"], arg_group="Properties", help="Restrictions on which resource providers this identity can be assigned to.", ) @@ -83,8 +83,8 @@ def _build_arguments_schema(cls, *args, **kwargs): enum={"None": "None", "Regional": "Regional"}, ) - assignment_restrictions = cls._args_schema.assignment_restrictions - assignment_restrictions.providers = AAZListArg( + assignment_restriction = cls._args_schema.assignment_restriction + assignment_restriction.providers = AAZListArg( options=["providers"], help="List of resource provider types that this identity can be assigned to (case-insensitive). Examples: 'Microsoft.Compute', 'Microsoft.Storage/Accounts', 'Microsoft.Network/VirtualNetworks'.", nullable=True, @@ -93,7 +93,7 @@ def _build_arguments_schema(cls, *args, **kwargs): ), ) - providers = cls._args_schema.assignment_restrictions.providers + providers = cls._args_schema.assignment_restriction.providers providers.Element = AAZStrArg( nullable=True, ) @@ -323,14 +323,14 @@ def _update_instance(self, instance): properties = _builder.get(".properties") if properties is not None: - properties.set_prop("assignmentRestrictions", AAZObjectType, ".assignment_restrictions", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("assignmentRestriction", AAZObjectType, ".assignment_restriction", typ_kwargs={"flags": {"required": True}}) properties.set_prop("isolationScope", AAZStrType, ".isolation_scope", typ_kwargs={"flags": {"required": True}}) - assignment_restrictions = _builder.get(".properties.assignmentRestrictions") - if assignment_restrictions is not None: - assignment_restrictions.set_prop("providers", AAZListType, ".providers") + assignment_restriction = _builder.get(".properties.assignmentRestriction") + if assignment_restriction is not None: + assignment_restriction.set_prop("providers", AAZListType, ".providers") - providers = _builder.get(".properties.assignmentRestrictions.providers") + providers = _builder.get(".properties.assignmentRestriction.providers") if providers is not None: providers.set_elements(AAZStrType, ".") @@ -391,8 +391,8 @@ def _build_schema_identity_read(cls, _schema): ) properties = _schema_identity_read.properties - properties.assignment_restrictions = AAZObjectType( - serialized_name="assignmentRestrictions", + properties.assignment_restriction = AAZObjectType( + serialized_name="assignmentRestriction", flags={"required": True}, ) properties.client_id = AAZStrType( @@ -412,10 +412,10 @@ def _build_schema_identity_read(cls, _schema): flags={"read_only": True}, ) - assignment_restrictions = _schema_identity_read.properties.assignment_restrictions - assignment_restrictions.providers = AAZListType() + assignment_restriction = _schema_identity_read.properties.assignment_restriction + assignment_restriction.providers = AAZListType() - providers = _schema_identity_read.properties.assignment_restrictions.providers + providers = _schema_identity_read.properties.assignment_restriction.providers providers.Element = AAZStrType() system_data = _schema_identity_read.system_data diff --git a/src/azure-cli/azure/cli/command_modules/identity/custom.py b/src/azure-cli/azure/cli/command_modules/identity/custom.py index 6de06d0abec..aa58b1d8734 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/custom.py +++ b/src/azure-cli/azure/cli/command_modules/identity/custom.py @@ -12,28 +12,28 @@ def list_user_assigned_identities(cmd, resource_group_name=None): return client.user_assigned_identities.list_by_subscription() -def create_identity(client, resource_group_name, resource_name, location, tags=None, isolation_scope=None, assignment_restrictions=None): +def create_identity(client, resource_group_name, resource_name, location, tags=None, isolation_scope=None, assignment_restriction=None): parameters = {} parameters['location'] = location if tags is not None: parameters['tags'] = tags if isolation_scope is not None: parameters['isolationScope'] = isolation_scope - if assignment_restrictions is not None: - parameters['assignmentRestrictions'] = assignment_restrictions + if assignment_restriction is not None: + parameters['assignmentRestriction'] = assignment_restriction return client.create_or_update(resource_group_name=resource_group_name, resource_name=resource_name, parameters=parameters) -def update_identity(instance, tags=None, isolation_scope=None, assignment_restrictions=None): +def update_identity(instance, tags=None, isolation_scope=None, assignment_restriction=None): parameters = {} if tags is not None: parameters['tags'] = tags if isolation_scope is not None: parameters['isolationScope'] = isolation_scope or instance.isolation_scope - if assignment_restrictions is not None: - parameters['assignmentRestrictions'] = assignment_restrictions or instance.assignment_restrictions + if assignment_restriction is not None: + parameters['assignmentRestriction'] = assignment_restriction or instance.assignment_restriction return parameters def list_identity_resources(cmd, resource_group_name, resource_name): diff --git a/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py b/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py index 3dd0da60b8b..d29e04cfbf2 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py +++ b/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py @@ -43,14 +43,14 @@ def test_identity_management(self, resource_group): self.check('name', '{identity}'), self.check('resourceGroup', '{rg}'), self.check('isolationScope', 'Regional'), - self.check('assignmentRestrictions', '{providers: [Microsoft.Compute]}') + self.check('assignmentRestriction', '{providers: [Microsoft.Compute]}') ]) self.cmd('identity update -n {identity} -g {rg} --assignment-restriction {providers: []}', checks=[ self.check('name', '{identity}'), self.check('resourceGroup', '{rg}'), self.check('isolationScope', 'None'), - self.check('assignmentRestrictions', '{providers: []}') + self.check('assignmentRestriction', '{providers: []}') ]) @ResourceGroupPreparer(name_prefix='cli_test_federated_identity_credential_', location='centraluseuap') From d7582a0e01144f903071960189299f0f1905c19f Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Sun, 19 Oct 2025 21:48:33 -0700 Subject: [PATCH 07/37] Lint error fixes --- src/azure-cli/azure/cli/command_modules/identity/_help.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/_help.py b/src/azure-cli/azure/cli/command_modules/identity/_help.py index 9422319962e..3a9cb62bc4e 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/_help.py +++ b/src/azure-cli/azure/cli/command_modules/identity/_help.py @@ -20,10 +20,6 @@ text: | az identity create --name MyIdentity --resource-group MyResourceGroup - - name: Create an identity with regional assignment restrictions. - text: | - az identity create --name MyIdentity --resource-group MyResourceGroup --isolation-scope Regional - - name: Create an identity with resource assignment restrictions. text: | az identity create --name MyIdentity --resource-group MyResourceGroup --assignment-restriction {providers: ['Microsoft.Compute', 'Microsoft.Storage/Accounts']} @@ -33,9 +29,6 @@ type: command short-summary: Update an identity. examples: - - name: Update an identity to restrict assignment within an Azure region. - text: | - az identity update --name MyIdentity --resource-group MyResourceGroup --isolation-scope Regional - name: Update an identity to restrict assignment to specific resources. text: | az identity update --name MyIdentity --resource-group MyResourceGroup --assignment-restriction {providers: ['Microsoft.Compute', 'Microsoft.Storage/Accounts']} From 27ac843487663b776c194403da445cb685d1b21b Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Sun, 19 Oct 2025 21:52:54 -0700 Subject: [PATCH 08/37] Lint error fixes --- .../command_modules/identity/aaz/latest/identity/_create.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py index baae123347f..1acbceb572e 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py @@ -78,12 +78,6 @@ def _build_arguments_schema(cls, *args, **kwargs): arg_group="Properties", help="Restrictions on which resource providers this identity can be assigned to.", ) - _args_schema.isolation_scope = AAZStrArg( - options=["--isolation-scope"], - arg_group="Properties", - help="Enum to configure regional restrictions on identity assignment, as necessary.", - enum={"None": "None", "Regional": "Regional"}, - ) assignment_restriction = cls._args_schema.assignment_restriction assignment_restriction.providers = AAZListArg( From d9965d97a3df0026748fec3fc52e4dfd509b6c70 Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Sun, 19 Oct 2025 22:00:21 -0700 Subject: [PATCH 09/37] Lint error fixes --- .../identity/aaz/latest/identity/_create.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py index 1acbceb572e..57c97d62fa0 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py @@ -189,8 +189,7 @@ def content(self): properties = _builder.get(".properties") if properties is not None: properties.set_prop("assignmentRestriction", AAZObjectType, ".assignment_restriction", typ_kwargs={"flags": {"required": True}}) - properties.set_prop("isolationScope", AAZStrType, ".isolation_scope", typ_kwargs={"flags": {"required": True}}) - + assignment_restriction = _builder.get(".properties.assignmentRestriction") if assignment_restriction is not None: assignment_restriction.set_prop("providers", AAZListType, ".providers") @@ -253,10 +252,6 @@ def _build_schema_on_200_201(cls): serialized_name="clientId", flags={"read_only": True}, ) - properties.isolation_scope = AAZStrType( - serialized_name="isolationScope", - flags={"required": True}, - ) properties.principal_id = AAZStrType( serialized_name="principalId", flags={"read_only": True}, From 356c39ed55a41c79a642485d375a692dee587374 Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Sun, 19 Oct 2025 22:35:26 -0700 Subject: [PATCH 10/37] Lint error fixes --- .../cli/command_modules/identity/_params.py | 2 - .../identity/aaz/latest/identity/__init__.py | 4 - .../identity/aaz/latest/identity/_create.py | 300 ------------ .../identity/aaz/latest/identity/_delete.py | 136 ------ .../identity/aaz/latest/identity/_show.py | 232 --------- .../identity/aaz/latest/identity/_update.py | 453 ------------------ .../cli/command_modules/identity/custom.py | 4 - 7 files changed, 1131 deletions(-) delete mode 100644 src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py delete mode 100644 src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_delete.py delete mode 100644 src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_show.py delete mode 100644 src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py diff --git a/src/azure-cli/azure/cli/command_modules/identity/_params.py b/src/azure-cli/azure/cli/command_modules/identity/_params.py index 17508d735c8..5469dee5fde 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/_params.py +++ b/src/azure-cli/azure/cli/command_modules/identity/_params.py @@ -20,10 +20,8 @@ def load_arguments(self, _): with self.argument_context('identity create') as c: c.argument('location', get_location_type(self.cli_ctx), required=False) c.argument('tags', tags_type) - c.argument('isolation_scope', get_enum_type(['None', 'Regional']), required=False, help='Identity isolation scope, used to restrict identity assignment within an Azure region.') c.argument('assignment_restriction', required=False, help='Identity assignment restriction, used to restrict the resources that can be assigned to the identity.') with self.argument_context('identity update') as c: c.argument('tags', tags_type) - c.argument('isolation_scope', get_enum_type(['None', 'Regional']), required=False, help='Identity isolation scope, used to restrict identity assignment within an Azure region.') c.argument('assignment_restriction', required=False, help='Identity assignment restriction, used to restrict the resources that can be assigned to the identity.') \ No newline at end of file diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__init__.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__init__.py index a3db3e36481..5a9d61963d6 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__init__.py +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__init__.py @@ -9,7 +9,3 @@ # flake8: noqa from .__cmd_group import * -from ._create import * -from ._delete import * -from ._show import * -from ._update import * diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py deleted file mode 100644 index 57c97d62fa0..00000000000 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py +++ /dev/null @@ -1,300 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -# Code generated by aaz-dev-tools -# -------------------------------------------------------------------------------------------- - -# pylint: skip-file -# flake8: noqa - -from azure.cli.core.aaz import * - - -@register_command( - "identity create", -) -class Create(AAZCommand): - """Create an identity in the specified subscription and resource group. - """ - - _aaz_info = { - "version": "2025-05-31-preview", - "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managedidentity/userassignedidentities/{}", "2025-05-31-preview"], - ] - } - - 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.resource_group = AAZResourceGroupNameArg( - required=True, - ) - _args_schema.resource_name = AAZStrArg( - options=["-n", "--name", "--resource-name"], - help="The name of the identity resource.", - required=True, - ) - - # define Arg Group "Parameters" - - _args_schema = cls._args_schema - _args_schema.location = AAZResourceLocationArg( - arg_group="Parameters", - help="The geo-location where the resource lives", - required=True, - fmt=AAZResourceLocationArgFormat( - resource_group_arg="resource_group", - ), - ) - _args_schema.tags = AAZDictArg( - options=["--tags"], - arg_group="Parameters", - help="Resource tags.", - ) - - tags = cls._args_schema.tags - tags.Element = AAZStrArg() - - # define Arg Group "Properties" - - _args_schema = cls._args_schema - _args_schema.assignment_restriction = AAZObjectArg( - options=["--assignment-restriction"], - arg_group="Properties", - help="Restrictions on which resource providers this identity can be assigned to.", - ) - - assignment_restriction = cls._args_schema.assignment_restriction - assignment_restriction.providers = AAZListArg( - options=["providers"], - help="List of resource provider types that this identity can be assigned to (case-insensitive). Examples: 'Microsoft.Compute', 'Microsoft.Storage/Accounts', 'Microsoft.Network/VirtualNetworks'.", - fmt=AAZListArgFormat( - unique=True, - ), - ) - - providers = cls._args_schema.assignment_restriction.providers - providers.Element = AAZStrArg() - return cls._args_schema - - def _execute_operations(self): - self.pre_operations() - self.UserAssignedIdentitiesCreateOrUpdate(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 UserAssignedIdentitiesCreateOrUpdate(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, 201]: - return self.on_200_201(session) - - return self.on_error(session.http_response) - - @property - def url(self): - return self.client.format_url( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}", - **self.url_parameters - ) - - @property - def method(self): - return "PUT" - - @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( - "resourceName", self.ctx.args.resource_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", "2025-05-31-preview", - required=True, - ), - } - return parameters - - @property - def header_parameters(self): - parameters = { - **self.serialize_header_param( - "Content-Type", "application/json", - ), - **self.serialize_header_param( - "Accept", "application/json", - ), - } - return parameters - - @property - def content(self): - _content_value, _builder = self.new_content_builder( - self.ctx.args, - typ=AAZObjectType, - typ_kwargs={"flags": {"required": True, "client_flatten": True}} - ) - _builder.set_prop("location", AAZStrType, ".location", typ_kwargs={"flags": {"required": True}}) - _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) - _builder.set_prop("tags", AAZDictType, ".tags") - - properties = _builder.get(".properties") - if properties is not None: - properties.set_prop("assignmentRestriction", AAZObjectType, ".assignment_restriction", typ_kwargs={"flags": {"required": True}}) - - assignment_restriction = _builder.get(".properties.assignmentRestriction") - if assignment_restriction is not None: - assignment_restriction.set_prop("providers", AAZListType, ".providers") - - providers = _builder.get(".properties.assignmentRestriction.providers") - if providers is not None: - providers.set_elements(AAZStrType, ".") - - tags = _builder.get(".tags") - if tags is not None: - tags.set_elements(AAZStrType, ".") - - return self.serialize_content(_content_value) - - def on_200_201(self, session): - data = self.deserialize_http_content(session) - self.ctx.set_var( - "instance", - data, - schema_builder=self._build_schema_on_200_201 - ) - - _schema_on_200_201 = None - - @classmethod - def _build_schema_on_200_201(cls): - if cls._schema_on_200_201 is not None: - return cls._schema_on_200_201 - - cls._schema_on_200_201 = AAZObjectType() - - _schema_on_200_201 = cls._schema_on_200_201 - _schema_on_200_201.id = AAZStrType( - flags={"read_only": True}, - ) - _schema_on_200_201.location = AAZStrType( - flags={"required": True}, - ) - _schema_on_200_201.name = AAZStrType( - flags={"read_only": True}, - ) - _schema_on_200_201.properties = AAZObjectType( - flags={"client_flatten": True}, - ) - _schema_on_200_201.system_data = AAZObjectType( - serialized_name="systemData", - flags={"read_only": True}, - ) - _schema_on_200_201.tags = AAZDictType() - _schema_on_200_201.type = AAZStrType( - flags={"read_only": True}, - ) - - properties = cls._schema_on_200_201.properties - properties.assignment_restriction = AAZObjectType( - serialized_name="assignmentRestriction", - flags={"required": True}, - ) - properties.client_id = AAZStrType( - serialized_name="clientId", - flags={"read_only": True}, - ) - properties.principal_id = AAZStrType( - serialized_name="principalId", - flags={"read_only": True}, - ) - properties.tenant_id = AAZStrType( - serialized_name="tenantId", - flags={"read_only": True}, - ) - - assignment_restriction = cls._schema_on_200_201.properties.assignment_restriction - assignment_restriction.providers = AAZListType() - - providers = cls._schema_on_200_201.properties.assignment_restriction.providers - providers.Element = AAZStrType() - - system_data = cls._schema_on_200_201.system_data - system_data.created_at = AAZStrType( - serialized_name="createdAt", - ) - system_data.created_by = AAZStrType( - serialized_name="createdBy", - ) - system_data.created_by_type = AAZStrType( - serialized_name="createdByType", - ) - system_data.last_modified_at = AAZStrType( - serialized_name="lastModifiedAt", - ) - system_data.last_modified_by = AAZStrType( - serialized_name="lastModifiedBy", - ) - system_data.last_modified_by_type = AAZStrType( - serialized_name="lastModifiedByType", - ) - - tags = cls._schema_on_200_201.tags - tags.Element = AAZStrType() - - return cls._schema_on_200_201 - - -class _CreateHelper: - """Helper class for Create""" - - -__all__ = ["Create"] diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_delete.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_delete.py deleted file mode 100644 index 5458411687e..00000000000 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_delete.py +++ /dev/null @@ -1,136 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -# Code generated by aaz-dev-tools -# -------------------------------------------------------------------------------------------- - -# pylint: skip-file -# flake8: noqa - -from azure.cli.core.aaz import * - - -@register_command( - "identity delete", - confirmation="Are you sure you want to perform this operation?", -) -class Delete(AAZCommand): - """Delete the identity. - """ - - _aaz_info = { - "version": "2025-05-31-preview", - "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managedidentity/userassignedidentities/{}", "2025-05-31-preview"], - ] - } - - def _handler(self, command_args): - super()._handler(command_args) - self._execute_operations() - return 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.resource_group = AAZResourceGroupNameArg( - required=True, - ) - _args_schema.resource_name = AAZStrArg( - options=["-n", "--name", "--resource-name"], - help="The name of the identity resource.", - required=True, - id_part="name", - ) - return cls._args_schema - - def _execute_operations(self): - self.pre_operations() - self.UserAssignedIdentitiesDelete(ctx=self.ctx)() - self.post_operations() - - @register_callback - def pre_operations(self): - pass - - @register_callback - def post_operations(self): - pass - - class UserAssignedIdentitiesDelete(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) - if session.http_response.status_code in [204]: - return self.on_204(session) - - return self.on_error(session.http_response) - - @property - def url(self): - return self.client.format_url( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}", - **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( - "resourceGroupName", self.ctx.args.resource_group, - required=True, - ), - **self.serialize_url_param( - "resourceName", self.ctx.args.resource_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", "2025-05-31-preview", - 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/identity/aaz/latest/identity/_show.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_show.py deleted file mode 100644 index fe36a5920c9..00000000000 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_show.py +++ /dev/null @@ -1,232 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -# Code generated by aaz-dev-tools -# -------------------------------------------------------------------------------------------- - -# pylint: skip-file -# flake8: noqa - -from azure.cli.core.aaz import * - - -@register_command( - "identity show", -) -class Show(AAZCommand): - """Get the identity. - """ - - _aaz_info = { - "version": "2025-05-31-preview", - "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managedidentity/userassignedidentities/{}", "2025-05-31-preview"], - ] - } - - 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.resource_group = AAZResourceGroupNameArg( - required=True, - ) - _args_schema.resource_name = AAZStrArg( - options=["-n", "--name", "--resource-name"], - help="The name of the identity resource.", - required=True, - id_part="name", - ) - return cls._args_schema - - def _execute_operations(self): - self.pre_operations() - self.UserAssignedIdentitiesGet(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 UserAssignedIdentitiesGet(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.ManagedIdentity/userAssignedIdentities/{resourceName}", - **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( - "resourceName", self.ctx.args.resource_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", "2025-05-31-preview", - 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.system_data = AAZObjectType( - serialized_name="systemData", - flags={"read_only": True}, - ) - _schema_on_200.tags = AAZDictType() - _schema_on_200.type = AAZStrType( - flags={"read_only": True}, - ) - - properties = cls._schema_on_200.properties - properties.assignment_restriction = AAZObjectType( - serialized_name="assignmentRestriction", - flags={"required": True}, - ) - properties.client_id = AAZStrType( - serialized_name="clientId", - flags={"read_only": True}, - ) - properties.isolation_scope = AAZStrType( - serialized_name="isolationScope", - flags={"required": True}, - ) - properties.principal_id = AAZStrType( - serialized_name="principalId", - flags={"read_only": True}, - ) - properties.tenant_id = AAZStrType( - serialized_name="tenantId", - flags={"read_only": True}, - ) - - assignment_restriction = cls._schema_on_200.properties.assignment_restriction - assignment_restriction.providers = AAZListType() - - providers = cls._schema_on_200.properties.assignment_restriction.providers - providers.Element = AAZStrType() - - system_data = cls._schema_on_200.system_data - system_data.created_at = AAZStrType( - serialized_name="createdAt", - ) - system_data.created_by = AAZStrType( - serialized_name="createdBy", - ) - system_data.created_by_type = AAZStrType( - serialized_name="createdByType", - ) - system_data.last_modified_at = AAZStrType( - serialized_name="lastModifiedAt", - ) - system_data.last_modified_by = AAZStrType( - serialized_name="lastModifiedBy", - ) - system_data.last_modified_by_type = AAZStrType( - serialized_name="lastModifiedByType", - ) - - tags = cls._schema_on_200.tags - tags.Element = AAZStrType() - - return cls._schema_on_200 - - -class _ShowHelper: - """Helper class for Show""" - - -__all__ = ["Show"] diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py deleted file mode 100644 index 5fe92591333..00000000000 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py +++ /dev/null @@ -1,453 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -# Code generated by aaz-dev-tools -# -------------------------------------------------------------------------------------------- - -# pylint: skip-file -# flake8: noqa - -from azure.cli.core.aaz import * - - -@register_command( - "identity update", -) -class Update(AAZCommand): - """Update an identity in the specified subscription and resource group. - """ - - _aaz_info = { - "version": "2025-05-31-preview", - "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managedidentity/userassignedidentities/{}", "2025-05-31-preview"], - ] - } - - AZ_SUPPORT_GENERIC_UPDATE = True - - 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.resource_group = AAZResourceGroupNameArg( - required=True, - ) - _args_schema.resource_name = AAZStrArg( - options=["-n", "--name", "--resource-name"], - help="The name of the identity resource.", - required=True, - id_part="name", - ) - - # define Arg Group "Parameters" - - _args_schema = cls._args_schema - _args_schema.tags = AAZDictArg( - options=["--tags"], - arg_group="Parameters", - help="Resource tags.", - nullable=True, - ) - - tags = cls._args_schema.tags - tags.Element = AAZStrArg( - nullable=True, - ) - - # define Arg Group "Properties" - - _args_schema = cls._args_schema - _args_schema.assignment_restriction = AAZObjectArg( - options=["--assignment-restriction"], - arg_group="Properties", - help="Restrictions on which resource providers this identity can be assigned to.", - ) - _args_schema.isolation_scope = AAZStrArg( - options=["--isolation-scope"], - arg_group="Properties", - help="Enum to configure regional restrictions on identity assignment, as necessary.", - enum={"None": "None", "Regional": "Regional"}, - ) - - assignment_restriction = cls._args_schema.assignment_restriction - assignment_restriction.providers = AAZListArg( - options=["providers"], - help="List of resource provider types that this identity can be assigned to (case-insensitive). Examples: 'Microsoft.Compute', 'Microsoft.Storage/Accounts', 'Microsoft.Network/VirtualNetworks'.", - nullable=True, - fmt=AAZListArgFormat( - unique=True, - ), - ) - - providers = cls._args_schema.assignment_restriction.providers - providers.Element = AAZStrArg( - nullable=True, - ) - return cls._args_schema - - def _execute_operations(self): - self.pre_operations() - self.UserAssignedIdentitiesGet(ctx=self.ctx)() - self.pre_instance_update(self.ctx.vars.instance) - self.InstanceUpdateByJson(ctx=self.ctx)() - self.InstanceUpdateByGeneric(ctx=self.ctx)() - self.post_instance_update(self.ctx.vars.instance) - self.UserAssignedIdentitiesCreateOrUpdate(ctx=self.ctx)() - self.post_operations() - - @register_callback - def pre_operations(self): - pass - - @register_callback - def post_operations(self): - pass - - @register_callback - def pre_instance_update(self, instance): - pass - - @register_callback - def post_instance_update(self, instance): - pass - - def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) - return result - - class UserAssignedIdentitiesGet(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.ManagedIdentity/userAssignedIdentities/{resourceName}", - **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( - "resourceName", self.ctx.args.resource_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", "2025-05-31-preview", - 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() - _UpdateHelper._build_schema_identity_read(cls._schema_on_200) - - return cls._schema_on_200 - - class UserAssignedIdentitiesCreateOrUpdate(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, 201]: - return self.on_200_201(session) - - return self.on_error(session.http_response) - - @property - def url(self): - return self.client.format_url( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}", - **self.url_parameters - ) - - @property - def method(self): - return "PUT" - - @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( - "resourceName", self.ctx.args.resource_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", "2025-05-31-preview", - required=True, - ), - } - return parameters - - @property - def header_parameters(self): - parameters = { - **self.serialize_header_param( - "Content-Type", "application/json", - ), - **self.serialize_header_param( - "Accept", "application/json", - ), - } - return parameters - - @property - def content(self): - _content_value, _builder = self.new_content_builder( - self.ctx.args, - value=self.ctx.vars.instance, - ) - - return self.serialize_content(_content_value) - - def on_200_201(self, session): - data = self.deserialize_http_content(session) - self.ctx.set_var( - "instance", - data, - schema_builder=self._build_schema_on_200_201 - ) - - _schema_on_200_201 = None - - @classmethod - def _build_schema_on_200_201(cls): - if cls._schema_on_200_201 is not None: - return cls._schema_on_200_201 - - cls._schema_on_200_201 = AAZObjectType() - _UpdateHelper._build_schema_identity_read(cls._schema_on_200_201) - - return cls._schema_on_200_201 - - class InstanceUpdateByJson(AAZJsonInstanceUpdateOperation): - - def __call__(self, *args, **kwargs): - self._update_instance(self.ctx.vars.instance) - - def _update_instance(self, instance): - _instance_value, _builder = self.new_content_builder( - self.ctx.args, - value=instance, - typ=AAZObjectType - ) - _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) - _builder.set_prop("tags", AAZDictType, ".tags") - - properties = _builder.get(".properties") - if properties is not None: - properties.set_prop("assignmentRestriction", AAZObjectType, ".assignment_restriction", typ_kwargs={"flags": {"required": True}}) - properties.set_prop("isolationScope", AAZStrType, ".isolation_scope", typ_kwargs={"flags": {"required": True}}) - - assignment_restriction = _builder.get(".properties.assignmentRestriction") - if assignment_restriction is not None: - assignment_restriction.set_prop("providers", AAZListType, ".providers") - - providers = _builder.get(".properties.assignmentRestriction.providers") - if providers is not None: - providers.set_elements(AAZStrType, ".") - - tags = _builder.get(".tags") - if tags is not None: - tags.set_elements(AAZStrType, ".") - - return _instance_value - - class InstanceUpdateByGeneric(AAZGenericInstanceUpdateOperation): - - def __call__(self, *args, **kwargs): - self._update_instance_by_generic( - self.ctx.vars.instance, - self.ctx.generic_update_args - ) - - -class _UpdateHelper: - """Helper class for Update""" - - _schema_identity_read = None - - @classmethod - def _build_schema_identity_read(cls, _schema): - if cls._schema_identity_read is not None: - _schema.id = cls._schema_identity_read.id - _schema.location = cls._schema_identity_read.location - _schema.name = cls._schema_identity_read.name - _schema.properties = cls._schema_identity_read.properties - _schema.system_data = cls._schema_identity_read.system_data - _schema.tags = cls._schema_identity_read.tags - _schema.type = cls._schema_identity_read.type - return - - cls._schema_identity_read = _schema_identity_read = AAZObjectType() - - identity_read = _schema_identity_read - identity_read.id = AAZStrType( - flags={"read_only": True}, - ) - identity_read.location = AAZStrType( - flags={"required": True}, - ) - identity_read.name = AAZStrType( - flags={"read_only": True}, - ) - identity_read.properties = AAZObjectType( - flags={"client_flatten": True}, - ) - identity_read.system_data = AAZObjectType( - serialized_name="systemData", - flags={"read_only": True}, - ) - identity_read.tags = AAZDictType() - identity_read.type = AAZStrType( - flags={"read_only": True}, - ) - - properties = _schema_identity_read.properties - properties.assignment_restriction = AAZObjectType( - serialized_name="assignmentRestriction", - flags={"required": True}, - ) - properties.client_id = AAZStrType( - serialized_name="clientId", - flags={"read_only": True}, - ) - properties.isolation_scope = AAZStrType( - serialized_name="isolationScope", - flags={"required": True}, - ) - properties.principal_id = AAZStrType( - serialized_name="principalId", - flags={"read_only": True}, - ) - properties.tenant_id = AAZStrType( - serialized_name="tenantId", - flags={"read_only": True}, - ) - - assignment_restriction = _schema_identity_read.properties.assignment_restriction - assignment_restriction.providers = AAZListType() - - providers = _schema_identity_read.properties.assignment_restriction.providers - providers.Element = AAZStrType() - - system_data = _schema_identity_read.system_data - system_data.created_at = AAZStrType( - serialized_name="createdAt", - ) - system_data.created_by = AAZStrType( - serialized_name="createdBy", - ) - system_data.created_by_type = AAZStrType( - serialized_name="createdByType", - ) - system_data.last_modified_at = AAZStrType( - serialized_name="lastModifiedAt", - ) - system_data.last_modified_by = AAZStrType( - serialized_name="lastModifiedBy", - ) - system_data.last_modified_by_type = AAZStrType( - serialized_name="lastModifiedByType", - ) - - tags = _schema_identity_read.tags - tags.Element = AAZStrType() - - _schema.id = cls._schema_identity_read.id - _schema.location = cls._schema_identity_read.location - _schema.name = cls._schema_identity_read.name - _schema.properties = cls._schema_identity_read.properties - _schema.system_data = cls._schema_identity_read.system_data - _schema.tags = cls._schema_identity_read.tags - _schema.type = cls._schema_identity_read.type - - -__all__ = ["Update"] diff --git a/src/azure-cli/azure/cli/command_modules/identity/custom.py b/src/azure-cli/azure/cli/command_modules/identity/custom.py index aa58b1d8734..da5f00c8359 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/custom.py +++ b/src/azure-cli/azure/cli/command_modules/identity/custom.py @@ -17,8 +17,6 @@ def create_identity(client, resource_group_name, resource_name, location, tags=N parameters['location'] = location if tags is not None: parameters['tags'] = tags - if isolation_scope is not None: - parameters['isolationScope'] = isolation_scope if assignment_restriction is not None: parameters['assignmentRestriction'] = assignment_restriction return client.create_or_update(resource_group_name=resource_group_name, @@ -30,8 +28,6 @@ def update_identity(instance, tags=None, isolation_scope=None, assignment_restri parameters = {} if tags is not None: parameters['tags'] = tags - if isolation_scope is not None: - parameters['isolationScope'] = isolation_scope or instance.isolation_scope if assignment_restriction is not None: parameters['assignmentRestriction'] = assignment_restriction or instance.assignment_restriction return parameters From 32cb812b808cd90d8d16b73e031d42a0a3804c96 Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Sun, 19 Oct 2025 22:52:05 -0700 Subject: [PATCH 11/37] Lint error fixes --- src/azure-cli/azure/cli/command_modules/identity/custom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/custom.py b/src/azure-cli/azure/cli/command_modules/identity/custom.py index da5f00c8359..7c23f6e426b 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/custom.py +++ b/src/azure-cli/azure/cli/command_modules/identity/custom.py @@ -12,7 +12,7 @@ def list_user_assigned_identities(cmd, resource_group_name=None): return client.user_assigned_identities.list_by_subscription() -def create_identity(client, resource_group_name, resource_name, location, tags=None, isolation_scope=None, assignment_restriction=None): +def create_identity(client, resource_group_name, resource_name, location, tags=None, assignment_restriction=None): parameters = {} parameters['location'] = location if tags is not None: @@ -24,7 +24,7 @@ def create_identity(client, resource_group_name, resource_name, location, tags=N parameters=parameters) -def update_identity(instance, tags=None, isolation_scope=None, assignment_restriction=None): +def update_identity(instance, tags=None, assignment_restriction=None): parameters = {} if tags is not None: parameters['tags'] = tags From f05d2210db7358ec982ca397bd7a66d3ba0db19b Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Mon, 20 Oct 2025 10:47:29 -0700 Subject: [PATCH 12/37] Lint error fix --- src/azure-cli/azure/cli/command_modules/identity/_help.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/_help.py b/src/azure-cli/azure/cli/command_modules/identity/_help.py index 3a9cb62bc4e..893a17a5c00 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/_help.py +++ b/src/azure-cli/azure/cli/command_modules/identity/_help.py @@ -22,7 +22,7 @@ - name: Create an identity with resource assignment restrictions. text: | - az identity create --name MyIdentity --resource-group MyResourceGroup --assignment-restriction {providers: ['Microsoft.Compute', 'Microsoft.Storage/Accounts']} + az identity create --name MyIdentity --resource-group MyResourceGroup --assignment-restriction '{"providers": ["Microsoft.Compute", "Microsoft.Storage/Accounts"]}' """ helps['identity update'] = """ @@ -31,7 +31,7 @@ examples: - name: Update an identity to restrict assignment to specific resources. text: | - az identity update --name MyIdentity --resource-group MyResourceGroup --assignment-restriction {providers: ['Microsoft.Compute', 'Microsoft.Storage/Accounts']} + az identity update --name MyIdentity --resource-group MyResourceGroup --assignment-restriction '{"providers": ["Microsoft.Compute", "Microsoft.Storage/Accounts"]}' """ helps['identity list'] = """ From ee5d8b7ba31484cc55f9f5fccebf61561ca77aba Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Mon, 20 Oct 2025 11:50:27 -0700 Subject: [PATCH 13/37] Lint error fix --- src/azure-cli/azure/cli/command_modules/identity/_params.py | 3 ++- src/azure-cli/azure/cli/command_modules/identity/custom.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/_params.py b/src/azure-cli/azure/cli/command_modules/identity/_params.py index 5469dee5fde..9789e0a0ace 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/_params.py +++ b/src/azure-cli/azure/cli/command_modules/identity/_params.py @@ -24,4 +24,5 @@ def load_arguments(self, _): with self.argument_context('identity update') as c: c.argument('tags', tags_type) - c.argument('assignment_restriction', required=False, help='Identity assignment restriction, used to restrict the resources that can be assigned to the identity.') \ No newline at end of file + c.argument('assignment_restriction', required=False, help='Identity assignment restriction, used to restrict the resources that can be assigned to the identity.') + \ No newline at end of file diff --git a/src/azure-cli/azure/cli/command_modules/identity/custom.py b/src/azure-cli/azure/cli/command_modules/identity/custom.py index 7c23f6e426b..b3dc8eaf5cc 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/custom.py +++ b/src/azure-cli/azure/cli/command_modules/identity/custom.py @@ -31,6 +31,7 @@ def update_identity(instance, tags=None, assignment_restriction=None): if assignment_restriction is not None: parameters['assignmentRestriction'] = assignment_restriction or instance.assignment_restriction return parameters + def list_identity_resources(cmd, resource_group_name, resource_name): from azure.cli.command_modules.identity._client_factory import _msi_list_resources_client From f850a41bc83635466951ef7889f585e65f47cb85 Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Mon, 20 Oct 2025 14:56:51 -0700 Subject: [PATCH 14/37] Lint error fix --- src/azure-cli/azure/cli/command_modules/identity/_params.py | 2 -- src/azure-cli/azure/cli/command_modules/identity/custom.py | 4 ---- .../command_modules/identity/tests/latest/test_identity.py | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/_params.py b/src/azure-cli/azure/cli/command_modules/identity/_params.py index 9789e0a0ace..ab1a00edd59 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/_params.py +++ b/src/azure-cli/azure/cli/command_modules/identity/_params.py @@ -11,7 +11,6 @@ name_arg_type = CLIArgumentType(options_list=('--name', '-n'), metavar='NAME', help='The name of the identity resource.') - def load_arguments(self, _): with self.argument_context('identity') as c: @@ -25,4 +24,3 @@ def load_arguments(self, _): with self.argument_context('identity update') as c: c.argument('tags', tags_type) c.argument('assignment_restriction', required=False, help='Identity assignment restriction, used to restrict the resources that can be assigned to the identity.') - \ No newline at end of file diff --git a/src/azure-cli/azure/cli/command_modules/identity/custom.py b/src/azure-cli/azure/cli/command_modules/identity/custom.py index b3dc8eaf5cc..000fe3d5df2 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/custom.py +++ b/src/azure-cli/azure/cli/command_modules/identity/custom.py @@ -3,7 +3,6 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- - def list_user_assigned_identities(cmd, resource_group_name=None): from azure.cli.command_modules.identity._client_factory import _msi_client_factory client = _msi_client_factory(cmd.cli_ctx) @@ -11,7 +10,6 @@ def list_user_assigned_identities(cmd, resource_group_name=None): return client.user_assigned_identities.list_by_resource_group(resource_group_name) return client.user_assigned_identities.list_by_subscription() - def create_identity(client, resource_group_name, resource_name, location, tags=None, assignment_restriction=None): parameters = {} parameters['location'] = location @@ -23,7 +21,6 @@ def create_identity(client, resource_group_name, resource_name, location, tags=N resource_name=resource_name, parameters=parameters) - def update_identity(instance, tags=None, assignment_restriction=None): parameters = {} if tags is not None: @@ -31,7 +28,6 @@ def update_identity(instance, tags=None, assignment_restriction=None): if assignment_restriction is not None: parameters['assignmentRestriction'] = assignment_restriction or instance.assignment_restriction return parameters - def list_identity_resources(cmd, resource_group_name, resource_name): from azure.cli.command_modules.identity._client_factory import _msi_list_resources_client diff --git a/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py b/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py index d29e04cfbf2..7a4406a98b1 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py +++ b/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py @@ -39,7 +39,7 @@ def test_identity_management(self, resource_group): self.cmd('identity list -g {rg}', checks=self.check('length(@)', 1)) self.cmd('identity delete -n {identity} -g {rg}') - self.cmd('identity create -n {identity} -g {rg} --assignment-restriction {providers: [Microsoft.Compute]}', checks=[ + self.cmd('identity create -n {identity} -g {rg} --assignment-restriction {providers: ['Microsoft.Compute']}', checks=[ self.check('name', '{identity}'), self.check('resourceGroup', '{rg}'), self.check('isolationScope', 'Regional'), From e4f64be10d90a6ee1967ee38d7a8feaa151f4306 Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Mon, 20 Oct 2025 16:03:25 -0700 Subject: [PATCH 15/37] style error fix --- src/azure-cli/azure/cli/command_modules/identity/_params.py | 1 + src/azure-cli/azure/cli/command_modules/identity/custom.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/azure-cli/azure/cli/command_modules/identity/_params.py b/src/azure-cli/azure/cli/command_modules/identity/_params.py index ab1a00edd59..8d939fc976d 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/_params.py +++ b/src/azure-cli/azure/cli/command_modules/identity/_params.py @@ -11,6 +11,7 @@ name_arg_type = CLIArgumentType(options_list=('--name', '-n'), metavar='NAME', help='The name of the identity resource.') + def load_arguments(self, _): with self.argument_context('identity') as c: diff --git a/src/azure-cli/azure/cli/command_modules/identity/custom.py b/src/azure-cli/azure/cli/command_modules/identity/custom.py index 000fe3d5df2..4fc65a1c391 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/custom.py +++ b/src/azure-cli/azure/cli/command_modules/identity/custom.py @@ -10,6 +10,7 @@ def list_user_assigned_identities(cmd, resource_group_name=None): return client.user_assigned_identities.list_by_resource_group(resource_group_name) return client.user_assigned_identities.list_by_subscription() + def create_identity(client, resource_group_name, resource_name, location, tags=None, assignment_restriction=None): parameters = {} parameters['location'] = location @@ -21,6 +22,7 @@ def create_identity(client, resource_group_name, resource_name, location, tags=N resource_name=resource_name, parameters=parameters) + def update_identity(instance, tags=None, assignment_restriction=None): parameters = {} if tags is not None: @@ -29,6 +31,7 @@ def update_identity(instance, tags=None, assignment_restriction=None): parameters['assignmentRestriction'] = assignment_restriction or instance.assignment_restriction return parameters + def list_identity_resources(cmd, resource_group_name, resource_name): from azure.cli.command_modules.identity._client_factory import _msi_list_resources_client client = _msi_list_resources_client(cmd.cli_ctx) From 631566532c08a5985e568f85be6092670b02bea5 Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Tue, 21 Oct 2025 10:26:06 -0700 Subject: [PATCH 16/37] style error fix --- src/azure-cli/azure/cli/command_modules/identity/_params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/_params.py b/src/azure-cli/azure/cli/command_modules/identity/_params.py index 8d939fc976d..27da1bc14be 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/_params.py +++ b/src/azure-cli/azure/cli/command_modules/identity/_params.py @@ -6,7 +6,7 @@ # pylint: disable=line-too-long, too-many-lines from knack.arguments import CLIArgumentType -from azure.cli.core.commands.parameters import get_location_type, tags_type, get_enum_type +from azure.cli.core.commands.parameters import get_location_type, tags_type name_arg_type = CLIArgumentType(options_list=('--name', '-n'), metavar='NAME', help='The name of the identity resource.') From e18c07517707e484ec4a426a9b5d20fc4ab91ddf Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Wed, 22 Oct 2025 16:39:49 -0700 Subject: [PATCH 17/37] test identity fix --- .../command_modules/identity/tests/latest/test_identity.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py b/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py index 7a4406a98b1..dc389049c65 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py +++ b/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py @@ -23,14 +23,12 @@ def test_identity_management(self, resource_group): self.cmd('identity create -n {identity} -g {rg}', checks=[ self.check('name', '{identity}'), self.check('resourceGroup', '{rg}'), - self.check('isolationScope', 'None'), self.check('assignmentRestrictions', '{providers: []}') ]) self.cmd('identity update -n {identity} -g {rg} --assignment-restriction {providers: ['Microsoft.Compute']}', checks=[ self.check('name', '{identity}'), self.check('resourceGroup', '{rg}'), - self.check('isolationScope', 'Regional'), self.check('assignmentRestrictions', '{providers: [Microsoft.Compute]}') ]) @@ -42,14 +40,12 @@ def test_identity_management(self, resource_group): self.cmd('identity create -n {identity} -g {rg} --assignment-restriction {providers: ['Microsoft.Compute']}', checks=[ self.check('name', '{identity}'), self.check('resourceGroup', '{rg}'), - self.check('isolationScope', 'Regional'), self.check('assignmentRestriction', '{providers: [Microsoft.Compute]}') ]) self.cmd('identity update -n {identity} -g {rg} --assignment-restriction {providers: []}', checks=[ self.check('name', '{identity}'), self.check('resourceGroup', '{rg}'), - self.check('isolationScope', 'None'), self.check('assignmentRestriction', '{providers: []}') ]) From 12b2094748ece8899d75bc6c16124e5ddb8ef4f3 Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Wed, 22 Oct 2025 23:24:08 -0700 Subject: [PATCH 18/37] Update the yaml to test --- .../azure/cli/core/profiles/_shared.py | 2 +- .../recordings/test_identity_management.yaml | 134 ++++++------------ .../identity/tests/latest/test_identity.py | 19 +-- 3 files changed, 54 insertions(+), 101 deletions(-) diff --git a/src/azure-cli-core/azure/cli/core/profiles/_shared.py b/src/azure-cli-core/azure/cli/core/profiles/_shared.py index 1476b9f92c0..2f9fb7e41b0 100644 --- a/src/azure-cli-core/azure/cli/core/profiles/_shared.py +++ b/src/azure-cli-core/azure/cli/core/profiles/_shared.py @@ -212,7 +212,7 @@ def default_api_version(self): ResourceType.MGMT_SERVICEBUS: None, ResourceType.MGMT_EVENTHUB: None, ResourceType.MGMT_MONITOR: None, - ResourceType.MGMT_MSI: '2023-01-31', + ResourceType.MGMT_MSI: '2025-05-31-PREVIEW', ResourceType.MGMT_APPSERVICE: '2024-11-01', ResourceType.MGMT_IOTHUB: None, ResourceType.MGMT_IOTDPS: None, diff --git a/src/azure-cli/azure/cli/command_modules/identity/tests/latest/recordings/test_identity_management.yaml b/src/azure-cli/azure/cli/command_modules/identity/tests/latest/recordings/test_identity_management.yaml index 2997e1ee9b1..6e1d34510b7 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/tests/latest/recordings/test_identity_management.yaml +++ b/src/azure-cli/azure/cli/command_modules/identity/tests/latest/recordings/test_identity_management.yaml @@ -11,7 +11,7 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0) + - AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://management.azure.com/providers/Microsoft.ManagedIdentity/operations?api-version=2023-01-31 response: @@ -59,7 +59,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 May 2025 05:47:09 GMT + - Thu, 23 Oct 2025 06:22:03 GMT expires: - '-1' pragma: @@ -73,7 +73,7 @@ interactions: x-ms-operation-identifier: - '' x-msedge-ref: - - 'Ref A: E593170B9A3F4610B529E3C62C1FA347 Ref B: TYO201100114023 Ref C: 2025-05-16T05:47:09Z' + - 'Ref A: 5AC86D488CC24CBAB26B0DF557AF56F9 Ref B: CO6AA3150217035 Ref C: 2025-10-23T06:22:03Z' status: code: 200 message: OK @@ -91,12 +91,12 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0) + - AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_identity_mgmt_000001?api-version=2024-11-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_identity_mgmt_000001","name":"cli_test_identity_mgmt_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_identity_management","date":"2025-05-16T05:47:04Z","module":"identity"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_identity_mgmt_000001","name":"cli_test_identity_mgmt_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_identity_management","date":"2025-10-23T06:22:01Z","module":"identity"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -105,7 +105,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 May 2025 05:47:09 GMT + - Thu, 23 Oct 2025 06:22:03 GMT expires: - '-1' pragma: @@ -117,9 +117,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-reads: - - '3749' + - '16499' x-msedge-ref: - - 'Ref A: 5308D895DBA54C31A6CC6E459EAE08DF Ref B: TYO201151004029 Ref C: 2025-05-16T05:47:09Z' + - 'Ref A: E9530114B87C45499E93C47EE12D03BB Ref B: MWH011020807040 Ref C: 2025-10-23T06:22:03Z' status: code: 200 message: OK @@ -141,12 +141,12 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0) + - AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity?api-version=2023-01-31 response: body: - string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity","name":"myidentity","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"38eac2d9-6dd6-4e7b-b8e8-acb85e6bbd8b","clientId":"c8ae5cba-7e05-46af-8b5e-6440546db094"}}' + string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity","name":"myidentity","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"3b05661f-5e05-4b94-b507-c38a5c9614f7","clientId":"4047f7ad-5eae-4cd9-bb2d-759fe325e4b1"}}' headers: cache-control: - no-cache @@ -155,7 +155,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 May 2025 05:47:13 GMT + - Thu, 23 Oct 2025 06:22:04 GMT expires: - '-1' location: @@ -169,13 +169,13 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=54826b22-38d6-4fb2-bad9-b7b93a3e9c5a,objectId=d44a2991-98c6-47c3-b59b-2b30d72cfcc2/japanwest/7d2aa4d2-8eca-4684-aabe-da6ccd0394bd + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/77ded8be-8f7a-4efe-852b-d4377f5c2711 x-ms-ratelimit-remaining-subscription-global-writes: - - '2999' + - '11999' x-ms-ratelimit-remaining-subscription-writes: - - '199' + - '799' x-msedge-ref: - - 'Ref A: 3F1979946A524433B5AB23906EAFF0B2 Ref B: TYO201100114047 Ref C: 2025-05-16T05:47:10Z' + - 'Ref A: E65CC7FFD89647ADB33E2E119FCED6AF Ref B: MWH011020807060 Ref C: 2025-10-23T06:22:03Z' status: code: 201 message: Created @@ -187,77 +187,27 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - identity list-resources - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity/listAssociatedResources?api-version=2022-01-31-preview - response: - body: - string: '{"totalCount":0,"value":[]}' - headers: - cache-control: - - no-cache - content-length: - - '27' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 16 May 2025 05:47:15 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-cache: - - CONFIG_NOCACHE - x-content-type-options: - - nosniff - x-ms-operation-identifier: - - tenantId=54826b22-38d6-4fb2-bad9-b7b93a3e9c5a,objectId=d44a2991-98c6-47c3-b59b-2b30d72cfcc2/japanwest/2ab33c90-6b74-4bba-9b50-84ab24bd8a4c - x-ms-ratelimit-remaining-subscription-global-reads: - - '3749' - x-msedge-ref: - - 'Ref A: 337030546B1F4E44B2DCF7EB9272B02B Ref B: TYO201151006062 Ref C: 2025-05-16T05:47:13Z' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - identity list + - identity update Connection: - keep-alive ParameterSetName: - - -g + - -n -g --assignment-restriction User-Agent: - - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0) + - AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities?api-version=2023-01-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity?api-version=2023-01-31 response: body: - string: '{"value":[{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity","name":"myidentity","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"38eac2d9-6dd6-4e7b-b8e8-acb85e6bbd8b","clientId":"c8ae5cba-7e05-46af-8b5e-6440546db094"}}]}' + string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity","name":"myidentity","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"3b05661f-5e05-4b94-b507-c38a5c9614f7","clientId":"4047f7ad-5eae-4cd9-bb2d-759fe325e4b1"}}' headers: cache-control: - no-cache content-length: - - '463' + - '451' content-type: - application/json; charset=utf-8 date: - - Fri, 16 May 2025 05:47:16 GMT + - Thu, 23 Oct 2025 06:22:04 GMT expires: - '-1' pragma: @@ -268,44 +218,46 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff - x-ms-original-request-ids: - - '' x-ms-ratelimit-remaining-subscription-global-reads: - - '3749' + - '16499' x-msedge-ref: - - 'Ref A: E1DC8F57D8DD4857A692236A332DD1C4 Ref B: TYO201151005040 Ref C: 2025-05-16T05:47:16Z' + - 'Ref A: 1D447E60AEB64B598B72FDA6E0930DD9 Ref B: CO6AA3150218009 Ref C: 2025-10-23T06:22:04Z' status: code: 200 message: OK - request: - body: null + body: '{}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - identity delete + - identity update Connection: - keep-alive Content-Length: - - '0' + - '2' + Content-Type: + - application/json ParameterSetName: - - -n -g + - -n -g --assignment-restriction User-Agent: - - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0) - method: DELETE + - AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity?api-version=2023-01-31 response: body: - string: '' + string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity","name":"myidentity","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"3b05661f-5e05-4b94-b507-c38a5c9614f7","clientId":"4047f7ad-5eae-4cd9-bb2d-759fe325e4b1"}}' headers: cache-control: - no-cache content-length: - - '0' + - '451' + content-type: + - application/json; charset=utf-8 date: - - Fri, 16 May 2025 05:47:25 GMT + - Thu, 23 Oct 2025 06:22:05 GMT expires: - '-1' pragma: @@ -317,13 +269,13 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=54826b22-38d6-4fb2-bad9-b7b93a3e9c5a,objectId=d44a2991-98c6-47c3-b59b-2b30d72cfcc2/japanwest/a1ff696a-766d-4f72-b2b6-ebe7a223f99d - x-ms-ratelimit-remaining-subscription-deletes: - - '199' - x-ms-ratelimit-remaining-subscription-global-deletes: - - '2999' + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus2/4874c5e5-2bce-466a-b561-ccd3affba719 + x-ms-ratelimit-remaining-subscription-global-writes: + - '11999' + x-ms-ratelimit-remaining-subscription-writes: + - '799' x-msedge-ref: - - 'Ref A: 9D0CBCB4F80F4D109F7857706CB16A51 Ref B: TYO201151002029 Ref C: 2025-05-16T05:47:17Z' + - 'Ref A: E111059BFA9B41099C5164F0BD45572E Ref B: MWH011020808036 Ref C: 2025-10-23T06:22:05Z' status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py b/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py index dc389049c65..847f8fb4700 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py +++ b/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py @@ -14,7 +14,9 @@ class TestIdentity(ScenarioTest): @ResourceGroupPreparer(name_prefix='cli_test_identity_mgmt_') def test_identity_management(self, resource_group): self.kwargs.update({ - 'identity': 'myidentity' + 'identity': 'myidentity', + 'assignment_restriction_compute': '\{"providers":\["Microsoft.Compute"\]\}', + 'assignment_restriction_empty': '\{"providers":\[\]\}' }) operations = self.cmd('identity list-operations').get_output_in_json() @@ -23,13 +25,13 @@ def test_identity_management(self, resource_group): self.cmd('identity create -n {identity} -g {rg}', checks=[ self.check('name', '{identity}'), self.check('resourceGroup', '{rg}'), - self.check('assignmentRestrictions', '{providers: []}') + self.check('assignmentRestriction', None) ]) - self.cmd('identity update -n {identity} -g {rg} --assignment-restriction {providers: ['Microsoft.Compute']}', checks=[ + self.cmd('identity update -n {identity} -g {rg} --assignment-restriction {assignment_restriction_compute}', checks=[ self.check('name', '{identity}'), self.check('resourceGroup', '{rg}'), - self.check('assignmentRestrictions', '{providers: [Microsoft.Compute]}') + self.check('assignmentRestriction.providers[0]', 'Microsoft.Compute') ]) self.cmd('identity list-resources -g {rg} -n {identity}') @@ -37,16 +39,16 @@ def test_identity_management(self, resource_group): self.cmd('identity list -g {rg}', checks=self.check('length(@)', 1)) self.cmd('identity delete -n {identity} -g {rg}') - self.cmd('identity create -n {identity} -g {rg} --assignment-restriction {providers: ['Microsoft.Compute']}', checks=[ + self.cmd('identity create -n {identity} -g {rg} --assignment-restriction {assignment_restriction_compute}', checks=[ self.check('name', '{identity}'), self.check('resourceGroup', '{rg}'), - self.check('assignmentRestriction', '{providers: [Microsoft.Compute]}') + self.check('assignmentRestriction.providers[0]', 'Microsoft.Compute') ]) - self.cmd('identity update -n {identity} -g {rg} --assignment-restriction {providers: []}', checks=[ + self.cmd('identity update -n {identity} -g {rg} --assignment-restriction {assignment_restriction_empty}', checks=[ self.check('name', '{identity}'), self.check('resourceGroup', '{rg}'), - self.check('assignmentRestriction', '{providers: []}') + self.check('assignmentRestriction.providers', []) ]) @ResourceGroupPreparer(name_prefix='cli_test_federated_identity_credential_', location='centraluseuap') @@ -200,4 +202,3 @@ def test_federated_identity_credential(self, resource_group): self.check('type(@)', 'array'), self.check('length(@)', 0) ]) - \ No newline at end of file From a60548194ebad769bfe91d176fbe274196cb11f0 Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Thu, 23 Oct 2025 16:55:36 -0700 Subject: [PATCH 19/37] Update the msi version --- .../azure/cli/core/profiles/_shared.py | 2 +- .../recordings/test_identity_management.yaml | 32 +++++++++---------- src/azure-cli/requirements.py3.Darwin.txt | 2 +- src/azure-cli/requirements.py3.Linux.txt | 2 +- src/azure-cli/requirements.py3.windows.txt | 2 +- src/azure-cli/setup.py | 2 +- 6 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/azure-cli-core/azure/cli/core/profiles/_shared.py b/src/azure-cli-core/azure/cli/core/profiles/_shared.py index 2f9fb7e41b0..1476b9f92c0 100644 --- a/src/azure-cli-core/azure/cli/core/profiles/_shared.py +++ b/src/azure-cli-core/azure/cli/core/profiles/_shared.py @@ -212,7 +212,7 @@ def default_api_version(self): ResourceType.MGMT_SERVICEBUS: None, ResourceType.MGMT_EVENTHUB: None, ResourceType.MGMT_MONITOR: None, - ResourceType.MGMT_MSI: '2025-05-31-PREVIEW', + ResourceType.MGMT_MSI: '2023-01-31', ResourceType.MGMT_APPSERVICE: '2024-11-01', ResourceType.MGMT_IOTHUB: None, ResourceType.MGMT_IOTDPS: None, diff --git a/src/azure-cli/azure/cli/command_modules/identity/tests/latest/recordings/test_identity_management.yaml b/src/azure-cli/azure/cli/command_modules/identity/tests/latest/recordings/test_identity_management.yaml index 6e1d34510b7..5bf401e8f40 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/tests/latest/recordings/test_identity_management.yaml +++ b/src/azure-cli/azure/cli/command_modules/identity/tests/latest/recordings/test_identity_management.yaml @@ -59,7 +59,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Oct 2025 06:22:03 GMT + - Thu, 23 Oct 2025 21:18:27 GMT expires: - '-1' pragma: @@ -73,7 +73,7 @@ interactions: x-ms-operation-identifier: - '' x-msedge-ref: - - 'Ref A: 5AC86D488CC24CBAB26B0DF557AF56F9 Ref B: CO6AA3150217035 Ref C: 2025-10-23T06:22:03Z' + - 'Ref A: D4D8CB46ABC04C75A7D9B7E05C0417C3 Ref B: MWH011020806054 Ref C: 2025-10-23T21:18:27Z' status: code: 200 message: OK @@ -96,7 +96,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_identity_mgmt_000001?api-version=2024-11-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_identity_mgmt_000001","name":"cli_test_identity_mgmt_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_identity_management","date":"2025-10-23T06:22:01Z","module":"identity"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_identity_mgmt_000001","name":"cli_test_identity_mgmt_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_identity_management","date":"2025-10-23T21:18:25Z","module":"identity"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -105,7 +105,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Oct 2025 06:22:03 GMT + - Thu, 23 Oct 2025 21:18:27 GMT expires: - '-1' pragma: @@ -119,7 +119,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: E9530114B87C45499E93C47EE12D03BB Ref B: MWH011020807040 Ref C: 2025-10-23T06:22:03Z' + - 'Ref A: FF0F60AC3A64418482C030F2B6851A10 Ref B: MWH011020807040 Ref C: 2025-10-23T21:18:28Z' status: code: 200 message: OK @@ -146,7 +146,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity?api-version=2023-01-31 response: body: - string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity","name":"myidentity","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"3b05661f-5e05-4b94-b507-c38a5c9614f7","clientId":"4047f7ad-5eae-4cd9-bb2d-759fe325e4b1"}}' + string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity","name":"myidentity","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"4cdbea58-00f3-4ca7-9f28-86e4ceb1a162","clientId":"66d17b67-7852-4d4c-8100-e7ccdc30398c"}}' headers: cache-control: - no-cache @@ -155,7 +155,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Oct 2025 06:22:04 GMT + - Thu, 23 Oct 2025 21:18:29 GMT expires: - '-1' location: @@ -169,13 +169,13 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/77ded8be-8f7a-4efe-852b-d4377f5c2711 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/f9d97c78-876c-4c09-a108-c4e31a8c259e x-ms-ratelimit-remaining-subscription-global-writes: - '11999' x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: E65CC7FFD89647ADB33E2E119FCED6AF Ref B: MWH011020807060 Ref C: 2025-10-23T06:22:03Z' + - 'Ref A: FE7BAA84E063468DB5BB6A7368C52926 Ref B: MWH011020809052 Ref C: 2025-10-23T21:18:28Z' status: code: 201 message: Created @@ -198,7 +198,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity?api-version=2023-01-31 response: body: - string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity","name":"myidentity","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"3b05661f-5e05-4b94-b507-c38a5c9614f7","clientId":"4047f7ad-5eae-4cd9-bb2d-759fe325e4b1"}}' + string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity","name":"myidentity","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"4cdbea58-00f3-4ca7-9f28-86e4ceb1a162","clientId":"66d17b67-7852-4d4c-8100-e7ccdc30398c"}}' headers: cache-control: - no-cache @@ -207,7 +207,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Oct 2025 06:22:04 GMT + - Thu, 23 Oct 2025 21:18:29 GMT expires: - '-1' pragma: @@ -221,7 +221,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 1D447E60AEB64B598B72FDA6E0930DD9 Ref B: CO6AA3150218009 Ref C: 2025-10-23T06:22:04Z' + - 'Ref A: FD113BE9B21C42CEA3884C783DA9E6D0 Ref B: MWH011020808054 Ref C: 2025-10-23T21:18:29Z' status: code: 200 message: OK @@ -248,7 +248,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity?api-version=2023-01-31 response: body: - string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity","name":"myidentity","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"3b05661f-5e05-4b94-b507-c38a5c9614f7","clientId":"4047f7ad-5eae-4cd9-bb2d-759fe325e4b1"}}' + string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity","name":"myidentity","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"4cdbea58-00f3-4ca7-9f28-86e4ceb1a162","clientId":"66d17b67-7852-4d4c-8100-e7ccdc30398c"}}' headers: cache-control: - no-cache @@ -257,7 +257,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Oct 2025 06:22:05 GMT + - Thu, 23 Oct 2025 21:18:29 GMT expires: - '-1' pragma: @@ -269,13 +269,13 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus2/4874c5e5-2bce-466a-b561-ccd3affba719 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/05521981-31a8-449f-9306-0e73594d52f0 x-ms-ratelimit-remaining-subscription-global-writes: - '11999' x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: E111059BFA9B41099C5164F0BD45572E Ref B: MWH011020808036 Ref C: 2025-10-23T06:22:05Z' + - 'Ref A: 2A9D3092A7774D2DBA21309242E88E5A Ref B: MWH011020808023 Ref C: 2025-10-23T21:18:29Z' status: code: 200 message: OK diff --git a/src/azure-cli/requirements.py3.Darwin.txt b/src/azure-cli/requirements.py3.Darwin.txt index ab09ff31693..6b035da62d8 100644 --- a/src/azure-cli/requirements.py3.Darwin.txt +++ b/src/azure-cli/requirements.py3.Darwin.txt @@ -53,7 +53,7 @@ azure-mgmt-maps==2.0.0 azure-mgmt-marketplaceordering==1.1.0 azure-mgmt-media==9.0.0 azure-mgmt-monitor==7.0.0b1 -azure-mgmt-msi==7.0.0 +azure-mgmt-msi==7.1.0 azure-mgmt-netapp==10.1.0 azure-mgmt-policyinsights==1.1.0b4 azure-mgmt-postgresqlflexibleservers==1.1.0b2 diff --git a/src/azure-cli/requirements.py3.Linux.txt b/src/azure-cli/requirements.py3.Linux.txt index 459d7fd96c0..8c91ffa1eb8 100644 --- a/src/azure-cli/requirements.py3.Linux.txt +++ b/src/azure-cli/requirements.py3.Linux.txt @@ -53,7 +53,7 @@ azure-mgmt-maps==2.0.0 azure-mgmt-marketplaceordering==1.1.0 azure-mgmt-media==9.0.0 azure-mgmt-monitor==7.0.0b1 -azure-mgmt-msi==7.0.0 +azure-mgmt-msi==7.1.0 azure-mgmt-netapp==10.1.0 azure-mgmt-policyinsights==1.1.0b4 azure-mgmt-postgresqlflexibleservers==1.1.0b2 diff --git a/src/azure-cli/requirements.py3.windows.txt b/src/azure-cli/requirements.py3.windows.txt index a148ed9166c..c44e649e3eb 100644 --- a/src/azure-cli/requirements.py3.windows.txt +++ b/src/azure-cli/requirements.py3.windows.txt @@ -53,7 +53,7 @@ azure-mgmt-maps==2.0.0 azure-mgmt-marketplaceordering==1.1.0 azure-mgmt-media==9.0.0 azure-mgmt-monitor==7.0.0b1 -azure-mgmt-msi==7.0.0 +azure-mgmt-msi==7.1.0 azure-mgmt-netapp==10.1.0 azure-mgmt-policyinsights==1.1.0b4 azure-mgmt-postgresqlflexibleservers==1.1.0b2 diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index 48eaf988988..d71c870fad4 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -97,7 +97,7 @@ 'azure-mgmt-marketplaceordering==1.1.0', 'azure-mgmt-media~=9.0', 'azure-mgmt-monitor~=7.0.0b1', - 'azure-mgmt-msi~=7.0.0', + 'azure-mgmt-msi~=7.1.0', 'azure-mgmt-netapp~=10.1.0', 'azure-mgmt-policyinsights==1.1.0b4', 'azure-mgmt-postgresqlflexibleservers==1.1.0b2', From be81d455a9701dfe4d6300a28710655e365a087e Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Thu, 23 Oct 2025 17:23:04 -0700 Subject: [PATCH 20/37] Update the msi version --- src/azure-cli-core/azure/cli/core/profiles/_shared.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/azure-cli-core/azure/cli/core/profiles/_shared.py b/src/azure-cli-core/azure/cli/core/profiles/_shared.py index 1476b9f92c0..eac9c061d11 100644 --- a/src/azure-cli-core/azure/cli/core/profiles/_shared.py +++ b/src/azure-cli-core/azure/cli/core/profiles/_shared.py @@ -212,7 +212,7 @@ def default_api_version(self): ResourceType.MGMT_SERVICEBUS: None, ResourceType.MGMT_EVENTHUB: None, ResourceType.MGMT_MONITOR: None, - ResourceType.MGMT_MSI: '2023-01-31', + ResourceType.MGMT_MSI: '2024-11-30', ResourceType.MGMT_APPSERVICE: '2024-11-01', ResourceType.MGMT_IOTHUB: None, ResourceType.MGMT_IOTDPS: None, From 146ce49e30579d537230632647ac081257b51f60 Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Thu, 30 Oct 2025 13:03:32 -0700 Subject: [PATCH 21/37] resolve comments --- .../azure/cli/core/profiles/_shared.py | 2 +- .../cli/command_modules/identity/_help.py | 4 ++-- .../cli/command_modules/identity/_params.py | 4 ++-- .../cli/command_modules/identity/custom.py | 12 ++++++------ .../identity/tests/latest/test_identity.py | 18 +++++++++--------- src/azure-cli/requirements.py3.Darwin.txt | 2 +- src/azure-cli/requirements.py3.Linux.txt | 2 +- src/azure-cli/requirements.py3.windows.txt | 2 +- src/azure-cli/setup.py | 2 +- 9 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/azure-cli-core/azure/cli/core/profiles/_shared.py b/src/azure-cli-core/azure/cli/core/profiles/_shared.py index eac9c061d11..1476b9f92c0 100644 --- a/src/azure-cli-core/azure/cli/core/profiles/_shared.py +++ b/src/azure-cli-core/azure/cli/core/profiles/_shared.py @@ -212,7 +212,7 @@ def default_api_version(self): ResourceType.MGMT_SERVICEBUS: None, ResourceType.MGMT_EVENTHUB: None, ResourceType.MGMT_MONITOR: None, - ResourceType.MGMT_MSI: '2024-11-30', + ResourceType.MGMT_MSI: '2023-01-31', ResourceType.MGMT_APPSERVICE: '2024-11-01', ResourceType.MGMT_IOTHUB: None, ResourceType.MGMT_IOTDPS: None, diff --git a/src/azure-cli/azure/cli/command_modules/identity/_help.py b/src/azure-cli/azure/cli/command_modules/identity/_help.py index 893a17a5c00..d6a6820e970 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/_help.py +++ b/src/azure-cli/azure/cli/command_modules/identity/_help.py @@ -22,7 +22,7 @@ - name: Create an identity with resource assignment restrictions. text: | - az identity create --name MyIdentity --resource-group MyResourceGroup --assignment-restriction '{"providers": ["Microsoft.Compute", "Microsoft.Storage/Accounts"]}' + az identity create --name MyIdentity --resource-group MyResourceGroup --resource-restriction '{"providers": ["Microsoft.Compute", "Microsoft.Storage/Accounts"]}' """ helps['identity update'] = """ @@ -31,7 +31,7 @@ examples: - name: Update an identity to restrict assignment to specific resources. text: | - az identity update --name MyIdentity --resource-group MyResourceGroup --assignment-restriction '{"providers": ["Microsoft.Compute", "Microsoft.Storage/Accounts"]}' + az identity update --name MyIdentity --resource-group MyResourceGroup --resource-restriction '{"providers": ["Microsoft.Compute", "Microsoft.Storage/Accounts"]}' """ helps['identity list'] = """ diff --git a/src/azure-cli/azure/cli/command_modules/identity/_params.py b/src/azure-cli/azure/cli/command_modules/identity/_params.py index 27da1bc14be..92c70405997 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/_params.py +++ b/src/azure-cli/azure/cli/command_modules/identity/_params.py @@ -20,8 +20,8 @@ def load_arguments(self, _): with self.argument_context('identity create') as c: c.argument('location', get_location_type(self.cli_ctx), required=False) c.argument('tags', tags_type) - c.argument('assignment_restriction', required=False, help='Identity assignment restriction, used to restrict the resources that can be assigned to the identity.') + c.argument('resource_restriction', help='Identity resource restriction, used to restrict the resources that can be assigned to the identity.') with self.argument_context('identity update') as c: c.argument('tags', tags_type) - c.argument('assignment_restriction', required=False, help='Identity assignment restriction, used to restrict the resources that can be assigned to the identity.') + c.argument('resource_restriction', help='Identity resource restriction, used to restrict the resources that can be assigned to the identity.') diff --git a/src/azure-cli/azure/cli/command_modules/identity/custom.py b/src/azure-cli/azure/cli/command_modules/identity/custom.py index 4fc65a1c391..a026b50e274 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/custom.py +++ b/src/azure-cli/azure/cli/command_modules/identity/custom.py @@ -11,24 +11,24 @@ def list_user_assigned_identities(cmd, resource_group_name=None): return client.user_assigned_identities.list_by_subscription() -def create_identity(client, resource_group_name, resource_name, location, tags=None, assignment_restriction=None): +def create_identity(client, resource_group_name, resource_name, location, tags=None, resource_restriction=None): parameters = {} parameters['location'] = location if tags is not None: parameters['tags'] = tags - if assignment_restriction is not None: - parameters['assignmentRestriction'] = assignment_restriction + if resource_restriction is not None: + parameters['resourceRestriction'] = resource_restriction return client.create_or_update(resource_group_name=resource_group_name, resource_name=resource_name, parameters=parameters) -def update_identity(instance, tags=None, assignment_restriction=None): +def update_identity(instance, tags=None, resource_restriction=None): parameters = {} if tags is not None: parameters['tags'] = tags - if assignment_restriction is not None: - parameters['assignmentRestriction'] = assignment_restriction or instance.assignment_restriction + if resource_restriction is not None: + parameters['resourceRestriction'] = resource_restriction or instance.resource_restriction return parameters diff --git a/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py b/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py index 847f8fb4700..e90c4352ad3 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py +++ b/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py @@ -15,8 +15,8 @@ class TestIdentity(ScenarioTest): def test_identity_management(self, resource_group): self.kwargs.update({ 'identity': 'myidentity', - 'assignment_restriction_compute': '\{"providers":\["Microsoft.Compute"\]\}', - 'assignment_restriction_empty': '\{"providers":\[\]\}' + 'resource_restriction_compute': '\{"providers":\["Microsoft.Compute"\]\}', + 'resource_restriction_empty': '\{"providers":\[\]\}' }) operations = self.cmd('identity list-operations').get_output_in_json() @@ -25,13 +25,13 @@ def test_identity_management(self, resource_group): self.cmd('identity create -n {identity} -g {rg}', checks=[ self.check('name', '{identity}'), self.check('resourceGroup', '{rg}'), - self.check('assignmentRestriction', None) + self.check('resourceRestriction', None) ]) - self.cmd('identity update -n {identity} -g {rg} --assignment-restriction {assignment_restriction_compute}', checks=[ + self.cmd('identity update -n {identity} -g {rg} --resource-restriction {resource_restriction_compute}', checks=[ self.check('name', '{identity}'), self.check('resourceGroup', '{rg}'), - self.check('assignmentRestriction.providers[0]', 'Microsoft.Compute') + self.check('resourceRestriction.providers[0]', 'Microsoft.Compute') ]) self.cmd('identity list-resources -g {rg} -n {identity}') @@ -39,16 +39,16 @@ def test_identity_management(self, resource_group): self.cmd('identity list -g {rg}', checks=self.check('length(@)', 1)) self.cmd('identity delete -n {identity} -g {rg}') - self.cmd('identity create -n {identity} -g {rg} --assignment-restriction {assignment_restriction_compute}', checks=[ + self.cmd('identity create -n {identity} -g {rg} --resource-restriction {resource_restriction_compute}', checks=[ self.check('name', '{identity}'), self.check('resourceGroup', '{rg}'), - self.check('assignmentRestriction.providers[0]', 'Microsoft.Compute') + self.check('resourceRestriction.providers[0]', 'Microsoft.Compute') ]) - self.cmd('identity update -n {identity} -g {rg} --assignment-restriction {assignment_restriction_empty}', checks=[ + self.cmd('identity update -n {identity} -g {rg} --resource-restriction {resource_restriction_empty}', checks=[ self.check('name', '{identity}'), self.check('resourceGroup', '{rg}'), - self.check('assignmentRestriction.providers', []) + self.check('resourceRestriction.providers', []) ]) @ResourceGroupPreparer(name_prefix='cli_test_federated_identity_credential_', location='centraluseuap') diff --git a/src/azure-cli/requirements.py3.Darwin.txt b/src/azure-cli/requirements.py3.Darwin.txt index 05c1bb0fb55..a7ec9ec78c1 100644 --- a/src/azure-cli/requirements.py3.Darwin.txt +++ b/src/azure-cli/requirements.py3.Darwin.txt @@ -53,7 +53,7 @@ azure-mgmt-maps==2.0.0 azure-mgmt-marketplaceordering==1.1.0 azure-mgmt-media==9.0.0 azure-mgmt-monitor==7.0.0b1 -azure-mgmt-msi==7.1.0 +azure-mgmt-msi==7.0.0 azure-mgmt-netapp==10.1.0 azure-mgmt-policyinsights==1.1.0b4 azure-mgmt-postgresqlflexibleservers==1.1.0b2 diff --git a/src/azure-cli/requirements.py3.Linux.txt b/src/azure-cli/requirements.py3.Linux.txt index 947f301e4d4..a10eb3bc310 100644 --- a/src/azure-cli/requirements.py3.Linux.txt +++ b/src/azure-cli/requirements.py3.Linux.txt @@ -53,7 +53,7 @@ azure-mgmt-maps==2.0.0 azure-mgmt-marketplaceordering==1.1.0 azure-mgmt-media==9.0.0 azure-mgmt-monitor==7.0.0b1 -azure-mgmt-msi==7.1.0 +azure-mgmt-msi==7.0.0 azure-mgmt-netapp==10.1.0 azure-mgmt-policyinsights==1.1.0b4 azure-mgmt-postgresqlflexibleservers==1.1.0b2 diff --git a/src/azure-cli/requirements.py3.windows.txt b/src/azure-cli/requirements.py3.windows.txt index c561d219fe4..cb883997073 100644 --- a/src/azure-cli/requirements.py3.windows.txt +++ b/src/azure-cli/requirements.py3.windows.txt @@ -53,7 +53,7 @@ azure-mgmt-maps==2.0.0 azure-mgmt-marketplaceordering==1.1.0 azure-mgmt-media==9.0.0 azure-mgmt-monitor==7.0.0b1 -azure-mgmt-msi==7.1.0 +azure-mgmt-msi==7.0.0 azure-mgmt-netapp==10.1.0 azure-mgmt-policyinsights==1.1.0b4 azure-mgmt-postgresqlflexibleservers==1.1.0b2 diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index bb9f8514b4c..be7ef4777d8 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -97,7 +97,7 @@ 'azure-mgmt-marketplaceordering==1.1.0', 'azure-mgmt-media~=9.0', 'azure-mgmt-monitor~=7.0.0b1', - 'azure-mgmt-msi~=7.1.0', + 'azure-mgmt-msi~=7.0.0', 'azure-mgmt-netapp~=10.1.0', 'azure-mgmt-policyinsights==1.1.0b4', 'azure-mgmt-postgresqlflexibleservers==1.1.0b2', From ebda9472087dcf0536005d93e4b99c203eb01c0b Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Thu, 30 Oct 2025 14:53:48 -0700 Subject: [PATCH 22/37] updated the yaml --- .../recordings/test_identity_management.yaml | 136 ++++++++++++------ 1 file changed, 92 insertions(+), 44 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/tests/latest/recordings/test_identity_management.yaml b/src/azure-cli/azure/cli/command_modules/identity/tests/latest/recordings/test_identity_management.yaml index 5bf401e8f40..f821d52c8c1 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/tests/latest/recordings/test_identity_management.yaml +++ b/src/azure-cli/azure/cli/command_modules/identity/tests/latest/recordings/test_identity_management.yaml @@ -11,7 +11,7 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0) method: GET uri: https://management.azure.com/providers/Microsoft.ManagedIdentity/operations?api-version=2023-01-31 response: @@ -59,7 +59,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Oct 2025 21:18:27 GMT + - Fri, 16 May 2025 05:47:09 GMT expires: - '-1' pragma: @@ -73,7 +73,7 @@ interactions: x-ms-operation-identifier: - '' x-msedge-ref: - - 'Ref A: D4D8CB46ABC04C75A7D9B7E05C0417C3 Ref B: MWH011020806054 Ref C: 2025-10-23T21:18:27Z' + - 'Ref A: E593170B9A3F4610B529E3C62C1FA347 Ref B: TYO201100114023 Ref C: 2025-05-16T05:47:09Z' status: code: 200 message: OK @@ -91,12 +91,12 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_identity_mgmt_000001?api-version=2024-11-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_identity_mgmt_000001","name":"cli_test_identity_mgmt_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_identity_management","date":"2025-10-23T21:18:25Z","module":"identity"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_identity_mgmt_000001","name":"cli_test_identity_mgmt_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","test":"test_identity_management","date":"2025-05-16T05:47:04Z","module":"identity"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -105,7 +105,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Oct 2025 21:18:27 GMT + - Fri, 16 May 2025 05:47:09 GMT expires: - '-1' pragma: @@ -117,9 +117,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '3749' x-msedge-ref: - - 'Ref A: FF0F60AC3A64418482C030F2B6851A10 Ref B: MWH011020807040 Ref C: 2025-10-23T21:18:28Z' + - 'Ref A: 5308D895DBA54C31A6CC6E459EAE08DF Ref B: TYO201151004029 Ref C: 2025-05-16T05:47:09Z' status: code: 200 message: OK @@ -141,12 +141,12 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity?api-version=2023-01-31 response: body: - string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity","name":"myidentity","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"4cdbea58-00f3-4ca7-9f28-86e4ceb1a162","clientId":"66d17b67-7852-4d4c-8100-e7ccdc30398c"}}' + string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity","name":"myidentity","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"38eac2d9-6dd6-4e7b-b8e8-acb85e6bbd8b","clientId":"c8ae5cba-7e05-46af-8b5e-6440546db094"}}' headers: cache-control: - no-cache @@ -155,7 +155,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 23 Oct 2025 21:18:29 GMT + - Fri, 16 May 2025 05:47:13 GMT expires: - '-1' location: @@ -169,13 +169,13 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/f9d97c78-876c-4c09-a108-c4e31a8c259e + - tenantId=54826b22-38d6-4fb2-bad9-b7b93a3e9c5a,objectId=d44a2991-98c6-47c3-b59b-2b30d72cfcc2/japanwest/7d2aa4d2-8eca-4684-aabe-da6ccd0394bd x-ms-ratelimit-remaining-subscription-global-writes: - - '11999' + - '2999' x-ms-ratelimit-remaining-subscription-writes: - - '799' + - '199' x-msedge-ref: - - 'Ref A: FE7BAA84E063468DB5BB6A7368C52926 Ref B: MWH011020809052 Ref C: 2025-10-23T21:18:28Z' + - 'Ref A: 3F1979946A524433B5AB23906EAFF0B2 Ref B: TYO201100114047 Ref C: 2025-05-16T05:47:10Z' status: code: 201 message: Created @@ -187,27 +187,77 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - identity update + - identity list-resources + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity/listAssociatedResources?api-version=2022-01-31-preview + response: + body: + string: '{"totalCount":0,"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '27' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 16 May 2025 05:47:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-operation-identifier: + - tenantId=54826b22-38d6-4fb2-bad9-b7b93a3e9c5a,objectId=d44a2991-98c6-47c3-b59b-2b30d72cfcc2/japanwest/2ab33c90-6b74-4bba-9b50-84ab24bd8a4c + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 337030546B1F4E44B2DCF7EB9272B02B Ref B: TYO201151006062 Ref C: 2025-05-16T05:47:13Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - identity list Connection: - keep-alive ParameterSetName: - - -n -g --assignment-restriction + - -g User-Agent: - - AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity?api-version=2023-01-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities?api-version=2023-01-31 response: body: - string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity","name":"myidentity","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"4cdbea58-00f3-4ca7-9f28-86e4ceb1a162","clientId":"66d17b67-7852-4d4c-8100-e7ccdc30398c"}}' + string: '{"value":[{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity","name":"myidentity","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"38eac2d9-6dd6-4e7b-b8e8-acb85e6bbd8b","clientId":"c8ae5cba-7e05-46af-8b5e-6440546db094"}}]}' headers: cache-control: - no-cache content-length: - - '451' + - '463' content-type: - application/json; charset=utf-8 date: - - Thu, 23 Oct 2025 21:18:29 GMT + - Fri, 16 May 2025 05:47:16 GMT expires: - '-1' pragma: @@ -218,46 +268,44 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-original-request-ids: + - '' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '3749' x-msedge-ref: - - 'Ref A: FD113BE9B21C42CEA3884C783DA9E6D0 Ref B: MWH011020808054 Ref C: 2025-10-23T21:18:29Z' + - 'Ref A: E1DC8F57D8DD4857A692236A332DD1C4 Ref B: TYO201151005040 Ref C: 2025-05-16T05:47:16Z' status: code: 200 message: OK - request: - body: '{}' + body: null headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - identity update + - identity delete Connection: - keep-alive Content-Length: - - '2' - Content-Type: - - application/json + - '0' ParameterSetName: - - -n -g --assignment-restriction + - -n -g User-Agent: - - AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) - method: PATCH + - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0) + method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity?api-version=2023-01-31 response: body: - string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_identity_mgmt_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity","name":"myidentity","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"4cdbea58-00f3-4ca7-9f28-86e4ceb1a162","clientId":"66d17b67-7852-4d4c-8100-e7ccdc30398c"}}' + string: '' headers: cache-control: - no-cache content-length: - - '451' - content-type: - - application/json; charset=utf-8 + - '0' date: - - Thu, 23 Oct 2025 21:18:29 GMT + - Fri, 16 May 2025 05:47:25 GMT expires: - '-1' pragma: @@ -269,14 +317,14 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/05521981-31a8-449f-9306-0e73594d52f0 - x-ms-ratelimit-remaining-subscription-global-writes: - - '11999' - x-ms-ratelimit-remaining-subscription-writes: - - '799' + - tenantId=54826b22-38d6-4fb2-bad9-b7b93a3e9c5a,objectId=d44a2991-98c6-47c3-b59b-2b30d72cfcc2/japanwest/a1ff696a-766d-4f72-b2b6-ebe7a223f99d + x-ms-ratelimit-remaining-subscription-deletes: + - '199' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '2999' x-msedge-ref: - - 'Ref A: 2A9D3092A7774D2DBA21309242E88E5A Ref B: MWH011020808023 Ref C: 2025-10-23T21:18:29Z' + - 'Ref A: 9D0CBCB4F80F4D109F7857706CB16A51 Ref B: TYO201151002029 Ref C: 2025-05-16T05:47:17Z' status: code: 200 message: OK -version: 1 +version: 1 \ No newline at end of file From af19c2217de42b6fe67524ce8fd79d83baa823cb Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Sun, 2 Nov 2025 21:17:33 -0800 Subject: [PATCH 23/37] Updated the aaz files --- .../identity/aaz/latest/identity/__init__.py | 4 + .../identity/aaz/latest/identity/_create.py | 309 ++++++++++++ .../identity/aaz/latest/identity/_delete.py | 136 ++++++ .../identity/aaz/latest/identity/_show.py | 230 +++++++++ .../identity/aaz/latest/identity/_update.py | 453 ++++++++++++++++++ .../cli/command_modules/identity/commands.py | 2 - 6 files changed, 1132 insertions(+), 2 deletions(-) create mode 100644 src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py create mode 100644 src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_delete.py create mode 100644 src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_show.py create mode 100644 src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__init__.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__init__.py index 5a9d61963d6..a3db3e36481 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__init__.py +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__init__.py @@ -9,3 +9,7 @@ # flake8: noqa from .__cmd_group import * +from ._create import * +from ._delete import * +from ._show import * +from ._update import * diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py new file mode 100644 index 00000000000..a08e2aa714b --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.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( + "identity create", +) +class Create(AAZCommand): + """Create an identity in the specified subscription and resource group. + """ + + _aaz_info = { + "version": "2025-05-31-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managedidentity/userassignedidentities/{}", "2025-05-31-preview"], + ] + } + + 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.resource_group = AAZResourceGroupNameArg( + required=True, + ) + _args_schema.resource_name = AAZStrArg( + options=["-n", "--name", "--resource-name"], + help="The name of the identity resource.", + required=True, + ) + + # define Arg Group "Parameters" + + _args_schema = cls._args_schema + _args_schema.location = AAZResourceLocationArg( + arg_group="Parameters", + help="The geo-location where the resource lives", + required=True, + fmt=AAZResourceLocationArgFormat( + resource_group_arg="resource_group", + ), + ) + _args_schema.tags = AAZDictArg( + options=["--tags"], + arg_group="Parameters", + help="Resource tags.", + ) + + tags = cls._args_schema.tags + tags.Element = AAZStrArg() + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.assignment_restrictions = AAZObjectArg( + options=["--resource-restriction"], + arg_group="Properties", + help="Restrictions on which resource providers this identity can be assigned to.", + ) + _args_schema.isolation_scope = AAZStrArg( + options=["--isolation-scope"], + arg_group="Properties", + help="Enum to configure regional restrictions on identity assignment, as necessary.", + enum={"None": "None", "Regional": "Regional"}, + ) + + assignment_restrictions = cls._args_schema.assignment_restrictions + assignment_restrictions.providers = AAZListArg( + options=["providers"], + help="List of resource provider types that this identity can be assigned to (case-insensitive). Examples: 'Microsoft.Compute', 'Microsoft.Storage/Accounts', 'Microsoft.Network/VirtualNetworks'.", + fmt=AAZListArgFormat( + unique=True, + ), + ) + + providers = cls._args_schema.assignment_restrictions.providers + providers.Element = AAZStrArg() + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.UserAssignedIdentitiesCreateOrUpdate(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 UserAssignedIdentitiesCreateOrUpdate(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, 201]: + return self.on_200_201(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @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( + "resourceName", self.ctx.args.resource_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", "2025-05-31-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("location", AAZStrType, ".location", typ_kwargs={"flags": {"required": True}}) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("tags", AAZDictType, ".tags") + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("assignmentRestrictions", AAZObjectType, ".assignment_restrictions") + properties.set_prop("isolationScope", AAZStrType, ".isolation_scope") + + assignment_restrictions = _builder.get(".properties.assignmentRestrictions") + if assignment_restrictions is not None: + assignment_restrictions.set_prop("providers", AAZListType, ".providers") + + providers = _builder.get(".properties.assignmentRestrictions.providers") + if providers is not None: + providers.set_elements(AAZStrType, ".") + + tags = _builder.get(".tags") + if tags is not None: + tags.set_elements(AAZStrType, ".") + + return self.serialize_content(_content_value) + + def on_200_201(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200_201 + ) + + _schema_on_200_201 = None + + @classmethod + def _build_schema_on_200_201(cls): + if cls._schema_on_200_201 is not None: + return cls._schema_on_200_201 + + cls._schema_on_200_201 = AAZObjectType() + + _schema_on_200_201 = cls._schema_on_200_201 + _schema_on_200_201.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200_201.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200_201.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200_201.tags = AAZDictType() + _schema_on_200_201.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200_201.properties + properties.assignment_restrictions = AAZObjectType( + serialized_name="assignmentRestrictions", + ) + properties.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + properties.isolation_scope = AAZStrType( + serialized_name="isolationScope", + ) + properties.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + properties.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + + assignment_restrictions = cls._schema_on_200_201.properties.assignment_restrictions + assignment_restrictions.providers = AAZListType() + + providers = cls._schema_on_200_201.properties.assignment_restrictions.providers + providers.Element = AAZStrType() + + system_data = cls._schema_on_200_201.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200_201.tags + tags.Element = AAZStrType() + + return cls._schema_on_200_201 + + +class _CreateHelper: + """Helper class for Create""" + + +__all__ = ["Create"] diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_delete.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_delete.py new file mode 100644 index 00000000000..5458411687e --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_delete.py @@ -0,0 +1,136 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "identity delete", + confirmation="Are you sure you want to perform this operation?", +) +class Delete(AAZCommand): + """Delete the identity. + """ + + _aaz_info = { + "version": "2025-05-31-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managedidentity/userassignedidentities/{}", "2025-05-31-preview"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return 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.resource_group = AAZResourceGroupNameArg( + required=True, + ) + _args_schema.resource_name = AAZStrArg( + options=["-n", "--name", "--resource-name"], + help="The name of the identity resource.", + required=True, + id_part="name", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.UserAssignedIdentitiesDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class UserAssignedIdentitiesDelete(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) + if session.http_response.status_code in [204]: + return self.on_204(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}", + **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( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "resourceName", self.ctx.args.resource_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", "2025-05-31-preview", + 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/identity/aaz/latest/identity/_show.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_show.py new file mode 100644 index 00000000000..bcdfa2d9cd9 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_show.py @@ -0,0 +1,230 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "identity show", +) +class Show(AAZCommand): + """Get the identity. + """ + + _aaz_info = { + "version": "2025-05-31-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managedidentity/userassignedidentities/{}", "2025-05-31-preview"], + ] + } + + 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.resource_group = AAZResourceGroupNameArg( + required=True, + ) + _args_schema.resource_name = AAZStrArg( + options=["-n", "--name", "--resource-name"], + help="The name of the identity resource.", + required=True, + id_part="name", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.UserAssignedIdentitiesGet(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 UserAssignedIdentitiesGet(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.ManagedIdentity/userAssignedIdentities/{resourceName}", + **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( + "resourceName", self.ctx.args.resource_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", "2025-05-31-preview", + 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.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.assignment_restrictions = AAZObjectType( + serialized_name="assignmentRestrictions", + ) + properties.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + properties.isolation_scope = AAZStrType( + serialized_name="isolationScope", + ) + properties.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + properties.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + + assignment_restrictions = cls._schema_on_200.properties.assignment_restrictions + assignment_restrictions.providers = AAZListType() + + providers = cls._schema_on_200.properties.assignment_restrictions.providers + providers.Element = AAZStrType() + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + +__all__ = ["Show"] diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py new file mode 100644 index 00000000000..092723bd88e --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py @@ -0,0 +1,453 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "identity update", +) +class Update(AAZCommand): + """Update an identity in the specified subscription and resource group. + """ + + _aaz_info = { + "version": "2025-05-31-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managedidentity/userassignedidentities/{}", "2025-05-31-preview"], + ] + } + + AZ_SUPPORT_GENERIC_UPDATE = True + + 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.resource_group = AAZResourceGroupNameArg( + required=True, + ) + _args_schema.resource_name = AAZStrArg( + options=["-n", "--name", "--resource-name"], + help="The name of the identity resource.", + required=True, + id_part="name", + ) + + # define Arg Group "Parameters" + + _args_schema = cls._args_schema + _args_schema.tags = AAZDictArg( + options=["--tags"], + arg_group="Parameters", + help="Resource tags.", + nullable=True, + ) + + tags = cls._args_schema.tags + tags.Element = AAZStrArg( + nullable=True, + ) + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.assignment_restrictions = AAZObjectArg( + options=["--resource-restriction"], + arg_group="Properties", + help="Restrictions on which resource providers this identity can be assigned to.", + nullable=True, + ) + _args_schema.isolation_scope = AAZStrArg( + options=["--isolation-scope"], + arg_group="Properties", + help="Enum to configure regional restrictions on identity assignment, as necessary.", + nullable=True, + enum={"None": "None", "Regional": "Regional"}, + ) + + assignment_restrictions = cls._args_schema.assignment_restrictions + assignment_restrictions.providers = AAZListArg( + options=["providers"], + help="List of resource provider types that this identity can be assigned to (case-insensitive). Examples: 'Microsoft.Compute', 'Microsoft.Storage/Accounts', 'Microsoft.Network/VirtualNetworks'.", + nullable=True, + fmt=AAZListArgFormat( + unique=True, + ), + ) + + providers = cls._args_schema.assignment_restrictions.providers + providers.Element = AAZStrArg( + nullable=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.UserAssignedIdentitiesGet(ctx=self.ctx)() + self.pre_instance_update(self.ctx.vars.instance) + self.InstanceUpdateByJson(ctx=self.ctx)() + self.InstanceUpdateByGeneric(ctx=self.ctx)() + self.post_instance_update(self.ctx.vars.instance) + self.UserAssignedIdentitiesCreateOrUpdate(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + @register_callback + def pre_instance_update(self, instance): + pass + + @register_callback + def post_instance_update(self, instance): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class UserAssignedIdentitiesGet(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.ManagedIdentity/userAssignedIdentities/{resourceName}", + **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( + "resourceName", self.ctx.args.resource_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", "2025-05-31-preview", + 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() + _UpdateHelper._build_schema_identity_read(cls._schema_on_200) + + return cls._schema_on_200 + + class UserAssignedIdentitiesCreateOrUpdate(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, 201]: + return self.on_200_201(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @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( + "resourceName", self.ctx.args.resource_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", "2025-05-31-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + value=self.ctx.vars.instance, + ) + + return self.serialize_content(_content_value) + + def on_200_201(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200_201 + ) + + _schema_on_200_201 = None + + @classmethod + def _build_schema_on_200_201(cls): + if cls._schema_on_200_201 is not None: + return cls._schema_on_200_201 + + cls._schema_on_200_201 = AAZObjectType() + _UpdateHelper._build_schema_identity_read(cls._schema_on_200_201) + + return cls._schema_on_200_201 + + class InstanceUpdateByJson(AAZJsonInstanceUpdateOperation): + + def __call__(self, *args, **kwargs): + self._update_instance(self.ctx.vars.instance) + + def _update_instance(self, instance): + _instance_value, _builder = self.new_content_builder( + self.ctx.args, + value=instance, + typ=AAZObjectType + ) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("tags", AAZDictType, ".tags") + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("assignmentRestrictions", AAZObjectType, ".assignment_restrictions") + properties.set_prop("isolationScope", AAZStrType, ".isolation_scope") + + assignment_restrictions = _builder.get(".properties.assignmentRestrictions") + if assignment_restrictions is not None: + assignment_restrictions.set_prop("providers", AAZListType, ".providers") + + providers = _builder.get(".properties.assignmentRestrictions.providers") + if providers is not None: + providers.set_elements(AAZStrType, ".") + + tags = _builder.get(".tags") + if tags is not None: + tags.set_elements(AAZStrType, ".") + + return _instance_value + + class InstanceUpdateByGeneric(AAZGenericInstanceUpdateOperation): + + def __call__(self, *args, **kwargs): + self._update_instance_by_generic( + self.ctx.vars.instance, + self.ctx.generic_update_args + ) + + +class _UpdateHelper: + """Helper class for Update""" + + _schema_identity_read = None + + @classmethod + def _build_schema_identity_read(cls, _schema): + if cls._schema_identity_read is not None: + _schema.id = cls._schema_identity_read.id + _schema.location = cls._schema_identity_read.location + _schema.name = cls._schema_identity_read.name + _schema.properties = cls._schema_identity_read.properties + _schema.system_data = cls._schema_identity_read.system_data + _schema.tags = cls._schema_identity_read.tags + _schema.type = cls._schema_identity_read.type + return + + cls._schema_identity_read = _schema_identity_read = AAZObjectType() + + identity_read = _schema_identity_read + identity_read.id = AAZStrType( + flags={"read_only": True}, + ) + identity_read.location = AAZStrType( + flags={"required": True}, + ) + identity_read.name = AAZStrType( + flags={"read_only": True}, + ) + identity_read.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + identity_read.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + identity_read.tags = AAZDictType() + identity_read.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = _schema_identity_read.properties + properties.assignment_restrictions = AAZObjectType( + serialized_name="assignmentRestrictions", + ) + properties.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + properties.isolation_scope = AAZStrType( + serialized_name="isolationScope", + ) + properties.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + properties.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + + assignment_restrictions = _schema_identity_read.properties.assignment_restrictions + assignment_restrictions.providers = AAZListType() + + providers = _schema_identity_read.properties.assignment_restrictions.providers + providers.Element = AAZStrType() + + system_data = _schema_identity_read.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = _schema_identity_read.tags + tags.Element = AAZStrType() + + _schema.id = cls._schema_identity_read.id + _schema.location = cls._schema_identity_read.location + _schema.name = cls._schema_identity_read.name + _schema.properties = cls._schema_identity_read.properties + _schema.system_data = cls._schema_identity_read.system_data + _schema.tags = cls._schema_identity_read.tags + _schema.type = cls._schema_identity_read.type + + +__all__ = ["Update"] diff --git a/src/azure-cli/azure/cli/command_modules/identity/commands.py b/src/azure-cli/azure/cli/command_modules/identity/commands.py index 559b99fd221..861e1e6cc19 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/commands.py +++ b/src/azure-cli/azure/cli/command_modules/identity/commands.py @@ -21,8 +21,6 @@ def load_command_table(self, _): client_factory=_msi_operations_operations ) with self.command_group('identity', identity_sdk, client_factory=_msi_user_identities_operations) as g: - g.custom_command('create', 'create_identity', validator=process_msi_namespace) - g.generic_update_command('update', setter_name="update", custom_func_name='update_identity') g.show_command('show', 'get') g.command('delete', 'delete') g.custom_command('list', 'list_user_assigned_identities') From 59a4c0de1a7b0ddec2314e1210e399b87f40e874 Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Mon, 3 Nov 2025 11:15:53 -0800 Subject: [PATCH 24/37] Updated the aaz files --- .../command_modules/identity/aaz/latest/identity/__cmd_group.py | 2 +- src/azure-cli/azure/cli/command_modules/identity/commands.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__cmd_group.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__cmd_group.py index 4288cd3bded..c64b4d3056b 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__cmd_group.py +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__cmd_group.py @@ -15,7 +15,7 @@ "identity", ) class __CMDGroup(AAZCommandGroup): - """Manage Identity + """Manage Managed Identity """ pass diff --git a/src/azure-cli/azure/cli/command_modules/identity/commands.py b/src/azure-cli/azure/cli/command_modules/identity/commands.py index 861e1e6cc19..024881303bb 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/commands.py +++ b/src/azure-cli/azure/cli/command_modules/identity/commands.py @@ -7,8 +7,6 @@ from ._client_factory import _msi_user_identities_operations, _msi_operations_operations -from ._validators import process_msi_namespace - def load_command_table(self, _): From 078b3ce95e7a30b4f40c422d02d5008c9a00faaf Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Mon, 3 Nov 2025 13:18:56 -0800 Subject: [PATCH 25/37] Updated the command examples --- .../command_modules/identity/aaz/latest/identity/_create.py | 6 ++++++ .../command_modules/identity/aaz/latest/identity/_update.py | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py index a08e2aa714b..8b8095dc387 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_create.py @@ -16,6 +16,12 @@ ) class Create(AAZCommand): """Create an identity in the specified subscription and resource group. + + :example: Create an identity with a name and a resource group. + az identity create --name myIdentityName --resource-group myResourceGroup + + :example: Create an identity using the resource restrictions and isolation scope parameter. + az identity create --name myIdentityName --resource-group myResourceGroup --resource-restriction {"providers":["Microsoft.Compute"]} --isolation-scope Regional """ _aaz_info = { diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py index 092723bd88e..32f35b32a7a 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py @@ -16,6 +16,12 @@ ) class Update(AAZCommand): """Update an identity in the specified subscription and resource group. + + :example: Update an identity's isolation scope with a name and resource group. + az identity update --name myIdentityName --resource-group myResourceGroup --isolation-scope None + + :example: Update an identity using the resource restrictions and isolation scope parameter. + az identity update --name myIdentityName --resource-group myResourceGroup --resource-restriction {"providers":["Microsoft.Storage"]} --isolation-scope Regional """ _aaz_info = { From 49f48889a7d5ac6915c9f024add6fda3e22584de Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Mon, 15 Dec 2025 13:25:40 -0800 Subject: [PATCH 26/37] Fixed style issue --- src/azure-cli/azure/cli/command_modules/identity/commands.py | 4 ++-- src/azure-cli/azure/cli/command_modules/identity/custom.py | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/commands.py b/src/azure-cli/azure/cli/command_modules/identity/commands.py index a87bd9172a2..cec6024da8e 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/commands.py +++ b/src/azure-cli/azure/cli/command_modules/identity/commands.py @@ -19,8 +19,8 @@ def load_command_table(self, _): client_factory=_msi_operations_operations ) with self.command_group('identity', identity_sdk, client_factory=_msi_user_identities_operations) as g: - #g.custom_command('create', 'create_identity', validator=process_msi_namespace) - #g.generic_update_command('update', setter_name="update", custom_func_name='update_identity') + # g.custom_command('create', 'create_identity', validator=process_msi_namespace) + # g.generic_update_command('update', setter_name="update", custom_func_name='update_identity') g.show_command('show', 'get') g.command('delete', 'delete') g.custom_command('list', 'list_user_assigned_identities') diff --git a/src/azure-cli/azure/cli/command_modules/identity/custom.py b/src/azure-cli/azure/cli/command_modules/identity/custom.py index daca83ad0cd..78c75c53578 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/custom.py +++ b/src/azure-cli/azure/cli/command_modules/identity/custom.py @@ -29,13 +29,12 @@ def update_identity(instance, tags=None, isolation_scope=None, resource_restrict parameters = {} if tags is not None: parameters['tags'] = tags - parameters['isolationScope'] = isolation_scope or instance.isolation_scope - if resource_restriction is not None: parameters['resourceRestriction'] = resource_restriction or instance.resource_restriction return parameters + def list_identity_resources(cmd, resource_group_name, resource_name): from azure.cli.command_modules.identity._client_factory import _msi_list_resources_client client = _msi_list_resources_client(cmd.cli_ctx) From 3450a3d1d1fa9a1125df7adcce3ac28b5eb41209 Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Mon, 15 Dec 2025 14:32:58 -0800 Subject: [PATCH 27/37] Fixed style issue --- src/azure-cli/azure/cli/command_modules/identity/_help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/_help.py b/src/azure-cli/azure/cli/command_modules/identity/_help.py index 08b0df44783..f7cc3d08881 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/_help.py +++ b/src/azure-cli/azure/cli/command_modules/identity/_help.py @@ -36,7 +36,7 @@ - name: Update an identity to restrict assignment within an Azure region. text: | az identity update --name MyIdentity --resource-group MyResourceGroup --isolation-scope Regional - + - name: Update an identity to restrict assignment to specific resources. text: | az identity update --name MyIdentity --resource-group MyResourceGroup --resource-restriction '{"providers": ["Microsoft.Compute", "Microsoft.Storage/Accounts"]}' From 26175fabd395fc647aad7993471c77f99de8c950 Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Wed, 11 Mar 2026 23:09:08 -0700 Subject: [PATCH 28/37] Cleanup code --- .../azure/cli/command_modules/identity/_params.py | 4 +--- .../azure/cli/command_modules/identity/commands.py | 5 ++--- .../azure/cli/command_modules/identity/custom.py | 8 ++------ 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/_params.py b/src/azure-cli/azure/cli/command_modules/identity/_params.py index 0e33a63238a..19578ec3129 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/_params.py +++ b/src/azure-cli/azure/cli/command_modules/identity/_params.py @@ -21,9 +21,7 @@ def load_arguments(self, _): c.argument('location', get_location_type(self.cli_ctx), required=False) c.argument('tags', tags_type) c.argument('isolation_scope', get_enum_type(['None', 'Regional']), required=False, help='Identity isolation scope, used to restrict identity assignment within an Azure region.') - c.argument('resource_restriction', help='Identity resource restriction, used to restrict the resources that can be assigned to the identity.') with self.argument_context('identity update') as c: c.argument('tags', tags_type) - c.argument('isolation_scope', get_enum_type(['None', 'Regional']), required=False, help='Identity isolation scope, used to restrict identity assignment within an Azure region.') - c.argument('resource_restriction', help='Identity resource restriction, used to restrict the resources that can be assigned to the identity.') + c.argument('isolation_scope', get_enum_type(['None', 'Regional']), required=False, help='Identity isolation scope, used to restrict identity assignment within an Azure region.') \ No newline at end of file diff --git a/src/azure-cli/azure/cli/command_modules/identity/commands.py b/src/azure-cli/azure/cli/command_modules/identity/commands.py index cec6024da8e..c311e2c988a 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/commands.py +++ b/src/azure-cli/azure/cli/command_modules/identity/commands.py @@ -19,9 +19,8 @@ def load_command_table(self, _): client_factory=_msi_operations_operations ) with self.command_group('identity', identity_sdk, client_factory=_msi_user_identities_operations) as g: - # g.custom_command('create', 'create_identity', validator=process_msi_namespace) - # g.generic_update_command('update', setter_name="update", custom_func_name='update_identity') - g.show_command('show', 'get') + # Note: 'create', 'update', and 'show' commands are defined + # via AAZ generated code for the latest preview version. g.command('delete', 'delete') g.custom_command('list', 'list_user_assigned_identities') g.custom_command('list-resources', 'list_identity_resources', min_api='2021-09-30-preview') diff --git a/src/azure-cli/azure/cli/command_modules/identity/custom.py b/src/azure-cli/azure/cli/command_modules/identity/custom.py index 78c75c53578..47fe4504550 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/custom.py +++ b/src/azure-cli/azure/cli/command_modules/identity/custom.py @@ -11,27 +11,23 @@ def list_user_assigned_identities(cmd, resource_group_name=None): return client.user_assigned_identities.list_by_subscription() -def create_identity(client, resource_group_name, resource_name, location, tags=None, isolation_scope=None, resource_restriction=None): +def create_identity(client, resource_group_name, resource_name, location, tags=None, isolation_scope=None): parameters = {} parameters['location'] = location if tags is not None: parameters['tags'] = tags if isolation_scope is not None: parameters['isolationScope'] = isolation_scope - if resource_restriction is not None: - parameters['resourceRestriction'] = resource_restriction return client.create_or_update(resource_group_name=resource_group_name, resource_name=resource_name, parameters=parameters) -def update_identity(instance, tags=None, isolation_scope=None, resource_restriction=None): +def update_identity(instance, tags=None, isolation_scope=None): parameters = {} if tags is not None: parameters['tags'] = tags parameters['isolationScope'] = isolation_scope or instance.isolation_scope - if resource_restriction is not None: - parameters['resourceRestriction'] = resource_restriction or instance.resource_restriction return parameters From 93ff125bc30b4829079ba19f4906dafd035ceed2 Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Wed, 11 Mar 2026 23:18:06 -0700 Subject: [PATCH 29/37] Cleanup code --- src/azure-cli/azure/cli/command_modules/identity/_params.py | 2 +- src/azure-cli/azure/cli/command_modules/identity/custom.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/_params.py b/src/azure-cli/azure/cli/command_modules/identity/_params.py index 19578ec3129..c2c722403b6 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/_params.py +++ b/src/azure-cli/azure/cli/command_modules/identity/_params.py @@ -24,4 +24,4 @@ def load_arguments(self, _): with self.argument_context('identity update') as c: c.argument('tags', tags_type) - c.argument('isolation_scope', get_enum_type(['None', 'Regional']), required=False, help='Identity isolation scope, used to restrict identity assignment within an Azure region.') \ No newline at end of file + c.argument('isolation_scope', get_enum_type(['None', 'Regional']), required=False, help='Identity isolation scope, used to restrict identity assignment within an Azure region.') diff --git a/src/azure-cli/azure/cli/command_modules/identity/custom.py b/src/azure-cli/azure/cli/command_modules/identity/custom.py index 47fe4504550..af2bb327514 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/custom.py +++ b/src/azure-cli/azure/cli/command_modules/identity/custom.py @@ -3,6 +3,7 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- + def list_user_assigned_identities(cmd, resource_group_name=None): from azure.cli.command_modules.identity._client_factory import _msi_client_factory client = _msi_client_factory(cmd.cli_ctx) @@ -27,6 +28,7 @@ def update_identity(instance, tags=None, isolation_scope=None): parameters = {} if tags is not None: parameters['tags'] = tags + parameters['isolationScope'] = isolation_scope or instance.isolation_scope return parameters From 247c676fabadd407533ba996c69847a93c7d9e88 Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Wed, 11 Mar 2026 23:20:02 -0700 Subject: [PATCH 30/37] Cleanup code --- src/azure-cli/azure/cli/command_modules/identity/_params.py | 2 +- src/azure-cli/azure/cli/command_modules/identity/custom.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/_params.py b/src/azure-cli/azure/cli/command_modules/identity/_params.py index c2c722403b6..19578ec3129 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/_params.py +++ b/src/azure-cli/azure/cli/command_modules/identity/_params.py @@ -24,4 +24,4 @@ def load_arguments(self, _): with self.argument_context('identity update') as c: c.argument('tags', tags_type) - c.argument('isolation_scope', get_enum_type(['None', 'Regional']), required=False, help='Identity isolation scope, used to restrict identity assignment within an Azure region.') + c.argument('isolation_scope', get_enum_type(['None', 'Regional']), required=False, help='Identity isolation scope, used to restrict identity assignment within an Azure region.') \ No newline at end of file diff --git a/src/azure-cli/azure/cli/command_modules/identity/custom.py b/src/azure-cli/azure/cli/command_modules/identity/custom.py index af2bb327514..b85cf5fa7bf 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/custom.py +++ b/src/azure-cli/azure/cli/command_modules/identity/custom.py @@ -37,4 +37,4 @@ def list_identity_resources(cmd, resource_group_name, resource_name): from azure.cli.command_modules.identity._client_factory import _msi_list_resources_client client = _msi_list_resources_client(cmd.cli_ctx) return client.list_associated_resources(resource_group_name=resource_group_name, - resource_name=resource_name) + resource_name=resource_name) \ No newline at end of file From 9fb67e6a6ccd660f8bb7042c0b80d171c2a13e88 Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Wed, 11 Mar 2026 23:23:03 -0700 Subject: [PATCH 31/37] Style fix --- src/azure-cli/azure/cli/command_modules/identity/_params.py | 2 +- src/azure-cli/azure/cli/command_modules/identity/custom.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/_params.py b/src/azure-cli/azure/cli/command_modules/identity/_params.py index 19578ec3129..c2c722403b6 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/_params.py +++ b/src/azure-cli/azure/cli/command_modules/identity/_params.py @@ -24,4 +24,4 @@ def load_arguments(self, _): with self.argument_context('identity update') as c: c.argument('tags', tags_type) - c.argument('isolation_scope', get_enum_type(['None', 'Regional']), required=False, help='Identity isolation scope, used to restrict identity assignment within an Azure region.') \ No newline at end of file + c.argument('isolation_scope', get_enum_type(['None', 'Regional']), required=False, help='Identity isolation scope, used to restrict identity assignment within an Azure region.') diff --git a/src/azure-cli/azure/cli/command_modules/identity/custom.py b/src/azure-cli/azure/cli/command_modules/identity/custom.py index b85cf5fa7bf..af2bb327514 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/custom.py +++ b/src/azure-cli/azure/cli/command_modules/identity/custom.py @@ -37,4 +37,4 @@ def list_identity_resources(cmd, resource_group_name, resource_name): from azure.cli.command_modules.identity._client_factory import _msi_list_resources_client client = _msi_list_resources_client(cmd.cli_ctx) return client.list_associated_resources(resource_group_name=resource_group_name, - resource_name=resource_name) \ No newline at end of file + resource_name=resource_name) From 423f830101def5aa4a017b3b355ba33fe28408dd Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Thu, 12 Mar 2026 10:37:50 -0700 Subject: [PATCH 32/37] Add list apis --- .../aaz/latest/identity/__cmd_group.py | 2 +- .../identity/aaz/latest/identity/__init__.py | 1 + .../identity/aaz/latest/identity/_list.py | 399 ++++++++++++++++++ .../identity/aaz/latest/identity/_update.py | 2 +- .../cli/command_modules/identity/commands.py | 4 +- 5 files changed, 403 insertions(+), 5 deletions(-) create mode 100644 src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_list.py diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__cmd_group.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__cmd_group.py index c64b4d3056b..4288cd3bded 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__cmd_group.py +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__cmd_group.py @@ -15,7 +15,7 @@ "identity", ) class __CMDGroup(AAZCommandGroup): - """Manage Managed Identity + """Manage Identity """ pass diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__init__.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__init__.py index a3db3e36481..9cc1d36fc1d 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__init__.py +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__init__.py @@ -13,3 +13,4 @@ from ._delete import * from ._show import * from ._update import * +from ._list import * diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_list.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_list.py new file mode 100644 index 00000000000..fb0e4de9d09 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_list.py @@ -0,0 +1,399 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "identity list", +) +class List(AAZCommand): + """List all the userAssignedIdentities available under the subscription or specified ResourceGroup. + + :example: List user-assigned identities under a resource group. + az identity list --resource-group MyResourceGroup + + :example: List user-assigned identities under the current subscription. + az identity list + """ + + _aaz_info = { + "version": "2025-05-31-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.managedidentity/userassignedidentities", "2025-05-31-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.managedidentity/userassignedidentities", "2025-05-31-preview"], + ] + } + + 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.UserAssignedIdentitiesListByResourceGroup(ctx=self.ctx)() + if condition_1: + self.UserAssignedIdentitiesListBySubscription(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 UserAssignedIdentitiesListByResourceGroup(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.ManagedIdentity/userAssignedIdentities", + **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", "2025-05-31-preview", + 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.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.assignment_restrictions = AAZObjectType( + serialized_name="assignmentRestrictions", + ) + properties.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + properties.isolation_scope = AAZStrType( + serialized_name="isolationScope", + ) + properties.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + properties.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + + assignment_restrictions = cls._schema_on_200.value.Element.properties.assignment_restrictions + assignment_restrictions.providers = AAZListType() + + providers = cls._schema_on_200.value.Element.properties.assignment_restrictions.providers + providers.Element = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + class UserAssignedIdentitiesListBySubscription(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.ManagedIdentity/userAssignedIdentities", + **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", "2025-05-31-preview", + 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.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.assignment_restrictions = AAZObjectType( + serialized_name="assignmentRestrictions", + ) + properties.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + properties.isolation_scope = AAZStrType( + serialized_name="isolationScope", + ) + properties.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + properties.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + + assignment_restrictions = cls._schema_on_200.value.Element.properties.assignment_restrictions + assignment_restrictions.providers = AAZListType() + + providers = cls._schema_on_200.value.Element.properties.assignment_restrictions.providers + providers.Element = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.value.Element.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py index 32f35b32a7a..72d5fce419f 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_update.py @@ -240,7 +240,7 @@ def url(self): @property def method(self): - return "PUT" + return "PATCH" @property def error_format(self): diff --git a/src/azure-cli/azure/cli/command_modules/identity/commands.py b/src/azure-cli/azure/cli/command_modules/identity/commands.py index c311e2c988a..bd34c1fd696 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/commands.py +++ b/src/azure-cli/azure/cli/command_modules/identity/commands.py @@ -19,10 +19,8 @@ def load_command_table(self, _): client_factory=_msi_operations_operations ) with self.command_group('identity', identity_sdk, client_factory=_msi_user_identities_operations) as g: - # Note: 'create', 'update', and 'show' commands are defined + # Note: 'create', 'update', 'list', 'delete' and 'show' commands are defined # via AAZ generated code for the latest preview version. - g.command('delete', 'delete') - g.custom_command('list', 'list_user_assigned_identities') g.custom_command('list-resources', 'list_identity_resources', min_api='2021-09-30-preview') with self.command_group('identity', msi_operations_sdk, client_factory=_msi_operations_operations) as g: From e3cf3dc5e058060d06b0ba07ff979b1f1f3ae530 Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Mon, 20 Apr 2026 23:32:10 -0700 Subject: [PATCH 33/37] Updated the recordings --- .../latest/recordings/test_acr_abac_task.yaml | 6 +- .../test_acr_cache_managed_identity.yaml | 4 +- .../test_acr_encryption_with_cmk.yaml | 6 +- .../latest/recordings/test_acr_identity.yaml | 6 +- ..._control_plane_user_assigned_identity.yaml | 6 +- .../test_ams_add_user_identity.yaml | 2 +- .../recordings/test_azconfig_identity.yaml | 475 +++-- ...t_appservice_plan_identity_operations.yaml | 2 +- ..._appservice_plan_identity_set_default.yaml | 2 +- ...plan_managed_instance_with_identities.yaml | 2 +- ...test_functionapp_assign_user_identity.yaml | 2 +- .../test_functionapp_remove_identity.yaml | 4 +- .../test_webapp_hyperv_acr_use_identity.yaml | 860 ++++----- .../test_webapp_linux_acr_use_identity.yaml | 1606 +++++++++-------- .../recordings/test_backup_encryption.yaml | 8 +- .../recordings/test_backup_identity.yaml | 6 +- .../test_batch_managed_identity_cmd.yaml | 4 +- ...ation_bot_create_userassignedmsi_type.yaml | 392 ++-- .../test_container_create_with_msi.yaml | 337 ++-- .../test_container_export_with_identity.yaml | 352 ++-- ...ntainerapp_create_with_environment_id.yaml | 2 +- .../test_containerapp_create_with_yaml.yaml | 2 +- .../test_containerapp_identity_e2e.yaml | 2 +- .../test_containerapp_identity_user.yaml | 4 +- ...aljob_withidentity_crudoperations_e2e.yaml | 2 +- ...t_containerapp_registry_identity_user.yaml | 6 +- ...test_containerappjob_create_with_yaml.yaml | 2 +- ...ppjob_eventtriggered_create_with_yaml.yaml | 2 +- .../recordings/test_eh_create_update.yaml | 2 +- .../test_eh_namespace_encryption.yaml | 8 +- .../recordings/test_eh_namespace_msi.yaml | 10 +- .../test_federated_identity_credential.yaml | 236 ++- .../recordings/test_identity_management.yaml | 393 ++-- .../identity/tests/latest/test_identity.py | 10 +- .../recordings/test_hub_file_upload.yaml | 2 +- .../latest/recordings/test_identity_hub.yaml | 8 +- .../test_monitor_action_group_identity.yaml | 296 +-- .../test_mysql_flexible_server_byok_mgmt.yaml | 4 +- ...exible_server_identity_aad_admin_mgmt.yaml | 6 +- ...t_network_ag_listener_with_host_names.yaml | 2 +- ...st_network_app_gateway_with_cert_name.yaml | 2 +- .../test_network_express_route_port.yaml | 2 +- .../test_vnet_gateway_managed_identity.yaml | 4 +- .../test_vpn_connection_authentication.yaml | 2 +- ...est_postgres_flexible_server_cmk_mgmt.yaml | 2 +- ...r_identity_microsoft_entra_admin_mgmt.yaml | 4 +- ...ntity_microsoft_entra_admin_only_mgmt.yaml | 4 +- ...resource_policy_identity_userassigned.yaml | 294 +-- .../test_role_assignment_no_graph.yaml | 2 +- .../latest/recordings/test_sb_namespace.yaml | 4 +- .../test_sb_namespace_encryption.yaml | 8 +- .../recordings/test_sb_namespace_msi.yaml | 8 +- .../recordings/test_sql_per_db_cmk.yaml | 2 +- .../latest/recordings/test_sql_tdebyok.yaml | 2 +- .../test_sqlvm_aad_auth_negative.yaml | 4 +- ...t_user_assigned_identity_id_workspace.yaml | 8 +- .../recordings/test_defer_only_commands.yaml | 2 +- .../test_disk_encryption_set_identity.yaml | 4 +- ...t_guest_attestation_extension_and_msi.yaml | 2 +- .../test_image_build_managed_image.yaml | 2 +- .../test_image_build_output_versioning.yaml | 2 +- .../test_image_build_shared_image.yaml | 2 +- .../recordings/test_image_build_trigger.yaml | 2 +- .../recordings/test_image_builder_basic.yaml | 2 +- .../test_image_builder_basic_sig.yaml | 2 +- .../recordings/test_image_builder_cancel.yaml | 2 +- .../test_image_builder_customizers.yaml | 2 +- ..._image_builder_template_error_handler.yaml | 2 +- ...test_image_builder_template_optimizer.yaml | 2 +- ...test_image_builder_template_validator.yaml | 2 +- .../test_image_builder_vm_profile.yaml | 2 +- .../test_image_template_outputs.yaml | 2 +- .../tests/latest/recordings/test_sig_msi.yaml | 4 +- ...cryption_with_encryption_identity_e2e.yaml | 2 +- ...ion_identity_not_acled_in_keyvaulte2e.yaml | 2 +- ...ith_incorrect_encryption_identity_e2e.yaml | 4 +- ...cryption_identity_for_disk_encryption.yaml | 2 +- .../recordings/test_vm_explicit_msi.yaml | 4 +- ...cryption_identity_for_disk_encryption.yaml | 2 +- ...cryption_identity_for_disk_encryption.yaml | 2 +- ...cryption_identity_for_disk_encryption.yaml | 2 +- .../recordings/test_vmss_explicit_msi.yaml | 4 +- ...cryption_identity_for_disk_encryption.yaml | 2 +- ...cryption_identity_for_disk_encryption.yaml | 2 +- 84 files changed, 3013 insertions(+), 2486 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_abac_task.yaml b/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_abac_task.yaml index 0f4415a7976..c2745d0bd30 100644 --- a/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_abac_task.yaml +++ b/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_abac_task.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.3 (Linux-6.17.0-1008-azure-x86_64-with-glibc2.39) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_acrabac_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/acr000003?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_acrabac_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/acr000003?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_acrabac_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/acr000003","name":"acr000003","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"6ad9e163-744e-4d62-a70c-42067128c4be","clientId":"7434fcb6-eddf-43cc-92c3-7f16d4d6a0f6"}}' @@ -2385,7 +2385,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.3 (Linux-6.17.0-1008-azure-x86_64-with-glibc2.39) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_acrabac_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/acr000003?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_acrabac_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/acr000003?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_acrabac_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/acr000003","name":"acr000003","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"6ad9e163-744e-4d62-a70c-42067128c4be","clientId":"7434fcb6-eddf-43cc-92c3-7f16d4d6a0f6"}}' @@ -2882,7 +2882,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.3 (Linux-6.17.0-1008-azure-x86_64-with-glibc2.39) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_acrabac_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/acr000003?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_acrabac_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/acr000003?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_acrabac_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/acr000003","name":"acr000003","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"6ad9e163-744e-4d62-a70c-42067128c4be","clientId":"7434fcb6-eddf-43cc-92c3-7f16d4d6a0f6"}}' diff --git a/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_cache_managed_identity.yaml b/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_cache_managed_identity.yaml index 67b0b4de777..ce29192bf34 100644 --- a/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_cache_managed_identity.yaml +++ b/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_cache_managed_identity.yaml @@ -122,7 +122,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.39.0 Python/3.11.9 (Windows-10-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cache-identity000003?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cache-identity000003?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cache-identity000003","name":"cache-identity000003","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"f6e4c6f9-9741-4c23-8e1b-e6900eeb1d74","clientId":"7e64ae13-50c6-40da-a3b5-b26b575ee512"}}' @@ -224,7 +224,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.39.0 Python/3.11.9 (Windows-10-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cache-identity2000004?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cache-identity2000004?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cache-identity2000004","name":"cache-identity2000004","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"fb447b60-b81e-454b-a422-e319fd222cfc","clientId":"49a1f76a-d93a-43ba-8201-fb74ee0cd609"}}' diff --git a/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_encryption_with_cmk.yaml b/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_encryption_with_cmk.yaml index 03211086632..44f269b3a0b 100644 --- a/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_encryption_with_cmk.yaml +++ b/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_encryption_with_cmk.yaml @@ -448,7 +448,7 @@ interactions: User-Agent: - AZURECLI/2.85.0 azsdk-python-core/1.39.0 Python/3.13.12 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity000005?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity000005?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity000005","name":"testidentity000005","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"faf57c49-f552-41a3-b9f1-9317f5059fa1","clientId":"52af17ae-88d0-4382-9c77-a3bd70957ee2"}}' @@ -765,7 +765,7 @@ interactions: User-Agent: - AZURECLI/2.85.0 azsdk-python-core/1.39.0 Python/3.13.12 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity000005?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity000005?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity000005","name":"testidentity000005","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"faf57c49-f552-41a3-b9f1-9317f5059fa1","clientId":"52af17ae-88d0-4382-9c77-a3bd70957ee2"}}' @@ -1074,7 +1074,7 @@ interactions: User-Agent: - AZURECLI/2.85.0 azsdk-python-core/1.39.0 Python/3.13.12 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity000005?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity000005?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity000005","name":"testidentity000005","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"faf57c49-f552-41a3-b9f1-9317f5059fa1","clientId":"52af17ae-88d0-4382-9c77-a3bd70957ee2"}}' diff --git a/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_identity.yaml b/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_identity.yaml index 1e017f1850d..a2781c3e0f2 100644 --- a/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_identity.yaml +++ b/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_identity.yaml @@ -168,7 +168,7 @@ interactions: User-Agent: - AZURECLI/2.85.0 azsdk-python-core/1.39.0 Python/3.13.12 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity000002?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity000002?api-version=2025-05-31-preview response: body: string: '{"error":{"code":"429","message":"Request is temporarily throttled @@ -226,7 +226,7 @@ interactions: User-Agent: - AZURECLI/2.85.0 azsdk-python-core/1.39.0 Python/3.13.12 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity000002?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity000002?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity000002","name":"testidentity000002","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"6d0e4351-db6e-4eb3-8241-bd02e49be2d3","clientId":"16b01e2c-dacc-4704-af7e-72dcfec357a6"}}' @@ -328,7 +328,7 @@ interactions: User-Agent: - AZURECLI/2.85.0 azsdk-python-core/1.39.0 Python/3.13.12 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity2000003?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity2000003?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity2000003","name":"testidentity2000003","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"150bfd01-9b2b-4db4-afd6-98ed118e011a","clientId":"a65cf8c2-6c59-4778-97b3-2769874a90ca"}}' diff --git a/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_control_plane_user_assigned_identity.yaml b/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_control_plane_user_assigned_identity.yaml index 75be55f5c66..eff4ca9fdd4 100644 --- a/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_control_plane_user_assigned_identity.yaml +++ b/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_control_plane_user_assigned_identity.yaml @@ -61,7 +61,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 azsdk-python-azure-mgmt-msi/7.0.0 Python/3.8.10 (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000003?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000003?api-version=2025-05-31-preview response: body: string: '{"location":"westus2","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000003","name":"cli000003","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"00000000-0000-0000-0000-000000000001","clientId":"00000000-0000-0000-0000-000000000001"}}' @@ -151,7 +151,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 azsdk-python-azure-mgmt-msi/7.0.0 Python/3.8.10 (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000004?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000004?api-version=2025-05-31-preview response: body: string: '{"location":"westus2","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000004","name":"cli000004","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"00000000-0000-0000-0000-000000000001","clientId":"00000000-0000-0000-0000-000000000001"}}' @@ -564,7 +564,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 azsdk-python-azure-mgmt-msi/7.0.0 Python/3.8.10 (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000003?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000003?api-version=2025-05-31-preview response: body: string: '{"location":"westus2","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000003","name":"cli000003","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"00000000-0000-0000-0000-000000000001","clientId":"00000000-0000-0000-0000-000000000001"}}' diff --git a/src/azure-cli/azure/cli/command_modules/ams/tests/latest/recordings/test_ams_add_user_identity.yaml b/src/azure-cli/azure/cli/command_modules/ams/tests/latest/recordings/test_ams_add_user_identity.yaml index 1f6dbba0b31..46a65540bf5 100644 --- a/src/azure-cli/azure/cli/command_modules/ams/tests/latest/recordings/test_ams_add_user_identity.yaml +++ b/src/azure-cli/azure/cli/command_modules/ams/tests/latest/recordings/test_ams_add_user_identity.yaml @@ -204,7 +204,7 @@ interactions: User-Agent: - AZURECLI/2.45.0 azsdk-python-azure-mgmt-msi/7.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userId000004?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userId000004?api-version=2025-05-31-preview response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userId000004","name":"userId000004","type":"Microsoft.ManagedIdentity/userAssignedIdentities","location":"centralus","tags":{},"properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"d96b916b-7632-4957-8220-0653e85d3c07","clientId":"ee386666-25ca-4e31-8fa3-71a3e16b892d"}}' diff --git a/src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/recordings/test_azconfig_identity.yaml b/src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/recordings/test_azconfig_identity.yaml index 74d17bee48b..37d6efef7e4 100644 --- a/src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/recordings/test_azconfig_identity.yaml +++ b/src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/recordings/test_azconfig_identity.yaml @@ -1,7 +1,7 @@ interactions: - request: - body: '{"location": "eastus", "sku": {"name": "Standard"}, "properties": {"softDeleteRetentionInDays": - 1, "dataPlaneProxy": {}, "createMode": "Default"}}' + body: '{"location": "eastus", "sku": {"name": "Standard"}, "properties": {"createMode": + "Default", "dataPlaneProxy": {}, "softDeleteRetentionInDays": 1}}' headers: Accept: - application/json @@ -18,14 +18,14 @@ interactions: ParameterSetName: - -n -g -l --sku --retention-days User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/IdentityTest000002?api-version=2025-06-01-preview response: body: string: '{"type": "Microsoft.AppConfiguration/configurationStores", "location": "eastus", "properties": {"provisioningState": "Creating", "creationDate": - "2026-03-02T09:14:10.7264996+00:00", "endpoint": null, "encryption": null, + "2026-04-21T04:42:07.2907816+00:00", "endpoint": null, "encryption": null, "privateEndpointConnections": null, "disableLocalAuth": null, "softDeleteRetentionInDays": null, "defaultKeyValueRevisionRetentionPeriodInSeconds": null, "enablePurgeProtection": null, "dataPlaneProxy": null, "telemetry": null, "managedOnBehalfOfConfiguration": @@ -34,7 +34,7 @@ interactions: "name": "IdentityTest000002", "tags": {}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/Y29uZmlndXJhdGlvblN0b3Jlcw.CcD38s4Cjwob-q-ks3K_CObvkOFrLxL5zvUcmAc7HM8?api-version=2025-06-01-preview&t=639080396510333425&c=MIIHlTCCBn2gAwIBAgIRANt2kNAlcWGPjk7fqvSKsKAwDQYJKoZIhvcNAQELBQAwNjE0MDIGA1UEAxMrQ0NNRSBHMSBUTFMgUlNBIDIwNDggU0hBMjU2IDIwNDkgRVVTMiBDQSAwMTAeFw0yNjAyMTQxMzI5NTRaFw0yNjA4MDkxOTI5NTRaMEAxPjA8BgNVBAMTNWFzeW5jb3BlcmF0aW9uc2lnbmluZ2NlcnRpZmljYXRlLm1hbmFnZW1lbnQuYXp1cmUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAunUpEsdzUsk2L51371A6RUKCrm9gJzFTGkIPPeRJZDPM8cLTc_5vpISUWY-_lBu89taiW-5Fp32TF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ZM4C0mo4PZlj7BIFf0py63DJBNVQxyXwPloYM8tvid-DA&s=lUcp-DdZfG98sz9EDvyCtsMLocvR3Ito-VLXFLaflokJyzg1HaRQpRfKPsuu0MXVO1tfoYY3tJTOPy2attQooxYoGTZMwIySTNNrK6L1q55wk1nxwXzJglClqTCKBgAZNEejFEXWF12lC3vvMSJ5hiQJ6hzd6pwGZvWY4ys0PcSqpOayl9HW8bZoAmPkfCrjkI8Bs07FaA84IslEKfxYtArGrAc0K8Ne8_Yng6B3o_xfYURawSoVlGa6bll2oIIZPmvh4k0F084t93hd8ec6sI1psRdUTFACfMcvoKz3ijqVXbhlp6MJuJahW6a4EZN3iWdAVxcFfitqCpgDZRfrYw&h=WhNMobDjboSngAN5CYJiA0FebiKSVzh6UEg6r0RbRLA + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/Y29uZmlndXJhdGlvblN0b3Jlcw.JwWN4V73bxKkjgdesUFjDe_XraEmc9UGD6G8ANIhFzo?api-version=2025-06-01-preview&t=639123433274968837&c=MIIHlDCCBnygAwIBAgIQKH2LwA--zt78n2Lbv7DxNjANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBXVVMyIENBIDAxMB4XDTI2MDQwNDE4NDkyNloXDTI2MDkzMDAwNDkyNlowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCvVFkIOW0ulS2T2sG9T0d9Lt1YcofYmepbUoWJ-8P0QvttoVubMmZHQDlD5i6xNRWINUFYUDQE-kk_xUIaEiNRBOkfBDtax7E9dASVWZfY7sQBoXSBCSzmy0Tq4muqod7psALHeFpNHOzg_-KnQXuvoeUOwpIJmgpViF_RfokubzioAy8epBVpT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0BGX4o5C0if7PmbN0fcyej7k0ICITfYLKZPhQq3GGpH0yB9SVsgjUtpW28DiFJTk7Vn0Ab9f9gIji8CTmbMo2wwJhf1tfyYDPG9bFzTasI1gxKl4mhvdP3_hmDDP7mxT3EgiT7Gnb6tJTqCKUa02uhZdB4BkgBGEYt6JPZt6Zp3blV6px-NPVot4liem2a8SDdCNJxojsAcyL2VHFpHeSQfCad_Qk18a0akqWxJmmy8awsmbDWo4KXtySvhEgLDg3K2JJZMfgJHg9c6Ez9RGm8_-A5eZw65Q&h=oRs_xpR3lt_HO1HaO-Jrs6WV7_DmqCMXmAnLJMK8g38 cache-control: - no-cache content-length: @@ -42,7 +42,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 02 Mar 2026 09:14:11 GMT + - Tue, 21 Apr 2026 04:42:06 GMT expires: - '-1' pragma: @@ -54,13 +54,13 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=43ddb22f-baef-4d3f-9e56-3a89871b9b59/westeurope/aa308877-0d35-4201-8731-117226722ec3 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westcentralus/8564cd32-f019-4517-a6a5-257f9da4c6a2 x-ms-ratelimit-remaining-subscription-global-writes: - '11999' x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: FB2C5D5817EC49EBBB856EA2DAD0D8F5 Ref B: AMS231020512031 Ref C: 2026-03-02T09:14:07Z' + - 'Ref A: D40B8A67DF9D4A619AA4C0F94B30AE38 Ref B: MWH011020806054 Ref C: 2026-04-21T04:42:06Z' status: code: 201 message: Created @@ -78,17 +78,17 @@ interactions: ParameterSetName: - -n -g -l --sku --retention-days User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/Y29uZmlndXJhdGlvblN0b3Jlcw.CcD38s4Cjwob-q-ks3K_CObvkOFrLxL5zvUcmAc7HM8?api-version=2025-06-01-preview&t=639080396510333425&c=MIIHlTCCBn2gAwIBAgIRANt2kNAlcWGPjk7fqvSKsKAwDQYJKoZIhvcNAQELBQAwNjE0MDIGA1UEAxMrQ0NNRSBHMSBUTFMgUlNBIDIwNDggU0hBMjU2IDIwNDkgRVVTMiBDQSAwMTAeFw0yNjAyMTQxMzI5NTRaFw0yNjA4MDkxOTI5NTRaMEAxPjA8BgNVBAMTNWFzeW5jb3BlcmF0aW9uc2lnbmluZ2NlcnRpZmljYXRlLm1hbmFnZW1lbnQuYXp1cmUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAunUpEsdzUsk2L51371A6RUKCrm9gJzFTGkIPPeRJZDPM8cLTc_5vpISUWY-_lBu89taiW-5Fp32TFXe7TvpU_tgZ1i0O1gyE_YE1UgIqQcyop0mlKOLONIG8w7omOMavdTwySGaEew73bR7nyW4Tdtzw7G0vsfZwp_C0N5xb_Kmg99emkZPl56IDjFswnwNUrY1mjlvUm9POgENmnld7pPXLTzMz3GeQsekf1g7DNUMbklm_8wNN9aPf81ilT6438_NQPtPc-8Tu8Rqs0Mc6qVG4Se2oToE-ArlEUJ9UHm2J519QuhyYmPFk2RFXJQVckQLSbr8yfi9MpW2xa8pZPQIDAQABo4IEkjCCBI4wgZ0GA1UdIASBlTCBkjAMBgorBgEEAYI3ewEBMGYGCisGAQQBgjd7AgIwWDBWBggrBgEFBQcCAjBKHkgAMwAzAGUAMAAxADkAMgAxAC0ANABkADYANAAtADQAZgA4AGMALQBhADAANQA1AC0ANQBiAGQAYQBmAGYAZAA1AGUAMwAzAGQwDAYKKwYBBAGCN3sDAjAMBgorBgE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lcnQuY2VyMF0GCCsGAQUFBzAChlFodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vZWFzdHVzMi9jYWNlcnRzL2NjbWVlYXN0dXMycGtpL2NjbWVlYXN0dXMyaWNhMDEvY2VydC5jZXIwZgYIKwYBBQUHMAKGWmh0dHA6Ly9jY21lZWFzdHVzMnBraS5lYXN0dXMyLnBraS5jb3JlLndpbmRvd3MubmV0L2NlcnRpZmljYXRlQXV0aG9yaXRpZXMvY2NtZWVhc3R1czJpY2EwMTANBgkqhkiG9w0BAQsFAAOCAQEAcoJBIWpHXJ-BlYsJxpr8BKz4qz215RV21BGmUmHG1tVU1_X2LlQacjzZ8zKK8fcliwi07VfV1mlMRB-Vb60E-wfl5rMpKfpxoOBXNDPueTcKc0cluWwNAhzPslB2XuGIflbqww2RmtWI-VFVMRo1IZLVMgITOuMOZCuvP8USNr83gcW2M3YUn9Npb_VJs_7gQMoWahrEhA7oac389e_GC5K8AaTptHtKjGiEPefF2MkGPRxD4aNLgEJ26-5r9gCA7RWnHVKpYtl3ISW5oKiZtFNEaMWtIKcZE9VCf6sklZM4C0mo4PZlj7BIFf0py63DJBNVQxyXwPloYM8tvid-DA&s=lUcp-DdZfG98sz9EDvyCtsMLocvR3Ito-VLXFLaflokJyzg1HaRQpRfKPsuu0MXVO1tfoYY3tJTOPy2attQooxYoGTZMwIySTNNrK6L1q55wk1nxwXzJglClqTCKBgAZNEejFEXWF12lC3vvMSJ5hiQJ6hzd6pwGZvWY4ys0PcSqpOayl9HW8bZoAmPkfCrjkI8Bs07FaA84IslEKfxYtArGrAc0K8Ne8_Yng6B3o_xfYURawSoVlGa6bll2oIIZPmvh4k0F084t93hd8ec6sI1psRdUTFACfMcvoKz3ijqVXbhlp6MJuJahW6a4EZN3iWdAVxcFfitqCpgDZRfrYw&h=WhNMobDjboSngAN5CYJiA0FebiKSVzh6UEg6r0RbRLA + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/Y29uZmlndXJhdGlvblN0b3Jlcw.JwWN4V73bxKkjgdesUFjDe_XraEmc9UGD6G8ANIhFzo?api-version=2025-06-01-preview&t=639123433274968837&c=MIIHlDCCBnygAwIBAgIQKH2LwA--zt78n2Lbv7DxNjANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBXVVMyIENBIDAxMB4XDTI2MDQwNDE4NDkyNloXDTI2MDkzMDAwNDkyNlowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCvVFkIOW0ulS2T2sG9T0d9Lt1YcofYmepbUoWJ-8P0QvttoVubMmZHQDlD5i6xNRWINUFYUDQE-kk_xUIaEiNRBOkfBDtax7E9dASVWZfY7sQBoXSBCSzmy0Tq4muqod7psALHeFpNHOzg_-KnQXuvoeUOwpIJmgpViF_RfokubzioAy8epBVpT8iWb-gVTRRzRyEBSLvHBUSCspHTSMdhNwi82imqTLbOtzRNUetQNfE6tO2I5GXZFbfd5u20R_RDDu0ja4dYsUNWRxydOqVp7knzyjMOaBUY1y1jTq9mN4hUjvJmqFfvxLb78qwj-q8qfXp7DRvmbMU9LcIXsh3hAgMBAAGjggSSMIIEjjCBnQYDVR0gBIGVMIGSMAwGCisGAQQBgjd7AQEwZgYKKwYBBAGCN3sCAjBYMFYGCCsGAQUFBwICMEoeSAAzADMAZQAwADEAOQAyADEALQA0AGQANgA0AC0ANABmADgAYwAtAGEAMAA1ADUALQA1AGIAZABhAGYAZgBkADUAZQAzADMAZDAMBgorBgEEAYI3ewMCMAwGCisGAQQBgjd7BAIwDAYDVR0TAQH_BAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDgYDVR0PAQH_BAQDAgWgMB0GA1UdDg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Xdlc3R1czJwa2kvY2NtZXdlc3R1czJpY2EwMS9jZXJ0LmNlcjBmBggrBgEFBQcwAoZaaHR0cDovL2NjbWV3ZXN0dXMycGtpLndlc3R1czIucGtpLmNvcmUud2luZG93cy5uZXQvY2VydGlmaWNhdGVBdXRob3JpdGllcy9jY21ld2VzdHVzMmljYTAxMA0GCSqGSIb3DQEBCwUAA4IBAQAPiXOOO5kWkZwOL1KaxDWjvdx7eZdULDE9H3-DYmydGgRtKP36ZdsKnm9ByauetWZmM5b_VXyBSWiA8IS8irBxUsollslqVUa-kEblorDQnD5ETW02s72RF-wBinPvMbWGwXn7N37kuRO0Po8xi48iQdjOgAYDNx4lk9-pP8Pu343VbKKXqTp9Obf99t2sW-aHAnPZV-XpTf4qknGh5PwfWPngNcQcoVkOLeIB5524kNBjqNo4IZxMIHB3jIEs0hF5lIBmkh1G5b1PKlA9pn3SbnWUt9TolSEv_nHLsrt9we9NuHFdsDLgL2RYs7hGmNVwfedt9lVugkHigZavdMbK&s=e61MPfvbHB_-IM2DqGGkVYfe0aYILbrD7aYcD6a3Chi5B0FzPNa4T_0BGX4o5C0if7PmbN0fcyej7k0ICITfYLKZPhQq3GGpH0yB9SVsgjUtpW28DiFJTk7Vn0Ab9f9gIji8CTmbMo2wwJhf1tfyYDPG9bFzTasI1gxKl4mhvdP3_hmDDP7mxT3EgiT7Gnb6tJTqCKUa02uhZdB4BkgBGEYt6JPZt6Zp3blV6px-NPVot4liem2a8SDdCNJxojsAcyL2VHFpHeSQfCad_Qk18a0akqWxJmmy8awsmbDWo4KXtySvhEgLDg3K2JJZMfgJHg9c6Ez9RGm8_-A5eZw65Q&h=oRs_xpR3lt_HO1HaO-Jrs6WV7_DmqCMXmAnLJMK8g38 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/CcD38s4Cjwob-q-ks3K_CObvkOFrLxL5zvUcmAc7HM8", - "name": "CcD38s4Cjwob-q-ks3K_CObvkOFrLxL5zvUcmAc7HM8", "status": "Creating", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/JwWN4V73bxKkjgdesUFjDe_XraEmc9UGD6G8ANIhFzo", + "name": "JwWN4V73bxKkjgdesUFjDe_XraEmc9UGD6G8ANIhFzo", "status": "Creating", "error": null}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/Y29uZmlndXJhdGlvblN0b3Jlcw.CcD38s4Cjwob-q-ks3K_CObvkOFrLxL5zvUcmAc7HM8?api-version=2025-06-01-preview&t=639080396526672744&c=MIIHlTCCBn2gAwIBAgIRANt2kNAlcWGPjk7fqvSKsKAwDQYJKoZIhvcNAQELBQAwNjE0MDIGA1UEAxMrQ0NNRSBHMSBUTFMgUlNBIDIwNDggU0hBMjU2IDIwNDkgRVVTMiBDQSAwMTAeFw0yNjAyMTQxMzI5NTRaFw0yNjA4MDkxOTI5NTRaMEAxPjA8BgNVBAMTNWFzeW5jb3BlcmF0aW9uc2lnbmluZ2NlcnRpZmljYXRlLm1hbmFnZW1lbnQuYXp1cmUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAunUpEsdzUsk2L51371A6RUKCrm9gJzFTGkIPPeRJZDPM8cLTc_5vpISUWY-_lBu89taiW-5Fp32TFXe7TvpU_tgZ1i0O1gyE_YE1UgIqQcyop0mlKOLONIG8w7omOMavdTwySGaEew73bR7nyW4Tdtzw7G0vsfZwp_C0N5xb_Kmg99emkZPl56IDjFswnwNUrY1mjlvUm9POgENmnld7pPXLTzMz3GeQsekf1g7DNUMbklm_8wNN9aPf81ilT6438_NQPtPc-8Tu8Rqs0Mc6qVG4Se2oToE-ArlEUJ9UHm2J519QuhyYmPFk2RFXJQVckQLSbr8yfi9MpW2xa8pZPQIDAQABo4IEkjCCBI4wgZ0GA1U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vLLNOUSG6-HXp_KNCIyqfK5FesRZc-R6BUobWGuTKJQl-FjW2XmqL-wIYCmq2wiWkLJ3V_WMZF2EZ0ajvSvmoQpbutDsbCQibWMC2pu5PrVtKsBVQ&h=T42LEL1SgnOC-mL28volVwpryo6yXuumnUO8FAH_XEc + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/Y29uZmlndXJhdGlvblN0b3Jlcw.JwWN4V73bxKkjgdesUFjDe_XraEmc9UGD6G8ANIhFzo?api-version=2025-06-01-preview&t=639123433281586935&c=MIIHlDCCBnygAwIBAgIQAcfN_Jd6ViGd1-EkFH97aDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQwOTA0MzUxMFoXDTI2MTAwNDEwMzUxMFowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC9nzXnnnT0V5cDY5fHgY6fvt0f5K67TLY5rf3kXsgNDiGJL9Ub1_cJuWgTTjGYmxaPP6HFz_YOLdMBGPkVhZavejw0qLifjw8nEBivhzrnSlLVzv8ThjIxvzYq7Pixu564lZgpE4tktNQwXrbdQ8_M_ltt8Ia4jO8Wc47QJt-BIUGY10RRyuDzAEGrQRCDbQB1Kyo6IjF95ihEDSUcGthqOIsbqMERKgZokdpO3a8ikGNKVtOb3zrePXR71iCDdkdamGIsPVfGxaBtUDO5vqdKugYbOQDFCYaQdk7x3VINyRpvZXpU4-B41mD-vXX5Rm_X9BL0jN1rjSRIFvfK3YkxAgMBAAGjggSSMIIEjjCBnQYDVR0gBIGVMIGSMAwGCisGAQQBgjd7AQEwZgYKKwYBBAGCN3sCAjBYMFYGCCsGAQUFBwICMEo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gfqayF7HHVv4LRDswnknLiYKiPZQyg&h=eW0CvmbDs8TNEuRiEd16cxtYywcZT-CAA0Wdb6PlnqQ cache-control: - no-cache content-length: @@ -96,7 +96,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 02 Mar 2026 09:14:12 GMT + - Tue, 21 Apr 2026 04:42:07 GMT expires: - '-1' pragma: @@ -108,11 +108,11 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=43ddb22f-baef-4d3f-9e56-3a89871b9b59/westeurope/fe612ff2-0fe9-4fe6-a7b2-99ec07177e16 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus2/4afb6bcd-8512-4546-98a6-ef8f734cb4f5 x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: A07B9CA50B63410189270C63A2CB1654 Ref B: AMS231020512027 Ref C: 2026-03-02T09:14:12Z' + - 'Ref A: 241FB2C30B324475AA79685394EF2EB1 Ref B: MWH011020808031 Ref C: 2026-04-21T04:42:07Z' status: code: 200 message: OK @@ -130,17 +130,17 @@ interactions: ParameterSetName: - -n -g -l --sku --retention-days User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/Y29uZmlndXJhdGlvblN0b3Jlcw.CcD38s4Cjwob-q-ks3K_CObvkOFrLxL5zvUcmAc7HM8?api-version=2025-06-01-preview&t=639080396510333425&c=MIIHlTCCBn2gAwIBAgIRANt2kNAlcWGPjk7fqvSKsKAwDQYJKoZIhvcNAQELBQAwNjE0MDIGA1UEAxMrQ0NNRSBHMSB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sFAAOCAQEAcoJBIWpHXJ-BlYsJxpr8BKz4qz215RV21BGmUmHG1tVU1_X2LlQacjzZ8zKK8fcliwi07VfV1mlMRB-Vb60E-wfl5rMpKfpxoOBXNDPueTcKc0cluWwNAhzPslB2XuGIflbqww2RmtWI-VFVMRo1IZLVMgITOuMOZCuvP8USNr83gcW2M3YUn9Npb_VJs_7gQMoWahrEhA7oac389e_GC5K8AaTptHtKjGiEPefF2MkGPRxD4aNLgEJ26-5r9gCA7RWnHVKpYtl3ISW5oKiZtFNEaMWtIKcZE9VCf6sklZM4C0mo4PZlj7BIFf0py63DJBNVQxyXwPloYM8tvid-DA&s=lUcp-DdZfG98sz9EDvyCtsMLocvR3Ito-VLXFLaflokJyzg1HaRQpRfKPsuu0MXVO1tfoYY3tJTOPy2attQooxYoGTZMwIySTNNrK6L1q55wk1nxwXzJglClqTCKBgAZNEejFEXWF12lC3vvMSJ5hiQJ6hzd6pwGZvWY4ys0PcSqpOayl9HW8bZoAmPkfCrjkI8Bs07FaA84IslEKfxYtArGrAc0K8Ne8_Yng6B3o_xfYURawSoVlGa6bll2oIIZPmvh4k0F084t93hd8ec6sI1psRdUTFACfMcvoKz3ijqVXbhlp6MJuJahW6a4EZN3iWdAVxcFfitqCpgDZRfrYw&h=WhNMobDjboSngAN5CYJiA0FebiKSVzh6UEg6r0RbRLA + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/Y29uZmlndXJhdGlvblN0b3Jlcw.JwWN4V73bxKkjgdesUFjDe_XraEmc9UGD6G8ANIhFzo?api-version=2025-06-01-preview&t=639123433274968837&c=MIIHlDCCBnygAwIBAgIQKH2LwA--zt78n2Lbv7DxNjANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBXVVMyIENBIDAxMB4XDTI2MDQwNDE4NDkyNloXDTI2MDkzMDAwNDkyNlow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xUsollslqVUa-kEblorDQnD5ETW02s72RF-wBinPvMbWGwXn7N37kuRO0Po8xi48iQdjOgAYDNx4lk9-pP8Pu343VbKKXqTp9Obf99t2sW-aHAnPZV-XpTf4qknGh5PwfWPngNcQcoVkOLeIB5524kNBjqNo4IZxMIHB3jIEs0hF5lIBmkh1G5b1PKlA9pn3SbnWUt9TolSEv_nHLsrt9we9NuHFdsDLgL2RYs7hGmNVwfedt9lVugkHigZavdMbK&s=e61MPfvbHB_-IM2DqGGkVYfe0aYILbrD7aYcD6a3Chi5B0FzPNa4T_0BGX4o5C0if7PmbN0fcyej7k0ICITfYLKZPhQq3GGpH0yB9SVsgjUtpW28DiFJTk7Vn0Ab9f9gIji8CTmbMo2wwJhf1tfyYDPG9bFzTasI1gxKl4mhvdP3_hmDDP7mxT3EgiT7Gnb6tJTqCKUa02uhZdB4BkgBGEYt6JPZt6Zp3blV6px-NPVot4liem2a8SDdCNJxojsAcyL2VHFpHeSQfCad_Qk18a0akqWxJmmy8awsmbDWo4KXtySvhEgLDg3K2JJZMfgJHg9c6Ez9RGm8_-A5eZw65Q&h=oRs_xpR3lt_HO1HaO-Jrs6WV7_DmqCMXmAnLJMK8g38 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/CcD38s4Cjwob-q-ks3K_CObvkOFrLxL5zvUcmAc7HM8", - "name": "CcD38s4Cjwob-q-ks3K_CObvkOFrLxL5zvUcmAc7HM8", "status": "Creating", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/JwWN4V73bxKkjgdesUFjDe_XraEmc9UGD6G8ANIhFzo", + "name": "JwWN4V73bxKkjgdesUFjDe_XraEmc9UGD6G8ANIhFzo", "status": "Creating", "error": null}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/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pL2NjbWVlYXN0dXMyaWNhMDEvY2VydC5jZXIwZgYIKwYBBQUHMAKGWmh0dHA6Ly9jY21lZWFzdHVzMnBraS5lYXN0dXMyLnBraS5jb3JlLndpbmRvd3MubmV0L2NlcnRpZmljYXRlQXV0aG9yaXRpZXMvY2NtZWVhc3R1czJpY2EwMTANBgkqhkiG9w0BAQsFAAOCAQEAcoJBIWpHXJ-BlYsJxpr8BKz4qz215RV21BGmUmHG1tVU1_X2LlQacjzZ8zKK8fcliwi07VfV1mlMRB-Vb60E-wfl5rMpKfpxoOBXNDPueTcKc0cluWwNAhzPslB2XuGIflbqww2RmtWI-VFVMRo1IZLVMgITOuMOZCuvP8USNr83gcW2M3YUn9Npb_VJs_7gQMoWahrEhA7oac389e_GC5K8AaTptHtKjGiEPefF2MkGPRxD4aNLgEJ26-5r9gCA7RWnHVKpYtl3ISW5oKiZtFNEaMWtIKcZE9VCf6sklZM4C0mo4PZlj7BIFf0py63DJBNVQxyXwPloYM8tvid-DA&s=mTSHIR94PCf-Lz80yLdtrvM1HWqma55XCOwfr5ZQ7l3fLoRS7e19z35Cv8a9OjD8tKvmqPTW6V-tnUymoB7dT7bbv7VgDP0keI02Ve2vpNCoo56lSiEOMuJF3CggWQ4wXPjVdZhyF-1XuAW8wwf0wAvaqdvxoffDWfmZ8XUR_AHI099h2GxrjhQMPOnAD5LIRM2McaKGnDLPOe6cYjYpWflm9JUBPAyKMMWnOou8OpG6MqtCzY1-_bdlhVKdUQ_jEizSSnfohl_kq57acn6T6tXLgZS0WvAQ_MZ68xaWk4eAOUJOMDy19xLSNvxPRdfbam4wzMvibqozD46yMjSANw&h=SUgUNQygva5efSJ_tNm6TEIWbAkw0wfFwHcugFbxJFQ + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/Y29uZmlndXJhdGlvblN0b3Jlcw.JwWN4V73bxKkjgdesUFjDe_XraEmc9UGD6G8ANIhFzo?api-version=2025-06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ycGtpLmVhc3R1czIucGtpLmNvcmUud2luZG93cy5uZXQvY2VydGlmaWNhdGVBdXRob3JpdGllcy9jY21lZWFzdHVzMmljYTAxMA0GCSqGSIb3DQEBCwUAA4IBAQBx5I6Sofmi5yGOz0alPqrZuIh1Qv1Gc7iCefJl7OITobABfs9PqLqAUqQ0NZt02K2ag8zFQWRLn3xJESxYpGcBV7meAUTJOJhRHdvwqFTOMyPwYKbVpl-gdceRQV0J4MdXD1EG8ZfrQqJh4yTpH9fs1bJNlNwJZx_jinURgGNM3AvMcEe8RipqTE4QFDEFqJqWftJzvHLBetVu8Z6AGm5099Z3hgXzQkneb6E4dITNtuFdibgZ_w2TYC64wJ1VSMZoWDioo50604N9fZooi7RvEeWH1iooHPyFIUtevrquxTYiMdLAwbW0FzEjba2h2TLxHn3wd3uzwLiJoLGRIzBT&s=Nx0b_cgdPj5JI8-JSB0VEkXEBQhsVrwvE0TDa0zOMnfJ6DS5_Y5OuMCBLGtdD3GlmVDhCCc6puWUodui8iQuBqn-YCPCXV6lOiasbAgkrrTKtgRZUMnkhF2YKSP3BQrvM7Eal6FkBzySd4AUHxX9HfUvxX2s1AspyBXvSmU1nGvkuqWwpdaCkacPlXW2ImnOakqLKelHo7jLsNteqTn7oo8waSFWHLu40kGscomDoRAGFnFNCL70ufwNAO6fxhx3yRcfnkzSURTzy999FaL5VwHrhxWDw9QOwTtBxZjEv-97gJWi9iZE9L0x66ZAEahwS9woGU6G_bP77e5jl1TQ6g&h=pKiOQAru1dNk_4O3rxdqjeiaCPtgbvhRYpSlY1175RE cache-control: - no-cache content-length: @@ -148,7 +148,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 02 Mar 2026 09:14:23 GMT + - Tue, 21 Apr 2026 04:42:18 GMT expires: - '-1' pragma: @@ -160,11 +160,11 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=43ddb22f-baef-4d3f-9e56-3a89871b9b59/westeurope/3cbc6d5d-18e3-4cde-81f7-1437fd2a2b49 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus2/752796d0-cb70-4fab-af21-c6f2bc757308 x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 1AD430D3A1CA43558B4AB8C893F83501 Ref B: AMS231020615029 Ref C: 2026-03-02T09:14:23Z' + - 'Ref A: 9ACECC5BB54543F89D18B064A5EC311B Ref B: CO1AA3060814040 Ref C: 2026-04-21T04:42:18Z' status: code: 200 message: OK @@ -182,17 +182,17 @@ interactions: ParameterSetName: - -n -g -l --sku --retention-days User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/Y29uZmlndXJhdGlvblN0b3Jlcw.CcD38s4Cjwob-q-ks3K_CObvkOFrLxL5zvUcmAc7HM8?api-version=2025-06-01-preview&t=639080396510333425&c=MIIHlTCCBn2gAwIBAgIRANt2kNAlcWGPjk7fqvSKsKAwDQYJKoZIhvcNAQELBQAwNjE0MDIGA1UEAxMrQ0NNRSBHMSBUTFMgUlNBIDIwNDggU0hBMjU2IDIwNDkgRVVTMiBDQSAwMTAeFw0yNjAyMTQxMzI5NTRaFw0yNjA4MDkxOTI5NTRaMEAxPjA8BgNVBAMTNWFzeW5jb3BlcmF0aW9uc2lnbmluZ2NlcnRpZmljYXRlLm1hbmFnZW1lbnQuYXp1cmUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAunUpEsdzUsk2L51371A6RUKCrm9gJzFTGkIPPeRJZDPM8cLTc_5vpISUWY-_lBu89taiW-5Fp32TFXe7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C0mo4PZlj7BIFf0py63DJBNVQxyXwPloYM8tvid-DA&s=lUcp-DdZfG98sz9EDvyCtsMLocvR3Ito-VLXFLaflokJyzg1HaRQpRfKPsuu0MXVO1tfoYY3tJTOPy2attQooxYoGTZMwIySTNNrK6L1q55wk1nxwXzJglClqTCKBgAZNEejFEXWF12lC3vvMSJ5hiQJ6hzd6pwGZvWY4ys0PcSqpOayl9HW8bZoAmPkfCrjkI8Bs07FaA84IslEKfxYtArGrAc0K8Ne8_Yng6B3o_xfYURawSoVlGa6bll2oIIZPmvh4k0F084t93hd8ec6sI1psRdUTFACfMcvoKz3ijqVXbhlp6MJuJahW6a4EZN3iWdAVxcFfitqCpgDZRfrYw&h=WhNMobDjboSngAN5CYJiA0FebiKSVzh6UEg6r0RbRLA + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/Y29uZmlndXJhdGlvblN0b3Jlcw.JwWN4V73bxKkjgdesUFjDe_XraEmc9UGD6G8ANIhFzo?api-version=2025-06-01-preview&t=639123433274968837&c=MIIHlDCCBnygAwIBAgIQKH2LwA--zt78n2Lbv7DxNjANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBXVVMyIENBIDAxMB4XDTI2MDQwNDE4NDkyNloXDTI2MDkzMDAwNDkyNlowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCvVFkIOW0ulS2T2sG9T0d9Lt1YcofYmepbUoWJ-8P0QvttoVubMmZHQDlD5i6xNRWINUFYUDQE-kk_xUIaEiNRBOkfBDtax7E9dASVWZfY7sQBoXSBCSzmy0Tq4muqod7psALHeFpNHOzg_-KnQXuvoeUOwpIJmgpViF_RfokubzioAy8epBVpT8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BGX4o5C0if7PmbN0fcyej7k0ICITfYLKZPhQq3GGpH0yB9SVsgjUtpW28DiFJTk7Vn0Ab9f9gIji8CTmbMo2wwJhf1tfyYDPG9bFzTasI1gxKl4mhvdP3_hmDDP7mxT3EgiT7Gnb6tJTqCKUa02uhZdB4BkgBGEYt6JPZt6Zp3blV6px-NPVot4liem2a8SDdCNJxojsAcyL2VHFpHeSQfCad_Qk18a0akqWxJmmy8awsmbDWo4KXtySvhEgLDg3K2JJZMfgJHg9c6Ez9RGm8_-A5eZw65Q&h=oRs_xpR3lt_HO1HaO-Jrs6WV7_DmqCMXmAnLJMK8g38 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/CcD38s4Cjwob-q-ks3K_CObvkOFrLxL5zvUcmAc7HM8", - "name": "CcD38s4Cjwob-q-ks3K_CObvkOFrLxL5zvUcmAc7HM8", "status": "Creating", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/JwWN4V73bxKkjgdesUFjDe_XraEmc9UGD6G8ANIhFzo", + "name": "JwWN4V73bxKkjgdesUFjDe_XraEmc9UGD6G8ANIhFzo", "status": "Creating", "error": null}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/Y29uZmlndXJhdGlvblN0b3Jlcw.CcD38s4Cjwob-q-ks3K_CObvkOFrLxL5zvUcmAc7HM8?api-version=2025-06-01-preview&t=639080396765217142&c=MIIHlTCCBn2gAwIBAgIRANt2kNAlcWGPjk7fqvSKsKAwDQYJKoZIhvcNAQELBQAwNjE0MDIGA1UEAxMrQ0NNRSBHMSBUTFMgUlNBIDIwNDggU0hBMjU2IDIwNDkgRVVTMiBDQSAwMTAeFw0yNjAyMTQxMzI5NTRaFw0yNjA4MDkxOTI5NTRaMEAxPjA8BgNVBAMTNWFz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PueTcKc0cluWwNAhzPslB2XuGIflbqww2RmtWI-VFVMRo1IZLVMgITOuMOZCuvP8USNr83gcW2M3YUn9Npb_VJs_7gQMoWahrEhA7oac389e_GC5K8AaTptHtKjGiEPefF2MkGPRxD4aNLgEJ26-5r9gCA7RWnHVKpYtl3ISW5oKiZtFNEaMWtIKcZE9VCf6sklZM4C0mo4PZlj7BIFf0py63DJBNVQxyXwPloYM8tvid-DA&s=byB8VcA6nuyWw28m8LVagUzrziNKcjpnJjkJn5HM_7MbPq6u9haDBQCAnVlxkXWQpoI9PvruVXDi_-91X4TKWQYJIHxo1yOLAfDhOE2P_edOrazjxyCLj46x7d2UK2NHRjX00BMwi96es2SwpyXJJ5jOVE6i6jTCpTLSSwdQYTsxgeBudJTjz5i3jKGnBRWt_FOoQz4Wz6LBhVtEuCciHpBB3i2UEi9eJBSZkBXiLna3R3n2nUC0odfiDCP5cw07CKWE91OjZEH1fieOWEXEh7YsYE7zZEsVlv6nebgB7kIEBWGIlWaFBgU-V0yKEyqtwcOFU012vOtfyBtlLDpiqg&h=VO6oDBYuyrb3hJz_iEc6hSIqk0-xsIiLhzNjFkJG9eM + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/Y29uZmlndXJhdGlvblN0b3Jlcw.JwWN4V73bxKkjgdesUFjDe_XraEmc9UGD6G8ANIhFzo?api-version=2025-06-01-preview&t=639123433499906019&c=MIIHlDCCBnygAwIBAgIQAcfN_Jd6ViGd1-EkFH97aDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQwOTA0MzUxMFoXDTI2MTAwNDEwMzUxMFowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQ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EFqJqWftJzvHLBetVu8Z6AGm5099Z3hgXzQkneb6E4dITNtuFdibgZ_w2TYC64wJ1VSMZoWDioo50604N9fZooi7RvEeWH1iooHPyFIUtevrquxTYiMdLAwbW0FzEjba2h2TLxHn3wd3uzwLiJoLGRIzBT&s=MjfGhDVe4pv86yyOQAQ8wMm4_fadMQRsuTk5XwvB6Red-fuFT4bs_iHyNssUhxpyerk2DXzAcLPZYK_wwA28EI47ev03n1ctxv4jyZ3N2GlhMHjZWTLVO6acWdhZWYDM4_Pzsk5OpQ4O5bMeOj5FbJ0nvjBWDDExdss5mpWSvQZ_DcYhx9DL13xPS5qBj8gJyGGMNSOJPmXVBq3hsz84CRueZIdoTRnYNcYNJaLigKO9Pkl2xJ5P8dGbj4I5buF1R9qifHM4X9LoPtY5IAeYB5cXNx2tpPcJZuZ9W6-CB3qXmjKZRLrwBoqYbwgmyoT1cJjAmGaEhzX8BZ0_NdQDLw&h=EmeDiQnWHailWKTCelZOqRXbWMubQwWkER6BrUYpato cache-control: - no-cache content-length: @@ -200,7 +200,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 02 Mar 2026 09:14:35 GMT + - Tue, 21 Apr 2026 04:42:29 GMT expires: - '-1' pragma: @@ -212,11 +212,11 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=43ddb22f-baef-4d3f-9e56-3a89871b9b59/westeurope/0c1d306c-25e1-4d6e-a593-93fb334b5adf + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus2/aed8d382-2b97-412a-a9d9-d69d10492c98 x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: EBEF527C0A59427DAD8B2F88103E960F Ref B: AMS231032608023 Ref C: 2026-03-02T09:14:35Z' + - 'Ref A: 8F516D6A6BE44624A5D89785AD6BFCC2 Ref B: MWH011020807025 Ref C: 2026-04-21T04:42:29Z' status: code: 200 message: OK @@ -234,17 +234,17 @@ interactions: ParameterSetName: - -n -g -l --sku --retention-days User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/Y29uZmlndXJhdGlvblN0b3Jlcw.CcD38s4Cjwob-q-ks3K_CObvkOFrLxL5zvUcmAc7HM8?api-version=2025-06-01-preview&t=639080396510333425&c=MIIHlTCCBn2gAwIBAgIRANt2kNAlcWGPjk7fqvSKsKAwDQYJKoZIhvcNAQELBQAwNjE0MDIGA1UEAxMrQ0NNRSBHMSBUTFMgUlNBIDIwNDggU0hBMjU2IDIwNDkgRVVTMiBDQSAwMTAeFw0yNjAyMTQxMzI5NTRaFw0yNjA4MDkxOTI5NTRaMEAxPjA8BgNVBAMTNWFzeW5jb3BlcmF0aW9uc2lnbmluZ2NlcnRpZmljYXRlLm1hbmFnZW1lbnQuYXp1cmUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAunUpEsdzUsk2L51371A6RUKCrm9gJzFTGkIPPeRJZDPM8cLTc_5vpISUWY-_lBu89taiW-5Fp32TFXe7TvpU_tgZ1i0O1gyE_YE1UgIqQcyop0mlKOLONIG8w7omOMavdTwySGaEew73bR7nyW4Tdtzw7G0vsfZwp_C0N5xb_Kmg99emkZPl56IDjFswnwNUrY1mjlvUm9POgENmnld7pPXLTzMz3GeQsekf1g7DNUMbklm_8wNN9aPf81ilT6438_NQPtPc-8Tu8Rqs0Mc6qVG4Se2oToE-ArlEUJ9UHm2J519QuhyYmPFk2RFXJQVckQLSbr8yfi9MpW2xa8pZPQIDAQABo4IEkjCCBI4wgZ0GA1UdIASBlTCBkjAMBgorBgE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t93hd8ec6sI1psRdUTFACfMcvoKz3ijqVXbhlp6MJuJahW6a4EZN3iWdAVxcFfitqCpgDZRfrYw&h=WhNMobDjboSngAN5CYJiA0FebiKSVzh6UEg6r0RbRLA + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/Y29uZmlndXJhdGlvblN0b3Jlcw.JwWN4V73bxKkjgdesUFjDe_XraEmc9UGD6G8ANIhFzo?api-version=2025-06-01-preview&t=639123433274968837&c=MIIHlDCCBnygAwIBAgIQKH2LwA--zt78n2Lbv7DxNjANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBXVVMyIENBIDAxMB4XDTI2MDQwNDE4NDkyNloXDTI2MDkzMDAwNDkyNlowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCvVFkIOW0ulS2T2sG9T0d9Lt1YcofYmepbUoWJ-8P0QvttoVubMmZHQDlD5i6xNRWINUFYUDQE-kk_xUIaEiNRBOkfBDtax7E9dASVWZfY7sQBoXSBCSzmy0Tq4muqod7psALHeFpNHOzg_-KnQXuvoeUOwpIJmgpViF_RfokubzioAy8epBVpT8iWb-gVTRRzRyEBSLvHBUSCspHTSMdhNwi82imqTLbOtzRNUetQNfE6tO2I5GXZFbfd5u20R_RDDu0ja4dYsUNWRxydOqVp7knzyjMOaBUY1y1jTq9mN4hUjvJmqFfvxLb78qwj-q8qfXp7DRvmbMU9LcIXsh3hAgMBAAGjggSSMIIEjjCBnQYDVR0gBIGVMIGSMAwGCisGAQQBgjd7AQEwZgYKKwYBBAGCN3sCAjBYMFYGCCsGAQUFBwICMEoeSAAzADMAZQAwADEAOQAyADEALQA0AGQANgA0AC0ANABmADgAYwAtA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HO1HaO-Jrs6WV7_DmqCMXmAnLJMK8g38 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/CcD38s4Cjwob-q-ks3K_CObvkOFrLxL5zvUcmAc7HM8", - "name": "CcD38s4Cjwob-q-ks3K_CObvkOFrLxL5zvUcmAc7HM8", "status": "Succeeded", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/JwWN4V73bxKkjgdesUFjDe_XraEmc9UGD6G8ANIhFzo", + "name": "JwWN4V73bxKkjgdesUFjDe_XraEmc9UGD6G8ANIhFzo", "status": "Succeeded", "error": null}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/Y29uZmlndXJhdGlvblN0b3Jlcw.CcD38s4Cjwob-q-ks3K_CObvkOFrLxL5zvUcmAc7HM8?api-version=2025-06-01-preview&t=639080396882571494&c=MIIHlTCCBn2gAwIBAgIRANt2kNAlcWGPjk7fqvSKsKAwDQYJKoZIhvcNAQELBQAwNjE0MDIGA1UEAxMrQ0NNRSBHMSBUTFMgUlNBIDIwNDggU0hBMjU2IDIwNDkgRVVTMiBDQSAwMTAeFw0yNjAyMTQxMzI5NTRaFw0yNjA4MDkxOTI5NTRaMEAxPjA8BgNVBAMTNWFzeW5jb3BlcmF0aW9uc2lnbmluZ2NlcnRpZmljYXRlLm1hbmFnZW1lbnQuYXp1cmUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAunUpEsdzUsk2L51371A6RUKCrm9gJzFTGkIPPeRJZDPM8cLTc_5vpISUWY-_lBu89taiW-5Fp32TFXe7TvpU_tgZ1i0O1gyE_YE1UgIqQcyop0mlKOLONIG8w7omOMavdTwySGaEew73bR7nyW4Tdtzw7G0vsfZwp_C0N5xb_Kmg99emkZPl56IDjFswnw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_IVajliuQPLcKqXiDLOg_3pn6ZGihCqpC4gSVNmqZAOwwx3TT3yn0wj0rzQeRmMNDWRR0Duu6yY7Tp7E-BDaAFZizSPoDlXeCY2FO1PkVLdftYUGl4-DQbV_6EcJQZfoJBP8upyvPeAhRrM1d8_ws2lEVm-ZDo4thjXCfkS0xXT6Z-sYG6AFWC9bdtMAdp44wQgys_e5WkIaD34MzT5DAWqQ10tZsJ5xBafG7mhhcoGC8GwM-gFjzmOMEJr6TnpJt6NmlxMWyViSDVwZPYOqtsQS4g&h=uIsvo2wDevgjcK_ptE5eNZsbrujFf0GWSnXTY7B78dw + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/eastus/operationsStatus/Y29uZmlndXJhdGlvblN0b3Jlcw.JwWN4V73bxKkjgdesUFjDe_XraEmc9UGD6G8ANIhFzo?api-version=2025-06-01-preview&t=639123433607339520&c=MIIHlDCCBnygAwIBAgIQAcfN_Jd6ViGd1-EkFH97aDANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDQwOTA0MzUxMFoXDTI2MTAwNDEwMzUxMFowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC9nzXnnnT0V5cDY5fHgY6fvt0f5K67TLY5rf3kXsgNDiGJL9Ub1_cJuWgTTjGYmxaPP6HFz_YOLdMBGPkVhZavejw0qLifjw8nEBivhzrnSlLVzv8ThjIxvzYq7Pixu564lZgpE4tktNQwXrbdQ8_M_ltt8Ia4jO8Wc47QJt-BIUGY10RRyuDzAEGrQRCDbQB1Kyo6IjF95ihEDSUcGthqOIsbqMERKgZokdpO3a8ikGNKVtOb3zrePXR71iCDdkdamGIsPVf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tfQKJimss-DW1_I7BIrzFks4Ouz0zfkoh0U_H72CQaaKXHRz6Sa9MorhCiRRHaqoFRjw_-JOp_jRkwKRAXqeugC5v2M8uUaQ-UcdaMPsnDdOz9GSYNzvtaCJ9HxuFauVae33IKaoRgfVVzT8yAdiyzH0MMWXN9DHBmKKd0gqL9X4lS3BALbY3tyGxdTeWnyLr6P_I6nw3o4I8Z3AQ&h=x4hBc5NjKT1MP3Xl9bCFnX-g-gUdGoe3FNsdDuz2sok cache-control: - no-cache content-length: @@ -252,7 +252,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 02 Mar 2026 09:14:47 GMT + - Tue, 21 Apr 2026 04:42:39 GMT expires: - '-1' pragma: @@ -264,11 +264,11 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=43ddb22f-baef-4d3f-9e56-3a89871b9b59/westeurope/08e387d2-4d50-4f7a-adcc-5171006b98b0 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus2/ff42c4f0-3fd6-43c6-8d7c-95191c1e82b7 x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 8FE66961535243AFB6BF20A8955ECF9D Ref B: AMS231020512023 Ref C: 2026-03-02T09:14:47Z' + - 'Ref A: 0D9EC2160EDB447187512A54CBB2463F Ref B: MWH011020808029 Ref C: 2026-04-21T04:42:40Z' status: code: 200 message: OK @@ -286,23 +286,23 @@ interactions: ParameterSetName: - -n -g -l --sku --retention-days User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/IdentityTest000002?api-version=2025-06-01-preview response: body: string: '{"type": "Microsoft.AppConfiguration/configurationStores", "location": "eastus", "properties": {"provisioningState": "Succeeded", "creationDate": - "2026-03-02T09:14:10+00:00", "endpoint": "https://identitytestpspo7gl27quv.azconfig.io", + "2026-04-21T04:42:07+00:00", "endpoint": "https://identitytestvv73w434s2el.azconfig.io", "encryption": {"keyVaultProperties": null}, "privateEndpointConnections": null, "disableLocalAuth": false, "softDeleteRetentionInDays": 1, "defaultKeyValueRevisionRetentionPeriodInSeconds": 2592000, "enablePurgeProtection": false, "dataPlaneProxy": {"authenticationMode": "Local", "privateLinkDelegation": "Disabled"}, "telemetry": {"resourceId": null}, "managedOnBehalfOfConfiguration": null, "azureFrontDoor": {"resourceId": null}}, "sku": {"name": "standard"}, "systemData": {"createdBy": "test@example.com", - "createdByType": "User", "createdAt": "2026-03-02T09:14:10+00:00", "lastModifiedBy": - "test@example.com", "lastModifiedByType": "User", "lastModifiedAt": "2026-03-02T09:14:10+00:00"}, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/identitytestpspo7gl27quv", + "createdByType": "User", "createdAt": "2026-04-21T04:42:07+00:00", "lastModifiedBy": + "test@example.com", "lastModifiedByType": "User", "lastModifiedAt": "2026-04-21T04:42:07+00:00"}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/identitytestvv73w434s2el", "name": "IdentityTest000002", "tags": {}}' headers: cache-control: @@ -312,9 +312,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 02 Mar 2026 09:14:48 GMT + - Tue, 21 Apr 2026 04:42:40 GMT etag: - - '"0e00d3f7-0000-0100-0000-69a554e30000"' + - '"8b0168d4-0000-0100-0000-69e700210000"' expires: - '-1' pragma: @@ -328,7 +328,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 7B04D2B2D0B549DE833E1845303E0BA6 Ref B: AMS231022012051 Ref C: 2026-03-02T09:14:49Z' + - 'Ref A: D030CA84BAAA4E67964F4643BA91B1A8 Ref B: MWH011020807062 Ref C: 2026-04-21T04:42:40Z' status: code: 200 message: OK @@ -346,7 +346,7 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2024-11-01 response: @@ -354,7 +354,7 @@ interactions: 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_azconfig_identity", "date": "2026-03-02T09:13:59Z", "module": + "test": "test_azconfig_identity", "date": "2026-04-21T04:42:03Z", "module": "appconfig"}, "properties": {"provisioningState": "Succeeded"}}' headers: cache-control: @@ -364,7 +364,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 02 Mar 2026 09:14:50 GMT + - Tue, 21 Apr 2026 04:42:42 GMT expires: - '-1' pragma: @@ -378,7 +378,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 7CC91586B51142379F715F42A906BA46 Ref B: AMS231032609051 Ref C: 2026-03-02T09:14:50Z' + - 'Ref A: 9B3B639422E34BEABD14BFACA179F41D Ref B: CO6AA3150217051 Ref C: 2026-04-21T04:42:42Z' status: code: 200 message: OK @@ -400,24 +400,199 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/UserAssignedIdentity000003?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/UserAssignedIdentity000003?api-version=2025-05-31-preview + response: + body: + string: '{"error": {"code": "429", "message": "Request is temporarily throttled + because tenant 72f988bf-86f1-41af-91ab-2d7cd011db47 has issued too many requests. + Retry after 3 seconds."}}' + headers: + cache-control: + - no-cache + content-length: + - '178' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 21 Apr 2026 04:42:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-failure-cause: + - service + x-ms-operation-identifier: + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/058895da-6d53-43b8-82f5-1271caaf6724 + x-ms-ratelimit-remaining-subscription-global-writes: + - '11999' + x-ms-ratelimit-remaining-subscription-writes: + - '799' + x-msedge-ref: + - 'Ref A: AB0A8909660246B18B307AB8A2456D4B Ref B: CO6AA3150217021 Ref C: 2026-04-21T04:42:42Z' + status: + code: 429 + message: Too Many Requests +- request: + body: '{"location": "westus"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - identity create + Connection: + - keep-alive + Content-Length: + - '22' + Content-Type: + - application/json + ParameterSetName: + - -n -g + User-Agent: + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/UserAssignedIdentity000003?api-version=2025-05-31-preview + response: + body: + string: '{"error": {"code": "429", "message": "Request is temporarily throttled + because tenant 72f988bf-86f1-41af-91ab-2d7cd011db47 has issued too many requests. + Retry after 5 seconds."}}' + headers: + cache-control: + - no-cache + content-length: + - '178' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 21 Apr 2026 04:42:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-failure-cause: + - service + x-ms-operation-identifier: + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/e4505047-73d4-4e47-8966-0cf6c77e39ef + x-ms-ratelimit-remaining-subscription-global-writes: + - '11999' + x-ms-ratelimit-remaining-subscription-writes: + - '799' + x-msedge-ref: + - 'Ref A: 4E8B546B4C3749538EACBEB175BF5FA9 Ref B: CO1AA3060818052 Ref C: 2026-04-21T04:42:46Z' + status: + code: 429 + message: Too Many Requests +- request: + body: '{"location": "westus"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - identity create + Connection: + - keep-alive + Content-Length: + - '22' + Content-Type: + - application/json + ParameterSetName: + - -n -g + User-Agent: + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/UserAssignedIdentity000003?api-version=2025-05-31-preview + response: + body: + string: '{"error": {"code": "429", "message": "Request is temporarily throttled + because tenant 72f988bf-86f1-41af-91ab-2d7cd011db47 has issued too many requests. + Retry after 3 seconds."}}' + headers: + cache-control: + - no-cache + content-length: + - '178' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 21 Apr 2026 04:42:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-failure-cause: + - service + x-ms-operation-identifier: + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/82351bd5-cd9c-462d-82a1-fdd4c5472525 + x-ms-ratelimit-remaining-subscription-global-writes: + - '11999' + x-ms-ratelimit-remaining-subscription-writes: + - '799' + x-msedge-ref: + - 'Ref A: 9C8048339FB749258E38269BFAD06FD9 Ref B: CO6AA3150219033 Ref C: 2026-04-21T04:42:51Z' + status: + code: 429 + message: Too Many Requests +- request: + body: '{"location": "westus"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - identity create + Connection: + - keep-alive + Content-Length: + - '22' + Content-Type: + - application/json + ParameterSetName: + - -n -g + User-Agent: + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/UserAssignedIdentity000003?api-version=2025-05-31-preview response: body: string: '{"location": "westus", "tags": {}, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/UserAssignedIdentity000003", "name": "UserAssignedIdentity000003", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "properties": {"isolationScope": "None", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "0b526b1f-bcf6-4ecc-b145-7937cf60c9f8", "clientId": "df94a3de-689c-457d-9c11-52b6275c8032"}}' + "properties": {"isolationScope": "None", "assignmentRestrictions": {"providers": + []}, "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", "principalId": "d2223b86-2ee9-4796-80ec-de59a2cb978d", + "clientId": "b70ad62f-e5b6-46dc-9dc2-7a5b4e6ba925"}}' headers: cache-control: - no-cache content-length: - - '512' + - '557' content-type: - application/json; charset=utf-8 date: - - Mon, 02 Mar 2026 09:14:52 GMT + - Tue, 21 Apr 2026 04:42:56 GMT expires: - '-1' location: @@ -431,13 +606,13 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=43ddb22f-baef-4d3f-9e56-3a89871b9b59/westus/ad313cfb-992b-4aaf-af6f-af96f4233a1a + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/8e70e23d-5107-4263-9195-6b2e761964fa x-ms-ratelimit-remaining-subscription-global-writes: - '11999' x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 50D5D0EC6938466FBF13EC1E1FDF3F91 Ref B: AMS231020615007 Ref C: 2026-03-02T09:14:52Z' + - 'Ref A: 441AD5A251254E2DA4A8979F3C103F50 Ref B: MWH011020807031 Ref C: 2026-04-21T04:42:55Z' status: code: 201 message: Created @@ -455,23 +630,23 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/IdentityTest000002?api-version=2025-06-01-preview response: body: string: '{"type": "Microsoft.AppConfiguration/configurationStores", "location": "eastus", "properties": {"provisioningState": "Succeeded", "creationDate": - "2026-03-02T09:14:10+00:00", "endpoint": "https://identitytestpspo7gl27quv.azconfig.io", + "2026-04-21T04:42:07+00:00", "endpoint": "https://identitytestvv73w434s2el.azconfig.io", "encryption": {"keyVaultProperties": null}, "privateEndpointConnections": null, "disableLocalAuth": false, "softDeleteRetentionInDays": 1, "defaultKeyValueRevisionRetentionPeriodInSeconds": 2592000, "enablePurgeProtection": false, "dataPlaneProxy": {"authenticationMode": "Local", "privateLinkDelegation": "Disabled"}, "telemetry": {"resourceId": null}, "managedOnBehalfOfConfiguration": null, "azureFrontDoor": {"resourceId": null}}, "sku": {"name": "standard"}, "systemData": {"createdBy": "test@example.com", - "createdByType": "User", "createdAt": "2026-03-02T09:14:10+00:00", "lastModifiedBy": - "test@example.com", "lastModifiedByType": "User", "lastModifiedAt": "2026-03-02T09:14:10+00:00"}, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/identitytestpspo7gl27quv", + "createdByType": "User", "createdAt": "2026-04-21T04:42:07+00:00", "lastModifiedBy": + "test@example.com", "lastModifiedByType": "User", "lastModifiedAt": "2026-04-21T04:42:07+00:00"}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/identitytestvv73w434s2el", "name": "IdentityTest000002", "tags": {}}' headers: cache-control: @@ -481,9 +656,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 02 Mar 2026 09:14:54 GMT + - Tue, 21 Apr 2026 04:42:57 GMT etag: - - '"0e00d3f7-0000-0100-0000-69a554e30000"' + - '"8b0168d4-0000-0100-0000-69e700210000"' expires: - '-1' pragma: @@ -497,7 +672,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 9EFCFE8D48F74F28B25C0899AD0F5FDB Ref B: AMS231020512023 Ref C: 2026-03-02T09:14:54Z' + - 'Ref A: 46E7F26C29634F138F82771A687EB468 Ref B: CO6AA3150217051 Ref C: 2026-04-21T04:42:57Z' status: code: 200 message: OK @@ -519,24 +694,24 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/IdentityTest000002?api-version=2025-06-01-preview response: body: string: '{"type": "Microsoft.AppConfiguration/configurationStores", "location": - "eastus", "identity": {"type": "SystemAssigned", "principalId": "66e8be26-f82b-4475-acc7-a4f3ebdfc24f", + "eastus", "identity": {"type": "SystemAssigned", "principalId": "0e4f3f5c-48cb-4bf0-bfa8-30ac2af02e71", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"}, "properties": {"provisioningState": - "Succeeded", "creationDate": "2026-03-02T09:14:10+00:00", "endpoint": "https://identitytestpspo7gl27quv.azconfig.io", + "Succeeded", "creationDate": "2026-04-21T04:42:07+00:00", "endpoint": "https://identitytestvv73w434s2el.azconfig.io", "encryption": {"keyVaultProperties": null}, "privateEndpointConnections": null, "disableLocalAuth": false, "softDeleteRetentionInDays": 1, "defaultKeyValueRevisionRetentionPeriodInSeconds": 2592000, "enablePurgeProtection": false, "dataPlaneProxy": {"authenticationMode": "Local", "privateLinkDelegation": "Disabled"}, "telemetry": {"resourceId": null}, "managedOnBehalfOfConfiguration": null, "azureFrontDoor": {"resourceId": null}}, "sku": {"name": "standard"}, "systemData": {"createdBy": "test@example.com", - "createdByType": "User", "createdAt": "2026-03-02T09:14:10+00:00", "lastModifiedBy": - "test@example.com", "lastModifiedByType": "User", "lastModifiedAt": "2026-03-02T09:14:57.4254649+00:00"}, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/identitytestpspo7gl27quv", + "createdByType": "User", "createdAt": "2026-04-21T04:42:07+00:00", "lastModifiedBy": + "test@example.com", "lastModifiedByType": "User", "lastModifiedAt": "2026-04-21T04:43:00.5042342+00:00"}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/identitytestvv73w434s2el", "name": "IdentityTest000002", "tags": {}}' headers: cache-control: @@ -546,9 +721,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 02 Mar 2026 09:14:56 GMT + - Tue, 21 Apr 2026 04:43:00 GMT etag: - - '"0e00e4fb-0000-0100-0000-69a555110000"' + - '"8c01f14f-0000-0100-0000-69e700540000"' expires: - '-1' pragma: @@ -560,13 +735,13 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=43ddb22f-baef-4d3f-9e56-3a89871b9b59/westus/715abfda-38a4-4a7a-9558-58f7a495aa6d + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/6a7ca736-79ba-4677-918f-5ec2ccf91640 x-ms-ratelimit-remaining-subscription-global-writes: - '11999' x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 68114A468681402CB534304C8F727F6E Ref B: AMS231022012009 Ref C: 2026-03-02T09:14:55Z' + - 'Ref A: 8FD3DBF3503742D4B134A91E77CE4DA1 Ref B: CO6AA3150219039 Ref C: 2026-04-21T04:42:57Z' status: code: 200 message: OK @@ -584,24 +759,24 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/IdentityTest000002?api-version=2025-06-01-preview response: body: string: '{"type": "Microsoft.AppConfiguration/configurationStores", "location": - "eastus", "identity": {"type": "SystemAssigned", "principalId": "66e8be26-f82b-4475-acc7-a4f3ebdfc24f", + "eastus", "identity": {"type": "SystemAssigned", "principalId": "0e4f3f5c-48cb-4bf0-bfa8-30ac2af02e71", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"}, "properties": {"provisioningState": - "Succeeded", "creationDate": "2026-03-02T09:14:10+00:00", "endpoint": "https://identitytestpspo7gl27quv.azconfig.io", + "Succeeded", "creationDate": "2026-04-21T04:42:07+00:00", "endpoint": "https://identitytestvv73w434s2el.azconfig.io", "encryption": {"keyVaultProperties": null}, "privateEndpointConnections": null, "disableLocalAuth": false, "softDeleteRetentionInDays": 1, "defaultKeyValueRevisionRetentionPeriodInSeconds": 2592000, "enablePurgeProtection": false, "dataPlaneProxy": {"authenticationMode": "Local", "privateLinkDelegation": "Disabled"}, "telemetry": {"resourceId": null}, "managedOnBehalfOfConfiguration": null, "azureFrontDoor": {"resourceId": null}}, "sku": {"name": "standard"}, "systemData": {"createdBy": "test@example.com", - "createdByType": "User", "createdAt": "2026-03-02T09:14:10+00:00", "lastModifiedBy": - "test@example.com", "lastModifiedByType": "User", "lastModifiedAt": "2026-03-02T09:14:57+00:00"}, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/identitytestpspo7gl27quv", + "createdByType": "User", "createdAt": "2026-04-21T04:42:07+00:00", "lastModifiedBy": + "test@example.com", "lastModifiedByType": "User", "lastModifiedAt": "2026-04-21T04:43:00+00:00"}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/identitytestvv73w434s2el", "name": "IdentityTest000002", "tags": {}}' headers: cache-control: @@ -611,9 +786,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 02 Mar 2026 09:14:58 GMT + - Tue, 21 Apr 2026 04:43:00 GMT etag: - - '"0e00e4fb-0000-0100-0000-69a555110000"' + - '"8c01f14f-0000-0100-0000-69e700540000"' expires: - '-1' pragma: @@ -627,7 +802,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: B30629B15490488AA2D087FA55C1DEBD Ref B: AMS231020614027 Ref C: 2026-03-02T09:14:58Z' + - 'Ref A: FB708A4286254A7089686997785B5E78 Ref B: MWH011020806052 Ref C: 2026-04-21T04:43:00Z' status: code: 200 message: OK @@ -645,24 +820,24 @@ interactions: ParameterSetName: - -n -g --identities User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/IdentityTest000002?api-version=2025-06-01-preview response: body: string: '{"type": "Microsoft.AppConfiguration/configurationStores", "location": - "eastus", "identity": {"type": "SystemAssigned", "principalId": "66e8be26-f82b-4475-acc7-a4f3ebdfc24f", + "eastus", "identity": {"type": "SystemAssigned", "principalId": "0e4f3f5c-48cb-4bf0-bfa8-30ac2af02e71", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"}, "properties": {"provisioningState": - "Succeeded", "creationDate": "2026-03-02T09:14:10+00:00", "endpoint": "https://identitytestpspo7gl27quv.azconfig.io", + "Succeeded", "creationDate": "2026-04-21T04:42:07+00:00", "endpoint": "https://identitytestvv73w434s2el.azconfig.io", "encryption": {"keyVaultProperties": null}, "privateEndpointConnections": null, "disableLocalAuth": false, "softDeleteRetentionInDays": 1, "defaultKeyValueRevisionRetentionPeriodInSeconds": 2592000, "enablePurgeProtection": false, "dataPlaneProxy": {"authenticationMode": "Local", "privateLinkDelegation": "Disabled"}, "telemetry": {"resourceId": null}, "managedOnBehalfOfConfiguration": null, "azureFrontDoor": {"resourceId": null}}, "sku": {"name": "standard"}, "systemData": {"createdBy": "test@example.com", - "createdByType": "User", "createdAt": "2026-03-02T09:14:10+00:00", "lastModifiedBy": - "test@example.com", "lastModifiedByType": "User", "lastModifiedAt": "2026-03-02T09:14:57+00:00"}, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/identitytestpspo7gl27quv", + "createdByType": "User", "createdAt": "2026-04-21T04:42:07+00:00", "lastModifiedBy": + "test@example.com", "lastModifiedByType": "User", "lastModifiedAt": "2026-04-21T04:43:00+00:00"}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/identitytestvv73w434s2el", "name": "IdentityTest000002", "tags": {}}' headers: cache-control: @@ -672,9 +847,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 02 Mar 2026 09:14:59 GMT + - Tue, 21 Apr 2026 04:43:01 GMT etag: - - '"0e00e4fb-0000-0100-0000-69a555110000"' + - '"8c01f14f-0000-0100-0000-69e700540000"' expires: - '-1' pragma: @@ -688,12 +863,12 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: FD0FB30929DB4D439454ABDC5257FDBC Ref B: AMS231032609039 Ref C: 2026-03-02T09:14:59Z' + - 'Ref A: A3A01F03606A4EB4835436315BF8ADE1 Ref B: MWH011020809052 Ref C: 2026-04-21T04:43:01Z' status: code: 200 message: OK - request: - body: '{"identity": {"type": "UserAssigned,SystemAssigned", "userAssignedIdentities": + body: '{"identity": {"type": "SystemAssigned,UserAssigned", "userAssignedIdentities": {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/UserAssignedIdentity000003": {}}}}' headers: @@ -712,7 +887,7 @@ interactions: ParameterSetName: - -n -g --identities User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/IdentityTest000002?api-version=2025-06-01-preview response: @@ -720,19 +895,19 @@ interactions: string: '{"type": "Microsoft.AppConfiguration/configurationStores", "location": "eastus", "identity": {"type": "SystemAssigned, UserAssigned", "userAssignedIdentities": {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/UserAssignedIdentity000003": - {"principalId": "0b526b1f-bcf6-4ecc-b145-7937cf60c9f8", "clientId": "df94a3de-689c-457d-9c11-52b6275c8032"}}, - "principalId": "66e8be26-f82b-4475-acc7-a4f3ebdfc24f", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"}, - "properties": {"provisioningState": "Succeeded", "creationDate": "2026-03-02T09:14:10+00:00", - "endpoint": "https://identitytestpspo7gl27quv.azconfig.io", "encryption": + {"principalId": "d2223b86-2ee9-4796-80ec-de59a2cb978d", "clientId": "b70ad62f-e5b6-46dc-9dc2-7a5b4e6ba925"}}, + "principalId": "0e4f3f5c-48cb-4bf0-bfa8-30ac2af02e71", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"}, + "properties": {"provisioningState": "Succeeded", "creationDate": "2026-04-21T04:42:07+00:00", + "endpoint": "https://identitytestvv73w434s2el.azconfig.io", "encryption": {"keyVaultProperties": null}, "privateEndpointConnections": null, "disableLocalAuth": false, "softDeleteRetentionInDays": 1, "defaultKeyValueRevisionRetentionPeriodInSeconds": 2592000, "enablePurgeProtection": false, "dataPlaneProxy": {"authenticationMode": "Local", "privateLinkDelegation": "Disabled"}, "telemetry": {"resourceId": null}, "managedOnBehalfOfConfiguration": null, "azureFrontDoor": {"resourceId": null}}, "sku": {"name": "standard"}, "systemData": {"createdBy": "test@example.com", - "createdByType": "User", "createdAt": "2026-03-02T09:14:10+00:00", "lastModifiedBy": - "test@example.com", "lastModifiedByType": "User", "lastModifiedAt": "2026-03-02T09:15:03.1217054+00:00"}, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/identitytestpspo7gl27quv", + "createdByType": "User", "createdAt": "2026-04-21T04:42:07+00:00", "lastModifiedBy": + "test@example.com", "lastModifiedByType": "User", "lastModifiedAt": "2026-04-21T04:43:03.5204416+00:00"}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/identitytestvv73w434s2el", "name": "IdentityTest000002", "tags": {}}' headers: cache-control: @@ -742,9 +917,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 02 Mar 2026 09:15:03 GMT + - Tue, 21 Apr 2026 04:43:03 GMT etag: - - '"0e0008fc-0000-0100-0000-69a555170000"' + - '"8c016459-0000-0100-0000-69e700570000"' expires: - '-1' pragma: @@ -756,13 +931,13 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=43ddb22f-baef-4d3f-9e56-3a89871b9b59/westus/a2ee9634-db02-4b27-9b1d-f970bf9d1319 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/a47bd9bc-92b8-44a4-9a05-b43c57a966cd x-ms-ratelimit-remaining-subscription-global-writes: - '11999' x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 388EDAA111DD4E6F85360574298F27AA Ref B: AMS231032607023 Ref C: 2026-03-02T09:15:00Z' + - 'Ref A: 8AC20E5A622E4EECB9E037BC75889587 Ref B: CO6AA3150217033 Ref C: 2026-04-21T04:43:01Z' status: code: 200 message: OK @@ -780,7 +955,7 @@ interactions: ParameterSetName: - -n -g --identities User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/IdentityTest000002?api-version=2025-06-01-preview response: @@ -788,19 +963,19 @@ interactions: string: '{"type": "Microsoft.AppConfiguration/configurationStores", "location": "eastus", "identity": {"type": "SystemAssigned, UserAssigned", "userAssignedIdentities": {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/UserAssignedIdentity000003": - {"principalId": "0b526b1f-bcf6-4ecc-b145-7937cf60c9f8", "clientId": "df94a3de-689c-457d-9c11-52b6275c8032"}}, - "principalId": "66e8be26-f82b-4475-acc7-a4f3ebdfc24f", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"}, - "properties": {"provisioningState": "Succeeded", "creationDate": "2026-03-02T09:14:10+00:00", - "endpoint": "https://identitytestpspo7gl27quv.azconfig.io", "encryption": + {"principalId": "d2223b86-2ee9-4796-80ec-de59a2cb978d", "clientId": "b70ad62f-e5b6-46dc-9dc2-7a5b4e6ba925"}}, + "principalId": "0e4f3f5c-48cb-4bf0-bfa8-30ac2af02e71", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"}, + "properties": {"provisioningState": "Succeeded", "creationDate": "2026-04-21T04:42:07+00:00", + "endpoint": "https://identitytestvv73w434s2el.azconfig.io", "encryption": {"keyVaultProperties": null}, "privateEndpointConnections": null, "disableLocalAuth": false, "softDeleteRetentionInDays": 1, "defaultKeyValueRevisionRetentionPeriodInSeconds": 2592000, "enablePurgeProtection": false, "dataPlaneProxy": {"authenticationMode": "Local", "privateLinkDelegation": "Disabled"}, "telemetry": {"resourceId": null}, "managedOnBehalfOfConfiguration": null, "azureFrontDoor": {"resourceId": null}}, "sku": {"name": "standard"}, "systemData": {"createdBy": "test@example.com", - "createdByType": "User", "createdAt": "2026-03-02T09:14:10+00:00", "lastModifiedBy": - "test@example.com", "lastModifiedByType": "User", "lastModifiedAt": "2026-03-02T09:15:03+00:00"}, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/identitytestpspo7gl27quv", + "createdByType": "User", "createdAt": "2026-04-21T04:42:07+00:00", "lastModifiedBy": + "test@example.com", "lastModifiedByType": "User", "lastModifiedAt": "2026-04-21T04:43:03+00:00"}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/identitytestvv73w434s2el", "name": "IdentityTest000002", "tags": {}}' headers: cache-control: @@ -810,9 +985,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 02 Mar 2026 09:15:04 GMT + - Tue, 21 Apr 2026 04:43:03 GMT etag: - - '"0e0008fc-0000-0100-0000-69a555170000"' + - '"8c016459-0000-0100-0000-69e700570000"' expires: - '-1' pragma: @@ -826,7 +1001,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 5EA1B7A1A6E44666B0FF5A8A8F750472 Ref B: AMS231032607025 Ref C: 2026-03-02T09:15:04Z' + - 'Ref A: 4FD89F0A4F6D46EDA803784BCE7131D7 Ref B: CO1AA3060815036 Ref C: 2026-04-21T04:43:03Z' status: code: 200 message: OK @@ -844,7 +1019,7 @@ interactions: ParameterSetName: - -n -g --identities User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/IdentityTest000002?api-version=2025-06-01-preview response: @@ -852,19 +1027,19 @@ interactions: string: '{"type": "Microsoft.AppConfiguration/configurationStores", "location": "eastus", "identity": {"type": "SystemAssigned, UserAssigned", "userAssignedIdentities": {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/UserAssignedIdentity000003": - {"principalId": "0b526b1f-bcf6-4ecc-b145-7937cf60c9f8", "clientId": "df94a3de-689c-457d-9c11-52b6275c8032"}}, - "principalId": "66e8be26-f82b-4475-acc7-a4f3ebdfc24f", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"}, - "properties": {"provisioningState": "Succeeded", "creationDate": "2026-03-02T09:14:10+00:00", - "endpoint": "https://identitytestpspo7gl27quv.azconfig.io", "encryption": + {"principalId": "d2223b86-2ee9-4796-80ec-de59a2cb978d", "clientId": "b70ad62f-e5b6-46dc-9dc2-7a5b4e6ba925"}}, + "principalId": "0e4f3f5c-48cb-4bf0-bfa8-30ac2af02e71", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"}, + "properties": {"provisioningState": "Succeeded", "creationDate": "2026-04-21T04:42:07+00:00", + "endpoint": "https://identitytestvv73w434s2el.azconfig.io", "encryption": {"keyVaultProperties": null}, "privateEndpointConnections": null, "disableLocalAuth": false, "softDeleteRetentionInDays": 1, "defaultKeyValueRevisionRetentionPeriodInSeconds": 2592000, "enablePurgeProtection": false, "dataPlaneProxy": {"authenticationMode": "Local", "privateLinkDelegation": "Disabled"}, "telemetry": {"resourceId": null}, "managedOnBehalfOfConfiguration": null, "azureFrontDoor": {"resourceId": null}}, "sku": {"name": "standard"}, "systemData": {"createdBy": "test@example.com", - "createdByType": "User", "createdAt": "2026-03-02T09:14:10+00:00", "lastModifiedBy": - "test@example.com", "lastModifiedByType": "User", "lastModifiedAt": "2026-03-02T09:15:03+00:00"}, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/identitytestpspo7gl27quv", + "createdByType": "User", "createdAt": "2026-04-21T04:42:07+00:00", "lastModifiedBy": + "test@example.com", "lastModifiedByType": "User", "lastModifiedAt": "2026-04-21T04:43:03+00:00"}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/identitytestvv73w434s2el", "name": "IdentityTest000002", "tags": {}}' headers: cache-control: @@ -874,9 +1049,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 02 Mar 2026 09:15:05 GMT + - Tue, 21 Apr 2026 04:43:03 GMT etag: - - '"0e0008fc-0000-0100-0000-69a555170000"' + - '"8c016459-0000-0100-0000-69e700570000"' expires: - '-1' pragma: @@ -890,7 +1065,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: BFF95E4103DF4431964088D2469F5386 Ref B: AMS231032608051 Ref C: 2026-03-02T09:15:05Z' + - 'Ref A: 152CA1FCD13E4586B70998F5B8AE42EE Ref B: MWH011020807031 Ref C: 2026-04-21T04:43:04Z' status: code: 200 message: OK @@ -912,24 +1087,24 @@ interactions: ParameterSetName: - -n -g --identities User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/IdentityTest000002?api-version=2025-06-01-preview response: body: string: '{"type": "Microsoft.AppConfiguration/configurationStores", "location": - "eastus", "identity": {"type": "SystemAssigned", "principalId": "66e8be26-f82b-4475-acc7-a4f3ebdfc24f", + "eastus", "identity": {"type": "SystemAssigned", "principalId": "0e4f3f5c-48cb-4bf0-bfa8-30ac2af02e71", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"}, "properties": {"provisioningState": - "Succeeded", "creationDate": "2026-03-02T09:14:10+00:00", "endpoint": "https://identitytestpspo7gl27quv.azconfig.io", + "Succeeded", "creationDate": "2026-04-21T04:42:07+00:00", "endpoint": "https://identitytestvv73w434s2el.azconfig.io", "encryption": {"keyVaultProperties": null}, "privateEndpointConnections": null, "disableLocalAuth": false, "softDeleteRetentionInDays": 1, "defaultKeyValueRevisionRetentionPeriodInSeconds": 2592000, "enablePurgeProtection": false, "dataPlaneProxy": {"authenticationMode": "Local", "privateLinkDelegation": "Disabled"}, "telemetry": {"resourceId": null}, "managedOnBehalfOfConfiguration": null, "azureFrontDoor": {"resourceId": null}}, "sku": {"name": "standard"}, "systemData": {"createdBy": "test@example.com", - "createdByType": "User", "createdAt": "2026-03-02T09:14:10+00:00", "lastModifiedBy": - "test@example.com", "lastModifiedByType": "User", "lastModifiedAt": "2026-03-02T09:15:08.0518076+00:00"}, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/identitytestpspo7gl27quv", + "createdByType": "User", "createdAt": "2026-04-21T04:42:07+00:00", "lastModifiedBy": + "test@example.com", "lastModifiedByType": "User", "lastModifiedAt": "2026-04-21T04:43:06.0982891+00:00"}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/identitytestvv73w434s2el", "name": "IdentityTest000002", "tags": {}}' headers: cache-control: @@ -939,9 +1114,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 02 Mar 2026 09:15:08 GMT + - Tue, 21 Apr 2026 04:43:05 GMT etag: - - '"0e0028fc-0000-0100-0000-69a5551c0000"' + - '"8c011a61-0000-0100-0000-69e7005a0000"' expires: - '-1' pragma: @@ -953,13 +1128,13 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=43ddb22f-baef-4d3f-9e56-3a89871b9b59/westus/d6530cb9-8e6a-4d9d-9979-a7a9c1b10a84 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/e65c5506-2c85-4c5e-8e8b-4c69db749e8e x-ms-ratelimit-remaining-subscription-global-writes: - '11999' x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 626970B146474D3883AFF1624BC1ACCE Ref B: AMS231032608051 Ref C: 2026-03-02T09:15:06Z' + - 'Ref A: E5B434FA62554C6C9DFB6EC8D9706BB6 Ref B: CO1AA3060818052 Ref C: 2026-04-21T04:43:04Z' status: code: 200 message: OK @@ -977,24 +1152,24 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/IdentityTest000002?api-version=2025-06-01-preview response: body: string: '{"type": "Microsoft.AppConfiguration/configurationStores", "location": - "eastus", "identity": {"type": "SystemAssigned", "principalId": "66e8be26-f82b-4475-acc7-a4f3ebdfc24f", + "eastus", "identity": {"type": "SystemAssigned", "principalId": "0e4f3f5c-48cb-4bf0-bfa8-30ac2af02e71", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"}, "properties": {"provisioningState": - "Succeeded", "creationDate": "2026-03-02T09:14:10+00:00", "endpoint": "https://identitytestpspo7gl27quv.azconfig.io", + "Succeeded", "creationDate": "2026-04-21T04:42:07+00:00", "endpoint": "https://identitytestvv73w434s2el.azconfig.io", "encryption": {"keyVaultProperties": null}, "privateEndpointConnections": null, "disableLocalAuth": false, "softDeleteRetentionInDays": 1, "defaultKeyValueRevisionRetentionPeriodInSeconds": 2592000, "enablePurgeProtection": false, "dataPlaneProxy": {"authenticationMode": "Local", "privateLinkDelegation": "Disabled"}, "telemetry": {"resourceId": null}, "managedOnBehalfOfConfiguration": null, "azureFrontDoor": {"resourceId": null}}, "sku": {"name": "standard"}, "systemData": {"createdBy": "test@example.com", - "createdByType": "User", "createdAt": "2026-03-02T09:14:10+00:00", "lastModifiedBy": - "test@example.com", "lastModifiedByType": "User", "lastModifiedAt": "2026-03-02T09:15:08+00:00"}, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/identitytestpspo7gl27quv", + "createdByType": "User", "createdAt": "2026-04-21T04:42:07+00:00", "lastModifiedBy": + "test@example.com", "lastModifiedByType": "User", "lastModifiedAt": "2026-04-21T04:43:06+00:00"}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.AppConfiguration/configurationStores/identitytestvv73w434s2el", "name": "IdentityTest000002", "tags": {}}' headers: cache-control: @@ -1004,9 +1179,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 02 Mar 2026 09:15:09 GMT + - Tue, 21 Apr 2026 04:43:06 GMT etag: - - '"0e0028fc-0000-0100-0000-69a5551c0000"' + - '"8c011a61-0000-0100-0000-69e7005a0000"' expires: - '-1' pragma: @@ -1020,7 +1195,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: D949C1B4573740D2834B71028E824D78 Ref B: AMS231020615017 Ref C: 2026-03-02T09:15:09Z' + - 'Ref A: 3CFCBBBC1C774C8CAEE577961FB4EC7E Ref B: CO1AA3060814034 Ref C: 2026-04-21T04:43:06Z' status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_appservice_plan_identity_operations.yaml b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_appservice_plan_identity_operations.yaml index f9564abae47..37bb65831a8 100644 --- a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_appservice_plan_identity_operations.yaml +++ b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_appservice_plan_identity_operations.yaml @@ -225,7 +225,7 @@ interactions: User-Agent: - AZURECLI/2.83.0 azsdk-python-core/1.38.0 Python/3.11.9 (Windows-10-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mi-identity000003?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mi-identity000003?api-version=2025-05-31-preview response: body: string: '{"location":"eastus2euap","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mi-identity000003","name":"mi-identity000003","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"121a5151-2d08-4acb-aac2-7d9334ac5ec1","clientId":"b1382ffc-2bfc-40e5-90e5-5448960d02c9"}}' diff --git a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_appservice_plan_identity_set_default.yaml b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_appservice_plan_identity_set_default.yaml index 508eabd430d..0d27c5c2000 100644 --- a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_appservice_plan_identity_set_default.yaml +++ b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_appservice_plan_identity_set_default.yaml @@ -173,7 +173,7 @@ interactions: User-Agent: - AZURECLI/2.80.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mi-identity-default000003?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mi-identity-default000003?api-version=2025-05-31-preview response: body: string: '{"location":"eastus2euap","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mi-identity-default000003","name":"mi-identity-default000003","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"a07b017a-b3f9-4b36-8c1f-843fe5f1f881","clientId":"8ecd5920-1d2d-4ba6-a976-811414fae403"}}' diff --git a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_appservice_plan_managed_instance_with_identities.yaml b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_appservice_plan_managed_instance_with_identities.yaml index 53000b610fa..c62d343987e 100644 --- a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_appservice_plan_managed_instance_with_identities.yaml +++ b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_appservice_plan_managed_instance_with_identities.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.80.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mi-identity000003?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mi-identity000003?api-version=2025-05-31-preview response: body: string: '{"location":"eastus2euap","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mi-identity000003","name":"mi-identity000003","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"6b79ed94-6732-4830-b669-ac4b12771540","clientId":"4c744727-71fe-4e86-a9b1-a5b76cbd6d58"}}' diff --git a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_functionapp_assign_user_identity.yaml b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_functionapp_assign_user_identity.yaml index d060a3f9ccc..a45171ef8ca 100644 --- a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_functionapp_assign_user_identity.yaml +++ b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_functionapp_assign_user_identity.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.13.9 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1000005?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1000005?api-version=2025-05-31-preview response: body: string: '{"location":"francecentral","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1000005","name":"id1000005","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"37c06323-6f20-4226-bff7-e3bfbfe5e40a","clientId":"6782325a-867d-487a-b39d-fbd82f0120cd"}}' diff --git a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_functionapp_remove_identity.yaml b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_functionapp_remove_identity.yaml index bee973b88d4..fe3925a993f 100644 --- a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_functionapp_remove_identity.yaml +++ b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_functionapp_remove_identity.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.13.9 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1000005?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1000005?api-version=2025-05-31-preview response: body: string: '{"location":"francecentral","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1000005","name":"id1000005","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"c1f1ac3d-079a-4b1f-99b6-8fa3b36e19c7","clientId":"26522cfe-45a5-4fdd-895e-37297fd6ca85"}}' @@ -167,7 +167,7 @@ interactions: User-Agent: - AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.13.9 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1000006?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1000006?api-version=2025-05-31-preview response: body: string: '{"location":"francecentral","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1000006","name":"id1000006","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"31995bbb-5a1e-40bf-9b5d-d62638649122","clientId":"e9278240-e62b-43ad-9572-9556e4e12765"}}' diff --git a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_webapp_hyperv_acr_use_identity.yaml b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_webapp_hyperv_acr_use_identity.yaml index c4bae948a57..32b2ff14f1a 100644 --- a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_webapp_hyperv_acr_use_identity.yaml +++ b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_webapp_hyperv_acr_use_identity.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - -g -n --hyper-v --sku User-Agent: - - AZURECLI/2.83.0 azsdk-python-core/1.38.0 Python/3.11.9 (Windows-10-10.0.26200-SP0) + - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/webapp_hyperv_acr_use_identity000001?api-version=2024-11-01 + uri: https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/webapp_hyperv_acr_use_identity000001?api-version=2024-11-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001","name":"webapp_hyperv_acr_use_identity000001","type":"Microsoft.Resources/resourceGroups","location":"westeurope","tags":{"product":"azurecli","cause":"automation","test":"test_webapp_hyperv_acr_use_identity","date":"2026-02-26T11:31:46Z","module":"appservice"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001","name":"webapp_hyperv_acr_use_identity000001","type":"Microsoft.Resources/resourceGroups","location":"westeurope","tags":{"product":"azurecli","cause":"automation","test":"test_webapp_hyperv_acr_use_identity","date":"2026-03-16T23:39:07Z","module":"appservice"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 26 Feb 2026 11:31:51 GMT + - Mon, 16 Mar 2026 23:39:11 GMT expires: - '-1' pragma: @@ -38,10 +38,10 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + x-ms-throttling-version: + - v2 x-msedge-ref: - - 'Ref A: 758A9357908B4B68B88EF2277CD4EB8B Ref B: PNQ231110907054 Ref C: 2026-02-26T11:31:50Z' + - 'Ref A: 046D01BBDA114E1EA19333C38ED230B5 Ref B: CO6AA3150218025 Ref C: 2026-03-16T23:39:11Z' status: code: 200 message: OK @@ -64,13 +64,13 @@ interactions: ParameterSetName: - -g -n --hyper-v --sku User-Agent: - - AZURECLI/2.83.0 azsdk-python-core/1.38.0 Python/3.11.9 (Windows-10-10.0.26200-SP0) + - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/serverfarms/plan-hyperv000003?api-version=2025-03-01 + uri: https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/serverfarms/plan-hyperv000003?api-version=2025-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/serverfarms/plan-hyperv000003","name":"plan-hyperv000003","type":"Microsoft.Web/serverfarms","kind":"windows","location":"westeurope","properties":{"serverFarmId":102270,"name":"plan-hyperv000003","sku":{"name":"P1v3","tier":"PremiumV3","size":"P1v3","family":"Pv3","capacity":1},"workerSize":"SmallV3","workerSizeId":6,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"SmallV3","currentWorkerSizeId":6,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"webapp_hyperv_acr_use_identity000001-WestEuropewebspace-Xenon","subscription":"bef29afb-3c08-4894-ae64-43bdd8f3f447","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":0,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West - Europe","perSiteScaling":false,"elasticScaleEnabled":false,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"windows","resourceGroup":"webapp_hyperv_acr_use_identity000001","reserved":false,"isXenon":true,"hyperV":true,"mdmId":"waws-prod-am2-599_102270","targetWorkerCount":0,"targetWorkerSizeId":0,"targetWorkerSku":null,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null,"kubeEnvironmentProfile":null,"zoneRedundant":false,"maximumNumberOfZones":1,"currentNumberOfZonesUtilized":1,"migrateToVMSS":null,"vnetConnectionsUsed":null,"vnetConnectionsMax":null,"createdTime":"2026-02-26T11:31:57.9866667","asyncScalingEnabled":false,"isCustomMode":false,"powerState":"Running","eligibleLogCategories":""},"sku":{"name":"P1v3","tier":"PremiumV3","size":"P1v3","family":"Pv3","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/serverfarms/plan-hyperv000003","name":"plan-hyperv000003","type":"Microsoft.Web/serverfarms","kind":"windows","location":"westeurope","properties":{"serverFarmId":108896,"name":"plan-hyperv000003","sku":{"name":"P1v3","tier":"PremiumV3","size":"P1v3","family":"Pv3","capacity":1},"workerSize":"SmallV3","workerSizeId":6,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"SmallV3","currentWorkerSizeId":6,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"webapp_hyperv_acr_use_identity000001-WestEuropewebspace-Xenon","subscription":"6a07d018-378c-4224-968b-468f214b3c16","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":0,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West + Europe","perSiteScaling":false,"elasticScaleEnabled":false,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"windows","resourceGroup":"webapp_hyperv_acr_use_identity000001","reserved":false,"isXenon":true,"hyperV":true,"mdmId":"waws-prod-am2-585_108896","targetWorkerCount":0,"targetWorkerSizeId":0,"targetWorkerSku":null,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null,"kubeEnvironmentProfile":null,"zoneRedundant":false,"maximumNumberOfZones":1,"currentNumberOfZonesUtilized":1,"migrateToVMSS":null,"vnetConnectionsUsed":null,"vnetConnectionsMax":null,"createdTime":"2026-03-16T23:39:18.6466667","asyncScalingEnabled":false,"isCustomMode":false,"powerState":"Running","eligibleLogCategories":""},"sku":{"name":"P1v3","tier":"PremiumV3","size":"P1v3","family":"Pv3","capacity":1}}' headers: cache-control: - no-cache @@ -79,9 +79,9 @@ interactions: content-type: - application/json date: - - Thu, 26 Feb 2026 11:32:00 GMT + - Mon, 16 Mar 2026 23:39:23 GMT etag: - - 1DCA71385E06B0B,1DCA713860DAF95,1DCA713861FFF15 + - 1DCB59E1DAEE3D5,1DCB59E1E1316E0,1DCB59E1E36B175 expires: - '-1' pragma: @@ -95,13 +95,13 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=1ad78d6e-2ba6-4319-afd9-010403750d9a/westeurope/514dfdd8-07ca-4596-b7d4-88baa6e9d3d6 - x-ms-ratelimit-remaining-subscription-global-writes: - - '12000' + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/eastus2euap/e55ef288-536e-492b-89f5-c61fa2d0377c x-ms-ratelimit-remaining-subscription-writes: - '800' + x-ms-throttling-version: + - v2 x-msedge-ref: - - 'Ref A: 45EC880264FD48BDAE338258A523BA21 Ref B: PNQ231110906040 Ref C: 2026-02-26T11:31:51Z' + - 'Ref A: 688531AD39894723A561095BD32FE131 Ref B: MWH011020806052 Ref C: 2026-03-16T23:39:11Z' x-powered-by: - ASP.NET status: @@ -122,14 +122,14 @@ interactions: - -g -n --plan --container-registry-url --container-image-name --assign-identity --acr-use-identity --acr-identity User-Agent: - - AZURECLI/2.83.0 azsdk-python-core/1.38.0 Python/3.11.9 (Windows-10-10.0.26200-SP0) + - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/serverfarms/plan-hyperv000003?api-version=2024-11-01 + uri: https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/serverfarms/plan-hyperv000003?api-version=2024-11-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/serverfarms/plan-hyperv000003","name":"plan-hyperv000003","type":"Microsoft.Web/serverfarms","kind":"windows","location":"West - Europe","properties":{"serverFarmId":102270,"name":"plan-hyperv000003","workerSize":"SmallV3","workerSizeId":6,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"SmallV3","currentWorkerSizeId":6,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"webapp_hyperv_acr_use_identity000001-WestEuropewebspace-Xenon","subscription":"bef29afb-3c08-4894-ae64-43bdd8f3f447","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":30,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West - Europe","perSiteScaling":false,"elasticScaleEnabled":false,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"windows","resourceGroup":"webapp_hyperv_acr_use_identity000001","reserved":false,"isXenon":true,"hyperV":true,"mdmId":"waws-prod-am2-599_102270","targetWorkerCount":0,"targetWorkerSizeId":0,"targetWorkerSku":null,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null,"kubeEnvironmentProfile":null,"zoneRedundant":false,"maximumNumberOfZones":1,"currentNumberOfZonesUtilized":1,"migrateToVMSS":null,"vnetConnectionsUsed":0,"vnetConnectionsMax":2,"createdTime":"2026-02-26T11:31:57.9866667","asyncScalingEnabled":false,"isCustomMode":false,"powerState":"Running","eligibleLogCategories":""},"sku":{"name":"P1v3","tier":"PremiumV3","size":"P1v3","family":"Pv3","capacity":1}}' + Europe","properties":{"serverFarmId":108896,"name":"plan-hyperv000003","workerSize":"SmallV3","workerSizeId":6,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"SmallV3","currentWorkerSizeId":6,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"webapp_hyperv_acr_use_identity000001-WestEuropewebspace-Xenon","subscription":"6a07d018-378c-4224-968b-468f214b3c16","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":30,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West + Europe","perSiteScaling":false,"elasticScaleEnabled":false,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"windows","resourceGroup":"webapp_hyperv_acr_use_identity000001","reserved":false,"isXenon":true,"hyperV":true,"mdmId":"waws-prod-am2-585_108896","targetWorkerCount":0,"targetWorkerSizeId":0,"targetWorkerSku":null,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null,"kubeEnvironmentProfile":null,"zoneRedundant":false,"maximumNumberOfZones":1,"currentNumberOfZonesUtilized":1,"migrateToVMSS":null,"vnetConnectionsUsed":0,"vnetConnectionsMax":2,"createdTime":"2026-03-16T23:39:18.6466667","asyncScalingEnabled":false,"isCustomMode":false,"powerState":"Running","eligibleLogCategories":""},"sku":{"name":"P1v3","tier":"PremiumV3","size":"P1v3","family":"Pv3","capacity":1}}' headers: cache-control: - no-cache @@ -138,7 +138,7 @@ interactions: content-type: - application/json date: - - Thu, 26 Feb 2026 11:32:02 GMT + - Mon, 16 Mar 2026 23:39:26 GMT expires: - '-1' pragma: @@ -151,10 +151,10 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + x-ms-throttling-version: + - v2 x-msedge-ref: - - 'Ref A: 4709D2F88BFB4D7982150C9E606C16B5 Ref B: PNQ231110908034 Ref C: 2026-02-26T11:32:02Z' + - 'Ref A: A226DEB42D7F458993FD7956B0DD002A Ref B: CO6AA3150217025 Ref C: 2026-03-16T23:39:26Z' x-powered-by: - ASP.NET status: @@ -179,9 +179,9 @@ interactions: - -g -n --plan --container-registry-url --container-image-name --assign-identity --acr-use-identity --acr-identity User-Agent: - - AZURECLI/2.83.0 azsdk-python-core/1.38.0 Python/3.11.9 (Windows-10-10.0.26200-SP0) + - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/checknameavailability?api-version=2024-11-01 + uri: https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/checknameavailability?api-version=2024-11-01 response: body: string: '{"nameAvailable":true,"reason":"","message":""}' @@ -193,7 +193,7 @@ interactions: content-type: - application/json date: - - Thu, 26 Feb 2026 11:32:07 GMT + - Mon, 16 Mar 2026 23:39:27 GMT expires: - '-1' pragma: @@ -207,11 +207,11 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=1ad78d6e-2ba6-4319-afd9-010403750d9a/westindia/5049236c-6f43-447e-b406-9453024f532e - x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/eastus2euap/23b58e0f-ca48-4b75-be19-7592b2a3e138 + x-ms-throttling-version: + - v2 x-msedge-ref: - - 'Ref A: 19829F7235474048950ACF74C39BE785 Ref B: PNQ231110908025 Ref C: 2026-02-26T11:32:03Z' + - 'Ref A: 9E9D0D0B65EB43EA9C3C04806778392F Ref B: CO6AA3150217009 Ref C: 2026-03-16T23:39:27Z' x-powered-by: - ASP.NET status: @@ -243,26 +243,26 @@ interactions: - -g -n --plan --container-registry-url --container-image-name --assign-identity --acr-use-identity --acr-identity User-Agent: - - AZURECLI/2.83.0 azsdk-python-core/1.38.0 Python/3.11.9 (Windows-10-10.0.26200-SP0) + - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/sites/webapp-hyperv000002?api-version=2024-11-01 + uri: https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/sites/webapp-hyperv000002?api-version=2024-11-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/sites/webapp-hyperv000002","name":"webapp-hyperv000002","type":"Microsoft.Web/sites","kind":"app,container,windows","location":"West - Europe","properties":{"name":"webapp-hyperv000002","state":"Running","hostNames":["webapp-hyperv000002.azurewebsites.net"],"webSpace":"webapp_hyperv_acr_use_identity000001-WestEuropewebspace-Xenon","selfLink":"https://waws-prod-am2-599.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/webapp_hyperv_acr_use_identity000001-WestEuropewebspace-Xenon/sites/webapp-hyperv000002","repositorySiteName":"webapp-hyperv000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"siteScopedCertificatesEnabled":false,"afdEnabled":false,"enabledHostNames":["webapp-hyperv000002.azurewebsites.net","webapp-hyperv000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":"DOCKER|mcr.microsoft.com/azure-app-service/windows/parkingpage:latest"}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-hyperv000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"virtualIPv6":null,"thumbprint":null,"certificateResourceId":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-hyperv000002.scm.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"virtualIPv6":null,"thumbprint":null,"certificateResourceId":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Repository"}],"hostNamePrivateStates":[],"computeMode":null,"serverFarm":null,"serverFarmId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/serverfarms/plan-hyperv000003","reserved":false,"isXenon":true,"hyperV":true,"sandboxType":null,"lastModifiedTimeUtc":"2026-02-26T11:32:11.2","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","dnsConfiguration":{},"containerAllocationSubnet":null,"useContainerLocalhostBindings":null,"outboundVnetRouting":{"allTraffic":false,"applicationTraffic":false,"contentShareTraffic":false,"imagePullTraffic":false,"backupRestoreTraffic":false,"managedIdentityTraffic":false},"legacyServiceEndpointTrafficEvaluation":null,"siteConfig":{"numberOfWorkers":1,"defaultDocuments":null,"netFrameworkVersion":null,"phpVersion":null,"pythonVersion":null,"nodeVersion":null,"powerShellVersion":null,"linuxFxVersion":"","windowsFxVersion":null,"sandboxType":null,"windowsConfiguredStacks":null,"requestTracingEnabled":null,"remoteDebuggingEnabled":null,"remoteDebuggingVersion":null,"httpLoggingEnabled":null,"azureMonitorLogCategories":null,"acrUseManagedIdentityCreds":false,"acrUserManagedIdentityID":null,"logsDirectorySizeLimit":null,"detailedErrorLoggingEnabled":null,"publishingUsername":null,"publishingPassword":null,"appSettings":null,"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":null,"use32BitWorkerProcess":null,"webSocketsEnabled":null,"alwaysOn":false,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":null,"managedPipelineMode":null,"virtualApplications":null,"winAuthAdminState":null,"winAuthTenantState":null,"customAppPoolIdentityAdminState":null,"customAppPoolIdentityTenantState":null,"runtimeADUser":null,"runtimeADUserPassword":null,"loadBalancing":null,"routingRules":null,"experiments":null,"limits":null,"autoHealEnabled":null,"autoHealRules":null,"tracingOptions":null,"vnetName":null,"vnetRouteAllEnabled":null,"vnetPrivatePortsCount":null,"publicNetworkAccess":null,"cors":null,"push":null,"apiDefinition":null,"apiManagementConfig":null,"autoSwapSlotName":null,"localMySqlEnabled":null,"managedServiceIdentityId":null,"xManagedServiceIdentityId":null,"keyVaultReferenceIdentity":null,"ipSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":2147483647,"name":"Allow + Europe","properties":{"name":"webapp-hyperv000002","state":"Running","hostNames":["webapp-hyperv000002.azurewebsites.net"],"webSpace":"webapp_hyperv_acr_use_identity000001-WestEuropewebspace-Xenon","selfLink":"https://waws-prod-am2-585.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/webapp_hyperv_acr_use_identity000001-WestEuropewebspace-Xenon/sites/webapp-hyperv000002","repositorySiteName":"webapp-hyperv000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"siteScopedCertificatesEnabled":false,"afdEnabled":false,"enabledHostNames":["webapp-hyperv000002.azurewebsites.net","webapp-hyperv000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":"DOCKER|mcr.microsoft.com/azure-app-service/windows/parkingpage:latest"}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-hyperv000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"virtualIPv6":null,"thumbprint":null,"certificateResourceId":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-hyperv000002.scm.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"virtualIPv6":null,"thumbprint":null,"certificateResourceId":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Repository"}],"hostNamePrivateStates":[],"computeMode":null,"serverFarm":null,"serverFarmId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/serverfarms/plan-hyperv000003","reserved":false,"isXenon":true,"hyperV":true,"sandboxType":null,"lastModifiedTimeUtc":"2026-03-16T23:39:31.4466667","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","dnsConfiguration":{},"containerAllocationSubnet":null,"useContainerLocalhostBindings":null,"outboundVnetRouting":{"allTraffic":false,"applicationTraffic":false,"contentShareTraffic":false,"imagePullTraffic":false,"backupRestoreTraffic":false,"managedIdentityTraffic":false},"legacyServiceEndpointTrafficEvaluation":null,"siteConfig":{"numberOfWorkers":1,"defaultDocuments":null,"netFrameworkVersion":null,"phpVersion":null,"pythonVersion":null,"nodeVersion":null,"powerShellVersion":null,"linuxFxVersion":"","windowsFxVersion":null,"sandboxType":null,"windowsConfiguredStacks":null,"requestTracingEnabled":null,"remoteDebuggingEnabled":null,"remoteDebuggingVersion":null,"httpLoggingEnabled":null,"azureMonitorLogCategories":null,"acrUseManagedIdentityCreds":false,"acrUserManagedIdentityID":null,"logsDirectorySizeLimit":null,"detailedErrorLoggingEnabled":null,"publishingUsername":null,"publishingPassword":null,"appSettings":null,"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":null,"use32BitWorkerProcess":null,"webSocketsEnabled":null,"alwaysOn":false,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":null,"managedPipelineMode":null,"virtualApplications":null,"winAuthAdminState":null,"winAuthTenantState":null,"customAppPoolIdentityAdminState":null,"customAppPoolIdentityTenantState":null,"runtimeADUser":null,"runtimeADUserPassword":null,"loadBalancing":null,"routingRules":null,"experiments":null,"limits":null,"autoHealEnabled":null,"autoHealRules":null,"tracingOptions":null,"vnetName":null,"vnetRouteAllEnabled":null,"vnetPrivatePortsCount":null,"publicNetworkAccess":null,"cors":null,"push":null,"apiDefinition":null,"apiManagementConfig":null,"autoSwapSlotName":null,"localMySqlEnabled":null,"managedServiceIdentityId":null,"xManagedServiceIdentityId":null,"keyVaultReferenceIdentity":null,"ipSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":2147483647,"name":"Allow all","description":"Allow all access"}],"ipSecurityRestrictionsDefaultAction":null,"scmIpSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":2147483647,"name":"Allow - all","description":"Allow all access"}],"scmIpSecurityRestrictionsDefaultAction":null,"scmIpSecurityRestrictionsUseMain":null,"http20Enabled":false,"minTlsVersion":null,"minTlsCipherSuite":null,"scmMinTlsCipherSuite":null,"supportedTlsCipherSuites":null,"scmSupportedTlsCipherSuites":null,"scmMinTlsVersion":null,"ftpsState":null,"preWarmedInstanceCount":null,"functionAppScaleLimit":null,"elasticWebAppScaleLimit":0,"healthCheckPath":null,"fileChangeAuditEnabled":null,"functionsRuntimeScaleMonitoringEnabled":null,"websiteTimeZone":null,"minimumElasticInstanceCount":0,"azureStorageAccounts":null,"http20ProxyFlag":null,"sitePort":null,"antivirusScanEnabled":null,"storageType":null,"sitePrivateLinkHostEnabled":null,"clusteringEnabled":false,"webJobsEnabled":false},"functionAppConfig":null,"daprConfig":null,"deploymentId":"webapp-hyperv000002","slotName":null,"trafficManagerHostNames":null,"sku":"PremiumV3","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientAffinityProxyEnabled":false,"useQueryStringAffinity":false,"blockPathTraversal":false,"clientCertEnabled":false,"clientCertMode":"Required","clientCertExclusionPaths":null,"clientCertExclusionEndPoints":null,"hostNamesDisabled":false,"ipMode":"IPv4","domainVerificationIdentifiers":null,"customDomainVerificationId":"D3BA5386ECE3EF692436FA80D86862EA4BBB849B79C16196E232335AC62906B7","kind":"app,container,windows","managedEnvironmentId":null,"workloadProfileName":null,"resourceConfig":null,"inboundIpAddress":"20.105.224.18","possibleInboundIpAddresses":"20.105.224.18","inboundIpv6Address":"2603:1020:206:7::54","possibleInboundIpv6Addresses":"2603:1020:206:7::54","ftpUsername":"webapp-hyperv000002\\$webapp-hyperv000002","ftpsHostName":"ftps://waws-prod-am2-599.ftp.azurewebsites.windows.net/site/wwwroot","outboundIpAddresses":"20.23.131.231,20.23.132.8,20.23.132.9,20.23.132.11,20.23.132.12,20.23.132.14,20.105.224.18","possibleOutboundIpAddresses":"20.23.130.150,20.23.130.171,20.23.131.73,20.23.131.74,20.23.131.75,20.23.131.221,57.153.144.55,20.23.130.53,20.23.132.53,20.23.132.54,20.23.132.55,20.23.132.57,20.23.132.58,20.23.131.72,20.23.132.59,20.23.131.224,20.23.131.227,20.23.131.228,20.23.131.229,20.23.131.231,20.23.132.8,20.23.132.9,20.23.132.11,20.23.132.12,20.23.132.14,20.23.132.15,20.23.132.18,20.101.246.185,20.23.132.19,20.23.132.20,20.23.132.21,20.105.224.18","outboundIpv6Addresses":"2603:1020:203:11::40f,2603:1020:203:5::424,2603:1020:203:6::452,2603:1020:203:11::410,2603:1020:203:3::653,2603:1020:203:18::420,2603:1020:206:7::54,2603:10e1:100:2::1469:e012","possibleOutboundIpv6Addresses":"2603:1020:203:13::428,2603:1020:203:10::3ee,2603:1020:203:1e::3c3,2603:1020:203:8::428,2603:1020:203:19::40b,2603:1020:203:e::43d,2603:1020:203:d::43d,2603:1020:203:b::44e,2603:1020:203:7::14c,2603:1020:203:17::43f,2603:1020:203:e::43f,2603:1020:203:d::43e,2603:1020:203:11::409,2603:1020:203:11::40b,2603:1020:203:1e::3c6,2603:1020:203:17::441,2603:1020:203:d::440,2603:1020:203:19::40d,2603:1020:203:11::40f,2603:1020:203:5::424,2603:1020:203:6::452,2603:1020:203:11::410,2603:1020:203:3::653,2603:1020:203:18::420,2603:1020:203:16::41f,2603:1020:203:15::423,2603:1020:203:7::155,2603:1020:203:6::454,2603:1020:203:1e::3c7,2603:1020:203:7::158,2603:1020:206:7::54,2603:10e1:100:2::1469:e012","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-am2-599","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"webapp_hyperv_acr_use_identity000001","defaultHostName":"webapp-hyperv000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":true,"endToEndEncryptionEnabled":false,"functionsRuntimeAdminIsolationEnabled":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":null,"publicNetworkAccess":"Enabled","buildVersion":null,"targetBuildVersion":null,"migrationState":null,"eligibleLogCategories":"AppServiceAppLogs,AppServiceConsoleLogs,AppServiceHTTPLogs,AppServicePlatformLogs,ScanLogs,AppServiceAntivirusScanAuditLogs,AppServiceAuthenticationLogs,AppServiceFileAuditLogs,AppServiceAuditLogs,AppServiceIPSecAuditLogs","inFlightFeatures":null,"storageAccountRequired":false,"virtualNetworkSubnetId":null,"keyVaultReferenceIdentity":"SystemAssigned","autoGeneratedDomainNameLabelScope":null,"privateLinkIdentifiers":null,"sshEnabled":null}}' + all","description":"Allow all access"}],"scmIpSecurityRestrictionsDefaultAction":null,"scmIpSecurityRestrictionsUseMain":null,"http20Enabled":false,"minTlsVersion":null,"minTlsCipherSuite":null,"scmMinTlsCipherSuite":null,"supportedTlsCipherSuites":null,"scmSupportedTlsCipherSuites":null,"scmMinTlsVersion":null,"ftpsState":null,"preWarmedInstanceCount":null,"functionAppScaleLimit":null,"elasticWebAppScaleLimit":0,"healthCheckPath":null,"fileChangeAuditEnabled":null,"functionsRuntimeScaleMonitoringEnabled":null,"websiteTimeZone":null,"minimumElasticInstanceCount":0,"azureStorageAccounts":null,"http20ProxyFlag":null,"sitePort":null,"antivirusScanEnabled":null,"storageType":null,"sitePrivateLinkHostEnabled":null,"clusteringEnabled":false,"webJobsEnabled":false},"functionAppConfig":null,"daprConfig":null,"deploymentId":"webapp-hyperv000002","slotName":null,"trafficManagerHostNames":null,"sku":"PremiumV3","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientAffinityProxyEnabled":false,"useQueryStringAffinity":false,"blockPathTraversal":false,"clientCertEnabled":false,"clientCertMode":"Required","clientCertExclusionPaths":null,"clientCertExclusionEndPoints":null,"hostNamesDisabled":false,"ipMode":"IPv4","domainVerificationIdentifiers":null,"customDomainVerificationId":"5E4E3AEE53588E1D67F27995A56FA6BD51ECEE05CA955E5B6453BFB739220A16","kind":"app,container,windows","managedEnvironmentId":null,"workloadProfileName":null,"resourceConfig":null,"inboundIpAddress":"20.105.224.15","possibleInboundIpAddresses":"20.105.224.15","inboundIpv6Address":"2603:1020:206:5::58","possibleInboundIpv6Addresses":"2603:1020:206:5::58","ftpUsername":"webapp-hyperv000002\\$webapp-hyperv000002","ftpsHostName":"ftps://waws-prod-am2-585.ftp.azurewebsites.windows.net/site/wwwroot","outboundIpAddresses":"20.31.108.73,20.31.108.77,20.31.108.118,20.31.108.252,20.31.104.180,20.82.30.151,20.105.224.15","possibleOutboundIpAddresses":"20.31.104.130,20.31.105.65,20.31.105.251,20.31.106.109,20.31.106.240,20.31.106.252,50.85.112.145,20.31.107.13,20.126.185.223,20.126.185.249,20.103.182.46,20.31.107.126,20.31.107.152,20.31.107.157,20.31.107.158,20.31.107.236,20.31.108.12,20.31.108.67,20.126.185.172,20.31.108.73,20.31.108.77,20.31.108.118,20.31.108.252,20.31.104.180,20.82.30.151,20.31.104.188,20.31.109.11,20.31.109.16,20.31.109.41,20.31.109.50,20.31.109.55,20.105.224.15","outboundIpv6Addresses":"2603:1020:203:d::426,2603:1020:203:8::418,2603:1020:203:a::43e,2603:1020:203:1a::3fa,2603:1020:203:20::3d9,2603:1020:203:15::411,2603:1020:206:5::58,2603:10e1:100:2::1469:e00f","possibleOutboundIpv6Addresses":"2603:1020:203:16::408,2603:1020:203:20::3d6,2603:1020:203:8::415,2603:1020:203:e::421,2603:1020:203:7::13b,2603:1020:203:d::424,2603:1020:203:1e::3ae,2603:1020:203:9::416,2603:1020:203:b::438,2603:1020:203:16::40a,2603:1020:203:e::424,2603:1020:203:20::3d7,2603:1020:203:9::417,2603:1020:203:20::3d8,2603:1020:203:12::413,2603:1020:203:3::647,2603:1020:203:5::407,2603:1020:203:1e::3af,2603:1020:203:d::426,2603:1020:203:8::418,2603:1020:203:a::43e,2603:1020:203:1a::3fa,2603:1020:203:20::3d9,2603:1020:203:15::411,2603:1020:203:f::432,2603:1020:203:18::40b,2603:1020:203:17::42f,2603:1020:203:20::3da,2603:1020:203:1a::3fc,2603:1020:203:a::440,2603:1020:206:5::58,2603:10e1:100:2::1469:e00f","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-am2-585","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"webapp_hyperv_acr_use_identity000001","defaultHostName":"webapp-hyperv000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":true,"endToEndEncryptionEnabled":false,"functionsRuntimeAdminIsolationEnabled":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":null,"publicNetworkAccess":"Enabled","buildVersion":null,"targetBuildVersion":null,"migrationState":null,"eligibleLogCategories":"AppServiceAppLogs,AppServiceConsoleLogs,AppServiceHTTPLogs,AppServicePlatformLogs,ScanLogs,AppServiceAntivirusScanAuditLogs,AppServiceAuthenticationLogs,AppServiceFileAuditLogs,AppServiceAuditLogs,AppServiceIPSecAuditLogs","inFlightFeatures":null,"storageAccountRequired":false,"virtualNetworkSubnetId":null,"keyVaultReferenceIdentity":"SystemAssigned","autoGeneratedDomainNameLabelScope":null,"privateLinkIdentifiers":null,"sshEnabled":null}}' headers: cache-control: - no-cache content-length: - - '9015' + - '9037' content-type: - application/json date: - - Thu, 26 Feb 2026 11:32:31 GMT + - Mon, 16 Mar 2026 23:39:52 GMT etag: - - '"1DCA7138C927D20"' + - '"1DCB59E23D28B95"' expires: - '-1' pragma: @@ -276,11 +276,13 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=1ad78d6e-2ba6-4319-afd9-010403750d9a/westeurope/8ac4921d-78e3-4429-950b-0f4a1c3873cc + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/eastus2euap/cb18ec94-041d-407b-9bfa-251b9fa2b779 x-ms-ratelimit-remaining-subscription-resource-requests: - '800' + x-ms-throttling-version: + - v1 x-msedge-ref: - - 'Ref A: A353D130D70E42579DEE24C9A43D75EB Ref B: PNQ231110906054 Ref C: 2026-02-26T11:32:08Z' + - 'Ref A: 03D2F1F117C4402A8B5C6ED1B4D57C7A Ref B: CO6AA3150220023 Ref C: 2026-03-16T23:39:27Z' x-powered-by: - ASP.NET status: @@ -305,9 +307,9 @@ interactions: - -g -n --plan --container-registry-url --container-image-name --assign-identity --acr-use-identity --acr-identity User-Agent: - - AZURECLI/2.83.0 azsdk-python-core/1.38.0 Python/3.11.9 (Windows-10-10.0.26200-SP0) + - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/sites/webapp-hyperv000002/publishxml?api-version=2024-11-01 + uri: https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/sites/webapp-hyperv000002/publishxml?api-version=2024-11-01 response: body: string: tag1value"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/policyCliTestMsi","name":"policyCliTestMsi","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"Regional","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"b8fd29e1-f400-46ad-8959-04d06b5da424","clientId":"e9e6ca4a-14b2-4893-b215-bcbf6890876f"}}' + string: '{"location":"westus","tags":{"tag1":"d1"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/policyCliTestMsi","name":"policyCliTestMsi","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","assignmentRestrictions":{"providers":[]},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"236ebb22-5bc8-4b3a-96aa-8d682d45c2a8","clientId":"17175a03-9a50-4d9c-abd5-d923c866168b"}}' headers: cache-control: - no-cache content-length: - - '550' + - '554' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Jan 2026 00:31:02 GMT + - Tue, 21 Apr 2026 04:42:55 GMT expires: - '-1' location: @@ -91,13 +91,13 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=3d826307-2481-45a0-a271-bcf9333f914a/westus/ec6312f5-9a72-4be5-858b-04bb9b24a620 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westcentralus/44dbb0be-31aa-426e-98f1-0f2e5e7c22ee x-ms-ratelimit-remaining-subscription-global-writes: - '11999' x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 9BD35031E6044EFF8DF1844A8E5C936C Ref B: CO6AA3150217051 Ref C: 2026-01-22T00:31:01Z' + - 'Ref A: A04E28B5499944B0AAA589285B93AFBC Ref B: MWH011020807052 Ref C: 2026-04-21T04:42:54Z' status: code: 201 message: Created @@ -115,7 +115,7 @@ interactions: ParameterSetName: - --name User-Agent: - - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://management.azure.com/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d?api-version=2024-05-01 response: @@ -130,7 +130,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Jan 2026 00:31:03 GMT + - Tue, 21 Apr 2026 04:42:55 GMT expires: - '-1' pragma: @@ -144,7 +144,7 @@ interactions: x-ms-operation-identifier: - '' x-msedge-ref: - - 'Ref A: A4CF3F4603174697A5C4097AEFD0DA70 Ref B: MWH011020809023 Ref C: 2026-01-22T00:31:03Z' + - 'Ref A: E4651A1F0559453CB353E803F35A4838 Ref B: MWH011020809031 Ref C: 2026-04-21T04:42:56Z' status: code: 200 message: OK @@ -168,21 +168,21 @@ interactions: ParameterSetName: - --policy -n -g --location --mi-user-assigned --enforcement-mode User-Agent: - - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002?api-version=2024-05-01 response: body: - string: '{"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/policyCliTestMsi":{"principalId":"b8fd29e1-f400-46ad-8959-04d06b5da424","clientId":"e9e6ca4a-14b2-4893-b215-bcbf6890876f"}}},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","metadata":{"createdBy":"3d826307-2481-45a0-a271-bcf9333f914a","createdOn":"2026-01-22T00:31:04.4434731Z","updatedBy":null,"updatedOn":null},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"cstack@ntdev.microsoft.com","createdByType":"User","createdAt":"2026-01-22T00:31:03.67795Z","lastModifiedBy":"cstack@ntdev.microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2026-01-22T00:31:03.67795Z"}}' + string: '{"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/policyCliTestMsi":{"principalId":"236ebb22-5bc8-4b3a-96aa-8d682d45c2a8","clientId":"17175a03-9a50-4d9c-abd5-d923c866168b"}}},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","metadata":{"createdBy":"a16ec1df-b555-4191-bf58-04352f47c61d","createdOn":"2026-04-21T04:42:57.5778193Z","updatedBy":null,"updatedOn":null},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T04:42:57.0946444Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T04:42:57.0946444Z"}}' headers: cache-control: - no-cache content-length: - - '1360' + - '1344' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Jan 2026 00:31:04 GMT + - Tue, 21 Apr 2026 04:42:57 GMT expires: - '-1' pragma: @@ -194,13 +194,13 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=3d826307-2481-45a0-a271-bcf9333f914a/westus/f6850f5a-7449-42e4-ada9-f0564912de01 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/f0ca13d0-c208-446a-812e-9d42f6ba5215 x-ms-ratelimit-remaining-subscription-global-writes: - '11999' x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 4EDE18F909944E4AB36D6A68424C2658 Ref B: CO6AA3150220039 Ref C: 2026-01-22T00:31:03Z' + - 'Ref A: 7DC4B40D024541DB86063AC1B874BCF9 Ref B: MWH011020806025 Ref C: 2026-04-21T04:42:56Z' status: code: 201 message: Created @@ -218,21 +218,21 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002?api-version=2024-05-01 response: body: - string: '{"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/policyCliTestMsi":{"principalId":"b8fd29e1-f400-46ad-8959-04d06b5da424","clientId":"e9e6ca4a-14b2-4893-b215-bcbf6890876f"}}},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","metadata":{"createdBy":"3d826307-2481-45a0-a271-bcf9333f914a","createdOn":"2026-01-22T00:31:04.4434731Z","updatedBy":null,"updatedOn":null},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"cstack@ntdev.microsoft.com","createdByType":"User","createdAt":"2026-01-22T00:31:03.67795Z","lastModifiedBy":"cstack@ntdev.microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2026-01-22T00:31:03.67795Z"}}' + string: '{"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/policyCliTestMsi":{"principalId":"236ebb22-5bc8-4b3a-96aa-8d682d45c2a8","clientId":"17175a03-9a50-4d9c-abd5-d923c866168b"}}},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","metadata":{"createdBy":"a16ec1df-b555-4191-bf58-04352f47c61d","createdOn":"2026-04-21T04:42:57.5778193Z","updatedBy":null,"updatedOn":null},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T04:42:57.0946444Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T04:42:57.0946444Z"}}' headers: cache-control: - no-cache content-length: - - '1360' + - '1344' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Jan 2026 00:31:04 GMT + - Tue, 21 Apr 2026 04:42:57 GMT expires: - '-1' pragma: @@ -244,11 +244,11 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=3d826307-2481-45a0-a271-bcf9333f914a/westus/02ceb593-1f1d-4640-888a-909937426c2e + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/53c4cea3-3ad3-4693-b402-436eb2cc431c x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: D4FD53A9872D49859623B775365D77B9 Ref B: CO6AA3150218037 Ref C: 2026-01-22T00:31:04Z' + - 'Ref A: CB405104B47448979C29D46B194D3BEB Ref B: CO1AA3060818042 Ref C: 2026-04-21T04:42:58Z' status: code: 200 message: OK @@ -266,21 +266,21 @@ interactions: ParameterSetName: - -n -g --description User-Agent: - - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002?api-version=2024-05-01 response: body: - string: '{"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/policyCliTestMsi":{"principalId":"b8fd29e1-f400-46ad-8959-04d06b5da424","clientId":"e9e6ca4a-14b2-4893-b215-bcbf6890876f"}}},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","metadata":{"createdBy":"3d826307-2481-45a0-a271-bcf9333f914a","createdOn":"2026-01-22T00:31:04.4434731Z","updatedBy":null,"updatedOn":null},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"cstack@ntdev.microsoft.com","createdByType":"User","createdAt":"2026-01-22T00:31:03.67795Z","lastModifiedBy":"cstack@ntdev.microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2026-01-22T00:31:03.67795Z"}}' + string: '{"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/policyCliTestMsi":{"principalId":"236ebb22-5bc8-4b3a-96aa-8d682d45c2a8","clientId":"17175a03-9a50-4d9c-abd5-d923c866168b"}}},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","metadata":{"createdBy":"a16ec1df-b555-4191-bf58-04352f47c61d","createdOn":"2026-04-21T04:42:57.5778193Z","updatedBy":null,"updatedOn":null},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T04:42:57.0946444Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T04:42:57.0946444Z"}}' headers: cache-control: - no-cache content-length: - - '1360' + - '1344' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Jan 2026 00:31:04 GMT + - Tue, 21 Apr 2026 04:42:58 GMT expires: - '-1' pragma: @@ -292,11 +292,11 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=3d826307-2481-45a0-a271-bcf9333f914a/westus/f27c585b-d672-40b2-9592-e57674ecc763 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/ee4b724f-86cf-4a5b-b8f2-064d3fe8dfbe x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: DC5F7A6ADE3C45489F7FFD5D967F9DA8 Ref B: CO6AA3150219019 Ref C: 2026-01-22T00:31:05Z' + - 'Ref A: 7965A9CBE955499FA121FA39C1B414EE Ref B: CO1AA3060815040 Ref C: 2026-04-21T04:42:58Z' status: code: 200 message: OK @@ -304,7 +304,7 @@ interactions: body: '{"identity": {"type": "UserAssigned", "userAssignedIdentities": {"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/policyCliTestMsi": {}}}, "location": "westus", "properties": {"definitionVersion": "1.*.*", "description": "New description", "enforcementMode": "DoNotEnforce", "metadata": {"createdBy": - "3d826307-2481-45a0-a271-bcf9333f914a", "createdOn": "2026-01-22T00:31:04.4434731Z", + "a16ec1df-b555-4191-bf58-04352f47c61d", "createdOn": "2026-04-21T04:42:57.5778193Z", "updatedBy": null, "updatedOn": null}, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d"}}' headers: Accept: @@ -322,22 +322,22 @@ interactions: ParameterSetName: - -n -g --description User-Agent: - - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002?api-version=2024-05-01 response: body: - string: '{"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/policyCliTestMsi":{"principalId":"b8fd29e1-f400-46ad-8959-04d06b5da424","clientId":"e9e6ca4a-14b2-4893-b215-bcbf6890876f"}}},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New - description","metadata":{"createdBy":"3d826307-2481-45a0-a271-bcf9333f914a","createdOn":"2026-01-22T00:31:04.4434731Z","updatedBy":"3d826307-2481-45a0-a271-bcf9333f914a","updatedOn":"2026-01-22T00:31:06.0631371Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"cstack@ntdev.microsoft.com","createdByType":"User","createdAt":"2026-01-22T00:31:03.67795Z","lastModifiedBy":"cstack@ntdev.microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2026-01-22T00:31:05.6177023Z"}}' + string: '{"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/policyCliTestMsi":{"principalId":"236ebb22-5bc8-4b3a-96aa-8d682d45c2a8","clientId":"17175a03-9a50-4d9c-abd5-d923c866168b"}}},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New + description","metadata":{"createdBy":"a16ec1df-b555-4191-bf58-04352f47c61d","createdOn":"2026-04-21T04:42:57.5778193Z","updatedBy":"a16ec1df-b555-4191-bf58-04352f47c61d","updatedOn":"2026-04-21T04:42:58.7805848Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T04:42:57.0946444Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T04:42:58.6688861Z"}}' headers: cache-control: - no-cache content-length: - - '1454' + - '1436' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Jan 2026 00:31:06 GMT + - Tue, 21 Apr 2026 04:42:58 GMT expires: - '-1' pragma: @@ -349,13 +349,13 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=3d826307-2481-45a0-a271-bcf9333f914a/westus2/6f400946-d56a-4ccd-9616-578c20603630 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/9dd30be9-6ab2-4207-ac68-b6c102ea06e9 x-ms-ratelimit-remaining-subscription-global-writes: - '11999' x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: B52775250D314F748A823ABE0574C93F Ref B: MWH011020806062 Ref C: 2026-01-22T00:31:05Z' + - 'Ref A: 49DFD2291CFA4D3F99FA569B98005AF4 Ref B: CO6AA3150220053 Ref C: 2026-04-21T04:42:58Z' status: code: 201 message: Created @@ -373,22 +373,22 @@ interactions: ParameterSetName: - -n -g --user-assigned User-Agent: - - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002?api-version=2024-05-01 response: body: - string: '{"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/policyCliTestMsi":{"principalId":"b8fd29e1-f400-46ad-8959-04d06b5da424","clientId":"e9e6ca4a-14b2-4893-b215-bcbf6890876f"}}},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New - description","metadata":{"createdBy":"3d826307-2481-45a0-a271-bcf9333f914a","createdOn":"2026-01-22T00:31:04.4434731Z","updatedBy":"3d826307-2481-45a0-a271-bcf9333f914a","updatedOn":"2026-01-22T00:31:06.0631371Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"cstack@ntdev.microsoft.com","createdByType":"User","createdAt":"2026-01-22T00:31:03.67795Z","lastModifiedBy":"cstack@ntdev.microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2026-01-22T00:31:05.6177023Z"}}' + string: '{"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/policyCliTestMsi":{"principalId":"236ebb22-5bc8-4b3a-96aa-8d682d45c2a8","clientId":"17175a03-9a50-4d9c-abd5-d923c866168b"}}},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New + description","metadata":{"createdBy":"a16ec1df-b555-4191-bf58-04352f47c61d","createdOn":"2026-04-21T04:42:57.5778193Z","updatedBy":"a16ec1df-b555-4191-bf58-04352f47c61d","updatedOn":"2026-04-21T04:42:58.7805848Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T04:42:57.0946444Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T04:42:58.6688861Z"}}' headers: cache-control: - no-cache content-length: - - '1454' + - '1436' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Jan 2026 00:31:06 GMT + - Tue, 21 Apr 2026 04:42:59 GMT expires: - '-1' pragma: @@ -400,20 +400,20 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=3d826307-2481-45a0-a271-bcf9333f914a/westus/5462f04a-c82f-4282-9435-21a697691a41 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/0f57c743-a0a5-4c39-ae80-68f631c2f919 x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 14D56B741E414B48A2492D58852886B2 Ref B: CO6AA3150217027 Ref C: 2026-01-22T00:31:06Z' + - 'Ref A: CB2EEB3005214F3E91FCCF3DE46C13E6 Ref B: CO1AA3060820062 Ref C: 2026-04-21T04:42:59Z' status: code: 200 message: OK - request: body: '{"identity": {"type": "None"}, "location": "westus", "properties": {"definitionVersion": "1.*.*", "description": "New description", "enforcementMode": "DoNotEnforce", - "metadata": {"createdBy": "3d826307-2481-45a0-a271-bcf9333f914a", "createdOn": - "2026-01-22T00:31:04.4434731Z", "updatedBy": "3d826307-2481-45a0-a271-bcf9333f914a", - "updatedOn": "2026-01-22T00:31:06.0631371Z"}, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d"}}' + "metadata": {"createdBy": "a16ec1df-b555-4191-bf58-04352f47c61d", "createdOn": + "2026-04-21T04:42:57.5778193Z", "updatedBy": "a16ec1df-b555-4191-bf58-04352f47c61d", + "updatedOn": "2026-04-21T04:42:58.7805848Z"}, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d"}}' headers: Accept: - application/json @@ -430,22 +430,22 @@ interactions: ParameterSetName: - -n -g --user-assigned User-Agent: - - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002?api-version=2024-05-01 response: body: string: '{"identity":{"type":"None"},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New - description","metadata":{"createdBy":"3d826307-2481-45a0-a271-bcf9333f914a","createdOn":"2026-01-22T00:31:04.4434731Z","updatedBy":"3d826307-2481-45a0-a271-bcf9333f914a","updatedOn":"2026-01-22T00:31:06.9461854Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"cstack@ntdev.microsoft.com","createdByType":"User","createdAt":"2026-01-22T00:31:03.67795Z","lastModifiedBy":"cstack@ntdev.microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2026-01-22T00:31:06.9233623Z"}}' + description","metadata":{"createdBy":"a16ec1df-b555-4191-bf58-04352f47c61d","createdOn":"2026-04-21T04:42:57.5778193Z","updatedBy":"a16ec1df-b555-4191-bf58-04352f47c61d","updatedOn":"2026-04-21T04:42:59.6932592Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T04:42:57.0946444Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T04:42:59.6563937Z"}}' headers: cache-control: - no-cache content-length: - - '1125' + - '1107' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Jan 2026 00:31:07 GMT + - Tue, 21 Apr 2026 04:42:59 GMT expires: - '-1' pragma: @@ -457,13 +457,13 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=3d826307-2481-45a0-a271-bcf9333f914a/westus/f3aba400-edcd-45e9-afed-ff81e4f7e67d + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/6cd6e338-caea-48d9-b312-eaf027d66904 x-ms-ratelimit-remaining-subscription-global-writes: - '11999' x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 40BD9ADAB35C4967848479C028584D16 Ref B: CO6AA3150220021 Ref C: 2026-01-22T00:31:06Z' + - 'Ref A: A2B6835393774A61919016EF31CAB378 Ref B: MWH011020806040 Ref C: 2026-04-21T04:42:59Z' status: code: 201 message: Created @@ -481,22 +481,22 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002?api-version=2024-05-01 response: body: string: '{"identity":{"type":"None"},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New - description","metadata":{"createdBy":"3d826307-2481-45a0-a271-bcf9333f914a","createdOn":"2026-01-22T00:31:04.4434731Z","updatedBy":"3d826307-2481-45a0-a271-bcf9333f914a","updatedOn":"2026-01-22T00:31:06.9461854Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"cstack@ntdev.microsoft.com","createdByType":"User","createdAt":"2026-01-22T00:31:03.67795Z","lastModifiedBy":"cstack@ntdev.microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2026-01-22T00:31:06.9233623Z"}}' + description","metadata":{"createdBy":"a16ec1df-b555-4191-bf58-04352f47c61d","createdOn":"2026-04-21T04:42:57.5778193Z","updatedBy":"a16ec1df-b555-4191-bf58-04352f47c61d","updatedOn":"2026-04-21T04:42:59.6932592Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T04:42:57.0946444Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T04:42:59.6563937Z"}}' headers: cache-control: - no-cache content-length: - - '1125' + - '1107' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Jan 2026 00:31:07 GMT + - Tue, 21 Apr 2026 04:42:59 GMT expires: - '-1' pragma: @@ -508,11 +508,11 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=3d826307-2481-45a0-a271-bcf9333f914a/westus/31a4f6b9-e22a-4fff-802d-011674c356cc + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westcentralus/a727969c-fe2b-42e1-a35d-b703a9fb82d2 x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: B21393D055A2488097E4108B56B600FA Ref B: MWH011020808023 Ref C: 2026-01-22T00:31:07Z' + - 'Ref A: CCE45D9027E340D6B541315A0739D50E Ref B: MWH011020808040 Ref C: 2026-04-21T04:43:00Z' status: code: 200 message: OK @@ -530,22 +530,22 @@ interactions: ParameterSetName: - --user-assigned -n -g User-Agent: - - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002?api-version=2024-05-01 response: body: string: '{"identity":{"type":"None"},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New - description","metadata":{"createdBy":"3d826307-2481-45a0-a271-bcf9333f914a","createdOn":"2026-01-22T00:31:04.4434731Z","updatedBy":"3d826307-2481-45a0-a271-bcf9333f914a","updatedOn":"2026-01-22T00:31:06.9461854Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"cstack@ntdev.microsoft.com","createdByType":"User","createdAt":"2026-01-22T00:31:03.67795Z","lastModifiedBy":"cstack@ntdev.microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2026-01-22T00:31:06.9233623Z"}}' + description","metadata":{"createdBy":"a16ec1df-b555-4191-bf58-04352f47c61d","createdOn":"2026-04-21T04:42:57.5778193Z","updatedBy":"a16ec1df-b555-4191-bf58-04352f47c61d","updatedOn":"2026-04-21T04:42:59.6932592Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T04:42:57.0946444Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T04:42:59.6563937Z"}}' headers: cache-control: - no-cache content-length: - - '1125' + - '1107' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Jan 2026 00:31:07 GMT + - Tue, 21 Apr 2026 04:43:00 GMT expires: - '-1' pragma: @@ -557,11 +557,11 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=3d826307-2481-45a0-a271-bcf9333f914a/westus/ec95dc93-db02-4929-a5be-77fcd416957e + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/34f75ea7-7c2b-4a5d-bf5e-6834d8eedd36 x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 243D396CBFDE48C3AA21818FA515E8B3 Ref B: MWH011020806052 Ref C: 2026-01-22T00:31:07Z' + - 'Ref A: A7AFCB08CF9F4F9F9D3DCD128D0A8E84 Ref B: CO1AA3060816034 Ref C: 2026-04-21T04:43:00Z' status: code: 200 message: OK @@ -569,9 +569,9 @@ interactions: body: '{"identity": {"userAssignedIdentities": {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/policyCliTestMsi": {}}, "type": "UserAssigned"}, "location": "westus", "properties": {"definitionVersion": "1.*.*", "description": "New description", "enforcementMode": "DoNotEnforce", - "metadata": {"createdBy": "3d826307-2481-45a0-a271-bcf9333f914a", "createdOn": - "2026-01-22T00:31:04.4434731Z", "updatedBy": "3d826307-2481-45a0-a271-bcf9333f914a", - "updatedOn": "2026-01-22T00:31:06.9461854Z"}, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d"}}' + "metadata": {"createdBy": "a16ec1df-b555-4191-bf58-04352f47c61d", "createdOn": + "2026-04-21T04:42:57.5778193Z", "updatedBy": "a16ec1df-b555-4191-bf58-04352f47c61d", + "updatedOn": "2026-04-21T04:42:59.6932592Z"}, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d"}}' headers: Accept: - application/json @@ -588,22 +588,22 @@ interactions: ParameterSetName: - --user-assigned -n -g User-Agent: - - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002?api-version=2024-05-01 response: body: - string: '{"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/policyCliTestMsi":{"principalId":"b8fd29e1-f400-46ad-8959-04d06b5da424","clientId":"e9e6ca4a-14b2-4893-b215-bcbf6890876f"}}},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New - description","metadata":{"createdBy":"3d826307-2481-45a0-a271-bcf9333f914a","createdOn":"2026-01-22T00:31:04.4434731Z","updatedBy":"3d826307-2481-45a0-a271-bcf9333f914a","updatedOn":"2026-01-22T00:31:08.5912382Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"cstack@ntdev.microsoft.com","createdByType":"User","createdAt":"2026-01-22T00:31:03.67795Z","lastModifiedBy":"cstack@ntdev.microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2026-01-22T00:31:08.180448Z"}}' + string: '{"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/policyCliTestMsi":{"principalId":"236ebb22-5bc8-4b3a-96aa-8d682d45c2a8","clientId":"17175a03-9a50-4d9c-abd5-d923c866168b"}}},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New + description","metadata":{"createdBy":"a16ec1df-b555-4191-bf58-04352f47c61d","createdOn":"2026-04-21T04:42:57.5778193Z","updatedBy":"a16ec1df-b555-4191-bf58-04352f47c61d","updatedOn":"2026-04-21T04:43:01.3158908Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T04:42:57.0946444Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T04:43:00.8945366Z"}}' headers: cache-control: - no-cache content-length: - - '1453' + - '1436' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Jan 2026 00:31:08 GMT + - Tue, 21 Apr 2026 04:43:00 GMT expires: - '-1' pragma: @@ -615,13 +615,13 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=3d826307-2481-45a0-a271-bcf9333f914a/westus/38bc9b71-a86d-4334-9d5d-80e97107bfd4 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/aa673050-d254-4dce-8d22-b9a650eac7ef x-ms-ratelimit-remaining-subscription-global-writes: - '11999' x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 8FCB2D60E8C14C50887D22DC08FD43C7 Ref B: CO6AA3150218049 Ref C: 2026-01-22T00:31:07Z' + - 'Ref A: 0563E2D6C8754E41B2F015F6D5ADDE2A Ref B: CO6AA3150220053 Ref C: 2026-04-21T04:43:00Z' status: code: 201 message: Created @@ -639,22 +639,22 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002?api-version=2024-05-01 response: body: - string: '{"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/policyCliTestMsi":{"principalId":"b8fd29e1-f400-46ad-8959-04d06b5da424","clientId":"e9e6ca4a-14b2-4893-b215-bcbf6890876f"}}},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New - description","metadata":{"createdBy":"3d826307-2481-45a0-a271-bcf9333f914a","createdOn":"2026-01-22T00:31:04.4434731Z","updatedBy":"3d826307-2481-45a0-a271-bcf9333f914a","updatedOn":"2026-01-22T00:31:08.5912382Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"cstack@ntdev.microsoft.com","createdByType":"User","createdAt":"2026-01-22T00:31:03.67795Z","lastModifiedBy":"cstack@ntdev.microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2026-01-22T00:31:08.180448Z"}}' + string: '{"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/policyCliTestMsi":{"principalId":"236ebb22-5bc8-4b3a-96aa-8d682d45c2a8","clientId":"17175a03-9a50-4d9c-abd5-d923c866168b"}}},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New + description","metadata":{"createdBy":"a16ec1df-b555-4191-bf58-04352f47c61d","createdOn":"2026-04-21T04:42:57.5778193Z","updatedBy":"a16ec1df-b555-4191-bf58-04352f47c61d","updatedOn":"2026-04-21T04:43:01.3158908Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T04:42:57.0946444Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T04:43:00.8945366Z"}}' headers: cache-control: - no-cache content-length: - - '1453' + - '1436' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Jan 2026 00:31:08 GMT + - Tue, 21 Apr 2026 04:43:01 GMT expires: - '-1' pragma: @@ -666,11 +666,11 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=3d826307-2481-45a0-a271-bcf9333f914a/westus/ec5f383e-070b-4475-92f4-2e357248e43e + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/e34b8081-df86-4bb4-b8bb-3d4f742534a6 x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: BEE8BC09312141B78435EAF46E6F14E1 Ref B: MWH011020808025 Ref C: 2026-01-22T00:31:09Z' + - 'Ref A: 0533C493FD5548C98F94C6C98E8BAB9B Ref B: MWH011020807023 Ref C: 2026-04-21T04:43:01Z' status: code: 200 message: OK @@ -688,22 +688,22 @@ interactions: ParameterSetName: - -n -g --user-assigned User-Agent: - - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002?api-version=2024-05-01 response: body: - string: '{"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/policyCliTestMsi":{"principalId":"b8fd29e1-f400-46ad-8959-04d06b5da424","clientId":"e9e6ca4a-14b2-4893-b215-bcbf6890876f"}}},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New - description","metadata":{"createdBy":"3d826307-2481-45a0-a271-bcf9333f914a","createdOn":"2026-01-22T00:31:04.4434731Z","updatedBy":"3d826307-2481-45a0-a271-bcf9333f914a","updatedOn":"2026-01-22T00:31:08.5912382Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"cstack@ntdev.microsoft.com","createdByType":"User","createdAt":"2026-01-22T00:31:03.67795Z","lastModifiedBy":"cstack@ntdev.microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2026-01-22T00:31:08.180448Z"}}' + string: '{"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/policyCliTestMsi":{"principalId":"236ebb22-5bc8-4b3a-96aa-8d682d45c2a8","clientId":"17175a03-9a50-4d9c-abd5-d923c866168b"}}},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New + description","metadata":{"createdBy":"a16ec1df-b555-4191-bf58-04352f47c61d","createdOn":"2026-04-21T04:42:57.5778193Z","updatedBy":"a16ec1df-b555-4191-bf58-04352f47c61d","updatedOn":"2026-04-21T04:43:01.3158908Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T04:42:57.0946444Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T04:43:00.8945366Z"}}' headers: cache-control: - no-cache content-length: - - '1453' + - '1436' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Jan 2026 00:31:08 GMT + - Tue, 21 Apr 2026 04:43:01 GMT expires: - '-1' pragma: @@ -715,20 +715,20 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=3d826307-2481-45a0-a271-bcf9333f914a/westus/9b70c3f1-596d-46a3-beb1-a5de01aa8544 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/ca7273a5-dc58-44da-9f4b-f2fa8badd1a2 x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 4FA2EC543C1D45C4A86B7E049BF0F818 Ref B: MWH011020806029 Ref C: 2026-01-22T00:31:09Z' + - 'Ref A: 06FAA1CD74E6481B9816A7026F225BE7 Ref B: MWH011020807062 Ref C: 2026-04-21T04:43:02Z' status: code: 200 message: OK - request: body: '{"identity": {"type": "None"}, "location": "westus", "properties": {"definitionVersion": "1.*.*", "description": "New description", "enforcementMode": "DoNotEnforce", - "metadata": {"createdBy": "3d826307-2481-45a0-a271-bcf9333f914a", "createdOn": - "2026-01-22T00:31:04.4434731Z", "updatedBy": "3d826307-2481-45a0-a271-bcf9333f914a", - "updatedOn": "2026-01-22T00:31:08.5912382Z"}, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d"}}' + "metadata": {"createdBy": "a16ec1df-b555-4191-bf58-04352f47c61d", "createdOn": + "2026-04-21T04:42:57.5778193Z", "updatedBy": "a16ec1df-b555-4191-bf58-04352f47c61d", + "updatedOn": "2026-04-21T04:43:01.3158908Z"}, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d"}}' headers: Accept: - application/json @@ -745,22 +745,22 @@ interactions: ParameterSetName: - -n -g --user-assigned User-Agent: - - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002?api-version=2024-05-01 response: body: string: '{"identity":{"type":"None"},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New - description","metadata":{"createdBy":"3d826307-2481-45a0-a271-bcf9333f914a","createdOn":"2026-01-22T00:31:04.4434731Z","updatedBy":"3d826307-2481-45a0-a271-bcf9333f914a","updatedOn":"2026-01-22T00:31:09.5689435Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"cstack@ntdev.microsoft.com","createdByType":"User","createdAt":"2026-01-22T00:31:03.67795Z","lastModifiedBy":"cstack@ntdev.microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2026-01-22T00:31:09.481559Z"}}' + description","metadata":{"createdBy":"a16ec1df-b555-4191-bf58-04352f47c61d","createdOn":"2026-04-21T04:42:57.5778193Z","updatedBy":"a16ec1df-b555-4191-bf58-04352f47c61d","updatedOn":"2026-04-21T04:43:02.5267486Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T04:42:57.0946444Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T04:43:02.50068Z"}}' headers: cache-control: - no-cache content-length: - - '1124' + - '1105' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Jan 2026 00:31:08 GMT + - Tue, 21 Apr 2026 04:43:02 GMT expires: - '-1' pragma: @@ -772,13 +772,13 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=3d826307-2481-45a0-a271-bcf9333f914a/westus/2c404c07-835d-421e-8bb7-31db9d371818 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/e2f4d4fa-9555-461b-8e5b-52dd93c9fa20 x-ms-ratelimit-remaining-subscription-global-writes: - '11999' x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 0084686A51D6405DABAC95D1AC68D9FE Ref B: CO6AA3150219009 Ref C: 2026-01-22T00:31:09Z' + - 'Ref A: D8D3A164E62144A191AEDCDFD87BB2BE Ref B: MWH011020809023 Ref C: 2026-04-21T04:43:02Z' status: code: 201 message: Created @@ -796,22 +796,22 @@ interactions: ParameterSetName: - --system-assigned -n -g User-Agent: - - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002?api-version=2024-05-01 response: body: string: '{"identity":{"type":"None"},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New - description","metadata":{"createdBy":"3d826307-2481-45a0-a271-bcf9333f914a","createdOn":"2026-01-22T00:31:04.4434731Z","updatedBy":"3d826307-2481-45a0-a271-bcf9333f914a","updatedOn":"2026-01-22T00:31:09.5689435Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"cstack@ntdev.microsoft.com","createdByType":"User","createdAt":"2026-01-22T00:31:03.67795Z","lastModifiedBy":"cstack@ntdev.microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2026-01-22T00:31:09.481559Z"}}' + description","metadata":{"createdBy":"a16ec1df-b555-4191-bf58-04352f47c61d","createdOn":"2026-04-21T04:42:57.5778193Z","updatedBy":"a16ec1df-b555-4191-bf58-04352f47c61d","updatedOn":"2026-04-21T04:43:02.5267486Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T04:42:57.0946444Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T04:43:02.50068Z"}}' headers: cache-control: - no-cache content-length: - - '1124' + - '1105' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Jan 2026 00:31:09 GMT + - Tue, 21 Apr 2026 04:43:02 GMT expires: - '-1' pragma: @@ -823,20 +823,20 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=3d826307-2481-45a0-a271-bcf9333f914a/westus/06f336ce-9277-4307-ac1a-32adbd25ccd8 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/62875b6d-a437-4ff1-8b7a-b305bf99fe75 x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 93D4C103E74D4B6593DD30CAFEB2F9C4 Ref B: MWH011020809052 Ref C: 2026-01-22T00:31:10Z' + - 'Ref A: DA9F71F4868C442A880BA9DD18D9C28B Ref B: CO6AA3150219029 Ref C: 2026-04-21T04:43:03Z' status: code: 200 message: OK - request: body: '{"identity": {"type": "SystemAssigned"}, "location": "westus", "properties": {"definitionVersion": "1.*.*", "description": "New description", "enforcementMode": - "DoNotEnforce", "metadata": {"createdBy": "3d826307-2481-45a0-a271-bcf9333f914a", - "createdOn": "2026-01-22T00:31:04.4434731Z", "updatedBy": "3d826307-2481-45a0-a271-bcf9333f914a", - "updatedOn": "2026-01-22T00:31:09.5689435Z"}, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d"}}' + "DoNotEnforce", "metadata": {"createdBy": "a16ec1df-b555-4191-bf58-04352f47c61d", + "createdOn": "2026-04-21T04:42:57.5778193Z", "updatedBy": "a16ec1df-b555-4191-bf58-04352f47c61d", + "updatedOn": "2026-04-21T04:43:02.5267486Z"}, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d"}}' headers: Accept: - application/json @@ -853,22 +853,22 @@ interactions: ParameterSetName: - --system-assigned -n -g User-Agent: - - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002?api-version=2024-05-01 response: body: - string: '{"identity":{"principalId":"2f915921-4622-4c9d-b20f-7e1b8db23b02","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New - description","metadata":{"createdBy":"3d826307-2481-45a0-a271-bcf9333f914a","createdOn":"2026-01-22T00:31:04.4434731Z","updatedBy":"3d826307-2481-45a0-a271-bcf9333f914a","updatedOn":"2026-01-22T00:31:11.5226838Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"cstack@ntdev.microsoft.com","createdByType":"User","createdAt":"2026-01-22T00:31:03.67795Z","lastModifiedBy":"cstack@ntdev.microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2026-01-22T00:31:10.5099728Z"}}' + string: '{"identity":{"principalId":"6c34107e-725d-44c7-82b5-d2a9cdda0863","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New + description","metadata":{"createdBy":"a16ec1df-b555-4191-bf58-04352f47c61d","createdOn":"2026-04-21T04:42:57.5778193Z","updatedBy":"a16ec1df-b555-4191-bf58-04352f47c61d","updatedOn":"2026-04-21T04:43:06.3005082Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T04:42:57.0946444Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T04:43:03.3974569Z"}}' headers: cache-control: - no-cache content-length: - - '1238' + - '1220' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Jan 2026 00:31:11 GMT + - Tue, 21 Apr 2026 04:43:06 GMT expires: - '-1' pragma: @@ -880,13 +880,13 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=3d826307-2481-45a0-a271-bcf9333f914a/westus/bd9a03ce-2e84-4ac6-a394-2b3818280ee0 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/aa78a136-272f-404d-bd76-633e83ba0739 x-ms-ratelimit-remaining-subscription-global-writes: - '11999' x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: FFCEB33223FF4D23BFF728839CE6F7C9 Ref B: CO6AA3150219035 Ref C: 2026-01-22T00:31:10Z' + - 'Ref A: EB66B2B0ABE54C828FCC4038D7128FD6 Ref B: MWH011020807036 Ref C: 2026-04-21T04:43:03Z' status: code: 201 message: Created @@ -904,22 +904,22 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002?api-version=2024-05-01 response: body: - string: '{"identity":{"principalId":"2f915921-4622-4c9d-b20f-7e1b8db23b02","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New - description","metadata":{"createdBy":"3d826307-2481-45a0-a271-bcf9333f914a","createdOn":"2026-01-22T00:31:04.4434731Z","updatedBy":"3d826307-2481-45a0-a271-bcf9333f914a","updatedOn":"2026-01-22T00:31:11.5226838Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"cstack@ntdev.microsoft.com","createdByType":"User","createdAt":"2026-01-22T00:31:03.67795Z","lastModifiedBy":"cstack@ntdev.microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2026-01-22T00:31:10.5099728Z"}}' + string: '{"identity":{"principalId":"6c34107e-725d-44c7-82b5-d2a9cdda0863","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New + description","metadata":{"createdBy":"a16ec1df-b555-4191-bf58-04352f47c61d","createdOn":"2026-04-21T04:42:57.5778193Z","updatedBy":"a16ec1df-b555-4191-bf58-04352f47c61d","updatedOn":"2026-04-21T04:43:06.3005082Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T04:42:57.0946444Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T04:43:03.3974569Z"}}' headers: cache-control: - no-cache content-length: - - '1238' + - '1220' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Jan 2026 00:31:11 GMT + - Tue, 21 Apr 2026 04:43:06 GMT expires: - '-1' pragma: @@ -931,11 +931,11 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=3d826307-2481-45a0-a271-bcf9333f914a/westus/3cd9d69a-abe0-44a0-823d-0b34d69f7262 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/afcd6953-0582-4e25-9d95-12362dda6b68 x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 0D3233685079404B91FE9BB087E63606 Ref B: CO6AA3150220031 Ref C: 2026-01-22T00:31:11Z' + - 'Ref A: BBC90956956B41C294FC023F01DFAE23 Ref B: MWH011020807025 Ref C: 2026-04-21T04:43:06Z' status: code: 200 message: OK @@ -953,22 +953,22 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002?api-version=2024-05-01 response: body: - string: '{"identity":{"principalId":"2f915921-4622-4c9d-b20f-7e1b8db23b02","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New - description","metadata":{"createdBy":"3d826307-2481-45a0-a271-bcf9333f914a","createdOn":"2026-01-22T00:31:04.4434731Z","updatedBy":"3d826307-2481-45a0-a271-bcf9333f914a","updatedOn":"2026-01-22T00:31:11.5226838Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"cstack@ntdev.microsoft.com","createdByType":"User","createdAt":"2026-01-22T00:31:03.67795Z","lastModifiedBy":"cstack@ntdev.microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2026-01-22T00:31:10.5099728Z"}}' + string: '{"identity":{"principalId":"6c34107e-725d-44c7-82b5-d2a9cdda0863","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New + description","metadata":{"createdBy":"a16ec1df-b555-4191-bf58-04352f47c61d","createdOn":"2026-04-21T04:42:57.5778193Z","updatedBy":"a16ec1df-b555-4191-bf58-04352f47c61d","updatedOn":"2026-04-21T04:43:06.3005082Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T04:42:57.0946444Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T04:43:03.3974569Z"}}' headers: cache-control: - no-cache content-length: - - '1238' + - '1220' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Jan 2026 00:31:12 GMT + - Tue, 21 Apr 2026 04:43:06 GMT expires: - '-1' pragma: @@ -980,20 +980,20 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=3d826307-2481-45a0-a271-bcf9333f914a/westus/65e4445b-e961-446d-91f0-d2b01e0c7f86 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/2d8c311c-a269-4c94-9455-08565889ed36 x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 6A2D5E5576434CDB8169BFF25A7DDDE3 Ref B: MWH011020807042 Ref C: 2026-01-22T00:31:12Z' + - 'Ref A: C492FCD1D20F4DC9BBC63FF3748F9EEB Ref B: CO6AA3150220047 Ref C: 2026-04-21T04:43:07Z' status: code: 200 message: OK - request: body: '{"identity": {"type": "None"}, "location": "westus", "properties": {"definitionVersion": "1.*.*", "description": "New description", "enforcementMode": "DoNotEnforce", - "metadata": {"createdBy": "3d826307-2481-45a0-a271-bcf9333f914a", "createdOn": - "2026-01-22T00:31:04.4434731Z", "updatedBy": "3d826307-2481-45a0-a271-bcf9333f914a", - "updatedOn": "2026-01-22T00:31:11.5226838Z"}, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d"}}' + "metadata": {"createdBy": "a16ec1df-b555-4191-bf58-04352f47c61d", "createdOn": + "2026-04-21T04:42:57.5778193Z", "updatedBy": "a16ec1df-b555-4191-bf58-04352f47c61d", + "updatedOn": "2026-04-21T04:43:06.3005082Z"}, "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d"}}' headers: Accept: - application/json @@ -1010,22 +1010,22 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002?api-version=2024-05-01 response: body: string: '{"identity":{"type":"None"},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New - description","metadata":{"createdBy":"3d826307-2481-45a0-a271-bcf9333f914a","createdOn":"2026-01-22T00:31:04.4434731Z","updatedBy":"3d826307-2481-45a0-a271-bcf9333f914a","updatedOn":"2026-01-22T00:31:13.7756502Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"cstack@ntdev.microsoft.com","createdByType":"User","createdAt":"2026-01-22T00:31:03.67795Z","lastModifiedBy":"cstack@ntdev.microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2026-01-22T00:31:12.6181774Z"}}' + description","metadata":{"createdBy":"a16ec1df-b555-4191-bf58-04352f47c61d","createdOn":"2026-04-21T04:42:57.5778193Z","updatedBy":"a16ec1df-b555-4191-bf58-04352f47c61d","updatedOn":"2026-04-21T04:43:08.5774296Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T04:42:57.0946444Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T04:43:07.9740194Z"}}' headers: cache-control: - no-cache content-length: - - '1125' + - '1107' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Jan 2026 00:31:13 GMT + - Tue, 21 Apr 2026 04:43:08 GMT expires: - '-1' pragma: @@ -1037,13 +1037,13 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=3d826307-2481-45a0-a271-bcf9333f914a/westus/5ae2f87d-a08b-481a-b482-bfb3e10bd5f3 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/7743cbaa-f145-479a-9a72-213d12b5632c x-ms-ratelimit-remaining-subscription-global-writes: - '11999' x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 51B1DE64A4D94F8E9CACAA199E55DF94 Ref B: CO6AA3150219051 Ref C: 2026-01-22T00:31:12Z' + - 'Ref A: AA3069D7C8454A7BA0A63D6E4CB433CF Ref B: MWH011020806029 Ref C: 2026-04-21T04:43:07Z' status: code: 201 message: Created @@ -1063,22 +1063,22 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.82.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + - AZURECLI/2.85.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002?api-version=2024-05-01 response: body: string: '{"identity":{"type":"None"},"properties":{"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a4d","definitionVersion":"1.*.*","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001","description":"New - description","metadata":{"createdBy":"3d826307-2481-45a0-a271-bcf9333f914a","createdOn":"2026-01-22T00:31:04.4434731Z","updatedBy":"3d826307-2481-45a0-a271-bcf9333f914a","updatedOn":"2026-01-22T00:31:13.7756502Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"cstack@ntdev.microsoft.com","createdByType":"User","createdAt":"2026-01-22T00:31:03.67795Z","lastModifiedBy":"cstack@ntdev.microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2026-01-22T00:31:12.6181774Z"}}' + description","metadata":{"createdBy":"a16ec1df-b555-4191-bf58-04352f47c61d","createdOn":"2026-04-21T04:42:57.5778193Z","updatedBy":"a16ec1df-b555-4191-bf58-04352f47c61d","updatedOn":"2026-04-21T04:43:08.5774296Z"},"enforcementMode":"DoNotEnforce"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_policy_identity_userassigned000001/providers/Microsoft.Authorization/policyAssignments/azurecli-test-assignment000002","type":"Microsoft.Authorization/policyAssignments","name":"azurecli-test-assignment000002","location":"westus","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T04:42:57.0946444Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T04:43:07.9740194Z"}}' headers: cache-control: - no-cache content-length: - - '1125' + - '1107' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Jan 2026 00:31:13 GMT + - Tue, 21 Apr 2026 04:43:08 GMT expires: - '-1' pragma: @@ -1090,13 +1090,13 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=3d826307-2481-45a0-a271-bcf9333f914a/westus/e29f0af6-51f4-4bb2-b56b-ac07f514e579 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/westus/f5a2d896-d0ab-412d-b5fe-90d88c36d089 x-ms-ratelimit-remaining-subscription-deletes: - '799' x-ms-ratelimit-remaining-subscription-global-deletes: - '11999' x-msedge-ref: - - 'Ref A: C07B89492C704BE7AA9422EB316019CE Ref B: MWH011020806031 Ref C: 2026-01-22T00:31:14Z' + - 'Ref A: 18660695B8944B19839CC7E5A3652258 Ref B: CO1AA3060815036 Ref C: 2026-04-21T04:43:09Z' status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/role/tests/latest/recordings/test_role_assignment_no_graph.yaml b/src/azure-cli/azure/cli/command_modules/role/tests/latest/recordings/test_role_assignment_no_graph.yaml index 5d93344a1fb..68ccf0d5871 100644 --- a/src/azure-cli/azure/cli/command_modules/role/tests/latest/recordings/test_role_assignment_no_graph.yaml +++ b/src/azure-cli/azure/cli/command_modules/role/tests/latest/recordings/test_role_assignment_no_graph.yaml @@ -19,7 +19,7 @@ interactions: User-Agent: - AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_role_assign000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest000002?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_role_assign000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest000002?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_role_assign000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clitest000002","name":"clitest000002","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"8169fc77-395d-4872-ba72-3b7dbb041634","clientId":"6df97c31-c0ca-48e6-9b89-630644f704df"}}' diff --git a/src/azure-cli/azure/cli/command_modules/servicebus/tests/latest/recordings/test_sb_namespace.yaml b/src/azure-cli/azure/cli/command_modules/servicebus/tests/latest/recordings/test_sb_namespace.yaml index 75399cab7b2..811a48d4e38 100644 --- a/src/azure-cli/azure/cli/command_modules/servicebus/tests/latest/recordings/test_sb_namespace.yaml +++ b/src/azure-cli/azure/cli/command_modules/servicebus/tests/latest/recordings/test_sb_namespace.yaml @@ -63,7 +63,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sb_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity1000006?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sb_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity1000006?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_sb_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity1000006","name":"sb-identity1000006","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"d65f21dd-3f25-4f92-a3ca-5a588f579901","clientId":"3fe4682b-dc59-4d60-b46a-6e4d91d12b02"}}' @@ -159,7 +159,7 @@ interactions: User-Agent: - AZURECLI/2.64.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sb_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity2000007?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_sb_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity2000007?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_sb_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity2000007","name":"sb-identity2000007","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"3b66f4ea-f7e0-48b9-b54a-22ec1bbbcab1","clientId":"b141e8ef-a96f-40ba-8f8d-6914f9dab1fa"}}' diff --git a/src/azure-cli/azure/cli/command_modules/servicebus/tests/latest/recordings/test_sb_namespace_encryption.yaml b/src/azure-cli/azure/cli/command_modules/servicebus/tests/latest/recordings/test_sb_namespace_encryption.yaml index 6c3cc504c71..c9ffca23cf8 100644 --- a/src/azure-cli/azure/cli/command_modules/servicebus/tests/latest/recordings/test_sb_namespace_encryption.yaml +++ b/src/azure-cli/azure/cli/command_modules/servicebus/tests/latest/recordings/test_sb_namespace_encryption.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity1000008?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity1000008?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity1000008","name":"sb-identity1000008","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"ed729ef0-62ac-4b55-b11a-30b3c4fe30a9","clientId":"cd324469-7136-4d2e-a472-8f56517aa043"}}' @@ -167,7 +167,7 @@ interactions: User-Agent: - AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity2000009?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity2000009?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity2000009","name":"sb-identity2000009","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"801dd15d-468c-4bcc-b4b5-abfec0930179","clientId":"56e4aa2c-f4cd-47ee-8adf-d92ce8c4c5d4"}}' @@ -269,7 +269,7 @@ interactions: User-Agent: - AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity3000010?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity3000010?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity3000010","name":"sb-identity3000010","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"34f37f7b-649f-4c24-9137-8d82b05b65bf","clientId":"38b223ad-0bca-4b85-a555-a271e318a7b7"}}' @@ -371,7 +371,7 @@ interactions: User-Agent: - AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity4000011?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity4000011?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity4000011","name":"sb-identity4000011","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"3835e2cd-edec-4292-94cc-e789bf545134","clientId":"2f6e0270-57ef-4193-8b92-14ed8a4a32b3"}}' diff --git a/src/azure-cli/azure/cli/command_modules/servicebus/tests/latest/recordings/test_sb_namespace_msi.yaml b/src/azure-cli/azure/cli/command_modules/servicebus/tests/latest/recordings/test_sb_namespace_msi.yaml index 3c9f2e8a668..5edf7a7de3c 100644 --- a/src/azure-cli/azure/cli/command_modules/servicebus/tests/latest/recordings/test_sb_namespace_msi.yaml +++ b/src/azure-cli/azure/cli/command_modules/servicebus/tests/latest/recordings/test_sb_namespace_msi.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity1000008?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity1000008?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity1000008","name":"sb-identity1000008","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"668a80c6-b9bc-4d18-8770-4a482929e9a2","clientId":"494aee99-ee7e-4d3a-adb9-0c62638c83a1"}}' @@ -167,7 +167,7 @@ interactions: User-Agent: - AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity2000009?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity2000009?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity2000009","name":"sb-identity2000009","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"76684578-bca8-406d-bba8-497c7c2a9003","clientId":"977454cc-96d0-45fc-a230-4c54100cc52a"}}' @@ -269,7 +269,7 @@ interactions: User-Agent: - AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity3000010?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity3000010?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity3000010","name":"sb-identity3000010","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"61883a75-cd18-40a8-9a69-33e13d83586b","clientId":"1ed439b8-dfee-448a-a71a-0f777cfd384a"}}' @@ -371,7 +371,7 @@ interactions: User-Agent: - AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity4000011?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity4000011?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_eh_namespace000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sb-identity4000011","name":"sb-identity4000011","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"56bff64a-3b44-46be-903a-2403e214a7b2","clientId":"47e5695d-fc3e-4d4a-b4c1-2c0731f93ce7"}}' diff --git a/src/azure-cli/azure/cli/command_modules/sql/tests/latest/recordings/test_sql_per_db_cmk.yaml b/src/azure-cli/azure/cli/command_modules/sql/tests/latest/recordings/test_sql_per_db_cmk.yaml index ae937dd091c..92921d71f23 100644 --- a/src/azure-cli/azure/cli/command_modules/sql/tests/latest/recordings/test_sql_per_db_cmk.yaml +++ b/src/azure-cli/azure/cli/command_modules/sql/tests/latest/recordings/test_sql_per_db_cmk.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.83.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/perdbcmktest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testcliumi?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/perdbcmktest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testcliumi?api-version=2025-05-31-preview response: body: string: '{"location":"eastus2euap","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/perdbcmktest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testcliumi","name":"testcliumi","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"eff8dd61-b2c9-4642-b534-a07084fe98b7","clientId":"aef0e5af-b4de-4e9f-88b0-116b0706a526"}}' diff --git a/src/azure-cli/azure/cli/command_modules/sql/tests/latest/recordings/test_sql_tdebyok.yaml b/src/azure-cli/azure/cli/command_modules/sql/tests/latest/recordings/test_sql_tdebyok.yaml index 08439837a04..ab61301823d 100644 --- a/src/azure-cli/azure/cli/command_modules/sql/tests/latest/recordings/test_sql_tdebyok.yaml +++ b/src/azure-cli/azure/cli/command_modules/sql/tests/latest/recordings/test_sql_tdebyok.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.83.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlserverbyoktest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testcliumi?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlserverbyoktest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testcliumi?api-version=2025-05-31-preview response: body: string: '{"location":"eastus2euap","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlserverbyoktest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testcliumi","name":"testcliumi","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"a5018451-3987-4f5f-8097-fcb28f6e811e","clientId":"677a6b77-245a-4588-9a5d-3b8c34c459f7"}}' diff --git a/src/azure-cli/azure/cli/command_modules/sqlvm/tests/latest/recordings/test_sqlvm_aad_auth_negative.yaml b/src/azure-cli/azure/cli/command_modules/sqlvm/tests/latest/recordings/test_sqlvm_aad_auth_negative.yaml index f0d2f178e9a..3ca5ec687a4 100644 --- a/src/azure-cli/azure/cli/command_modules/sqlvm/tests/latest/recordings/test_sqlvm_aad_auth_negative.yaml +++ b/src/azure-cli/azure/cli/command_modules/sqlvm/tests/latest/recordings/test_sqlvm_aad_auth_negative.yaml @@ -2893,7 +2893,7 @@ interactions: User-Agent: - AZURECLI/2.81.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_aad000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/attached_msi?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_aad000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/attached_msi?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_aad000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/attached_msi","name":"attached_msi","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"4b71fe15-44c6-47b7-94ac-5a6b2cc290e9","principalId":"562c81c5-d273-4843-9627-c0944d91e825","clientId":"7d99798f-4925-4e63-836d-e264119292c0"}}' @@ -3469,7 +3469,7 @@ interactions: User-Agent: - AZURECLI/2.81.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_aad000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/other_msi?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_aad000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/other_msi?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_aad000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/other_msi","name":"other_msi","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"4b71fe15-44c6-47b7-94ac-5a6b2cc290e9","principalId":"776ac0d8-e71f-4961-ae72-3235942a91e7","clientId":"6ff550ee-f132-4cf9-97de-bc3d987b44f1"}}' diff --git a/src/azure-cli/azure/cli/command_modules/synapse/tests/latest/recordings/test_user_assigned_identity_id_workspace.yaml b/src/azure-cli/azure/cli/command_modules/synapse/tests/latest/recordings/test_user_assigned_identity_id_workspace.yaml index c5c40a7164d..7c09bbade38 100644 --- a/src/azure-cli/azure/cli/command_modules/synapse/tests/latest/recordings/test_user_assigned_identity_id_workspace.yaml +++ b/src/azure-cli/azure/cli/command_modules/synapse/tests/latest/recordings/test_user_assigned_identity_id_workspace.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/synapse-cli000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/autotestuami1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/synapse-cli000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/autotestuami1?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/synapse-cli000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/autotestuami1","name":"autotestuami1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"6d0a4fbf-bca0-4fcf-a931-250f8d78689e","clientId":"2889f2c7-36a3-4dc1-97ee-8e505f51b47b"}}' @@ -167,7 +167,7 @@ interactions: User-Agent: - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/synapse-cli000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/autotestuami2?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/synapse-cli000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/autotestuami2?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/synapse-cli000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/autotestuami2","name":"autotestuami2","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"8307163a-5642-4a44-a809-4182af4a6690","clientId":"b2c0722b-9494-43b5-97a7-18308b01f999"}}' @@ -219,7 +219,7 @@ interactions: User-Agent: - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/synapse-cli000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/autotestuami1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/synapse-cli000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/autotestuami1?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/synapse-cli000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/autotestuami1","name":"autotestuami1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"6d0a4fbf-bca0-4fcf-a931-250f8d78689e","clientId":"2889f2c7-36a3-4dc1-97ee-8e505f51b47b"}}' @@ -265,7 +265,7 @@ interactions: User-Agent: - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/synapse-cli000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/autotestuami2?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/synapse-cli000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/autotestuami2?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/synapse-cli000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/autotestuami2","name":"autotestuami2","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"8307163a-5642-4a44-a809-4182af4a6690","clientId":"b2c0722b-9494-43b5-97a7-18308b01f999"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_defer_only_commands.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_defer_only_commands.yaml index 411682524fd..fed67fd6b59 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_defer_only_commands.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_defer_only_commands.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_defer_only_commands000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_defer_only_commands000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2025-05-31-preview response: body: string: '{"location":"westus2","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/img_defer_only_commands000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1","name":"ide1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"6ec5eba2-7c46-4316-ad0c-5199433db643","clientId":"78061655-73c9-4e5b-b414-967904508014"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_disk_encryption_set_identity.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_disk_encryption_set_identity.yaml index 425c3658a3a..3d9f3344feb 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_disk_encryption_set_identity.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_disk_encryption_set_identity.yaml @@ -345,7 +345,7 @@ interactions: - AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.13.7 (Linux-6.8.0-1034-azure-x86_64-with-glibc2.35) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_identity_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_identity_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1?api-version=2025-05-31-preview response: body: string: '{"location":"eastus2euap","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_disk_encryption_set_identity_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1","name":"identity1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"213e87ed-8e08-4eb4-a63c-c073058f7b00","principalId":"e928611e-6ab6-46f7-b47d-07da173cfdd8","clientId":"d670653f-cc73-4ae3-87e9-09aa1c4ae60a"}}' @@ -449,7 +449,7 @@ interactions: - AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.13.7 (Linux-6.8.0-1034-azure-x86_64-with-glibc2.35) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_identity_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_disk_encryption_set_identity_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2?api-version=2025-05-31-preview response: body: string: '{"location":"eastus2euap","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_disk_encryption_set_identity_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2","name":"identity2","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"213e87ed-8e08-4eb4-a63c-c073058f7b00","principalId":"2bdaa09f-7766-4c2a-8fb2-411372927e88","clientId":"33f44610-705d-49ac-996f-da1a2ec011fa"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_guest_attestation_extension_and_msi.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_guest_attestation_extension_and_msi.yaml index e1bfe7389cb..233388ce1ba 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_guest_attestation_extension_and_msi.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_guest_attestation_extension_and_msi.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.80.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_guest_attestation_extension_and_msi000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id000006?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_guest_attestation_extension_and_msi000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id000006?api-version=2025-05-31-preview response: body: string: '{"location":"eastus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_guest_attestation_extension_and_msi000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id000006","name":"id000006","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"7b31ddc4-9101-4ef0-a387-79ce181cacdb","principalId":"4676989d-7607-4710-92b1-3c425eec7643","clientId":"102b4b9d-89e0-4de8-b998-d52620985099"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_build_managed_image.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_build_managed_image.yaml index ec06aa5d9ea..d42b27cc20e 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_build_managed_image.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_build_managed_image.yaml @@ -63,7 +63,7 @@ interactions: User-Agent: - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_managed000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_managed000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/img_tmpl_managed000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1","name":"ide1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"d2e503ea-2365-4c4b-98ba-4ac974c7eea6","clientId":"1a56021e-d018-4849-8cd6-df9ff1731a6f"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_build_output_versioning.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_build_output_versioning.yaml index 68f84860c43..4591aa7f8d5 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_build_output_versioning.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_build_output_versioning.yaml @@ -67,7 +67,7 @@ interactions: - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.12.10 (Linux-6.8.0-1027-azure-x86_64-with-glibc2.35) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_versioning_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_versioning_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/img_tmpl_versioning_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1","name":"ide1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"7320a4a9-182a-46de-8b65-1b2f74b3f3ad","clientId":"617c396b-4eae-49a6-af1f-9d7db0a4e29a"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_build_shared_image.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_build_shared_image.yaml index 643460d1ef6..2f35d647a25 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_build_shared_image.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_build_shared_image.yaml @@ -63,7 +63,7 @@ interactions: User-Agent: - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_sig000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_sig000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2025-05-31-preview response: body: string: '{"location":"eastus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/img_tmpl_sig000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1","name":"ide1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"2d183ced-54bf-480c-98c6-dd1f22b3d8bd","clientId":"a4a15378-7c1c-4228-93fd-ee808574227a"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_build_trigger.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_build_trigger.yaml index a366be7e491..ca755c3da46 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_build_trigger.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_build_trigger.yaml @@ -67,7 +67,7 @@ interactions: - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.12.10 (Linux-6.8.0-1027-azure-x86_64-with-glibc2.35) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_trigger_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_trigger_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/img_tmpl_trigger_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1","name":"ide1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"e4aba630-4255-4b21-87d4-5dc20f75a228","clientId":"80bc04ba-1277-4adb-bf35-d80857138089"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_basic.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_basic.yaml index c045cfc4a35..543fe81f8b9 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_basic.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_basic.yaml @@ -63,7 +63,7 @@ interactions: User-Agent: - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_basic000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_basic000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/img_tmpl_basic000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1","name":"ide1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"6589366f-8381-4188-96af-7eb8fb3a575a","clientId":"f10cd751-8dc7-4cc7-8dd6-32d9fa4f8636"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_basic_sig.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_basic_sig.yaml index a706d3ac8aa..c5f99e27b98 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_basic_sig.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_basic_sig.yaml @@ -67,7 +67,7 @@ interactions: - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.12.10 (Linux-6.8.0-1027-azure-x86_64-with-glibc2.35) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_basic_2000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_basic_2000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2025-05-31-preview response: body: string: '{"location":"westus2","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/img_tmpl_basic_2000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1","name":"ide1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"96ba07b6-6d76-4ae9-9525-5866d49a11e8","clientId":"f6e17c09-0fad-4ccb-80f9-1637dd798480"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_cancel.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_cancel.yaml index 0fce0b998cb..4dd27b01061 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_cancel.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_cancel.yaml @@ -67,7 +67,7 @@ interactions: - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.12.10 (Linux-6.8.0-1027-azure-x86_64-with-glibc2.35) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_cancel_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_cancel_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/img_tmpl_cancel_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1","name":"ide1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"37626dd2-773b-4a1d-bc65-719ab773e207","clientId":"6f7171e7-e839-48eb-9295-463b255b5f05"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_customizers.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_customizers.yaml index 39cf971851c..6a5fab5c7e7 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_customizers.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_customizers.yaml @@ -67,7 +67,7 @@ interactions: - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.12.10 (Linux-6.8.0-1027-azure-x86_64-with-glibc2.35) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_220_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_customizers000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_customizers000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/img_tmpl_customizers000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1","name":"ide1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"69df5593-561c-4813-980b-85a3a7771117","clientId":"8e481320-5ece-4147-b1a5-d30a4f9c0c72"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_template_error_handler.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_template_error_handler.yaml index 60686aa7f1c..0a7fabde3f1 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_template_error_handler.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_template_error_handler.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_image_builder_template_error_handler_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_image_builder_template_error_handler_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_image_builder_template_error_handler_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1","name":"ide1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"ead5f9a5-d2c8-4c5b-80ef-8d8c6641dd87","clientId":"cbb853d4-167d-430d-bbc1-bc3e66586745"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_template_optimizer.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_template_optimizer.yaml index 609b510c212..98fb15e3ea3 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_template_optimizer.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_template_optimizer.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_image_builder_template_optimizer_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_image_builder_template_optimizer_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_image_builder_template_optimizer_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1","name":"ide1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"490b76ec-ed90-48ad-aded-0775ce6ace14","clientId":"0c905ee3-b6be-4cbd-8d7f-423814bddb2c"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_template_validator.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_template_validator.yaml index 71e527296b3..b0c1c4a72cf 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_template_validator.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_template_validator.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_image_builder_template_validator_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_image_builder_template_validator_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_image_builder_template_validator_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1","name":"ide1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"2172b02d-e6fa-49aa-8c51-31c948e7c951","clientId":"594e7acc-1318-439b-912c-30569eb417ae"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_vm_profile.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_vm_profile.yaml index 5ed7de2a11a..b2861d155e9 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_vm_profile.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_vm_profile.yaml @@ -323,7 +323,7 @@ interactions: User-Agent: - AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_vmprofile000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id_000003?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_vmprofile000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id_000003?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/img_tmpl_vmprofile000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id_000003","name":"id_000003","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"e70ce566-7473-4b25-950f-f7a081126fa0","clientId":"ba6c113a-a2d7-4e23-93ef-597d539bf883"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_template_outputs.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_template_outputs.yaml index 75faf7013dd..9ab5e15725a 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_template_outputs.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_template_outputs.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_outputs000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/img_tmpl_outputs000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1?api-version=2025-05-31-preview response: body: string: '{"location":"westus2","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/img_tmpl_outputs000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1","name":"ide1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"d34f5d0c-2fbb-4152-8366-bdc9b94c5642","clientId":"571135ab-d96e-4a5b-a778-f757babcb40d"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_sig_msi.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_sig_msi.yaml index 11757b92697..effa1549348 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_sig_msi.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_sig_msi.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.85.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1","name":"id1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"ed94de55-1f87-4278-9651-525e7ba467d6","principalId":"ae158fb7-62a2-4e9e-9ffb-39b47fda9a0c","clientId":"7b586b27-168b-408f-9352-db449ce28583"}}' @@ -167,7 +167,7 @@ interactions: User-Agent: - AZURECLI/2.85.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_msi000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_msi000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2","name":"id2","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"ed94de55-1f87-4278-9651-525e7ba467d6","principalId":"13b4e701-eae6-4b7c-a152-a27651828edf","clientId":"477ef9bb-cb5f-4643-9fda-e918c335d7f0"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_disk_encryption_with_encryption_identity_e2e.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_disk_encryption_with_encryption_identity_e2e.yaml index 099559fabe2..13e385dd962 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_disk_encryption_with_encryption_identity_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_disk_encryption_with_encryption_identity_e2e.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.66.0 azsdk-python-core/1.31.0 Python/3.12.8 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_encryption_with_encryption_identity000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_encryption_with_encryption_identity000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{"tag1":"d1"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_encryption_with_encryption_identity000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1","name":"id1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"4e54a9ab-3772-476f-a0d1-73c822f31396","clientId":"5344a567-9e13-402f-ab07-bf973473afa0"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_disk_encryption_with_encryption_identity_not_acled_in_keyvaulte2e.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_disk_encryption_with_encryption_identity_not_acled_in_keyvaulte2e.yaml index ebb642a9d73..ae5652b3d74 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_disk_encryption_with_encryption_identity_not_acled_in_keyvaulte2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_disk_encryption_with_encryption_identity_not_acled_in_keyvaulte2e.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.66.0 azsdk-python-core/1.31.0 Python/3.12.8 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_encryption_with_encryption_identity000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_encryption_with_encryption_identity000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{"tag1":"d1"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_encryption_with_encryption_identity000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1","name":"id1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"0348a07b-d675-4e43-9789-bad3c0ffa779","clientId":"6aa067a1-602d-4dd1-8fea-dc9867f434d3"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_disk_encryption_with_incorrect_encryption_identity_e2e.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_disk_encryption_with_incorrect_encryption_identity_e2e.yaml index 921a6b4cb62..0346d68c363 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_disk_encryption_with_incorrect_encryption_identity_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_disk_encryption_with_incorrect_encryption_identity_e2e.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.66.0 azsdk-python-core/1.31.0 Python/3.12.8 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_encryption_with_incorrect_encryption_identity000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_encryption_with_incorrect_encryption_identity000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{"tag1":"d1"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_encryption_with_incorrect_encryption_identity000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1","name":"id1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"1cdfd5d3-0422-43db-9a3b-9be496dc62ed","clientId":"f6f70296-1744-4efd-bace-4c801aa8ea96"}}' @@ -165,7 +165,7 @@ interactions: User-Agent: - AZURECLI/2.66.0 azsdk-python-core/1.31.0 Python/3.12.8 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_encryption_with_incorrect_encryption_identity000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vm_encryption_with_incorrect_encryption_identity000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{"tag1":"d2"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_encryption_with_incorrect_encryption_identity000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2","name":"id2","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"2be7036b-1904-4d3f-9170-eeaca4256e13","clientId":"b73611d2-a705-4044-8cef-bf86ba3943e5"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_encryption_identity_for_disk_encryption.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_encryption_identity_for_disk_encryption.yaml index a21282c6e22..450338b165b 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_encryption_identity_for_disk_encryption.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_encryption_identity_for_disk_encryption.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.66.0 azsdk-python-core/1.31.0 Python/3.12.8 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vm_encryption_identity_for_disk_encryption000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vm_encryption_identity_for_disk_encryption000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{"tag1":"d1"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_vm_encryption_identity_for_disk_encryption000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1","name":"id1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"1bddeba1-4934-48eb-a274-a9f5c9737f81","clientId":"a5487d99-475f-4758-bcb9-7777704a9887"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_explicit_msi.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_explicit_msi.yaml index 5868908658c..cc32b8cf1af 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_explicit_msi.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_explicit_msi.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.81.0 azsdk-python-core/1.37.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{"tag1":"d1"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1","name":"id1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"4b71fe15-44c6-47b7-94ac-5a6b2cc290e9","principalId":"a0da45bb-6447-4e38-bf9b-366a4fa19347","clientId":"d5f743cd-af2b-488d-8e65-d39f1faf7701"}}' @@ -167,7 +167,7 @@ interactions: User-Agent: - AZURECLI/2.81.0 azsdk-python-core/1.37.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2","name":"id2","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"4b71fe15-44c6-47b7-94ac-5a6b2cc290e9","principalId":"77a8dc12-c541-4b51-9534-0616f50595d4","clientId":"fb9e56e0-db1f-4c78-a19d-758180a85c6f"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_incorrect_encryption_identity_for_disk_encryption.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_incorrect_encryption_identity_for_disk_encryption.yaml index cce849ee515..11099eadc38 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_incorrect_encryption_identity_for_disk_encryption.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_incorrect_encryption_identity_for_disk_encryption.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.81.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vm_incorrect_encryption_identity_for_disk_encryption000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vm_incorrect_encryption_identity_for_disk_encryption000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{"tag1":"d2"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_vm_incorrect_encryption_identity_for_disk_encryption000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2","name":"id2","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"b2fd21fa-dd89-4d05-b7a4-302f0986a642","clientId":"d2275dcc-cbee-4f2b-a245-4e2acaa997c6"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_null_encryption_identity_for_disk_encryption.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_null_encryption_identity_for_disk_encryption.yaml index 3146fbd3a3b..eb3e3e0d6d6 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_null_encryption_identity_for_disk_encryption.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_null_encryption_identity_for_disk_encryption.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.80.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vm_null_encryption_identity_for_disk_encryption000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vm_null_encryption_identity_for_disk_encryption000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{"tag1":"d1"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_vm_null_encryption_identity_for_disk_encryption000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1","name":"id1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"7b31ddc4-9101-4ef0-a387-79ce181cacdb","principalId":"1012c9b5-7753-45eb-a3fa-7dcb88705e05","clientId":"edad4f94-9449-4c22-adf5-2a0ae36fa999"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_encryption_identity_for_disk_encryption.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_encryption_identity_for_disk_encryption.yaml index b8b3fc19950..39c65d23391 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_encryption_identity_for_disk_encryption.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_encryption_identity_for_disk_encryption.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.8 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vmss_encryption_identity_for_disk_encryption000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vmss_encryption_identity_for_disk_encryption000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{"tag1":"d1"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_vmss_encryption_identity_for_disk_encryption000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1","name":"id1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"c8b80682-37f9-4a2f-a7a4-f7e02af34608","clientId":"548121a6-d514-4413-860f-af9216983ced"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_explicit_msi.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_explicit_msi.yaml index 174885def79..a96d2e8b114 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_explicit_msi.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_explicit_msi.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_explicit_msi000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_explicit_msi000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1?api-version=2025-05-31-preview response: body: string: '{"location":"westcentralus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_explicit_msi000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1","name":"id1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"4b71fe15-44c6-47b7-94ac-5a6b2cc290e9","principalId":"f49fc076-e87b-46cc-9461-62ddb7e542ea","clientId":"683d823c-21d3-4049-8860-75afac87be7d"}}' @@ -167,7 +167,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_explicit_msi000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_explicit_msi000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2?api-version=2025-05-31-preview response: body: string: '{"location":"westcentralus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_explicit_msi000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2","name":"id2","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"4b71fe15-44c6-47b7-94ac-5a6b2cc290e9","principalId":"37ce710a-9327-44f5-8ffb-46ee4cb3984e","clientId":"7a636b61-2d9c-4b17-8026-453d4f5e9d38"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_incorrect_encryption_identity_for_disk_encryption.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_incorrect_encryption_identity_for_disk_encryption.yaml index 1478e0edb99..832a04a946c 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_incorrect_encryption_identity_for_disk_encryption.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_incorrect_encryption_identity_for_disk_encryption.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vmss_incorrect_encryption_identity_for_disk_encryption000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vmss_incorrect_encryption_identity_for_disk_encryption000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{"tag1":"d2"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_vmss_incorrect_encryption_identity_for_disk_encryption000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2","name":"id2","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"c6b569d3-ed52-4184-9d43-39263bc3eac0","clientId":"aab60cae-bc14-4525-9683-67aa149a6e2e"}}' diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_null_encryption_identity_for_disk_encryption.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_null_encryption_identity_for_disk_encryption.yaml index 81d5f3383d5..60143bfe0bb 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_null_encryption_identity_for_disk_encryption.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_null_encryption_identity_for_disk_encryption.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.8 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vmss_null_encryption_identity_for_disk_encryption000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_vmss_null_encryption_identity_for_disk_encryption000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1?api-version=2025-05-31-preview response: body: string: '{"location":"westus","tags":{"tag1":"d1"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_vmss_null_encryption_identity_for_disk_encryption000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1","name":"id1","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"86b8ec54-c8f6-4267-a0b6-02d31c3de736","clientId":"968a5689-454a-43b3-a5f1-f59449f5f83f"}}' From 16205e9f431106e6cc4ac0b292ea73f94076fa2c Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Thu, 7 May 2026 15:37:27 -0700 Subject: [PATCH 34/37] Remove prompt from delete --- .../command_modules/identity/aaz/latest/identity/_delete.py | 1 - .../command_modules/identity/tests/latest/test_identity.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_delete.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_delete.py index 5458411687e..509257d6c7a 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_delete.py +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/_delete.py @@ -13,7 +13,6 @@ @register_command( "identity delete", - confirmation="Are you sure you want to perform this operation?", ) class Delete(AAZCommand): """Delete the identity. diff --git a/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py b/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py index efedebd7cd3..3f839ef67c2 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py +++ b/src/azure-cli/azure/cli/command_modules/identity/tests/latest/test_identity.py @@ -32,7 +32,7 @@ def test_identity_management(self, resource_group): self.cmd('identity list-resources -g {rg} -n {identity}') self.cmd('identity list -g {rg}', checks=self.check('length(@)', 1)) - self.cmd('identity delete -n {identity} -g {rg} --yes') + self.cmd('identity delete -n {identity} -g {rg}') self.cmd('identity create -n {identity} -g {rg} --isolation-scope Regional', checks=[ self.check('name', '{identity}'), @@ -46,7 +46,7 @@ def test_identity_management(self, resource_group): self.check('isolationScope', 'None') ]) - self.cmd('identity delete -n {identity} -g {rg} --yes') + self.cmd('identity delete -n {identity} -g {rg}') self.cmd('identity create -n {identity} -g {rg} --resource-restriction {resource_restriction_compute}', checks=[ self.check('name', '{identity}'), From 77b9ddb98cfbe05a3bed59ce96736244c1e90db7 Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Thu, 7 May 2026 17:34:26 -0700 Subject: [PATCH 35/37] Fixed tests and index --- .../azure/cli/core/helpIndex.latest.json | 2 +- .../latest/recordings/test_acr_abac_task.yaml | 4 +- ...lan_managed_instance_complex_scenario.yaml | 2 +- ...managed_instance_comprehensive_create.yaml | 2 +- .../test_webapp_hyperv_acr_use_identity.yaml | 860 +++++++++--------- ...ation_bot_create_userassignedmsi_type.yaml | 392 ++++---- .../test_container_create_with_msi.yaml | 337 +++---- .../test_container_export_with_identity.yaml | 352 ++++--- 8 files changed, 933 insertions(+), 1018 deletions(-) diff --git a/src/azure-cli-core/azure/cli/core/helpIndex.latest.json b/src/azure-cli-core/azure/cli/core/helpIndex.latest.json index 070f8f878a0..8bd1fe35664 100644 --- a/src/azure-cli-core/azure/cli/core/helpIndex.latest.json +++ b/src/azure-cli-core/azure/cli/core/helpIndex.latest.json @@ -184,7 +184,7 @@ "tags": "" }, "identity": { - "summary": "Manage Managed Identity.", + "summary": "Manage Identity.", "tags": "" }, "image": { diff --git a/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_abac_task.yaml b/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_abac_task.yaml index c2745d0bd30..e91c3bb81aa 100644 --- a/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_abac_task.yaml +++ b/src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_abac_task.yaml @@ -2385,7 +2385,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.3 (Linux-6.17.0-1008-azure-x86_64-with-glibc2.39) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_acrabac_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/acr000003?api-version=2025-05-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_acrabac_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/acr000003?api-version=2024-11-30 response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_acrabac_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/acr000003","name":"acr000003","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"6ad9e163-744e-4d62-a70c-42067128c4be","clientId":"7434fcb6-eddf-43cc-92c3-7f16d4d6a0f6"}}' @@ -2882,7 +2882,7 @@ interactions: User-Agent: - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.3 (Linux-6.17.0-1008-azure-x86_64-with-glibc2.39) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_acrabac_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/acr000003?api-version=2025-05-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_acrabac_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/acr000003?api-version=2024-11-30 response: body: string: '{"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_acrabac_000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/acr000003","name":"acr000003","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"6ad9e163-744e-4d62-a70c-42067128c4be","clientId":"7434fcb6-eddf-43cc-92c3-7f16d4d6a0f6"}}' diff --git a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_appservice_plan_managed_instance_complex_scenario.yaml b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_appservice_plan_managed_instance_complex_scenario.yaml index e7936390b51..bab888311fa 100644 --- a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_appservice_plan_managed_instance_complex_scenario.yaml +++ b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_appservice_plan_managed_instance_complex_scenario.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.80.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mi-identity000003?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mi-identity000003?api-version=2025-05-31-preview response: body: string: '{"location":"eastus2euap","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mi-identity000003","name":"mi-identity000003","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"f4f61c64-7de1-4790-a418-c0ed35ae1f86","clientId":"a53762f6-087f-4efc-8f2e-fb90acc880e8"}}' diff --git a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_appservice_plan_managed_instance_comprehensive_create.yaml b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_appservice_plan_managed_instance_comprehensive_create.yaml index ce9e6a0890f..8b58068b5b6 100644 --- a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_appservice_plan_managed_instance_comprehensive_create.yaml +++ b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_appservice_plan_managed_instance_comprehensive_create.yaml @@ -65,7 +65,7 @@ interactions: User-Agent: - AZURECLI/2.80.0 azsdk-python-core/1.35.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mi-identity-comp000003?api-version=2024-11-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mi-identity-comp000003?api-version=2025-05-31-preview response: body: string: '{"location":"eastus2euap","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/mi-identity-comp000003","name":"mi-identity-comp000003","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"9391a4bc-1471-49f7-aa17-b77e181c8645","clientId":"91117392-a18d-4f66-8ae6-91de6b8d80bb"}}' diff --git a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_webapp_hyperv_acr_use_identity.yaml b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_webapp_hyperv_acr_use_identity.yaml index 32b2ff14f1a..afd22297832 100644 --- a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_webapp_hyperv_acr_use_identity.yaml +++ b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_webapp_hyperv_acr_use_identity.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - -g -n --hyper-v --sku User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.83.0 azsdk-python-core/1.38.0 Python/3.11.9 (Windows-10-10.0.26200-SP0) method: GET - uri: https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/webapp_hyperv_acr_use_identity000001?api-version=2024-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/webapp_hyperv_acr_use_identity000001?api-version=2024-11-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001","name":"webapp_hyperv_acr_use_identity000001","type":"Microsoft.Resources/resourceGroups","location":"westeurope","tags":{"product":"azurecli","cause":"automation","test":"test_webapp_hyperv_acr_use_identity","date":"2026-03-16T23:39:07Z","module":"appservice"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001","name":"webapp_hyperv_acr_use_identity000001","type":"Microsoft.Resources/resourceGroups","location":"westeurope","tags":{"product":"azurecli","cause":"automation","test":"test_webapp_hyperv_acr_use_identity","date":"2026-02-26T11:31:46Z","module":"appservice"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 16 Mar 2026 23:39:11 GMT + - Thu, 26 Feb 2026 11:31:51 GMT expires: - '-1' pragma: @@ -38,10 +38,10 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff - x-ms-throttling-version: - - v2 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' x-msedge-ref: - - 'Ref A: 046D01BBDA114E1EA19333C38ED230B5 Ref B: CO6AA3150218025 Ref C: 2026-03-16T23:39:11Z' + - 'Ref A: 758A9357908B4B68B88EF2277CD4EB8B Ref B: PNQ231110907054 Ref C: 2026-02-26T11:31:50Z' status: code: 200 message: OK @@ -64,13 +64,13 @@ interactions: ParameterSetName: - -g -n --hyper-v --sku User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.83.0 azsdk-python-core/1.38.0 Python/3.11.9 (Windows-10-10.0.26200-SP0) method: PUT - uri: https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/serverfarms/plan-hyperv000003?api-version=2025-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/serverfarms/plan-hyperv000003?api-version=2025-03-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/serverfarms/plan-hyperv000003","name":"plan-hyperv000003","type":"Microsoft.Web/serverfarms","kind":"windows","location":"westeurope","properties":{"serverFarmId":108896,"name":"plan-hyperv000003","sku":{"name":"P1v3","tier":"PremiumV3","size":"P1v3","family":"Pv3","capacity":1},"workerSize":"SmallV3","workerSizeId":6,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"SmallV3","currentWorkerSizeId":6,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"webapp_hyperv_acr_use_identity000001-WestEuropewebspace-Xenon","subscription":"6a07d018-378c-4224-968b-468f214b3c16","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":0,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West - Europe","perSiteScaling":false,"elasticScaleEnabled":false,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"windows","resourceGroup":"webapp_hyperv_acr_use_identity000001","reserved":false,"isXenon":true,"hyperV":true,"mdmId":"waws-prod-am2-585_108896","targetWorkerCount":0,"targetWorkerSizeId":0,"targetWorkerSku":null,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null,"kubeEnvironmentProfile":null,"zoneRedundant":false,"maximumNumberOfZones":1,"currentNumberOfZonesUtilized":1,"migrateToVMSS":null,"vnetConnectionsUsed":null,"vnetConnectionsMax":null,"createdTime":"2026-03-16T23:39:18.6466667","asyncScalingEnabled":false,"isCustomMode":false,"powerState":"Running","eligibleLogCategories":""},"sku":{"name":"P1v3","tier":"PremiumV3","size":"P1v3","family":"Pv3","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/serverfarms/plan-hyperv000003","name":"plan-hyperv000003","type":"Microsoft.Web/serverfarms","kind":"windows","location":"westeurope","properties":{"serverFarmId":102270,"name":"plan-hyperv000003","sku":{"name":"P1v3","tier":"PremiumV3","size":"P1v3","family":"Pv3","capacity":1},"workerSize":"SmallV3","workerSizeId":6,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"SmallV3","currentWorkerSizeId":6,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"webapp_hyperv_acr_use_identity000001-WestEuropewebspace-Xenon","subscription":"bef29afb-3c08-4894-ae64-43bdd8f3f447","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":0,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West + Europe","perSiteScaling":false,"elasticScaleEnabled":false,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"windows","resourceGroup":"webapp_hyperv_acr_use_identity000001","reserved":false,"isXenon":true,"hyperV":true,"mdmId":"waws-prod-am2-599_102270","targetWorkerCount":0,"targetWorkerSizeId":0,"targetWorkerSku":null,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null,"kubeEnvironmentProfile":null,"zoneRedundant":false,"maximumNumberOfZones":1,"currentNumberOfZonesUtilized":1,"migrateToVMSS":null,"vnetConnectionsUsed":null,"vnetConnectionsMax":null,"createdTime":"2026-02-26T11:31:57.9866667","asyncScalingEnabled":false,"isCustomMode":false,"powerState":"Running","eligibleLogCategories":""},"sku":{"name":"P1v3","tier":"PremiumV3","size":"P1v3","family":"Pv3","capacity":1}}' headers: cache-control: - no-cache @@ -79,9 +79,9 @@ interactions: content-type: - application/json date: - - Mon, 16 Mar 2026 23:39:23 GMT + - Thu, 26 Feb 2026 11:32:00 GMT etag: - - 1DCB59E1DAEE3D5,1DCB59E1E1316E0,1DCB59E1E36B175 + - 1DCA71385E06B0B,1DCA713860DAF95,1DCA713861FFF15 expires: - '-1' pragma: @@ -95,13 +95,13 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/eastus2euap/e55ef288-536e-492b-89f5-c61fa2d0377c + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=1ad78d6e-2ba6-4319-afd9-010403750d9a/westeurope/514dfdd8-07ca-4596-b7d4-88baa6e9d3d6 + x-ms-ratelimit-remaining-subscription-global-writes: + - '12000' x-ms-ratelimit-remaining-subscription-writes: - '800' - x-ms-throttling-version: - - v2 x-msedge-ref: - - 'Ref A: 688531AD39894723A561095BD32FE131 Ref B: MWH011020806052 Ref C: 2026-03-16T23:39:11Z' + - 'Ref A: 45EC880264FD48BDAE338258A523BA21 Ref B: PNQ231110906040 Ref C: 2026-02-26T11:31:51Z' x-powered-by: - ASP.NET status: @@ -122,14 +122,14 @@ interactions: - -g -n --plan --container-registry-url --container-image-name --assign-identity --acr-use-identity --acr-identity User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.83.0 azsdk-python-core/1.38.0 Python/3.11.9 (Windows-10-10.0.26200-SP0) method: GET - uri: https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/serverfarms/plan-hyperv000003?api-version=2024-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/serverfarms/plan-hyperv000003?api-version=2024-11-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/serverfarms/plan-hyperv000003","name":"plan-hyperv000003","type":"Microsoft.Web/serverfarms","kind":"windows","location":"West - Europe","properties":{"serverFarmId":108896,"name":"plan-hyperv000003","workerSize":"SmallV3","workerSizeId":6,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"SmallV3","currentWorkerSizeId":6,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"webapp_hyperv_acr_use_identity000001-WestEuropewebspace-Xenon","subscription":"6a07d018-378c-4224-968b-468f214b3c16","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":30,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West - Europe","perSiteScaling":false,"elasticScaleEnabled":false,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"windows","resourceGroup":"webapp_hyperv_acr_use_identity000001","reserved":false,"isXenon":true,"hyperV":true,"mdmId":"waws-prod-am2-585_108896","targetWorkerCount":0,"targetWorkerSizeId":0,"targetWorkerSku":null,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null,"kubeEnvironmentProfile":null,"zoneRedundant":false,"maximumNumberOfZones":1,"currentNumberOfZonesUtilized":1,"migrateToVMSS":null,"vnetConnectionsUsed":0,"vnetConnectionsMax":2,"createdTime":"2026-03-16T23:39:18.6466667","asyncScalingEnabled":false,"isCustomMode":false,"powerState":"Running","eligibleLogCategories":""},"sku":{"name":"P1v3","tier":"PremiumV3","size":"P1v3","family":"Pv3","capacity":1}}' + Europe","properties":{"serverFarmId":102270,"name":"plan-hyperv000003","workerSize":"SmallV3","workerSizeId":6,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"SmallV3","currentWorkerSizeId":6,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"webapp_hyperv_acr_use_identity000001-WestEuropewebspace-Xenon","subscription":"bef29afb-3c08-4894-ae64-43bdd8f3f447","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":30,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West + Europe","perSiteScaling":false,"elasticScaleEnabled":false,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"windows","resourceGroup":"webapp_hyperv_acr_use_identity000001","reserved":false,"isXenon":true,"hyperV":true,"mdmId":"waws-prod-am2-599_102270","targetWorkerCount":0,"targetWorkerSizeId":0,"targetWorkerSku":null,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null,"kubeEnvironmentProfile":null,"zoneRedundant":false,"maximumNumberOfZones":1,"currentNumberOfZonesUtilized":1,"migrateToVMSS":null,"vnetConnectionsUsed":0,"vnetConnectionsMax":2,"createdTime":"2026-02-26T11:31:57.9866667","asyncScalingEnabled":false,"isCustomMode":false,"powerState":"Running","eligibleLogCategories":""},"sku":{"name":"P1v3","tier":"PremiumV3","size":"P1v3","family":"Pv3","capacity":1}}' headers: cache-control: - no-cache @@ -138,7 +138,7 @@ interactions: content-type: - application/json date: - - Mon, 16 Mar 2026 23:39:26 GMT + - Thu, 26 Feb 2026 11:32:02 GMT expires: - '-1' pragma: @@ -151,10 +151,10 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff - x-ms-throttling-version: - - v2 + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' x-msedge-ref: - - 'Ref A: A226DEB42D7F458993FD7956B0DD002A Ref B: CO6AA3150217025 Ref C: 2026-03-16T23:39:26Z' + - 'Ref A: 4709D2F88BFB4D7982150C9E606C16B5 Ref B: PNQ231110908034 Ref C: 2026-02-26T11:32:02Z' x-powered-by: - ASP.NET status: @@ -179,9 +179,9 @@ interactions: - -g -n --plan --container-registry-url --container-image-name --assign-identity --acr-use-identity --acr-identity User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.83.0 azsdk-python-core/1.38.0 Python/3.11.9 (Windows-10-10.0.26200-SP0) method: POST - uri: https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/checknameavailability?api-version=2024-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/checknameavailability?api-version=2024-11-01 response: body: string: '{"nameAvailable":true,"reason":"","message":""}' @@ -193,7 +193,7 @@ interactions: content-type: - application/json date: - - Mon, 16 Mar 2026 23:39:27 GMT + - Thu, 26 Feb 2026 11:32:07 GMT expires: - '-1' pragma: @@ -207,11 +207,11 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/eastus2euap/23b58e0f-ca48-4b75-be19-7592b2a3e138 - x-ms-throttling-version: - - v2 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=1ad78d6e-2ba6-4319-afd9-010403750d9a/westindia/5049236c-6f43-447e-b406-9453024f532e + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' x-msedge-ref: - - 'Ref A: 9E9D0D0B65EB43EA9C3C04806778392F Ref B: CO6AA3150217009 Ref C: 2026-03-16T23:39:27Z' + - 'Ref A: 19829F7235474048950ACF74C39BE785 Ref B: PNQ231110908025 Ref C: 2026-02-26T11:32:03Z' x-powered-by: - ASP.NET status: @@ -243,26 +243,26 @@ interactions: - -g -n --plan --container-registry-url --container-image-name --assign-identity --acr-use-identity --acr-identity User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.83.0 azsdk-python-core/1.38.0 Python/3.11.9 (Windows-10-10.0.26200-SP0) method: PUT - uri: https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/sites/webapp-hyperv000002?api-version=2024-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/sites/webapp-hyperv000002?api-version=2024-11-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/sites/webapp-hyperv000002","name":"webapp-hyperv000002","type":"Microsoft.Web/sites","kind":"app,container,windows","location":"West - Europe","properties":{"name":"webapp-hyperv000002","state":"Running","hostNames":["webapp-hyperv000002.azurewebsites.net"],"webSpace":"webapp_hyperv_acr_use_identity000001-WestEuropewebspace-Xenon","selfLink":"https://waws-prod-am2-585.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/webapp_hyperv_acr_use_identity000001-WestEuropewebspace-Xenon/sites/webapp-hyperv000002","repositorySiteName":"webapp-hyperv000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"siteScopedCertificatesEnabled":false,"afdEnabled":false,"enabledHostNames":["webapp-hyperv000002.azurewebsites.net","webapp-hyperv000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":"DOCKER|mcr.microsoft.com/azure-app-service/windows/parkingpage:latest"}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-hyperv000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"virtualIPv6":null,"thumbprint":null,"certificateResourceId":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-hyperv000002.scm.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"virtualIPv6":null,"thumbprint":null,"certificateResourceId":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Repository"}],"hostNamePrivateStates":[],"computeMode":null,"serverFarm":null,"serverFarmId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/serverfarms/plan-hyperv000003","reserved":false,"isXenon":true,"hyperV":true,"sandboxType":null,"lastModifiedTimeUtc":"2026-03-16T23:39:31.4466667","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","dnsConfiguration":{},"containerAllocationSubnet":null,"useContainerLocalhostBindings":null,"outboundVnetRouting":{"allTraffic":false,"applicationTraffic":false,"contentShareTraffic":false,"imagePullTraffic":false,"backupRestoreTraffic":false,"managedIdentityTraffic":false},"legacyServiceEndpointTrafficEvaluation":null,"siteConfig":{"numberOfWorkers":1,"defaultDocuments":null,"netFrameworkVersion":null,"phpVersion":null,"pythonVersion":null,"nodeVersion":null,"powerShellVersion":null,"linuxFxVersion":"","windowsFxVersion":null,"sandboxType":null,"windowsConfiguredStacks":null,"requestTracingEnabled":null,"remoteDebuggingEnabled":null,"remoteDebuggingVersion":null,"httpLoggingEnabled":null,"azureMonitorLogCategories":null,"acrUseManagedIdentityCreds":false,"acrUserManagedIdentityID":null,"logsDirectorySizeLimit":null,"detailedErrorLoggingEnabled":null,"publishingUsername":null,"publishingPassword":null,"appSettings":null,"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":null,"use32BitWorkerProcess":null,"webSocketsEnabled":null,"alwaysOn":false,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":null,"managedPipelineMode":null,"virtualApplications":null,"winAuthAdminState":null,"winAuthTenantState":null,"customAppPoolIdentityAdminState":null,"customAppPoolIdentityTenantState":null,"runtimeADUser":null,"runtimeADUserPassword":null,"loadBalancing":null,"routingRules":null,"experiments":null,"limits":null,"autoHealEnabled":null,"autoHealRules":null,"tracingOptions":null,"vnetName":null,"vnetRouteAllEnabled":null,"vnetPrivatePortsCount":null,"publicNetworkAccess":null,"cors":null,"push":null,"apiDefinition":null,"apiManagementConfig":null,"autoSwapSlotName":null,"localMySqlEnabled":null,"managedServiceIdentityId":null,"xManagedServiceIdentityId":null,"keyVaultReferenceIdentity":null,"ipSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":2147483647,"name":"Allow + Europe","properties":{"name":"webapp-hyperv000002","state":"Running","hostNames":["webapp-hyperv000002.azurewebsites.net"],"webSpace":"webapp_hyperv_acr_use_identity000001-WestEuropewebspace-Xenon","selfLink":"https://waws-prod-am2-599.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/webapp_hyperv_acr_use_identity000001-WestEuropewebspace-Xenon/sites/webapp-hyperv000002","repositorySiteName":"webapp-hyperv000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"siteScopedCertificatesEnabled":false,"afdEnabled":false,"enabledHostNames":["webapp-hyperv000002.azurewebsites.net","webapp-hyperv000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":"DOCKER|mcr.microsoft.com/azure-app-service/windows/parkingpage:latest"}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-hyperv000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"virtualIPv6":null,"thumbprint":null,"certificateResourceId":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-hyperv000002.scm.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"virtualIPv6":null,"thumbprint":null,"certificateResourceId":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Repository"}],"hostNamePrivateStates":[],"computeMode":null,"serverFarm":null,"serverFarmId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/serverfarms/plan-hyperv000003","reserved":false,"isXenon":true,"hyperV":true,"sandboxType":null,"lastModifiedTimeUtc":"2026-02-26T11:32:11.2","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","dnsConfiguration":{},"containerAllocationSubnet":null,"useContainerLocalhostBindings":null,"outboundVnetRouting":{"allTraffic":false,"applicationTraffic":false,"contentShareTraffic":false,"imagePullTraffic":false,"backupRestoreTraffic":false,"managedIdentityTraffic":false},"legacyServiceEndpointTrafficEvaluation":null,"siteConfig":{"numberOfWorkers":1,"defaultDocuments":null,"netFrameworkVersion":null,"phpVersion":null,"pythonVersion":null,"nodeVersion":null,"powerShellVersion":null,"linuxFxVersion":"","windowsFxVersion":null,"sandboxType":null,"windowsConfiguredStacks":null,"requestTracingEnabled":null,"remoteDebuggingEnabled":null,"remoteDebuggingVersion":null,"httpLoggingEnabled":null,"azureMonitorLogCategories":null,"acrUseManagedIdentityCreds":false,"acrUserManagedIdentityID":null,"logsDirectorySizeLimit":null,"detailedErrorLoggingEnabled":null,"publishingUsername":null,"publishingPassword":null,"appSettings":null,"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":null,"use32BitWorkerProcess":null,"webSocketsEnabled":null,"alwaysOn":false,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":null,"managedPipelineMode":null,"virtualApplications":null,"winAuthAdminState":null,"winAuthTenantState":null,"customAppPoolIdentityAdminState":null,"customAppPoolIdentityTenantState":null,"runtimeADUser":null,"runtimeADUserPassword":null,"loadBalancing":null,"routingRules":null,"experiments":null,"limits":null,"autoHealEnabled":null,"autoHealRules":null,"tracingOptions":null,"vnetName":null,"vnetRouteAllEnabled":null,"vnetPrivatePortsCount":null,"publicNetworkAccess":null,"cors":null,"push":null,"apiDefinition":null,"apiManagementConfig":null,"autoSwapSlotName":null,"localMySqlEnabled":null,"managedServiceIdentityId":null,"xManagedServiceIdentityId":null,"keyVaultReferenceIdentity":null,"ipSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":2147483647,"name":"Allow all","description":"Allow all access"}],"ipSecurityRestrictionsDefaultAction":null,"scmIpSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":2147483647,"name":"Allow - all","description":"Allow all access"}],"scmIpSecurityRestrictionsDefaultAction":null,"scmIpSecurityRestrictionsUseMain":null,"http20Enabled":false,"minTlsVersion":null,"minTlsCipherSuite":null,"scmMinTlsCipherSuite":null,"supportedTlsCipherSuites":null,"scmSupportedTlsCipherSuites":null,"scmMinTlsVersion":null,"ftpsState":null,"preWarmedInstanceCount":null,"functionAppScaleLimit":null,"elasticWebAppScaleLimit":0,"healthCheckPath":null,"fileChangeAuditEnabled":null,"functionsRuntimeScaleMonitoringEnabled":null,"websiteTimeZone":null,"minimumElasticInstanceCount":0,"azureStorageAccounts":null,"http20ProxyFlag":null,"sitePort":null,"antivirusScanEnabled":null,"storageType":null,"sitePrivateLinkHostEnabled":null,"clusteringEnabled":false,"webJobsEnabled":false},"functionAppConfig":null,"daprConfig":null,"deploymentId":"webapp-hyperv000002","slotName":null,"trafficManagerHostNames":null,"sku":"PremiumV3","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientAffinityProxyEnabled":false,"useQueryStringAffinity":false,"blockPathTraversal":false,"clientCertEnabled":false,"clientCertMode":"Required","clientCertExclusionPaths":null,"clientCertExclusionEndPoints":null,"hostNamesDisabled":false,"ipMode":"IPv4","domainVerificationIdentifiers":null,"customDomainVerificationId":"5E4E3AEE53588E1D67F27995A56FA6BD51ECEE05CA955E5B6453BFB739220A16","kind":"app,container,windows","managedEnvironmentId":null,"workloadProfileName":null,"resourceConfig":null,"inboundIpAddress":"20.105.224.15","possibleInboundIpAddresses":"20.105.224.15","inboundIpv6Address":"2603:1020:206:5::58","possibleInboundIpv6Addresses":"2603:1020:206:5::58","ftpUsername":"webapp-hyperv000002\\$webapp-hyperv000002","ftpsHostName":"ftps://waws-prod-am2-585.ftp.azurewebsites.windows.net/site/wwwroot","outboundIpAddresses":"20.31.108.73,20.31.108.77,20.31.108.118,20.31.108.252,20.31.104.180,20.82.30.151,20.105.224.15","possibleOutboundIpAddresses":"20.31.104.130,20.31.105.65,20.31.105.251,20.31.106.109,20.31.106.240,20.31.106.252,50.85.112.145,20.31.107.13,20.126.185.223,20.126.185.249,20.103.182.46,20.31.107.126,20.31.107.152,20.31.107.157,20.31.107.158,20.31.107.236,20.31.108.12,20.31.108.67,20.126.185.172,20.31.108.73,20.31.108.77,20.31.108.118,20.31.108.252,20.31.104.180,20.82.30.151,20.31.104.188,20.31.109.11,20.31.109.16,20.31.109.41,20.31.109.50,20.31.109.55,20.105.224.15","outboundIpv6Addresses":"2603:1020:203:d::426,2603:1020:203:8::418,2603:1020:203:a::43e,2603:1020:203:1a::3fa,2603:1020:203:20::3d9,2603:1020:203:15::411,2603:1020:206:5::58,2603:10e1:100:2::1469:e00f","possibleOutboundIpv6Addresses":"2603:1020:203:16::408,2603:1020:203:20::3d6,2603:1020:203:8::415,2603:1020:203:e::421,2603:1020:203:7::13b,2603:1020:203:d::424,2603:1020:203:1e::3ae,2603:1020:203:9::416,2603:1020:203:b::438,2603:1020:203:16::40a,2603:1020:203:e::424,2603:1020:203:20::3d7,2603:1020:203:9::417,2603:1020:203:20::3d8,2603:1020:203:12::413,2603:1020:203:3::647,2603:1020:203:5::407,2603:1020:203:1e::3af,2603:1020:203:d::426,2603:1020:203:8::418,2603:1020:203:a::43e,2603:1020:203:1a::3fa,2603:1020:203:20::3d9,2603:1020:203:15::411,2603:1020:203:f::432,2603:1020:203:18::40b,2603:1020:203:17::42f,2603:1020:203:20::3da,2603:1020:203:1a::3fc,2603:1020:203:a::440,2603:1020:206:5::58,2603:10e1:100:2::1469:e00f","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-am2-585","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"webapp_hyperv_acr_use_identity000001","defaultHostName":"webapp-hyperv000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":true,"endToEndEncryptionEnabled":false,"functionsRuntimeAdminIsolationEnabled":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":null,"publicNetworkAccess":"Enabled","buildVersion":null,"targetBuildVersion":null,"migrationState":null,"eligibleLogCategories":"AppServiceAppLogs,AppServiceConsoleLogs,AppServiceHTTPLogs,AppServicePlatformLogs,ScanLogs,AppServiceAntivirusScanAuditLogs,AppServiceAuthenticationLogs,AppServiceFileAuditLogs,AppServiceAuditLogs,AppServiceIPSecAuditLogs","inFlightFeatures":null,"storageAccountRequired":false,"virtualNetworkSubnetId":null,"keyVaultReferenceIdentity":"SystemAssigned","autoGeneratedDomainNameLabelScope":null,"privateLinkIdentifiers":null,"sshEnabled":null}}' + all","description":"Allow all access"}],"scmIpSecurityRestrictionsDefaultAction":null,"scmIpSecurityRestrictionsUseMain":null,"http20Enabled":false,"minTlsVersion":null,"minTlsCipherSuite":null,"scmMinTlsCipherSuite":null,"supportedTlsCipherSuites":null,"scmSupportedTlsCipherSuites":null,"scmMinTlsVersion":null,"ftpsState":null,"preWarmedInstanceCount":null,"functionAppScaleLimit":null,"elasticWebAppScaleLimit":0,"healthCheckPath":null,"fileChangeAuditEnabled":null,"functionsRuntimeScaleMonitoringEnabled":null,"websiteTimeZone":null,"minimumElasticInstanceCount":0,"azureStorageAccounts":null,"http20ProxyFlag":null,"sitePort":null,"antivirusScanEnabled":null,"storageType":null,"sitePrivateLinkHostEnabled":null,"clusteringEnabled":false,"webJobsEnabled":false},"functionAppConfig":null,"daprConfig":null,"deploymentId":"webapp-hyperv000002","slotName":null,"trafficManagerHostNames":null,"sku":"PremiumV3","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientAffinityProxyEnabled":false,"useQueryStringAffinity":false,"blockPathTraversal":false,"clientCertEnabled":false,"clientCertMode":"Required","clientCertExclusionPaths":null,"clientCertExclusionEndPoints":null,"hostNamesDisabled":false,"ipMode":"IPv4","domainVerificationIdentifiers":null,"customDomainVerificationId":"D3BA5386ECE3EF692436FA80D86862EA4BBB849B79C16196E232335AC62906B7","kind":"app,container,windows","managedEnvironmentId":null,"workloadProfileName":null,"resourceConfig":null,"inboundIpAddress":"20.105.224.18","possibleInboundIpAddresses":"20.105.224.18","inboundIpv6Address":"2603:1020:206:7::54","possibleInboundIpv6Addresses":"2603:1020:206:7::54","ftpUsername":"webapp-hyperv000002\\$webapp-hyperv000002","ftpsHostName":"ftps://waws-prod-am2-599.ftp.azurewebsites.windows.net/site/wwwroot","outboundIpAddresses":"20.23.131.231,20.23.132.8,20.23.132.9,20.23.132.11,20.23.132.12,20.23.132.14,20.105.224.18","possibleOutboundIpAddresses":"20.23.130.150,20.23.130.171,20.23.131.73,20.23.131.74,20.23.131.75,20.23.131.221,57.153.144.55,20.23.130.53,20.23.132.53,20.23.132.54,20.23.132.55,20.23.132.57,20.23.132.58,20.23.131.72,20.23.132.59,20.23.131.224,20.23.131.227,20.23.131.228,20.23.131.229,20.23.131.231,20.23.132.8,20.23.132.9,20.23.132.11,20.23.132.12,20.23.132.14,20.23.132.15,20.23.132.18,20.101.246.185,20.23.132.19,20.23.132.20,20.23.132.21,20.105.224.18","outboundIpv6Addresses":"2603:1020:203:11::40f,2603:1020:203:5::424,2603:1020:203:6::452,2603:1020:203:11::410,2603:1020:203:3::653,2603:1020:203:18::420,2603:1020:206:7::54,2603:10e1:100:2::1469:e012","possibleOutboundIpv6Addresses":"2603:1020:203:13::428,2603:1020:203:10::3ee,2603:1020:203:1e::3c3,2603:1020:203:8::428,2603:1020:203:19::40b,2603:1020:203:e::43d,2603:1020:203:d::43d,2603:1020:203:b::44e,2603:1020:203:7::14c,2603:1020:203:17::43f,2603:1020:203:e::43f,2603:1020:203:d::43e,2603:1020:203:11::409,2603:1020:203:11::40b,2603:1020:203:1e::3c6,2603:1020:203:17::441,2603:1020:203:d::440,2603:1020:203:19::40d,2603:1020:203:11::40f,2603:1020:203:5::424,2603:1020:203:6::452,2603:1020:203:11::410,2603:1020:203:3::653,2603:1020:203:18::420,2603:1020:203:16::41f,2603:1020:203:15::423,2603:1020:203:7::155,2603:1020:203:6::454,2603:1020:203:1e::3c7,2603:1020:203:7::158,2603:1020:206:7::54,2603:10e1:100:2::1469:e012","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-am2-599","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"webapp_hyperv_acr_use_identity000001","defaultHostName":"webapp-hyperv000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":true,"endToEndEncryptionEnabled":false,"functionsRuntimeAdminIsolationEnabled":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":null,"publicNetworkAccess":"Enabled","buildVersion":null,"targetBuildVersion":null,"migrationState":null,"eligibleLogCategories":"AppServiceAppLogs,AppServiceConsoleLogs,AppServiceHTTPLogs,AppServicePlatformLogs,ScanLogs,AppServiceAntivirusScanAuditLogs,AppServiceAuthenticationLogs,AppServiceFileAuditLogs,AppServiceAuditLogs,AppServiceIPSecAuditLogs","inFlightFeatures":null,"storageAccountRequired":false,"virtualNetworkSubnetId":null,"keyVaultReferenceIdentity":"SystemAssigned","autoGeneratedDomainNameLabelScope":null,"privateLinkIdentifiers":null,"sshEnabled":null}}' headers: cache-control: - no-cache content-length: - - '9037' + - '9015' content-type: - application/json date: - - Mon, 16 Mar 2026 23:39:52 GMT + - Thu, 26 Feb 2026 11:32:31 GMT etag: - - '"1DCB59E23D28B95"' + - '"1DCA7138C927D20"' expires: - '-1' pragma: @@ -276,13 +276,11 @@ interactions: x-content-type-options: - nosniff x-ms-operation-identifier: - - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=a16ec1df-b555-4191-bf58-04352f47c61d/eastus2euap/cb18ec94-041d-407b-9bfa-251b9fa2b779 + - tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=1ad78d6e-2ba6-4319-afd9-010403750d9a/westeurope/8ac4921d-78e3-4429-950b-0f4a1c3873cc x-ms-ratelimit-remaining-subscription-resource-requests: - '800' - x-ms-throttling-version: - - v1 x-msedge-ref: - - 'Ref A: 03D2F1F117C4402A8B5C6ED1B4D57C7A Ref B: CO6AA3150220023 Ref C: 2026-03-16T23:39:27Z' + - 'Ref A: A353D130D70E42579DEE24C9A43D75EB Ref B: PNQ231110906054 Ref C: 2026-02-26T11:32:08Z' x-powered-by: - ASP.NET status: @@ -307,9 +305,9 @@ interactions: - -g -n --plan --container-registry-url --container-image-name --assign-identity --acr-use-identity --acr-identity User-Agent: - - AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26100-SP0) + - AZURECLI/2.83.0 azsdk-python-core/1.38.0 Python/3.11.9 (Windows-10-10.0.26200-SP0) method: POST - uri: https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/sites/webapp-hyperv000002/publishxml?api-version=2024-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/webapp_hyperv_acr_use_identity000001/providers/Microsoft.Web/sites/webapp-hyperv000002/publishxml?api-version=2024-11-01 response: body: string: Date: Thu, 7 May 2026 17:44:59 -0700 Subject: [PATCH 36/37] Fixed index --- src/azure-cli-core/azure/cli/core/helpIndex.latest.json | 2 +- .../command_modules/identity/aaz/latest/identity/__cmd_group.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/azure-cli-core/azure/cli/core/helpIndex.latest.json b/src/azure-cli-core/azure/cli/core/helpIndex.latest.json index 8bd1fe35664..070f8f878a0 100644 --- a/src/azure-cli-core/azure/cli/core/helpIndex.latest.json +++ b/src/azure-cli-core/azure/cli/core/helpIndex.latest.json @@ -184,7 +184,7 @@ "tags": "" }, "identity": { - "summary": "Manage Identity.", + "summary": "Manage Managed Identity.", "tags": "" }, "image": { diff --git a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__cmd_group.py b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__cmd_group.py index 4288cd3bded..c64b4d3056b 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__cmd_group.py +++ b/src/azure-cli/azure/cli/command_modules/identity/aaz/latest/identity/__cmd_group.py @@ -15,7 +15,7 @@ "identity", ) class __CMDGroup(AAZCommandGroup): - """Manage Identity + """Manage Managed Identity """ pass From 57068f044d1cc8407ce703a72abf110920d40b1f Mon Sep 17 00:00:00 2001 From: Mohamed Yilmaz Ibrahim Date: Thu, 14 May 2026 11:37:35 -0700 Subject: [PATCH 37/37] Removed unused methods --- .../cli/command_modules/identity/custom.py | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/identity/custom.py b/src/azure-cli/azure/cli/command_modules/identity/custom.py index af2bb327514..72eff7921b7 100644 --- a/src/azure-cli/azure/cli/command_modules/identity/custom.py +++ b/src/azure-cli/azure/cli/command_modules/identity/custom.py @@ -4,35 +4,6 @@ # -------------------------------------------------------------------------------------------- -def list_user_assigned_identities(cmd, resource_group_name=None): - from azure.cli.command_modules.identity._client_factory import _msi_client_factory - client = _msi_client_factory(cmd.cli_ctx) - if resource_group_name: - return client.user_assigned_identities.list_by_resource_group(resource_group_name) - return client.user_assigned_identities.list_by_subscription() - - -def create_identity(client, resource_group_name, resource_name, location, tags=None, isolation_scope=None): - parameters = {} - parameters['location'] = location - if tags is not None: - parameters['tags'] = tags - if isolation_scope is not None: - parameters['isolationScope'] = isolation_scope - return client.create_or_update(resource_group_name=resource_group_name, - resource_name=resource_name, - parameters=parameters) - - -def update_identity(instance, tags=None, isolation_scope=None): - parameters = {} - if tags is not None: - parameters['tags'] = tags - - parameters['isolationScope'] = isolation_scope or instance.isolation_scope - return parameters - - def list_identity_resources(cmd, resource_group_name, resource_name): from azure.cli.command_modules.identity._client_factory import _msi_list_resources_client client = _msi_list_resources_client(cmd.cli_ctx)