From 95680d8c944c30473dc9f338c1c2742ca7c5fd59 Mon Sep 17 00:00:00 2001 From: kimorris27 Date: Fri, 23 Oct 2026 21:25:07 -0500 Subject: [PATCH 01/12] Add `az aro hcp` subcommand to `az aro` --- linter_exclusions.yml | 15 + .../azure/cli/command_modules/aro/__init__.py | 5 + .../azure/cli/command_modules/aro/_help.py | 28 +- .../aro/aaz/latest/aro/__cmd_group.py | 23 + .../aro/aaz/latest/aro/__init__.py | 11 + .../aro/aaz/latest/aro/hcp/__cmd_group.py | 23 + .../aro/aaz/latest/aro/hcp/__init__.py | 12 + .../aro/aaz/latest/aro/hcp/_get_versions.py | 214 + .../aaz/latest/aro/hcp/cluster/__cmd_group.py | 23 + .../aaz/latest/aro/hcp/cluster/__init__.py | 19 + .../aro/aaz/latest/aro/hcp/cluster/_create.py | 1047 +++ .../aro/aaz/latest/aro/hcp/cluster/_delete.py | 166 + .../aro/aaz/latest/aro/hcp/cluster/_list.py | 937 ++ .../aro/hcp/cluster/_request_credential.py | 206 + .../aro/hcp/cluster/_revoke_credential.py | 141 + .../aro/aaz/latest/aro/hcp/cluster/_show.py | 505 + .../aro/aaz/latest/aro/hcp/cluster/_update.py | 998 ++ .../aro/aaz/latest/aro/hcp/cluster/_wait.py | 501 + .../hcp/cluster/external_auth/__cmd_group.py | 23 + .../aro/hcp/cluster/external_auth/__init__.py | 17 + .../aro/hcp/cluster/external_auth/_create.py | 613 ++ .../aro/hcp/cluster/external_auth/_delete.py | 179 + .../aro/hcp/cluster/external_auth/_list.py | 344 + .../aro/hcp/cluster/external_auth/_show.py | 345 + .../aro/hcp/cluster/external_auth/_update.py | 772 ++ .../aro/hcp/cluster/external_auth/_wait.py | 341 + .../aro/hcp/cluster/nodepool/__cmd_group.py | 23 + .../aro/hcp/cluster/nodepool/__init__.py | 17 + .../aro/hcp/cluster/nodepool/_create.py | 663 ++ .../aro/hcp/cluster/nodepool/_delete.py | 179 + .../latest/aro/hcp/cluster/nodepool/_list.py | 380 + .../latest/aro/hcp/cluster/nodepool/_show.py | 381 + .../aro/hcp/cluster/nodepool/_update.py | 735 ++ .../latest/aro/hcp/cluster/nodepool/_wait.py | 377 + .../aro/hcp/identity_role_sets/__cmd_group.py | 23 + .../aro/hcp/identity_role_sets/__init__.py | 12 + .../aro/hcp/identity_role_sets/_list.py | 259 + .../aro/azext_aro_hcp/__init__.py | 6 + .../aro/azext_aro_hcp/_format.py | 76 + .../aro/azext_aro_hcp/_help.py | 11 + .../aro/azext_aro_hcp/_kubeconfig.py | 210 + .../aro/azext_aro_hcp/_params.py | 13 + .../aro/azext_aro_hcp/commands.py | 35 + .../aro/azext_aro_hcp/custom.py | 539 ++ .../tests/latest/{unit => hcp}/__init__.py | 0 .../tests/latest/hcp/integration/__init__.py | 6 + .../test_aro_hcp_cluster_lifecycle.yaml | 8348 +++++++++++++++++ .../recordings/test_aro_hcp_get_versions.yaml | 608 ++ .../hcp/integration/test_aro_hcp_scenario.py | 409 + .../integration/test_recording_processors.py | 190 + .../aro/tests/latest/hcp/unit/__init__.py | 6 + .../tests/latest/hcp/unit/test_commands.py | 79 + .../latest/hcp/unit/test_custom_commands.py | 529 ++ .../aro/tests/latest/hcp/unit/test_format.py | 101 + .../tests/latest/hcp/unit/test_kubeconfig.py | 187 + .../aro/tests/latest/standard/__init__.py | 4 + .../latest/{ => standard}/custom_preparers.py | 0 .../{ => standard}/integration/__init__.py | 0 .../recordings/test_aro_get_versions.yaml | 0 .../recordings/test_aro_public_cluster.yaml | 0 ...ublic_cluster_with_managed_identities.yaml | 0 .../integration/test_aro_scenario.py | 2 +- .../tests/latest/standard/unit/__init__.py | 4 + .../{ => standard}/unit/test_aro_helpers.py | 0 .../unit/test_dynamic_validators.py | 0 .../{ => standard}/unit/test_validators.py | 0 66 files changed, 21905 insertions(+), 15 deletions(-) create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/__cmd_group.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/__init__.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/__cmd_group.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/__init__.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/_get_versions.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/__cmd_group.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/__init__.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_create.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_delete.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_list.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_request_credential.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_revoke_credential.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_show.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_update.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_wait.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/__cmd_group.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/__init__.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_create.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_delete.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_list.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_show.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_update.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_wait.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/__cmd_group.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/__init__.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/_create.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/_delete.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/_list.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/_show.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/_update.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/_wait.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/__cmd_group.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/__init__.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/_list.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/__init__.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_format.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_help.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_kubeconfig.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_params.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/commands.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py rename src/azure-cli/azure/cli/command_modules/aro/tests/latest/{unit => hcp}/__init__.py (100%) create mode 100644 src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/__init__.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/recordings/test_aro_hcp_cluster_lifecycle.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/recordings/test_aro_hcp_get_versions.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/test_aro_hcp_scenario.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/test_recording_processors.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/__init__.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_commands.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_format.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_kubeconfig.py create mode 100644 src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/__init__.py rename src/azure-cli/azure/cli/command_modules/aro/tests/latest/{ => standard}/custom_preparers.py (100%) rename src/azure-cli/azure/cli/command_modules/aro/tests/latest/{ => standard}/integration/__init__.py (100%) rename src/azure-cli/azure/cli/command_modules/aro/tests/latest/{ => standard}/integration/recordings/test_aro_get_versions.yaml (100%) rename src/azure-cli/azure/cli/command_modules/aro/tests/latest/{ => standard}/integration/recordings/test_aro_public_cluster.yaml (100%) rename src/azure-cli/azure/cli/command_modules/aro/tests/latest/{ => standard}/integration/recordings/test_aro_public_cluster_with_managed_identities.yaml (100%) rename src/azure-cli/azure/cli/command_modules/aro/tests/latest/{ => standard}/integration/test_aro_scenario.py (98%) create mode 100644 src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/unit/__init__.py rename src/azure-cli/azure/cli/command_modules/aro/tests/latest/{ => standard}/unit/test_aro_helpers.py (100%) rename src/azure-cli/azure/cli/command_modules/aro/tests/latest/{ => standard}/unit/test_dynamic_validators.py (100%) rename src/azure-cli/azure/cli/command_modules/aro/tests/latest/{ => standard}/unit/test_validators.py (100%) diff --git a/linter_exclusions.yml b/linter_exclusions.yml index 723306f2dbd..8e2a7cf6f60 100644 --- a/linter_exclusions.yml +++ b/linter_exclusions.yml @@ -804,6 +804,21 @@ aro create: enable_preconfigured_nsg: rule_exclusions: - option_length_too_long +aro hcp cluster create: + parameters: + managed_resource_group_name: + rule_exclusions: + - parameter_should_not_end_in_resource_group +aro identity create-required: + parameters: + vnet_resource_group_name: + rule_exclusions: + - parameter_should_not_end_in_resource_group +aro identity get-required: + parameters: + vnet_resource_group_name: + rule_exclusions: + - parameter_should_not_end_in_resource_group aro validate: parameters: cluster_resource_group: diff --git a/src/azure-cli/azure/cli/command_modules/aro/__init__.py b/src/azure-cli/azure/cli/command_modules/aro/__init__.py index 35c06a0a781..8a6f10eedec 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/__init__.py +++ b/src/azure-cli/azure/cli/command_modules/aro/__init__.py @@ -13,6 +13,9 @@ from azure.cli.core.commands import CliCommandType from azure.cli.core.aaz import load_aaz_command_table from . import aaz +from .azext_aro_hcp._help import helps as _helps # pylint: disable=unused-import +from .azext_aro_hcp._params import load_arguments as load_hcp_arguments +from .azext_aro_hcp.commands import load_command_table as load_hcp_command_table class AroCommandsLoader(AzCommandsLoader): @@ -34,10 +37,12 @@ def load_command_table(self, args): args=args ) load_command_table(self, args) + load_hcp_command_table(self, args) return self.command_table def load_arguments(self, command): load_arguments(self, command) + load_hcp_arguments(self, command) COMMAND_LOADER_CLS = AroCommandsLoader diff --git a/src/azure-cli/azure/cli/command_modules/aro/_help.py b/src/azure-cli/azure/cli/command_modules/aro/_help.py index adafaff0421..54370fcaf2c 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/_help.py +++ b/src/azure-cli/azure/cli/command_modules/aro/_help.py @@ -8,12 +8,12 @@ helps['aro'] = """ type: group - short-summary: Manage Azure Red Hat OpenShift clusters. + short-summary: Manage Azure Red Hat OpenShift Standard clusters. """ helps['aro create'] = """ type: command - short-summary: Create a cluster. + short-summary: Create an Azure Red Hat OpenShift Standard cluster. examples: - name: Create a cluster. text: az aro create --resource-group MyResourceGroup --name MyCluster --vnet MyVnet --master-subnet MyMasterSubnet --worker-subnet MyWorkerSubnet @@ -27,7 +27,7 @@ helps['aro validate'] = """ type: command - short-summary: Validate permissions required to create a cluster. + short-summary: Validate permissions required to create an Azure Red Hat OpenShift Standard cluster. examples: - name: Validate permissions. text: az aro validate --resource-group MyGroup --name MyName --vnet MyVnet --master-subnet MyMasterSubnet --worker-subnet MyWorkerSubnet @@ -37,7 +37,7 @@ helps['aro list'] = """ type: command - short-summary: List clusters. + short-summary: List Azure Red Hat OpenShift Standard clusters. examples: - name: List clusters. text: az aro list @@ -47,7 +47,7 @@ helps['aro get-versions'] = """ type: command - short-summary: List versions available for installation. + short-summary: List versions available for installation for Azure Red Hat OpenShift Standard clusters. examples: - name: List install versions available for the East US region. text: az aro get-versions --location eastus @@ -57,7 +57,7 @@ helps['aro delete'] = """ type: command - short-summary: Delete a cluster. + short-summary: Delete an Azure Red Hat OpenShift Standard cluster. examples: - name: Delete a cluster. text: az aro delete --name MyCluster --resource-group MyResourceGroup @@ -65,7 +65,7 @@ helps['aro show'] = """ type: command - short-summary: Get the details of a cluster. + short-summary: Get the details of an Azure Red Hat OpenShift Standard cluster. examples: - name: Get the details of a cluster. text: az aro show --name MyCluster --resource-group MyResourceGroup @@ -73,7 +73,7 @@ helps['aro update'] = """ type: command - short-summary: Update a cluster. + short-summary: Update an Azure Red Hat OpenShift Standard cluster. examples: - name: Update a cluster. text: az aro update --name MyCluster --resource-group MyResourceGroup @@ -81,7 +81,7 @@ helps['aro list-credentials'] = """ type: command - short-summary: List credentials of a cluster. + short-summary: List credentials of an Azure Red Hat OpenShift Standard cluster. examples: - name: List credentials of a cluster. text: az aro list-credentials --name MyCluster --resource-group MyResourceGroup @@ -89,7 +89,7 @@ helps['aro get-admin-kubeconfig'] = """ type: command - short-summary: List admin kubeconfig of a cluster. + short-summary: List admin kubeconfig of an Azure Red Hat OpenShift Standard cluster. examples: - name: List admin kubeconfig of a cluster. The default is to save it in a file named "kubeconfig". text: az aro get-admin-kubeconfig --name MyCluster --resource-group MyResourceGroup @@ -97,23 +97,23 @@ helps['aro wait'] = """ type: command - short-summary: Wait for a cluster to reach a desired state. + short-summary: Wait for an Azure Red Hat OpenShift Standard cluster to reach a desired state. long-summary: If an operation on a cluster was interrupted or was started with `--no-wait`, use this command to wait for it to complete. """ helps['aro identity'] = """ type: group - short-summary: Manage identities related to Azure Red Hat OpenShift clusters. + short-summary: Manage identities related to Azure Red Hat OpenShift Standard clusters. """ helps['aro identity get-required'] = """ type: command short-summary: Get required identities - long-summary: Get required identities for creating a cluster with managed identities. + long-summary: Get required identities for creating an Azure Red Hat OpenShift Standard cluster with managed identities. """ helps['aro identity create-required'] = """ type: command short-summary: Create required identities - long-summary: Create required identities to prepare for creating a cluster with managed identities. + long-summary: Create required identities to prepare for creating an Azure Red Hat OpenShift Standard cluster with managed identities. """ diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/__cmd_group.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/__cmd_group.py new file mode 100644 index 00000000000..fe7d9d1cc04 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "aro", +) +class __CMDGroup(AAZCommandGroup): + """Manage Azure Red Hat OpenShift resource types + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/__init__.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/__init__.py new file mode 100644 index 00000000000..5a9d61963d6 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/__init__.py @@ -0,0 +1,11 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/__cmd_group.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/__cmd_group.py new file mode 100644 index 00000000000..d10c7c9844b --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "aro hcp", +) +class __CMDGroup(AAZCommandGroup): + """Manage Azure Red Hat OpenShift with hosted control plane resource types + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/__init__.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/__init__.py new file mode 100644 index 00000000000..dfe9c49067d --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/__init__.py @@ -0,0 +1,12 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._get_versions import * diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/_get_versions.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/_get_versions.py new file mode 100644 index 00000000000..82a156381fe --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/_get_versions.py @@ -0,0 +1,214 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "aro hcp get-versions", +) +class GetVersions(AAZCommand): + """List Azure Red Hat OpenShift with hosted control plane versions + + :example: List available OpenShift versions in a location + az aro hcp get-versions --location eastus + """ + + _aaz_info = { + "version": "2026-10-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.redhatopenshift/locations/{}/hcpopenshiftversions", "2026-10-01"], + ] + } + + AZ_SUPPORT_PAGINATION = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.location = AAZResourceLocationArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.HcpOpenShiftVersionsList(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 HcpOpenShiftVersionsList(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.RedHatOpenShift/locations/{location}/hcpOpenShiftVersions", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "location", self.ctx.args.location, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType() + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.channel_group = AAZStrType( + serialized_name="channelGroup", + flags={"required": True}, + ) + properties.enabled = AAZBoolType( + flags={"required": True}, + ) + properties.end_of_life_timestamp = AAZStrType( + serialized_name="endOfLifeTimestamp", + flags={"required": True}, + ) + + 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", + ) + + return cls._schema_on_200 + + +class _GetVersionsHelper: + """Helper class for GetVersions""" + + +__all__ = ["GetVersions"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/__cmd_group.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/__cmd_group.py new file mode 100644 index 00000000000..21127b9971a --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "aro hcp cluster", +) +class __CMDGroup(AAZCommandGroup): + """Manage Azure Red Hat OpenShift with hosted control plane clusters + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/__init__.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/__init__.py new file mode 100644 index 00000000000..86cad61cac0 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/__init__.py @@ -0,0 +1,19 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._create import * +from ._delete import * +from ._list import * +from ._request_credential import * +from ._revoke_credential import * +from ._show import * +from ._update import * +from ._wait import * diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_create.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_create.py new file mode 100644 index 00000000000..136c7124831 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_create.py @@ -0,0 +1,1047 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "aro hcp cluster create", +) +class Create(AAZCommand): + """Create an Azure Red Hat OpenShift with hosted control plane cluster + + :example: Create a cluster + az aro hcp cluster create --resource-group MyResourceGroup --name MyCluster --location eastus --version 4.19.0 --channel-group stable --network-type OVNKubernetes --managed-resource-group-name MyManagedRG --subnet-id --mi-user-assigned --service-managed-identity --control-plane-operators "{cluster-api-azure:}" --data-plane-operators "{cloud-network-config:}" + + :example: Create a cluster with customer-managed ETCD encryption + az aro hcp cluster create --resource-group MyResourceGroup --name MyCluster --location eastus --version 4.19.0 --channel-group stable --network-type OVNKubernetes --subnet-id --etcd-encryption-type KMS --key-management-mode CustomerManaged --kms-vault-name MyKeyVault --kms-active-key "{name:MyKey,version:}" --mi-user-assigned --service-managed-identity --control-plane-operators "{cluster-api-azure:}" --data-plane-operators "{cloud-network-config:}" + """ + + _aaz_info = { + "version": "2026-10-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}", "2026-10-01"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.name = AAZStrArg( + options=["-n", "--name"], + help="The name of the Azure Red Hat OpenShift with hosted control plane cluster", + required=True, + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,52}[a-zA-Z0-9])?$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + + # define Arg Group "API" + + _args_schema = cls._args_schema + _args_schema.authorized_cidrs = AAZListArg( + options=["--authorized-cidrs"], + arg_group="API", + help="The list of authorized IPv4 CIDR blocks allowed to access the API server. Maximum 500 entries.", + fmt=AAZListArgFormat( + max_length=500, + ), + ) + _args_schema.api_visibility = AAZStrArg( + options=["--api-visibility"], + arg_group="API", + help="The internet visibility of the OpenShift API server", + default="Public", + enum={"Private": "Private", "Public": "Public"}, + ) + + authorized_cidrs = cls._args_schema.authorized_cidrs + authorized_cidrs.Element = AAZStrArg() + + # define Arg Group "Autoscaling" + + _args_schema = cls._args_schema + _args_schema.max_node_provision_time = AAZIntArg( + options=["--node-provision-time", "--max-node-provision-time"], + arg_group="Autoscaling", + help="maxNodeProvisionTimeSeconds is the maximum time to wait for node provisioning before considering the provisioning to be unsuccessful. The default is 900 seconds, or 15 minutes.", + fmt=AAZIntArgFormat( + minimum=0, + ), + ) + _args_schema.max_nodes_total = AAZIntArg( + options=["--max-nodes-total"], + arg_group="Autoscaling", + help="maxNodesTotal is the maximum allowable number of nodes. The autoscaler will not grow the cluster beyond this number. If omitted, the autoscaler will not have a maximum limit.", + fmt=AAZIntArgFormat( + minimum=0, + ), + ) + _args_schema.max_pod_grace_period = AAZIntArg( + options=["--max-pod-grace-period"], + arg_group="Autoscaling", + help="maxPodGracePeriodSeconds is the maximum amount of time in seconds to wait for graceful pod termination before scaling down a NodePool.", + fmt=AAZIntArgFormat( + minimum=0, + ), + ) + _args_schema.pod_priority_threshold = AAZIntArg( + options=["--pod-priority-threshold"], + arg_group="Autoscaling", + help="podPriorityThreshold enables users to schedule \"best-effort\" pods, which shouldn't trigger autoscaler actions, but only run when there are spare resources available. The default is -10. See the following for more details: https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#how-does-cluster-autoscaler-work-with-pod-priority-and-preemption", + ) + + # define Arg Group "ClusterImageRegistry" + + _args_schema = cls._args_schema + _args_schema.image_registry_state = AAZStrArg( + options=["--image-registry-state"], + arg_group="ClusterImageRegistry", + help="state indicates the desired ImageStream-backed cluster image registry installation mode. This can only be set during cluster creation and cannot be changed after cluster creation. Enabled means the ImageStream-backed image registry will be run as pods on worker nodes in the cluster. Disabled means the ImageStream-backed image registry will not be present in the cluster. The default is Enabled.", + default="Enabled", + enum={"Disabled": "Disabled", "Enabled": "Enabled"}, + ) + + # define Arg Group "DNS" + + _args_schema = cls._args_schema + _args_schema.base_domain_prefix = AAZStrArg( + options=["--base-domain-prefix"], + arg_group="DNS", + help="BaseDomainPrefix is the base domain prefix for the cluster ingress. It will be used to configure ingress in the cluster through the subdomain \"BaseDomainPrefix.BaseDomain\".", + fmt=AAZStrArgFormat( + pattern="^[a-z]([-a-z0-9]*[a-z0-9])?$", + max_length=15, + ), + ) + + # define Arg Group "Etcd Encryption" + + _args_schema = cls._args_schema + _args_schema.etcd_encryption_type = AAZStrArg( + options=["--etcd-encryption-type"], + arg_group="Etcd Encryption", + help="The encryption type used. By default, \"KMS\" is used.", + default="KMS", + enum={"KMS": "KMS"}, + ) + _args_schema.kms_active_key = AAZObjectArg( + options=["--kms-active-key"], + arg_group="Etcd Encryption", + help="The details of the active key.", + ) + _args_schema.key_vault_type = AAZStrArg( + options=["--key-vault-type"], + arg_group="Etcd Encryption", + help="The type of keyvault used for KMS encryption. Defaults to KeyVault when absent.", + default="KeyVault", + enum={"KeyVault": "KeyVault", "ManagedHSM": "ManagedHSM"}, + ) + _args_schema.kms_vault_name = AAZStrArg( + options=["--kms-vault-name"], + arg_group="Etcd Encryption", + help="vaultName is the name of the keyvault that contains the secret.", + fmt=AAZStrArgFormat( + max_length=255, + min_length=1, + ), + ) + _args_schema.vault_visibility = AAZStrArg( + options=["--vault-visibility"], + arg_group="Etcd Encryption", + help="visibility of the keyvault that contains the secret.", + enum={"Private": "Private", "Public": "Public"}, + ) + _args_schema.key_management_mode = AAZStrArg( + options=["--key-management-mode"], + arg_group="Etcd Encryption", + help="Specify the key management strategy used for the encryption key that encrypts the ETCD data.", + default="PlatformManaged", + enum={"CustomerManaged": "CustomerManaged"}, + ) + + kms_active_key = cls._args_schema.kms_active_key + kms_active_key.name = AAZStrArg( + options=["name"], + help="name is the name of the keyvault key used for encryption/decryption.", + required=True, + fmt=AAZStrArgFormat( + max_length=255, + min_length=1, + ), + ) + kms_active_key.version = AAZStrArg( + options=["version"], + help="version contains the version of the key to use.", + required=True, + fmt=AAZStrArgFormat( + max_length=255, + min_length=1, + ), + ) + + # define Arg Group "Identity" + + _args_schema = cls._args_schema + _args_schema.user_assigned_identities = AAZDictArg( + options=["--uami", "--user-assigned-identities"], + arg_group="Identity", + help="The identities assigned to this resource by the user.", + ) + _args_schema.container_registry_managed_identity = AAZResourceIdArg( + options=["--container-registry-mi", "--container-registry-managed-identity"], + arg_group="Identity", + help="The user-assigned managed identity used for container registry image pulls.", + ) + + user_assigned_identities = cls._args_schema.user_assigned_identities + user_assigned_identities.Element = AAZObjectArg( + nullable=True, + blank={}, + ) + + # define Arg Group "Ingress" + + _args_schema = cls._args_schema + _args_schema.ingress_visibility = AAZStrArg( + options=["--ingress-visibility"], + arg_group="Ingress", + help="The visibility of the default OpenShift ingress controller", + default="Public", + enum={"Disabled": "Disabled", "Private": "Private", "Public": "Public"}, + ) + + # define Arg Group "Network" + + _args_schema = cls._args_schema + _args_schema.host_prefix = AAZIntArg( + options=["--host-prefix"], + arg_group="Network", + help="Network host prefix", + default=23, + ) + _args_schema.machine_cidr = AAZStrArg( + options=["--machine-cidr"], + arg_group="Network", + help="The CIDR block from which to assign machine IP addresses", + default="10.0.0.0/16", + ) + _args_schema.network_type = AAZStrArg( + options=["--network-type"], + arg_group="Network", + help="The main controller responsible for rendering the core networking components", + default="OVNKubernetes", + enum={"OVNKubernetes": "OVNKubernetes", "Other": "Other"}, + ) + _args_schema.pod_cidr = AAZStrArg( + options=["--pod-cidr"], + arg_group="Network", + help="The CIDR of the pod IP addresses", + default="10.128.0.0/14", + ) + _args_schema.service_cidr = AAZStrArg( + options=["--service-cidr"], + arg_group="Network", + help="The CIDR block for assigned service IPs", + default="172.30.0.0/16", + ) + + # define Arg Group "Platform" + + _args_schema = cls._args_schema + _args_schema.managed_resource_group_name = AAZStrArg( + options=["--managed-rg-name", "--managed-resource-group-name"], + arg_group="Platform", + help="The name of the resource group to put cluster resources in. If not specified then a unique name is generated from the following pattern \"aro-hcp-\" + clusterName + \"-\" + UUID where clusterName means the hcpOpenShiftClusters resource name (up to 45 characters) followed by a 16-byte universally unique identifier per RFC 4122.", + ) + _args_schema.nsg = AAZResourceIdArg( + options=["--nsg"], + arg_group="Platform", + help="ResourceId for the NSG (network security group) attached to the cluster subnet Note that NSGs cannot be reused for other ARO-HCP clusters.", + ) + _args_schema.operators_authentication = AAZObjectArg( + options=["--operators-auth", "--operators-authentication"], + arg_group="Platform", + help="The configuration that the operators of the cluster have to authenticate to Azure", + ) + _args_schema.outbound_type = AAZStrArg( + options=["--outbound-type"], + arg_group="Platform", + help="The core outgoing configuration", + default="LoadBalancer", + enum={"LoadBalancer": "LoadBalancer"}, + ) + _args_schema.subnet_id = AAZResourceIdArg( + options=["--subnet-id"], + arg_group="Platform", + help="The Azure resource ID of the worker subnet. Note that a subnet cannot be reused between ARO-HCP Clusters.", + ) + _args_schema.vnet_integration_subnet_id = AAZResourceIdArg( + options=["--vnet-int-subnet-id", "--vnet-integration-subnet-id"], + arg_group="Platform", + help="The Azure resource ID of a subnet that enables direct, private network connectivity between the hosted control plane and your cluster's nodes. This subnet must be dedicated to ARO HCP and cannot be shared with the cluster subnet or any node pool subnets.", + ) + + operators_authentication = cls._args_schema.operators_authentication + operators_authentication.user_assigned_identities = AAZObjectArg( + options=["user-assigned-identities"], + help="Represents the information related to Azure User-Assigned managed identities needed to perform Operators authentication based on Azure User-Assigned Managed Identities", + required=True, + ) + + user_assigned_identities = cls._args_schema.operators_authentication.user_assigned_identities + user_assigned_identities.control_plane_operators = AAZDictArg( + options=["control-plane-operators"], + help="The set of Azure User-Assigned Managed Identities leveraged for the Control Plane operators of the cluster. The set of required managed identities is dependent on the Cluster's OpenShift version.", + required=True, + ) + user_assigned_identities.data_plane_operators = AAZDictArg( + options=["data-plane-operators"], + help="The set of Azure User-Assigned Managed Identities leveraged for the Data Plane operators of the cluster. The set of required managed identities is dependent on the Cluster's OpenShift version.", + required=True, + ) + user_assigned_identities.service_managed_identity = AAZResourceIdArg( + options=["service-managed-identity"], + help="Represents the information associated to an Azure User-Assigned Managed Identity whose purpose is to perform service level actions.", + required=True, + ) + + control_plane_operators = cls._args_schema.operators_authentication.user_assigned_identities.control_plane_operators + control_plane_operators.Element = AAZResourceIdArg() + + data_plane_operators = cls._args_schema.operators_authentication.user_assigned_identities.data_plane_operators + data_plane_operators.Element = AAZResourceIdArg() + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.crypto_restrictions = AAZStrArg( + options=["--crypto-restrictions"], + arg_group="Properties", + help="Cryptographic restrictions for kernel and userspace libraries", + default="None", + enum={"FIPS": "FIPS", "None": "None"}, + ) + _args_schema.image_digest_mirrors = AAZListArg( + options=["--image-digest-mirrors"], + arg_group="Properties", + help="imageDigestMirrors is a set of rules to allow pulling images from a mirrored registry by using digest specifications. WARNING: Updating this array will redeploy all node pools in the cluster.", + fmt=AAZListArgFormat( + max_length=240, + ), + ) + _args_schema.node_drain_timeout = AAZIntArg( + options=["--node-drain-timeout"], + arg_group="Properties", + help={"short-summary": "nodeDrainTimeoutMinutes is the grace period for how long Pod Disruption Budget-protected workloads will be respected during any node draining operation. After this grace period, any workloads protected by Pod Disruption Budgets that have not been successfully drained from a node will be forcibly evicted. This is especially relevant to cluster upgrades. Valid values are in minutes and from 0 to 10080 minutes (1 week). 0 means that the MachinePool can be drained without any time limitation. This value is used as a default for all NodePools. It can be overridden by specifying nodeDrainTimeoutMinutes for a given NodePool", "long-summary": "Valid values are from 0 to 10080 minutes (1 week). 0 means that the NodePool can be drained without any time limitation. If unset the cluster value is used as a default."}, + fmt=AAZIntArgFormat( + maximum=10080, + minimum=0, + ), + ) + + image_digest_mirrors = cls._args_schema.image_digest_mirrors + image_digest_mirrors.Element = AAZObjectArg() + + _element = cls._args_schema.image_digest_mirrors.Element + _element.mirrors = AAZListArg( + options=["mirrors"], + help="mirrors is zero or more locations that may also contain the same images. No mirror will be configured if not specified. Images can be pulled from these mirrors only if they are referenced by their digests. The mirrored location is obtained by replacing the part of the input reference that matches source by the mirrors entry, e.g. for registry.redhat.io/product/repo reference, a (source, mirror) pair *.redhat.io, mirror.local/redhat causes a mirror.local/redhat/product/repo repository to be used. The order of mirrors in this list is treated as the user's desired priority, while source is by default considered lower priority than all mirrors. If no mirror is specified or all image pulls from the mirror list fail, the image will continue to be pulled from the repository in the pull spec. Other cluster configuration, including (but not limited to) other imageDigestMirrors objects, may impact the exact order mirrors are contacted in, or some mirrors may be contacted in parallel, so this should be considered a preference rather than a guarantee of ordering. mirrors uses one of the following formats: * host[:port] * host[:port]/namespace[/namespace...] * host[:port]/namespace[/namespace...]/repo for more information about the format, see: https://github.com/containers/image/blob/main/docs/containers-registries.conf.5.md#choosing-a-registry-toml-table", + required=True, + fmt=AAZListArgFormat( + max_length=255, + min_length=1, + ), + ) + _element.source = AAZStrArg( + options=["source"], + help="source matches the repository that users refer to, e.g. in image pull specifications. Setting source to a registry hostname, e.g. docker.io, quay.io, or registry.redhat.io, will match the image pull specification of the corresponding registry. source uses one of the following formats: * host[:port] * host[:port]/namespace[/namespace...] * host[:port]/namespace[/namespace...]/repo * [*.]host for more information about the format, see: https://github.com/containers/image/blob/main/docs/containers-registries.conf.5.md#choosing-a-registry-toml-table", + required=True, + fmt=AAZStrArgFormat( + max_length=255, + ), + ) + + mirrors = cls._args_schema.image_digest_mirrors.Element.mirrors + mirrors.Element = AAZStrArg( + fmt=AAZStrArgFormat( + max_length=255, + ), + ) + + # define Arg Group "Resource" + + _args_schema = cls._args_schema + _args_schema.location = AAZResourceLocationArg( + arg_group="Resource", + 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="Resource", + help="Resource tags.", + ) + + tags = cls._args_schema.tags + tags.Element = AAZStrArg() + + # define Arg Group "Version" + + _args_schema = cls._args_schema + _args_schema.channel_group = AAZStrArg( + options=["--channel-group"], + arg_group="Version", + help="ChannelGroup is the name of the set to which this version belongs. Each version belongs to only a single set. If not specified, the default value is 'stable'.", + ) + _args_schema.version = AAZStrArg( + options=["--version"], + arg_group="Version", + help="The desired X.Y version of the cluster control plane.", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.HcpOpenShiftClustersCreateOrUpdate(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 HcpOpenShiftClustersCreateOrUpdate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "hcpOpenShiftClusterName", self.ctx.args.name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + 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("identity", AAZIdentityObjectType) + _builder.set_prop("location", AAZStrType, ".location", typ_kwargs={"flags": {"required": True}}) + _builder.set_prop("properties", AAZObjectType) + _builder.set_prop("tags", AAZDictType, ".tags") + + identity = _builder.get(".identity") + if identity is not None: + identity.set_prop("userAssignedIdentities", AAZDictType, ".user_assigned_identities") + + user_assigned_identities = _builder.get(".identity.userAssignedIdentities") + if user_assigned_identities is not None: + user_assigned_identities.set_elements(AAZObjectType, ".", typ_kwargs={"nullable": True}) + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("api", AAZObjectType) + properties.set_prop("autoscaling", AAZObjectType) + properties.set_prop("clusterImageRegistry", AAZObjectType) + properties.set_prop("cryptoRestrictions", AAZStrType, ".crypto_restrictions") + properties.set_prop("dns", AAZObjectType) + properties.set_prop("etcd", AAZObjectType) + properties.set_prop("imageDigestMirrors", AAZListType, ".image_digest_mirrors") + properties.set_prop("ingress", AAZObjectType) + properties.set_prop("network", AAZObjectType) + properties.set_prop("nodeDrainTimeoutMinutes", AAZIntType, ".node_drain_timeout") + properties.set_prop("platform", AAZObjectType, ".", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("version", AAZObjectType, ".", typ_kwargs={"flags": {"required": True}}) + + api = _builder.get(".properties.api") + if api is not None: + api.set_prop("authorizedCidrs", AAZListType, ".authorized_cidrs") + api.set_prop("visibility", AAZStrType, ".api_visibility") + + authorized_cidrs = _builder.get(".properties.api.authorizedCidrs") + if authorized_cidrs is not None: + authorized_cidrs.set_elements(AAZStrType, ".") + + autoscaling = _builder.get(".properties.autoscaling") + if autoscaling is not None: + autoscaling.set_prop("maxNodeProvisionTimeSeconds", AAZIntType, ".max_node_provision_time") + autoscaling.set_prop("maxNodesTotal", AAZIntType, ".max_nodes_total") + autoscaling.set_prop("maxPodGracePeriodSeconds", AAZIntType, ".max_pod_grace_period") + autoscaling.set_prop("podPriorityThreshold", AAZIntType, ".pod_priority_threshold") + + cluster_image_registry = _builder.get(".properties.clusterImageRegistry") + if cluster_image_registry is not None: + cluster_image_registry.set_prop("state", AAZStrType, ".image_registry_state") + + dns = _builder.get(".properties.dns") + if dns is not None: + dns.set_prop("baseDomainPrefix", AAZStrType, ".base_domain_prefix") + + etcd = _builder.get(".properties.etcd") + if etcd is not None: + etcd.set_prop("dataEncryption", AAZObjectType) + + data_encryption = _builder.get(".properties.etcd.dataEncryption") + if data_encryption is not None: + data_encryption.set_prop("customerManaged", AAZObjectType) + data_encryption.set_prop("keyManagementMode", AAZStrType, ".key_management_mode", typ_kwargs={"flags": {"required": True}}) + + customer_managed = _builder.get(".properties.etcd.dataEncryption.customerManaged") + if customer_managed is not None: + customer_managed.set_prop("encryptionType", AAZStrType, ".etcd_encryption_type") + customer_managed.set_prop("kms", AAZObjectType) + + kms = _builder.get(".properties.etcd.dataEncryption.customerManaged.kms") + if kms is not None: + kms.set_prop("activeKey", AAZObjectType, ".kms_active_key", typ_kwargs={"flags": {"required": True}}) + kms.set_prop("keyVaultType", AAZStrType, ".key_vault_type") + kms.set_prop("vaultName", AAZStrType, ".kms_vault_name", typ_kwargs={"flags": {"required": True}}) + kms.set_prop("visibility", AAZStrType, ".vault_visibility", typ_kwargs={"flags": {"required": True}}) + + active_key = _builder.get(".properties.etcd.dataEncryption.customerManaged.kms.activeKey") + if active_key is not None: + active_key.set_prop("name", AAZStrType, ".name", typ_kwargs={"flags": {"required": True}}) + active_key.set_prop("version", AAZStrType, ".version", typ_kwargs={"flags": {"required": True}}) + + image_digest_mirrors = _builder.get(".properties.imageDigestMirrors") + if image_digest_mirrors is not None: + image_digest_mirrors.set_elements(AAZObjectType, ".") + + _elements = _builder.get(".properties.imageDigestMirrors[]") + if _elements is not None: + _elements.set_prop("mirrors", AAZListType, ".mirrors", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("source", AAZStrType, ".source", typ_kwargs={"flags": {"required": True}}) + + mirrors = _builder.get(".properties.imageDigestMirrors[].mirrors") + if mirrors is not None: + mirrors.set_elements(AAZStrType, ".") + + ingress = _builder.get(".properties.ingress") + if ingress is not None: + ingress.set_prop("type", AAZStrType, ".ingress_visibility") + + network = _builder.get(".properties.network") + if network is not None: + network.set_prop("hostPrefix", AAZIntType, ".host_prefix") + network.set_prop("machineCidr", AAZStrType, ".machine_cidr") + network.set_prop("networkType", AAZStrType, ".network_type") + network.set_prop("podCidr", AAZStrType, ".pod_cidr") + network.set_prop("serviceCidr", AAZStrType, ".service_cidr") + + platform = _builder.get(".properties.platform") + if platform is not None: + platform.set_prop("containerRegistry", AAZObjectType) + platform.set_prop("managedResourceGroup", AAZStrType, ".managed_resource_group_name") + platform.set_prop("networkSecurityGroupId", AAZStrType, ".nsg", typ_kwargs={"flags": {"required": True}}) + platform.set_prop("operatorsAuthentication", AAZObjectType, ".operators_authentication", typ_kwargs={"flags": {"required": True}}) + platform.set_prop("outboundType", AAZStrType, ".outbound_type") + platform.set_prop("subnetId", AAZStrType, ".subnet_id", typ_kwargs={"flags": {"required": True}}) + platform.set_prop("vnetIntegrationSubnetId", AAZStrType, ".vnet_integration_subnet_id", typ_kwargs={"flags": {"required": True}}) + + container_registry = _builder.get(".properties.platform.containerRegistry") + if container_registry is not None: + container_registry.set_prop("managedIdentity", AAZStrType, ".container_registry_managed_identity") + + operators_authentication = _builder.get(".properties.platform.operatorsAuthentication") + if operators_authentication is not None: + operators_authentication.set_prop("userAssignedIdentities", AAZObjectType, ".user_assigned_identities", typ_kwargs={"flags": {"required": True}}) + + user_assigned_identities = _builder.get(".properties.platform.operatorsAuthentication.userAssignedIdentities") + if user_assigned_identities is not None: + user_assigned_identities.set_prop("controlPlaneOperators", AAZDictType, ".control_plane_operators", typ_kwargs={"flags": {"required": True}}) + user_assigned_identities.set_prop("dataPlaneOperators", AAZDictType, ".data_plane_operators", typ_kwargs={"flags": {"required": True}}) + user_assigned_identities.set_prop("serviceManagedIdentity", AAZStrType, ".service_managed_identity", typ_kwargs={"flags": {"required": True}}) + + control_plane_operators = _builder.get(".properties.platform.operatorsAuthentication.userAssignedIdentities.controlPlaneOperators") + if control_plane_operators is not None: + control_plane_operators.set_elements(AAZStrType, ".") + + data_plane_operators = _builder.get(".properties.platform.operatorsAuthentication.userAssignedIdentities.dataPlaneOperators") + if data_plane_operators is not None: + data_plane_operators.set_elements(AAZStrType, ".") + + version = _builder.get(".properties.version") + if version is not None: + version.set_prop("channelGroup", AAZStrType, ".channel_group") + version.set_prop("id", AAZStrType, ".version", typ_kwargs={"flags": {"required": True}}) + + 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.identity = AAZIdentityObjectType() + _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() + _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}, + ) + + identity = cls._schema_on_200_201.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType( + flags={"required": True}, + ) + identity.user_assigned_identities = AAZDictType( + serialized_name="userAssignedIdentities", + ) + + user_assigned_identities = cls._schema_on_200_201.identity.user_assigned_identities + user_assigned_identities.Element = AAZObjectType( + nullable=True, + ) + + _element = cls._schema_on_200_201.identity.user_assigned_identities.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + _element.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + + properties = cls._schema_on_200_201.properties + properties.api = AAZObjectType() + properties.autoscaling = AAZObjectType() + properties.cluster_image_registry = AAZObjectType( + serialized_name="clusterImageRegistry", + ) + properties.console = AAZObjectType( + flags={"read_only": True}, + ) + properties.crypto_restrictions = AAZStrType( + serialized_name="cryptoRestrictions", + ) + properties.dns = AAZObjectType() + properties.etcd = AAZObjectType() + properties.image_digest_mirrors = AAZListType( + serialized_name="imageDigestMirrors", + ) + properties.ingress = AAZObjectType() + properties.network = AAZObjectType() + properties.node_drain_timeout_minutes = AAZIntType( + serialized_name="nodeDrainTimeoutMinutes", + ) + properties.platform = AAZObjectType( + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.status = AAZObjectType( + flags={"read_only": True}, + ) + properties.version = AAZObjectType( + flags={"required": True}, + ) + + api = cls._schema_on_200_201.properties.api + api.authorized_cidrs = AAZListType( + serialized_name="authorizedCidrs", + ) + api.url = AAZStrType( + flags={"read_only": True}, + ) + api.visibility = AAZStrType() + + authorized_cidrs = cls._schema_on_200_201.properties.api.authorized_cidrs + authorized_cidrs.Element = AAZStrType() + + autoscaling = cls._schema_on_200_201.properties.autoscaling + autoscaling.max_node_provision_time_seconds = AAZIntType( + serialized_name="maxNodeProvisionTimeSeconds", + ) + autoscaling.max_nodes_total = AAZIntType( + serialized_name="maxNodesTotal", + ) + autoscaling.max_pod_grace_period_seconds = AAZIntType( + serialized_name="maxPodGracePeriodSeconds", + ) + autoscaling.pod_priority_threshold = AAZIntType( + serialized_name="podPriorityThreshold", + ) + + cluster_image_registry = cls._schema_on_200_201.properties.cluster_image_registry + cluster_image_registry.state = AAZStrType() + + console = cls._schema_on_200_201.properties.console + console.url = AAZStrType( + flags={"read_only": True}, + ) + + dns = cls._schema_on_200_201.properties.dns + dns.base_domain = AAZStrType( + serialized_name="baseDomain", + flags={"read_only": True}, + ) + dns.base_domain_prefix = AAZStrType( + serialized_name="baseDomainPrefix", + ) + + etcd = cls._schema_on_200_201.properties.etcd + etcd.data_encryption = AAZObjectType( + serialized_name="dataEncryption", + ) + + data_encryption = cls._schema_on_200_201.properties.etcd.data_encryption + data_encryption.customer_managed = AAZObjectType( + serialized_name="customerManaged", + ) + data_encryption.key_management_mode = AAZStrType( + serialized_name="keyManagementMode", + flags={"required": True}, + ) + + customer_managed = cls._schema_on_200_201.properties.etcd.data_encryption.customer_managed + customer_managed.encryption_type = AAZStrType( + serialized_name="encryptionType", + ) + customer_managed.kms = AAZObjectType() + + kms = cls._schema_on_200_201.properties.etcd.data_encryption.customer_managed.kms + kms.active_key = AAZObjectType( + serialized_name="activeKey", + flags={"required": True}, + ) + kms.key_vault_type = AAZStrType( + serialized_name="keyVaultType", + ) + kms.vault_name = AAZStrType( + serialized_name="vaultName", + flags={"required": True}, + ) + kms.visibility = AAZStrType( + flags={"required": True}, + ) + + active_key = cls._schema_on_200_201.properties.etcd.data_encryption.customer_managed.kms.active_key + active_key.name = AAZStrType( + flags={"required": True}, + ) + active_key.version = AAZStrType( + flags={"required": True}, + ) + + image_digest_mirrors = cls._schema_on_200_201.properties.image_digest_mirrors + image_digest_mirrors.Element = AAZObjectType() + + _element = cls._schema_on_200_201.properties.image_digest_mirrors.Element + _element.mirrors = AAZListType( + flags={"required": True}, + ) + _element.source = AAZStrType( + flags={"required": True}, + ) + + mirrors = cls._schema_on_200_201.properties.image_digest_mirrors.Element.mirrors + mirrors.Element = AAZStrType() + + ingress = cls._schema_on_200_201.properties.ingress + ingress.type = AAZStrType() + + network = cls._schema_on_200_201.properties.network + network.host_prefix = AAZIntType( + serialized_name="hostPrefix", + ) + network.machine_cidr = AAZStrType( + serialized_name="machineCidr", + ) + network.network_type = AAZStrType( + serialized_name="networkType", + ) + network.pod_cidr = AAZStrType( + serialized_name="podCidr", + ) + network.service_cidr = AAZStrType( + serialized_name="serviceCidr", + ) + + platform = cls._schema_on_200_201.properties.platform + platform.container_registry = AAZObjectType( + serialized_name="containerRegistry", + ) + platform.issuer_url = AAZStrType( + serialized_name="issuerUrl", + flags={"read_only": True}, + ) + platform.managed_resource_group = AAZStrType( + serialized_name="managedResourceGroup", + ) + platform.network_security_group_id = AAZStrType( + serialized_name="networkSecurityGroupId", + flags={"required": True}, + ) + platform.operators_authentication = AAZObjectType( + serialized_name="operatorsAuthentication", + flags={"required": True}, + ) + platform.outbound_type = AAZStrType( + serialized_name="outboundType", + ) + platform.subnet_id = AAZStrType( + serialized_name="subnetId", + flags={"required": True}, + ) + platform.vnet_integration_subnet_id = AAZStrType( + serialized_name="vnetIntegrationSubnetId", + flags={"required": True}, + ) + + container_registry = cls._schema_on_200_201.properties.platform.container_registry + container_registry.managed_identity = AAZStrType( + serialized_name="managedIdentity", + ) + + operators_authentication = cls._schema_on_200_201.properties.platform.operators_authentication + operators_authentication.user_assigned_identities = AAZObjectType( + serialized_name="userAssignedIdentities", + flags={"required": True}, + ) + + user_assigned_identities = cls._schema_on_200_201.properties.platform.operators_authentication.user_assigned_identities + user_assigned_identities.control_plane_operators = AAZDictType( + serialized_name="controlPlaneOperators", + flags={"required": True}, + ) + user_assigned_identities.data_plane_operators = AAZDictType( + serialized_name="dataPlaneOperators", + flags={"required": True}, + ) + user_assigned_identities.service_managed_identity = AAZStrType( + serialized_name="serviceManagedIdentity", + flags={"required": True}, + ) + + control_plane_operators = cls._schema_on_200_201.properties.platform.operators_authentication.user_assigned_identities.control_plane_operators + control_plane_operators.Element = AAZStrType() + + data_plane_operators = cls._schema_on_200_201.properties.platform.operators_authentication.user_assigned_identities.data_plane_operators + data_plane_operators.Element = AAZStrType() + + status = cls._schema_on_200_201.properties.status + status.active_versions = AAZListType( + serialized_name="activeVersions", + flags={"read_only": True}, + ) + status.conditions = AAZListType( + flags={"read_only": True}, + ) + + active_versions = cls._schema_on_200_201.properties.status.active_versions + active_versions.Element = AAZObjectType() + + _element = cls._schema_on_200_201.properties.status.active_versions.Element + _element.version = AAZStrType( + flags={"read_only": True}, + ) + + conditions = cls._schema_on_200_201.properties.status.conditions + conditions.Element = AAZObjectType() + + _element = cls._schema_on_200_201.properties.status.conditions.Element + _element.last_transition_time = AAZStrType( + serialized_name="lastTransitionTime", + flags={"read_only": True}, + ) + _element.message = AAZStrType( + flags={"read_only": True}, + ) + _element.reason = AAZStrType( + flags={"read_only": True}, + ) + _element.status = AAZStrType( + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"required": True}, + ) + + version = cls._schema_on_200_201.properties.version + version.channel_group = AAZStrType( + serialized_name="channelGroup", + ) + version.id = AAZStrType( + flags={"required": True}, + ) + + 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/aro/aaz/latest/aro/hcp/cluster/_delete.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_delete.py new file mode 100644 index 00000000000..d8f0b878bfa --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_delete.py @@ -0,0 +1,166 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "aro hcp cluster delete", + confirmation="Are you sure you want to perform this operation?", +) +class Delete(AAZCommand): + """Delete an Azure Red Hat OpenShift with hosted control plane cluster + + :example: Delete a cluster + az aro hcp cluster delete --resource-group MyResourceGroup --name MyCluster --yes + """ + + _aaz_info = { + "version": "2026-10-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}", "2026-10-01"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.name = AAZStrArg( + options=["-n", "--name"], + help="The name of the Azure Red Hat OpenShift with hosted control plane cluster", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,52}[a-zA-Z0-9])?$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.HcpOpenShiftClustersDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class HcpOpenShiftClustersDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "hcpOpenShiftClusterName", self.ctx.args.name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + required=True, + ), + } + return parameters + + def on_204(self, session): + pass + + def on_200_201(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_list.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_list.py new file mode 100644 index 00000000000..7b6ba70176e --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_list.py @@ -0,0 +1,937 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "aro hcp cluster list", +) +class List(AAZCommand): + """List Azure Red Hat OpenShift with hosted control plane clusters + + :example: List clusters in a resource group + az aro hcp cluster list --resource-group MyResourceGroup + + :example: List clusters in the subscription + az aro hcp cluster list + """ + + _aaz_info = { + "version": "2026-10-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters", "2026-10-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters", "2026-10-01"], + ] + } + + AZ_SUPPORT_PAGINATION = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.resource_group = AAZResourceGroupNameArg() + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + condition_0 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + condition_1 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) + if condition_0: + self.HcpOpenShiftClustersListBySubscription(ctx=self.ctx)() + if condition_1: + self.HcpOpenShiftClustersListByResourceGroup(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 HcpOpenShiftClustersListBySubscription(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.RedHatOpenShift/hcpOpenShiftClusters", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.identity = AAZIdentityObjectType() + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType() + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + identity = cls._schema_on_200.value.Element.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType( + flags={"required": True}, + ) + identity.user_assigned_identities = AAZDictType( + serialized_name="userAssignedIdentities", + ) + + user_assigned_identities = cls._schema_on_200.value.Element.identity.user_assigned_identities + user_assigned_identities.Element = AAZObjectType( + nullable=True, + ) + + _element = cls._schema_on_200.value.Element.identity.user_assigned_identities.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + _element.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.api = AAZObjectType() + properties.autoscaling = AAZObjectType() + properties.cluster_image_registry = AAZObjectType( + serialized_name="clusterImageRegistry", + ) + properties.console = AAZObjectType( + flags={"read_only": True}, + ) + properties.crypto_restrictions = AAZStrType( + serialized_name="cryptoRestrictions", + ) + properties.dns = AAZObjectType() + properties.etcd = AAZObjectType() + properties.image_digest_mirrors = AAZListType( + serialized_name="imageDigestMirrors", + ) + properties.ingress = AAZObjectType() + properties.network = AAZObjectType() + properties.node_drain_timeout_minutes = AAZIntType( + serialized_name="nodeDrainTimeoutMinutes", + ) + properties.platform = AAZObjectType( + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.status = AAZObjectType( + flags={"read_only": True}, + ) + properties.version = AAZObjectType( + flags={"required": True}, + ) + + api = cls._schema_on_200.value.Element.properties.api + api.authorized_cidrs = AAZListType( + serialized_name="authorizedCidrs", + ) + api.url = AAZStrType( + flags={"read_only": True}, + ) + api.visibility = AAZStrType() + + authorized_cidrs = cls._schema_on_200.value.Element.properties.api.authorized_cidrs + authorized_cidrs.Element = AAZStrType() + + autoscaling = cls._schema_on_200.value.Element.properties.autoscaling + autoscaling.max_node_provision_time_seconds = AAZIntType( + serialized_name="maxNodeProvisionTimeSeconds", + ) + autoscaling.max_nodes_total = AAZIntType( + serialized_name="maxNodesTotal", + ) + autoscaling.max_pod_grace_period_seconds = AAZIntType( + serialized_name="maxPodGracePeriodSeconds", + ) + autoscaling.pod_priority_threshold = AAZIntType( + serialized_name="podPriorityThreshold", + ) + + cluster_image_registry = cls._schema_on_200.value.Element.properties.cluster_image_registry + cluster_image_registry.state = AAZStrType() + + console = cls._schema_on_200.value.Element.properties.console + console.url = AAZStrType( + flags={"read_only": True}, + ) + + dns = cls._schema_on_200.value.Element.properties.dns + dns.base_domain = AAZStrType( + serialized_name="baseDomain", + flags={"read_only": True}, + ) + dns.base_domain_prefix = AAZStrType( + serialized_name="baseDomainPrefix", + ) + + etcd = cls._schema_on_200.value.Element.properties.etcd + etcd.data_encryption = AAZObjectType( + serialized_name="dataEncryption", + ) + + data_encryption = cls._schema_on_200.value.Element.properties.etcd.data_encryption + data_encryption.customer_managed = AAZObjectType( + serialized_name="customerManaged", + ) + data_encryption.key_management_mode = AAZStrType( + serialized_name="keyManagementMode", + flags={"required": True}, + ) + + customer_managed = cls._schema_on_200.value.Element.properties.etcd.data_encryption.customer_managed + customer_managed.encryption_type = AAZStrType( + serialized_name="encryptionType", + ) + customer_managed.kms = AAZObjectType() + + kms = cls._schema_on_200.value.Element.properties.etcd.data_encryption.customer_managed.kms + kms.active_key = AAZObjectType( + serialized_name="activeKey", + flags={"required": True}, + ) + kms.key_vault_type = AAZStrType( + serialized_name="keyVaultType", + ) + kms.vault_name = AAZStrType( + serialized_name="vaultName", + flags={"required": True}, + ) + kms.visibility = AAZStrType( + flags={"required": True}, + ) + + active_key = cls._schema_on_200.value.Element.properties.etcd.data_encryption.customer_managed.kms.active_key + active_key.name = AAZStrType( + flags={"required": True}, + ) + active_key.version = AAZStrType( + flags={"required": True}, + ) + + image_digest_mirrors = cls._schema_on_200.value.Element.properties.image_digest_mirrors + image_digest_mirrors.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.image_digest_mirrors.Element + _element.mirrors = AAZListType( + flags={"required": True}, + ) + _element.source = AAZStrType( + flags={"required": True}, + ) + + mirrors = cls._schema_on_200.value.Element.properties.image_digest_mirrors.Element.mirrors + mirrors.Element = AAZStrType() + + ingress = cls._schema_on_200.value.Element.properties.ingress + ingress.type = AAZStrType() + + network = cls._schema_on_200.value.Element.properties.network + network.host_prefix = AAZIntType( + serialized_name="hostPrefix", + ) + network.machine_cidr = AAZStrType( + serialized_name="machineCidr", + ) + network.network_type = AAZStrType( + serialized_name="networkType", + ) + network.pod_cidr = AAZStrType( + serialized_name="podCidr", + ) + network.service_cidr = AAZStrType( + serialized_name="serviceCidr", + ) + + platform = cls._schema_on_200.value.Element.properties.platform + platform.container_registry = AAZObjectType( + serialized_name="containerRegistry", + ) + platform.issuer_url = AAZStrType( + serialized_name="issuerUrl", + flags={"read_only": True}, + ) + platform.managed_resource_group = AAZStrType( + serialized_name="managedResourceGroup", + ) + platform.network_security_group_id = AAZStrType( + serialized_name="networkSecurityGroupId", + flags={"required": True}, + ) + platform.operators_authentication = AAZObjectType( + serialized_name="operatorsAuthentication", + flags={"required": True}, + ) + platform.outbound_type = AAZStrType( + serialized_name="outboundType", + ) + platform.subnet_id = AAZStrType( + serialized_name="subnetId", + flags={"required": True}, + ) + platform.vnet_integration_subnet_id = AAZStrType( + serialized_name="vnetIntegrationSubnetId", + flags={"required": True}, + ) + + container_registry = cls._schema_on_200.value.Element.properties.platform.container_registry + container_registry.managed_identity = AAZStrType( + serialized_name="managedIdentity", + ) + + operators_authentication = cls._schema_on_200.value.Element.properties.platform.operators_authentication + operators_authentication.user_assigned_identities = AAZObjectType( + serialized_name="userAssignedIdentities", + flags={"required": True}, + ) + + user_assigned_identities = cls._schema_on_200.value.Element.properties.platform.operators_authentication.user_assigned_identities + user_assigned_identities.control_plane_operators = AAZDictType( + serialized_name="controlPlaneOperators", + flags={"required": True}, + ) + user_assigned_identities.data_plane_operators = AAZDictType( + serialized_name="dataPlaneOperators", + flags={"required": True}, + ) + user_assigned_identities.service_managed_identity = AAZStrType( + serialized_name="serviceManagedIdentity", + flags={"required": True}, + ) + + control_plane_operators = cls._schema_on_200.value.Element.properties.platform.operators_authentication.user_assigned_identities.control_plane_operators + control_plane_operators.Element = AAZStrType() + + data_plane_operators = cls._schema_on_200.value.Element.properties.platform.operators_authentication.user_assigned_identities.data_plane_operators + data_plane_operators.Element = AAZStrType() + + status = cls._schema_on_200.value.Element.properties.status + status.active_versions = AAZListType( + serialized_name="activeVersions", + flags={"read_only": True}, + ) + status.conditions = AAZListType( + flags={"read_only": True}, + ) + + active_versions = cls._schema_on_200.value.Element.properties.status.active_versions + active_versions.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.status.active_versions.Element + _element.version = AAZStrType( + flags={"read_only": True}, + ) + + conditions = cls._schema_on_200.value.Element.properties.status.conditions + conditions.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.status.conditions.Element + _element.last_transition_time = AAZStrType( + serialized_name="lastTransitionTime", + flags={"read_only": True}, + ) + _element.message = AAZStrType( + flags={"read_only": True}, + ) + _element.reason = AAZStrType( + flags={"read_only": True}, + ) + _element.status = AAZStrType( + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"required": True}, + ) + + version = cls._schema_on_200.value.Element.properties.version + version.channel_group = AAZStrType( + serialized_name="channelGroup", + ) + version.id = AAZStrType( + flags={"required": True}, + ) + + 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 HcpOpenShiftClustersListByResourceGroup(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.RedHatOpenShift/hcpOpenShiftClusters", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.identity = AAZIdentityObjectType() + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType() + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + identity = cls._schema_on_200.value.Element.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType( + flags={"required": True}, + ) + identity.user_assigned_identities = AAZDictType( + serialized_name="userAssignedIdentities", + ) + + user_assigned_identities = cls._schema_on_200.value.Element.identity.user_assigned_identities + user_assigned_identities.Element = AAZObjectType( + nullable=True, + ) + + _element = cls._schema_on_200.value.Element.identity.user_assigned_identities.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + _element.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.api = AAZObjectType() + properties.autoscaling = AAZObjectType() + properties.cluster_image_registry = AAZObjectType( + serialized_name="clusterImageRegistry", + ) + properties.console = AAZObjectType( + flags={"read_only": True}, + ) + properties.crypto_restrictions = AAZStrType( + serialized_name="cryptoRestrictions", + ) + properties.dns = AAZObjectType() + properties.etcd = AAZObjectType() + properties.image_digest_mirrors = AAZListType( + serialized_name="imageDigestMirrors", + ) + properties.ingress = AAZObjectType() + properties.network = AAZObjectType() + properties.node_drain_timeout_minutes = AAZIntType( + serialized_name="nodeDrainTimeoutMinutes", + ) + properties.platform = AAZObjectType( + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.status = AAZObjectType( + flags={"read_only": True}, + ) + properties.version = AAZObjectType( + flags={"required": True}, + ) + + api = cls._schema_on_200.value.Element.properties.api + api.authorized_cidrs = AAZListType( + serialized_name="authorizedCidrs", + ) + api.url = AAZStrType( + flags={"read_only": True}, + ) + api.visibility = AAZStrType() + + authorized_cidrs = cls._schema_on_200.value.Element.properties.api.authorized_cidrs + authorized_cidrs.Element = AAZStrType() + + autoscaling = cls._schema_on_200.value.Element.properties.autoscaling + autoscaling.max_node_provision_time_seconds = AAZIntType( + serialized_name="maxNodeProvisionTimeSeconds", + ) + autoscaling.max_nodes_total = AAZIntType( + serialized_name="maxNodesTotal", + ) + autoscaling.max_pod_grace_period_seconds = AAZIntType( + serialized_name="maxPodGracePeriodSeconds", + ) + autoscaling.pod_priority_threshold = AAZIntType( + serialized_name="podPriorityThreshold", + ) + + cluster_image_registry = cls._schema_on_200.value.Element.properties.cluster_image_registry + cluster_image_registry.state = AAZStrType() + + console = cls._schema_on_200.value.Element.properties.console + console.url = AAZStrType( + flags={"read_only": True}, + ) + + dns = cls._schema_on_200.value.Element.properties.dns + dns.base_domain = AAZStrType( + serialized_name="baseDomain", + flags={"read_only": True}, + ) + dns.base_domain_prefix = AAZStrType( + serialized_name="baseDomainPrefix", + ) + + etcd = cls._schema_on_200.value.Element.properties.etcd + etcd.data_encryption = AAZObjectType( + serialized_name="dataEncryption", + ) + + data_encryption = cls._schema_on_200.value.Element.properties.etcd.data_encryption + data_encryption.customer_managed = AAZObjectType( + serialized_name="customerManaged", + ) + data_encryption.key_management_mode = AAZStrType( + serialized_name="keyManagementMode", + flags={"required": True}, + ) + + customer_managed = cls._schema_on_200.value.Element.properties.etcd.data_encryption.customer_managed + customer_managed.encryption_type = AAZStrType( + serialized_name="encryptionType", + ) + customer_managed.kms = AAZObjectType() + + kms = cls._schema_on_200.value.Element.properties.etcd.data_encryption.customer_managed.kms + kms.active_key = AAZObjectType( + serialized_name="activeKey", + flags={"required": True}, + ) + kms.key_vault_type = AAZStrType( + serialized_name="keyVaultType", + ) + kms.vault_name = AAZStrType( + serialized_name="vaultName", + flags={"required": True}, + ) + kms.visibility = AAZStrType( + flags={"required": True}, + ) + + active_key = cls._schema_on_200.value.Element.properties.etcd.data_encryption.customer_managed.kms.active_key + active_key.name = AAZStrType( + flags={"required": True}, + ) + active_key.version = AAZStrType( + flags={"required": True}, + ) + + image_digest_mirrors = cls._schema_on_200.value.Element.properties.image_digest_mirrors + image_digest_mirrors.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.image_digest_mirrors.Element + _element.mirrors = AAZListType( + flags={"required": True}, + ) + _element.source = AAZStrType( + flags={"required": True}, + ) + + mirrors = cls._schema_on_200.value.Element.properties.image_digest_mirrors.Element.mirrors + mirrors.Element = AAZStrType() + + ingress = cls._schema_on_200.value.Element.properties.ingress + ingress.type = AAZStrType() + + network = cls._schema_on_200.value.Element.properties.network + network.host_prefix = AAZIntType( + serialized_name="hostPrefix", + ) + network.machine_cidr = AAZStrType( + serialized_name="machineCidr", + ) + network.network_type = AAZStrType( + serialized_name="networkType", + ) + network.pod_cidr = AAZStrType( + serialized_name="podCidr", + ) + network.service_cidr = AAZStrType( + serialized_name="serviceCidr", + ) + + platform = cls._schema_on_200.value.Element.properties.platform + platform.container_registry = AAZObjectType( + serialized_name="containerRegistry", + ) + platform.issuer_url = AAZStrType( + serialized_name="issuerUrl", + flags={"read_only": True}, + ) + platform.managed_resource_group = AAZStrType( + serialized_name="managedResourceGroup", + ) + platform.network_security_group_id = AAZStrType( + serialized_name="networkSecurityGroupId", + flags={"required": True}, + ) + platform.operators_authentication = AAZObjectType( + serialized_name="operatorsAuthentication", + flags={"required": True}, + ) + platform.outbound_type = AAZStrType( + serialized_name="outboundType", + ) + platform.subnet_id = AAZStrType( + serialized_name="subnetId", + flags={"required": True}, + ) + platform.vnet_integration_subnet_id = AAZStrType( + serialized_name="vnetIntegrationSubnetId", + flags={"required": True}, + ) + + container_registry = cls._schema_on_200.value.Element.properties.platform.container_registry + container_registry.managed_identity = AAZStrType( + serialized_name="managedIdentity", + ) + + operators_authentication = cls._schema_on_200.value.Element.properties.platform.operators_authentication + operators_authentication.user_assigned_identities = AAZObjectType( + serialized_name="userAssignedIdentities", + flags={"required": True}, + ) + + user_assigned_identities = cls._schema_on_200.value.Element.properties.platform.operators_authentication.user_assigned_identities + user_assigned_identities.control_plane_operators = AAZDictType( + serialized_name="controlPlaneOperators", + flags={"required": True}, + ) + user_assigned_identities.data_plane_operators = AAZDictType( + serialized_name="dataPlaneOperators", + flags={"required": True}, + ) + user_assigned_identities.service_managed_identity = AAZStrType( + serialized_name="serviceManagedIdentity", + flags={"required": True}, + ) + + control_plane_operators = cls._schema_on_200.value.Element.properties.platform.operators_authentication.user_assigned_identities.control_plane_operators + control_plane_operators.Element = AAZStrType() + + data_plane_operators = cls._schema_on_200.value.Element.properties.platform.operators_authentication.user_assigned_identities.data_plane_operators + data_plane_operators.Element = AAZStrType() + + status = cls._schema_on_200.value.Element.properties.status + status.active_versions = AAZListType( + serialized_name="activeVersions", + flags={"read_only": True}, + ) + status.conditions = AAZListType( + flags={"read_only": True}, + ) + + active_versions = cls._schema_on_200.value.Element.properties.status.active_versions + active_versions.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.status.active_versions.Element + _element.version = AAZStrType( + flags={"read_only": True}, + ) + + conditions = cls._schema_on_200.value.Element.properties.status.conditions + conditions.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.status.conditions.Element + _element.last_transition_time = AAZStrType( + serialized_name="lastTransitionTime", + flags={"read_only": True}, + ) + _element.message = AAZStrType( + flags={"read_only": True}, + ) + _element.reason = AAZStrType( + flags={"read_only": True}, + ) + _element.status = AAZStrType( + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"required": True}, + ) + + version = cls._schema_on_200.value.Element.properties.version + version.channel_group = AAZStrType( + serialized_name="channelGroup", + ) + version.id = AAZStrType( + flags={"required": True}, + ) + + 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/aro/aaz/latest/aro/hcp/cluster/_request_credential.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_request_credential.py new file mode 100644 index 00000000000..061729e39ec --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_request_credential.py @@ -0,0 +1,206 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "aro hcp cluster request-credential", +) +class RequestCredential(AAZCommand): + """Request a temporary credential for your Azure Red Hat OpenShift with hosted control plane cluster + + :example: Request a temporary admin credential + az aro hcp cluster request-credential --resource-group MyResourceGroup --name MyCluster + """ + + _aaz_info = { + "version": "2026-10-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}/requestadmincredential", "2026-10-01"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.name = AAZStrArg( + options=["-n", "--name"], + help="The name of the Azure Red Hat OpenShift with hosted control plane cluster", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,52}[a-zA-Z0-9])?$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + + # define Arg Group "Body" + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.HcpOpenShiftClustersRequestAdminCredential(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 HcpOpenShiftClustersRequestAdminCredential(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}/requestAdminCredential", + **self.url_parameters + ) + + @property + def method(self): + return "POST" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "hcpOpenShiftClusterName", self.ctx.args.name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + 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}} + ) + + return self.serialize_content(_content_value) + + 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.expiration_timestamp = AAZStrType( + serialized_name="expirationTimestamp", + flags={"read_only": True}, + ) + _schema_on_200.kubeconfig = AAZStrType( + flags={"secret": True, "read_only": True}, + ) + + return cls._schema_on_200 + + +class _RequestCredentialHelper: + """Helper class for RequestCredential""" + + +__all__ = ["RequestCredential"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_revoke_credential.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_revoke_credential.py new file mode 100644 index 00000000000..52b1a049e11 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_revoke_credential.py @@ -0,0 +1,141 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "aro hcp cluster revoke-credential", +) +class RevokeCredential(AAZCommand): + """Revoke all credentials for your Azure Red Hat OpenShift with hosted control plane cluster + + :example: Revoke all admin credentials + az aro hcp cluster revoke-credential --resource-group MyResourceGroup --name MyCluster + """ + + _aaz_info = { + "version": "2026-10-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}/revokecredentials", "2026-10-01"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.name = AAZStrArg( + options=["-n", "--name"], + help="The name of the Azure Red Hat OpenShift with hosted control plane cluster", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,52}[a-zA-Z0-9])?$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.HcpOpenShiftClustersRevokeCredentials(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class HcpOpenShiftClustersRevokeCredentials(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + None, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}/revokeCredentials", + **self.url_parameters + ) + + @property + def method(self): + return "POST" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "hcpOpenShiftClusterName", self.ctx.args.name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + required=True, + ), + } + return parameters + + +class _RevokeCredentialHelper: + """Helper class for RevokeCredential""" + + +__all__ = ["RevokeCredential"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_show.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_show.py new file mode 100644 index 00000000000..e3bd14176be --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_show.py @@ -0,0 +1,505 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "aro hcp cluster show", +) +class Show(AAZCommand): + """Get an Azure Red Hat OpenShift with hosted control plane cluster + + :example: Show a cluster + az aro hcp cluster show --resource-group MyResourceGroup --name MyCluster + """ + + _aaz_info = { + "version": "2026-10-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}", "2026-10-01"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.name = AAZStrArg( + options=["-n", "--name"], + help="The name of the Azure Red Hat OpenShift with hosted control plane cluster", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,52}[a-zA-Z0-9])?$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.HcpOpenShiftClustersGet(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 HcpOpenShiftClustersGet(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.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "hcpOpenShiftClusterName", self.ctx.args.name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.identity = AAZIdentityObjectType() + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType() + _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}, + ) + + identity = cls._schema_on_200.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType( + flags={"required": True}, + ) + identity.user_assigned_identities = AAZDictType( + serialized_name="userAssignedIdentities", + ) + + user_assigned_identities = cls._schema_on_200.identity.user_assigned_identities + user_assigned_identities.Element = AAZObjectType( + nullable=True, + ) + + _element = cls._schema_on_200.identity.user_assigned_identities.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + _element.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.api = AAZObjectType() + properties.autoscaling = AAZObjectType() + properties.cluster_image_registry = AAZObjectType( + serialized_name="clusterImageRegistry", + ) + properties.console = AAZObjectType( + flags={"read_only": True}, + ) + properties.crypto_restrictions = AAZStrType( + serialized_name="cryptoRestrictions", + ) + properties.dns = AAZObjectType() + properties.etcd = AAZObjectType() + properties.image_digest_mirrors = AAZListType( + serialized_name="imageDigestMirrors", + ) + properties.ingress = AAZObjectType() + properties.network = AAZObjectType() + properties.node_drain_timeout_minutes = AAZIntType( + serialized_name="nodeDrainTimeoutMinutes", + ) + properties.platform = AAZObjectType( + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.status = AAZObjectType( + flags={"read_only": True}, + ) + properties.version = AAZObjectType( + flags={"required": True}, + ) + + api = cls._schema_on_200.properties.api + api.authorized_cidrs = AAZListType( + serialized_name="authorizedCidrs", + ) + api.url = AAZStrType( + flags={"read_only": True}, + ) + api.visibility = AAZStrType() + + authorized_cidrs = cls._schema_on_200.properties.api.authorized_cidrs + authorized_cidrs.Element = AAZStrType() + + autoscaling = cls._schema_on_200.properties.autoscaling + autoscaling.max_node_provision_time_seconds = AAZIntType( + serialized_name="maxNodeProvisionTimeSeconds", + ) + autoscaling.max_nodes_total = AAZIntType( + serialized_name="maxNodesTotal", + ) + autoscaling.max_pod_grace_period_seconds = AAZIntType( + serialized_name="maxPodGracePeriodSeconds", + ) + autoscaling.pod_priority_threshold = AAZIntType( + serialized_name="podPriorityThreshold", + ) + + cluster_image_registry = cls._schema_on_200.properties.cluster_image_registry + cluster_image_registry.state = AAZStrType() + + console = cls._schema_on_200.properties.console + console.url = AAZStrType( + flags={"read_only": True}, + ) + + dns = cls._schema_on_200.properties.dns + dns.base_domain = AAZStrType( + serialized_name="baseDomain", + flags={"read_only": True}, + ) + dns.base_domain_prefix = AAZStrType( + serialized_name="baseDomainPrefix", + ) + + etcd = cls._schema_on_200.properties.etcd + etcd.data_encryption = AAZObjectType( + serialized_name="dataEncryption", + ) + + data_encryption = cls._schema_on_200.properties.etcd.data_encryption + data_encryption.customer_managed = AAZObjectType( + serialized_name="customerManaged", + ) + data_encryption.key_management_mode = AAZStrType( + serialized_name="keyManagementMode", + flags={"required": True}, + ) + + customer_managed = cls._schema_on_200.properties.etcd.data_encryption.customer_managed + customer_managed.encryption_type = AAZStrType( + serialized_name="encryptionType", + ) + customer_managed.kms = AAZObjectType() + + kms = cls._schema_on_200.properties.etcd.data_encryption.customer_managed.kms + kms.active_key = AAZObjectType( + serialized_name="activeKey", + flags={"required": True}, + ) + kms.key_vault_type = AAZStrType( + serialized_name="keyVaultType", + ) + kms.vault_name = AAZStrType( + serialized_name="vaultName", + flags={"required": True}, + ) + kms.visibility = AAZStrType( + flags={"required": True}, + ) + + active_key = cls._schema_on_200.properties.etcd.data_encryption.customer_managed.kms.active_key + active_key.name = AAZStrType( + flags={"required": True}, + ) + active_key.version = AAZStrType( + flags={"required": True}, + ) + + image_digest_mirrors = cls._schema_on_200.properties.image_digest_mirrors + image_digest_mirrors.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.image_digest_mirrors.Element + _element.mirrors = AAZListType( + flags={"required": True}, + ) + _element.source = AAZStrType( + flags={"required": True}, + ) + + mirrors = cls._schema_on_200.properties.image_digest_mirrors.Element.mirrors + mirrors.Element = AAZStrType() + + ingress = cls._schema_on_200.properties.ingress + ingress.type = AAZStrType() + + network = cls._schema_on_200.properties.network + network.host_prefix = AAZIntType( + serialized_name="hostPrefix", + ) + network.machine_cidr = AAZStrType( + serialized_name="machineCidr", + ) + network.network_type = AAZStrType( + serialized_name="networkType", + ) + network.pod_cidr = AAZStrType( + serialized_name="podCidr", + ) + network.service_cidr = AAZStrType( + serialized_name="serviceCidr", + ) + + platform = cls._schema_on_200.properties.platform + platform.container_registry = AAZObjectType( + serialized_name="containerRegistry", + ) + platform.issuer_url = AAZStrType( + serialized_name="issuerUrl", + flags={"read_only": True}, + ) + platform.managed_resource_group = AAZStrType( + serialized_name="managedResourceGroup", + ) + platform.network_security_group_id = AAZStrType( + serialized_name="networkSecurityGroupId", + flags={"required": True}, + ) + platform.operators_authentication = AAZObjectType( + serialized_name="operatorsAuthentication", + flags={"required": True}, + ) + platform.outbound_type = AAZStrType( + serialized_name="outboundType", + ) + platform.subnet_id = AAZStrType( + serialized_name="subnetId", + flags={"required": True}, + ) + platform.vnet_integration_subnet_id = AAZStrType( + serialized_name="vnetIntegrationSubnetId", + flags={"required": True}, + ) + + container_registry = cls._schema_on_200.properties.platform.container_registry + container_registry.managed_identity = AAZStrType( + serialized_name="managedIdentity", + ) + + operators_authentication = cls._schema_on_200.properties.platform.operators_authentication + operators_authentication.user_assigned_identities = AAZObjectType( + serialized_name="userAssignedIdentities", + flags={"required": True}, + ) + + user_assigned_identities = cls._schema_on_200.properties.platform.operators_authentication.user_assigned_identities + user_assigned_identities.control_plane_operators = AAZDictType( + serialized_name="controlPlaneOperators", + flags={"required": True}, + ) + user_assigned_identities.data_plane_operators = AAZDictType( + serialized_name="dataPlaneOperators", + flags={"required": True}, + ) + user_assigned_identities.service_managed_identity = AAZStrType( + serialized_name="serviceManagedIdentity", + flags={"required": True}, + ) + + control_plane_operators = cls._schema_on_200.properties.platform.operators_authentication.user_assigned_identities.control_plane_operators + control_plane_operators.Element = AAZStrType() + + data_plane_operators = cls._schema_on_200.properties.platform.operators_authentication.user_assigned_identities.data_plane_operators + data_plane_operators.Element = AAZStrType() + + status = cls._schema_on_200.properties.status + status.active_versions = AAZListType( + serialized_name="activeVersions", + flags={"read_only": True}, + ) + status.conditions = AAZListType( + flags={"read_only": True}, + ) + + active_versions = cls._schema_on_200.properties.status.active_versions + active_versions.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.status.active_versions.Element + _element.version = AAZStrType( + flags={"read_only": True}, + ) + + conditions = cls._schema_on_200.properties.status.conditions + conditions.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.status.conditions.Element + _element.last_transition_time = AAZStrType( + serialized_name="lastTransitionTime", + flags={"read_only": True}, + ) + _element.message = AAZStrType( + flags={"read_only": True}, + ) + _element.reason = AAZStrType( + flags={"read_only": True}, + ) + _element.status = AAZStrType( + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"required": True}, + ) + + version = cls._schema_on_200.properties.version + version.channel_group = AAZStrType( + serialized_name="channelGroup", + ) + version.id = AAZStrType( + flags={"required": True}, + ) + + 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/aro/aaz/latest/aro/hcp/cluster/_update.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_update.py new file mode 100644 index 00000000000..d6c26da6288 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_update.py @@ -0,0 +1,998 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "aro hcp cluster update", +) +class Update(AAZCommand): + """Update an Azure Red Hat OpenShift with hosted control plane cluster + + :example: Update cluster tags + az aro hcp cluster update --resource-group MyResourceGroup --name MyCluster --tags env=prod team=platform + """ + + _aaz_info = { + "version": "2026-10-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}", "2026-10-01"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + AZ_SUPPORT_GENERIC_UPDATE = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.name = AAZStrArg( + options=["-n", "--name"], + help="The name of the Azure Red Hat OpenShift with hosted control plane cluster", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,52}[a-zA-Z0-9])?$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + + # define Arg Group "Api" + + _args_schema = cls._args_schema + _args_schema.authorized_cidrs = AAZListArg( + options=["--authorized-cidrs"], + arg_group="Api", + help="The list of authorized IPv4 CIDR blocks allowed to access the API server. Maximum 500 entries.", + nullable=True, + fmt=AAZListArgFormat( + max_length=500, + ), + ) + + authorized_cidrs = cls._args_schema.authorized_cidrs + authorized_cidrs.Element = AAZStrArg( + nullable=True, + ) + + # define Arg Group "Autoscaling" + + _args_schema = cls._args_schema + _args_schema.max_node_provision_time = AAZIntArg( + options=["--node-provision-time", "--max-node-provision-time"], + arg_group="Autoscaling", + help="maxNodeProvisionTimeSeconds is the maximum time to wait for node provisioning before considering the provisioning to be unsuccessful. The default is 900 seconds, or 15 minutes.", + nullable=True, + fmt=AAZIntArgFormat( + minimum=0, + ), + ) + _args_schema.max_nodes_total = AAZIntArg( + options=["--max-nodes-total"], + arg_group="Autoscaling", + help="maxNodesTotal is the maximum allowable number of nodes. The autoscaler will not grow the cluster beyond this number. If omitted, the autoscaler will not have a maximum limit.", + nullable=True, + fmt=AAZIntArgFormat( + minimum=0, + ), + ) + _args_schema.max_pod_grace_period = AAZIntArg( + options=["--max-pod-grace-period"], + arg_group="Autoscaling", + help="maxPodGracePeriodSeconds is the maximum amount of time in seconds to wait for graceful pod termination before scaling down a NodePool.", + nullable=True, + fmt=AAZIntArgFormat( + minimum=0, + ), + ) + _args_schema.pod_priority_threshold = AAZIntArg( + options=["--pod-priority-threshold"], + arg_group="Autoscaling", + help="podPriorityThreshold enables users to schedule \"best-effort\" pods, which shouldn't trigger autoscaler actions, but only run when there are spare resources available. The default is -10. See the following for more details: https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#how-does-cluster-autoscaler-work-with-pod-priority-and-preemption", + nullable=True, + ) + + # define Arg Group "Etcd Encryption" + + _args_schema = cls._args_schema + _args_schema.kms_active_key_version = AAZStrArg( + options=["--kms-active-key-version"], + arg_group="Etcd Encryption", + help="version contains the version of the key to use.", + fmt=AAZStrArgFormat( + max_length=255, + min_length=1, + ), + ) + + # define Arg Group "Identity" + + _args_schema = cls._args_schema + _args_schema.user_assigned_identities = AAZDictArg( + options=["--uami", "--user-assigned-identities"], + arg_group="Identity", + help="The identities assigned to this resource by the user.", + nullable=True, + ) + _args_schema.container_registry_managed_identity = AAZResourceIdArg( + options=["--container-registry-mi", "--container-registry-managed-identity"], + arg_group="Identity", + help="The user-assigned managed identity used for container registry image pulls.", + nullable=True, + ) + + user_assigned_identities = cls._args_schema.user_assigned_identities + user_assigned_identities.Element = AAZObjectArg( + nullable=True, + blank={}, + ) + + # define Arg Group "Platform" + + _args_schema = cls._args_schema + _args_schema.operators_authentication = AAZObjectArg( + options=["--operators-authentication"], + arg_group="Platform", + help="The configuration that the operators of the cluster have to authenticate to Azure", + ) + + operators_authentication = cls._args_schema.operators_authentication + operators_authentication.user_assigned_identities = AAZObjectArg( + options=["user-assigned-identities"], + help="Represents the information related to Azure User-Assigned managed identities needed to perform Operators authentication based on Azure User-Assigned Managed Identities", + ) + + user_assigned_identities = cls._args_schema.operators_authentication.user_assigned_identities + user_assigned_identities.control_plane_operators = AAZDictArg( + options=["control-plane-operators"], + help="The set of Azure User-Assigned Managed Identities leveraged for the Control Plane operators of the cluster. The set of required managed identities is dependent on the Cluster's OpenShift version.", + ) + user_assigned_identities.data_plane_operators = AAZDictArg( + options=["data-plane-operators"], + help="The set of Azure User-Assigned Managed Identities leveraged for the Data Plane operators of the cluster. The set of required managed identities is dependent on the Cluster's OpenShift version.", + ) + user_assigned_identities.service_managed_identity = AAZResourceIdArg( + options=["service-managed-identity"], + help="Represents the information associated to an Azure User-Assigned Managed Identity whose purpose is to perform service level actions.", + ) + + control_plane_operators = cls._args_schema.operators_authentication.user_assigned_identities.control_plane_operators + control_plane_operators.Element = AAZResourceIdArg( + nullable=True, + ) + + data_plane_operators = cls._args_schema.operators_authentication.user_assigned_identities.data_plane_operators + data_plane_operators.Element = AAZResourceIdArg( + nullable=True, + ) + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.image_digest_mirrors = AAZListArg( + options=["--image-digest-mirrors"], + arg_group="Properties", + help="imageDigestMirrors is a set of rules to allow pulling images from a mirrored registry by using digest specifications. WARNING: Updating this array will redeploy all node pools in the cluster.", + nullable=True, + fmt=AAZListArgFormat( + max_length=240, + ), + ) + _args_schema.node_drain_timeout = AAZIntArg( + options=["--node-drain-timeout"], + arg_group="Properties", + help={"short-summary": "nodeDrainTimeoutMinutes is the grace period for how long Pod Disruption Budget-protected workloads will be respected during any node draining operation. After this grace period, any workloads protected by Pod Disruption Budgets that have not been successfully drained from a node will be forcibly evicted. This is especially relevant to cluster upgrades. Valid values are in minutes and from 0 to 10080 minutes (1 week). 0 means that the MachinePool can be drained without any time limitation. This value is used as a default for all NodePools. It can be overridden by specifying nodeDrainTimeoutMinutes for a given NodePool", "long-summary": "Valid values are from 0 to 10080 minutes (1 week). 0 means that the NodePool can be drained without any time limitation. If unset the cluster value is used as a default."}, + nullable=True, + fmt=AAZIntArgFormat( + maximum=10080, + minimum=0, + ), + ) + + image_digest_mirrors = cls._args_schema.image_digest_mirrors + image_digest_mirrors.Element = AAZObjectArg( + nullable=True, + ) + + _element = cls._args_schema.image_digest_mirrors.Element + _element.mirrors = AAZListArg( + options=["mirrors"], + help="mirrors is zero or more locations that may also contain the same images. No mirror will be configured if not specified. Images can be pulled from these mirrors only if they are referenced by their digests. The mirrored location is obtained by replacing the part of the input reference that matches source by the mirrors entry, e.g. for registry.redhat.io/product/repo reference, a (source, mirror) pair *.redhat.io, mirror.local/redhat causes a mirror.local/redhat/product/repo repository to be used. The order of mirrors in this list is treated as the user's desired priority, while source is by default considered lower priority than all mirrors. If no mirror is specified or all image pulls from the mirror list fail, the image will continue to be pulled from the repository in the pull spec. Other cluster configuration, including (but not limited to) other imageDigestMirrors objects, may impact the exact order mirrors are contacted in, or some mirrors may be contacted in parallel, so this should be considered a preference rather than a guarantee of ordering. mirrors uses one of the following formats: * host[:port] * host[:port]/namespace[/namespace...] * host[:port]/namespace[/namespace...]/repo for more information about the format, see: https://github.com/containers/image/blob/main/docs/containers-registries.conf.5.md#choosing-a-registry-toml-table", + fmt=AAZListArgFormat( + max_length=255, + min_length=1, + ), + ) + _element.source = AAZStrArg( + options=["source"], + help="source matches the repository that users refer to, e.g. in image pull specifications. Setting source to a registry hostname, e.g. docker.io, quay.io, or registry.redhat.io, will match the image pull specification of the corresponding registry. source uses one of the following formats: * host[:port] * host[:port]/namespace[/namespace...] * host[:port]/namespace[/namespace...]/repo * [*.]host for more information about the format, see: https://github.com/containers/image/blob/main/docs/containers-registries.conf.5.md#choosing-a-registry-toml-table", + fmt=AAZStrArgFormat( + max_length=255, + ), + ) + + mirrors = cls._args_schema.image_digest_mirrors.Element.mirrors + mirrors.Element = AAZStrArg( + nullable=True, + fmt=AAZStrArgFormat( + max_length=255, + ), + ) + + # define Arg Group "Resource" + + _args_schema = cls._args_schema + _args_schema.tags = AAZDictArg( + options=["--tags"], + arg_group="Resource", + help="Resource tags.", + nullable=True, + ) + + tags = cls._args_schema.tags + tags.Element = AAZStrArg( + nullable=True, + ) + + # define Arg Group "Version" + + _args_schema = cls._args_schema + _args_schema.channel_group = AAZStrArg( + options=["--channel-group"], + arg_group="Version", + help="ChannelGroup is the name of the set to which this version belongs. Each version belongs to only a single set. If not specified, the default value is 'stable'.", + nullable=True, + ) + _args_schema.version = AAZStrArg( + options=["--version"], + arg_group="Version", + help="ID is the desired X.Y version of the cluster control plane.", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.HcpOpenShiftClustersGet(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) + yield self.HcpOpenShiftClustersCreateOrUpdate(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 HcpOpenShiftClustersGet(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.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "hcpOpenShiftClusterName", self.ctx.args.name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + _UpdateHelper._build_schema_hcp_open_shift_cluster_read(cls._schema_on_200) + + return cls._schema_on_200 + + class HcpOpenShiftClustersCreateOrUpdate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "hcpOpenShiftClusterName", self.ctx.args.name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + 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_hcp_open_shift_cluster_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("identity", AAZIdentityObjectType) + _builder.set_prop("properties", AAZObjectType) + _builder.set_prop("tags", AAZDictType, ".tags") + + identity = _builder.get(".identity") + if identity is not None: + identity.set_prop("userAssignedIdentities", AAZDictType, ".user_assigned_identities") + + user_assigned_identities = _builder.get(".identity.userAssignedIdentities") + if user_assigned_identities is not None: + user_assigned_identities.set_elements(AAZObjectType, ".", typ_kwargs={"nullable": True}) + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("api", AAZObjectType) + properties.set_prop("autoscaling", AAZObjectType) + properties.set_prop("etcd", AAZObjectType) + properties.set_prop("imageDigestMirrors", AAZListType, ".image_digest_mirrors") + properties.set_prop("nodeDrainTimeoutMinutes", AAZIntType, ".node_drain_timeout") + properties.set_prop("platform", AAZObjectType, ".", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("version", AAZObjectType, ".", typ_kwargs={"flags": {"required": True}}) + + api = _builder.get(".properties.api") + if api is not None: + api.set_prop("authorizedCidrs", AAZListType, ".authorized_cidrs") + + authorized_cidrs = _builder.get(".properties.api.authorizedCidrs") + if authorized_cidrs is not None: + authorized_cidrs.set_elements(AAZStrType, ".") + + autoscaling = _builder.get(".properties.autoscaling") + if autoscaling is not None: + autoscaling.set_prop("maxNodeProvisionTimeSeconds", AAZIntType, ".max_node_provision_time") + autoscaling.set_prop("maxNodesTotal", AAZIntType, ".max_nodes_total") + autoscaling.set_prop("maxPodGracePeriodSeconds", AAZIntType, ".max_pod_grace_period") + autoscaling.set_prop("podPriorityThreshold", AAZIntType, ".pod_priority_threshold") + + etcd = _builder.get(".properties.etcd") + if etcd is not None: + etcd.set_prop("dataEncryption", AAZObjectType) + + data_encryption = _builder.get(".properties.etcd.dataEncryption") + if data_encryption is not None: + data_encryption.set_prop("customerManaged", AAZObjectType) + + customer_managed = _builder.get(".properties.etcd.dataEncryption.customerManaged") + if customer_managed is not None: + customer_managed.set_prop("kms", AAZObjectType) + + kms = _builder.get(".properties.etcd.dataEncryption.customerManaged.kms") + if kms is not None: + kms.set_prop("activeKey", AAZObjectType, ".", typ_kwargs={"flags": {"required": True}}) + + active_key = _builder.get(".properties.etcd.dataEncryption.customerManaged.kms.activeKey") + if active_key is not None: + active_key.set_prop("version", AAZStrType, ".kms_active_key_version", typ_kwargs={"flags": {"required": True}}) + + image_digest_mirrors = _builder.get(".properties.imageDigestMirrors") + if image_digest_mirrors is not None: + image_digest_mirrors.set_elements(AAZObjectType, ".") + + _elements = _builder.get(".properties.imageDigestMirrors[]") + if _elements is not None: + _elements.set_prop("mirrors", AAZListType, ".mirrors", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("source", AAZStrType, ".source", typ_kwargs={"flags": {"required": True}}) + + mirrors = _builder.get(".properties.imageDigestMirrors[].mirrors") + if mirrors is not None: + mirrors.set_elements(AAZStrType, ".") + + platform = _builder.get(".properties.platform") + if platform is not None: + platform.set_prop("containerRegistry", AAZObjectType) + platform.set_prop("operatorsAuthentication", AAZObjectType, ".operators_authentication", typ_kwargs={"flags": {"required": True}}) + + container_registry = _builder.get(".properties.platform.containerRegistry") + if container_registry is not None: + container_registry.set_prop("managedIdentity", AAZStrType, ".container_registry_managed_identity") + + operators_authentication = _builder.get(".properties.platform.operatorsAuthentication") + if operators_authentication is not None: + operators_authentication.set_prop("userAssignedIdentities", AAZObjectType, ".user_assigned_identities", typ_kwargs={"flags": {"required": True}}) + + user_assigned_identities = _builder.get(".properties.platform.operatorsAuthentication.userAssignedIdentities") + if user_assigned_identities is not None: + user_assigned_identities.set_prop("controlPlaneOperators", AAZDictType, ".control_plane_operators", typ_kwargs={"flags": {"required": True}}) + user_assigned_identities.set_prop("dataPlaneOperators", AAZDictType, ".data_plane_operators", typ_kwargs={"flags": {"required": True}}) + user_assigned_identities.set_prop("serviceManagedIdentity", AAZStrType, ".service_managed_identity", typ_kwargs={"flags": {"required": True}}) + + control_plane_operators = _builder.get(".properties.platform.operatorsAuthentication.userAssignedIdentities.controlPlaneOperators") + if control_plane_operators is not None: + control_plane_operators.set_elements(AAZStrType, ".") + + data_plane_operators = _builder.get(".properties.platform.operatorsAuthentication.userAssignedIdentities.dataPlaneOperators") + if data_plane_operators is not None: + data_plane_operators.set_elements(AAZStrType, ".") + + version = _builder.get(".properties.version") + if version is not None: + version.set_prop("channelGroup", AAZStrType, ".channel_group") + version.set_prop("id", AAZStrType, ".version", typ_kwargs={"flags": {"required": True}}) + + 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_hcp_open_shift_cluster_read = None + + @classmethod + def _build_schema_hcp_open_shift_cluster_read(cls, _schema): + if cls._schema_hcp_open_shift_cluster_read is not None: + _schema.id = cls._schema_hcp_open_shift_cluster_read.id + _schema.identity = cls._schema_hcp_open_shift_cluster_read.identity + _schema.location = cls._schema_hcp_open_shift_cluster_read.location + _schema.name = cls._schema_hcp_open_shift_cluster_read.name + _schema.properties = cls._schema_hcp_open_shift_cluster_read.properties + _schema.system_data = cls._schema_hcp_open_shift_cluster_read.system_data + _schema.tags = cls._schema_hcp_open_shift_cluster_read.tags + _schema.type = cls._schema_hcp_open_shift_cluster_read.type + return + + cls._schema_hcp_open_shift_cluster_read = _schema_hcp_open_shift_cluster_read = AAZObjectType() + + hcp_open_shift_cluster_read = _schema_hcp_open_shift_cluster_read + hcp_open_shift_cluster_read.id = AAZStrType( + flags={"read_only": True}, + ) + hcp_open_shift_cluster_read.identity = AAZIdentityObjectType() + hcp_open_shift_cluster_read.location = AAZStrType( + flags={"required": True}, + ) + hcp_open_shift_cluster_read.name = AAZStrType( + flags={"read_only": True}, + ) + hcp_open_shift_cluster_read.properties = AAZObjectType() + hcp_open_shift_cluster_read.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + hcp_open_shift_cluster_read.tags = AAZDictType() + hcp_open_shift_cluster_read.type = AAZStrType( + flags={"read_only": True}, + ) + + identity = _schema_hcp_open_shift_cluster_read.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType( + flags={"required": True}, + ) + identity.user_assigned_identities = AAZDictType( + serialized_name="userAssignedIdentities", + ) + + user_assigned_identities = _schema_hcp_open_shift_cluster_read.identity.user_assigned_identities + user_assigned_identities.Element = AAZObjectType( + nullable=True, + ) + + _element = _schema_hcp_open_shift_cluster_read.identity.user_assigned_identities.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + _element.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + + properties = _schema_hcp_open_shift_cluster_read.properties + properties.api = AAZObjectType() + properties.autoscaling = AAZObjectType() + properties.cluster_image_registry = AAZObjectType( + serialized_name="clusterImageRegistry", + ) + properties.console = AAZObjectType( + flags={"read_only": True}, + ) + properties.crypto_restrictions = AAZStrType( + serialized_name="cryptoRestrictions", + ) + properties.dns = AAZObjectType() + properties.etcd = AAZObjectType() + properties.image_digest_mirrors = AAZListType( + serialized_name="imageDigestMirrors", + ) + properties.ingress = AAZObjectType() + properties.network = AAZObjectType() + properties.node_drain_timeout_minutes = AAZIntType( + serialized_name="nodeDrainTimeoutMinutes", + ) + properties.platform = AAZObjectType( + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.status = AAZObjectType( + flags={"read_only": True}, + ) + properties.version = AAZObjectType( + flags={"required": True}, + ) + + api = _schema_hcp_open_shift_cluster_read.properties.api + api.authorized_cidrs = AAZListType( + serialized_name="authorizedCidrs", + ) + api.url = AAZStrType( + flags={"read_only": True}, + ) + api.visibility = AAZStrType() + + authorized_cidrs = _schema_hcp_open_shift_cluster_read.properties.api.authorized_cidrs + authorized_cidrs.Element = AAZStrType() + + autoscaling = _schema_hcp_open_shift_cluster_read.properties.autoscaling + autoscaling.max_node_provision_time_seconds = AAZIntType( + serialized_name="maxNodeProvisionTimeSeconds", + ) + autoscaling.max_nodes_total = AAZIntType( + serialized_name="maxNodesTotal", + ) + autoscaling.max_pod_grace_period_seconds = AAZIntType( + serialized_name="maxPodGracePeriodSeconds", + ) + autoscaling.pod_priority_threshold = AAZIntType( + serialized_name="podPriorityThreshold", + ) + + cluster_image_registry = _schema_hcp_open_shift_cluster_read.properties.cluster_image_registry + cluster_image_registry.state = AAZStrType() + + console = _schema_hcp_open_shift_cluster_read.properties.console + console.url = AAZStrType( + flags={"read_only": True}, + ) + + dns = _schema_hcp_open_shift_cluster_read.properties.dns + dns.base_domain = AAZStrType( + serialized_name="baseDomain", + flags={"read_only": True}, + ) + dns.base_domain_prefix = AAZStrType( + serialized_name="baseDomainPrefix", + ) + + etcd = _schema_hcp_open_shift_cluster_read.properties.etcd + etcd.data_encryption = AAZObjectType( + serialized_name="dataEncryption", + ) + + data_encryption = _schema_hcp_open_shift_cluster_read.properties.etcd.data_encryption + data_encryption.customer_managed = AAZObjectType( + serialized_name="customerManaged", + ) + data_encryption.key_management_mode = AAZStrType( + serialized_name="keyManagementMode", + flags={"required": True}, + ) + + customer_managed = _schema_hcp_open_shift_cluster_read.properties.etcd.data_encryption.customer_managed + customer_managed.encryption_type = AAZStrType( + serialized_name="encryptionType", + ) + customer_managed.kms = AAZObjectType() + + kms = _schema_hcp_open_shift_cluster_read.properties.etcd.data_encryption.customer_managed.kms + kms.active_key = AAZObjectType( + serialized_name="activeKey", + flags={"required": True}, + ) + kms.key_vault_type = AAZStrType( + serialized_name="keyVaultType", + ) + kms.vault_name = AAZStrType( + serialized_name="vaultName", + flags={"required": True}, + ) + kms.visibility = AAZStrType( + flags={"required": True}, + ) + + active_key = _schema_hcp_open_shift_cluster_read.properties.etcd.data_encryption.customer_managed.kms.active_key + active_key.name = AAZStrType( + flags={"required": True}, + ) + active_key.version = AAZStrType( + flags={"required": True}, + ) + + image_digest_mirrors = _schema_hcp_open_shift_cluster_read.properties.image_digest_mirrors + image_digest_mirrors.Element = AAZObjectType() + + _element = _schema_hcp_open_shift_cluster_read.properties.image_digest_mirrors.Element + _element.mirrors = AAZListType( + flags={"required": True}, + ) + _element.source = AAZStrType( + flags={"required": True}, + ) + + mirrors = _schema_hcp_open_shift_cluster_read.properties.image_digest_mirrors.Element.mirrors + mirrors.Element = AAZStrType() + + ingress = _schema_hcp_open_shift_cluster_read.properties.ingress + ingress.type = AAZStrType() + + network = _schema_hcp_open_shift_cluster_read.properties.network + network.host_prefix = AAZIntType( + serialized_name="hostPrefix", + ) + network.machine_cidr = AAZStrType( + serialized_name="machineCidr", + ) + network.network_type = AAZStrType( + serialized_name="networkType", + ) + network.pod_cidr = AAZStrType( + serialized_name="podCidr", + ) + network.service_cidr = AAZStrType( + serialized_name="serviceCidr", + ) + + platform = _schema_hcp_open_shift_cluster_read.properties.platform + platform.container_registry = AAZObjectType( + serialized_name="containerRegistry", + ) + platform.issuer_url = AAZStrType( + serialized_name="issuerUrl", + flags={"read_only": True}, + ) + platform.managed_resource_group = AAZStrType( + serialized_name="managedResourceGroup", + ) + platform.network_security_group_id = AAZStrType( + serialized_name="networkSecurityGroupId", + flags={"required": True}, + ) + platform.operators_authentication = AAZObjectType( + serialized_name="operatorsAuthentication", + flags={"required": True}, + ) + platform.outbound_type = AAZStrType( + serialized_name="outboundType", + ) + platform.subnet_id = AAZStrType( + serialized_name="subnetId", + flags={"required": True}, + ) + platform.vnet_integration_subnet_id = AAZStrType( + serialized_name="vnetIntegrationSubnetId", + flags={"required": True}, + ) + + container_registry = _schema_hcp_open_shift_cluster_read.properties.platform.container_registry + container_registry.managed_identity = AAZStrType( + serialized_name="managedIdentity", + ) + + operators_authentication = _schema_hcp_open_shift_cluster_read.properties.platform.operators_authentication + operators_authentication.user_assigned_identities = AAZObjectType( + serialized_name="userAssignedIdentities", + flags={"required": True}, + ) + + user_assigned_identities = _schema_hcp_open_shift_cluster_read.properties.platform.operators_authentication.user_assigned_identities + user_assigned_identities.control_plane_operators = AAZDictType( + serialized_name="controlPlaneOperators", + flags={"required": True}, + ) + user_assigned_identities.data_plane_operators = AAZDictType( + serialized_name="dataPlaneOperators", + flags={"required": True}, + ) + user_assigned_identities.service_managed_identity = AAZStrType( + serialized_name="serviceManagedIdentity", + flags={"required": True}, + ) + + control_plane_operators = _schema_hcp_open_shift_cluster_read.properties.platform.operators_authentication.user_assigned_identities.control_plane_operators + control_plane_operators.Element = AAZStrType() + + data_plane_operators = _schema_hcp_open_shift_cluster_read.properties.platform.operators_authentication.user_assigned_identities.data_plane_operators + data_plane_operators.Element = AAZStrType() + + status = _schema_hcp_open_shift_cluster_read.properties.status + status.active_versions = AAZListType( + serialized_name="activeVersions", + flags={"read_only": True}, + ) + status.conditions = AAZListType( + flags={"read_only": True}, + ) + + active_versions = _schema_hcp_open_shift_cluster_read.properties.status.active_versions + active_versions.Element = AAZObjectType() + + _element = _schema_hcp_open_shift_cluster_read.properties.status.active_versions.Element + _element.version = AAZStrType( + flags={"read_only": True}, + ) + + conditions = _schema_hcp_open_shift_cluster_read.properties.status.conditions + conditions.Element = AAZObjectType() + + _element = _schema_hcp_open_shift_cluster_read.properties.status.conditions.Element + _element.last_transition_time = AAZStrType( + serialized_name="lastTransitionTime", + flags={"read_only": True}, + ) + _element.message = AAZStrType( + flags={"read_only": True}, + ) + _element.reason = AAZStrType( + flags={"read_only": True}, + ) + _element.status = AAZStrType( + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"required": True}, + ) + + version = _schema_hcp_open_shift_cluster_read.properties.version + version.channel_group = AAZStrType( + serialized_name="channelGroup", + ) + version.id = AAZStrType( + flags={"required": True}, + ) + + system_data = _schema_hcp_open_shift_cluster_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_hcp_open_shift_cluster_read.tags + tags.Element = AAZStrType() + + _schema.id = cls._schema_hcp_open_shift_cluster_read.id + _schema.identity = cls._schema_hcp_open_shift_cluster_read.identity + _schema.location = cls._schema_hcp_open_shift_cluster_read.location + _schema.name = cls._schema_hcp_open_shift_cluster_read.name + _schema.properties = cls._schema_hcp_open_shift_cluster_read.properties + _schema.system_data = cls._schema_hcp_open_shift_cluster_read.system_data + _schema.tags = cls._schema_hcp_open_shift_cluster_read.tags + _schema.type = cls._schema_hcp_open_shift_cluster_read.type + + +__all__ = ["Update"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_wait.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_wait.py new file mode 100644 index 00000000000..90cee511c2f --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_wait.py @@ -0,0 +1,501 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "aro hcp cluster wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}", "2026-10-01"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.name = AAZStrArg( + options=["-n", "--name"], + help="The name of the Azure Red Hat OpenShift with hosted control plane cluster", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,52}[a-zA-Z0-9])?$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.HcpOpenShiftClustersGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class HcpOpenShiftClustersGet(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.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "hcpOpenShiftClusterName", self.ctx.args.name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.identity = AAZIdentityObjectType() + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType() + _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}, + ) + + identity = cls._schema_on_200.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType( + flags={"required": True}, + ) + identity.user_assigned_identities = AAZDictType( + serialized_name="userAssignedIdentities", + ) + + user_assigned_identities = cls._schema_on_200.identity.user_assigned_identities + user_assigned_identities.Element = AAZObjectType( + nullable=True, + ) + + _element = cls._schema_on_200.identity.user_assigned_identities.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + _element.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.api = AAZObjectType() + properties.autoscaling = AAZObjectType() + properties.cluster_image_registry = AAZObjectType( + serialized_name="clusterImageRegistry", + ) + properties.console = AAZObjectType( + flags={"read_only": True}, + ) + properties.crypto_restrictions = AAZStrType( + serialized_name="cryptoRestrictions", + ) + properties.dns = AAZObjectType() + properties.etcd = AAZObjectType() + properties.image_digest_mirrors = AAZListType( + serialized_name="imageDigestMirrors", + ) + properties.ingress = AAZObjectType() + properties.network = AAZObjectType() + properties.node_drain_timeout_minutes = AAZIntType( + serialized_name="nodeDrainTimeoutMinutes", + ) + properties.platform = AAZObjectType( + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.status = AAZObjectType( + flags={"read_only": True}, + ) + properties.version = AAZObjectType( + flags={"required": True}, + ) + + api = cls._schema_on_200.properties.api + api.authorized_cidrs = AAZListType( + serialized_name="authorizedCidrs", + ) + api.url = AAZStrType( + flags={"read_only": True}, + ) + api.visibility = AAZStrType() + + authorized_cidrs = cls._schema_on_200.properties.api.authorized_cidrs + authorized_cidrs.Element = AAZStrType() + + autoscaling = cls._schema_on_200.properties.autoscaling + autoscaling.max_node_provision_time_seconds = AAZIntType( + serialized_name="maxNodeProvisionTimeSeconds", + ) + autoscaling.max_nodes_total = AAZIntType( + serialized_name="maxNodesTotal", + ) + autoscaling.max_pod_grace_period_seconds = AAZIntType( + serialized_name="maxPodGracePeriodSeconds", + ) + autoscaling.pod_priority_threshold = AAZIntType( + serialized_name="podPriorityThreshold", + ) + + cluster_image_registry = cls._schema_on_200.properties.cluster_image_registry + cluster_image_registry.state = AAZStrType() + + console = cls._schema_on_200.properties.console + console.url = AAZStrType( + flags={"read_only": True}, + ) + + dns = cls._schema_on_200.properties.dns + dns.base_domain = AAZStrType( + serialized_name="baseDomain", + flags={"read_only": True}, + ) + dns.base_domain_prefix = AAZStrType( + serialized_name="baseDomainPrefix", + ) + + etcd = cls._schema_on_200.properties.etcd + etcd.data_encryption = AAZObjectType( + serialized_name="dataEncryption", + ) + + data_encryption = cls._schema_on_200.properties.etcd.data_encryption + data_encryption.customer_managed = AAZObjectType( + serialized_name="customerManaged", + ) + data_encryption.key_management_mode = AAZStrType( + serialized_name="keyManagementMode", + flags={"required": True}, + ) + + customer_managed = cls._schema_on_200.properties.etcd.data_encryption.customer_managed + customer_managed.encryption_type = AAZStrType( + serialized_name="encryptionType", + ) + customer_managed.kms = AAZObjectType() + + kms = cls._schema_on_200.properties.etcd.data_encryption.customer_managed.kms + kms.active_key = AAZObjectType( + serialized_name="activeKey", + flags={"required": True}, + ) + kms.key_vault_type = AAZStrType( + serialized_name="keyVaultType", + ) + kms.vault_name = AAZStrType( + serialized_name="vaultName", + flags={"required": True}, + ) + kms.visibility = AAZStrType( + flags={"required": True}, + ) + + active_key = cls._schema_on_200.properties.etcd.data_encryption.customer_managed.kms.active_key + active_key.name = AAZStrType( + flags={"required": True}, + ) + active_key.version = AAZStrType( + flags={"required": True}, + ) + + image_digest_mirrors = cls._schema_on_200.properties.image_digest_mirrors + image_digest_mirrors.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.image_digest_mirrors.Element + _element.mirrors = AAZListType( + flags={"required": True}, + ) + _element.source = AAZStrType( + flags={"required": True}, + ) + + mirrors = cls._schema_on_200.properties.image_digest_mirrors.Element.mirrors + mirrors.Element = AAZStrType() + + ingress = cls._schema_on_200.properties.ingress + ingress.type = AAZStrType() + + network = cls._schema_on_200.properties.network + network.host_prefix = AAZIntType( + serialized_name="hostPrefix", + ) + network.machine_cidr = AAZStrType( + serialized_name="machineCidr", + ) + network.network_type = AAZStrType( + serialized_name="networkType", + ) + network.pod_cidr = AAZStrType( + serialized_name="podCidr", + ) + network.service_cidr = AAZStrType( + serialized_name="serviceCidr", + ) + + platform = cls._schema_on_200.properties.platform + platform.container_registry = AAZObjectType( + serialized_name="containerRegistry", + ) + platform.issuer_url = AAZStrType( + serialized_name="issuerUrl", + flags={"read_only": True}, + ) + platform.managed_resource_group = AAZStrType( + serialized_name="managedResourceGroup", + ) + platform.network_security_group_id = AAZStrType( + serialized_name="networkSecurityGroupId", + flags={"required": True}, + ) + platform.operators_authentication = AAZObjectType( + serialized_name="operatorsAuthentication", + flags={"required": True}, + ) + platform.outbound_type = AAZStrType( + serialized_name="outboundType", + ) + platform.subnet_id = AAZStrType( + serialized_name="subnetId", + flags={"required": True}, + ) + platform.vnet_integration_subnet_id = AAZStrType( + serialized_name="vnetIntegrationSubnetId", + flags={"required": True}, + ) + + container_registry = cls._schema_on_200.properties.platform.container_registry + container_registry.managed_identity = AAZStrType( + serialized_name="managedIdentity", + ) + + operators_authentication = cls._schema_on_200.properties.platform.operators_authentication + operators_authentication.user_assigned_identities = AAZObjectType( + serialized_name="userAssignedIdentities", + flags={"required": True}, + ) + + user_assigned_identities = cls._schema_on_200.properties.platform.operators_authentication.user_assigned_identities + user_assigned_identities.control_plane_operators = AAZDictType( + serialized_name="controlPlaneOperators", + flags={"required": True}, + ) + user_assigned_identities.data_plane_operators = AAZDictType( + serialized_name="dataPlaneOperators", + flags={"required": True}, + ) + user_assigned_identities.service_managed_identity = AAZStrType( + serialized_name="serviceManagedIdentity", + flags={"required": True}, + ) + + control_plane_operators = cls._schema_on_200.properties.platform.operators_authentication.user_assigned_identities.control_plane_operators + control_plane_operators.Element = AAZStrType() + + data_plane_operators = cls._schema_on_200.properties.platform.operators_authentication.user_assigned_identities.data_plane_operators + data_plane_operators.Element = AAZStrType() + + status = cls._schema_on_200.properties.status + status.active_versions = AAZListType( + serialized_name="activeVersions", + flags={"read_only": True}, + ) + status.conditions = AAZListType( + flags={"read_only": True}, + ) + + active_versions = cls._schema_on_200.properties.status.active_versions + active_versions.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.status.active_versions.Element + _element.version = AAZStrType( + flags={"read_only": True}, + ) + + conditions = cls._schema_on_200.properties.status.conditions + conditions.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.status.conditions.Element + _element.last_transition_time = AAZStrType( + serialized_name="lastTransitionTime", + flags={"read_only": True}, + ) + _element.message = AAZStrType( + flags={"read_only": True}, + ) + _element.reason = AAZStrType( + flags={"read_only": True}, + ) + _element.status = AAZStrType( + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"required": True}, + ) + + version = cls._schema_on_200.properties.version + version.channel_group = AAZStrType( + serialized_name="channelGroup", + ) + version.id = AAZStrType( + flags={"required": True}, + ) + + 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 _WaitHelper: + """Helper class for Wait""" + + +__all__ = ["Wait"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/__cmd_group.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/__cmd_group.py new file mode 100644 index 00000000000..42b26d15bcc --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "aro hcp cluster external-auth", +) +class __CMDGroup(AAZCommandGroup): + """Manage Azure Red Hat OpenShift with hosted control plane external authentication + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/__init__.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/__init__.py new file mode 100644 index 00000000000..db73033039b --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/__init__.py @@ -0,0 +1,17 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._create import * +from ._delete import * +from ._list import * +from ._show import * +from ._update import * +from ._wait import * diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_create.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_create.py new file mode 100644 index 00000000000..87b41de874d --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_create.py @@ -0,0 +1,613 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "aro hcp cluster external-auth create", +) +class Create(AAZCommand): + """Create an Azure Red Hat OpenShift with hosted control plane external authentication instance + + :example: Create an external authentication provider + az aro hcp cluster external-auth create --resource-group MyResourceGroup --cluster-name MyCluster --name MyExternalAuth --issuer-url https://login.microsoftonline.com//v2.0 --issuer-audience --username-claim email --client client-id= component-name=console auth-client-namespace=openshift-console type=Confidential + """ + + _aaz_info = { + "version": "2026-10-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}/externalauths/{}", "2026-10-01"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.name = AAZStrArg( + options=["-n", "--name"], + help="The name of the External Authentication", + required=True, + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,13}[a-zA-Z0-9])?$", + ), + ) + _args_schema.cluster_name = AAZStrArg( + options=["-c", "--cluster-name"], + help="The name of the Azure Red Hat OpenShift with hosted control plane cluster", + required=True, + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,52}[a-zA-Z0-9])?$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + + # define Arg Group "Claim" + + _args_schema = cls._args_schema + _args_schema.validation_rules = AAZListArg( + options=["--validation-rules"], + arg_group="Claim", + help="The claim validation rules.", + ) + + validation_rules = cls._args_schema.validation_rules + validation_rules.Element = AAZObjectArg() + + _element = cls._args_schema.validation_rules.Element + _element.required_claim = AAZObjectArg( + options=["required-claim"], + help="The required claim rule to be applied.", + ) + _element.type = AAZStrArg( + options=["type"], + help="This configures the type of the validation rule. It defaults to \"RequiredClaim\"", + default="RequiredClaim", + enum={"RequiredClaim": "RequiredClaim"}, + ) + + required_claim = cls._args_schema.validation_rules.Element.required_claim + required_claim.claim = AAZStrArg( + options=["claim"], + help="Claim name for the validation profile claim is a required field that configures the name of the required claim.", + required=True, + fmt=AAZStrArgFormat( + min_length=1, + ), + ) + required_claim.required_value = AAZStrArg( + options=["required-value"], + help="Required value requiredValue is a required field that configures the value that 'claim' must have when taken from the incoming JWT claims. If the value in the JWT claims does not match, the token will be rejected for authentication.", + required=True, + fmt=AAZStrArgFormat( + min_length=1, + ), + ) + + # define Arg Group "Groups" + + _args_schema = cls._args_schema + _args_schema.claim = AAZStrArg( + options=["--claim"], + arg_group="Groups", + help="Claim name of the external profile", + fmt=AAZStrArgFormat( + max_length=256, + min_length=1, + ), + ) + _args_schema.prefix = AAZStrArg( + options=["--prefix"], + arg_group="Groups", + help="Prefix for the claim external profile. If this is specified, prefixPolicy will be set to \"Prefix\" by default.", + ) + + # define Arg Group "Issuer" + + _args_schema = cls._args_schema + _args_schema.issuer_audience = AAZListArg( + options=["--issuer-audience"], + arg_group="Issuer", + help="This configures the acceptable audiences for JWT tokens issued by the identity provider. At least one of the entries must match the 'aud' claim in the JWT token.", + fmt=AAZListArgFormat( + max_length=10, + min_length=1, + ), + ) + _args_schema.issuer_ca = AAZStrArg( + options=["--issuer-ca"], + arg_group="Issuer", + help="The issuer of the token. Certificate bundle to use to validate server certificates for the configured URL. It must be PEM encoded and when not specified, the system trust is used.", + ) + _args_schema.issuer_url = AAZStrArg( + options=["--issuer-url"], + arg_group="Issuer", + help="This configures the URL used to issue tokens by the identity provider. The Kubernetes API server determines how authentication tokens should be handled by matching the 'iss' claim in the JWT to the issuerURL of configured identity providers. issuerURL must use the 'https' scheme.", + ) + + issuer_audience = cls._args_schema.issuer_audience + issuer_audience.Element = AAZStrArg() + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.clients = AAZListArg( + options=["--clients"], + singular_options=["--client"], + arg_group="Properties", + help="External Auth OIDC clients. There must not be more than 20 entries and entries must have unique namespace/name pairs.", + fmt=AAZListArgFormat( + max_length=20, + ), + ) + + clients = cls._args_schema.clients + clients.Element = AAZObjectArg() + + _element = cls._args_schema.clients.Element + _element.client_id = AAZStrArg( + options=["client-id"], + help="External Auth client id. The clientId must appear in the audience field of the TokenIssuerProfile.", + required=True, + fmt=AAZStrArgFormat( + min_length=1, + ), + ) + _element.auth_client_namespace = AAZStrArg( + options=["auth-client-namespace"], + help="The namespace of the external Auth client. This specifies the namespace in which the platform component being configured to use the identity provider as an authentication mode is running. It is used in combination with name as a unique identifier.", + required=True, + fmt=AAZStrArgFormat( + max_length=63, + min_length=1, + ), + ) + _element.component_name = AAZStrArg( + options=["component-name"], + help="The name of the external auth client. This specifies the name of the platform component being configured to use the identity provider as an authentication mode. It is used in combination with namespace as a unique identifier.", + required=True, + fmt=AAZStrArgFormat( + max_length=256, + min_length=1, + ), + ) + _element.extra_scopes = AAZListArg( + options=["extra-scopes"], + singular_options=["extra-scope"], + help="External auth client scopes. This is useful if you have configured claim mappings that requires specific scopes to be requested beyond the standard OIDC scopes. When omitted, no additional scopes are requested.", + ) + _element.type = AAZStrArg( + options=["type"], + help="Determines the OIDC provider client type.", + required=True, + enum={"Confidential": "Confidential", "Public": "Public"}, + ) + + extra_scopes = cls._args_schema.clients.Element.extra_scopes + extra_scopes.Element = AAZStrArg() + + # define Arg Group "Username" + + _args_schema = cls._args_schema + _args_schema.username_claim = AAZStrArg( + options=["--username-claim"], + arg_group="Username", + help="Claim name of the external profile", + fmt=AAZStrArgFormat( + max_length=256, + min_length=1, + ), + ) + _args_schema.username_prefix = AAZStrArg( + options=["--username-prefix"], + arg_group="Username", + help="Prefix for the claim external profile. Must be set when the prefixPolicy field is set to 'Prefix' and must be unset otherwise.", + ) + _args_schema.username_prefix_policy = AAZStrArg( + options=["--username-prefix-policy"], + arg_group="Username", + help="Prefix policy is an optional field that configures how a prefix should be applied to the value of the JWT claim specified in the 'claim' field. Allowed values are 'Prefix', 'NoPrefix', and 'None'. If not specified, the default policy is 'None'. When set to 'Prefix', the value specified in the prefix field will be prepended to the value of the JWT claim. The prefix field must be set when prefixPolicy is 'Prefix'. When set to 'NoPrefix', no prefix will be prepended to the value of the JWT claim. When set to 'None', this means no opinion and the platform is left to choose any prefixes that are applied which is subject to change over time. Currently, the platform prepends `{issuerURL}#` to the value of the JWT claim when the claim is not 'email'. As an example, consider the following scenario: `prefix` is unset, `issuerURL` is set to `https://myoidc.tld`, the JWT claims include \"username\":\"userA\" and \"email\":\"userA", + enum={"NoPrefix": "NoPrefix", "None": "None", "Prefix": "Prefix"}, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.ExternalAuthsCreateOrUpdate(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 ExternalAuthsCreateOrUpdate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}/externalAuths/{externalAuthName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "externalAuthName", self.ctx.args.name, + required=True, + ), + **self.serialize_url_param( + "hcpOpenShiftClusterName", self.ctx.args.cluster_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + 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("properties", AAZObjectType) + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("claim", AAZObjectType, ".", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("clients", AAZListType, ".clients") + properties.set_prop("issuer", AAZObjectType, ".", typ_kwargs={"flags": {"required": True}}) + + claim = _builder.get(".properties.claim") + if claim is not None: + claim.set_prop("mappings", AAZObjectType, ".", typ_kwargs={"flags": {"required": True}}) + claim.set_prop("validationRules", AAZListType, ".validation_rules") + + mappings = _builder.get(".properties.claim.mappings") + if mappings is not None: + mappings.set_prop("groups", AAZObjectType) + mappings.set_prop("username", AAZObjectType, ".", typ_kwargs={"flags": {"required": True}}) + + groups = _builder.get(".properties.claim.mappings.groups") + if groups is not None: + groups.set_prop("claim", AAZStrType, ".claim", typ_kwargs={"flags": {"required": True}}) + groups.set_prop("prefix", AAZStrType, ".prefix") + + username = _builder.get(".properties.claim.mappings.username") + if username is not None: + username.set_prop("claim", AAZStrType, ".username_claim", typ_kwargs={"flags": {"required": True}}) + username.set_prop("prefix", AAZStrType, ".username_prefix") + username.set_prop("prefixPolicy", AAZStrType, ".username_prefix_policy") + + validation_rules = _builder.get(".properties.claim.validationRules") + if validation_rules is not None: + validation_rules.set_elements(AAZObjectType, ".") + + _elements = _builder.get(".properties.claim.validationRules[]") + if _elements is not None: + _elements.set_prop("requiredClaim", AAZObjectType, ".required_claim") + _elements.set_prop("type", AAZStrType, ".type") + + required_claim = _builder.get(".properties.claim.validationRules[].requiredClaim") + if required_claim is not None: + required_claim.set_prop("claim", AAZStrType, ".claim", typ_kwargs={"flags": {"required": True}}) + required_claim.set_prop("requiredValue", AAZStrType, ".required_value", typ_kwargs={"flags": {"required": True}}) + + clients = _builder.get(".properties.clients") + if clients is not None: + clients.set_elements(AAZObjectType, ".") + + _elements = _builder.get(".properties.clients[]") + if _elements is not None: + _elements.set_prop("clientId", AAZStrType, ".client_id", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("component", AAZObjectType, ".", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("extraScopes", AAZListType, ".extra_scopes") + _elements.set_prop("type", AAZStrType, ".type", typ_kwargs={"flags": {"required": True}}) + + component = _builder.get(".properties.clients[].component") + if component is not None: + component.set_prop("authClientNamespace", AAZStrType, ".auth_client_namespace", typ_kwargs={"flags": {"required": True}}) + component.set_prop("name", AAZStrType, ".component_name", typ_kwargs={"flags": {"required": True}}) + + extra_scopes = _builder.get(".properties.clients[].extraScopes") + if extra_scopes is not None: + extra_scopes.set_elements(AAZStrType, ".") + + issuer = _builder.get(".properties.issuer") + if issuer is not None: + issuer.set_prop("audiences", AAZListType, ".issuer_audience", typ_kwargs={"flags": {"required": True}}) + issuer.set_prop("ca", AAZStrType, ".issuer_ca") + issuer.set_prop("url", AAZStrType, ".issuer_url", typ_kwargs={"flags": {"required": True}}) + + audiences = _builder.get(".properties.issuer.audiences") + if audiences is not None: + audiences.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.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.properties = AAZObjectType() + _schema_on_200_201.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200_201.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200_201.properties + properties.claim = AAZObjectType( + flags={"required": True}, + ) + properties.clients = AAZListType() + properties.issuer = AAZObjectType( + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.status = AAZObjectType( + flags={"read_only": True}, + ) + + claim = cls._schema_on_200_201.properties.claim + claim.mappings = AAZObjectType( + flags={"required": True}, + ) + claim.validation_rules = AAZListType( + serialized_name="validationRules", + ) + + mappings = cls._schema_on_200_201.properties.claim.mappings + mappings.groups = AAZObjectType() + mappings.username = AAZObjectType( + flags={"required": True}, + ) + + groups = cls._schema_on_200_201.properties.claim.mappings.groups + groups.claim = AAZStrType( + flags={"required": True}, + ) + groups.prefix = AAZStrType() + + username = cls._schema_on_200_201.properties.claim.mappings.username + username.claim = AAZStrType( + flags={"required": True}, + ) + username.prefix = AAZStrType() + username.prefix_policy = AAZStrType( + serialized_name="prefixPolicy", + ) + + validation_rules = cls._schema_on_200_201.properties.claim.validation_rules + validation_rules.Element = AAZObjectType() + + _element = cls._schema_on_200_201.properties.claim.validation_rules.Element + _element.required_claim = AAZObjectType( + serialized_name="requiredClaim", + ) + _element.type = AAZStrType() + + required_claim = cls._schema_on_200_201.properties.claim.validation_rules.Element.required_claim + required_claim.claim = AAZStrType( + flags={"required": True}, + ) + required_claim.required_value = AAZStrType( + serialized_name="requiredValue", + flags={"required": True}, + ) + + clients = cls._schema_on_200_201.properties.clients + clients.Element = AAZObjectType() + + _element = cls._schema_on_200_201.properties.clients.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"required": True}, + ) + _element.component = AAZObjectType( + flags={"required": True}, + ) + _element.extra_scopes = AAZListType( + serialized_name="extraScopes", + ) + _element.type = AAZStrType( + flags={"required": True}, + ) + + component = cls._schema_on_200_201.properties.clients.Element.component + component.auth_client_namespace = AAZStrType( + serialized_name="authClientNamespace", + flags={"required": True}, + ) + component.name = AAZStrType( + flags={"required": True}, + ) + + extra_scopes = cls._schema_on_200_201.properties.clients.Element.extra_scopes + extra_scopes.Element = AAZStrType() + + issuer = cls._schema_on_200_201.properties.issuer + issuer.audiences = AAZListType( + flags={"required": True}, + ) + issuer.ca = AAZStrType() + issuer.url = AAZStrType( + flags={"required": True}, + ) + + audiences = cls._schema_on_200_201.properties.issuer.audiences + audiences.Element = AAZStrType() + + status = cls._schema_on_200_201.properties.status + status.conditions = AAZListType( + flags={"read_only": True}, + ) + + conditions = cls._schema_on_200_201.properties.status.conditions + conditions.Element = AAZObjectType() + + _element = cls._schema_on_200_201.properties.status.conditions.Element + _element.last_transition_time = AAZStrType( + serialized_name="lastTransitionTime", + flags={"read_only": True}, + ) + _element.message = AAZStrType( + flags={"read_only": True}, + ) + _element.reason = AAZStrType( + flags={"read_only": True}, + ) + _element.status = AAZStrType( + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"required": True}, + ) + + 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", + ) + + return cls._schema_on_200_201 + + +class _CreateHelper: + """Helper class for Create""" + + +__all__ = ["Create"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_delete.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_delete.py new file mode 100644 index 00000000000..3b705f971a9 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_delete.py @@ -0,0 +1,179 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "aro hcp cluster external-auth delete", + confirmation="Are you sure you want to perform this operation?", +) +class Delete(AAZCommand): + """Delete an Azure Red Hat OpenShift with hosted control plane external authentication instance + + :example: Delete an external authentication provider + az aro hcp cluster external-auth delete --resource-group MyResourceGroup --cluster-name MyCluster --name MyExternalAuth --yes + """ + + _aaz_info = { + "version": "2026-10-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}/externalauths/{}", "2026-10-01"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.name = AAZStrArg( + options=["-n", "--name"], + help="The name of the External Authentication", + required=True, + id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,13}[a-zA-Z0-9])?$", + ), + ) + _args_schema.cluster_name = AAZStrArg( + options=["-c", "--cluster-name"], + help="The name of the Azure Red Hat OpenShift with hosted control plane cluster", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,52}[a-zA-Z0-9])?$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.ExternalAuthsDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class ExternalAuthsDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}/externalAuths/{externalAuthName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "externalAuthName", self.ctx.args.name, + required=True, + ), + **self.serialize_url_param( + "hcpOpenShiftClusterName", self.ctx.args.cluster_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + required=True, + ), + } + return parameters + + def on_204(self, session): + pass + + def on_200_201(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_list.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_list.py new file mode 100644 index 00000000000..34c514dcade --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_list.py @@ -0,0 +1,344 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "aro hcp cluster external-auth list", +) +class List(AAZCommand): + """List Azure Red Hat OpenShift with hosted control plane external authentication instances + + :example: List external authentication providers of a cluster + az aro hcp cluster external-auth list --resource-group MyResourceGroup --cluster-name MyCluster + """ + + _aaz_info = { + "version": "2026-10-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}/externalauths", "2026-10-01"], + ] + } + + AZ_SUPPORT_PAGINATION = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.cluster_name = AAZStrArg( + options=["-c", "--cluster-name"], + help="The name of the Azure Red Hat OpenShift with hosted control plane cluster", + required=True, + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,52}[a-zA-Z0-9])?$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.ExternalAuthsListByParent(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 ExternalAuthsListByParent(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.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}/externalAuths", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "hcpOpenShiftClusterName", self.ctx.args.cluster_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType() + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.claim = AAZObjectType( + flags={"required": True}, + ) + properties.clients = AAZListType() + properties.issuer = AAZObjectType( + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.status = AAZObjectType( + flags={"read_only": True}, + ) + + claim = cls._schema_on_200.value.Element.properties.claim + claim.mappings = AAZObjectType( + flags={"required": True}, + ) + claim.validation_rules = AAZListType( + serialized_name="validationRules", + ) + + mappings = cls._schema_on_200.value.Element.properties.claim.mappings + mappings.groups = AAZObjectType() + mappings.username = AAZObjectType( + flags={"required": True}, + ) + + groups = cls._schema_on_200.value.Element.properties.claim.mappings.groups + groups.claim = AAZStrType( + flags={"required": True}, + ) + groups.prefix = AAZStrType() + + username = cls._schema_on_200.value.Element.properties.claim.mappings.username + username.claim = AAZStrType( + flags={"required": True}, + ) + username.prefix = AAZStrType() + username.prefix_policy = AAZStrType( + serialized_name="prefixPolicy", + ) + + validation_rules = cls._schema_on_200.value.Element.properties.claim.validation_rules + validation_rules.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.claim.validation_rules.Element + _element.required_claim = AAZObjectType( + serialized_name="requiredClaim", + ) + _element.type = AAZStrType() + + required_claim = cls._schema_on_200.value.Element.properties.claim.validation_rules.Element.required_claim + required_claim.claim = AAZStrType( + flags={"required": True}, + ) + required_claim.required_value = AAZStrType( + serialized_name="requiredValue", + flags={"required": True}, + ) + + clients = cls._schema_on_200.value.Element.properties.clients + clients.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.clients.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"required": True}, + ) + _element.component = AAZObjectType( + flags={"required": True}, + ) + _element.extra_scopes = AAZListType( + serialized_name="extraScopes", + ) + _element.type = AAZStrType( + flags={"required": True}, + ) + + component = cls._schema_on_200.value.Element.properties.clients.Element.component + component.auth_client_namespace = AAZStrType( + serialized_name="authClientNamespace", + flags={"required": True}, + ) + component.name = AAZStrType( + flags={"required": True}, + ) + + extra_scopes = cls._schema_on_200.value.Element.properties.clients.Element.extra_scopes + extra_scopes.Element = AAZStrType() + + issuer = cls._schema_on_200.value.Element.properties.issuer + issuer.audiences = AAZListType( + flags={"required": True}, + ) + issuer.ca = AAZStrType() + issuer.url = AAZStrType( + flags={"required": True}, + ) + + audiences = cls._schema_on_200.value.Element.properties.issuer.audiences + audiences.Element = AAZStrType() + + status = cls._schema_on_200.value.Element.properties.status + status.conditions = AAZListType( + flags={"read_only": True}, + ) + + conditions = cls._schema_on_200.value.Element.properties.status.conditions + conditions.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.status.conditions.Element + _element.last_transition_time = AAZStrType( + serialized_name="lastTransitionTime", + flags={"read_only": True}, + ) + _element.message = AAZStrType( + flags={"read_only": True}, + ) + _element.reason = AAZStrType( + flags={"read_only": True}, + ) + _element.status = AAZStrType( + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"required": True}, + ) + + 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", + ) + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_show.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_show.py new file mode 100644 index 00000000000..a8a109ca3be --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_show.py @@ -0,0 +1,345 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "aro hcp cluster external-auth show", +) +class Show(AAZCommand): + """Get an Azure Red Hat OpenShift with hosted control plane external authentication instance + + :example: Show an external authentication provider + az aro hcp cluster external-auth show --resource-group MyResourceGroup --cluster-name MyCluster --name MyExternalAuth + """ + + _aaz_info = { + "version": "2026-10-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}/externalauths/{}", "2026-10-01"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.name = AAZStrArg( + options=["-n", "--name"], + help="The name of the External Authentication", + required=True, + id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,13}[a-zA-Z0-9])?$", + ), + ) + _args_schema.cluster_name = AAZStrArg( + options=["-c", "--cluster-name"], + help="The name of the Azure Red Hat OpenShift with hosted control plane cluster", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,52}[a-zA-Z0-9])?$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.ExternalAuthsGet(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 ExternalAuthsGet(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.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}/externalAuths/{externalAuthName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "externalAuthName", self.ctx.args.name, + required=True, + ), + **self.serialize_url_param( + "hcpOpenShiftClusterName", self.ctx.args.cluster_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType() + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.claim = AAZObjectType( + flags={"required": True}, + ) + properties.clients = AAZListType() + properties.issuer = AAZObjectType( + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.status = AAZObjectType( + flags={"read_only": True}, + ) + + claim = cls._schema_on_200.properties.claim + claim.mappings = AAZObjectType( + flags={"required": True}, + ) + claim.validation_rules = AAZListType( + serialized_name="validationRules", + ) + + mappings = cls._schema_on_200.properties.claim.mappings + mappings.groups = AAZObjectType() + mappings.username = AAZObjectType( + flags={"required": True}, + ) + + groups = cls._schema_on_200.properties.claim.mappings.groups + groups.claim = AAZStrType( + flags={"required": True}, + ) + groups.prefix = AAZStrType() + + username = cls._schema_on_200.properties.claim.mappings.username + username.claim = AAZStrType( + flags={"required": True}, + ) + username.prefix = AAZStrType() + username.prefix_policy = AAZStrType( + serialized_name="prefixPolicy", + ) + + validation_rules = cls._schema_on_200.properties.claim.validation_rules + validation_rules.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.claim.validation_rules.Element + _element.required_claim = AAZObjectType( + serialized_name="requiredClaim", + ) + _element.type = AAZStrType() + + required_claim = cls._schema_on_200.properties.claim.validation_rules.Element.required_claim + required_claim.claim = AAZStrType( + flags={"required": True}, + ) + required_claim.required_value = AAZStrType( + serialized_name="requiredValue", + flags={"required": True}, + ) + + clients = cls._schema_on_200.properties.clients + clients.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.clients.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"required": True}, + ) + _element.component = AAZObjectType( + flags={"required": True}, + ) + _element.extra_scopes = AAZListType( + serialized_name="extraScopes", + ) + _element.type = AAZStrType( + flags={"required": True}, + ) + + component = cls._schema_on_200.properties.clients.Element.component + component.auth_client_namespace = AAZStrType( + serialized_name="authClientNamespace", + flags={"required": True}, + ) + component.name = AAZStrType( + flags={"required": True}, + ) + + extra_scopes = cls._schema_on_200.properties.clients.Element.extra_scopes + extra_scopes.Element = AAZStrType() + + issuer = cls._schema_on_200.properties.issuer + issuer.audiences = AAZListType( + flags={"required": True}, + ) + issuer.ca = AAZStrType() + issuer.url = AAZStrType( + flags={"required": True}, + ) + + audiences = cls._schema_on_200.properties.issuer.audiences + audiences.Element = AAZStrType() + + status = cls._schema_on_200.properties.status + status.conditions = AAZListType( + flags={"read_only": True}, + ) + + conditions = cls._schema_on_200.properties.status.conditions + conditions.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.status.conditions.Element + _element.last_transition_time = AAZStrType( + serialized_name="lastTransitionTime", + flags={"read_only": True}, + ) + _element.message = AAZStrType( + flags={"read_only": True}, + ) + _element.reason = AAZStrType( + flags={"read_only": True}, + ) + _element.status = AAZStrType( + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"required": True}, + ) + + 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", + ) + + return cls._schema_on_200 + + +class _ShowHelper: + """Helper class for Show""" + + +__all__ = ["Show"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_update.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_update.py new file mode 100644 index 00000000000..00d7caeef49 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_update.py @@ -0,0 +1,772 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "aro hcp cluster external-auth update", +) +class Update(AAZCommand): + """Update an Azure Red Hat OpenShift with hosted control plane external authentication instance + + :example: Update the username claim of an external authentication provider + az aro hcp cluster external-auth update --resource-group MyResourceGroup --cluster-name MyCluster --name MyExternalAuth --username-claim sub + + :example: Update an external authentication provider to remove any existing clients + az aro hcp cluster external-auth update --resource-group MyResourceGroup --cluster-name MyCluster --name MyExternalAuth --clients "[]" + """ + + _aaz_info = { + "version": "2026-10-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}/externalauths/{}", "2026-10-01"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + AZ_SUPPORT_GENERIC_UPDATE = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.name = AAZStrArg( + options=["-n", "--name"], + help="The name of the External Authentication", + required=True, + id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,13}[a-zA-Z0-9])?$", + ), + ) + _args_schema.cluster_name = AAZStrArg( + options=["-c", "--cluster-name"], + help="The name of the Azure Red Hat OpenShift with hosted control plane cluster", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,52}[a-zA-Z0-9])?$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + + # define Arg Group "Claim" + + _args_schema = cls._args_schema + _args_schema.validation_rules = AAZListArg( + options=["--validation-rules"], + arg_group="Claim", + help="The claim validation rules.", + nullable=True, + ) + + validation_rules = cls._args_schema.validation_rules + validation_rules.Element = AAZObjectArg( + nullable=True, + ) + + _element = cls._args_schema.validation_rules.Element + _element.required_claim = AAZObjectArg( + options=["required-claim"], + help="The required claim rule to be applied.", + nullable=True, + ) + _element.type = AAZStrArg( + options=["type"], + help="This configures the type of the validation rule. It defaults to \"RequiredClaim\"", + nullable=True, + enum={"RequiredClaim": "RequiredClaim"}, + ) + + required_claim = cls._args_schema.validation_rules.Element.required_claim + required_claim.claim = AAZStrArg( + options=["claim"], + help="Claim name for the validation profile claim is a required field that configures the name of the required claim.", + fmt=AAZStrArgFormat( + min_length=1, + ), + ) + required_claim.required_value = AAZStrArg( + options=["required-value"], + help="Required value requiredValue is a required field that configures the value that 'claim' must have when taken from the incoming JWT claims. If the value in the JWT claims does not match, the token will be rejected for authentication.", + fmt=AAZStrArgFormat( + min_length=1, + ), + ) + + # define Arg Group "Groups" + + _args_schema = cls._args_schema + _args_schema.claim = AAZStrArg( + options=["--claim"], + arg_group="Groups", + help="Claim name of the external profile", + fmt=AAZStrArgFormat( + max_length=256, + min_length=1, + ), + ) + _args_schema.prefix = AAZStrArg( + options=["--prefix"], + arg_group="Groups", + help="Prefix for the claim external profile. If this is specified, prefixPolicy will be set to \"Prefix\" by default.", + nullable=True, + ) + + # define Arg Group "Issuer" + + _args_schema = cls._args_schema + _args_schema.issuer_audience = AAZListArg( + options=["--issuer-audience"], + arg_group="Issuer", + help="This configures the acceptable audiences for JWT tokens issued by the identity provider. At least one of the entries must match the 'aud' claim in the JWT token.", + fmt=AAZListArgFormat( + max_length=10, + min_length=1, + ), + ) + _args_schema.issuer_ca = AAZStrArg( + options=["--issuer-ca"], + arg_group="Issuer", + help="The issuer of the token. Certificate bundle to use to validate server certificates for the configured URL. It must be PEM encoded and when not specified, the system trust is used.", + nullable=True, + ) + _args_schema.issuer_url = AAZStrArg( + options=["--issuer-url"], + arg_group="Issuer", + help="This configures the URL used to issue tokens by the identity provider. The Kubernetes API server determines how authentication tokens should be handled by matching the 'iss' claim in the JWT to the issuerURL of configured identity providers. issuerURL must use the 'https' scheme.", + ) + + issuer_audience = cls._args_schema.issuer_audience + issuer_audience.Element = AAZStrArg( + nullable=True, + ) + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.clients = AAZListArg( + options=["--clients"], + singular_options=["--client"], + arg_group="Properties", + help="External Auth OIDC clients. There must not be more than 20 entries and entries must have unique namespace/name pairs.", + nullable=True, + fmt=AAZListArgFormat( + max_length=20, + ), + ) + + clients = cls._args_schema.clients + clients.Element = AAZObjectArg( + nullable=True, + ) + + _element = cls._args_schema.clients.Element + _element.client_id = AAZStrArg( + options=["client-id"], + help="External Auth client id. The clientId must appear in the audience field of the TokenIssuerProfile.", + fmt=AAZStrArgFormat( + min_length=1, + ), + ) + _element.auth_client_namespace = AAZStrArg( + options=["auth-client-namespace"], + help="The namespace of the external Auth client. This specifies the namespace in which the platform component being configured to use the identity provider as an authentication mode is running. It is used in combination with name as a unique identifier.", + fmt=AAZStrArgFormat( + max_length=63, + min_length=1, + ), + ) + _element.component_name = AAZStrArg( + options=["component-name"], + help="The name of the external auth client. This specifies the name of the platform component being configured to use the identity provider as an authentication mode. It is used in combination with namespace as a unique identifier.", + fmt=AAZStrArgFormat( + max_length=256, + min_length=1, + ), + ) + _element.extra_scopes = AAZListArg( + options=["extra-scopes"], + singular_options=["extra-scope"], + help="External auth client scopes. This is useful if you have configured claim mappings that requires specific scopes to be requested beyond the standard OIDC scopes. When omitted, no additional scopes are requested.", + nullable=True, + ) + _element.type = AAZStrArg( + options=["type"], + help="Determines the OIDC provider client type.", + enum={"Confidential": "Confidential", "Public": "Public"}, + ) + + extra_scopes = cls._args_schema.clients.Element.extra_scopes + extra_scopes.Element = AAZStrArg( + nullable=True, + ) + + # define Arg Group "Username" + + _args_schema = cls._args_schema + _args_schema.username_claim = AAZStrArg( + options=["--username-claim"], + arg_group="Username", + help="Claim name of the external profile", + fmt=AAZStrArgFormat( + max_length=256, + min_length=1, + ), + ) + _args_schema.username_prefix = AAZStrArg( + options=["--username-prefix"], + arg_group="Username", + help="Prefix for the claim external profile. Must be set when the prefixPolicy field is set to 'Prefix' and must be unset otherwise.", + nullable=True, + ) + _args_schema.username_prefix_policy = AAZStrArg( + options=["--username-prefix-policy"], + arg_group="Username", + help="Prefix policy is an optional field that configures how a prefix should be applied to the value of the JWT claim specified in the 'claim' field. Allowed values are 'Prefix', 'NoPrefix', and 'None'. If not specified, the default policy is 'None'. When set to 'Prefix', the value specified in the prefix field will be prepended to the value of the JWT claim. The prefix field must be set when prefixPolicy is 'Prefix'. When set to 'NoPrefix', no prefix will be prepended to the value of the JWT claim. When set to 'None', this means no opinion and the platform is left to choose any prefixes that are applied which is subject to change over time. Currently, the platform prepends `{issuerURL}#` to the value of the JWT claim when the claim is not 'email'. As an example, consider the following scenario: `prefix` is unset, `issuerURL` is set to `https://myoidc.tld`, the JWT claims include \"username\":\"userA\" and \"email\":\"userA", + nullable=True, + enum={"NoPrefix": "NoPrefix", "None": "None", "Prefix": "Prefix"}, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.ExternalAuthsGet(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) + yield self.ExternalAuthsCreateOrUpdate(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 ExternalAuthsGet(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.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}/externalAuths/{externalAuthName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "externalAuthName", self.ctx.args.name, + required=True, + ), + **self.serialize_url_param( + "hcpOpenShiftClusterName", self.ctx.args.cluster_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + _UpdateHelper._build_schema_external_auth_read(cls._schema_on_200) + + return cls._schema_on_200 + + class ExternalAuthsCreateOrUpdate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}/externalAuths/{externalAuthName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "externalAuthName", self.ctx.args.name, + required=True, + ), + **self.serialize_url_param( + "hcpOpenShiftClusterName", self.ctx.args.cluster_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + 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_external_auth_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) + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("claim", AAZObjectType, ".", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("clients", AAZListType, ".clients") + properties.set_prop("issuer", AAZObjectType, ".", typ_kwargs={"flags": {"required": True}}) + + claim = _builder.get(".properties.claim") + if claim is not None: + claim.set_prop("mappings", AAZObjectType, ".", typ_kwargs={"flags": {"required": True}}) + claim.set_prop("validationRules", AAZListType, ".validation_rules") + + mappings = _builder.get(".properties.claim.mappings") + if mappings is not None: + mappings.set_prop("groups", AAZObjectType) + mappings.set_prop("username", AAZObjectType, ".", typ_kwargs={"flags": {"required": True}}) + + groups = _builder.get(".properties.claim.mappings.groups") + if groups is not None: + groups.set_prop("claim", AAZStrType, ".claim", typ_kwargs={"flags": {"required": True}}) + groups.set_prop("prefix", AAZStrType, ".prefix") + + username = _builder.get(".properties.claim.mappings.username") + if username is not None: + username.set_prop("claim", AAZStrType, ".username_claim", typ_kwargs={"flags": {"required": True}}) + username.set_prop("prefix", AAZStrType, ".username_prefix") + username.set_prop("prefixPolicy", AAZStrType, ".username_prefix_policy") + + validation_rules = _builder.get(".properties.claim.validationRules") + if validation_rules is not None: + validation_rules.set_elements(AAZObjectType, ".") + + _elements = _builder.get(".properties.claim.validationRules[]") + if _elements is not None: + _elements.set_prop("requiredClaim", AAZObjectType, ".required_claim") + _elements.set_prop("type", AAZStrType, ".type") + + required_claim = _builder.get(".properties.claim.validationRules[].requiredClaim") + if required_claim is not None: + required_claim.set_prop("claim", AAZStrType, ".claim", typ_kwargs={"flags": {"required": True}}) + required_claim.set_prop("requiredValue", AAZStrType, ".required_value", typ_kwargs={"flags": {"required": True}}) + + clients = _builder.get(".properties.clients") + if clients is not None: + clients.set_elements(AAZObjectType, ".") + + _elements = _builder.get(".properties.clients[]") + if _elements is not None: + _elements.set_prop("clientId", AAZStrType, ".client_id", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("component", AAZObjectType, ".", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("extraScopes", AAZListType, ".extra_scopes") + _elements.set_prop("type", AAZStrType, ".type", typ_kwargs={"flags": {"required": True}}) + + component = _builder.get(".properties.clients[].component") + if component is not None: + component.set_prop("authClientNamespace", AAZStrType, ".auth_client_namespace", typ_kwargs={"flags": {"required": True}}) + component.set_prop("name", AAZStrType, ".component_name", typ_kwargs={"flags": {"required": True}}) + + extra_scopes = _builder.get(".properties.clients[].extraScopes") + if extra_scopes is not None: + extra_scopes.set_elements(AAZStrType, ".") + + issuer = _builder.get(".properties.issuer") + if issuer is not None: + issuer.set_prop("audiences", AAZListType, ".issuer_audience", typ_kwargs={"flags": {"required": True}}) + issuer.set_prop("ca", AAZStrType, ".issuer_ca") + issuer.set_prop("url", AAZStrType, ".issuer_url", typ_kwargs={"flags": {"required": True}}) + + audiences = _builder.get(".properties.issuer.audiences") + if audiences is not None: + audiences.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_external_auth_read = None + + @classmethod + def _build_schema_external_auth_read(cls, _schema): + if cls._schema_external_auth_read is not None: + _schema.id = cls._schema_external_auth_read.id + _schema.name = cls._schema_external_auth_read.name + _schema.properties = cls._schema_external_auth_read.properties + _schema.system_data = cls._schema_external_auth_read.system_data + _schema.type = cls._schema_external_auth_read.type + return + + cls._schema_external_auth_read = _schema_external_auth_read = AAZObjectType() + + external_auth_read = _schema_external_auth_read + external_auth_read.id = AAZStrType( + flags={"read_only": True}, + ) + external_auth_read.name = AAZStrType( + flags={"read_only": True}, + ) + external_auth_read.properties = AAZObjectType() + external_auth_read.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + external_auth_read.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = _schema_external_auth_read.properties + properties.claim = AAZObjectType( + flags={"required": True}, + ) + properties.clients = AAZListType() + properties.issuer = AAZObjectType( + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.status = AAZObjectType( + flags={"read_only": True}, + ) + + claim = _schema_external_auth_read.properties.claim + claim.mappings = AAZObjectType( + flags={"required": True}, + ) + claim.validation_rules = AAZListType( + serialized_name="validationRules", + ) + + mappings = _schema_external_auth_read.properties.claim.mappings + mappings.groups = AAZObjectType() + mappings.username = AAZObjectType( + flags={"required": True}, + ) + + groups = _schema_external_auth_read.properties.claim.mappings.groups + groups.claim = AAZStrType( + flags={"required": True}, + ) + groups.prefix = AAZStrType() + + username = _schema_external_auth_read.properties.claim.mappings.username + username.claim = AAZStrType( + flags={"required": True}, + ) + username.prefix = AAZStrType() + username.prefix_policy = AAZStrType( + serialized_name="prefixPolicy", + ) + + validation_rules = _schema_external_auth_read.properties.claim.validation_rules + validation_rules.Element = AAZObjectType() + + _element = _schema_external_auth_read.properties.claim.validation_rules.Element + _element.required_claim = AAZObjectType( + serialized_name="requiredClaim", + ) + _element.type = AAZStrType() + + required_claim = _schema_external_auth_read.properties.claim.validation_rules.Element.required_claim + required_claim.claim = AAZStrType( + flags={"required": True}, + ) + required_claim.required_value = AAZStrType( + serialized_name="requiredValue", + flags={"required": True}, + ) + + clients = _schema_external_auth_read.properties.clients + clients.Element = AAZObjectType() + + _element = _schema_external_auth_read.properties.clients.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"required": True}, + ) + _element.component = AAZObjectType( + flags={"required": True}, + ) + _element.extra_scopes = AAZListType( + serialized_name="extraScopes", + ) + _element.type = AAZStrType( + flags={"required": True}, + ) + + component = _schema_external_auth_read.properties.clients.Element.component + component.auth_client_namespace = AAZStrType( + serialized_name="authClientNamespace", + flags={"required": True}, + ) + component.name = AAZStrType( + flags={"required": True}, + ) + + extra_scopes = _schema_external_auth_read.properties.clients.Element.extra_scopes + extra_scopes.Element = AAZStrType() + + issuer = _schema_external_auth_read.properties.issuer + issuer.audiences = AAZListType( + flags={"required": True}, + ) + issuer.ca = AAZStrType() + issuer.url = AAZStrType( + flags={"required": True}, + ) + + audiences = _schema_external_auth_read.properties.issuer.audiences + audiences.Element = AAZStrType() + + status = _schema_external_auth_read.properties.status + status.conditions = AAZListType( + flags={"read_only": True}, + ) + + conditions = _schema_external_auth_read.properties.status.conditions + conditions.Element = AAZObjectType() + + _element = _schema_external_auth_read.properties.status.conditions.Element + _element.last_transition_time = AAZStrType( + serialized_name="lastTransitionTime", + flags={"read_only": True}, + ) + _element.message = AAZStrType( + flags={"read_only": True}, + ) + _element.reason = AAZStrType( + flags={"read_only": True}, + ) + _element.status = AAZStrType( + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"required": True}, + ) + + system_data = _schema_external_auth_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", + ) + + _schema.id = cls._schema_external_auth_read.id + _schema.name = cls._schema_external_auth_read.name + _schema.properties = cls._schema_external_auth_read.properties + _schema.system_data = cls._schema_external_auth_read.system_data + _schema.type = cls._schema_external_auth_read.type + + +__all__ = ["Update"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_wait.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_wait.py new file mode 100644 index 00000000000..f8a4db1b548 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/external_auth/_wait.py @@ -0,0 +1,341 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "aro hcp cluster external-auth wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}/externalauths/{}", "2026-10-01"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.name = AAZStrArg( + options=["-n", "--name"], + help="The name of the External Authentication", + required=True, + id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,13}[a-zA-Z0-9])?$", + ), + ) + _args_schema.cluster_name = AAZStrArg( + options=["-c", "--cluster-name"], + help="The name of the Azure Red Hat OpenShift with hosted control plane cluster", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,52}[a-zA-Z0-9])?$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.ExternalAuthsGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class ExternalAuthsGet(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.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}/externalAuths/{externalAuthName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "externalAuthName", self.ctx.args.name, + required=True, + ), + **self.serialize_url_param( + "hcpOpenShiftClusterName", self.ctx.args.cluster_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType() + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.claim = AAZObjectType( + flags={"required": True}, + ) + properties.clients = AAZListType() + properties.issuer = AAZObjectType( + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.status = AAZObjectType( + flags={"read_only": True}, + ) + + claim = cls._schema_on_200.properties.claim + claim.mappings = AAZObjectType( + flags={"required": True}, + ) + claim.validation_rules = AAZListType( + serialized_name="validationRules", + ) + + mappings = cls._schema_on_200.properties.claim.mappings + mappings.groups = AAZObjectType() + mappings.username = AAZObjectType( + flags={"required": True}, + ) + + groups = cls._schema_on_200.properties.claim.mappings.groups + groups.claim = AAZStrType( + flags={"required": True}, + ) + groups.prefix = AAZStrType() + + username = cls._schema_on_200.properties.claim.mappings.username + username.claim = AAZStrType( + flags={"required": True}, + ) + username.prefix = AAZStrType() + username.prefix_policy = AAZStrType( + serialized_name="prefixPolicy", + ) + + validation_rules = cls._schema_on_200.properties.claim.validation_rules + validation_rules.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.claim.validation_rules.Element + _element.required_claim = AAZObjectType( + serialized_name="requiredClaim", + ) + _element.type = AAZStrType() + + required_claim = cls._schema_on_200.properties.claim.validation_rules.Element.required_claim + required_claim.claim = AAZStrType( + flags={"required": True}, + ) + required_claim.required_value = AAZStrType( + serialized_name="requiredValue", + flags={"required": True}, + ) + + clients = cls._schema_on_200.properties.clients + clients.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.clients.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"required": True}, + ) + _element.component = AAZObjectType( + flags={"required": True}, + ) + _element.extra_scopes = AAZListType( + serialized_name="extraScopes", + ) + _element.type = AAZStrType( + flags={"required": True}, + ) + + component = cls._schema_on_200.properties.clients.Element.component + component.auth_client_namespace = AAZStrType( + serialized_name="authClientNamespace", + flags={"required": True}, + ) + component.name = AAZStrType( + flags={"required": True}, + ) + + extra_scopes = cls._schema_on_200.properties.clients.Element.extra_scopes + extra_scopes.Element = AAZStrType() + + issuer = cls._schema_on_200.properties.issuer + issuer.audiences = AAZListType( + flags={"required": True}, + ) + issuer.ca = AAZStrType() + issuer.url = AAZStrType( + flags={"required": True}, + ) + + audiences = cls._schema_on_200.properties.issuer.audiences + audiences.Element = AAZStrType() + + status = cls._schema_on_200.properties.status + status.conditions = AAZListType( + flags={"read_only": True}, + ) + + conditions = cls._schema_on_200.properties.status.conditions + conditions.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.status.conditions.Element + _element.last_transition_time = AAZStrType( + serialized_name="lastTransitionTime", + flags={"read_only": True}, + ) + _element.message = AAZStrType( + flags={"read_only": True}, + ) + _element.reason = AAZStrType( + flags={"read_only": True}, + ) + _element.status = AAZStrType( + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"required": True}, + ) + + 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", + ) + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + +__all__ = ["Wait"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/__cmd_group.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/__cmd_group.py new file mode 100644 index 00000000000..c8e61c28e0f --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "aro hcp cluster nodepool", +) +class __CMDGroup(AAZCommandGroup): + """Manage Azure Red Hat OpenShift with hosted control plane node pools + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/__init__.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/__init__.py new file mode 100644 index 00000000000..db73033039b --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/__init__.py @@ -0,0 +1,17 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._create import * +from ._delete import * +from ._list import * +from ._show import * +from ._update import * +from ._wait import * diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/_create.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/_create.py new file mode 100644 index 00000000000..f74f2f8e563 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/_create.py @@ -0,0 +1,663 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "aro hcp cluster nodepool create", +) +class Create(AAZCommand): + """Create an Azure Red Hat OpenShift with hosted control plane node pool + + :example: Create a node pool + az aro hcp cluster nodepool create --resource-group MyResourceGroup --cluster-name MyCluster --name MyNodePool --location eastus --replicas 3 --vm-size Standard_D8s_v3 --version 4.19.0 --channel-group stable + + :example: Create an autoscaling node pool with labels, taints and disk config + az aro hcp cluster nodepool create --resource-group MyResourceGroup --cluster-name MyCluster --name MyNodePool --location eastus --vm-size Standard_D8s_v3 --version 4.19.0 --channel-group stable --min-replicas 1 --max-replicas 5 --disk-size 128 --disk-storage-account-type Premium_LRS --auto-repair true --labels "[{key:tier,value:frontend}]" --taints "[{key:dedicated,value:gpu,effect:NoSchedule}]" + """ + + _aaz_info = { + "version": "2026-10-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}/nodepools/{}", "2026-10-01"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.cluster_name = AAZStrArg( + options=["-c", "--cluster-name"], + help="The name of the Azure Red Hat OpenShift with hosted control plane cluster", + required=True, + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,52}[a-zA-Z0-9])?$", + ), + ) + _args_schema.name = AAZStrArg( + options=["-n", "--name"], + help="The Name of the Node Pool", + required=True, + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,13}[a-zA-Z0-9])?$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + + # define Arg Group "Autoscaling" + + _args_schema = cls._args_schema + _args_schema.max_replicas = AAZIntArg( + options=["--max-replicas"], + arg_group="Autoscaling", + help="The maximum number of nodes in the node pool. Validation: - Minimum: 0 (must be >= min) - Maximum: 200 (only when availabilityZone is not specified) - No maximum when availabilityZone is specified", + fmt=AAZIntArgFormat( + minimum=0, + ), + ) + _args_schema.min_replicas = AAZIntArg( + options=["--min-replicas"], + arg_group="Autoscaling", + help="The minimum number of nodes in the node pool. Validation: - Minimum: 0 - Maximum: 200 (only when availabilityZone is not specified) - No maximum when availabilityZone is specified", + fmt=AAZIntArgFormat( + minimum=0, + ), + ) + + # define Arg Group "Identity" + + # define Arg Group "OS Disk" + + _args_schema = cls._args_schema + _args_schema.disk_storage_account_type = AAZStrArg( + options=["--disk-storage-type", "--disk-storage-account-type"], + arg_group="OS Disk", + help={"short-summary": "The type of the disk storage account - https://learn.microsoft.com/en-us/azure/virtual-machines/disks-types", "long-summary": "https://learn.microsoft.com/en-us/azure/virtual-machines/disks-types"}, + default="Premium_LRS", + enum={"Premium_LRS": "Premium_LRS", "StandardSSD_LRS": "StandardSSD_LRS", "Standard_LRS": "Standard_LRS"}, + ) + _args_schema.disk_type = AAZStrArg( + options=["--disk-type"], + arg_group="OS Disk", + help={"short-summary": "The type of the OS disk. - https://learn.microsoft.com/en-us/azure/virtual-machines/ephemeral-os-disks", "long-summary": "https://learn.microsoft.com/en-us/azure/virtual-machines/ephemeral-os-disks"}, + default="Managed", + enum={"Ephemeral": "Ephemeral", "Managed": "Managed"}, + ) + _args_schema.disk_encryption_set = AAZResourceIdArg( + options=["--disk-encryption-set"], + arg_group="OS Disk", + help={"short-summary": "The ID of the DiskEncryptionSet resource to use to encrypt the OS disks for the VMs. This needs to exist in the same subscription id listed in the Hosted Cluster, HostedCluster.Spec.Platform.Azure.SubscriptionID. DiskEncryptionSetID should also exist in a resource group under the same subscription id and the same location listed in the Hosted Cluster, HostedCluster.Spec.Platform.Azure.Location. Details on how to create a Disk Encryption Set can be found here: https://learn.microsoft.com/en-us/azure/virtual-machines/disks-enable-customer-managed-keys-portal#set-up-your-disk-encryption-set", "long-summary": "https://learn.microsoft.com/en-us/azure/virtual-machines/disks-enable-customer-managed-keys-portal#set-up-your-disk-encryption-set"}, + ) + _args_schema.disk_size = AAZIntArg( + options=["--disk-size"], + arg_group="OS Disk", + help="The OS disk size in GiB. Maximum is 4095 GiB for Managed disks. For Ephemeral disks, the maximum is 2040 GiB; Azure may enforce a lower effective limit based on the selected VM size's local cache, temp, or NVMe capacity.", + default=64, + fmt=AAZIntArgFormat( + maximum=4095, + minimum=64, + ), + ) + + # define Arg Group "Platform" + + _args_schema = cls._args_schema + _args_schema.availability_zone = AAZStrArg( + options=["--availability-zone"], + arg_group="Platform", + help={"short-summary": "The availability zone for the node pool.", "long-summary": "Please read the documentation to see which regions support availability zones - https://learn.microsoft.com/en-us/azure/availability-zones/az-overview"}, + ) + _args_schema.encryption_at_host = AAZBoolArg( + options=["--encryption-at-host"], + arg_group="Platform", + help={"short-summary": "Whether to enable host based OS and data drive encryption. - https://learn.microsoft.com/en-us/azure/virtual-machines/disk-encryption#encryption-at-host---end-to-end-encryption-for-your-vm-data", "long-summary": "https://learn.microsoft.com/en-us/azure/virtual-machines/disk-encryption#encryption-at-host---end-to-end-encryption-for-your-vm-data"}, + default=False, + ) + _args_schema.subnet_id = AAZResourceIdArg( + options=["--subnet-id"], + arg_group="Platform", + help="The Azure resource ID of the worker subnet. Note that a subnet cannot be reused between ARO-HCP Clusters.", + ) + _args_schema.vm_size = AAZStrArg( + options=["--vm-size"], + arg_group="Platform", + help="The VM size according to the documentation: - https://learn.microsoft.com/en-us/azure/virtual-machines/sizes", + ) + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.auto_repair = AAZBoolArg( + options=["--auto-repair"], + arg_group="Properties", + help="Auto-repair", + default=True, + ) + _args_schema.labels = AAZListArg( + options=["--labels"], + arg_group="Properties", + help="Kubernetes labels to propagate to the NodePool Nodes. Note that when the labels are updated this is only applied to newly create nodes in the NodePool, existing node labels remain unchanged.", + ) + _args_schema.node_drain_timeout = AAZIntArg( + options=["--node-drain-timeout"], + arg_group="Properties", + help={"short-summary": "nodeDrainTimeoutMinutes is the grace period for how long Pod Disruption Budget-protected workloads will be respected during any node draining operation. After this grace period, any workloads protected by Pod Disruption Budgets that have not been successfully drained from a node will be forcibly evicted. This is especially relevant to cluster upgrades. Valid values are from 0 to 10080 minutes (1 week) . 0 means that the NodePool can be drained without any time limitation. If unset the cluster nodeDrainTimeoutMinutes value is used as a default.", "long-summary": "Valid values are from 0 to 10080 minutes (1 week). 0 means that the NodePool can be drained without any time limitation. If unset the cluster value is used as a default."}, + ) + _args_schema.replicas = AAZIntArg( + options=["--replicas"], + arg_group="Properties", + help="The number of worker nodes, it cannot be used together with autoscaling. Validation: - Minimum: 0 - Maximum: 200 (only when availabilityZone is not specified) - No maximum when availabilityZone is specified", + fmt=AAZIntArgFormat( + minimum=0, + ), + ) + _args_schema.taints = AAZListArg( + options=["--taints"], + arg_group="Properties", + help="Taints for the nodes.", + ) + + labels = cls._args_schema.labels + labels.Element = AAZObjectArg() + + _element = cls._args_schema.labels.Element + _element.key = AAZStrArg( + options=["key"], + help="The key of the label", + required=True, + ) + _element.value = AAZStrArg( + options=["value"], + help="The value of the label", + ) + + taints = cls._args_schema.taints + taints.Element = AAZObjectArg() + + _element = cls._args_schema.taints.Element + _element.effect = AAZStrArg( + options=["effect"], + help="The effect of the taint", + required=True, + enum={"NoExecute": "NoExecute", "NoSchedule": "NoSchedule", "PreferNoSchedule": "PreferNoSchedule"}, + ) + _element.key = AAZStrArg( + options=["key"], + help="The key of the taint", + required=True, + fmt=AAZStrArgFormat( + max_length=316, + min_length=1, + ), + ) + _element.value = AAZStrArg( + options=["value"], + help="The value of the taint", + fmt=AAZStrArgFormat( + max_length=63, + ), + ) + + # define Arg Group "Resource" + + _args_schema = cls._args_schema + _args_schema.location = AAZResourceLocationArg( + arg_group="Resource", + 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="Resource", + help="Resource tags.", + ) + + tags = cls._args_schema.tags + tags.Element = AAZStrArg() + + # define Arg Group "Version" + + _args_schema = cls._args_schema + _args_schema.channel_group = AAZStrArg( + options=["--channel-group"], + arg_group="Version", + help="ChannelGroup is the name of the set to which this version belongs. Each version belongs to only a single set. If not specified, the default value is 'stable'.", + ) + _args_schema.version = AAZStrArg( + options=["--version"], + arg_group="Version", + help="ID is the desired X.Y version of the cluster control plane.", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.NodePoolsCreateOrUpdate(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 NodePoolsCreateOrUpdate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}/nodePools/{nodePoolName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "hcpOpenShiftClusterName", self.ctx.args.cluster_name, + required=True, + ), + **self.serialize_url_param( + "nodePoolName", self.ctx.args.name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + 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("identity", AAZIdentityObjectType) + _builder.set_prop("location", AAZStrType, ".location", typ_kwargs={"flags": {"required": True}}) + _builder.set_prop("properties", AAZObjectType) + _builder.set_prop("tags", AAZDictType, ".tags") + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("autoRepair", AAZBoolType, ".auto_repair") + properties.set_prop("autoScaling", AAZObjectType) + properties.set_prop("labels", AAZListType, ".labels") + properties.set_prop("nodeDrainTimeoutMinutes", AAZIntType, ".node_drain_timeout") + properties.set_prop("platform", AAZObjectType, ".", typ_kwargs={"flags": {"required": True}}) + properties.set_prop("replicas", AAZIntType, ".replicas") + properties.set_prop("taints", AAZListType, ".taints") + properties.set_prop("version", AAZObjectType) + + auto_scaling = _builder.get(".properties.autoScaling") + if auto_scaling is not None: + auto_scaling.set_prop("max", AAZIntType, ".max_replicas") + auto_scaling.set_prop("min", AAZIntType, ".min_replicas") + + labels = _builder.get(".properties.labels") + if labels is not None: + labels.set_elements(AAZObjectType, ".") + + _elements = _builder.get(".properties.labels[]") + if _elements is not None: + _elements.set_prop("key", AAZStrType, ".key", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("value", AAZStrType, ".value") + + platform = _builder.get(".properties.platform") + if platform is not None: + platform.set_prop("availabilityZone", AAZStrType, ".availability_zone") + platform.set_prop("enableEncryptionAtHost", AAZBoolType, ".encryption_at_host") + platform.set_prop("osDisk", AAZObjectType) + platform.set_prop("subnetId", AAZStrType, ".subnet_id") + platform.set_prop("vmSize", AAZStrType, ".vm_size", typ_kwargs={"flags": {"required": True}}) + + os_disk = _builder.get(".properties.platform.osDisk") + if os_disk is not None: + os_disk.set_prop("diskStorageAccountType", AAZStrType, ".disk_storage_account_type") + os_disk.set_prop("diskType", AAZStrType, ".disk_type") + os_disk.set_prop("encryptionSetId", AAZStrType, ".disk_encryption_set") + os_disk.set_prop("sizeGiB", AAZIntType, ".disk_size") + + taints = _builder.get(".properties.taints") + if taints is not None: + taints.set_elements(AAZObjectType, ".") + + _elements = _builder.get(".properties.taints[]") + if _elements is not None: + _elements.set_prop("effect", AAZStrType, ".effect", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("key", AAZStrType, ".key", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("value", AAZStrType, ".value") + + version = _builder.get(".properties.version") + if version is not None: + version.set_prop("channelGroup", AAZStrType, ".channel_group") + version.set_prop("id", AAZStrType, ".version", typ_kwargs={"flags": {"required": True}}) + + 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.identity = AAZIdentityObjectType() + _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() + _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}, + ) + + identity = cls._schema_on_200_201.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType( + flags={"required": True}, + ) + identity.user_assigned_identities = AAZDictType( + serialized_name="userAssignedIdentities", + ) + + user_assigned_identities = cls._schema_on_200_201.identity.user_assigned_identities + user_assigned_identities.Element = AAZObjectType( + nullable=True, + ) + + _element = cls._schema_on_200_201.identity.user_assigned_identities.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + _element.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + + properties = cls._schema_on_200_201.properties + properties.auto_repair = AAZBoolType( + serialized_name="autoRepair", + ) + properties.auto_scaling = AAZObjectType( + serialized_name="autoScaling", + ) + properties.labels = AAZListType() + properties.node_drain_timeout_minutes = AAZIntType( + serialized_name="nodeDrainTimeoutMinutes", + ) + properties.platform = AAZObjectType( + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.replicas = AAZIntType() + properties.status = AAZObjectType( + flags={"read_only": True}, + ) + properties.taints = AAZListType() + properties.version = AAZObjectType() + + auto_scaling = cls._schema_on_200_201.properties.auto_scaling + auto_scaling.max = AAZIntType() + auto_scaling.min = AAZIntType() + + labels = cls._schema_on_200_201.properties.labels + labels.Element = AAZObjectType() + + _element = cls._schema_on_200_201.properties.labels.Element + _element.key = AAZStrType( + flags={"required": True}, + ) + _element.value = AAZStrType() + + platform = cls._schema_on_200_201.properties.platform + platform.availability_zone = AAZStrType( + serialized_name="availabilityZone", + ) + platform.enable_encryption_at_host = AAZBoolType( + serialized_name="enableEncryptionAtHost", + ) + platform.os_disk = AAZObjectType( + serialized_name="osDisk", + ) + platform.subnet_id = AAZStrType( + serialized_name="subnetId", + ) + platform.vm_size = AAZStrType( + serialized_name="vmSize", + flags={"required": True}, + ) + + os_disk = cls._schema_on_200_201.properties.platform.os_disk + os_disk.disk_storage_account_type = AAZStrType( + serialized_name="diskStorageAccountType", + ) + os_disk.disk_type = AAZStrType( + serialized_name="diskType", + ) + os_disk.encryption_set_id = AAZStrType( + serialized_name="encryptionSetId", + ) + os_disk.size_gi_b = AAZIntType( + serialized_name="sizeGiB", + ) + + status = cls._schema_on_200_201.properties.status + status.active_versions = AAZListType( + serialized_name="activeVersions", + flags={"read_only": True}, + ) + status.conditions = AAZListType( + flags={"read_only": True}, + ) + + active_versions = cls._schema_on_200_201.properties.status.active_versions + active_versions.Element = AAZObjectType() + + _element = cls._schema_on_200_201.properties.status.active_versions.Element + _element.version = AAZStrType( + flags={"read_only": True}, + ) + + conditions = cls._schema_on_200_201.properties.status.conditions + conditions.Element = AAZObjectType() + + _element = cls._schema_on_200_201.properties.status.conditions.Element + _element.last_transition_time = AAZStrType( + serialized_name="lastTransitionTime", + flags={"read_only": True}, + ) + _element.message = AAZStrType( + flags={"read_only": True}, + ) + _element.reason = AAZStrType( + flags={"read_only": True}, + ) + _element.status = AAZStrType( + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"required": True}, + ) + + taints = cls._schema_on_200_201.properties.taints + taints.Element = AAZObjectType() + + _element = cls._schema_on_200_201.properties.taints.Element + _element.effect = AAZStrType( + flags={"required": True}, + ) + _element.key = AAZStrType( + flags={"required": True}, + ) + _element.value = AAZStrType() + + version = cls._schema_on_200_201.properties.version + version.channel_group = AAZStrType( + serialized_name="channelGroup", + ) + version.id = AAZStrType( + flags={"required": True}, + ) + + 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/aro/aaz/latest/aro/hcp/cluster/nodepool/_delete.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/_delete.py new file mode 100644 index 00000000000..4405fc2f93b --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/_delete.py @@ -0,0 +1,179 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "aro hcp cluster nodepool delete", + confirmation="Are you sure you want to perform this operation?", +) +class Delete(AAZCommand): + """Delete an Azure Red Hat OpenShift with hosted control plane node pool + + :example: Delete a node pool + az aro hcp cluster nodepool delete --resource-group MyResourceGroup --cluster-name MyCluster --name MyNodePool --yes + """ + + _aaz_info = { + "version": "2026-10-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}/nodepools/{}", "2026-10-01"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, None) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.cluster_name = AAZStrArg( + options=["-c", "--cluster-name"], + help="The name of the Azure Red Hat OpenShift with hosted control plane cluster", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,52}[a-zA-Z0-9])?$", + ), + ) + _args_schema.name = AAZStrArg( + options=["-n", "--name"], + help="The Name of the Node Pool", + required=True, + id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,13}[a-zA-Z0-9])?$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.NodePoolsDelete(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class NodePoolsDelete(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [204]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "location"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}/nodePools/{nodePoolName}", + **self.url_parameters + ) + + @property + def method(self): + return "DELETE" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "hcpOpenShiftClusterName", self.ctx.args.cluster_name, + required=True, + ), + **self.serialize_url_param( + "nodePoolName", self.ctx.args.name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + required=True, + ), + } + return parameters + + def on_204(self, session): + pass + + def on_200_201(self, session): + pass + + +class _DeleteHelper: + """Helper class for Delete""" + + +__all__ = ["Delete"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/_list.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/_list.py new file mode 100644 index 00000000000..9a4872389c2 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/_list.py @@ -0,0 +1,380 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "aro hcp cluster nodepool list", +) +class List(AAZCommand): + """List Azure Red Hat OpenShift with hosted control plane node pools + + :example: List node pools of a cluster + az aro hcp cluster nodepool list --resource-group MyResourceGroup --cluster-name MyCluster + """ + + _aaz_info = { + "version": "2026-10-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}/nodepools", "2026-10-01"], + ] + } + + AZ_SUPPORT_PAGINATION = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.cluster_name = AAZStrArg( + options=["-c", "--cluster-name"], + help="The name of the Azure Red Hat OpenShift with hosted control plane cluster", + required=True, + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,52}[a-zA-Z0-9])?$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NodePoolsListByParent(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 NodePoolsListByParent(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.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}/nodePools", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "hcpOpenShiftClusterName", self.ctx.args.cluster_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.identity = AAZIdentityObjectType() + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType() + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.tags = AAZDictType() + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + identity = cls._schema_on_200.value.Element.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType( + flags={"required": True}, + ) + identity.user_assigned_identities = AAZDictType( + serialized_name="userAssignedIdentities", + ) + + user_assigned_identities = cls._schema_on_200.value.Element.identity.user_assigned_identities + user_assigned_identities.Element = AAZObjectType( + nullable=True, + ) + + _element = cls._schema_on_200.value.Element.identity.user_assigned_identities.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + _element.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.auto_repair = AAZBoolType( + serialized_name="autoRepair", + ) + properties.auto_scaling = AAZObjectType( + serialized_name="autoScaling", + ) + properties.labels = AAZListType() + properties.node_drain_timeout_minutes = AAZIntType( + serialized_name="nodeDrainTimeoutMinutes", + ) + properties.platform = AAZObjectType( + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.replicas = AAZIntType() + properties.status = AAZObjectType( + flags={"read_only": True}, + ) + properties.taints = AAZListType() + properties.version = AAZObjectType() + + auto_scaling = cls._schema_on_200.value.Element.properties.auto_scaling + auto_scaling.max = AAZIntType() + auto_scaling.min = AAZIntType() + + labels = cls._schema_on_200.value.Element.properties.labels + labels.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.labels.Element + _element.key = AAZStrType( + flags={"required": True}, + ) + _element.value = AAZStrType() + + platform = cls._schema_on_200.value.Element.properties.platform + platform.availability_zone = AAZStrType( + serialized_name="availabilityZone", + ) + platform.enable_encryption_at_host = AAZBoolType( + serialized_name="enableEncryptionAtHost", + ) + platform.os_disk = AAZObjectType( + serialized_name="osDisk", + ) + platform.subnet_id = AAZStrType( + serialized_name="subnetId", + ) + platform.vm_size = AAZStrType( + serialized_name="vmSize", + flags={"required": True}, + ) + + os_disk = cls._schema_on_200.value.Element.properties.platform.os_disk + os_disk.disk_storage_account_type = AAZStrType( + serialized_name="diskStorageAccountType", + ) + os_disk.disk_type = AAZStrType( + serialized_name="diskType", + ) + os_disk.encryption_set_id = AAZStrType( + serialized_name="encryptionSetId", + ) + os_disk.size_gi_b = AAZIntType( + serialized_name="sizeGiB", + ) + + status = cls._schema_on_200.value.Element.properties.status + status.active_versions = AAZListType( + serialized_name="activeVersions", + flags={"read_only": True}, + ) + status.conditions = AAZListType( + flags={"read_only": True}, + ) + + active_versions = cls._schema_on_200.value.Element.properties.status.active_versions + active_versions.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.status.active_versions.Element + _element.version = AAZStrType( + flags={"read_only": True}, + ) + + conditions = cls._schema_on_200.value.Element.properties.status.conditions + conditions.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.status.conditions.Element + _element.last_transition_time = AAZStrType( + serialized_name="lastTransitionTime", + flags={"read_only": True}, + ) + _element.message = AAZStrType( + flags={"read_only": True}, + ) + _element.reason = AAZStrType( + flags={"read_only": True}, + ) + _element.status = AAZStrType( + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"required": True}, + ) + + taints = cls._schema_on_200.value.Element.properties.taints + taints.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.taints.Element + _element.effect = AAZStrType( + flags={"required": True}, + ) + _element.key = AAZStrType( + flags={"required": True}, + ) + _element.value = AAZStrType() + + version = cls._schema_on_200.value.Element.properties.version + version.channel_group = AAZStrType( + serialized_name="channelGroup", + ) + version.id = AAZStrType( + flags={"required": True}, + ) + + 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/aro/aaz/latest/aro/hcp/cluster/nodepool/_show.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/_show.py new file mode 100644 index 00000000000..b29d63c213d --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/_show.py @@ -0,0 +1,381 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "aro hcp cluster nodepool show", +) +class Show(AAZCommand): + """Get an Azure Red Hat OpenShift with hosted control plane node pool + + :example: Show a node pool + az aro hcp cluster nodepool show --resource-group MyResourceGroup --cluster-name MyCluster --name MyNodePool + """ + + _aaz_info = { + "version": "2026-10-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}/nodepools/{}", "2026-10-01"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.cluster_name = AAZStrArg( + options=["-c", "--cluster-name"], + help="The name of the Azure Red Hat OpenShift with hosted control plane cluster", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,52}[a-zA-Z0-9])?$", + ), + ) + _args_schema.name = AAZStrArg( + options=["-n", "--name"], + help="The Name of the Node Pool", + required=True, + id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,13}[a-zA-Z0-9])?$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NodePoolsGet(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 NodePoolsGet(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.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}/nodePools/{nodePoolName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "hcpOpenShiftClusterName", self.ctx.args.cluster_name, + required=True, + ), + **self.serialize_url_param( + "nodePoolName", self.ctx.args.name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.identity = AAZIdentityObjectType() + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType() + _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}, + ) + + identity = cls._schema_on_200.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType( + flags={"required": True}, + ) + identity.user_assigned_identities = AAZDictType( + serialized_name="userAssignedIdentities", + ) + + user_assigned_identities = cls._schema_on_200.identity.user_assigned_identities + user_assigned_identities.Element = AAZObjectType( + nullable=True, + ) + + _element = cls._schema_on_200.identity.user_assigned_identities.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + _element.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.auto_repair = AAZBoolType( + serialized_name="autoRepair", + ) + properties.auto_scaling = AAZObjectType( + serialized_name="autoScaling", + ) + properties.labels = AAZListType() + properties.node_drain_timeout_minutes = AAZIntType( + serialized_name="nodeDrainTimeoutMinutes", + ) + properties.platform = AAZObjectType( + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.replicas = AAZIntType() + properties.status = AAZObjectType( + flags={"read_only": True}, + ) + properties.taints = AAZListType() + properties.version = AAZObjectType() + + auto_scaling = cls._schema_on_200.properties.auto_scaling + auto_scaling.max = AAZIntType() + auto_scaling.min = AAZIntType() + + labels = cls._schema_on_200.properties.labels + labels.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.labels.Element + _element.key = AAZStrType( + flags={"required": True}, + ) + _element.value = AAZStrType() + + platform = cls._schema_on_200.properties.platform + platform.availability_zone = AAZStrType( + serialized_name="availabilityZone", + ) + platform.enable_encryption_at_host = AAZBoolType( + serialized_name="enableEncryptionAtHost", + ) + platform.os_disk = AAZObjectType( + serialized_name="osDisk", + ) + platform.subnet_id = AAZStrType( + serialized_name="subnetId", + ) + platform.vm_size = AAZStrType( + serialized_name="vmSize", + flags={"required": True}, + ) + + os_disk = cls._schema_on_200.properties.platform.os_disk + os_disk.disk_storage_account_type = AAZStrType( + serialized_name="diskStorageAccountType", + ) + os_disk.disk_type = AAZStrType( + serialized_name="diskType", + ) + os_disk.encryption_set_id = AAZStrType( + serialized_name="encryptionSetId", + ) + os_disk.size_gi_b = AAZIntType( + serialized_name="sizeGiB", + ) + + status = cls._schema_on_200.properties.status + status.active_versions = AAZListType( + serialized_name="activeVersions", + flags={"read_only": True}, + ) + status.conditions = AAZListType( + flags={"read_only": True}, + ) + + active_versions = cls._schema_on_200.properties.status.active_versions + active_versions.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.status.active_versions.Element + _element.version = AAZStrType( + flags={"read_only": True}, + ) + + conditions = cls._schema_on_200.properties.status.conditions + conditions.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.status.conditions.Element + _element.last_transition_time = AAZStrType( + serialized_name="lastTransitionTime", + flags={"read_only": True}, + ) + _element.message = AAZStrType( + flags={"read_only": True}, + ) + _element.reason = AAZStrType( + flags={"read_only": True}, + ) + _element.status = AAZStrType( + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"required": True}, + ) + + taints = cls._schema_on_200.properties.taints + taints.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.taints.Element + _element.effect = AAZStrType( + flags={"required": True}, + ) + _element.key = AAZStrType( + flags={"required": True}, + ) + _element.value = AAZStrType() + + version = cls._schema_on_200.properties.version + version.channel_group = AAZStrType( + serialized_name="channelGroup", + ) + version.id = AAZStrType( + flags={"required": True}, + ) + + 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/aro/aaz/latest/aro/hcp/cluster/nodepool/_update.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/_update.py new file mode 100644 index 00000000000..4188067ab44 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/_update.py @@ -0,0 +1,735 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "aro hcp cluster nodepool update", +) +class Update(AAZCommand): + """Update an Azure Red Hat OpenShift with hosted control plane node pool + + :example: Scale a node pool + az aro hcp cluster nodepool update --resource-group MyResourceGroup --cluster-name MyCluster --name MyNodePool --replicas 5 + """ + + _aaz_info = { + "version": "2026-10-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}/nodepools/{}", "2026-10-01"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + AZ_SUPPORT_GENERIC_UPDATE = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.cluster_name = AAZStrArg( + options=["-c", "--cluster-name"], + help="The name of the Azure Red Hat OpenShift with hosted control plane cluster", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,52}[a-zA-Z0-9])?$", + ), + ) + _args_schema.name = AAZStrArg( + options=["-n", "--name"], + help="The Name of the Node Pool", + required=True, + id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,13}[a-zA-Z0-9])?$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + + # define Arg Group "Autoscaling" + + _args_schema = cls._args_schema + _args_schema.max_replicas = AAZIntArg( + options=["--max-replicas"], + arg_group="Autoscaling", + help="The maximum number of nodes in the node pool. Validation: - Minimum: 0 (must be >= min) - Maximum: 200 (only when availabilityZone is not specified) - No maximum when availabilityZone is specified", + nullable=True, + fmt=AAZIntArgFormat( + minimum=0, + ), + ) + _args_schema.min_replicas = AAZIntArg( + options=["--min-replicas"], + arg_group="Autoscaling", + help="The minimum number of nodes in the node pool. Validation: - Minimum: 0 - Maximum: 200 (only when availabilityZone is not specified) - No maximum when availabilityZone is specified", + nullable=True, + fmt=AAZIntArgFormat( + minimum=0, + ), + ) + + # define Arg Group "Identity" + + # define Arg Group "Properties" + + _args_schema = cls._args_schema + _args_schema.labels = AAZListArg( + options=["--labels"], + arg_group="Properties", + help="Kubernetes labels to propagate to the NodePool Nodes. Note that when the labels are updated this is only applied to newly create nodes in the NodePool, existing node labels remain unchanged.", + nullable=True, + ) + _args_schema.node_drain_timeout = AAZIntArg( + options=["--node-drain-timeout"], + arg_group="Properties", + help={"short-summary": "nodeDrainTimeoutMinutes is the grace period for how long Pod Disruption Budget-protected workloads will be respected during any node draining operation. After this grace period, any workloads protected by Pod Disruption Budgets that have not been successfully drained from a node will be forcibly evicted. This is especially relevant to cluster upgrades. Valid values are from 0 to 10080 minutes (1 week) . 0 means that the NodePool can be drained without any time limitation. If unset the cluster nodeDrainTimeoutMinutes value is used as a default.", "long-summary": "Valid values are from 0 to 10080 minutes (1 week). 0 means that the NodePool can be drained without any time limitation. If unset the cluster value is used as a default."}, + nullable=True, + ) + _args_schema.replicas = AAZIntArg( + options=["--replicas"], + arg_group="Properties", + help="The number of worker nodes, it cannot be used together with autoscaling. Validation: - Minimum: 0 - Maximum: 200 (only when availabilityZone is not specified) - No maximum when availabilityZone is specified", + nullable=True, + fmt=AAZIntArgFormat( + minimum=0, + ), + ) + _args_schema.taints = AAZListArg( + options=["--taints"], + arg_group="Properties", + help="Taints for the nodes.", + nullable=True, + ) + + labels = cls._args_schema.labels + labels.Element = AAZObjectArg( + nullable=True, + ) + + _element = cls._args_schema.labels.Element + _element.key = AAZStrArg( + options=["key"], + help="The key of the label", + ) + _element.value = AAZStrArg( + options=["value"], + help="The value of the label", + nullable=True, + ) + + taints = cls._args_schema.taints + taints.Element = AAZObjectArg( + nullable=True, + ) + + _element = cls._args_schema.taints.Element + _element.effect = AAZStrArg( + options=["effect"], + help="The effect of the taint", + enum={"NoExecute": "NoExecute", "NoSchedule": "NoSchedule", "PreferNoSchedule": "PreferNoSchedule"}, + ) + _element.key = AAZStrArg( + options=["key"], + help="The key of the taint", + fmt=AAZStrArgFormat( + max_length=316, + min_length=1, + ), + ) + _element.value = AAZStrArg( + options=["value"], + help="The value of the taint", + nullable=True, + fmt=AAZStrArgFormat( + max_length=63, + ), + ) + + # define Arg Group "Resource" + + _args_schema = cls._args_schema + _args_schema.tags = AAZDictArg( + options=["--tags"], + arg_group="Resource", + help="Resource tags.", + nullable=True, + ) + + tags = cls._args_schema.tags + tags.Element = AAZStrArg( + nullable=True, + ) + + # define Arg Group "Version" + + _args_schema = cls._args_schema + _args_schema.channel_group = AAZStrArg( + options=["--channel-group"], + arg_group="Version", + help="ChannelGroup is the name of the set to which this version belongs. Each version belongs to only a single set. If not specified, the default value is 'stable'.", + nullable=True, + ) + _args_schema.version = AAZStrArg( + options=["--version"], + arg_group="Version", + help="ID is the desired X.Y version of the cluster control plane.", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NodePoolsGet(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) + yield self.NodePoolsCreateOrUpdate(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 NodePoolsGet(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.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}/nodePools/{nodePoolName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "hcpOpenShiftClusterName", self.ctx.args.cluster_name, + required=True, + ), + **self.serialize_url_param( + "nodePoolName", self.ctx.args.name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + _UpdateHelper._build_schema_node_pool_read(cls._schema_on_200) + + return cls._schema_on_200 + + class NodePoolsCreateOrUpdate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + if session.http_response.status_code in [200, 201]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}/nodePools/{nodePoolName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "hcpOpenShiftClusterName", self.ctx.args.cluster_name, + required=True, + ), + **self.serialize_url_param( + "nodePoolName", self.ctx.args.name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + 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_node_pool_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("identity", AAZIdentityObjectType) + _builder.set_prop("properties", AAZObjectType) + _builder.set_prop("tags", AAZDictType, ".tags") + + properties = _builder.get(".properties") + if properties is not None: + properties.set_prop("autoScaling", AAZObjectType) + properties.set_prop("labels", AAZListType, ".labels") + properties.set_prop("nodeDrainTimeoutMinutes", AAZIntType, ".node_drain_timeout") + properties.set_prop("replicas", AAZIntType, ".replicas") + properties.set_prop("taints", AAZListType, ".taints") + properties.set_prop("version", AAZObjectType) + + auto_scaling = _builder.get(".properties.autoScaling") + if auto_scaling is not None: + auto_scaling.set_prop("max", AAZIntType, ".max_replicas") + auto_scaling.set_prop("min", AAZIntType, ".min_replicas") + + labels = _builder.get(".properties.labels") + if labels is not None: + labels.set_elements(AAZObjectType, ".") + + _elements = _builder.get(".properties.labels[]") + if _elements is not None: + _elements.set_prop("key", AAZStrType, ".key", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("value", AAZStrType, ".value") + + taints = _builder.get(".properties.taints") + if taints is not None: + taints.set_elements(AAZObjectType, ".") + + _elements = _builder.get(".properties.taints[]") + if _elements is not None: + _elements.set_prop("effect", AAZStrType, ".effect", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("key", AAZStrType, ".key", typ_kwargs={"flags": {"required": True}}) + _elements.set_prop("value", AAZStrType, ".value") + + version = _builder.get(".properties.version") + if version is not None: + version.set_prop("channelGroup", AAZStrType, ".channel_group") + version.set_prop("id", AAZStrType, ".version", typ_kwargs={"flags": {"required": True}}) + + 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_node_pool_read = None + + @classmethod + def _build_schema_node_pool_read(cls, _schema): + if cls._schema_node_pool_read is not None: + _schema.id = cls._schema_node_pool_read.id + _schema.identity = cls._schema_node_pool_read.identity + _schema.location = cls._schema_node_pool_read.location + _schema.name = cls._schema_node_pool_read.name + _schema.properties = cls._schema_node_pool_read.properties + _schema.system_data = cls._schema_node_pool_read.system_data + _schema.tags = cls._schema_node_pool_read.tags + _schema.type = cls._schema_node_pool_read.type + return + + cls._schema_node_pool_read = _schema_node_pool_read = AAZObjectType() + + node_pool_read = _schema_node_pool_read + node_pool_read.id = AAZStrType( + flags={"read_only": True}, + ) + node_pool_read.identity = AAZIdentityObjectType() + node_pool_read.location = AAZStrType( + flags={"required": True}, + ) + node_pool_read.name = AAZStrType( + flags={"read_only": True}, + ) + node_pool_read.properties = AAZObjectType() + node_pool_read.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + node_pool_read.tags = AAZDictType() + node_pool_read.type = AAZStrType( + flags={"read_only": True}, + ) + + identity = _schema_node_pool_read.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType( + flags={"required": True}, + ) + identity.user_assigned_identities = AAZDictType( + serialized_name="userAssignedIdentities", + ) + + user_assigned_identities = _schema_node_pool_read.identity.user_assigned_identities + user_assigned_identities.Element = AAZObjectType( + nullable=True, + ) + + _element = _schema_node_pool_read.identity.user_assigned_identities.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + _element.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + + properties = _schema_node_pool_read.properties + properties.auto_repair = AAZBoolType( + serialized_name="autoRepair", + ) + properties.auto_scaling = AAZObjectType( + serialized_name="autoScaling", + ) + properties.labels = AAZListType() + properties.node_drain_timeout_minutes = AAZIntType( + serialized_name="nodeDrainTimeoutMinutes", + ) + properties.platform = AAZObjectType( + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.replicas = AAZIntType() + properties.status = AAZObjectType( + flags={"read_only": True}, + ) + properties.taints = AAZListType() + properties.version = AAZObjectType() + + auto_scaling = _schema_node_pool_read.properties.auto_scaling + auto_scaling.max = AAZIntType() + auto_scaling.min = AAZIntType() + + labels = _schema_node_pool_read.properties.labels + labels.Element = AAZObjectType() + + _element = _schema_node_pool_read.properties.labels.Element + _element.key = AAZStrType( + flags={"required": True}, + ) + _element.value = AAZStrType() + + platform = _schema_node_pool_read.properties.platform + platform.availability_zone = AAZStrType( + serialized_name="availabilityZone", + ) + platform.enable_encryption_at_host = AAZBoolType( + serialized_name="enableEncryptionAtHost", + ) + platform.os_disk = AAZObjectType( + serialized_name="osDisk", + ) + platform.subnet_id = AAZStrType( + serialized_name="subnetId", + ) + platform.vm_size = AAZStrType( + serialized_name="vmSize", + flags={"required": True}, + ) + + os_disk = _schema_node_pool_read.properties.platform.os_disk + os_disk.disk_storage_account_type = AAZStrType( + serialized_name="diskStorageAccountType", + ) + os_disk.disk_type = AAZStrType( + serialized_name="diskType", + ) + os_disk.encryption_set_id = AAZStrType( + serialized_name="encryptionSetId", + ) + os_disk.size_gi_b = AAZIntType( + serialized_name="sizeGiB", + ) + + status = _schema_node_pool_read.properties.status + status.active_versions = AAZListType( + serialized_name="activeVersions", + flags={"read_only": True}, + ) + status.conditions = AAZListType( + flags={"read_only": True}, + ) + + active_versions = _schema_node_pool_read.properties.status.active_versions + active_versions.Element = AAZObjectType() + + _element = _schema_node_pool_read.properties.status.active_versions.Element + _element.version = AAZStrType( + flags={"read_only": True}, + ) + + conditions = _schema_node_pool_read.properties.status.conditions + conditions.Element = AAZObjectType() + + _element = _schema_node_pool_read.properties.status.conditions.Element + _element.last_transition_time = AAZStrType( + serialized_name="lastTransitionTime", + flags={"read_only": True}, + ) + _element.message = AAZStrType( + flags={"read_only": True}, + ) + _element.reason = AAZStrType( + flags={"read_only": True}, + ) + _element.status = AAZStrType( + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"required": True}, + ) + + taints = _schema_node_pool_read.properties.taints + taints.Element = AAZObjectType() + + _element = _schema_node_pool_read.properties.taints.Element + _element.effect = AAZStrType( + flags={"required": True}, + ) + _element.key = AAZStrType( + flags={"required": True}, + ) + _element.value = AAZStrType() + + version = _schema_node_pool_read.properties.version + version.channel_group = AAZStrType( + serialized_name="channelGroup", + ) + version.id = AAZStrType( + flags={"required": True}, + ) + + system_data = _schema_node_pool_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_node_pool_read.tags + tags.Element = AAZStrType() + + _schema.id = cls._schema_node_pool_read.id + _schema.identity = cls._schema_node_pool_read.identity + _schema.location = cls._schema_node_pool_read.location + _schema.name = cls._schema_node_pool_read.name + _schema.properties = cls._schema_node_pool_read.properties + _schema.system_data = cls._schema_node_pool_read.system_data + _schema.tags = cls._schema_node_pool_read.tags + _schema.type = cls._schema_node_pool_read.type + + +__all__ = ["Update"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/_wait.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/_wait.py new file mode 100644 index 00000000000..d2e91d7beec --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/nodepool/_wait.py @@ -0,0 +1,377 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "aro hcp cluster nodepool wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.redhatopenshift/hcpopenshiftclusters/{}/nodepools/{}", "2026-10-01"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.cluster_name = AAZStrArg( + options=["-c", "--cluster-name"], + help="The name of the Azure Red Hat OpenShift with hosted control plane cluster", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,52}[a-zA-Z0-9])?$", + ), + ) + _args_schema.name = AAZStrArg( + options=["-n", "--name"], + help="The Name of the Node Pool", + required=True, + id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z]([-a-zA-Z0-9]{0,13}[a-zA-Z0-9])?$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NodePoolsGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + return result + + class NodePoolsGet(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.RedHatOpenShift/hcpOpenShiftClusters/{hcpOpenShiftClusterName}/nodePools/{nodePoolName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "hcpOpenShiftClusterName", self.ctx.args.cluster_name, + required=True, + ), + **self.serialize_url_param( + "nodePoolName", self.ctx.args.name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.identity = AAZIdentityObjectType() + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType() + _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}, + ) + + identity = cls._schema_on_200.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType( + flags={"required": True}, + ) + identity.user_assigned_identities = AAZDictType( + serialized_name="userAssignedIdentities", + ) + + user_assigned_identities = cls._schema_on_200.identity.user_assigned_identities + user_assigned_identities.Element = AAZObjectType( + nullable=True, + ) + + _element = cls._schema_on_200.identity.user_assigned_identities.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + _element.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.auto_repair = AAZBoolType( + serialized_name="autoRepair", + ) + properties.auto_scaling = AAZObjectType( + serialized_name="autoScaling", + ) + properties.labels = AAZListType() + properties.node_drain_timeout_minutes = AAZIntType( + serialized_name="nodeDrainTimeoutMinutes", + ) + properties.platform = AAZObjectType( + flags={"required": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.replicas = AAZIntType() + properties.status = AAZObjectType( + flags={"read_only": True}, + ) + properties.taints = AAZListType() + properties.version = AAZObjectType() + + auto_scaling = cls._schema_on_200.properties.auto_scaling + auto_scaling.max = AAZIntType() + auto_scaling.min = AAZIntType() + + labels = cls._schema_on_200.properties.labels + labels.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.labels.Element + _element.key = AAZStrType( + flags={"required": True}, + ) + _element.value = AAZStrType() + + platform = cls._schema_on_200.properties.platform + platform.availability_zone = AAZStrType( + serialized_name="availabilityZone", + ) + platform.enable_encryption_at_host = AAZBoolType( + serialized_name="enableEncryptionAtHost", + ) + platform.os_disk = AAZObjectType( + serialized_name="osDisk", + ) + platform.subnet_id = AAZStrType( + serialized_name="subnetId", + ) + platform.vm_size = AAZStrType( + serialized_name="vmSize", + flags={"required": True}, + ) + + os_disk = cls._schema_on_200.properties.platform.os_disk + os_disk.disk_storage_account_type = AAZStrType( + serialized_name="diskStorageAccountType", + ) + os_disk.disk_type = AAZStrType( + serialized_name="diskType", + ) + os_disk.encryption_set_id = AAZStrType( + serialized_name="encryptionSetId", + ) + os_disk.size_gi_b = AAZIntType( + serialized_name="sizeGiB", + ) + + status = cls._schema_on_200.properties.status + status.active_versions = AAZListType( + serialized_name="activeVersions", + flags={"read_only": True}, + ) + status.conditions = AAZListType( + flags={"read_only": True}, + ) + + active_versions = cls._schema_on_200.properties.status.active_versions + active_versions.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.status.active_versions.Element + _element.version = AAZStrType( + flags={"read_only": True}, + ) + + conditions = cls._schema_on_200.properties.status.conditions + conditions.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.status.conditions.Element + _element.last_transition_time = AAZStrType( + serialized_name="lastTransitionTime", + flags={"read_only": True}, + ) + _element.message = AAZStrType( + flags={"read_only": True}, + ) + _element.reason = AAZStrType( + flags={"read_only": True}, + ) + _element.status = AAZStrType( + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"required": True}, + ) + + taints = cls._schema_on_200.properties.taints + taints.Element = AAZObjectType() + + _element = cls._schema_on_200.properties.taints.Element + _element.effect = AAZStrType( + flags={"required": True}, + ) + _element.key = AAZStrType( + flags={"required": True}, + ) + _element.value = AAZStrType() + + version = cls._schema_on_200.properties.version + version.channel_group = AAZStrType( + serialized_name="channelGroup", + ) + version.id = AAZStrType( + flags={"required": True}, + ) + + 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 _WaitHelper: + """Helper class for Wait""" + + +__all__ = ["Wait"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/__cmd_group.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/__cmd_group.py new file mode 100644 index 00000000000..6cf87eca8ca --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/__cmd_group.py @@ -0,0 +1,23 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command_group( + "aro hcp identity-role-sets", +) +class __CMDGroup(AAZCommandGroup): + """View Azure Red Hat OpenShift with hosted control plane identity role sets + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/__init__.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/__init__.py new file mode 100644 index 00000000000..d63ae5a6fc9 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/__init__.py @@ -0,0 +1,12 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from .__cmd_group import * +from ._list import * diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/_list.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/_list.py new file mode 100644 index 00000000000..53551066c36 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/_list.py @@ -0,0 +1,259 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "aro hcp identity-role-sets list", +) +class List(AAZCommand): + """List Azure Red Hat OpenShift with hosted control plane identity role sets by location + + :example: List operator identity role sets in a location + az aro hcp identity-role-sets list --location eastus + """ + + _aaz_info = { + "version": "2026-10-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.redhatopenshift/locations/{}/hcpoperatoridentityrolesets", "2026-10-01"], + ] + } + + AZ_SUPPORT_PAGINATION = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, self._output) + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.location = AAZResourceLocationArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.HcpOperatorIdentityRoleSetsList(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 HcpOperatorIdentityRoleSetsList(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.RedHatOpenShift/locations/{location}/hcpOperatorIdentityRoleSets", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "location", self.ctx.args.location, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2026-10-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType() + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.control_plane_operators = AAZListType( + serialized_name="controlPlaneOperators", + flags={"required": True}, + ) + properties.data_plane_operators = AAZListType( + serialized_name="dataPlaneOperators", + flags={"required": True}, + ) + + control_plane_operators = cls._schema_on_200.value.Element.properties.control_plane_operators + control_plane_operators.Element = AAZObjectType() + _ListHelper._build_schema_operator_identity_roles_read(control_plane_operators.Element) + + data_plane_operators = cls._schema_on_200.value.Element.properties.data_plane_operators + data_plane_operators.Element = AAZObjectType() + _ListHelper._build_schema_operator_identity_roles_read(data_plane_operators.Element) + + 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", + ) + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + _schema_operator_identity_roles_read = None + + @classmethod + def _build_schema_operator_identity_roles_read(cls, _schema): + if cls._schema_operator_identity_roles_read is not None: + _schema.name = cls._schema_operator_identity_roles_read.name + _schema.required = cls._schema_operator_identity_roles_read.required + _schema.role_definitions = cls._schema_operator_identity_roles_read.role_definitions + return + + cls._schema_operator_identity_roles_read = _schema_operator_identity_roles_read = AAZObjectType() + + operator_identity_roles_read = _schema_operator_identity_roles_read + operator_identity_roles_read.name = AAZStrType( + flags={"required": True}, + ) + operator_identity_roles_read.required = AAZStrType( + flags={"required": True}, + ) + operator_identity_roles_read.role_definitions = AAZListType( + serialized_name="roleDefinitions", + flags={"required": True}, + ) + + role_definitions = _schema_operator_identity_roles_read.role_definitions + role_definitions.Element = AAZObjectType() + + _element = _schema_operator_identity_roles_read.role_definitions.Element + _element.name = AAZStrType( + flags={"required": True}, + ) + _element.resource_id = AAZStrType( + serialized_name="resourceId", + flags={"required": True}, + ) + + _schema.name = cls._schema_operator_identity_roles_read.name + _schema.required = cls._schema_operator_identity_roles_read.required + _schema.role_definitions = cls._schema_operator_identity_roles_read.role_definitions + + +__all__ = ["List"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/__init__.py b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/__init__.py new file mode 100644 index 00000000000..5757aea3175 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/__init__.py @@ -0,0 +1,6 @@ +# -------------------------------------------------------------------------------------------- +# 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 +# -------------------------------------------------------------------------------------------- diff --git a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_format.py b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_format.py new file mode 100644 index 00000000000..380295db33f --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_format.py @@ -0,0 +1,76 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import collections +import re + + +def _parse_semver(version_str): + match = re.match(r'(\d+)\.(\d+)\.(\d+)', version_str or '') + if match: + return tuple(int(x) for x in match.groups()) + return (0, 0, 0) + + +def _major_minor(version_str): + """Return the "Major.Minor" (X.Y) string for a version name, or '' if unparseable.""" + match = re.match(r'(\d+)\.(\d+)', version_str or '') + if match: + return '{}.{}'.format(*match.groups()) + return '' + + +def get_versions_table_format(results): + return [_version_row(r) for r in results] + + +def _version_row(result): + props = result.get('properties', {}) + return collections.OrderedDict( + Name=result.get('name', ''), + ChannelGroup=props.get('channelGroup', ''), + ) + + +def cluster_show_table_format(result): + return [_cluster_row(result)] + + +def cluster_list_table_format(results): + return [_cluster_row(r) for r in results] + + +def _cluster_row(result): + props = result.get('properties', {}) + version = props.get('version', {}) + api = props.get('api', {}) + return collections.OrderedDict( + Name=result.get('name', ''), + Location=result.get('location', ''), + ResourceGroup=result.get('resourceGroup', ''), + Version=version.get('id', ''), + ProvisioningState=props.get('provisioningState', ''), + ApiServerUrl=api.get('url', ''), + ) + + +def nodepool_show_table_format(result): + return [_nodepool_row(result)] + + +def nodepool_list_table_format(results): + return [_nodepool_row(r) for r in results] + + +def _nodepool_row(result): + props = result.get('properties', {}) + version = props.get('version', {}) + platform = props.get('platform', {}) + return collections.OrderedDict( + Name=result.get('name', ''), + Version=version.get('id', ''), + VmSize=platform.get('vmSize', ''), + ProvisioningState=props.get('provisioningState', ''), + ) diff --git a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_help.py b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_help.py new file mode 100644 index 00000000000..126d5d00714 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_help.py @@ -0,0 +1,11 @@ +# -------------------------------------------------------------------------------------------- +# 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: disable=line-too-long +# pylint: disable=too-many-lines + +from knack.help_files import helps # pylint: disable=unused-import diff --git a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_kubeconfig.py b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_kubeconfig.py new file mode 100644 index 00000000000..8b779f20a26 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_kubeconfig.py @@ -0,0 +1,210 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +# Kubeconfig merge helpers, adapted from azure-cli's acs command module +# (azure/cli/command_modules/acs/custom.py) so that +# `az aro hcp cluster request-credential` merges into an existing kubeconfig +# the same way `az aks get-credentials` does. + +import base64 +import errno +import os +import platform +import stat +import tempfile + +import yaml +from azure.cli.core.azclierror import FileOperationError +from knack.log import get_logger +from knack.prompting import NoTTYException, prompt_y_n +from knack.util import CLIError + +logger = get_logger(__name__) + + +def load_kubernetes_configuration(filename): + try: + with open(filename, encoding="utf-8") as stream: + return yaml.safe_load(stream) + except OSError as ex: + if getattr(ex, "errno", 0) == errno.ENOENT: + raise CLIError("{} does not exist".format(filename)) from ex + if getattr(ex, "errno", 0) in (errno.EACCES, errno.EPERM): + raise FileOperationError( + "Permission denied when trying to read {}. " + "Please ensure you have read access to this file, or specify a different file path " + "using the --file/-f argument.".format(filename) + ) from ex + raise + except (yaml.parser.ParserError, UnicodeDecodeError) as ex: + raise CLIError("Error parsing {} ({})".format(filename, str(ex))) from ex + + +def _handle_merge(existing, addition, key, replace): + if not addition.get(key, False): + return + if key not in existing: + raise FileOperationError( + "No such key '{}' in existing config, please confirm whether it is a valid config file. " + "May back up this config file, delete it and retry the command.".format(key) + ) + if not existing.get(key): + existing[key] = addition[key] + return + + for i in addition[key]: + for j in existing[key]: + if not i.get("name", False) or not j.get("name", False): + continue + if i["name"] == j["name"]: + if replace or i == j: + existing[key].remove(j) + else: + msg = "A different object named {} already exists in your kubeconfig file.\nOverwrite?" + overwrite = False + try: + overwrite = prompt_y_n(msg.format(i["name"])) + except NoTTYException: + pass + if overwrite: + existing[key].remove(j) + else: + msg = "A different object named {} already exists in {} in your kubeconfig file." + raise CLIError(msg.format(i["name"], key)) + existing[key].append(i) + + +def merge_kubernetes_configurations(existing_file, addition_file, replace, context_name=None): + existing = load_kubernetes_configuration(existing_file) + addition = load_kubernetes_configuration(addition_file) + + if addition is None: + raise CLIError("failed to load additional configuration from {}".format(addition_file)) + + if context_name is not None: + addition["contexts"][0]["name"] = context_name + addition["contexts"][0]["context"]["cluster"] = context_name + addition["clusters"][0]["name"] = context_name + addition["current-context"] = context_name + + if existing is None: + existing = addition + else: + _handle_merge(existing, addition, "clusters", replace) + _handle_merge(existing, addition, "users", replace) + _handle_merge(existing, addition, "contexts", replace) + existing["current-context"] = addition["current-context"] + + # check that ~/.kube/config is only read- and writable by its owner + if platform.system() != "Windows" and not os.path.islink(existing_file): + existing_file_perms = "{:o}".format(stat.S_IMODE(os.lstat(existing_file).st_mode)) + if not existing_file_perms.endswith("600"): + logger.warning( + '%s has permissions "%s".\nIt should be readable and writable only by its owner.', + existing_file, + existing_file_perms, + ) + + # Refuse to write through a symlink + if os.path.islink(existing_file): + raise CLIError( + 'Kubeconfig path "{}" is a symbolic link. ' + "Refusing to write to prevent symlink-following attacks.".format(existing_file) + ) + + # Atomic write: write to a temp file in the same directory, then replace + parent_dir = os.path.dirname(existing_file) or "." + tmp_fd, tmp_path = tempfile.mkstemp(dir=parent_dir) + try: + with os.fdopen(tmp_fd, "w") as stream: + yaml.safe_dump(existing, stream, default_flow_style=False) + # Preserve existing file permissions if available, otherwise default to 0600 + if os.path.exists(existing_file): + existing_mode = stat.S_IMODE(os.stat(existing_file).st_mode) + os.chmod(tmp_path, existing_mode) + else: + os.chmod(tmp_path, 0o600) + os.replace(tmp_path, existing_file) + except Exception as ex: # pylint: disable=broad-except + try: + os.unlink(tmp_path) + except OSError: + pass + if isinstance(ex, OSError) and getattr(ex, "errno", 0) in (errno.EACCES, errno.EPERM, errno.EROFS): + raise FileOperationError( + "Permission denied when trying to write to {}. " + "Please ensure you have write access to this file, or specify a different file path " + "using the --file/-f argument.".format(existing_file) + ) from ex + raise + + current_context = addition.get("current-context", "UNKNOWN") + logger.warning('Merged "%s" as current context in %s', current_context, existing_file) + + +def print_or_merge_credentials(path, kubeconfig, overwrite_existing, context_name): + """Merge an unencrypted kubeconfig into the file at the specified path, or print it to + stdout if the path is "-". + """ + # Special case for printing to stdout + if path == "-": + print(kubeconfig) + return + + # ensure that at least an empty ~/.kube/config exists + directory = os.path.dirname(path) + if directory and not os.path.exists(directory): + try: + os.makedirs(directory) + except OSError as ex: + if ex.errno != errno.EEXIST: + raise + if not os.path.exists(path): + with os.fdopen(os.open(path, os.O_CREAT | os.O_WRONLY, 0o600), "wt"): + pass + + # merge the new kubeconfig into the existing one + fd, temp_path = tempfile.mkstemp() + additional_file = os.fdopen(fd, "w+t") + try: + additional_file.write(kubeconfig) + additional_file.flush() + merge_kubernetes_configurations(path, temp_path, overwrite_existing, context_name) + except yaml.YAMLError as ex: + logger.warning("Failed to merge credentials to kube config file: %s", ex) + finally: + additional_file.close() + os.remove(temp_path) + + +def _generate_admin_credential_request(): + from cryptography import x509 + from cryptography.hazmat.primitives import hashes, serialization + from cryptography.hazmat.primitives.asymmetric import rsa + from cryptography.x509.oid import NameOID + + private_key = rsa.generate_private_key(public_exponent=65537, key_size=4096) + subject = x509.Name([ + x509.NameAttribute(NameOID.COMMON_NAME, "system:customer-break-glass:system-admin"), + x509.NameAttribute(NameOID.ORGANIZATION_NAME, "system:masters"), + ]) + csr = x509.CertificateSigningRequestBuilder().subject_name(subject).sign(private_key, hashes.SHA256()) + + private_key_pem = private_key.private_bytes( + encoding=serialization.Encoding.PEM, + format=serialization.PrivateFormat.PKCS8, + encryption_algorithm=serialization.NoEncryption(), + ) + csr_pem = csr.public_bytes(serialization.Encoding.PEM).decode("ascii") + return private_key_pem, csr_pem + + +def _embed_private_key(kubeconfig, private_key_pem): + config = yaml.safe_load(kubeconfig) + user = next(item for item in config["users"] if item["name"] == "admin") + + user["user"]["client-key-data"] = base64.b64encode(private_key_pem).decode("ascii") + user["user"].pop("client-key", None) + return yaml.safe_dump(config, default_flow_style=False) diff --git a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_params.py b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_params.py new file mode 100644 index 00000000000..cfcec717c9c --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_params.py @@ -0,0 +1,13 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements + + +def load_arguments(self, _): # pylint: disable=unused-argument + pass diff --git a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/commands.py b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/commands.py new file mode 100644 index 00000000000..d7a753dd08a --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/commands.py @@ -0,0 +1,35 @@ +# -------------------------------------------------------------------------------------------- +# 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: disable=too-many-lines +# pylint: disable=too-many-statements + +# from azure.cli.core.commands import CliCommandType + + +def load_command_table(self, _): # pylint: disable=unused-argument + with self.command_group("aro hcp cluster"): + from .custom import ClusterCreate, ClusterUpdate, RequestCredential + from ..aaz.latest.aro.hcp.cluster._list import List + from ..aaz.latest.aro.hcp.cluster._show import Show + from ._format import cluster_list_table_format, cluster_show_table_format + self.command_table["aro hcp cluster create"] = ClusterCreate(loader=self) + self.command_table["aro hcp cluster update"] = ClusterUpdate(loader=self) + self.command_table["aro hcp cluster request-credential"] = RequestCredential(loader=self) + self.command_table["aro hcp cluster list"] = List(loader=self, table_transformer=cluster_list_table_format) + self.command_table["aro hcp cluster show"] = Show(loader=self, table_transformer=cluster_show_table_format) + + with self.command_group("aro hcp cluster nodepool"): + from ..aaz.latest.aro.hcp.cluster.nodepool._list import List as NodepoolList + from ..aaz.latest.aro.hcp.cluster.nodepool._show import Show as NodepoolShow + from ._format import nodepool_list_table_format, nodepool_show_table_format + self.command_table["aro hcp cluster nodepool list"] = NodepoolList(loader=self, table_transformer=nodepool_list_table_format) # pylint: disable=line-too-long + self.command_table["aro hcp cluster nodepool show"] = NodepoolShow(loader=self, table_transformer=nodepool_show_table_format) # pylint: disable=line-too-long + + with self.command_group("aro hcp"): + from .custom import GetVersions + self.command_table["aro hcp get-versions"] = GetVersions(loader=self) diff --git a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py new file mode 100644 index 00000000000..e8b5ad2ba51 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py @@ -0,0 +1,539 @@ +# -------------------------------------------------------------------------------------------- +# 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: disable=too-many-lines +# pylint: disable=too-many-statements + +import os + +from azure.cli.core.aaz import ( + AAZBoolArg, + AAZListArg, + AAZObjectArg, + AAZStrArg, + has_value, +) +from azure.cli.core.azclierror import InvalidArgumentValueError +from azure.mgmt.core.tools import is_valid_resource_id, parse_resource_id, resource_id +from knack.log import get_logger + +from ..aaz.latest.aro.hcp.cluster._create import Create as _ClusterCreate +from ..aaz.latest.aro.hcp.cluster._update import Update as _ClusterUpdate +from ..aaz.latest.aro.hcp.cluster._request_credential import RequestCredential as _RequestCredential +from ..aaz.latest.aro.hcp._get_versions import GetVersions as _GetVersions + +logger = get_logger(__name__) + + +# This subclass facilitates the `--IDENTITY-FLAG OPERATOR_NAME IDENTITY` positional argument +# formatting while still maintaining the underlying AAZListArg behavior. +class _AAZIdentityPairArg(AAZListArg): + + def to_cmd_arg(self, name, **kwargs): + arg = super().to_cmd_arg(name, **kwargs) + arg.help = self._help.get("short-summary") + return arg + + def _build_cmd_action(self): + from azure.cli.core.aaz._arg_action import ( # pylint: disable=protected-access + AAZArgActionOperations, + AAZListArgAction, + _ELEMENT_APPEND_KEY, + ) + + class Action(AAZListArgAction): + _schema = self + + def __call__(self, parser, namespace, values, option_string=None): + if len(values) != 2: + raise InvalidArgumentValueError( + "{} expects OPERATOR_NAME IDENTITY.".format(option_string) + ) + if not isinstance(getattr(namespace, self.dest), AAZArgActionOperations): + setattr(namespace, self.dest, AAZArgActionOperations()) + element_action = self._schema.Element._build_cmd_action() + element = element_action.format_data({ + "name": values[0], + "resource_id": values[1], + }) + getattr(namespace, self.dest).add(element, _ELEMENT_APPEND_KEY) + + return Action + + +def _build_operator_identity_arg(options, help_text, required=True): + identity_arg = _AAZIdentityPairArg( + options=options, + arg_group="Identity", + help=help_text, + required=required, + ) + identity_arg.Element = AAZObjectArg() + identity_arg.Element.name = AAZStrArg( + options=["name"], + required=True, + ) + identity_arg.Element.resource_id = AAZStrArg( + options=["resource-id"], + required=True, + ) + return identity_arg + + +def _resolve_identity_resource_id(identity, subnet_id): + if is_valid_resource_id(identity): + return identity + + subnet = parse_resource_id(subnet_id) + subscription = subnet.get("subscription") + resource_group = subnet.get("resource_group") + if not subscription or not resource_group: + raise InvalidArgumentValueError( + "Unable to resolve identity name '{}' because platform.subnetId is not a valid " + "Azure resource ID.".format(identity) + ) + + return resource_id( + subscription=subscription, + resource_group=resource_group, + namespace="Microsoft.ManagedIdentity", + type="userAssignedIdentities", + name=identity, + ) + + +def _operator_identities(argument, option, subnet_id): + identities = {} + for identity in argument: + name = identity.name.to_serialized_data() + if name in identities: + raise InvalidArgumentValueError( + "Duplicate name '{}' supplied for {}.".format(name, option) + ) + identities[name] = _resolve_identity_resource_id( + identity.resource_id.to_serialized_data(), + subnet_id, + ) + return identities + + +def _default_kubeconfig_path(): + return os.path.join(os.path.expanduser("~"), ".kube", "config") + + +class ClusterCreate(_ClusterCreate): + AZ_HELP = { + **_ClusterCreate.AZ_HELP, + "examples": [ + { + "name": "Create a cluster", + "text": "az aro hcp cluster create --resource-group MyResourceGroup --name MyCluster " + "--location eastus --version 4.19 --channel-group stable --network-type OVNKubernetes " + "--subnet-id --key-management-mode CustomerManaged " + "--kms-vault-name MyKeyVault " + "--kms-active-key \"{name:MyKey,version:}\" " + "--assign-service-managed-identity " + "--assign-control-plane-operator-identity cluster-api-azure " + " " + "--assign-control-plane-operator-identity control-plane " + " " + "--assign-control-plane-operator-identity cloud-controller-manager " + " " + "--assign-control-plane-operator-identity ingress " + "--assign-control-plane-operator-identity disk-csi-driver " + " " + "--assign-control-plane-operator-identity file-csi-driver " + " " + "--assign-control-plane-operator-identity image-registry " + " " + "--assign-control-plane-operator-identity cloud-network-config " + " " + "--assign-control-plane-operator-identity kms " + "--assign-data-plane-operator-identity disk-csi-driver " + " " + "--assign-data-plane-operator-identity file-csi-driver " + " " + "--assign-data-plane-operator-identity image-registry " + "", + }, + ], + } + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + args_schema = super()._build_arguments_schema(*args, **kwargs) + if hasattr(args_schema, "assign_control_plane_operator_identity"): + return args_schema + + # Remove once platform managed etcd encryption has been implemented and + # key management mode can safely default to PlatformManaged + args_schema.key_management_mode._default = None # pylint: disable=protected-access + args_schema.key_management_mode._required = True # pylint: disable=protected-access + + args_schema.user_assigned_identities._registered = False # pylint: disable=protected-access + args_schema.operators_authentication._registered = False # pylint: disable=protected-access + args_schema.container_registry_managed_identity._registered = False # pylint: disable=protected-access + + args_schema.assign_control_plane_operator_identity = _build_operator_identity_arg( + ["--control-plane-identity", "--assign-control-plane-operator-identity"], + "Assign a user-assigned identity to a control plane operator. " + "Usage: --assign-control-plane-operator-identity OPERATOR_NAME IDENTITY. " + "IDENTITY is a resource ID or the name of an identity in the cluster subnet's resource group. " + "Repeat the argument to assign more identities.", + ) + args_schema.assign_data_plane_operator_identity = _build_operator_identity_arg( + ["--data-plane-identity", "--assign-data-plane-operator-identity"], + "Assign a user-assigned identity to a data plane operator. " + "Usage: --assign-data-plane-operator-identity OPERATOR_NAME IDENTITY. " + "IDENTITY is a resource ID or the name of an identity in the cluster subnet's resource group. " + "Repeat the argument to assign more identities.", + ) + args_schema.assign_service_managed_identity = AAZStrArg( + options=["--service-identity", "--assign-service-managed-identity"], + arg_group="Identity", + help="Assign the user-assigned identity used for service-level actions by resource ID " + "or by name when it is in the cluster subnet's resource group.", + required=True, + ) + args_schema.assign_container_registry_managed_identity = AAZStrArg( + options=[ + "--registry-identity", + "--assign-container-registry-managed-identity", + ], + arg_group="Identity", + help="Assign the user-assigned identity used for container registry image pulls " + "by resource ID or by name when it is in the cluster subnet's resource group.", + ) + return args_schema + + def pre_operations(self): + args = self.ctx.args + subnet_id = args.subnet_id.to_serialized_data() + control_plane = _operator_identities( + args.assign_control_plane_operator_identity, + "--assign-control-plane-operator-identity", + subnet_id, + ) + data_plane = _operator_identities( + args.assign_data_plane_operator_identity, + "--assign-data-plane-operator-identity", + subnet_id, + ) + service = _resolve_identity_resource_id( + args.assign_service_managed_identity.to_serialized_data(), + subnet_id, + ) + if has_value(args.assign_container_registry_managed_identity): + args.container_registry_managed_identity = _resolve_identity_resource_id( + args.assign_container_registry_managed_identity.to_serialized_data(), + subnet_id, + ) + + args.user_assigned_identities = { + resource_id: {} + for resource_id in set(control_plane.values()) | {service} + } + args.operators_authentication = { + "user_assigned_identities": { + "control_plane_operators": control_plane, + "data_plane_operators": data_plane, + "service_managed_identity": service, + } + } + + class HcpOpenShiftClustersCreateOrUpdate(_ClusterCreate.HcpOpenShiftClustersCreateOrUpdate): + + @property + def content(self): + _content = super().content + if _content and "identity" in _content: + _content["identity"]["type"] = "UserAssigned" + elif _content: + _content["identity"] = {"type": "UserAssigned"} + return _content + + +class ClusterUpdate(_ClusterUpdate): + AZ_HELP = { + "type": "command", + "short-summary": "Update an Azure Red Hat OpenShift with hosted control plane cluster", + "long-summary": None, + "examples": [ + { + "name": "Update cluster tags", + "text": "az aro hcp cluster update --resource-group MyResourceGroup " + "--name MyCluster --tags env=prod team=platform", + }, + { + "name": "Update cluster operator identities", + "text": "az aro hcp cluster update --resource-group MyResourceGroup --name MyCluster " + "--assign-service-managed-identity " + "--assign-control-plane-operator-identity cluster-api-azure " + " --assign-data-plane-operator-identity " + "disk-csi-driver ", + }, + ], + } + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + args_schema = super()._build_arguments_schema(*args, **kwargs) + if hasattr(args_schema, "assign_control_plane_operator_identity"): + return args_schema + + args_schema.user_assigned_identities._registered = False # pylint: disable=protected-access + args_schema.operators_authentication._registered = False # pylint: disable=protected-access + args_schema.container_registry_managed_identity._registered = False # pylint: disable=protected-access + + args_schema.assign_control_plane_operator_identity = _build_operator_identity_arg( + ["--control-plane-identity", "--assign-control-plane-operator-identity"], + "Assign user-assigned identities to control plane operators. " + "Usage: --assign-control-plane-operator-identity OPERATOR_NAME IDENTITY. " + "IDENTITY is a resource ID or the name of an identity in the cluster subnet's resource group. " + "Repeat the argument to assign more identities.", + required=False, + ) + args_schema.assign_data_plane_operator_identity = _build_operator_identity_arg( + ["--data-plane-identity", "--assign-data-plane-operator-identity"], + "Assign user-assigned identities to data plane operators. " + "Usage: --assign-data-plane-operator-identity OPERATOR_NAME IDENTITY. " + "IDENTITY is a resource ID or the name of an identity in the cluster subnet's resource group. " + "Repeat the argument to assign more identities.", + required=False, + ) + args_schema.assign_service_managed_identity = AAZStrArg( + options=["--service-identity", "--assign-service-managed-identity"], + arg_group="Identity", + help="Assign the user-assigned identity used for service-level actions by resource ID " + "or by name when it is in the cluster subnet's resource group.", + ) + args_schema.assign_container_registry_managed_identity = AAZStrArg( + options=[ + "--registry-identity", + "--assign-container-registry-managed-identity", + ], + arg_group="Identity", + help="Assign the user-assigned identity used for container registry image pulls " + "by resource ID or by name when it is in the cluster subnet's resource group.", + ) + return args_schema + + def pre_instance_update(self, instance): + args = self.ctx.args + control_plane_arg = args.assign_control_plane_operator_identity + data_plane_arg = args.assign_data_plane_operator_identity + service_arg = args.assign_service_managed_identity + container_registry_arg = args.assign_container_registry_managed_identity + has_operator_identity_arg = any(has_value(arg) for arg in ( + control_plane_arg, + data_plane_arg, + service_arg, + )) + if not has_operator_identity_arg and not has_value(container_registry_arg): + return + + platform = instance.properties.platform + subnet_id = platform.subnet_id + if has_value(container_registry_arg): + args.container_registry_managed_identity = _resolve_identity_resource_id( + container_registry_arg.to_serialized_data(), + subnet_id, + ) + + if not has_operator_identity_arg: + return + + operator_identities = platform.operators_authentication.user_assigned_identities + + if has_value(control_plane_arg): + control_plane = _operator_identities( + control_plane_arg, + "--assign-control-plane-operator-identity", + subnet_id, + ) + operator_identities.control_plane_operators = control_plane + + if has_value(data_plane_arg): + data_plane = _operator_identities( + data_plane_arg, + "--assign-data-plane-operator-identity", + subnet_id, + ) + operator_identities.data_plane_operators = data_plane + + if has_value(service_arg): + service = _resolve_identity_resource_id( + service_arg.to_serialized_data(), + subnet_id, + ) + operator_identities.service_managed_identity = service + + assigned_resource_ids = set(operator_identities.control_plane_operators.values()) + assigned_resource_ids.update(operator_identities.data_plane_operators.values()) + assigned_resource_ids.add(operator_identities.service_managed_identity) + instance.identity.user_assigned_identities = { + resource_id: {} for resource_id in assigned_resource_ids + } + + +class GetVersions(_GetVersions): + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + args_schema = super()._build_arguments_schema(*args, **kwargs) + args_schema.control_plane = AAZBoolArg( + options=["--control-plane"], + help="List the distinct Major.Minor (X.Y) versions available for the control plane. " + "Use one of these with 'cluster create --version', which takes an X.Y version.", + default=False, + ) + args_schema.node_pools = AAZBoolArg( + options=["--node-pools"], + help="List all available full X.Y.Z versions for node pools. " + "Use one of these with 'nodepool create --version', which requires a full X.Y.Z version.", + default=False, + ) + return args_schema + + def _output(self, *args, **kwargs): + from azure.cli.core.azclierror import MutuallyExclusiveArgumentError + from ._format import _parse_semver, _major_minor, _version_row + + result, next_link = super()._output(*args, **kwargs) + + control_plane = has_value(self.ctx.args.control_plane) and self.ctx.args.control_plane.to_serialized_data() + node_pools = has_value(self.ctx.args.node_pools) and self.ctx.args.node_pools.to_serialized_data() + + if control_plane and node_pools: + raise MutuallyExclusiveArgumentError( + "--control-plane and --node-pools cannot be used together." + ) + + if not result: + return result, next_link + + # Keep enabled versions only, ascending by semver. + enabled = [v for v in result if v.get('properties', {}).get('enabled', True)] + enabled.sort(key=lambda v: _parse_semver(v.get('name', ''))) + + if control_plane: + # Distinct Major.Minor (X.Y) versions, ascending. 'cluster create --version' + # takes an X.Y version. + rows = [] + seen = set() + for v in enabled: + xy = _major_minor(v.get('name', '')) + if not xy or xy in seen: + continue + seen.add(xy) + row = _version_row(v) + row['Name'] = xy + rows.append(row) + else: + # Default (and --node-pools): all enabled full X.Y.Z versions, ascending. + # 'nodepool create --version' requires a full X.Y.Z version, so the bare + # 'get-versions' output matches the node-pools listing. + rows = [_version_row(v) for v in enabled] + + return rows, next_link + + +class RequestCredential(_RequestCredential): + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self._private_key_pem = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + args_schema = super()._build_arguments_schema(*args, **kwargs) + args_schema.certificate_signing_request = AAZStrArg( + options=["--certificate-signing-request"], + ) + args_schema.certificate_signing_request._registered = False # pylint: disable=protected-access + args_schema.admin = AAZBoolArg( + options=["-a", "--admin"], + help="Get cluster administrator credentials. Default: cluster user credentials.", + default=False, + ) + args_schema.file = AAZStrArg( + options=["-f", "--file"], + help="Kubernetes configuration file to update. Use \"-\" to print the kubeconfig to stdout instead.", + default=_default_kubeconfig_path(), + ) + args_schema.context_name = AAZStrArg( + options=["--context"], + help="If specified, overwrite the default context name.", + required=False, + ) + args_schema.overwrite_existing = AAZBoolArg( + options=["--overwrite-existing"], + help="Overwrite any existing cluster entry with the same name.", + default=False, + ) + return args_schema + + def _handler(self, command_args): + from ._kubeconfig import _generate_admin_credential_request + + if not command_args.get("admin"): + raise InvalidArgumentValueError( + "Requesting a non-admin credential is not supported yet. Specify --admin/-a to request an admin credential." # pylint: disable=line-too-long + ) + private_key_pem, command_args["certificate_signing_request"] = _generate_admin_credential_request() + self._private_key_pem = private_key_pem + try: + return super()._handler(command_args) + except Exception: + del self._private_key_pem + raise + + def _output(self, *args, **kwargs): + from ._kubeconfig import _embed_private_key, print_or_merge_credentials + + private_key_pem = getattr(self, "_private_key_pem", None) + if private_key_pem is None: + return super()._output(*args, **kwargs) + del self._private_key_pem + + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True, secret_hidden=False) + if not result or "kubeconfig" not in result: + return result + + kubeconfig = result["kubeconfig"].replace("\\n", "\n") + kubeconfig = _embed_private_key(kubeconfig, private_key_pem) + path = self.ctx.args.file.to_serialized_data() + if has_value(self.ctx.args.context_name): + context_name = self.ctx.args.context_name.to_serialized_data() + else: + # Default to an AKS-style "-admin" context. The API returns a + # generic "admin" context, so without this every cluster would merge into the + # same context name and collide in the kubeconfig. + context_name = "{}-admin".format(self.ctx.args.name.to_serialized_data()) + overwrite_existing = bool(self.ctx.args.overwrite_existing.to_serialized_data()) if has_value(self.ctx.args.overwrite_existing) else False # pylint: disable=line-too-long + + # honor $KUBECONFIG when the caller kept the default path + if path == _default_kubeconfig_path() and os.environ.get("KUBECONFIG"): + first = os.environ["KUBECONFIG"].split(os.pathsep)[0] + if first: + path = os.path.expanduser(first) + elif path != "-": + path = os.path.expanduser(path) + + print_or_merge_credentials(path, kubeconfig, overwrite_existing, context_name) + return None + + class HcpOpenShiftClustersRequestAdminCredential( + _RequestCredential.HcpOpenShiftClustersRequestAdminCredential): + + @property + def content(self): + content = super().content + content["certificateSigningRequest"] = ( + self.ctx.args.certificate_signing_request.to_serialized_data() + ) + return content diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/unit/__init__.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/__init__.py similarity index 100% rename from src/azure-cli/azure/cli/command_modules/aro/tests/latest/unit/__init__.py rename to src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/__init__.py diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/__init__.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/__init__.py new file mode 100644 index 00000000000..5757aea3175 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/__init__.py @@ -0,0 +1,6 @@ +# -------------------------------------------------------------------------------------------- +# 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 +# -------------------------------------------------------------------------------------------- diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/recordings/test_aro_hcp_cluster_lifecycle.yaml b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/recordings/test_aro_hcp_cluster_lifecycle.yaml new file mode 100644 index 00000000000..2acc9ab53cc --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/recordings/test_aro_hcp_cluster_lifecycle.yaml @@ -0,0 +1,8348 @@ +interactions: +- request: + body: '{"location": "uksouth"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network nsg create + Connection: + - keep-alive + Content-Length: + - '23' + Content-Type: + - application/json + ParameterSetName: + - -g -n --location --query -o + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005?api-version=2022-01-01 + response: + body: + string: '{"name":"clihcp-nsg000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","etag":"W/\"7f7e9d04-95f7-42f3-9918-221bff2739e2\"","type":"Microsoft.Network/networkSecurityGroups","location":"uksouth","properties":{"provisioningState":"Updating","resourceGuid":"c0526b63-f20b-414a-bdf4-00cc31c202c9","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowVnetInBound","etag":"W/\"7f7e9d04-95f7-42f3-9918-221bff2739e2\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","priority":65000,"description":"Allow + inbound traffic from all VMs in VNET","protocol":"*","access":"Allow","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowAzureLoadBalancerInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"7f7e9d04-95f7-42f3-9918-221bff2739e2\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"AzureLoadBalancer","destinationAddressPrefix":"*","priority":65001,"description":"Allow + inbound traffic from azure load balancer","protocol":"*","access":"Allow","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"DenyAllInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/DenyAllInBound","etag":"W/\"7f7e9d04-95f7-42f3-9918-221bff2739e2\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","priority":65500,"description":"Deny + all inbound traffic","protocol":"*","access":"Deny","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowVnetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"7f7e9d04-95f7-42f3-9918-221bff2739e2\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","priority":65000,"description":"Allow + outbound traffic from all VMs to all VMs in VNET","protocol":"*","access":"Allow","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowInternetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"7f7e9d04-95f7-42f3-9918-221bff2739e2\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"Internet","priority":65001,"description":"Allow + outbound traffic from all VMs to Internet","protocol":"*","access":"Allow","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"DenyAllOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/DenyAllOutBound","etag":"W/\"7f7e9d04-95f7-42f3-9918-221bff2739e2\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","priority":65500,"description":"Deny + all outbound traffic","protocol":"*","access":"Deny","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}}]}}' + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/80e9ce28-aaa4-4ff9-8622-dc1fe8a61533?api-version=2022-01-01&t=639282832239834489&c=REDACTED&s=REDACTED&h=REDACTED + cache-control: + - no-cache + content-length: + - '5003' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:27:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - ab726137-9125-48e5-ab8a-0c4e112a0359 + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-ms-throttle-levels: + - operationRatePct=0.1, operationConcurrencyPct=0.3, subscriptionWriteRatePct=0.4, + etc + x-msedge-ref: + - 'Ref A: 90C8254D9AE6416DA4798A4BAE7170EA Ref B: DM2AA1091212027 Ref C: 2026-10-22T16:27:01Z' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network nsg create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --query -o + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/80e9ce28-aaa4-4ff9-8622-dc1fe8a61533?api-version=2022-01-01&t=639282832239834489&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:27:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - ca7431cb-3dce-40b9-9b81-e83ec77b0b9e + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-ms-throttle-levels: + - operationConcurrencyPct=0.5, subscriptionReadRatePct=6.2, etc + x-msedge-ref: + - 'Ref A: 89762F2566F2489BAF45F6B1643BAD2D Ref B: DM2AA1091212049 Ref C: 2026-10-22T16:27:04Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network nsg create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --query -o + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005?api-version=2022-01-01 + response: + body: + string: '{"name":"clihcp-nsg000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","etag":"W/\"a37f902e-1edc-477f-bb77-e5fd8ff63790\"","type":"Microsoft.Network/networkSecurityGroups","location":"uksouth","properties":{"provisioningState":"Succeeded","resourceGuid":"c0526b63-f20b-414a-bdf4-00cc31c202c9","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowVnetInBound","etag":"W/\"a37f902e-1edc-477f-bb77-e5fd8ff63790\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","priority":65000,"description":"Allow + inbound traffic from all VMs in VNET","protocol":"*","access":"Allow","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowAzureLoadBalancerInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"a37f902e-1edc-477f-bb77-e5fd8ff63790\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"AzureLoadBalancer","destinationAddressPrefix":"*","priority":65001,"description":"Allow + inbound traffic from azure load balancer","protocol":"*","access":"Allow","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"DenyAllInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/DenyAllInBound","etag":"W/\"a37f902e-1edc-477f-bb77-e5fd8ff63790\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","priority":65500,"description":"Deny + all inbound traffic","protocol":"*","access":"Deny","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowVnetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"a37f902e-1edc-477f-bb77-e5fd8ff63790\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","priority":65000,"description":"Allow + outbound traffic from all VMs to all VMs in VNET","protocol":"*","access":"Allow","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowInternetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"a37f902e-1edc-477f-bb77-e5fd8ff63790\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"Internet","priority":65001,"description":"Allow + outbound traffic from all VMs to Internet","protocol":"*","access":"Allow","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"DenyAllOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/DenyAllOutBound","etag":"W/\"a37f902e-1edc-477f-bb77-e5fd8ff63790\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","priority":65500,"description":"Deny + all outbound traffic","protocol":"*","access":"Deny","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}}]}}' + headers: + cache-control: + - no-cache + content-length: + - '5010' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:27:05 GMT + etag: + - W/"a37f902e-1edc-477f-bb77-e5fd8ff63790" + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 2ac4687f-d8ac-42d4-9acb-ad16c80c42b6 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-ms-throttle-levels: + - operationRatePct=1.3, operationConcurrencyPct=0.5, subscriptionReadRatePct=6.2, + etc + x-msedge-ref: + - 'Ref A: 48B516162FEA4540A56F1EAED6851233 Ref B: SN4AA2022302031 Ref C: 2026-10-22T16:27:04Z' + status: + code: 200 + message: OK +- request: + body: '{"location": "uksouth", "properties": {"addressSpace": {"addressPrefixes": + ["10.0.0.0/16"]}, "enableDdosProtection": false, "enableVmProtection": false}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + Content-Length: + - '153' + Content-Type: + - application/json + ParameterSetName: + - -g -n --location --address-prefixes + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004?api-version=2025-07-01 + response: + body: + string: '{"name":"clihcp-vnet000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","etag":"W/\"f76fea33-d0e0-4f52-a652-77d9f4bdba4b\"","type":"Microsoft.Network/virtualNetworks","location":"uksouth","properties":{"provisioningState":"Updating","resourceGuid":"466885eb-be59-47f0-8b59-93385c9c3c1f","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/3524e6c4-0ec8-4410-ac4a-fa01d7b18b0f?api-version=2025-07-01&t=639282832268476435&c=REDACTED&s=REDACTED&h=REDACTED + cache-control: + - no-cache + content-length: + - '565' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:27:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - b27821fe-3609-44e9-ae6e-6e41c50384d9 + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-ms-throttle-levels: + - operationRatePct=0.1, operationConcurrencyPct=0.3, subscriptionWriteRatePct=0.4, + etc + x-msedge-ref: + - 'Ref A: 93671AF60E6D4F1F9595163E1792A9A4 Ref B: DM2AA1091212037 Ref C: 2026-10-22T16:27:06Z' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --address-prefixes + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/3524e6c4-0ec8-4410-ac4a-fa01d7b18b0f?api-version=2025-07-01&t=639282832268476435&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:27:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 6a9e6b58-df62-4280-90a7-a94e0680b2a9 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-ms-throttle-levels: + - operationConcurrencyPct=0.5, subscriptionReadRatePct=6.3, etc + x-msedge-ref: + - 'Ref A: C221484586744A01BF9DD4C7BC915206 Ref B: DM2AA1091213029 Ref C: 2026-10-22T16:27:07Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --address-prefixes + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/3524e6c4-0ec8-4410-ac4a-fa01d7b18b0f?api-version=2025-07-01&t=639282832268476435&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:27:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 08ecdba6-8907-40a6-9d93-972b58c9e1f6 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-ms-throttle-levels: + - operationConcurrencyPct=0.5, subscriptionReadRatePct=6.6, etc + x-msedge-ref: + - 'Ref A: E169BCBF9D8F4C00BD3549B2399C0A05 Ref B: SN4AA2022305037 Ref C: 2026-10-22T16:27:18Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --address-prefixes + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004?api-version=2025-07-01 + response: + body: + string: '{"name":"clihcp-vnet000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","etag":"W/\"6e97f911-b8ce-430a-9db5-a89a345e9956\"","type":"Microsoft.Network/virtualNetworks","location":"uksouth","properties":{"provisioningState":"Succeeded","resourceGuid":"466885eb-be59-47f0-8b59-93385c9c3c1f","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' + headers: + cache-control: + - no-cache + content-length: + - '566' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:27:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 97742dc0-3862-4794-84cf-a5e7c8500ecb + x-ms-ratelimit-remaining-subscription-global-reads: + - '3747' + x-ms-throttle-levels: + - operationRatePct=0.8, operationConcurrencyPct=2.0, internalDataRatePct=0.1, + subscriptionReadRatePct=6.6, etc + x-msedge-ref: + - 'Ref A: AB4C47A240CA4C8EA3A6A7547B9B79A8 Ref B: SN4AA2022303035 Ref C: 2026-10-22T16:27:18Z' + status: + code: 200 + message: OK +- request: + body: '{"name": "cluster-subnet", "properties": {"addressPrefix": "10.0.0.0/24", + "networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005"}, + "privateEndpointNetworkPolicies": "Disabled", "privateLinkServiceNetworkPolicies": + "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + Content-Length: + - '360' + Content-Type: + - application/json + ParameterSetName: + - -g --vnet-name -n --address-prefixes --network-security-group --disable-private-endpoint-network-policies + --query -o + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet?api-version=2024-07-01 + response: + body: + string: '{"name":"cluster-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","etag":"W/\"2458205b-4c1b-4915-86fd-a62d9bff5ca3\"","properties":{"provisioningState":"Updating","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005"},"delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}' + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/18f61869-7e1f-48c4-8739-8e30e60ac44c?api-version=2024-07-01&t=639282832395154817&c=REDACTED&s=REDACTED&h=REDACTED + cache-control: + - no-cache + content-length: + - '682' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:27:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 4b9dcbdf-2f69-4aa5-addb-91d326fe9ba0 + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-ms-throttle-levels: + - operationRatePct=0.1, operationConcurrencyPct=0.3, subscriptionWriteRatePct=0.5, + etc + x-msedge-ref: + - 'Ref A: 58DA953279A74C7BA5523DD3F81761A0 Ref B: SN4AA2022302023 Ref C: 2026-10-22T16:27:19Z' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + ParameterSetName: + - -g --vnet-name -n --address-prefixes --network-security-group --disable-private-endpoint-network-policies + --query -o + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/18f61869-7e1f-48c4-8739-8e30e60ac44c?api-version=2024-07-01&t=639282832395154817&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:27:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 984dae74-6ae3-49ac-bb2b-7c10d987ed50 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-ms-throttle-levels: + - operationConcurrencyPct=1.0, subscriptionReadRatePct=6.6, etc + x-msedge-ref: + - 'Ref A: 3CC11BE686D54A2BB8AB1A66C91EDC51 Ref B: SN4AA2022303035 Ref C: 2026-10-22T16:27:19Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + ParameterSetName: + - -g --vnet-name -n --address-prefixes --network-security-group --disable-private-endpoint-network-policies + --query -o + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet?api-version=2024-07-01 + response: + body: + string: '{"name":"cluster-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","etag":"W/\"f620623f-3b78-47c5-93c0-a63b4a796a81\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005"},"delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}' + headers: + cache-control: + - no-cache + content-length: + - '683' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:27:19 GMT + etag: + - W/"f620623f-3b78-47c5-93c0-a63b4a796a81" + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 4d2ebd47-a868-448c-bb1a-69deb2f7042c + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-ms-throttle-levels: + - operationRatePct=0.1, operationConcurrencyPct=0.5, subscriptionReadRatePct=6.6, + etc + x-msedge-ref: + - 'Ref A: 32A4346F004F4C74B86000B9E2DEB071 Ref B: DM2AA1091214037 Ref C: 2026-10-22T16:27:20Z' + status: + code: 200 + message: OK +- request: + body: '{"name": "integration-subnet", "properties": {"addressPrefix": "10.0.1.0/24", + "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.RedHatOpenShift/hcpOpenShiftClusters"}}], + "privateEndpointNetworkPolicies": "Disabled", "privateLinkServiceNetworkPolicies": + "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + Content-Length: + - '285' + Content-Type: + - application/json + ParameterSetName: + - -g --vnet-name -n --address-prefixes --delegations --query -o + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet?api-version=2024-07-01 + response: + body: + string: '{"name":"integration-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet","etag":"W/\"49255177-27fd-4bc0-af88-bda31a1dff0f\"","properties":{"provisioningState":"Updating","addressPrefix":"10.0.1.0/24","delegations":[{"name":"0","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet/delegations/0","etag":"W/\"49255177-27fd-4bc0-af88-bda31a1dff0f\"","properties":{"provisioningState":"Succeeded","serviceName":"Microsoft.RedHatOpenShift/hcpOpenShiftClusters","actions":["Microsoft.Network/virtualNetworks/subnets/join/action"]},"type":"Microsoft.Network/virtualNetworks/subnets/delegations"}],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}' + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/042f7f45-82e7-44e8-bcaa-78bc92d6aabf?api-version=2024-07-01&t=639282832429861762&c=REDACTED&s=REDACTED&h=REDACTED + cache-control: + - no-cache + content-length: + - '1006' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:27:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 25dc4629-0d4d-48ec-a444-89074f56cea0 + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-ms-throttle-levels: + - operationRatePct=0.2, operationConcurrencyPct=0.3, subscriptionWriteRatePct=0.5, + etc + x-msedge-ref: + - 'Ref A: 7075FC1B81CD41EABA328BE8C36CB384 Ref B: SN4AA2022305011 Ref C: 2026-10-22T16:27:21Z' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + ParameterSetName: + - -g --vnet-name -n --address-prefixes --delegations --query -o + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/042f7f45-82e7-44e8-bcaa-78bc92d6aabf?api-version=2024-07-01&t=639282832429861762&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:27:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - d431a1ff-b5b8-4743-b608-dd1cde8ef296 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-ms-throttle-levels: + - operationConcurrencyPct=0.5, subscriptionReadRatePct=6.7, etc + x-msedge-ref: + - 'Ref A: F067904D9DBE45C78BFA097014BDEA60 Ref B: SN4AA2022303025 Ref C: 2026-10-22T16:27:23Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + ParameterSetName: + - -g --vnet-name -n --address-prefixes --delegations --query -o + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet?api-version=2024-07-01 + response: + body: + string: '{"name":"integration-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet","etag":"W/\"447b8b59-842e-4022-a89d-6da36cbbfc13\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.1.0/24","delegations":[{"name":"0","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet/delegations/0","etag":"W/\"447b8b59-842e-4022-a89d-6da36cbbfc13\"","properties":{"provisioningState":"Succeeded","serviceName":"Microsoft.RedHatOpenShift/hcpOpenShiftClusters","actions":["Microsoft.Network/virtualNetworks/subnets/join/action"]},"type":"Microsoft.Network/virtualNetworks/subnets/delegations"}],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}' + headers: + cache-control: + - no-cache + content-length: + - '1007' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:27:23 GMT + etag: + - W/"447b8b59-842e-4022-a89d-6da36cbbfc13" + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 90ac8b78-4d5b-421d-865e-e9fedc8da315 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-ms-throttle-levels: + - operationRatePct=0.1, operationConcurrencyPct=0.5, subscriptionReadRatePct=6.7, + etc + x-msedge-ref: + - 'Ref A: 5E9A0849DC0F4846B734B0CA454361A3 Ref B: DM2AA1091214009 Ref C: 2026-10-22T16:27:23Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet show + Connection: + - keep-alive + ParameterSetName: + - -g -n --query -o + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004?api-version=2025-07-01 + response: + body: + string: '{"name":"clihcp-vnet000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","etag":"W/\"447b8b59-842e-4022-a89d-6da36cbbfc13\"","type":"Microsoft.Network/virtualNetworks","location":"uksouth","properties":{"provisioningState":"Succeeded","resourceGuid":"466885eb-be59-47f0-8b59-93385c9c3c1f","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[{"name":"cluster-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","etag":"W/\"447b8b59-842e-4022-a89d-6da36cbbfc13\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005"},"delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"},{"name":"integration-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet","etag":"W/\"447b8b59-842e-4022-a89d-6da36cbbfc13\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.1.0/24","delegations":[{"name":"0","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet/delegations/0","etag":"W/\"447b8b59-842e-4022-a89d-6da36cbbfc13\"","properties":{"provisioningState":"Succeeded","serviceName":"Microsoft.RedHatOpenShift/hcpOpenShiftClusters","actions":["Microsoft.Network/virtualNetworks/subnets/join/action"]},"type":"Microsoft.Network/virtualNetworks/subnets/delegations"}],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' + headers: + cache-control: + - no-cache + content-length: + - '2257' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:27:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 3200ee06-73bf-4845-b553-fee4595c8065 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-ms-throttle-levels: + - operationRatePct=1.0, operationConcurrencyPct=2.0, internalDataRatePct=0.1, + subscriptionReadRatePct=6.7, etc + x-msedge-ref: + - 'Ref A: DB131FD34C5446958B0E974DFDFE379C Ref B: SN4AA2022302023 Ref C: 2026-10-22T16:27:24Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - keyvault create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --enable-rbac-authorization --public-network-access --query + -o + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007?api-version=2026-02-01 + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.KeyVault/vaults/clihcpkv000007'' + under resource group ''cli_test_aro_hcp000001'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:27:24 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: + - gateway + x-msedge-ref: + - 'Ref A: 2D39A41D4452448482DCF82B3CE7BF81 Ref B: SN4AA2022301021 Ref C: 2026-10-22T16:27:24Z' + status: + code: 404 + message: Not Found +- request: + body: '{"location": "uksouth", "properties": {"tenantId": "00000000-0000-0000-0000-000000000001", + "sku": {"name": "standard", "family": "A"}, "accessPolicies": [], "enableRbacAuthorization": + true, "enableSoftDelete": true, "softDeleteRetentionInDays": 90, "publicNetworkAccess": + "Enabled", "networkAcls": {"bypass": "AzureServices", "defaultAction": "Allow"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - keyvault create + Connection: + - keep-alive + Content-Length: + - '353' + Content-Type: + - application/json + ParameterSetName: + - -g -n --location --enable-rbac-authorization --public-network-access --query + -o + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007?api-version=2026-02-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","name":"clihcpkv000007","type":"Microsoft.KeyVault/vaults","location":"uksouth","tags":{},"systemData":{"createdBy":"recording-user@example.com","createdByType":"User","createdAt":"2026-10-22T16:27:25.44Z","lastModifiedBy":"recording-user@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-10-22T16:27:25.44Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"00000000-0000-0000-0000-000000000001","accessPolicies":[],"enabledForDeployment":false,"enabledForDiskEncryption":false,"enabledForTemplateDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://clihcpkv000007.vault.azure.net","provisioningState":"RegisteringDns","publicNetworkAccess":"Enabled"}}' + headers: + cache-control: + - no-cache + content-length: + - '903' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:27:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-aspnet-version: + - 4.0.30319 + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-keyvault-service-version: + - 2.2.1231.0 + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-msedge-ref: + - 'Ref A: 388F66C588DB40A48A2C449F7473BD3B Ref B: DM2AA1091212029 Ref C: 2026-10-22T16:27:25Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - keyvault create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --enable-rbac-authorization --public-network-access --query + -o + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007?api-version=2026-02-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","name":"clihcpkv000007","type":"Microsoft.KeyVault/vaults","location":"uksouth","tags":{},"systemData":{"createdBy":"recording-user@example.com","createdByType":"User","createdAt":"2026-10-22T16:27:25.44Z","lastModifiedBy":"recording-user@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-10-22T16:27:25.44Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"00000000-0000-0000-0000-000000000001","accessPolicies":[],"enabledForDeployment":false,"enabledForDiskEncryption":false,"enabledForTemplateDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://clihcpkv000007.vault.azure.net/","provisioningState":"RegisteringDns","publicNetworkAccess":"Enabled"}}' + headers: + cache-control: + - no-cache + content-length: + - '904' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:27:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-aspnet-version: + - 4.0.30319 + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-keyvault-service-version: + - 2.2.1231.0 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3747' + x-msedge-ref: + - 'Ref A: 248EF81299A248238AD7EF9B26DE1E34 Ref B: SN4AA2022304045 Ref C: 2026-10-22T16:27:28Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - keyvault create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --enable-rbac-authorization --public-network-access --query + -o + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007?api-version=2026-02-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","name":"clihcpkv000007","type":"Microsoft.KeyVault/vaults","location":"uksouth","tags":{},"systemData":{"createdBy":"recording-user@example.com","createdByType":"User","createdAt":"2026-10-22T16:27:25.44Z","lastModifiedBy":"recording-user@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-10-22T16:27:25.44Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"00000000-0000-0000-0000-000000000001","accessPolicies":[],"enabledForDeployment":false,"enabledForDiskEncryption":false,"enabledForTemplateDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://clihcpkv000007.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + headers: + cache-control: + - no-cache + content-length: + - '899' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:27:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-aspnet-version: + - 4.0.30319 + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-keyvault-service-version: + - 2.2.1231.0 + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: A7DB449931B2411C8316E4EFFA713000 Ref B: SN4AA2022302035 Ref C: 2026-10-22T16:27:58Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - ad signed-in-user show + Connection: + - keep-alive + User-Agent: + - python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) AZURECLI/2.91.0 + method: GET + uri: https://graph.microsoft.com/v1.0/me + response: + body: + string: '{"id": "00000000-0000-0000-0000-000000000002"}' + headers: + cache-control: + - no-cache + content-length: + - '46' + content-type: + - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 + date: + - Thu, 22 Oct 2026 16:27:59 GMT + odata-version: + - '4.0' + request-id: + - 071f8c9f-0f3f-4b95-8029-a2a885923f78 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-ms-ags-diagnostic: + - '{"ServerInfo":{"DataCenter":"South Central US","Slice":"E","Ring":"5","ScaleUnit":"003","RoleInstance":"SN4PEPF0000E8D2"}}' + x-ms-resource-unit: + - '1' + status: + code: 200 + message: OK +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "User", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/14b46e9e-c2b7-41b4-b07b-48a6ebf60603"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '258' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/14b46e9e-c2b7-41b4-b07b-48a6ebf60603","principalId":"00000000-0000-0000-0000-000000000002","principalType":"User","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:28:00.6392883Z","updatedOn":"2026-10-22T16:28:00.8312894Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"e0be6c90-c3c4-47d4-be1e-8962cf2d3009"}' + headers: + cache-control: + - no-cache + content-length: + - '979' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:28:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-msedge-ref: + - 'Ref A: CFF1F8C95D4847DC8062691DE9C4383C Ref B: SN4AA2022303025 Ref C: 2026-10-22T16:28:00Z' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - keyvault key create + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --vault-name -n --kty --size + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: POST + uri: https://clihcpkv000007.vault.azure.net/keys/etcd-data-kms-encryption-key/create?api-version=7.6-preview.2 + response: + body: + string: '{"error":{"code":"Unauthorized","message":"AKV10000: Request is missing + a Bearer, PoP, or MTLS_POP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '108' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:29:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.microsoftonline.com/00000000-0000-0000-0000-000000000001", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-region: + - uksouth + x-ms-keyvault-service-version: + - 1.9.3900.1 + status: + code: 401 + message: Unauthorized +- request: + body: '{"kty": "RSA", "key_size": 2048, "attributes": {"enabled": true}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - keyvault key create + Connection: + - keep-alive + Content-Length: + - '65' + Content-Type: + - application/json + ParameterSetName: + - --vault-name -n --kty --size + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: POST + uri: https://clihcpkv000007.vault.azure.net/keys/etcd-data-kms-encryption-key/create?api-version=7.6-preview.2 + response: + body: + string: '{"key":{"kid":"https://clihcpkv000007.vault.azure.net/keys/etcd-data-kms-encryption-key/488f22d2a3cc417785b54d3442e2ece0","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"t02nRNTwwNkuvKExMP2djVyAT-ZRYjauCwMYXDXwnpBmzmDa10Gqf0aw7biPU_xwJ0cUjq4MsKwkhaAqbqTffR0utBr-Tthw6sa1MLdS5teAsGpwYXar8DYD0Rq7tIFmIBIgN0KIEFec-fPofpzVvRRFkDDS7nv-837j8qEmkBRWgDG0ybvnyChIzwfw_bhVzfX9X5W07g-nihC4nK-mq-xM6sc24W3FQV9mkNY0BkCHIdN46HGf72u4_RJqztF_Vdsxqs4hMuersi8MIgSAYzLFh6O5VVuGH75MnS3HGnkTIcpbZxmFHHMu7fI95edrCtb5vYV7csdz6kgxk1ekQQ","e":"AQAB"},"attributes":{"enabled":true,"key_size":2048,"created":1792686543,"updated":1792686543,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90,"exportable":false,"hsmPlatform":"0"}}' + headers: + cache-control: + - no-cache + content-length: + - '751' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:29:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-rbac-assignment-id: + - e0be6c90c3c447d4be1e8962cf2d3009 + x-ms-keyvault-region: + - uksouth + x-ms-keyvault-service-version: + - 1.9.3900.1 + status: + code: 200 + message: OK +- request: + body: '{"location": "uksouth"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - identity create + Connection: + - keep-alive + Content-Length: + - '23' + Content-Type: + - application/json + ParameterSetName: + - -g -n --location + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008?api-version=2025-05-31-preview + response: + body: + string: '{"location":"uksouth","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008","name":"clihcp-service000008","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","assignmentRestrictions":{"providers":[]},"tenantId":"00000000-0000-0000-0000-000000000001","principalId":"00000000-0000-0000-0000-000000000002","clientId":"00000000-0000-0000-0000-000000000003"}}' + headers: + cache-control: + - no-cache + content-length: + - '531' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:29:06 GMT + expires: + - '-1' + location: + - /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + status: + code: 201 + message: Created +- request: + body: '{"location": "uksouth"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - identity create + Connection: + - keep-alive + Content-Length: + - '23' + Content-Type: + - application/json + ParameterSetName: + - -g -n --location + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009?api-version=2025-05-31-preview + response: + body: + string: '{"location":"uksouth","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009","name":"clihcp-capi000009","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","assignmentRestrictions":{"providers":[]},"tenantId":"00000000-0000-0000-0000-000000000001","principalId":"00000000-0000-0000-0000-000000000002","clientId":"00000000-0000-0000-0000-000000000003"}}' + headers: + cache-control: + - no-cache + content-length: + - '525' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:29:11 GMT + expires: + - '-1' + location: + - /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + status: + code: 201 + message: Created +- request: + body: '{"location": "uksouth"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - identity create + Connection: + - keep-alive + Content-Length: + - '23' + Content-Type: + - application/json + ParameterSetName: + - -g -n --location + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010?api-version=2025-05-31-preview + response: + body: + string: '{"location":"uksouth","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010","name":"clihcp-control000010","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","assignmentRestrictions":{"providers":[]},"tenantId":"00000000-0000-0000-0000-000000000001","principalId":"00000000-0000-0000-0000-000000000002","clientId":"00000000-0000-0000-0000-000000000003"}}' + headers: + cache-control: + - no-cache + content-length: + - '531' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:29:16 GMT + expires: + - '-1' + location: + - /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + status: + code: 201 + message: Created +- request: + body: '{"location": "uksouth"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - identity create + Connection: + - keep-alive + Content-Length: + - '23' + Content-Type: + - application/json + ParameterSetName: + - -g -n --location + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011?api-version=2025-05-31-preview + response: + body: + string: '{"location":"uksouth","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011","name":"clihcp-ccm000011","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","assignmentRestrictions":{"providers":[]},"tenantId":"00000000-0000-0000-0000-000000000001","principalId":"00000000-0000-0000-0000-000000000002","clientId":"00000000-0000-0000-0000-000000000003"}}' + headers: + cache-control: + - no-cache + content-length: + - '523' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:29:20 GMT + expires: + - '-1' + location: + - /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + status: + code: 201 + message: Created +- request: + body: '{"location": "uksouth"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - identity create + Connection: + - keep-alive + Content-Length: + - '23' + Content-Type: + - application/json + ParameterSetName: + - -g -n --location + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012?api-version=2025-05-31-preview + response: + body: + string: '{"location":"uksouth","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012","name":"clihcp-ingress000012","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","assignmentRestrictions":{"providers":[]},"tenantId":"00000000-0000-0000-0000-000000000001","principalId":"00000000-0000-0000-0000-000000000002","clientId":"00000000-0000-0000-0000-000000000003"}}' + headers: + cache-control: + - no-cache + content-length: + - '531' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:29:26 GMT + expires: + - '-1' + location: + - /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + status: + code: 201 + message: Created +- request: + body: '{"location": "uksouth"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - identity create + Connection: + - keep-alive + Content-Length: + - '23' + Content-Type: + - application/json + ParameterSetName: + - -g -n --location + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013?api-version=2025-05-31-preview + response: + body: + string: '{"location":"uksouth","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013","name":"clihcp-disk000013","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","assignmentRestrictions":{"providers":[]},"tenantId":"00000000-0000-0000-0000-000000000001","principalId":"00000000-0000-0000-0000-000000000002","clientId":"00000000-0000-0000-0000-000000000003"}}' + headers: + cache-control: + - no-cache + content-length: + - '525' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:29:30 GMT + expires: + - '-1' + location: + - /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + status: + code: 201 + message: Created +- request: + body: '{"location": "uksouth"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - identity create + Connection: + - keep-alive + Content-Length: + - '23' + Content-Type: + - application/json + ParameterSetName: + - -g -n --location + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014?api-version=2025-05-31-preview + response: + body: + string: '{"location":"uksouth","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014","name":"clihcp-file000014","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","assignmentRestrictions":{"providers":[]},"tenantId":"00000000-0000-0000-0000-000000000001","principalId":"00000000-0000-0000-0000-000000000002","clientId":"00000000-0000-0000-0000-000000000003"}}' + headers: + cache-control: + - no-cache + content-length: + - '525' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:29:34 GMT + expires: + - '-1' + location: + - /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + status: + code: 201 + message: Created +- request: + body: '{"location": "uksouth"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - identity create + Connection: + - keep-alive + Content-Length: + - '23' + Content-Type: + - application/json + ParameterSetName: + - -g -n --location + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015?api-version=2025-05-31-preview + response: + body: + string: '{"location":"uksouth","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015","name":"clihcp-image000015","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","assignmentRestrictions":{"providers":[]},"tenantId":"00000000-0000-0000-0000-000000000001","principalId":"00000000-0000-0000-0000-000000000002","clientId":"00000000-0000-0000-0000-000000000003"}}' + headers: + cache-control: + - no-cache + content-length: + - '527' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:29:40 GMT + expires: + - '-1' + location: + - /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + status: + code: 201 + message: Created +- request: + body: '{"location": "uksouth"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - identity create + Connection: + - keep-alive + Content-Length: + - '23' + Content-Type: + - application/json + ParameterSetName: + - -g -n --location + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016?api-version=2025-05-31-preview + response: + body: + string: '{"location":"uksouth","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016","name":"clihcp-network000016","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","assignmentRestrictions":{"providers":[]},"tenantId":"00000000-0000-0000-0000-000000000001","principalId":"00000000-0000-0000-0000-000000000002","clientId":"00000000-0000-0000-0000-000000000003"}}' + headers: + cache-control: + - no-cache + content-length: + - '531' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:29:44 GMT + expires: + - '-1' + location: + - /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + status: + code: 201 + message: Created +- request: + body: '{"location": "uksouth"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - identity create + Connection: + - keep-alive + Content-Length: + - '23' + Content-Type: + - application/json + ParameterSetName: + - -g -n --location + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017?api-version=2025-05-31-preview + response: + body: + string: '{"location":"uksouth","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017","name":"clihcp-kms000017","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","assignmentRestrictions":{"providers":[]},"tenantId":"00000000-0000-0000-0000-000000000001","principalId":"00000000-0000-0000-0000-000000000002","clientId":"00000000-0000-0000-0000-000000000003"}}' + headers: + cache-control: + - no-cache + content-length: + - '523' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:29:49 GMT + expires: + - '-1' + location: + - /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + status: + code: 201 + message: Created +- request: + body: '{"location": "uksouth"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - identity create + Connection: + - keep-alive + Content-Length: + - '23' + Content-Type: + - application/json + ParameterSetName: + - -g -n --location + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018?api-version=2025-05-31-preview + response: + body: + string: '{"location":"uksouth","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018","name":"clihcp-dpdisk000018","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","assignmentRestrictions":{"providers":[]},"tenantId":"00000000-0000-0000-0000-000000000001","principalId":"00000000-0000-0000-0000-000000000002","clientId":"00000000-0000-0000-0000-000000000003"}}' + headers: + cache-control: + - no-cache + content-length: + - '529' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:29:53 GMT + expires: + - '-1' + location: + - /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + status: + code: 201 + message: Created +- request: + body: '{"location": "uksouth"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - identity create + Connection: + - keep-alive + Content-Length: + - '23' + Content-Type: + - application/json + ParameterSetName: + - -g -n --location + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019?api-version=2025-05-31-preview + response: + body: + string: '{"location":"uksouth","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019","name":"clihcp-dpfile000019","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","assignmentRestrictions":{"providers":[]},"tenantId":"00000000-0000-0000-0000-000000000001","principalId":"00000000-0000-0000-0000-000000000002","clientId":"00000000-0000-0000-0000-000000000003"}}' + headers: + cache-control: + - no-cache + content-length: + - '529' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:29:58 GMT + expires: + - '-1' + location: + - /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + status: + code: 201 + message: Created +- request: + body: '{"location": "uksouth"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - identity create + Connection: + - keep-alive + Content-Length: + - '23' + Content-Type: + - application/json + ParameterSetName: + - -g -n --location + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020?api-version=2025-05-31-preview + response: + body: + string: '{"location":"uksouth","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020","name":"clihcp-dpimage000020","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"isolationScope":"None","assignmentRestrictions":{"providers":[]},"tenantId":"00000000-0000-0000-0000-000000000001","principalId":"00000000-0000-0000-0000-000000000002","clientId":"00000000-0000-0000-0000-000000000003"}}' + headers: + cache-control: + - no-cache + content-length: + - '531' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:30:03 GMT + expires: + - '-1' + location: + - /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/c0ff367d-66d8-445e-917c-583feb0ef0d4"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/c0ff367d-66d8-445e-917c-583feb0ef0d4","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:05.4686091Z","updatedOn":"2026-10-22T16:30:05.7326108Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"c74dea1b-206c-438d-b0be-34b676f58bd7"}' + headers: + cache-control: + - no-cache + content-length: + - '1013' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:30:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/c0ff367d-66d8-445e-917c-583feb0ef0d4"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/c0ff367d-66d8-445e-917c-583feb0ef0d4","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:08.5228691Z","updatedOn":"2026-10-22T16:30:08.8778739Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"0e39774a-bd3c-492a-a009-81aa7e458b7c"}' + headers: + cache-control: + - no-cache + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:30:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/88366f10-ed47-4cc0-9fab-c8a06148393e"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/88366f10-ed47-4cc0-9fab-c8a06148393e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:11.3877757Z","updatedOn":"2026-10-22T16:30:11.6587823Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"d827534e-5af8-494f-be75-15863d3a7956"}' + headers: + cache-control: + - no-cache + content-length: + - '1013' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:30:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/fc0c873f-45e9-4d0d-a7d1-585aab30c6ed"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/fc0c873f-45e9-4d0d-a7d1-585aab30c6ed","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:15.1512541Z","updatedOn":"2026-10-22T16:30:15.4552582Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"18029355-313b-48c9-895b-abda91382d51"}' + headers: + cache-control: + - no-cache + content-length: + - '1013' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:30:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/fc0c873f-45e9-4d0d-a7d1-585aab30c6ed"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/fc0c873f-45e9-4d0d-a7d1-585aab30c6ed","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:17.8342656Z","updatedOn":"2026-10-22T16:30:18.1082727Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"7710f204-db6e-448a-a1dd-157830abcc6d"}' + headers: + cache-control: + - no-cache + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:30:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/a1f96423-95ce-4224-ab27-4e3dc72facd4"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/a1f96423-95ce-4224-ab27-4e3dc72facd4","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:21.4128897Z","updatedOn":"2026-10-22T16:30:21.6948943Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"ee7f7ff4-3a92-4ff0-b42e-ba12a1bfaae8"}' + headers: + cache-control: + - no-cache + content-length: + - '1013' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:30:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/a1f96423-95ce-4224-ab27-4e3dc72facd4"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/a1f96423-95ce-4224-ab27-4e3dc72facd4","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:23.8271319Z","updatedOn":"2026-10-22T16:30:24.0911339Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"7d6bde9f-c1e7-470a-957d-5d1f2c5ab709"}' + headers: + cache-control: + - no-cache + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:30:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0336e1d3-7a87-462b-b6db-342b63f7802c"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0336e1d3-7a87-462b-b6db-342b63f7802c","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:26.2341901Z","updatedOn":"2026-10-22T16:30:26.5221920Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"0ca1ffbc-c831-459d-b280-0597277ca055"}' + headers: + cache-control: + - no-cache + content-length: + - '1013' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:30:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:29.7541126Z","updatedOn":"2026-10-22T16:30:30.0161128Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"586df35c-1d91-4bf4-8927-ed68e4ae6096"}' + headers: + cache-control: + - no-cache + content-length: + - '1013' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:30:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:32.0676309Z","updatedOn":"2026-10-22T16:30:32.3328404Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"ad575302-94d7-43ce-a13c-1c5c2c984326"}' + headers: + cache-control: + - no-cache + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:30:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/8b32b316-c2f5-4ddf-b05b-83dacd2d08b5"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/8b32b316-c2f5-4ddf-b05b-83dacd2d08b5","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:35.7668709Z","updatedOn":"2026-10-22T16:30:36.0288922Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"d07d1036-fada-4c1b-aa50-b3fdb278d1f9"}' + headers: + cache-control: + - no-cache + content-length: + - '1013' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:30:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/be7a6435-15ae-4171-8f30-4a343eff9e8f"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/be7a6435-15ae-4171-8f30-4a343eff9e8f","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:39.6177399Z","updatedOn":"2026-10-22T16:30:39.8847421Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"c5bfe41f-167b-459c-afa3-0d72db5c3d98"}' + headers: + cache-control: + - no-cache + content-length: + - '1059' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:30:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/be7a6435-15ae-4171-8f30-4a343eff9e8f"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/be7a6435-15ae-4171-8f30-4a343eff9e8f","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:42.2606566Z","updatedOn":"2026-10-22T16:30:42.5326567Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"57a8259f-d6fd-4e68-9947-f9f89f6ef736"}' + headers: + cache-control: + - no-cache + content-length: + - '1013' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:30:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/12338af0-0e69-4776-bea7-57ae8d297424"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/12338af0-0e69-4776-bea7-57ae8d297424","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:45.6613157Z","updatedOn":"2026-10-22T16:30:45.9343191Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"f447d326-3cee-4efa-a5cd-491d60ac5d10"}' + headers: + cache-control: + - no-cache + content-length: + - '991' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:30:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:48.0067897Z","updatedOn":"2026-10-22T16:30:48.2798005Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"54263a95-0934-4257-adcb-e69432136818"}' + headers: + cache-control: + - no-cache + content-length: + - '1013' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:30:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:51.7125980Z","updatedOn":"2026-10-22T16:30:51.9976021Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"6fd2d9cf-9a50-4b5c-8b22-d9e6904eec51"}' + headers: + cache-control: + - no-cache + content-length: + - '1059' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:30:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:54.3615627Z","updatedOn":"2026-10-22T16:30:54.6375697Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"8eabd2c9-1d4e-4547-aa21-1325e922fb1a"}' + headers: + cache-control: + - no-cache + content-length: + - '1023' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:30:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/8b32b316-c2f5-4ddf-b05b-83dacd2d08b5"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/8b32b316-c2f5-4ddf-b05b-83dacd2d08b5","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:57.6280110Z","updatedOn":"2026-10-22T16:30:57.8880151Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"d1e99b43-4c26-45f2-8216-e69cbcc58dc7"}' + headers: + cache-control: + - no-cache + content-length: + - '1013' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:30:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:59.9024452Z","updatedOn":"2026-10-22T16:31:00.1974517Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"36bc7bff-17bf-4e79-91eb-6d66973b0a0e"}' + headers: + cache-control: + - no-cache + content-length: + - '1043' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:31:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:31:01.9582005Z","updatedOn":"2026-10-22T16:31:02.2392025Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"93e8c38b-7539-4393-9c06-6cf78d539581"}' + headers: + cache-control: + - no-cache + content-length: + - '1049' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:31:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:31:04.1165825Z","updatedOn":"2026-10-22T16:31:04.3845863Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"76038939-9158-4777-9d44-d88a7968aa65"}' + headers: + cache-control: + - no-cache + content-length: + - '1041' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:31:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:31:06.1718509Z","updatedOn":"2026-10-22T16:31:06.4528573Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"e510dae9-d186-42ce-951e-d4951250d71b"}' + headers: + cache-control: + - no-cache + content-length: + - '1049' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:31:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:31:09.5673761Z","updatedOn":"2026-10-22T16:31:09.8373757Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"e89bc53c-1a7c-4a20-8213-1ba48076491f"}' + headers: + cache-control: + - no-cache + content-length: + - '1043' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:31:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:31:11.9798579Z","updatedOn":"2026-10-22T16:31:12.2408688Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"3767d70c-1bf1-4dbb-b2b9-3c2d96b84ae4"}' + headers: + cache-control: + - no-cache + content-length: + - '1043' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:31:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:31:14.0618068Z","updatedOn":"2026-10-22T16:31:14.3278091Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"a49f0a6d-9e3e-4955-9941-13e0e8c81459"}' + headers: + cache-control: + - no-cache + content-length: + - '1045' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:31:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:31:17.4258730Z","updatedOn":"2026-10-22T16:31:17.6988806Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"f9e53ca1-61d2-43f1-881d-6d3a61fb570c"}' + headers: + cache-control: + - no-cache + content-length: + - '1049' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:31:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:31:20.9404803Z","updatedOn":"2026-10-22T16:31:21.2404815Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"da78f735-3bbf-4294-88fb-d1ca74cab46a"}' + headers: + cache-control: + - no-cache + content-length: + - '1041' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:31:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:31:24.3821286Z","updatedOn":"2026-10-22T16:31:24.6601361Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"9784158c-09e0-4ff0-9595-cb6a898a2687"}' + headers: + cache-control: + - no-cache + content-length: + - '1047' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:31:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:31:27.3243229Z","updatedOn":"2026-10-22T16:31:27.5163233Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"6ac56409-d145-418e-93e6-96a6ad995b7c"}' + headers: + cache-control: + - no-cache + content-length: + - '1047' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:31:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-msedge-ref: + - 'Ref A: A8C565DE6A7B4319A5D8A02CBCB3A66A Ref B: SN4AA2022301033 Ref C: 2026-10-22T16:31:27Z' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - role assignment create + Connection: + - keep-alive + Content-Length: + - '270' + Content-Type: + - application/json + ParameterSetName: + - --assignee-object-id --assignee-principal-type --role --scope + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 + response: + body: + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:31:29.2301066Z","updatedOn":"2026-10-22T16:31:29.4241188Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"11c9c4b8-31ba-4245-b313-52bb0ac531b9"}' + headers: + cache-control: + - no-cache + content-length: + - '1049' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 22 Oct 2026 16:31:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-msedge-ref: + - 'Ref A: 2E081109DE314BD18DC78C0BBBDB4964 Ref B: SN4AA2022304011 Ref C: 2026-10-22T16:31:28Z' + x-powered-by: + - ASP.NET + status: + code: 201 + message: Created +- request: + body: '{"identity": {"userAssignedIdentities": {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017": + {}}, "type": "UserAssigned"}, "location": "uksouth", "properties": {"api": {"visibility": + "Public"}, "clusterImageRegistry": {"state": "Enabled"}, "cryptoRestrictions": + "None", "etcd": {"dataEncryption": {"customerManaged": {"encryptionType": "KMS", + "kms": {"activeKey": {"name": "etcd-data-kms-encryption-key", "version": "488f22d2a3cc417785b54d3442e2ece0"}, + "keyVaultType": "KeyVault", "vaultName": "clihcpkv000007", "visibility": "Public"}}, + "keyManagementMode": "CustomerManaged"}}, "ingress": {"type": "Public"}, "network": + {"hostPrefix": 23, "machineCidr": "10.0.0.0/16", "networkType": "OVNKubernetes", + "podCidr": "10.128.0.0/14", "serviceCidr": "172.30.0.0/16"}, "platform": {"managedResourceGroup": + "clihcp-managed000006", "networkSecurityGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005", + "operatorsAuthentication": {"userAssignedIdentities": {"controlPlaneOperators": + {"cluster-api-azure": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009", + "control-plane": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010", + "cloud-controller-manager": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011", + "ingress": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012", + "disk-csi-driver": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013", + "file-csi-driver": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014", + "image-registry": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015", + "cloud-network-config": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016", + "kms": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017"}, + "dataPlaneOperators": {"disk-csi-driver": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018", + "file-csi-driver": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019", + "image-registry": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020"}, + "serviceManagedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008"}}, + "outboundType": "LoadBalancer", "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet", + "vnetIntegrationSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet"}, + "version": {"id": "4.22"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + Content-Length: + - '5747' + Content-Type: + - application/json + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002?api-version=2026-10-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002\",\n + \ \"identity\": {\n \"type\": \"UserAssigned\",\n \"userAssignedIdentities\": + {\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009\": + {},\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011\": + {},\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010\": + {},\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013\": + {},\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014\": + {},\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015\": + {},\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012\": + {},\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017\": + {},\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016\": + {},\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008\": + {}\n }\n },\n \"location\": \"uksouth\",\n \"name\": \"clihcp000002\",\n + \ \"properties\": {\n \"api\": {\n \"visibility\": \"Public\"\n + \ },\n \"autoscaling\": {\n \"maxNodeProvisionTimeSeconds\": + 900,\n \"maxPodGracePeriodSeconds\": 600,\n \"podPriorityThreshold\": + -10\n },\n \"clusterImageRegistry\": {\n \"state\": + \"Enabled\"\n },\n \"cryptoRestrictions\": \"None\",\n \"etcd\": + {\n \"dataEncryption\": {\n \"customerManaged\": + {\n \"encryptionType\": \"KMS\",\n \"kms\": + {\n \"activeKey\": {\n \"name\": + \"etcd-data-kms-encryption-key\",\n \"version\": + \"488f22d2a3cc417785b54d3442e2ece0\"\n },\n \"keyVaultType\": + \"KeyVault\",\n \"vaultName\": \"clihcpkv000007\",\n + \ \"visibility\": \"Public\"\n }\n + \ },\n \"keyManagementMode\": \"CustomerManaged\"\n + \ }\n },\n \"ingress\": {\n \"type\": \"Public\"\n + \ },\n \"network\": {\n \"hostPrefix\": 23,\n \"machineCidr\": + \"10.0.0.0/16\",\n \"networkType\": \"OVNKubernetes\",\n \"podCidr\": + \"10.128.0.0/14\",\n \"serviceCidr\": \"172.30.0.0/16\"\n },\n + \ \"nodeDrainTimeoutMinutes\": 0,\n \"platform\": {\n \"managedResourceGroup\": + \"clihcp-managed000006\",\n \"networkSecurityGroupId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005\",\n + \ \"operatorsAuthentication\": {\n \"userAssignedIdentities\": + {\n \"controlPlaneOperators\": {\n \"cloud-controller-manager\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011\",\n + \ \"cloud-network-config\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016\",\n + \ \"cluster-api-azure\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009\",\n + \ \"control-plane\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010\",\n + \ \"disk-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013\",\n + \ \"file-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014\",\n + \ \"image-registry\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015\",\n + \ \"ingress\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012\",\n + \ \"kms\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017\"\n + \ },\n \"dataPlaneOperators\": {\n \"disk-csi-driver\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018\",\n + \ \"file-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019\",\n + \ \"image-registry\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020\"\n + \ },\n \"serviceManagedIdentity\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008\"\n + \ }\n },\n \"outboundType\": \"LoadBalancer\",\n + \ \"subnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet\",\n + \ \"vnetIntegrationSubnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet\"\n + \ },\n \"provisioningState\": \"Accepted\",\n \"version\": + {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22\"\n + \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-22T16:31:32.03062Z\",\n + \ \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": + \"User\",\n \"lastModifiedAt\": \"2026-10-22T16:31:32.03062Z\",\n \"lastModifiedBy\": + \"recording-user@example.com\",\n \"lastModifiedByType\": \"User\"\n + \ },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters\"\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + cache-control: + - no-cache + content-length: + - '7849' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:31:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '208' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-msedge-ref: + - 'Ref A: 72F78969A2C14548A7B9B9096C3548D7 Ref B: SN4AA2022303051 Ref C: 2026-10-22T16:31:31Z' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n + \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:31:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: DE9C0DAFF7C945E49433586A6EFD1099 Ref B: SN4AA2022305053 Ref C: 2026-10-22T16:31:32Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n + \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:32:04 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '11' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n + \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:32:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '11' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 86D50CEEFCCF4D6CB9C68CDB53E9AE17 Ref B: SN4AA2022303037 Ref C: 2026-10-22T16:32:34Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n + \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:33:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n + \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:33:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n + \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:34:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n + \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:34:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n + \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:35:09 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n + \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:35:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n + \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:36:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n + \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:36:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '11' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n + \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:37:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '11' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: D7177AB664DC43609B85F3874D275AE8 Ref B: SN4AA2022301047 Ref C: 2026-10-22T16:37:12Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n + \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:37:43 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n + \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:38:14 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n + \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:38:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n + \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:39:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n + \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:39:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 75B3AF4AC6634F3890D06ACE745B2DE5 Ref B: SN4AA2022305053 Ref C: 2026-10-22T16:39:47Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n + \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:40:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n + \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Succeeded\",\n + \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\",\n \"endTime\": \"2026-10-22T16:40:45.461541796Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '358' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:40:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002?api-version=2026-10-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002\",\n + \ \"identity\": {\n \"type\": \"UserAssigned\",\n \"userAssignedIdentities\": + {\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ }\n }\n },\n \"location\": \"uksouth\",\n \"name\": + \"clihcp000002\",\n \"properties\": {\n \"api\": {\n \"url\": + \"https://api.b2h5b7m8j9f0n0z.mpdh.uksouth.aroapp-hcp.io:443\",\n \"visibility\": + \"Public\"\n },\n \"autoscaling\": {\n \"maxNodeProvisionTimeSeconds\": + 900,\n \"maxPodGracePeriodSeconds\": 600,\n \"podPriorityThreshold\": + -10\n },\n \"clusterImageRegistry\": {\n \"state\": + \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.b2h5b7m8j9f0n0z.mpdh.uksouth.aroapp-hcp.io\"\n + \ },\n \"cryptoRestrictions\": \"None\",\n \"dns\": {\n + \ \"baseDomain\": \"mpdh.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": + \"b2h5b7m8j9f0n0z\"\n },\n \"etcd\": {\n \"dataEncryption\": + {\n \"customerManaged\": {\n \"encryptionType\": + \"KMS\",\n \"kms\": {\n \"activeKey\": + {\n \"name\": \"etcd-data-kms-encryption-key\",\n + \ \"version\": \"488f22d2a3cc417785b54d3442e2ece0\"\n + \ },\n \"keyVaultType\": \"KeyVault\",\n + \ \"vaultName\": \"clihcpkv000007\",\n \"visibility\": + \"Public\"\n }\n },\n \"keyManagementMode\": + \"CustomerManaged\"\n }\n },\n \"ingress\": {\n \"type\": + \"Public\"\n },\n \"network\": {\n \"hostPrefix\": + 23,\n \"machineCidr\": \"10.0.0.0/16\",\n \"networkType\": + \"OVNKubernetes\",\n \"podCidr\": \"10.128.0.0/14\",\n \"serviceCidr\": + \"172.30.0.0/16\"\n },\n \"nodeDrainTimeoutMinutes\": 0,\n \"platform\": + {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2tjuoponimc5ejoltq0vlo8l1ai1rj18\",\n + \ \"managedResourceGroup\": \"clihcp-managed000006\",\n \"networkSecurityGroupId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005\",\n + \ \"operatorsAuthentication\": {\n \"userAssignedIdentities\": + {\n \"controlPlaneOperators\": {\n \"cloud-controller-manager\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011\",\n + \ \"cloud-network-config\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016\",\n + \ \"cluster-api-azure\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009\",\n + \ \"control-plane\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010\",\n + \ \"disk-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013\",\n + \ \"file-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014\",\n + \ \"image-registry\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015\",\n + \ \"ingress\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012\",\n + \ \"kms\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017\"\n + \ },\n \"dataPlaneOperators\": {\n \"disk-csi-driver\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018\",\n + \ \"file-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019\",\n + \ \"image-registry\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020\"\n + \ },\n \"serviceManagedIdentity\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008\"\n + \ }\n },\n \"outboundType\": \"LoadBalancer\",\n + \ \"subnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet\",\n + \ \"vnetIntegrationSubnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet\"\n + \ },\n \"provisioningState\": \"Succeeded\",\n \"status\": + {\n \"activeVersions\": [\n {\n \"version\": + \"4.22\"\n }\n ],\n \"conditions\": [\n + \ {\n \"lastTransitionTime\": \"2026-10-22T16:31:34Z\",\n + \ \"message\": \"\",\n \"reason\": \"Valid\",\n + \ \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n + \ }\n ]\n },\n \"version\": {\n \"channelGroup\": + \"stable\",\n \"id\": \"4.22\"\n }\n },\n \"systemData\": + {\n \"createdAt\": \"2026-10-22T16:31:32.03062Z\",\n \"createdBy\": + \"recording-user@example.com\",\n \"createdByType\": \"User\",\n \"lastModifiedAt\": + \"2026-10-22T16:31:32.03062Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n + \ \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '10306' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:40:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: '{"certificateSigningRequest": "redacted-csr"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster request-credential + Connection: + - keep-alive + Content-Length: + - '45' + Content-Type: + - application/json + ParameterSetName: + - -g -n --admin -f + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/requestAdminCredential?api-version=2026-10-01 + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/36a61d4e-70aa-4717-889d-f31840b6c67e?api-version=2026-10-01&t=639282840531350133&c=REDACTED&s=REDACTED&h=REDACTED + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 22 Oct 2026 16:40:52 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/36a61d4e-70aa-4717-889d-f31840b6c67e?api-version=2026-10-01&t=639282840531506385&c=REDACTED&s=REDACTED&h=REDACTED + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '18' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster request-credential + Connection: + - keep-alive + ParameterSetName: + - -g -n --admin -f + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/36a61d4e-70aa-4717-889d-f31840b6c67e?api-version=2026-10-01&t=639282840531350133&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/36a61d4e-70aa-4717-889d-f31840b6c67e\",\n + \ \"name\": \"36a61d4e-70aa-4717-889d-f31840b6c67e\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:40:52.157414674Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:40:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster request-credential + Connection: + - keep-alive + ParameterSetName: + - -g -n --admin -f + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/36a61d4e-70aa-4717-889d-f31840b6c67e?api-version=2026-10-01&t=639282840531350133&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/36a61d4e-70aa-4717-889d-f31840b6c67e\",\n + \ \"name\": \"36a61d4e-70aa-4717-889d-f31840b6c67e\",\n \"status\": \"Succeeded\",\n + \ \"startTime\": \"2026-10-22T16:40:52.157414674Z\",\n \"endTime\": \"2026-10-22T16:40:54.465088152Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '358' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:41:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster request-credential + Connection: + - keep-alive + ParameterSetName: + - -g -n --admin -f + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/36a61d4e-70aa-4717-889d-f31840b6c67e?api-version=2026-10-01&t=639282840531506385&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: '{"expirationTimestamp": "2026-10-23T16:40:52Z", "kubeconfig": "apiVersion: + v1\nclusters:\n- cluster:\n certificate-authority-data: UkVEQUNURUQ=\n server: + https://api.b2h5b7m8j9f0n0z.mpdh.uksouth.aroapp-hcp.io:443\n name: cluster\ncontexts:\n- + context:\n cluster: cluster\n user: admin\n name: admin\ncurrent-context: + admin\nkind: Config\nusers:\n- name: admin\n user:\n client-certificate-data: + UkVEQUNURUQ=\n"}' + headers: + cache-control: + - no-cache + content-length: + - '429' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:41:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '23' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002?api-version=2026-10-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002\",\n + \ \"identity\": {\n \"type\": \"UserAssigned\",\n \"userAssignedIdentities\": + {\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ }\n }\n },\n \"location\": \"uksouth\",\n \"name\": + \"clihcp000002\",\n \"properties\": {\n \"api\": {\n \"url\": + \"https://api.b2h5b7m8j9f0n0z.mpdh.uksouth.aroapp-hcp.io:443\",\n \"visibility\": + \"Public\"\n },\n \"autoscaling\": {\n \"maxNodeProvisionTimeSeconds\": + 900,\n \"maxPodGracePeriodSeconds\": 600,\n \"podPriorityThreshold\": + -10\n },\n \"clusterImageRegistry\": {\n \"state\": + \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.b2h5b7m8j9f0n0z.mpdh.uksouth.aroapp-hcp.io\"\n + \ },\n \"cryptoRestrictions\": \"None\",\n \"dns\": {\n + \ \"baseDomain\": \"mpdh.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": + \"b2h5b7m8j9f0n0z\"\n },\n \"etcd\": {\n \"dataEncryption\": + {\n \"customerManaged\": {\n \"encryptionType\": + \"KMS\",\n \"kms\": {\n \"activeKey\": + {\n \"name\": \"etcd-data-kms-encryption-key\",\n + \ \"version\": \"488f22d2a3cc417785b54d3442e2ece0\"\n + \ },\n \"keyVaultType\": \"KeyVault\",\n + \ \"vaultName\": \"clihcpkv000007\",\n \"visibility\": + \"Public\"\n }\n },\n \"keyManagementMode\": + \"CustomerManaged\"\n }\n },\n \"ingress\": {\n \"type\": + \"Public\"\n },\n \"network\": {\n \"hostPrefix\": + 23,\n \"machineCidr\": \"10.0.0.0/16\",\n \"networkType\": + \"OVNKubernetes\",\n \"podCidr\": \"10.128.0.0/14\",\n \"serviceCidr\": + \"172.30.0.0/16\"\n },\n \"nodeDrainTimeoutMinutes\": 0,\n \"platform\": + {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2tjuoponimc5ejoltq0vlo8l1ai1rj18\",\n + \ \"managedResourceGroup\": \"clihcp-managed000006\",\n \"networkSecurityGroupId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005\",\n + \ \"operatorsAuthentication\": {\n \"userAssignedIdentities\": + {\n \"controlPlaneOperators\": {\n \"cloud-controller-manager\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011\",\n + \ \"cloud-network-config\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016\",\n + \ \"cluster-api-azure\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009\",\n + \ \"control-plane\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010\",\n + \ \"disk-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013\",\n + \ \"file-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014\",\n + \ \"image-registry\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015\",\n + \ \"ingress\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012\",\n + \ \"kms\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017\"\n + \ },\n \"dataPlaneOperators\": {\n \"disk-csi-driver\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018\",\n + \ \"file-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019\",\n + \ \"image-registry\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020\"\n + \ },\n \"serviceManagedIdentity\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008\"\n + \ }\n },\n \"outboundType\": \"LoadBalancer\",\n + \ \"subnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet\",\n + \ \"vnetIntegrationSubnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet\"\n + \ },\n \"provisioningState\": \"Succeeded\",\n \"status\": + {\n \"activeVersions\": [\n {\n \"version\": + \"4.22\"\n }\n ],\n \"conditions\": [\n + \ {\n \"lastTransitionTime\": \"2026-10-22T16:31:34Z\",\n + \ \"message\": \"\",\n \"reason\": \"Valid\",\n + \ \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n + \ }\n ]\n },\n \"version\": {\n \"channelGroup\": + \"stable\",\n \"id\": \"4.22\"\n }\n },\n \"systemData\": + {\n \"createdAt\": \"2026-10-22T16:31:32.03062Z\",\n \"createdBy\": + \"recording-user@example.com\",\n \"createdByType\": \"User\",\n \"lastModifiedAt\": + \"2026-10-22T16:31:32.03062Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n + \ \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '10306' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:41:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster update + Connection: + - keep-alive + ParameterSetName: + - -g -n --node-drain-timeout + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002?api-version=2026-10-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002\",\n + \ \"identity\": {\n \"type\": \"UserAssigned\",\n \"userAssignedIdentities\": + {\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ }\n }\n },\n \"location\": \"uksouth\",\n \"name\": + \"clihcp000002\",\n \"properties\": {\n \"api\": {\n \"url\": + \"https://api.b2h5b7m8j9f0n0z.mpdh.uksouth.aroapp-hcp.io:443\",\n \"visibility\": + \"Public\"\n },\n \"autoscaling\": {\n \"maxNodeProvisionTimeSeconds\": + 900,\n \"maxPodGracePeriodSeconds\": 600,\n \"podPriorityThreshold\": + -10\n },\n \"clusterImageRegistry\": {\n \"state\": + \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.b2h5b7m8j9f0n0z.mpdh.uksouth.aroapp-hcp.io\"\n + \ },\n \"cryptoRestrictions\": \"None\",\n \"dns\": {\n + \ \"baseDomain\": \"mpdh.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": + \"b2h5b7m8j9f0n0z\"\n },\n \"etcd\": {\n \"dataEncryption\": + {\n \"customerManaged\": {\n \"encryptionType\": + \"KMS\",\n \"kms\": {\n \"activeKey\": + {\n \"name\": \"etcd-data-kms-encryption-key\",\n + \ \"version\": \"488f22d2a3cc417785b54d3442e2ece0\"\n + \ },\n \"keyVaultType\": \"KeyVault\",\n + \ \"vaultName\": \"clihcpkv000007\",\n \"visibility\": + \"Public\"\n }\n },\n \"keyManagementMode\": + \"CustomerManaged\"\n }\n },\n \"ingress\": {\n \"type\": + \"Public\"\n },\n \"network\": {\n \"hostPrefix\": + 23,\n \"machineCidr\": \"10.0.0.0/16\",\n \"networkType\": + \"OVNKubernetes\",\n \"podCidr\": \"10.128.0.0/14\",\n \"serviceCidr\": + \"172.30.0.0/16\"\n },\n \"nodeDrainTimeoutMinutes\": 0,\n \"platform\": + {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2tjuoponimc5ejoltq0vlo8l1ai1rj18\",\n + \ \"managedResourceGroup\": \"clihcp-managed000006\",\n \"networkSecurityGroupId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005\",\n + \ \"operatorsAuthentication\": {\n \"userAssignedIdentities\": + {\n \"controlPlaneOperators\": {\n \"cloud-controller-manager\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011\",\n + \ \"cloud-network-config\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016\",\n + \ \"cluster-api-azure\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009\",\n + \ \"control-plane\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010\",\n + \ \"disk-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013\",\n + \ \"file-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014\",\n + \ \"image-registry\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015\",\n + \ \"ingress\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012\",\n + \ \"kms\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017\"\n + \ },\n \"dataPlaneOperators\": {\n \"disk-csi-driver\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018\",\n + \ \"file-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019\",\n + \ \"image-registry\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020\"\n + \ },\n \"serviceManagedIdentity\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008\"\n + \ }\n },\n \"outboundType\": \"LoadBalancer\",\n + \ \"subnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet\",\n + \ \"vnetIntegrationSubnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet\"\n + \ },\n \"provisioningState\": \"Succeeded\",\n \"status\": + {\n \"activeVersions\": [\n {\n \"version\": + \"4.22\"\n }\n ],\n \"conditions\": [\n + \ {\n \"lastTransitionTime\": \"2026-10-22T16:31:34Z\",\n + \ \"message\": \"\",\n \"reason\": \"Valid\",\n + \ \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n + \ }\n ]\n },\n \"version\": {\n \"channelGroup\": + \"stable\",\n \"id\": \"4.22\"\n }\n },\n \"systemData\": + {\n \"createdAt\": \"2026-10-22T16:31:32.03062Z\",\n \"createdBy\": + \"recording-user@example.com\",\n \"createdByType\": \"User\",\n \"lastModifiedAt\": + \"2026-10-22T16:31:32.03062Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n + \ \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '10306' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:41:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '11' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: '{"identity": {"type": "UserAssigned", "userAssignedIdentities": {"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008": + {}}}, "location": "uksouth", "properties": {"api": {"visibility": "Public"}, + "autoscaling": {"maxNodeProvisionTimeSeconds": 900, "maxPodGracePeriodSeconds": + 600, "podPriorityThreshold": -10}, "clusterImageRegistry": {"state": "Enabled"}, + "cryptoRestrictions": "None", "dns": {"baseDomainPrefix": "b2h5b7m8j9f0n0z"}, + "etcd": {"dataEncryption": {"customerManaged": {"encryptionType": "KMS", "kms": + {"activeKey": {"name": "etcd-data-kms-encryption-key", "version": "488f22d2a3cc417785b54d3442e2ece0"}, + "keyVaultType": "KeyVault", "vaultName": "clihcpkv000007", "visibility": "Public"}}, + "keyManagementMode": "CustomerManaged"}}, "ingress": {"type": "Public"}, "network": + {"hostPrefix": 23, "machineCidr": "10.0.0.0/16", "networkType": "OVNKubernetes", + "podCidr": "10.128.0.0/14", "serviceCidr": "172.30.0.0/16"}, "nodeDrainTimeoutMinutes": + 30, "platform": {"managedResourceGroup": "clihcp-managed000006", "networkSecurityGroupId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005", + "operatorsAuthentication": {"userAssignedIdentities": {"controlPlaneOperators": + {"cloud-controller-manager": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011", + "cloud-network-config": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016", + "cluster-api-azure": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009", + "control-plane": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010", + "disk-csi-driver": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013", + "file-csi-driver": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014", + "image-registry": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015", + "ingress": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012", + "kms": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017"}, + "dataPlaneOperators": {"disk-csi-driver": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018", + "file-csi-driver": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019", + "image-registry": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020"}, + "serviceManagedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008"}}, + "outboundType": "LoadBalancer", "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet", + "vnetIntegrationSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet"}, + "version": {"channelGroup": "stable", "id": "4.22"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster update + Connection: + - keep-alive + Content-Length: + - '5967' + Content-Type: + - application/json + ParameterSetName: + - -g -n --node-drain-timeout + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002?api-version=2026-10-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002\",\n + \ \"identity\": {\n \"type\": \"UserAssigned\",\n \"userAssignedIdentities\": + {\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ }\n }\n },\n \"location\": \"uksouth\",\n \"name\": + \"clihcp000002\",\n \"properties\": {\n \"api\": {\n \"url\": + \"https://api.b2h5b7m8j9f0n0z.mpdh.uksouth.aroapp-hcp.io:443\",\n \"visibility\": + \"Public\"\n },\n \"autoscaling\": {\n \"maxNodeProvisionTimeSeconds\": + 900,\n \"maxPodGracePeriodSeconds\": 600,\n \"podPriorityThreshold\": + -10\n },\n \"clusterImageRegistry\": {\n \"state\": + \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.b2h5b7m8j9f0n0z.mpdh.uksouth.aroapp-hcp.io\"\n + \ },\n \"cryptoRestrictions\": \"None\",\n \"dns\": {\n + \ \"baseDomain\": \"mpdh.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": + \"b2h5b7m8j9f0n0z\"\n },\n \"etcd\": {\n \"dataEncryption\": + {\n \"customerManaged\": {\n \"encryptionType\": + \"KMS\",\n \"kms\": {\n \"activeKey\": + {\n \"name\": \"etcd-data-kms-encryption-key\",\n + \ \"version\": \"488f22d2a3cc417785b54d3442e2ece0\"\n + \ },\n \"keyVaultType\": \"KeyVault\",\n + \ \"vaultName\": \"clihcpkv000007\",\n \"visibility\": + \"Public\"\n }\n },\n \"keyManagementMode\": + \"CustomerManaged\"\n }\n },\n \"ingress\": {\n \"type\": + \"Public\"\n },\n \"network\": {\n \"hostPrefix\": + 23,\n \"machineCidr\": \"10.0.0.0/16\",\n \"networkType\": + \"OVNKubernetes\",\n \"podCidr\": \"10.128.0.0/14\",\n \"serviceCidr\": + \"172.30.0.0/16\"\n },\n \"nodeDrainTimeoutMinutes\": 30,\n + \ \"platform\": {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2tjuoponimc5ejoltq0vlo8l1ai1rj18\",\n + \ \"managedResourceGroup\": \"clihcp-managed000006\",\n \"networkSecurityGroupId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005\",\n + \ \"operatorsAuthentication\": {\n \"userAssignedIdentities\": + {\n \"controlPlaneOperators\": {\n \"cloud-controller-manager\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011\",\n + \ \"cloud-network-config\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016\",\n + \ \"cluster-api-azure\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009\",\n + \ \"control-plane\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010\",\n + \ \"disk-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013\",\n + \ \"file-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014\",\n + \ \"image-registry\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015\",\n + \ \"ingress\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012\",\n + \ \"kms\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017\"\n + \ },\n \"dataPlaneOperators\": {\n \"disk-csi-driver\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018\",\n + \ \"file-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019\",\n + \ \"image-registry\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020\"\n + \ },\n \"serviceManagedIdentity\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008\"\n + \ }\n },\n \"outboundType\": \"LoadBalancer\",\n + \ \"subnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet\",\n + \ \"vnetIntegrationSubnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet\"\n + \ },\n \"provisioningState\": \"Accepted\",\n \"status\": + {\n \"activeVersions\": [\n {\n \"version\": + \"4.22\"\n }\n ],\n \"conditions\": [\n + \ {\n \"lastTransitionTime\": \"2026-10-22T16:31:34Z\",\n + \ \"message\": \"\",\n \"reason\": \"Valid\",\n + \ \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n + \ }\n ]\n },\n \"version\": {\n \"channelGroup\": + \"stable\",\n \"id\": \"4.22\"\n }\n },\n \"systemData\": + {\n \"createdAt\": \"2026-10-22T16:31:32.03062Z\",\n \"createdBy\": + \"recording-user@example.com\",\n \"createdByType\": \"User\",\n \"lastModifiedAt\": + \"2026-10-22T16:41:30.6623255Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n + \ \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters\"\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/984551be-3801-4439-81dd-05d36b800669?api-version=2026-10-01&t=639282840923810941&c=REDACTED&s=REDACTED&h=REDACTED + cache-control: + - no-cache + content-length: + - '10308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:41:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '24' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster update + Connection: + - keep-alive + ParameterSetName: + - -g -n --node-drain-timeout + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/984551be-3801-4439-81dd-05d36b800669?api-version=2026-10-01&t=639282840923810941&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/984551be-3801-4439-81dd-05d36b800669\",\n + \ \"name\": \"984551be-3801-4439-81dd-05d36b800669\",\n \"status\": \"Accepted\",\n + \ \"startTime\": \"2026-10-22T16:41:31.728912446Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:41:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster update + Connection: + - keep-alive + ParameterSetName: + - -g -n --node-drain-timeout + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/984551be-3801-4439-81dd-05d36b800669?api-version=2026-10-01&t=639282840923810941&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/984551be-3801-4439-81dd-05d36b800669\",\n + \ \"name\": \"984551be-3801-4439-81dd-05d36b800669\",\n \"status\": \"Updating\",\n + \ \"startTime\": \"2026-10-22T16:41:31.728912446Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:42:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster update + Connection: + - keep-alive + ParameterSetName: + - -g -n --node-drain-timeout + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/984551be-3801-4439-81dd-05d36b800669?api-version=2026-10-01&t=639282840923810941&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/984551be-3801-4439-81dd-05d36b800669\",\n + \ \"name\": \"984551be-3801-4439-81dd-05d36b800669\",\n \"status\": \"Succeeded\",\n + \ \"startTime\": \"2026-10-22T16:41:31.728912446Z\",\n \"endTime\": \"2026-10-22T16:42:05.507801673Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '358' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:42:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '11' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster update + Connection: + - keep-alive + ParameterSetName: + - -g -n --node-drain-timeout + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002?api-version=2026-10-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002\",\n + \ \"identity\": {\n \"type\": \"UserAssigned\",\n \"userAssignedIdentities\": + {\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ }\n }\n },\n \"location\": \"uksouth\",\n \"name\": + \"clihcp000002\",\n \"properties\": {\n \"api\": {\n \"url\": + \"https://api.b2h5b7m8j9f0n0z.mpdh.uksouth.aroapp-hcp.io:443\",\n \"visibility\": + \"Public\"\n },\n \"autoscaling\": {\n \"maxNodeProvisionTimeSeconds\": + 900,\n \"maxPodGracePeriodSeconds\": 600,\n \"podPriorityThreshold\": + -10\n },\n \"clusterImageRegistry\": {\n \"state\": + \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.b2h5b7m8j9f0n0z.mpdh.uksouth.aroapp-hcp.io\"\n + \ },\n \"cryptoRestrictions\": \"None\",\n \"dns\": {\n + \ \"baseDomain\": \"mpdh.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": + \"b2h5b7m8j9f0n0z\"\n },\n \"etcd\": {\n \"dataEncryption\": + {\n \"customerManaged\": {\n \"encryptionType\": + \"KMS\",\n \"kms\": {\n \"activeKey\": + {\n \"name\": \"etcd-data-kms-encryption-key\",\n + \ \"version\": \"488f22d2a3cc417785b54d3442e2ece0\"\n + \ },\n \"keyVaultType\": \"KeyVault\",\n + \ \"vaultName\": \"clihcpkv000007\",\n \"visibility\": + \"Public\"\n }\n },\n \"keyManagementMode\": + \"CustomerManaged\"\n }\n },\n \"ingress\": {\n \"type\": + \"Public\"\n },\n \"network\": {\n \"hostPrefix\": + 23,\n \"machineCidr\": \"10.0.0.0/16\",\n \"networkType\": + \"OVNKubernetes\",\n \"podCidr\": \"10.128.0.0/14\",\n \"serviceCidr\": + \"172.30.0.0/16\"\n },\n \"nodeDrainTimeoutMinutes\": 30,\n + \ \"platform\": {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2tjuoponimc5ejoltq0vlo8l1ai1rj18\",\n + \ \"managedResourceGroup\": \"clihcp-managed000006\",\n \"networkSecurityGroupId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005\",\n + \ \"operatorsAuthentication\": {\n \"userAssignedIdentities\": + {\n \"controlPlaneOperators\": {\n \"cloud-controller-manager\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011\",\n + \ \"cloud-network-config\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016\",\n + \ \"cluster-api-azure\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009\",\n + \ \"control-plane\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010\",\n + \ \"disk-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013\",\n + \ \"file-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014\",\n + \ \"image-registry\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015\",\n + \ \"ingress\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012\",\n + \ \"kms\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017\"\n + \ },\n \"dataPlaneOperators\": {\n \"disk-csi-driver\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018\",\n + \ \"file-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019\",\n + \ \"image-registry\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020\"\n + \ },\n \"serviceManagedIdentity\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008\"\n + \ }\n },\n \"outboundType\": \"LoadBalancer\",\n + \ \"subnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet\",\n + \ \"vnetIntegrationSubnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet\"\n + \ },\n \"provisioningState\": \"Succeeded\",\n \"status\": + {\n \"activeVersions\": [\n {\n \"version\": + \"4.22\"\n }\n ],\n \"conditions\": [\n + \ {\n \"lastTransitionTime\": \"2026-10-22T16:31:34Z\",\n + \ \"message\": \"\",\n \"reason\": \"Valid\",\n + \ \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n + \ }\n ]\n },\n \"version\": {\n \"channelGroup\": + \"stable\",\n \"id\": \"4.22\"\n }\n },\n \"systemData\": + {\n \"createdAt\": \"2026-10-22T16:31:32.03062Z\",\n \"createdBy\": + \"recording-user@example.com\",\n \"createdByType\": \"User\",\n \"lastModifiedAt\": + \"2026-10-22T16:41:30.6623255Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n + \ \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '10309' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:42:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '11' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: '{"location": "uksouth", "properties": {"autoRepair": true, "platform": + {"enableEncryptionAtHost": false, "osDisk": {"diskStorageAccountType": "Premium_LRS", + "diskType": "Managed", "sizeGiB": 64}, "vmSize": "Standard_D8s_v3"}, "replicas": + 1, "version": {"channelGroup": "stable", "id": "4.22.11"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + Content-Length: + - '297' + Content-Type: + - application/json + ParameterSetName: + - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/nodePools/clihcpnp000003?api-version=2026-10-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/nodePools/clihcpnp000003\",\n + \ \"location\": \"uksouth\",\n \"name\": \"clihcpnp000003\",\n \"properties\": + {\n \"autoRepair\": true,\n \"platform\": {\n \"enableEncryptionAtHost\": + false,\n \"osDisk\": {\n \"diskStorageAccountType\": + \"Premium_LRS\",\n \"diskType\": \"Managed\",\n \"sizeGiB\": + 64\n },\n \"subnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet\",\n + \ \"vmSize\": \"Standard_D8s_v3\"\n },\n \"provisioningState\": + \"Accepted\",\n \"replicas\": 1,\n \"version\": {\n \"channelGroup\": + \"stable\",\n \"id\": \"4.22.11\"\n }\n },\n \"systemData\": + {\n \"createdAt\": \"2026-10-22T16:42:38.3230691Z\",\n \"createdBy\": + \"recording-user@example.com\",\n \"createdByType\": \"User\",\n \"lastModifiedAt\": + \"2026-10-22T16:42:38.3230691Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n + \ \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters/nodePools\"\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + cache-control: + - no-cache + content-length: + - '1345' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:42:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '28' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n + \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Accepted\",\n + \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:42:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n + \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:43:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n + \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:43:41 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n + \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:44:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n + \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:44:43 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n + \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:45:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n + \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:45:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n + \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:46:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n + \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:46:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n + \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:47:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n + \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:47:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n + \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:48:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n + \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:48:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n + \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:49:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n + \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:49:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n + \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:50:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n + \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Succeeded\",\n + \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\",\n \"endTime\": \"2026-10-22T16:50:25.49374527Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '357' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:50:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '11' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/nodePools/clihcpnp000003?api-version=2026-10-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/nodePools/clihcpnp000003\",\n + \ \"location\": \"uksouth\",\n \"name\": \"clihcpnp000003\",\n \"properties\": + {\n \"autoRepair\": true,\n \"platform\": {\n \"enableEncryptionAtHost\": + false,\n \"osDisk\": {\n \"diskStorageAccountType\": + \"Premium_LRS\",\n \"diskType\": \"Managed\",\n \"sizeGiB\": + 64\n },\n \"subnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet\",\n + \ \"vmSize\": \"Standard_D8s_v3\"\n },\n \"provisioningState\": + \"Succeeded\",\n \"replicas\": 1,\n \"status\": {\n \"activeVersions\": + [\n {\n \"version\": \"4.22.11\"\n }\n + \ ],\n \"conditions\": [\n {\n \"lastTransitionTime\": + \"2026-10-22T16:42:40Z\",\n \"message\": \"\",\n \"reason\": + \"Valid\",\n \"status\": \"True\",\n \"type\": + \"RequirementsValid\"\n }\n ]\n },\n \"version\": + {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22.11\"\n + \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-22T16:42:38.3230691Z\",\n + \ \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": + \"User\",\n \"lastModifiedAt\": \"2026-10-22T16:42:38.3230691Z\",\n + \ \"lastModifiedBy\": \"recording-user@example.com\",\n \"lastModifiedByType\": + \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters/nodePools\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '1805' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:50:55 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool show + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/nodePools/clihcpnp000003?api-version=2026-10-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/nodePools/clihcpnp000003\",\n + \ \"location\": \"uksouth\",\n \"name\": \"clihcpnp000003\",\n \"properties\": + {\n \"autoRepair\": true,\n \"platform\": {\n \"enableEncryptionAtHost\": + false,\n \"osDisk\": {\n \"diskStorageAccountType\": + \"Premium_LRS\",\n \"diskType\": \"Managed\",\n \"sizeGiB\": + 64\n },\n \"subnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet\",\n + \ \"vmSize\": \"Standard_D8s_v3\"\n },\n \"provisioningState\": + \"Succeeded\",\n \"replicas\": 1,\n \"status\": {\n \"activeVersions\": + [\n {\n \"version\": \"4.22.11\"\n }\n + \ ],\n \"conditions\": [\n {\n \"lastTransitionTime\": + \"2026-10-22T16:42:40Z\",\n \"message\": \"\",\n \"reason\": + \"Valid\",\n \"status\": \"True\",\n \"type\": + \"RequirementsValid\"\n }\n ]\n },\n \"version\": + {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22.11\"\n + \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-22T16:42:38.3230691Z\",\n + \ \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": + \"User\",\n \"lastModifiedAt\": \"2026-10-22T16:42:38.3230691Z\",\n + \ \"lastModifiedBy\": \"recording-user@example.com\",\n \"lastModifiedByType\": + \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters/nodePools\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '1805' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:50:56 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool update + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --node-drain-timeout + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/nodePools/clihcpnp000003?api-version=2026-10-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/nodePools/clihcpnp000003\",\n + \ \"location\": \"uksouth\",\n \"name\": \"clihcpnp000003\",\n \"properties\": + {\n \"autoRepair\": true,\n \"platform\": {\n \"enableEncryptionAtHost\": + false,\n \"osDisk\": {\n \"diskStorageAccountType\": + \"Premium_LRS\",\n \"diskType\": \"Managed\",\n \"sizeGiB\": + 64\n },\n \"subnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet\",\n + \ \"vmSize\": \"Standard_D8s_v3\"\n },\n \"provisioningState\": + \"Succeeded\",\n \"replicas\": 1,\n \"status\": {\n \"activeVersions\": + [\n {\n \"version\": \"4.22.11\"\n }\n + \ ],\n \"conditions\": [\n {\n \"lastTransitionTime\": + \"2026-10-22T16:42:40Z\",\n \"message\": \"\",\n \"reason\": + \"Valid\",\n \"status\": \"True\",\n \"type\": + \"RequirementsValid\"\n }\n ]\n },\n \"version\": + {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22.11\"\n + \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-22T16:42:38.3230691Z\",\n + \ \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": + \"User\",\n \"lastModifiedAt\": \"2026-10-22T16:42:38.3230691Z\",\n + \ \"lastModifiedBy\": \"recording-user@example.com\",\n \"lastModifiedByType\": + \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters/nodePools\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '1805' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:50:57 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: '{"location": "uksouth", "properties": {"autoRepair": true, "nodeDrainTimeoutMinutes": + 15, "platform": {"enableEncryptionAtHost": false, "osDisk": {"diskStorageAccountType": + "Premium_LRS", "diskType": "Managed", "sizeGiB": 64}, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet", + "vmSize": "Standard_D8s_v3"}, "replicas": 1, "version": {"channelGroup": "stable", + "id": "4.22.11"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool update + Connection: + - keep-alive + Content-Length: + - '518' + Content-Type: + - application/json + ParameterSetName: + - -g --cluster-name -n --node-drain-timeout + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/nodePools/clihcpnp000003?api-version=2026-10-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/nodePools/clihcpnp000003\",\n + \ \"location\": \"uksouth\",\n \"name\": \"clihcpnp000003\",\n \"properties\": + {\n \"autoRepair\": true,\n \"nodeDrainTimeoutMinutes\": 15,\n + \ \"platform\": {\n \"enableEncryptionAtHost\": false,\n + \ \"osDisk\": {\n \"diskStorageAccountType\": \"Premium_LRS\",\n + \ \"diskType\": \"Managed\",\n \"sizeGiB\": 64\n + \ },\n \"subnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet\",\n + \ \"vmSize\": \"Standard_D8s_v3\"\n },\n \"provisioningState\": + \"Accepted\",\n \"replicas\": 1,\n \"status\": {\n \"activeVersions\": + [\n {\n \"version\": \"4.22.11\"\n }\n + \ ],\n \"conditions\": [\n {\n \"lastTransitionTime\": + \"2026-10-22T16:42:40Z\",\n \"message\": \"\",\n \"reason\": + \"Valid\",\n \"status\": \"True\",\n \"type\": + \"RequirementsValid\"\n }\n ]\n },\n \"version\": + {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22.11\"\n + \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-22T16:42:38.3230691Z\",\n + \ \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": + \"User\",\n \"lastModifiedAt\": \"2026-10-22T16:50:58.2269639Z\",\n + \ \"lastModifiedBy\": \"recording-user@example.com\",\n \"lastModifiedByType\": + \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters/nodePools\"\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c084d708-68bd-44de-9ac9-70ca270e8f8c?api-version=2026-10-01&t=639282846597113364&c=REDACTED&s=REDACTED&h=REDACTED + cache-control: + - no-cache + content-length: + - '1843' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:50:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '35' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool update + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --node-drain-timeout + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c084d708-68bd-44de-9ac9-70ca270e8f8c?api-version=2026-10-01&t=639282846597113364&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c084d708-68bd-44de-9ac9-70ca270e8f8c\",\n + \ \"name\": \"c084d708-68bd-44de-9ac9-70ca270e8f8c\",\n \"status\": \"Accepted\",\n + \ \"startTime\": \"2026-10-22T16:50:58.679373876Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:51:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool update + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --node-drain-timeout + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c084d708-68bd-44de-9ac9-70ca270e8f8c?api-version=2026-10-01&t=639282846597113364&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c084d708-68bd-44de-9ac9-70ca270e8f8c\",\n + \ \"name\": \"c084d708-68bd-44de-9ac9-70ca270e8f8c\",\n \"status\": \"Updating\",\n + \ \"startTime\": \"2026-10-22T16:50:58.679373876Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:51:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 15CEA96EF90B47E9B660A32411BD466E Ref B: DM2AA1091213025 Ref C: 2026-10-22T16:51:31Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool update + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --node-drain-timeout + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c084d708-68bd-44de-9ac9-70ca270e8f8c?api-version=2026-10-01&t=639282846597113364&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c084d708-68bd-44de-9ac9-70ca270e8f8c\",\n + \ \"name\": \"c084d708-68bd-44de-9ac9-70ca270e8f8c\",\n \"status\": \"Updating\",\n + \ \"startTime\": \"2026-10-22T16:50:58.679373876Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:52:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool update + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --node-drain-timeout + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c084d708-68bd-44de-9ac9-70ca270e8f8c?api-version=2026-10-01&t=639282846597113364&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c084d708-68bd-44de-9ac9-70ca270e8f8c\",\n + \ \"name\": \"c084d708-68bd-44de-9ac9-70ca270e8f8c\",\n \"status\": \"Succeeded\",\n + \ \"startTime\": \"2026-10-22T16:50:58.679373876Z\",\n \"endTime\": \"2026-10-22T16:52:15.53902255Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '357' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:52:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool update + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --node-drain-timeout + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/nodePools/clihcpnp000003?api-version=2026-10-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/nodePools/clihcpnp000003\",\n + \ \"location\": \"uksouth\",\n \"name\": \"clihcpnp000003\",\n \"properties\": + {\n \"autoRepair\": true,\n \"nodeDrainTimeoutMinutes\": 15,\n + \ \"platform\": {\n \"enableEncryptionAtHost\": false,\n + \ \"osDisk\": {\n \"diskStorageAccountType\": \"Premium_LRS\",\n + \ \"diskType\": \"Managed\",\n \"sizeGiB\": 64\n + \ },\n \"subnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet\",\n + \ \"vmSize\": \"Standard_D8s_v3\"\n },\n \"provisioningState\": + \"Succeeded\",\n \"replicas\": 1,\n \"status\": {\n \"activeVersions\": + [\n {\n \"version\": \"4.22.11\"\n }\n + \ ],\n \"conditions\": [\n {\n \"lastTransitionTime\": + \"2026-10-22T16:42:40Z\",\n \"message\": \"\",\n \"reason\": + \"Valid\",\n \"status\": \"True\",\n \"type\": + \"RequirementsValid\"\n }\n ]\n },\n \"version\": + {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22.11\"\n + \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-22T16:42:38.3230691Z\",\n + \ \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": + \"User\",\n \"lastModifiedAt\": \"2026-10-22T16:50:58.2269639Z\",\n + \ \"lastModifiedBy\": \"recording-user@example.com\",\n \"lastModifiedByType\": + \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters/nodePools\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '1844' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:52:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster revoke-credential + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/revokeCredentials?api-version=2026-10-01 + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379?api-version=2026-10-01&t=639282847562851009&c=REDACTED&s=REDACTED&h=REDACTED + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 22 Oct 2026 16:52:35 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/e0f158a4-12d8-4f6b-a7cb-03515613f379?api-version=2026-10-01&t=639282847562851009&c=REDACTED&s=REDACTED&h=REDACTED + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '26' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster revoke-credential + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379?api-version=2026-10-01&t=639282847562851009&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n + \ \"name\": \"e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n \"status\": \"Accepted\",\n + \ \"startTime\": \"2026-10-22T16:52:35.278327164Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:52:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster revoke-credential + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379?api-version=2026-10-01&t=639282847562851009&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n + \ \"name\": \"e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-22T16:52:35.278327164Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:53:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: AD7346EFB4BF4E7F9447975C22F433FF Ref B: SN4AA2022304027 Ref C: 2026-10-22T16:53:07Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster revoke-credential + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379?api-version=2026-10-01&t=639282847562851009&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n + \ \"name\": \"e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-22T16:52:35.278327164Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:53:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster revoke-credential + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379?api-version=2026-10-01&t=639282847562851009&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n + \ \"name\": \"e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-22T16:52:35.278327164Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:54:09 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster revoke-credential + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379?api-version=2026-10-01&t=639282847562851009&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n + \ \"name\": \"e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-22T16:52:35.278327164Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:54:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster revoke-credential + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379?api-version=2026-10-01&t=639282847562851009&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n + \ \"name\": \"e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-22T16:52:35.278327164Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:55:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster revoke-credential + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379?api-version=2026-10-01&t=639282847562851009&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n + \ \"name\": \"e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n \"status\": \"Succeeded\",\n + \ \"startTime\": \"2026-10-22T16:52:35.278327164Z\",\n \"endTime\": \"2026-10-22T16:55:35.50474627Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '357' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:55:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 6BAD016DEB2546FC9E31FE860BB9E2C6 Ref B: DM2AA1091213035 Ref C: 2026-10-22T16:55:42Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster revoke-credential + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/e0f158a4-12d8-4f6b-a7cb-03515613f379?api-version=2026-10-01&t=639282847562851009&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Thu, 22 Oct 2026 16:55:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 1FBFFD9D68984F8F9A3742A4EF639D69 Ref B: DM2AA1091212027 Ref C: 2026-10-22T16:55:43Z' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002?api-version=2026-10-01 + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 22 Oct 2026 16:55:44 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '38' + x-ms-ratelimit-remaining-subscription-deletes: + - '199' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '2999' + x-msedge-ref: + - 'Ref A: 076E92C60C0D41938A08686B6F3B753C Ref B: SN4AA2022305037 Ref C: 2026-10-22T16:55:44Z' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n + \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:55:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 575598742F024F9FAEDA447E12E69CF6 Ref B: SN4AA2022305021 Ref C: 2026-10-22T16:55:44Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n + \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:56:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n + \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:56:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n + \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:57:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n + \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:57:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n + \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:58:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n + \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:58:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '11' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: E49C95FBB80141CB913B39B46E7AF14A Ref B: DM2AA1091214047 Ref C: 2026-10-22T16:58:50Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n + \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:59:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n + \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 16:59:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n + \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 17:00:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: CB8352A3DA1E4876B022BCCC5F706DB5 Ref B: SN4AA2022302053 Ref C: 2026-10-22T17:00:22Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n + \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 17:00:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '12' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 6FD4CF7F3A1A4A6A95BDBD05A05B70B2 Ref B: SN4AA2022302035 Ref C: 2026-10-22T17:00:53Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n + \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 17:01:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n + \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 17:01:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '11' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: B4837059623D49E08E030C4AD9880B00 Ref B: DM2AA1091212033 Ref C: 2026-10-22T17:01:55Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n + \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 17:02:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 04CBC4C8D05241D99CAC40BC13075E0B Ref B: SN4AA2022302033 Ref C: 2026-10-22T17:02:26Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n + \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Succeeded\",\n + \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\",\n \"endTime\": \"2026-10-22T17:02:36.638920481Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '358' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 17:02:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --yes + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Thu, 22 Oct 2026 17:02:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '10' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 204 + message: No Content +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/recordings/test_aro_hcp_get_versions.yaml b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/recordings/test_aro_hcp_get_versions.yaml new file mode 100644 index 00000000000..c413f480ef6 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/recordings/test_aro_hcp_get_versions.yaml @@ -0,0 +1,608 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp get-versions + Connection: + - keep-alive + ParameterSetName: + - --location + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions?api-version=2026-10-01 + response: + body: + string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.0\",\n + \ \"name\": \"4.19.0\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.1\",\n + \ \"name\": \"4.19.1\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.10\",\n + \ \"name\": \"4.19.10\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.11\",\n + \ \"name\": \"4.19.11\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.12\",\n + \ \"name\": \"4.19.12\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.13\",\n + \ \"name\": \"4.19.13\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.14\",\n + \ \"name\": \"4.19.14\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.15\",\n + \ \"name\": \"4.19.15\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.16\",\n + \ \"name\": \"4.19.16\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.17\",\n + \ \"name\": \"4.19.17\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.18\",\n + \ \"name\": \"4.19.18\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.19\",\n + \ \"name\": \"4.19.19\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.2\",\n + \ \"name\": \"4.19.2\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.20\",\n + \ \"name\": \"4.19.20\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.21\",\n + \ \"name\": \"4.19.21\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.22\",\n + \ \"name\": \"4.19.22\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.23\",\n + \ \"name\": \"4.19.23\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.24\",\n + \ \"name\": \"4.19.24\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.25\",\n + \ \"name\": \"4.19.25\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.26\",\n + \ \"name\": \"4.19.26\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.27\",\n + \ \"name\": \"4.19.27\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.28\",\n + \ \"name\": \"4.19.28\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.29\",\n + \ \"name\": \"4.19.29\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.3\",\n + \ \"name\": \"4.19.3\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.30\",\n + \ \"name\": \"4.19.30\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.31\",\n + \ \"name\": \"4.19.31\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.32\",\n + \ \"name\": \"4.19.32\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.33\",\n + \ \"name\": \"4.19.33\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.34\",\n + \ \"name\": \"4.19.34\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.35\",\n + \ \"name\": \"4.19.35\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.36\",\n + \ \"name\": \"4.19.36\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.37\",\n + \ \"name\": \"4.19.37\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.38\",\n + \ \"name\": \"4.19.38\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.39\",\n + \ \"name\": \"4.19.39\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.4\",\n + \ \"name\": \"4.19.4\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.40\",\n + \ \"name\": \"4.19.40\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.41\",\n + \ \"name\": \"4.19.41\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.42\",\n + \ \"name\": \"4.19.42\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.5\",\n + \ \"name\": \"4.19.5\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.6\",\n + \ \"name\": \"4.19.6\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.7\",\n + \ \"name\": \"4.19.7\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.19.9\",\n + \ \"name\": \"4.19.9\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": false\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.0\",\n + \ \"name\": \"4.20.0\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.1\",\n + \ \"name\": \"4.20.1\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.10\",\n + \ \"name\": \"4.20.10\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.11\",\n + \ \"name\": \"4.20.11\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.12\",\n + \ \"name\": \"4.20.12\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.13\",\n + \ \"name\": \"4.20.13\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.14\",\n + \ \"name\": \"4.20.14\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.15\",\n + \ \"name\": \"4.20.15\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.16\",\n + \ \"name\": \"4.20.16\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.17\",\n + \ \"name\": \"4.20.17\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.18\",\n + \ \"name\": \"4.20.18\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.19\",\n + \ \"name\": \"4.20.19\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.2\",\n + \ \"name\": \"4.20.2\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.20\",\n + \ \"name\": \"4.20.20\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.21\",\n + \ \"name\": \"4.20.21\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.22\",\n + \ \"name\": \"4.20.22\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.23\",\n + \ \"name\": \"4.20.23\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.24\",\n + \ \"name\": \"4.20.24\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.25\",\n + \ \"name\": \"4.20.25\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.26\",\n + \ \"name\": \"4.20.26\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.27\",\n + \ \"name\": \"4.20.27\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.28\",\n + \ \"name\": \"4.20.28\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.29\",\n + \ \"name\": \"4.20.29\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.3\",\n + \ \"name\": \"4.20.3\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.30\",\n + \ \"name\": \"4.20.30\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.31\",\n + \ \"name\": \"4.20.31\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.32\",\n + \ \"name\": \"4.20.32\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.33\",\n + \ \"name\": \"4.20.33\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.34\",\n + \ \"name\": \"4.20.34\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.35\",\n + \ \"name\": \"4.20.35\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.36\",\n + \ \"name\": \"4.20.36\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.37\",\n + \ \"name\": \"4.20.37\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.38\",\n + \ \"name\": \"4.20.38\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.39\",\n + \ \"name\": \"4.20.39\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.4\",\n + \ \"name\": \"4.20.4\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.40\",\n + \ \"name\": \"4.20.40\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.41\",\n + \ \"name\": \"4.20.41\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.42\",\n + \ \"name\": \"4.20.42\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.5\",\n + \ \"name\": \"4.20.5\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.6\",\n + \ \"name\": \"4.20.6\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.20.8\",\n + \ \"name\": \"4.20.8\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.0\",\n + \ \"name\": \"4.21.0\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.1\",\n + \ \"name\": \"4.21.1\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.10\",\n + \ \"name\": \"4.21.10\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.11\",\n + \ \"name\": \"4.21.11\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.12\",\n + \ \"name\": \"4.21.12\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.13\",\n + \ \"name\": \"4.21.13\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.14\",\n + \ \"name\": \"4.21.14\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.15\",\n + \ \"name\": \"4.21.15\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.16\",\n + \ \"name\": \"4.21.16\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.17\",\n + \ \"name\": \"4.21.17\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.18\",\n + \ \"name\": \"4.21.18\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.19\",\n + \ \"name\": \"4.21.19\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.2\",\n + \ \"name\": \"4.21.2\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.20\",\n + \ \"name\": \"4.21.20\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.21\",\n + \ \"name\": \"4.21.21\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.22\",\n + \ \"name\": \"4.21.22\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.23\",\n + \ \"name\": \"4.21.23\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.24\",\n + \ \"name\": \"4.21.24\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.25\",\n + \ \"name\": \"4.21.25\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.26\",\n + \ \"name\": \"4.21.26\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.27\",\n + \ \"name\": \"4.21.27\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.28\",\n + \ \"name\": \"4.21.28\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.29\",\n + \ \"name\": \"4.21.29\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.3\",\n + \ \"name\": \"4.21.3\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.30\",\n + \ \"name\": \"4.21.30\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.31\",\n + \ \"name\": \"4.21.31\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.32\",\n + \ \"name\": \"4.21.32\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.33\",\n + \ \"name\": \"4.21.33\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.34\",\n + \ \"name\": \"4.21.34\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.35\",\n + \ \"name\": \"4.21.35\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.36\",\n + \ \"name\": \"4.21.36\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.37\",\n + \ \"name\": \"4.21.37\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.4\",\n + \ \"name\": \"4.21.4\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.5\",\n + \ \"name\": \"4.21.5\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.6\",\n + \ \"name\": \"4.21.6\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.7\",\n + \ \"name\": \"4.21.7\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.8\",\n + \ \"name\": \"4.21.8\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.21.9\",\n + \ \"name\": \"4.21.9\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.22.0\",\n + \ \"name\": \"4.22.0\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.22.1\",\n + \ \"name\": \"4.22.1\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.22.10\",\n + \ \"name\": \"4.22.10\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.22.11\",\n + \ \"name\": \"4.22.11\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.22.12\",\n + \ \"name\": \"4.22.12\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.22.13\",\n + \ \"name\": \"4.22.13\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.22.14\",\n + \ \"name\": \"4.22.14\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.22.15\",\n + \ \"name\": \"4.22.15\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.22.16\",\n + \ \"name\": \"4.22.16\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.22.17\",\n + \ \"name\": \"4.22.17\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.22.18\",\n + \ \"name\": \"4.22.18\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.22.2\",\n + \ \"name\": \"4.22.2\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.22.3\",\n + \ \"name\": \"4.22.3\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.22.4\",\n + \ \"name\": \"4.22.4\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.22.5\",\n + \ \"name\": \"4.22.5\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.22.6\",\n + \ \"name\": \"4.22.6\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.22.7\",\n + \ \"name\": \"4.22.7\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.22.8\",\n + \ \"name\": \"4.22.8\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n },\n + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOpenShiftVersions/4.22.9\",\n + \ \"name\": \"4.22.9\",\n \"properties\": {\n \"channelGroup\": + \"stable\",\n \"enabled\": true\n },\n \"type\": + \"Microsoft.RedHatOpenShift/locations/hcpOpenShiftVersions\"\n }\n + \ ]\n}" + headers: + cache-control: + - no-cache + content-length: + - '56551' + content-type: + - application/json + date: + - Thu, 22 Oct 2026 17:03:01 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '70' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/test_aro_hcp_scenario.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/test_aro_hcp_scenario.py new file mode 100644 index 00000000000..56b6df01397 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/test_aro_hcp_scenario.py @@ -0,0 +1,409 @@ +# -------------------------------------------------------------------------------------------- +# 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 +# -------------------------------------------------------------------------------------------- + +import base64 +import json +import os +import re +import time + +import yaml +from azure.cli.testsdk import ResourceGroupPreparer, ScenarioTest +from azure.cli.testsdk.scenario_tests import RecordingProcessor + + +class AroHcpRecordingProcessor(RecordingProcessor): + + MOCK_TENANT_ID = '00000000-0000-0000-0000-000000000001' + MOCK_PRINCIPAL_ID = '00000000-0000-0000-0000-000000000002' + MOCK_CLIENT_ID = '00000000-0000-0000-0000-000000000003' + MOCK_ROLE_ASSIGNMENT_ID = '00000000-0000-0000-0000-000000000004' + MOCK_USER_EMAIL = 'recording-user@example.com' + REDACTED_DATA = base64.b64encode(b'REDACTED').decode('ascii') + + HEADERS_TO_REDACT = [ + 'x-ms-keyvault-network-info', + 'x-ms-operation-identifier', + ] + + @classmethod + def _scrub_text(cls, value): + if not value: + return value + + replacements = ( + (r'("tenantId"\s*:\s*")[^"]+', rf'\g<1>{cls.MOCK_TENANT_ID}'), + (r'("principalId"\s*:\s*")[^"]+', rf'\g<1>{cls.MOCK_PRINCIPAL_ID}'), + (r'("clientId"\s*:\s*")[^"]+', rf'\g<1>{cls.MOCK_CLIENT_ID}'), + ( + r'("(?:createdBy|lastModifiedBy|updatedBy)"\s*:\s*")[^"]+', + rf'\g<1>{cls.MOCK_USER_EMAIL}', + ), + ( + r'(login\.microsoftonline\.com/)[0-9a-f-]{36}', + rf'\g<1>{cls.MOCK_TENANT_ID}', + ), + ( + r'(\.oic\.aro-hcp\.azure\.com/)[0-9a-f-]{36}', + rf'\g<1>{cls.MOCK_TENANT_ID}', + ), + ( + r'(/roleAssignments/)[0-9a-f-]{36}', + rf'\g<1>{cls.MOCK_ROLE_ASSIGNMENT_ID}', + ), + (r'([?&](?:c|s|h)=)[^&"\s\\]+', r'\g<1>REDACTED'), + ) + for pattern, replacement in replacements: + value = re.sub(pattern, replacement, value, flags=re.IGNORECASE) + return value + + def process_request(self, request): + request.uri = self._scrub_text(request.uri) + if not request.body: + return request + + body_is_bytes = isinstance(request.body, bytes) + body = request.body.decode('utf-8') if body_is_bytes else request.body + body = self._scrub_text(body) + if 'requestAdminCredential' in request.uri: + content = json.loads(body) + content['certificateSigningRequest'] = 'redacted-csr' + body = json.dumps(content) + request.body = body.encode('utf-8') if body_is_bytes else body + return request + + def process_response(self, response): + headers = response.get('headers', {}) + for header in list(headers): + if header.lower() in self.HEADERS_TO_REDACT: + del headers[header] + continue + values = headers[header] + if isinstance(values, list): + headers[header] = [ + self._scrub_text(value) if isinstance(value, str) else value + for value in values + ] + elif isinstance(values, str): + headers[header] = self._scrub_text(values) + + body = (response.get('body') or {}).get('string') + if not body: + return response + + body_is_bytes = isinstance(body, bytes) + body = body.decode('utf-8') if body_is_bytes else body + body = self._scrub_text(body) + try: + content = json.loads(body) + except (TypeError, ValueError): + response['body']['string'] = body.encode('utf-8') if body_is_bytes else body + return response + if content.get('userPrincipalName') and content.get('id'): + body = json.dumps({'id': self.MOCK_PRINCIPAL_ID}) + response['body']['string'] = body.encode('utf-8') if body_is_bytes else body + return response + if not content.get('kubeconfig'): + response['body']['string'] = body.encode('utf-8') if body_is_bytes else body + return response + + kubeconfig = yaml.safe_load(content['kubeconfig']) + for cluster in kubeconfig.get('clusters', []): + cluster.get('cluster', {})['certificate-authority-data'] = self.REDACTED_DATA + for user in kubeconfig.get('users', []): + user_data = user.get('user', {}) + user_data['client-certificate-data'] = self.REDACTED_DATA + if 'client-key-data' in user_data: + user_data['client-key-data'] = self.REDACTED_DATA + content['kubeconfig'] = yaml.safe_dump(kubeconfig, default_flow_style=False) + body = json.dumps(content) + response['body']['string'] = body.encode('utf-8') if body_is_bytes else body + return response + + +class AroHcpScenario(ScenarioTest): + + def _get_test_identity(self): + identity_resource_id = os.getenv('IDENTITY_RESOURCE_ID') + if identity_resource_id: + identity = self.cmd( + 'identity show --ids {}'.format(identity_resource_id) + ).get_output_in_json() + return identity['principalId'], 'ServicePrincipal' + + identity = self.cmd('ad signed-in-user show').get_output_in_json() + return identity['id'], 'User' + + def _create_identity(self, key): + identity = self.cmd( + 'identity create -g {{rg}} -n {{{}}} --location uksouth'.format(key) + ).get_output_in_json() + self.kwargs[key + '_id'] = identity['id'] + self.kwargs[key + '_principal_id'] = identity['principalId'] + + def _assign_role(self, assignee_key, role, scope_key): + self.cmd( + 'role assignment create --assignee-object-id {{{}_principal_id}} ' + '--assignee-principal-type ServicePrincipal --role {} --scope {{{}}}'.format( + assignee_key, role, scope_key) + ) + + def __init__(self, method_name): + super().__init__( + method_name, + recording_processors=[AroHcpRecordingProcessor()], + replay_processors=[AroHcpRecordingProcessor()], + ) + + def test_aro_hcp_get_versions(self): + versions = self.cmd( + 'aro hcp get-versions --location uksouth', + checks=[ + self.check('type(@)', 'array'), + self.greater_than('length(@)', 0), + self.exists('[0].ChannelGroup'), + ], + ).get_output_in_json() + + for version in versions: + self.assertRegex(version['Name'], r'^\d+\.\d+\.\d+$') + + @ResourceGroupPreparer(name_prefix='cli_test_aro_hcp', location='uksouth') + def test_aro_hcp_cluster_lifecycle(self, resource_group): + self.kwargs.update({ + 'rg': resource_group, + 'cluster': self.create_random_name('clihcp', 20), + 'nodepool': self.create_random_name('clihcpnp', 15), + 'vnet': self.create_random_name('clihcp-vnet', 24), + 'subnet': 'cluster-subnet', + 'integration_subnet': 'integration-subnet', + 'nsg': self.create_random_name('clihcp-nsg', 24), + 'managed_rg': self.create_random_name('clihcp-managed', 24), + 'keyvault': self.create_random_name('clihcpkv', 24), + 'kms_key': 'etcd-data-kms-encryption-key', + 'service_identity': self.create_random_name('clihcp-service', 24), + 'capi_identity': self.create_random_name('clihcp-capi', 24), + 'control_plane_identity': self.create_random_name('clihcp-control', 24), + 'ccm_identity': self.create_random_name('clihcp-ccm', 24), + 'ingress_identity': self.create_random_name('clihcp-ingress', 24), + 'disk_csi_identity': self.create_random_name('clihcp-disk', 24), + 'file_csi_identity': self.create_random_name('clihcp-file', 24), + 'image_registry_identity': self.create_random_name('clihcp-image', 24), + 'cloud_network_identity': self.create_random_name('clihcp-network', 24), + 'kms_identity': self.create_random_name('clihcp-kms', 24), + 'dp_disk_csi_identity': self.create_random_name('clihcp-dpdisk', 24), + 'dp_file_csi_identity': self.create_random_name('clihcp-dpfile', 24), + 'dp_image_registry_identity': self.create_random_name('clihcp-dpimage', 24), + }) + + self.kwargs['nsg_id'] = self.cmd( + 'network nsg create -g {rg} -n {nsg} --location uksouth --query NewNSG.id -o tsv' + ).output.strip() + self.cmd( + 'network vnet create -g {rg} -n {vnet} --location uksouth ' + '--address-prefixes 10.0.0.0/16' + ) + self.kwargs['subnet_id'] = self.cmd( + 'network vnet subnet create -g {rg} --vnet-name {vnet} -n {subnet} ' + '--address-prefixes 10.0.0.0/24 --network-security-group {nsg_id} ' + '--disable-private-endpoint-network-policies true --query id -o tsv' + ).output.strip() + self.kwargs['integration_subnet_id'] = self.cmd( + 'network vnet subnet create -g {rg} --vnet-name {vnet} ' + '-n {integration_subnet} --address-prefixes 10.0.1.0/24 ' + '--delegations Microsoft.RedHatOpenShift/hcpOpenShiftClusters --query id -o tsv' + ).output.strip() + self.kwargs['vnet_id'] = self.cmd( + 'network vnet show -g {rg} -n {vnet} --query id -o tsv' + ).output.strip() + + self.kwargs['keyvault_id'] = self.cmd( + 'keyvault create -g {rg} -n {keyvault} --location uksouth ' + '--enable-rbac-authorization true --public-network-access Enabled ' + '--query id -o tsv' + ).output.strip() + test_identity_id, test_identity_type = self._get_test_identity() + self.kwargs.update({ + 'test_identity_id': test_identity_id, + 'test_identity_type': test_identity_type, + }) + self.cmd( + 'role assignment create --assignee-object-id {test_identity_id} ' + '--assignee-principal-type {test_identity_type} ' + '--role 14b46e9e-c2b7-41b4-b07b-48a6ebf60603 --scope {keyvault_id}' + ) + if self.in_recording: + time.sleep(60) + + key = self.cmd( + 'keyvault key create --vault-name {keyvault} -n {kms_key} ' + '--kty RSA --size 2048' + ).get_output_in_json() + self.kwargs['kms_key_version'] = key['key']['kid'].rsplit('/', 1)[-1] + + for key in ( + 'service_identity', + 'capi_identity', + 'control_plane_identity', + 'ccm_identity', + 'ingress_identity', + 'disk_csi_identity', + 'file_csi_identity', + 'image_registry_identity', + 'cloud_network_identity', + 'kms_identity', + 'dp_disk_csi_identity', + 'dp_file_csi_identity', + 'dp_image_registry_identity'): + self._create_identity(key) + + role_assignments = ( + ('service_identity', 'c0ff367d-66d8-445e-917c-583feb0ef0d4', 'vnet_id'), + ('service_identity', 'c0ff367d-66d8-445e-917c-583feb0ef0d4', 'nsg_id'), + ('capi_identity', '88366f10-ed47-4cc0-9fab-c8a06148393e', 'vnet_id'), + ('control_plane_identity', 'fc0c873f-45e9-4d0d-a7d1-585aab30c6ed', 'vnet_id'), + ('control_plane_identity', 'fc0c873f-45e9-4d0d-a7d1-585aab30c6ed', 'nsg_id'), + ('ccm_identity', 'a1f96423-95ce-4224-ab27-4e3dc72facd4', 'vnet_id'), + ('ccm_identity', 'a1f96423-95ce-4224-ab27-4e3dc72facd4', 'nsg_id'), + ('ingress_identity', '0336e1d3-7a87-462b-b6db-342b63f7802c', 'vnet_id'), + ('file_csi_identity', '0d7aedc0-15fd-4a67-a412-efad370c947e', 'vnet_id'), + ('file_csi_identity', '0d7aedc0-15fd-4a67-a412-efad370c947e', 'nsg_id'), + ('image_registry_identity', '8b32b316-c2f5-4ddf-b05b-83dacd2d08b5', 'vnet_id'), + ('cloud_network_identity', 'be7a6435-15ae-4171-8f30-4a343eff9e8f', 'subnet_id'), + ('cloud_network_identity', 'be7a6435-15ae-4171-8f30-4a343eff9e8f', 'vnet_id'), + ('kms_identity', '12338af0-0e69-4776-bea7-57ae8d297424', 'keyvault_id'), + ('dp_file_csi_identity', '0d7aedc0-15fd-4a67-a412-efad370c947e', 'vnet_id'), + ('dp_file_csi_identity', '0d7aedc0-15fd-4a67-a412-efad370c947e', 'subnet_id'), + ('dp_file_csi_identity', '0d7aedc0-15fd-4a67-a412-efad370c947e', 'nsg_id'), + ('dp_image_registry_identity', '8b32b316-c2f5-4ddf-b05b-83dacd2d08b5', 'vnet_id'), + ) + for assignee_key, role, scope_key in role_assignments: + self._assign_role(assignee_key, role, scope_key) + + for identity_key in ( + 'capi_identity', + 'control_plane_identity', + 'ccm_identity', + 'ingress_identity', + 'disk_csi_identity', + 'file_csi_identity', + 'image_registry_identity', + 'cloud_network_identity', + 'kms_identity'): + self._assign_role( + 'service_identity', + 'acdd72a7-3385-48ef-bd42-f606fba81ae7', + identity_key + '_id') + + for identity_key in ( + 'dp_disk_csi_identity', + 'dp_file_csi_identity', + 'dp_image_registry_identity'): + self._assign_role( + 'service_identity', + 'ef318e2a-8334-4a05-9e4a-295a196c6a6e', + identity_key + '_id') + + cluster_created = False + try: + cluster = self.cmd( + "aro hcp cluster create -g {rg} -n {cluster} --location uksouth " + "--version 4.22 --subnet-id {subnet_id} " + "--vnet-integration-subnet-id {integration_subnet_id} --nsg {nsg_id} " + "--managed-resource-group-name {managed_rg} " + "--key-management-mode CustomerManaged " + "--kms-vault-name {keyvault} --vault-visibility Public " + "--kms-active-key '{{name:{kms_key},version:{kms_key_version}}}' " + "--assign-service-managed-identity {service_identity_id} " + "--assign-control-plane-operator-identity cluster-api-azure {capi_identity_id} " + "--assign-control-plane-operator-identity control-plane {control_plane_identity_id} " + "--assign-control-plane-operator-identity cloud-controller-manager {ccm_identity_id} " + "--assign-control-plane-operator-identity ingress {ingress_identity_id} " + "--assign-control-plane-operator-identity disk-csi-driver {disk_csi_identity_id} " + "--assign-control-plane-operator-identity file-csi-driver {file_csi_identity_id} " + "--assign-control-plane-operator-identity image-registry {image_registry_identity_id} " + "--assign-control-plane-operator-identity cloud-network-config {cloud_network_identity_id} " + "--assign-control-plane-operator-identity kms {kms_identity_id} " + "--assign-data-plane-operator-identity disk-csi-driver {dp_disk_csi_identity_id} " + "--assign-data-plane-operator-identity file-csi-driver {dp_file_csi_identity_id} " + "--assign-data-plane-operator-identity image-registry {dp_image_registry_identity_id}" + ).get_output_in_json() + cluster_created = True + self.assertEqual(self.kwargs['cluster'], cluster['name']) + self.assertEqual('uksouth', cluster['location']) + self.assertEqual('Public', cluster['properties']['api']['visibility']) + self.assertEqual('Succeeded', cluster['properties']['provisioningState']) + + kubeconfig = os.path.join(os.getcwd(), '{}-kubeconfig'.format(self.kwargs['cluster'])) + self.kwargs['kubeconfig'] = kubeconfig + try: + self.cmd( + 'aro hcp cluster request-credential -g {rg} -n {cluster} ' + '--admin -f {kubeconfig}' + ) + self.assertTrue(os.path.isfile(kubeconfig)) + self.assertGreater(os.path.getsize(kubeconfig), 0) + finally: + if os.path.exists(kubeconfig): + os.remove(kubeconfig) + + self.cmd( + 'aro hcp cluster show -g {rg} -n {cluster}', + checks=[ + self.check('name', '{cluster}'), + self.check('properties.provisioningState', 'Succeeded'), + ], + ) + + self.cmd( + 'aro hcp cluster update -g {rg} -n {cluster} --node-drain-timeout 30', + checks=[ + self.check('name', '{cluster}'), + self.check('properties.nodeDrainTimeoutMinutes', 30), + self.check('properties.provisioningState', 'Succeeded'), + ], + ) + + self.cmd( + 'aro hcp cluster nodepool create -g {rg} --cluster-name {cluster} ' + '-n {nodepool} --location uksouth --replicas 1 ' + '--vm-size Standard_D8s_v3 --version 4.22.11 ' + '--channel-group stable', + checks=[ + self.check('name', '{nodepool}'), + self.check('properties.replicas', 1), + self.check('properties.provisioningState', 'Succeeded'), + ], + ) + + self.cmd( + 'aro hcp cluster nodepool show -g {rg} --cluster-name {cluster} ' + '-n {nodepool}', + checks=[ + self.check('name', '{nodepool}'), + self.check('properties.replicas', 1), + self.check('properties.provisioningState', 'Succeeded'), + ], + ) + + self.cmd( + 'aro hcp cluster nodepool update -g {rg} --cluster-name {cluster} ' + '-n {nodepool} --node-drain-timeout 15', + checks=[ + self.check('name', '{nodepool}'), + self.check('properties.nodeDrainTimeoutMinutes', 15), + self.check('properties.provisioningState', 'Succeeded'), + ], + ) + + self.cmd('aro hcp cluster revoke-credential -g {rg} -n {cluster}') + + self.cmd('aro hcp cluster delete -g {rg} -n {cluster} --yes') + cluster_created = False + finally: + if cluster_created: + self.cmd('aro hcp cluster delete -g {rg} -n {cluster} --yes') diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/test_recording_processors.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/test_recording_processors.py new file mode 100644 index 00000000000..8f2104755f1 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/test_recording_processors.py @@ -0,0 +1,190 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import json +import types +import unittest + +import yaml + +from azure.cli.command_modules.aro.tests.latest.hcp.integration.test_aro_hcp_scenario import AroHcpRecordingProcessor + + +class AroHcpRecordingProcessorTest(unittest.TestCase): + + def setUp(self): + self.processor = AroHcpRecordingProcessor() + + @staticmethod + def _request(uri, body=None): + return types.SimpleNamespace(uri=uri, body=body) + + @staticmethod + def _response(body, headers=None): + return { + 'body': {'string': body}, + 'headers': headers or {}, + } + + def test_identity_values_are_consistent_between_response_and_request(self): + response = self._response(json.dumps({ + 'tenantId': '11111111-1111-1111-1111-111111111111', + 'principalId': '22222222-2222-2222-2222-222222222222', + 'clientId': '33333333-3333-3333-3333-333333333333', + })) + + processed_response = self.processor.process_response(response) + identity = json.loads(processed_response['body']['string']) + request = self._request( + 'https://management.azure.com/roleAssignments/example', + json.dumps({'principalId': '22222222-2222-2222-2222-222222222222'}).encode(), + ) + processed_request = self.processor.process_request(request) + assignment = json.loads(processed_request.body) + + self.assertEqual(identity['tenantId'], self.processor.MOCK_TENANT_ID) + self.assertEqual(identity['principalId'], self.processor.MOCK_PRINCIPAL_ID) + self.assertEqual(identity['clientId'], self.processor.MOCK_CLIENT_ID) + self.assertEqual(assignment['principalId'], identity['principalId']) + + def test_preserves_bytes_response_body(self): + response = self._response(json.dumps({ + 'tenantId': '11111111-1111-1111-1111-111111111111', + 'name': 'example-resource', + }).encode('utf-8')) + + processed = self.processor.process_response(response) + + self.assertIsInstance(processed['body']['string'], bytes) + self.assertEqual( + json.loads(processed['body']['string'])['tenantId'], + self.processor.MOCK_TENANT_ID, + ) + + def test_normalizes_generated_role_assignment_ids(self): + recorded_id = '11111111-1111-4111-8111-111111111111' + replay_id = '22222222-2222-4222-8222-222222222222' + recorded = self._response(json.dumps({ + 'id': '/subscriptions/example/providers/Microsoft.Authorization/' + 'roleAssignments/{}'.format(recorded_id), + })) + replay = self._request( + 'https://management.azure.com/subscriptions/example/providers/' + 'Microsoft.Authorization/roleAssignments/{}'.format(replay_id) + ) + + processed_recorded = self.processor.process_response(recorded) + processed_replay = self.processor.process_request(replay) + + self.assertIn( + '/roleAssignments/{}'.format(self.processor.MOCK_ROLE_ASSIGNMENT_ID), + json.loads(processed_recorded['body']['string'])['id'], + ) + self.assertIn( + '/roleAssignments/{}'.format(self.processor.MOCK_ROLE_ASSIGNMENT_ID), + processed_replay.uri, + ) + + def test_redacts_personal_data_and_lro_context(self): + tenant_id = '11111111-1111-1111-1111-111111111111' + response = self._response( + json.dumps({ + 'systemData': { + 'createdBy': 'person@example.com', + 'lastModifiedBy': 'person@example.com', + }, + 'issuer': 'https://uksouth.oic.aro-hcp.azure.com/{}/cluster'.format(tenant_id), + }), + { + 'Azure-AsyncOperation': [ + 'https://management.azure.com/operations/id?' + 't=1&c=signed-context&s=signed-request&h=signed-hash' + ], + 'WWW-Authenticate': [ + 'Bearer authorization="https://login.microsoftonline.com/{}"'.format(tenant_id) + ], + 'x-ms-keyvault-network-info': ['addr=192.0.2.1'], + 'x-ms-operation-identifier': ['operation-id'], + }, + ) + + processed = self.processor.process_response(response) + body = json.loads(processed['body']['string']) + + self.assertEqual(body['systemData']['createdBy'], self.processor.MOCK_USER_EMAIL) + self.assertEqual(body['systemData']['lastModifiedBy'], self.processor.MOCK_USER_EMAIL) + self.assertIn(self.processor.MOCK_TENANT_ID, body['issuer']) + operation_url = processed['headers']['Azure-AsyncOperation'][0] + self.assertIn('c=REDACTED', operation_url) + self.assertIn('s=REDACTED', operation_url) + self.assertIn('h=REDACTED', operation_url) + self.assertIn(self.processor.MOCK_TENANT_ID, processed['headers']['WWW-Authenticate'][0]) + self.assertNotIn('x-ms-keyvault-network-info', processed['headers']) + self.assertNotIn('x-ms-operation-identifier', processed['headers']) + + def test_redacts_graph_profile_and_credential_payload(self): + profile = self._response(json.dumps({ + 'id': '22222222-2222-2222-2222-222222222222', + 'displayName': 'Example Person', + 'mail': 'person@example.com', + 'userPrincipalName': 'person@example.com', + })) + processed_profile = self.processor.process_response(profile) + + credential_request = self._request( + 'https://management.azure.com/requestAdminCredential?' + 'c=signed-context&s=signed-request&h=signed-hash', + json.dumps({'certificateSigningRequest': 'real-csr'}), + ) + processed_request = self.processor.process_request(credential_request) + + self.assertEqual( + json.loads(processed_profile['body']['string']), + {'id': self.processor.MOCK_PRINCIPAL_ID}, + ) + self.assertEqual( + json.loads(processed_request.body)['certificateSigningRequest'], + 'redacted-csr', + ) + self.assertIn('c=REDACTED', processed_request.uri) + self.assertIn('s=REDACTED', processed_request.uri) + self.assertIn('h=REDACTED', processed_request.uri) + + def test_redacts_kubeconfig_credentials(self): + kubeconfig = yaml.safe_dump({ + 'clusters': [{ + 'name': 'cluster', + 'cluster': {'certificate-authority-data': 'real-ca'}, + }], + 'users': [{ + 'name': 'admin', + 'user': { + 'client-certificate-data': 'real-certificate', + 'client-key-data': 'real-private-key', + }, + }], + }) + + processed = self.processor.process_response( + self._response(json.dumps({'kubeconfig': kubeconfig})) + ) + redacted = yaml.safe_load(json.loads(processed['body']['string'])['kubeconfig']) + + self.assertEqual( + redacted['clusters'][0]['cluster']['certificate-authority-data'], + self.processor.REDACTED_DATA, + ) + self.assertEqual( + redacted['users'][0]['user']['client-certificate-data'], + self.processor.REDACTED_DATA, + ) + self.assertEqual( + redacted['users'][0]['user']['client-key-data'], + self.processor.REDACTED_DATA, + ) + + +if __name__ == '__main__': + unittest.main() \ No newline at end of file diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/__init__.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/__init__.py new file mode 100644 index 00000000000..5757aea3175 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/__init__.py @@ -0,0 +1,6 @@ +# -------------------------------------------------------------------------------------------- +# 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 +# -------------------------------------------------------------------------------------------- diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_commands.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_commands.py new file mode 100644 index 00000000000..0969dc14712 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_commands.py @@ -0,0 +1,79 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import contextlib +import unittest +from unittest import mock + +from azure.cli.command_modules.aro.azext_aro_hcp.commands import load_command_table + + +class _Loader: + def __init__(self): + self.command_table = {} + self.command_groups = [] + + def command_group(self, name): + self.command_groups.append(name) + return contextlib.nullcontext() + + +class CommandTableTest(unittest.TestCase): + + @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp.custom.GetVersions", autospec=True) + @mock.patch("azure.cli.command_modules.aro.aaz.latest.aro.hcp.cluster.nodepool._show.Show", autospec=True) + @mock.patch("azure.cli.command_modules.aro.aaz.latest.aro.hcp.cluster.nodepool._list.List", autospec=True) + @mock.patch("azure.cli.command_modules.aro.aaz.latest.aro.hcp.cluster._show.Show", autospec=True) + @mock.patch("azure.cli.command_modules.aro.aaz.latest.aro.hcp.cluster._list.List", autospec=True) + @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp.custom.RequestCredential", autospec=True) + @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp.custom.ClusterUpdate", autospec=True) + @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp.custom.ClusterCreate", autospec=True) + def test_load_command_table_registers_custom_commands_and_transformers( + self, cluster_create, cluster_update, request_credential, cluster_list, cluster_show, + nodepool_list, nodepool_show, get_versions): + loader = _Loader() + + load_command_table(loader, None) + + self.assertEqual( + ["aro hcp cluster", "aro hcp cluster nodepool", "aro hcp"], + loader.command_groups, + ) + self.assertEqual( + { + "aro hcp cluster create", + "aro hcp cluster update", + "aro hcp cluster request-credential", + "aro hcp cluster list", + "aro hcp cluster show", + "aro hcp cluster nodepool list", + "aro hcp cluster nodepool show", + "aro hcp get-versions", + }, + set(loader.command_table), + ) + cluster_create.assert_called_once_with(loader=loader) + cluster_update.assert_called_once_with(loader=loader) + request_credential.assert_called_once_with(loader=loader) + cluster_list.assert_called_once() + cluster_show.assert_called_once() + nodepool_list.assert_called_once() + nodepool_show.assert_called_once() + get_versions.assert_called_once_with(loader=loader) + + from azure.cli.command_modules.aro.azext_aro_hcp._format import ( + cluster_list_table_format, + cluster_show_table_format, + nodepool_list_table_format, + nodepool_show_table_format, + ) + self.assertIs(cluster_list.call_args.kwargs["table_transformer"], cluster_list_table_format) + self.assertIs(cluster_show.call_args.kwargs["table_transformer"], cluster_show_table_format) + self.assertIs(nodepool_list.call_args.kwargs["table_transformer"], nodepool_list_table_format) + self.assertIs(nodepool_show.call_args.kwargs["table_transformer"], nodepool_show_table_format) + + +if __name__ == "__main__": + unittest.main() \ No newline at end of file diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py new file mode 100644 index 00000000000..b5d6a5b7555 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py @@ -0,0 +1,529 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import argparse +import types +import unittest +from unittest import mock + +from azure.cli.core.azclierror import InvalidArgumentValueError, MutuallyExclusiveArgumentError + +from azure.cli.command_modules.aro.azext_aro_hcp.custom import ClusterCreate, ClusterUpdate, GetVersions, RequestCredential + + +SUBNET_ID = ("/subscriptions/000/resourceGroups/network-rg/providers/Microsoft.Network/" + "virtualNetworks/vnet/subnets/cluster-subnet") + + +def _identity_id(name): + return ("/subscriptions/000/resourceGroups/network-rg/providers/" + "Microsoft.ManagedIdentity/userAssignedIdentities/{}".format(name)) + + +class _Arg: + def __init__(self, value): + self.value = value + + def __iter__(self): + return iter(self.value) + + def to_serialized_data(self): + return self.value + + +class _OperatorIdentity: + def __init__(self, name, resource_id): + self.name = _Arg(name) + self.resource_id = _Arg(resource_id) + + +class ClusterCreateTest(unittest.TestCase): + + def test_help_examples_use_custom_identity_arguments(self): + example_text = " ".join(example["text"] for example in ClusterCreate.AZ_HELP["examples"]) + + self.assertIn("--assign-control-plane-operator-identity", example_text) + self.assertIn("--assign-data-plane-operator-identity", example_text) + self.assertIn("--assign-service-managed-identity", example_text) + self.assertNotIn("--etcd-encryption-type", example_text) + self.assertIn("--key-management-mode CustomerManaged", example_text) + self.assertNotIn("--control-plane-operators", example_text) + self.assertNotIn("--data-plane-operators", example_text) + self.assertEqual(9, example_text.count("--assign-control-plane-operator-identity")) + self.assertEqual(3, example_text.count("--assign-data-plane-operator-identity")) + + def test_key_management_mode_is_required_without_default(self): + schema = ClusterCreate._build_arguments_schema() + + self.assertTrue(schema.key_management_mode._required) + self.assertIsNone(schema.key_management_mode._default) + + @staticmethod + def _identity_parser(): + schema = ClusterCreate._build_arguments_schema() + command_arg = schema.assign_control_plane_operator_identity.to_cmd_arg( + "assign_control_plane_operator_identity" + ) + settings = command_arg.type.settings + parser = argparse.ArgumentParser() + parser.add_argument( + *command_arg.options_list, + dest="identities", + nargs=settings["nargs"], + action=settings["action"], + ) + return parser, schema + + def _command(self, control_plane, data_plane, service, container_registry=None): + command = object.__new__(ClusterCreate) + command.ctx = types.SimpleNamespace(args=types.SimpleNamespace( + subnet_id=_Arg(SUBNET_ID), + assign_control_plane_operator_identity=control_plane, + assign_data_plane_operator_identity=data_plane, + assign_service_managed_identity=_Arg(service), + assign_container_registry_managed_identity=_Arg(container_registry), + container_registry_managed_identity=_Arg(None), + )) + return command + + @mock.patch( + "azure.cli.command_modules.aro.azext_aro_hcp.custom.has_value", + side_effect=lambda arg: arg.to_serialized_data() is not None, + ) + def test_pre_operations_maps_operator_identities(self, _): + service = "/subscriptions/000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/service" + control_plane_id = "/subscriptions/000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/control" + data_plane_id = "/subscriptions/000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/data" + command = self._command( + [_OperatorIdentity("control-plane", control_plane_id)], + [_OperatorIdentity("disk-csi-driver", data_plane_id)], + service, + ) + + command.pre_operations() + + args = command.ctx.args + self.assertEqual( + {control_plane_id: {}, service: {}}, + args.user_assigned_identities, + ) + self.assertEqual({ + "user_assigned_identities": { + "control_plane_operators": {"control-plane": control_plane_id}, + "data_plane_operators": {"disk-csi-driver": data_plane_id}, + "service_managed_identity": service, + } + }, args.operators_authentication) + + @mock.patch( + "azure.cli.command_modules.aro.azext_aro_hcp.custom.has_value", + side_effect=lambda arg: arg.to_serialized_data() is not None, + ) + def test_pre_operations_resolves_all_identity_names_from_subnet(self, _): + command = self._command( + [_OperatorIdentity("control-plane", "control")], + [_OperatorIdentity("disk-csi-driver", "data")], + "service", + "registry", + ) + + command.pre_operations() + + args = command.ctx.args + self.assertEqual({ + _identity_id("control"): {}, + _identity_id("service"): {}, + }, args.user_assigned_identities) + self.assertEqual({ + "user_assigned_identities": { + "control_plane_operators": {"control-plane": _identity_id("control")}, + "data_plane_operators": {"disk-csi-driver": _identity_id("data")}, + "service_managed_identity": _identity_id("service"), + } + }, args.operators_authentication) + self.assertEqual( + _identity_id("registry"), + args.container_registry_managed_identity, + ) + + def test_container_registry_identity_replaces_generated_argument(self): + schema = ClusterCreate._build_arguments_schema() + command_arg = schema.assign_container_registry_managed_identity.to_cmd_arg( + "assign_container_registry_managed_identity" + ) + + self.assertFalse(schema.container_registry_managed_identity._registered) + self.assertEqual( + [ + "--registry-identity", + "--assign-container-registry-managed-identity", + ], + command_arg.options_list, + ) + + def test_pre_operations_rejects_duplicate_name(self): + command = self._command( + [ + _OperatorIdentity("control-plane", "identity-one"), + _OperatorIdentity("control-plane", "identity-two"), + ], + [_OperatorIdentity("disk-csi-driver", "identity-three")], + "service-identity", + ) + + with self.assertRaisesRegex(InvalidArgumentValueError, "Duplicate name 'control-plane'"): + command.pre_operations() + + def test_identity_argument_accepts_repeated_positional_pairs(self): + parser, schema = self._identity_parser() + namespace = parser.parse_args([ + "--control-plane-identity", "control-plane", "identity-one", + "--control-plane-identity", "ingress", "identity-two", + ]) + values = schema() + namespace.identities.apply(values, "assign_control_plane_operator_identity") + + self.assertEqual([ + {"name": "control-plane", "resource_id": "identity-one"}, + {"name": "ingress", "resource_id": "identity-two"}, + ], values.assign_control_plane_operator_identity.to_serialized_data()) + + def test_identity_argument_help_omits_structured_input_formats(self): + schema = ClusterCreate._build_arguments_schema() + command_arg = schema.assign_control_plane_operator_identity.to_cmd_arg( + "assign_control_plane_operator_identity" + ) + help_text = command_arg.type.settings["help"] + + self.assertIn( + "Usage: --assign-control-plane-operator-identity OPERATOR_NAME IDENTITY", + help_text, + ) + self.assertNotIn("shorthand-syntax", help_text) + self.assertNotIn("json-file", help_text) + self.assertNotIn('Try "??"', help_text) + + def test_identity_argument_requires_exactly_two_values(self): + parser, _ = self._identity_parser() + + with self.assertRaisesRegex(InvalidArgumentValueError, "expects OPERATOR_NAME IDENTITY"): + parser.parse_args([ + "--assign-control-plane-operator-identity", "control-plane", + ]) + + def test_content_adds_identity(self): + operation_type = ClusterCreate.HcpOpenShiftClustersCreateOrUpdate + base_type = operation_type.__mro__[1] + operation = object.__new__(operation_type) + + with mock.patch.object( + base_type, "content", new_callable=mock.PropertyMock, + return_value={"properties": {}}): + self.assertEqual( + {"properties": {}, "identity": {"type": "UserAssigned"}}, + operation.content, + ) + + def test_content_replaces_identity_type(self): + operation_type = ClusterCreate.HcpOpenShiftClustersCreateOrUpdate + base_type = operation_type.__mro__[1] + operation = object.__new__(operation_type) + content = {"identity": {"type": "SystemAssigned", "userAssignedIdentities": {}}} + + with mock.patch.object( + base_type, "content", new_callable=mock.PropertyMock, + return_value=content): + self.assertEqual("UserAssigned", operation.content["identity"]["type"]) + self.assertEqual({}, operation.content["identity"]["userAssignedIdentities"]) + + +class ClusterUpdateTest(unittest.TestCase): + + def test_help_examples_use_custom_identity_arguments(self): + example_text = " ".join(example["text"] for example in ClusterUpdate.AZ_HELP["examples"]) + + self.assertIn("--assign-control-plane-operator-identity", example_text) + self.assertIn("--assign-data-plane-operator-identity", example_text) + self.assertIn("--assign-service-managed-identity", example_text) + + @staticmethod + def _command(control_plane=None, data_plane=None, service=None, container_registry=None): + command = object.__new__(ClusterUpdate) + command.ctx = types.SimpleNamespace(args=types.SimpleNamespace( + assign_control_plane_operator_identity=_Arg(control_plane), + assign_data_plane_operator_identity=_Arg(data_plane), + assign_service_managed_identity=_Arg(service), + assign_container_registry_managed_identity=_Arg(container_registry), + container_registry_managed_identity=_Arg(None), + )) + return command + + @staticmethod + def _instance(): + operator_identities = types.SimpleNamespace( + control_plane_operators={"existing-control": _identity_id("control")}, + data_plane_operators={"existing-data": _identity_id("data")}, + service_managed_identity=_identity_id("service"), + ) + return types.SimpleNamespace( + identity=types.SimpleNamespace( + user_assigned_identities=_Arg({ + _identity_id("control"): {}, + _identity_id("data"): {}, + _identity_id("service"): {}, + }), + ), + properties=types.SimpleNamespace( + platform=types.SimpleNamespace( + subnet_id=SUBNET_ID, + operators_authentication=types.SimpleNamespace( + user_assigned_identities=operator_identities, + ), + ), + ), + ) + + @mock.patch( + "azure.cli.command_modules.aro.azext_aro_hcp.custom.has_value", + side_effect=lambda arg: arg.to_serialized_data() is not None, + ) + def test_pre_instance_update_replaces_supplied_category_and_rebuilds_top_level_identities(self, _): + instance = self._instance() + command = self._command( + control_plane=[_OperatorIdentity("new-control", "new-control-identity")], + ) + + command.pre_instance_update(instance) + + operator_identities = instance.properties.platform.operators_authentication.user_assigned_identities + self.assertEqual({"new-control": _identity_id("new-control-identity")}, + operator_identities.control_plane_operators) + self.assertEqual({"existing-data": _identity_id("data")}, operator_identities.data_plane_operators) + self.assertEqual(_identity_id("service"), operator_identities.service_managed_identity) + self.assertEqual({ + _identity_id("new-control-identity"): {}, + _identity_id("data"): {}, + _identity_id("service"): {}, + }, instance.identity.user_assigned_identities) + + @mock.patch( + "azure.cli.command_modules.aro.azext_aro_hcp.custom.has_value", + side_effect=lambda arg: arg.to_serialized_data() is not None, + ) + def test_pre_instance_update_resolves_all_identity_names_from_subnet(self, _): + instance = self._instance() + command = self._command( + control_plane=[_OperatorIdentity("new-control", "control-two")], + data_plane=[_OperatorIdentity("new-data", "data-two")], + service="service-two", + ) + + command.pre_instance_update(instance) + + operator_identities = instance.properties.platform.operators_authentication.user_assigned_identities + self.assertEqual({"new-control": _identity_id("control-two")}, + operator_identities.control_plane_operators) + self.assertEqual({"new-data": _identity_id("data-two")}, + operator_identities.data_plane_operators) + self.assertEqual(_identity_id("service-two"), operator_identities.service_managed_identity) + self.assertEqual({ + _identity_id("control-two"): {}, + _identity_id("data-two"): {}, + _identity_id("service-two"): {}, + }, instance.identity.user_assigned_identities) + + @mock.patch( + "azure.cli.command_modules.aro.azext_aro_hcp.custom.has_value", + side_effect=lambda arg: arg.to_serialized_data() is not None, + ) + def test_pre_instance_update_preserves_container_registry_identity_resource_id(self, _): + registry_id = _identity_id("registry") + command = self._command(container_registry=registry_id) + + command.pre_instance_update(self._instance()) + + self.assertEqual( + registry_id, + command.ctx.args.container_registry_managed_identity, + ) + + def test_container_registry_identity_replaces_generated_argument(self): + schema = ClusterUpdate._build_arguments_schema() + command_arg = schema.assign_container_registry_managed_identity.to_cmd_arg( + "assign_container_registry_managed_identity" + ) + + self.assertFalse(schema.container_registry_managed_identity._registered) + self.assertEqual( + [ + "--registry-identity", + "--assign-container-registry-managed-identity", + ], + command_arg.options_list, + ) + + @mock.patch( + "azure.cli.command_modules.aro.azext_aro_hcp.custom.has_value", + side_effect=lambda arg: arg.to_serialized_data() is not None, + ) + def test_pre_instance_update_preserves_identities_when_arguments_are_omitted(self, _): + instance = self._instance() + command = self._command() + + command.pre_instance_update(instance) + + self.assertEqual( + { + _identity_id("control"): {}, + _identity_id("data"): {}, + _identity_id("service"): {}, + }, + instance.identity.user_assigned_identities.to_serialized_data(), + ) + operator_identities = instance.properties.platform.operators_authentication.user_assigned_identities + self.assertEqual({"existing-control": _identity_id("control")}, + operator_identities.control_plane_operators) + self.assertEqual({"existing-data": _identity_id("data")}, operator_identities.data_plane_operators) + self.assertEqual(_identity_id("service"), operator_identities.service_managed_identity) + + @mock.patch( + "azure.cli.command_modules.aro.azext_aro_hcp.custom.has_value", + side_effect=lambda arg: arg.to_serialized_data() is not None, + ) + def test_pre_instance_update_rejects_duplicate_name(self, _): + command = self._command(control_plane=[ + _OperatorIdentity("control-plane", "identity-one"), + _OperatorIdentity("control-plane", "identity-two"), + ]) + + with self.assertRaisesRegex(InvalidArgumentValueError, "Duplicate name 'control-plane'"): + command.pre_instance_update(self._instance()) + + +class GetVersionsTest(unittest.TestCase): + + def _command(self, control_plane=False, node_pools=False): + command = object.__new__(GetVersions) + command.ctx = types.SimpleNamespace(args=types.SimpleNamespace( + control_plane=_Arg(control_plane), + node_pools=_Arg(node_pools), + )) + return command + + @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp.custom.has_value", return_value=True) + @mock.patch.object(GetVersions.__mro__[1], "_output") + def test_default_output_filters_and_sorts_full_versions(self, base_output, _): + base_output.return_value = ([ + {"name": "4.20.1", "properties": {"enabled": True, "channelGroup": "candidate"}}, + {"name": "4.19.3", "properties": {"enabled": False}}, + {"name": "4.19.2", "properties": {"channelGroup": "stable"}}, + ], "next") + + result, next_link = self._command()._output() + + self.assertEqual(["4.19.2", "4.20.1"], [row["Name"] for row in result]) + self.assertEqual("next", next_link) + + @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp.custom.has_value", return_value=True) + @mock.patch.object(GetVersions.__mro__[1], "_output") + def test_control_plane_output_deduplicates_major_minor(self, base_output, _): + base_output.return_value = ([ + {"name": "4.20.2", "properties": {"channelGroup": "stable"}}, + {"name": "4.19.3", "properties": {"channelGroup": "stable"}}, + {"name": "4.20.1", "properties": {"channelGroup": "candidate"}}, + {"name": "invalid", "properties": {}}, + ], None) + + result, _ = self._command(control_plane=True)._output() + + self.assertEqual(["4.19", "4.20"], [row["Name"] for row in result]) + self.assertEqual(["stable", "candidate"], [row["ChannelGroup"] for row in result]) + + @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp.custom.has_value", return_value=True) + @mock.patch.object(GetVersions.__mro__[1], "_output", return_value=([], None)) + def test_flags_are_mutually_exclusive(self, _, __): + with self.assertRaises(MutuallyExclusiveArgumentError): + self._command(control_plane=True, node_pools=True)._output() + + +class RequestCredentialTest(unittest.TestCase): + + def test_handler_without_admin_raises_invalid_argument_value_error(self): + command = object.__new__(RequestCredential) + with self.assertRaisesRegex( + InvalidArgumentValueError, + "Requesting a non-admin credential is not supported yet"): + command._handler({"admin": False}) + + @mock.patch( + "azure.cli.command_modules.aro.azext_aro_hcp._kubeconfig._generate_admin_credential_request", + return_value=(b"private-key", "csr"), + ) + @mock.patch.object(RequestCredential.__mro__[1], "_handler", return_value="poller") + def test_handler_populates_internal_csr(self, base_handler, _): + command = object.__new__(RequestCredential) + command_args = {"admin": True} + + self.assertEqual("poller", command._handler(command_args)) + + self.assertEqual("csr", command_args["certificate_signing_request"]) + self.assertEqual(b"private-key", command._private_key_pem) + base_handler.assert_called_once_with(command_args) + + @mock.patch( + "azure.cli.command_modules.aro.azext_aro_hcp._kubeconfig._generate_admin_credential_request", + return_value=(b"private-key", "csr"), + ) + @mock.patch.object(RequestCredential.__mro__[1], "_handler", side_effect=RuntimeError("failed")) + def test_handler_clears_key_when_poller_creation_fails(self, _, __): + command = object.__new__(RequestCredential) + with self.assertRaisesRegex(RuntimeError, "failed"): + command._handler({"admin": True}) + self.assertFalse(hasattr(command, "_private_key_pem")) + + @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp._kubeconfig.print_or_merge_credentials") + @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp._kubeconfig._embed_private_key", return_value="embedded") + @mock.patch.object(RequestCredential, "deserialize_output", return_value={"kubeconfig": "config\\n"}) + @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp.custom.has_value", return_value=False) + def test_output_embeds_key_and_uses_default_context( + self, _, __, embed_private_key, print_or_merge): + command = object.__new__(RequestCredential) + command._private_key_pem = b"private-key" + command.ctx = types.SimpleNamespace( + vars=types.SimpleNamespace(instance=object()), + args=types.SimpleNamespace( + file=_Arg("/tmp/config"), + context_name=_Arg(None), + name=_Arg("cluster-one"), + overwrite_existing=_Arg(False), + ), + ) + + self.assertIsNone(command._output()) + + self.assertFalse(hasattr(command, "_private_key_pem")) + embed_private_key.assert_called_once_with("config\n", b"private-key") + print_or_merge.assert_called_once_with( + "/tmp/config", "embedded", False, "cluster-one-admin" + ) + + def test_hidden_csr_is_added_to_request_content(self): + operation_type = RequestCredential.HcpOpenShiftClustersRequestAdminCredential + base_type = operation_type.__mro__[1] + operation = object.__new__(operation_type) + operation.ctx = types.SimpleNamespace( + args=types.SimpleNamespace(certificate_signing_request=_Arg("pem-csr")) + ) + + with mock.patch.object( + base_type, "content", new_callable=mock.PropertyMock, return_value={}): + self.assertEqual( + {"certificateSigningRequest": "pem-csr"}, + operation.content, + ) + + +if __name__ == "__main__": + unittest.main() \ No newline at end of file diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_format.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_format.py new file mode 100644 index 00000000000..ee1c60dfcba --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_format.py @@ -0,0 +1,101 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import unittest + +from azure.cli.command_modules.aro.azext_aro_hcp._format import ( + _major_minor, + _parse_semver, + cluster_list_table_format, + cluster_show_table_format, + get_versions_table_format, + nodepool_list_table_format, + nodepool_show_table_format, +) + + +class FormatTest(unittest.TestCase): + + def test_parse_semver(self): + self.assertEqual((4, 19, 2), _parse_semver("4.19.2")) + self.assertEqual((4, 19, 2), _parse_semver("4.19.2-preview")) + self.assertEqual((0, 0, 0), _parse_semver("4.19")) + self.assertEqual((0, 0, 0), _parse_semver(None)) + + def test_major_minor(self): + self.assertEqual("4.19", _major_minor("4.19.2")) + self.assertEqual("4.19", _major_minor("4.19")) + self.assertEqual("", _major_minor("invalid")) + self.assertEqual("", _major_minor(None)) + + def test_version_table_format(self): + self.assertEqual( + [{"Name": "4.19.2", "ChannelGroup": "stable"}, {"Name": "", "ChannelGroup": ""}], + get_versions_table_format([ + {"name": "4.19.2", "properties": {"channelGroup": "stable"}}, + {}, + ]), + ) + + def test_cluster_table_formats(self): + cluster = { + "name": "cluster-one", + "location": "eastus", + "resourceGroup": "group-one", + "properties": { + "version": {"id": "4.19"}, + "provisioningState": "Succeeded", + "api": {"url": "https://api.example.invalid"}, + }, + } + expected = [{ + "Name": "cluster-one", + "Location": "eastus", + "ResourceGroup": "group-one", + "Version": "4.19", + "ProvisioningState": "Succeeded", + "ApiServerUrl": "https://api.example.invalid", + }] + + self.assertEqual(expected, cluster_show_table_format(cluster)) + self.assertEqual(expected, cluster_list_table_format([cluster])) + self.assertEqual( + [{ + "Name": "", + "Location": "", + "ResourceGroup": "", + "Version": "", + "ProvisioningState": "", + "ApiServerUrl": "", + }], + cluster_show_table_format({}), + ) + + def test_nodepool_table_formats(self): + nodepool = { + "name": "workers", + "properties": { + "version": {"id": "4.19.2"}, + "platform": {"vmSize": "Standard_D4s_v5"}, + "provisioningState": "Succeeded", + }, + } + expected = [{ + "Name": "workers", + "Version": "4.19.2", + "VmSize": "Standard_D4s_v5", + "ProvisioningState": "Succeeded", + }] + + self.assertEqual(expected, nodepool_show_table_format(nodepool)) + self.assertEqual(expected, nodepool_list_table_format([nodepool])) + self.assertEqual( + [{"Name": "", "Version": "", "VmSize": "", "ProvisioningState": ""}], + nodepool_show_table_format({}), + ) + + +if __name__ == "__main__": + unittest.main() \ No newline at end of file diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_kubeconfig.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_kubeconfig.py new file mode 100644 index 00000000000..37c2caf8a54 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_kubeconfig.py @@ -0,0 +1,187 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import contextlib +import base64 +import errno +import io +import os +import stat +import tempfile +import unittest +from unittest import mock + +import yaml +from azure.cli.core.azclierror import FileOperationError +from cryptography import x509 +from cryptography.hazmat.primitives import serialization +from knack.util import CLIError + +from azure.cli.command_modules.aro.azext_aro_hcp._kubeconfig import ( + _embed_private_key, + _generate_admin_credential_request, + _handle_merge, + load_kubernetes_configuration, + merge_kubernetes_configurations, + print_or_merge_credentials, +) + + +def _config(name="admin", server="https://api.example.invalid"): + return { + "apiVersion": "v1", + "clusters": [{"name": name, "cluster": {"server": server}}], + "contexts": [{"name": name, "context": {"cluster": name, "user": "admin"}}], + "current-context": name, + "kind": "Config", + "users": [{"name": "admin", "user": {"client-certificate-data": "certificate"}}], + } + + +class CredentialHelperTest(unittest.TestCase): + + def test_generate_admin_credential_request(self): + private_key_pem, csr_pem = _generate_admin_credential_request() + + private_key = serialization.load_pem_private_key(private_key_pem, password=None) + csr = x509.load_pem_x509_csr(csr_pem.encode("ascii")) + + self.assertEqual(4096, private_key.key_size) + self.assertEqual( + [ + (x509.NameOID.COMMON_NAME, "system:customer-break-glass:system-admin"), + (x509.NameOID.ORGANIZATION_NAME, "system:masters"), + ], + [(attribute.oid, attribute.value) for attribute in csr.subject], + ) + self.assertTrue(csr.is_signature_valid) + self.assertEqual(csr.public_key().public_numbers(), private_key.public_key().public_numbers()) + + def test_embed_private_key_in_admin_user(self): + private_key_pem, _ = _generate_admin_credential_request() + kubeconfig = yaml.safe_dump({ + "apiVersion": "v1", + "current-context": "other-context", + "contexts": [ + {"name": "other-context", "context": {"cluster": "other", "user": "other"}}, + {"name": "admin-context", "context": {"cluster": "cluster", "user": "admin"}}, + ], + "clusters": [{"name": "cluster", "cluster": {"server": "https://example.invalid"}}], + "users": [ + {"name": "other", "user": {"client-key-data": "unchanged"}}, + {"name": "admin", "user": {"client-certificate-data": "certificate", "client-key": "admin.key"}}, + ], + }) + + config = yaml.safe_load(_embed_private_key(kubeconfig, private_key_pem)) + + self.assertEqual("unchanged", config["users"][0]["user"]["client-key-data"]) + admin_credentials = config["users"][1]["user"] + self.assertNotIn("client-key", admin_credentials) + self.assertEqual(private_key_pem, base64.b64decode(admin_credentials["client-key-data"])) + + +class LoadKubernetesConfigurationTest(unittest.TestCase): + + def test_loads_yaml(self): + with tempfile.NamedTemporaryFile(mode="w", encoding="utf-8") as stream: + yaml.safe_dump(_config(), stream) + stream.flush() + self.assertEqual(_config(), load_kubernetes_configuration(stream.name)) + + def test_missing_file_raises_cli_error(self): + with self.assertRaisesRegex(CLIError, "does not exist"): + load_kubernetes_configuration("/path/that/does/not/exist") + + @mock.patch( + "azure.cli.command_modules.aro.azext_aro_hcp._kubeconfig.open", + side_effect=PermissionError(errno.EACCES, "Permission denied"), + ) + def test_permission_error_is_actionable(self, _): + with self.assertRaisesRegex(FileOperationError, "Permission denied"): + load_kubernetes_configuration("config") + + +class HandleMergeTest(unittest.TestCase): + + def test_adds_new_entry(self): + existing = {"clusters": [{"name": "one"}]} + _handle_merge(existing, {"clusters": [{"name": "two"}]}, "clusters", replace=False) + self.assertEqual([{"name": "one"}, {"name": "two"}], existing["clusters"]) + + def test_replaces_duplicate_when_requested(self): + existing = {"clusters": [{"name": "one", "value": "old"}]} + addition = {"clusters": [{"name": "one", "value": "new"}]} + _handle_merge(existing, addition, "clusters", replace=True) + self.assertEqual(addition["clusters"], existing["clusters"]) + + @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp._kubeconfig.prompt_y_n", return_value=False) + def test_rejects_conflicting_entry(self, _): + existing = {"users": [{"name": "admin", "user": {"token": "old"}}]} + addition = {"users": [{"name": "admin", "user": {"token": "new"}}]} + with self.assertRaisesRegex(CLIError, "already exists"): + _handle_merge(existing, addition, "users", replace=False) + + def test_missing_existing_section_raises_file_error(self): + with self.assertRaisesRegex(FileOperationError, "No such key 'clusters'"): + _handle_merge({}, {"clusters": [{"name": "one"}]}, "clusters", replace=False) + + +class MergeKubernetesConfigurationsTest(unittest.TestCase): + + def test_merges_and_renames_context_atomically(self): + with tempfile.TemporaryDirectory() as directory: + existing_path = os.path.join(directory, "config") + addition_path = os.path.join(directory, "addition") + with open(existing_path, "w", encoding="utf-8") as stream: + yaml.safe_dump(_config("existing"), stream) + with open(addition_path, "w", encoding="utf-8") as stream: + yaml.safe_dump(_config("new"), stream) + os.chmod(existing_path, 0o600) + + merge_kubernetes_configurations( + existing_path, addition_path, replace=True, context_name="renamed" + ) + + merged = load_kubernetes_configuration(existing_path) + self.assertEqual("renamed", merged["current-context"]) + self.assertIn("renamed", [item["name"] for item in merged["clusters"]]) + self.assertIn("renamed", [item["name"] for item in merged["contexts"]]) + self.assertEqual(0o600, stat.S_IMODE(os.stat(existing_path).st_mode)) + + def test_refuses_to_replace_symlink(self): + with tempfile.TemporaryDirectory() as directory: + target_path = os.path.join(directory, "target") + link_path = os.path.join(directory, "config") + addition_path = os.path.join(directory, "addition") + for path in (target_path, addition_path): + with open(path, "w", encoding="utf-8") as stream: + yaml.safe_dump(_config(), stream) + os.symlink(target_path, link_path) + + with self.assertRaisesRegex(CLIError, "symbolic link"): + merge_kubernetes_configurations(link_path, addition_path, replace=True) + + +class PrintOrMergeCredentialsTest(unittest.TestCase): + + def test_dash_prints_kubeconfig(self): + kubeconfig = yaml.safe_dump(_config()) + output = io.StringIO() + with contextlib.redirect_stdout(output): + print_or_merge_credentials("-", kubeconfig, False, None) + self.assertEqual(kubeconfig + "\n", output.getvalue()) + + def test_creates_parent_and_secure_config(self): + with tempfile.TemporaryDirectory() as directory: + path = os.path.join(directory, ".kube", "config") + print_or_merge_credentials(path, yaml.safe_dump(_config()), False, None) + + self.assertEqual(_config(), load_kubernetes_configuration(path)) + self.assertEqual(0o600, stat.S_IMODE(os.stat(path).st_mode)) + + +if __name__ == "__main__": + unittest.main() \ No newline at end of file diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/__init__.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/__init__.py new file mode 100644 index 00000000000..34913fb394d --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/__init__.py @@ -0,0 +1,4 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/custom_preparers.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/custom_preparers.py similarity index 100% rename from src/azure-cli/azure/cli/command_modules/aro/tests/latest/custom_preparers.py rename to src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/custom_preparers.py diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/integration/__init__.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/integration/__init__.py similarity index 100% rename from src/azure-cli/azure/cli/command_modules/aro/tests/latest/integration/__init__.py rename to src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/integration/__init__.py diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/integration/recordings/test_aro_get_versions.yaml b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/integration/recordings/test_aro_get_versions.yaml similarity index 100% rename from src/azure-cli/azure/cli/command_modules/aro/tests/latest/integration/recordings/test_aro_get_versions.yaml rename to src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/integration/recordings/test_aro_get_versions.yaml diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/integration/recordings/test_aro_public_cluster.yaml b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/integration/recordings/test_aro_public_cluster.yaml similarity index 100% rename from src/azure-cli/azure/cli/command_modules/aro/tests/latest/integration/recordings/test_aro_public_cluster.yaml rename to src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/integration/recordings/test_aro_public_cluster.yaml diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/integration/recordings/test_aro_public_cluster_with_managed_identities.yaml b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/integration/recordings/test_aro_public_cluster_with_managed_identities.yaml similarity index 100% rename from src/azure-cli/azure/cli/command_modules/aro/tests/latest/integration/recordings/test_aro_public_cluster_with_managed_identities.yaml rename to src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/integration/recordings/test_aro_public_cluster_with_managed_identities.yaml diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/integration/test_aro_scenario.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/integration/test_aro_scenario.py similarity index 98% rename from src/azure-cli/azure/cli/command_modules/aro/tests/latest/integration/test_aro_scenario.py rename to src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/integration/test_aro_scenario.py index 4f3ff1f14a6..735a091b2b0 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/integration/test_aro_scenario.py +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/integration/test_aro_scenario.py @@ -10,7 +10,7 @@ from knack.log import get_logger -from azure.cli.command_modules.aro.tests.latest.custom_preparers import AROClusterServicePrincipalPreparer +from azure.cli.command_modules.aro.tests.latest.standard.custom_preparers import AROClusterServicePrincipalPreparer from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer from azure.cli.testsdk.checkers import StringContainCheck from azure.cli.testsdk.scenario_tests import AllowLargeResponse diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/unit/__init__.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/unit/__init__.py new file mode 100644 index 00000000000..34913fb394d --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/unit/__init__.py @@ -0,0 +1,4 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/unit/test_aro_helpers.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/unit/test_aro_helpers.py similarity index 100% rename from src/azure-cli/azure/cli/command_modules/aro/tests/latest/unit/test_aro_helpers.py rename to src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/unit/test_aro_helpers.py diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/unit/test_dynamic_validators.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/unit/test_dynamic_validators.py similarity index 100% rename from src/azure-cli/azure/cli/command_modules/aro/tests/latest/unit/test_dynamic_validators.py rename to src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/unit/test_dynamic_validators.py diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/unit/test_validators.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/unit/test_validators.py similarity index 100% rename from src/azure-cli/azure/cli/command_modules/aro/tests/latest/unit/test_validators.py rename to src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/unit/test_validators.py From cd96aec5697a46aaa6b4e15b92761bffda0a764a Mon Sep 17 00:00:00 2001 From: kimorris27 Date: Sat, 24 Oct 2026 09:08:56 -0500 Subject: [PATCH 02/12] `azdev latest-index generate --cli .` --- src/azure-cli-core/azure/cli/core/helpIndex.latest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 cc17eca7cb4..38be3ee1203 100644 --- a/src/azure-cli-core/azure/cli/core/helpIndex.latest.json +++ b/src/azure-cli-core/azure/cli/core/helpIndex.latest.json @@ -40,7 +40,7 @@ "tags": "" }, "aro": { - "summary": "Manage Azure Red Hat OpenShift clusters.", + "summary": "Manage Azure Red Hat OpenShift resource types.", "tags": "" }, "backup": { From 16aa0059e7bb09ef1c6687dd6dfbba186b41a218 Mon Sep 17 00:00:00 2001 From: kimorris27 Date: Mon, 26 Oct 2026 11:40:44 -0500 Subject: [PATCH 03/12] Fix identity argument parsing in cluster updates --- .../aro/azext_aro_hcp/custom.py | 8 +- .../latest/hcp/unit/test_custom_commands.py | 152 +++++++++++------- 2 files changed, 97 insertions(+), 63 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py index e8b5ad2ba51..bfd4b0bcc11 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py +++ b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py @@ -337,7 +337,7 @@ def pre_instance_update(self, instance): return platform = instance.properties.platform - subnet_id = platform.subnet_id + subnet_id = platform.subnet_id.to_serialized_data() if has_value(container_registry_arg): args.container_registry_managed_identity = _resolve_identity_resource_id( container_registry_arg.to_serialized_data(), @@ -372,9 +372,9 @@ def pre_instance_update(self, instance): ) operator_identities.service_managed_identity = service - assigned_resource_ids = set(operator_identities.control_plane_operators.values()) - assigned_resource_ids.update(operator_identities.data_plane_operators.values()) - assigned_resource_ids.add(operator_identities.service_managed_identity) + assigned_resource_ids = set(operator_identities.control_plane_operators.to_serialized_data().values()) + assigned_resource_ids.update(operator_identities.data_plane_operators.to_serialized_data().values()) + assigned_resource_ids.add(operator_identities.service_managed_identity.to_serialized_data()) instance.identity.user_assigned_identities = { resource_id: {} for resource_id in assigned_resource_ids } diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py index b5d6a5b7555..0911bbce223 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py @@ -8,6 +8,7 @@ import unittest from unittest import mock +from azure.cli.core.aaz._field_value import AAZObject from azure.cli.core.azclierror import InvalidArgumentValueError, MutuallyExclusiveArgumentError from azure.cli.command_modules.aro.azext_aro_hcp.custom import ClusterCreate, ClusterUpdate, GetVersions, RequestCredential @@ -251,48 +252,57 @@ def test_help_examples_use_custom_identity_arguments(self): @staticmethod def _command(control_plane=None, data_plane=None, service=None, container_registry=None): command = object.__new__(ClusterUpdate) - command.ctx = types.SimpleNamespace(args=types.SimpleNamespace( - assign_control_plane_operator_identity=_Arg(control_plane), - assign_data_plane_operator_identity=_Arg(data_plane), - assign_service_managed_identity=_Arg(service), - assign_container_registry_managed_identity=_Arg(container_registry), - container_registry_managed_identity=_Arg(None), - )) + args = ClusterUpdate._build_arguments_schema()() + for name, value in ( + ("assign_control_plane_operator_identity", control_plane), + ("assign_data_plane_operator_identity", data_plane), + ("assign_service_managed_identity", service), + ("assign_container_registry_managed_identity", container_registry), + ): + if value is not None: + args[name] = value + command.ctx = types.SimpleNamespace(args=args, get_http_client=mock.Mock()) return command @staticmethod def _instance(): - operator_identities = types.SimpleNamespace( - control_plane_operators={"existing-control": _identity_id("control")}, - data_plane_operators={"existing-data": _identity_id("data")}, - service_managed_identity=_identity_id("service"), - ) - return types.SimpleNamespace( - identity=types.SimpleNamespace( - user_assigned_identities=_Arg({ + schema = ClusterUpdate.HcpOpenShiftClustersGet._build_schema_on_200() + data = { + "location": "eastus", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { _identity_id("control"): {}, _identity_id("data"): {}, _identity_id("service"): {}, - }), - ), - properties=types.SimpleNamespace( - platform=types.SimpleNamespace( - subnet_id=SUBNET_ID, - operators_authentication=types.SimpleNamespace( - user_assigned_identities=operator_identities, + }, + }, + "properties": { + "version": {"id": "4.19", "channelGroup": "stable"}, + "platform": { + "subnetId": SUBNET_ID, + "vnetIntegrationSubnetId": SUBNET_ID, + "networkSecurityGroupId": ( + "/subscriptions/000/resourceGroups/network-rg/providers/" + "Microsoft.Network/networkSecurityGroups/cluster-nsg" ), - ), - ), - ) + "containerRegistry": {"managedIdentity": _identity_id("registry")}, + "operatorsAuthentication": { + "userAssignedIdentities": { + "controlPlaneOperators": {"existing-control": _identity_id("control")}, + "dataPlaneOperators": {"existing-data": _identity_id("data")}, + "serviceManagedIdentity": _identity_id("service"), + }, + }, + }, + }, + } + return AAZObject(schema, data=schema.process_data(data)) - @mock.patch( - "azure.cli.command_modules.aro.azext_aro_hcp.custom.has_value", - side_effect=lambda arg: arg.to_serialized_data() is not None, - ) - def test_pre_instance_update_replaces_supplied_category_and_rebuilds_top_level_identities(self, _): + def test_pre_instance_update_replaces_supplied_category_and_rebuilds_top_level_identities(self): instance = self._instance() command = self._command( - control_plane=[_OperatorIdentity("new-control", "new-control-identity")], + control_plane=[{"name": "new-control", "resource_id": "new-control-identity"}], ) command.pre_instance_update(instance) @@ -306,17 +316,13 @@ def test_pre_instance_update_replaces_supplied_category_and_rebuilds_top_level_i _identity_id("new-control-identity"): {}, _identity_id("data"): {}, _identity_id("service"): {}, - }, instance.identity.user_assigned_identities) + }, instance.identity.user_assigned_identities.to_serialized_data()) - @mock.patch( - "azure.cli.command_modules.aro.azext_aro_hcp.custom.has_value", - side_effect=lambda arg: arg.to_serialized_data() is not None, - ) - def test_pre_instance_update_resolves_all_identity_names_from_subnet(self, _): + def test_pre_instance_update_resolves_all_identity_names_from_subnet(self): instance = self._instance() command = self._command( - control_plane=[_OperatorIdentity("new-control", "control-two")], - data_plane=[_OperatorIdentity("new-data", "data-two")], + control_plane=[{"name": "new-control", "resource_id": "control-two"}], + data_plane=[{"name": "new-data", "resource_id": "data-two"}], service="service-two", ) @@ -332,13 +338,9 @@ def test_pre_instance_update_resolves_all_identity_names_from_subnet(self, _): _identity_id("control-two"): {}, _identity_id("data-two"): {}, _identity_id("service-two"): {}, - }, instance.identity.user_assigned_identities) + }, instance.identity.user_assigned_identities.to_serialized_data()) - @mock.patch( - "azure.cli.command_modules.aro.azext_aro_hcp.custom.has_value", - side_effect=lambda arg: arg.to_serialized_data() is not None, - ) - def test_pre_instance_update_preserves_container_registry_identity_resource_id(self, _): + def test_pre_instance_update_preserves_container_registry_identity_resource_id(self): registry_id = _identity_id("registry") command = self._command(container_registry=registry_id) @@ -364,11 +366,7 @@ def test_container_registry_identity_replaces_generated_argument(self): command_arg.options_list, ) - @mock.patch( - "azure.cli.command_modules.aro.azext_aro_hcp.custom.has_value", - side_effect=lambda arg: arg.to_serialized_data() is not None, - ) - def test_pre_instance_update_preserves_identities_when_arguments_are_omitted(self, _): + def test_pre_instance_update_preserves_identities_when_arguments_are_omitted(self): instance = self._instance() command = self._command() @@ -384,18 +382,54 @@ def test_pre_instance_update_preserves_identities_when_arguments_are_omitted(sel ) operator_identities = instance.properties.platform.operators_authentication.user_assigned_identities self.assertEqual({"existing-control": _identity_id("control")}, - operator_identities.control_plane_operators) + operator_identities.control_plane_operators) self.assertEqual({"existing-data": _identity_id("data")}, operator_identities.data_plane_operators) self.assertEqual(_identity_id("service"), operator_identities.service_managed_identity) - @mock.patch( - "azure.cli.command_modules.aro.azext_aro_hcp.custom.has_value", - side_effect=lambda arg: arg.to_serialized_data() is not None, - ) - def test_pre_instance_update_rejects_duplicate_name(self, _): + def test_pre_instance_update_identity_flags_produce_put_content(self): + for flag, field in ( + ("control_plane", "controlPlaneOperators"), + ("data_plane", "dataPlaneOperators"), + ("service", "serviceManagedIdentity"), + ("container_registry", None), + ): + for use_resource_id in (False, True): + with self.subTest(flag=flag, use_resource_id=use_resource_id): + instance = self._instance() + expected = instance.to_serialized_data() + identity = _identity_id("replacement") if use_resource_id else "replacement" + value = [{"name": "replacement", "resource_id": identity}] if flag in ( + "control_plane", "data_plane", + ) else identity + command = self._command(**{flag: value}) + command.ctx.vars = types.SimpleNamespace(instance=instance) + platform = expected["properties"]["platform"] + operators = platform["operatorsAuthentication"]["userAssignedIdentities"] + if field is None: + platform["containerRegistry"]["managedIdentity"] = _identity_id("replacement") + else: + operators[field] = ( + {"replacement": _identity_id("replacement")} + if flag in ("control_plane", "data_plane") else _identity_id("replacement") + ) + assigned_ids = set(operators["controlPlaneOperators"].values()) + assigned_ids.update(operators["dataPlaneOperators"].values()) + assigned_ids.add(operators["serviceManagedIdentity"]) + expected["identity"]["userAssignedIdentities"] = { + identity_id: {} for identity_id in assigned_ids + } + + command.pre_instance_update(instance) + command.InstanceUpdateByJson(ctx=command.ctx)() + operation = command.HcpOpenShiftClustersCreateOrUpdate(ctx=command.ctx) + + self.assertEqual("PUT", operation.method) + self.assertEqual(expected, operation.content) + + def test_pre_instance_update_rejects_duplicate_name(self): command = self._command(control_plane=[ - _OperatorIdentity("control-plane", "identity-one"), - _OperatorIdentity("control-plane", "identity-two"), + {"name": "control-plane", "resource_id": "identity-one"}, + {"name": "control-plane", "resource_id": "identity-two"}, ]) with self.assertRaisesRegex(InvalidArgumentValueError, "Duplicate name 'control-plane'"): @@ -526,4 +560,4 @@ def test_hidden_csr_is_added_to_request_content(self): if __name__ == "__main__": - unittest.main() \ No newline at end of file + unittest.main() From 8869799d60e831ed9ecc9e2642b1b6a99307e38e Mon Sep 17 00:00:00 2001 From: kimorris27 Date: Mon, 26 Oct 2026 12:01:20 -0500 Subject: [PATCH 04/12] Remove `--no-wait` from credential request command --- .../azure/cli/command_modules/aro/azext_aro_hcp/custom.py | 3 +++ .../aro/tests/latest/hcp/unit/test_custom_commands.py | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py index bfd4b0bcc11..a3861ff47c3 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py +++ b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py @@ -444,6 +444,8 @@ def _output(self, *args, **kwargs): class RequestCredential(_RequestCredential): + AZ_SUPPORT_NO_WAIT = False + def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self._private_key_pem = None @@ -451,6 +453,7 @@ def __init__(self, *args, **kwargs): @classmethod def _build_arguments_schema(cls, *args, **kwargs): args_schema = super()._build_arguments_schema(*args, **kwargs) + args_schema.no_wait = AAZBoolArg(default=False, registered=False) args_schema.certificate_signing_request = AAZStrArg( options=["--certificate-signing-request"], ) diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py index 0911bbce223..5cda285566b 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py @@ -484,6 +484,13 @@ def test_flags_are_mutually_exclusive(self, _, __): class RequestCredentialTest(unittest.TestCase): + def test_no_wait_is_disabled(self): + schema = RequestCredential._build_arguments_schema() + + self.assertFalse(RequestCredential.AZ_SUPPORT_NO_WAIT) + self.assertFalse(schema.no_wait._registered) + self.assertIs(schema.no_wait._default, False) + def test_handler_without_admin_raises_invalid_argument_value_error(self): command = object.__new__(RequestCredential) with self.assertRaisesRegex( From 013cf24f6458bcec1e67edb429d6a1158831fb67 Mon Sep 17 00:00:00 2001 From: kimorris27 Date: Mon, 26 Oct 2026 13:20:50 -0500 Subject: [PATCH 05/12] Fix kubeconfig merging functionality - use per-cluster usernames --- .../aro/azext_aro_hcp/_kubeconfig.py | 6 ++- .../aro/azext_aro_hcp/custom.py | 6 ++- .../latest/hcp/unit/test_custom_commands.py | 3 +- .../tests/latest/hcp/unit/test_kubeconfig.py | 37 ++++++++++++++++++- 4 files changed, 47 insertions(+), 5 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_kubeconfig.py b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_kubeconfig.py index 8b779f20a26..db84788c650 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_kubeconfig.py +++ b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_kubeconfig.py @@ -201,10 +201,14 @@ def _generate_admin_credential_request(): return private_key_pem, csr_pem -def _embed_private_key(kubeconfig, private_key_pem): +def _embed_private_key(kubeconfig, private_key_pem, user_name): config = yaml.safe_load(kubeconfig) user = next(item for item in config["users"] if item["name"] == "admin") user["user"]["client-key-data"] = base64.b64encode(private_key_pem).decode("ascii") user["user"].pop("client-key", None) + user["name"] = user_name + for context in config["contexts"]: + if context["context"].get("user") == "admin": + context["context"]["user"] = user_name return yaml.safe_dump(config, default_flow_style=False) diff --git a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py index a3861ff47c3..63de221db2a 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py +++ b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py @@ -508,7 +508,11 @@ def _output(self, *args, **kwargs): return result kubeconfig = result["kubeconfig"].replace("\\n", "\n") - kubeconfig = _embed_private_key(kubeconfig, private_key_pem) + user_name = "{}-{}-admin".format( + self.ctx.args.resource_group.to_serialized_data(), + self.ctx.args.name.to_serialized_data(), + ) + kubeconfig = _embed_private_key(kubeconfig, private_key_pem, user_name) path = self.ctx.args.file.to_serialized_data() if has_value(self.ctx.args.context_name): context_name = self.ctx.args.context_name.to_serialized_data() diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py index 5cda285566b..2779c9bdb38 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py @@ -538,6 +538,7 @@ def test_output_embeds_key_and_uses_default_context( file=_Arg("/tmp/config"), context_name=_Arg(None), name=_Arg("cluster-one"), + resource_group=_Arg("group-one"), overwrite_existing=_Arg(False), ), ) @@ -545,7 +546,7 @@ def test_output_embeds_key_and_uses_default_context( self.assertIsNone(command._output()) self.assertFalse(hasattr(command, "_private_key_pem")) - embed_private_key.assert_called_once_with("config\n", b"private-key") + embed_private_key.assert_called_once_with("config\n", b"private-key", "group-one-cluster-one-admin") print_or_merge.assert_called_once_with( "/tmp/config", "embedded", False, "cluster-one-admin" ) diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_kubeconfig.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_kubeconfig.py index 37c2caf8a54..1ea2eac5237 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_kubeconfig.py +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_kubeconfig.py @@ -75,9 +75,13 @@ def test_embed_private_key_in_admin_user(self): ], }) - config = yaml.safe_load(_embed_private_key(kubeconfig, private_key_pem)) + config = yaml.safe_load(_embed_private_key(kubeconfig, private_key_pem, "cluster-admin")) self.assertEqual("unchanged", config["users"][0]["user"]["client-key-data"]) + self.assertEqual("other", config["users"][0]["name"]) + self.assertEqual("other", config["contexts"][0]["context"]["user"]) + self.assertEqual("cluster-admin", config["users"][1]["name"]) + self.assertEqual("cluster-admin", config["contexts"][1]["context"]["user"]) admin_credentials = config["users"][1]["user"] self.assertNotIn("client-key", admin_credentials) self.assertEqual(private_key_pem, base64.b64decode(admin_credentials["client-key-data"])) @@ -167,12 +171,41 @@ def test_refuses_to_replace_symlink(self): class PrintOrMergeCredentialsTest(unittest.TestCase): + def test_merges_credentials_for_two_clusters_without_user_collision(self): + with tempfile.TemporaryDirectory() as directory: + path = os.path.join(directory, "config") + for resource_group in ("group-one", "group-two"): + user_name = resource_group + "-cluster-admin" + kubeconfig = _embed_private_key( + yaml.safe_dump(_config("cluster")), resource_group.encode("ascii"), user_name + ) + print_or_merge_credentials(path, kubeconfig, False, resource_group + "-context") + + merged = load_kubernetes_configuration(path) + self.assertEqual( + ["group-one-cluster-admin", "group-two-cluster-admin"], + [user["name"] for user in merged["users"]], + ) + self.assertEqual( + ["group-one-cluster-admin", "group-two-cluster-admin"], + [context["context"]["user"] for context in merged["contexts"]], + ) + self.assertEqual( + [b"group-one", b"group-two"], + [base64.b64decode(user["user"]["client-key-data"]) for user in merged["users"]], + ) + def test_dash_prints_kubeconfig(self): - kubeconfig = yaml.safe_dump(_config()) + kubeconfig = _embed_private_key( + yaml.safe_dump(_config()), b"private-key", "cluster-one-admin" + ) output = io.StringIO() with contextlib.redirect_stdout(output): print_or_merge_credentials("-", kubeconfig, False, None) self.assertEqual(kubeconfig + "\n", output.getvalue()) + config = yaml.safe_load(output.getvalue()) + self.assertEqual("cluster-one-admin", config["users"][0]["name"]) + self.assertEqual("cluster-one-admin", config["contexts"][0]["context"]["user"]) def test_creates_parent_and_secure_config(self): with tempfile.TemporaryDirectory() as directory: From 7ec8f614a53441aae40e061148a9fe5e30763766 Mon Sep 17 00:00:00 2001 From: kimorris27 Date: Mon, 26 Oct 2026 14:26:59 -0500 Subject: [PATCH 06/12] Add missing parameters to HCP cluster create help example --- .../azure/cli/command_modules/aro/azext_aro_hcp/custom.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py index 63de221db2a..1fedd286bbb 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py +++ b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py @@ -133,9 +133,13 @@ class ClusterCreate(_ClusterCreate): "name": "Create a cluster", "text": "az aro hcp cluster create --resource-group MyResourceGroup --name MyCluster " "--location eastus --version 4.19 --channel-group stable --network-type OVNKubernetes " - "--subnet-id --key-management-mode CustomerManaged " + "--subnet-id " + "--vnet-integration-subnet-id " + "--nsg " + "--key-management-mode CustomerManaged " "--kms-vault-name MyKeyVault " "--kms-active-key \"{name:MyKey,version:}\" " + "--vault-visibility Public " "--assign-service-managed-identity " "--assign-control-plane-operator-identity cluster-api-azure " " " From 5b695a35dafdaee8b46236ea5c53e6cea610ccdb Mon Sep 17 00:00:00 2001 From: kimorris27 Date: Tue, 3 Nov 2026 16:52:34 -0600 Subject: [PATCH 07/12] Carry over changes made in azure-cli-extensions --- .../aro/azext_aro_hcp/commands.py | 2 + .../aro/azext_aro_hcp/custom.py | 60 +- .../test_aro_hcp_cluster_lifecycle.yaml | 2345 ++++++++++------- .../hcp/integration/test_aro_hcp_scenario.py | 2 +- .../tests/latest/hcp/unit/test_commands.py | 5 +- .../latest/hcp/unit/test_custom_commands.py | 107 +- .../latest/standard/integration/__init__.py | 1 - .../recordings/test_aro_public_cluster.yaml | 2 +- .../latest/standard/unit/test_validators.py | 2 +- 9 files changed, 1497 insertions(+), 1029 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/commands.py b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/commands.py index d7a753dd08a..a93d217c869 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/commands.py +++ b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/commands.py @@ -24,9 +24,11 @@ def load_command_table(self, _): # pylint: disable=unused-argument self.command_table["aro hcp cluster show"] = Show(loader=self, table_transformer=cluster_show_table_format) with self.command_group("aro hcp cluster nodepool"): + from .custom import NodepoolCreate from ..aaz.latest.aro.hcp.cluster.nodepool._list import List as NodepoolList from ..aaz.latest.aro.hcp.cluster.nodepool._show import Show as NodepoolShow from ._format import nodepool_list_table_format, nodepool_show_table_format + self.command_table["aro hcp cluster nodepool create"] = NodepoolCreate(loader=self) self.command_table["aro hcp cluster nodepool list"] = NodepoolList(loader=self, table_transformer=nodepool_list_table_format) # pylint: disable=line-too-long self.command_table["aro hcp cluster nodepool show"] = NodepoolShow(loader=self, table_transformer=nodepool_show_table_format) # pylint: disable=line-too-long diff --git a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py index 1fedd286bbb..4d32142bb4f 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py +++ b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py @@ -15,6 +15,7 @@ AAZListArg, AAZObjectArg, AAZStrArg, + AAZUndefined, has_value, ) from azure.cli.core.azclierror import InvalidArgumentValueError @@ -22,8 +23,10 @@ from knack.log import get_logger from ..aaz.latest.aro.hcp.cluster._create import Create as _ClusterCreate +from ..aaz.latest.aro.hcp.cluster._show import Show as _ClusterShow from ..aaz.latest.aro.hcp.cluster._update import Update as _ClusterUpdate from ..aaz.latest.aro.hcp.cluster._request_credential import RequestCredential as _RequestCredential +from ..aaz.latest.aro.hcp.cluster.nodepool._create import Create as _NodepoolCreate from ..aaz.latest.aro.hcp._get_versions import GetVersions as _GetVersions logger = get_logger(__name__) @@ -173,10 +176,12 @@ def _build_arguments_schema(cls, *args, **kwargs): if hasattr(args_schema, "assign_control_plane_operator_identity"): return args_schema - # Remove once platform managed etcd encryption has been implemented and - # key management mode can safely default to PlatformManaged - args_schema.key_management_mode._default = None # pylint: disable=protected-access + args_schema.key_management_mode._default = AAZUndefined # pylint: disable=protected-access args_schema.key_management_mode._required = True # pylint: disable=protected-access + args_schema.nsg._required = True # pylint: disable=protected-access + args_schema.version._required = True # pylint: disable=protected-access + args_schema.subnet_id._required = True # pylint: disable=protected-access + args_schema.vnet_integration_subnet_id._required = True # pylint: disable=protected-access args_schema.user_assigned_identities._registered = False # pylint: disable=protected-access args_schema.operators_authentication._registered = False # pylint: disable=protected-access @@ -261,6 +266,46 @@ def content(self): return _content +class NodepoolCreate(_NodepoolCreate): + AZ_HELP = { + **_NodepoolCreate.AZ_HELP, + "examples": [ + { + "name": "Create a node pool", + "text": "az aro hcp cluster nodepool create --resource-group MyResourceGroup " + "--cluster-name MyCluster --name MyNodePool --replicas 3 " + "--vm-size Standard_D8s_v3 --version 4.19.0 --channel-group stable", + }, + { + "name": "Create an autoscaling node pool with labels, taints and disk config", + "text": "az aro hcp cluster nodepool create --resource-group MyResourceGroup " + "--cluster-name MyCluster --name MyNodePool --vm-size Standard_D8s_v3 " + "--version 4.19.0 --channel-group stable --min-replicas 1 --max-replicas 5 " + "--disk-size 128 --disk-storage-account-type Premium_LRS --auto-repair true " + "--labels \"[{key:tier,value:frontend}]\" " + "--taints \"[{key:dedicated,value:gpu,effect:NoSchedule}]\"", + }, + ], + } + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + args_schema = super()._build_arguments_schema(*args, **kwargs) + args_schema.vm_size._required = True # pylint: disable=protected-access + args_schema.version._required = True # pylint: disable=protected-access + args_schema.location._registered = False # pylint: disable=protected-access + args_schema.location._required = False # pylint: disable=protected-access + return args_schema + + def pre_operations(self): + args = self.ctx.args + cluster = _ClusterShow(cli_ctx=self.cli_ctx)(command_args={ + "resource_group": args.resource_group.to_serialized_data(), + "name": args.cluster_name.to_serialized_data(), + }) + args.location = cluster["location"] + + class ClusterUpdate(_ClusterUpdate): AZ_HELP = { "type": "command", @@ -391,7 +436,7 @@ def _build_arguments_schema(cls, *args, **kwargs): args_schema = super()._build_arguments_schema(*args, **kwargs) args_schema.control_plane = AAZBoolArg( options=["--control-plane"], - help="List the distinct Major.Minor (X.Y) versions available for the control plane. " + help="List the distinct Major.Minor (X.Y) versions per channel group available for the control plane. " "Use one of these with 'cluster create --version', which takes an X.Y version.", default=False, ) @@ -431,10 +476,11 @@ def _output(self, *args, **kwargs): seen = set() for v in enabled: xy = _major_minor(v.get('name', '')) - if not xy or xy in seen: - continue - seen.add(xy) row = _version_row(v) + version_channel = (xy, row['ChannelGroup']) + if not xy or version_channel in seen: + continue + seen.add(version_channel) row['Name'] = xy rows.append(row) else: diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/recordings/test_aro_hcp_cluster_lifecycle.yaml b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/recordings/test_aro_hcp_cluster_lifecycle.yaml index 2acc9ab53cc..734ec0a07a1 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/recordings/test_aro_hcp_cluster_lifecycle.yaml +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/recordings/test_aro_hcp_cluster_lifecycle.yaml @@ -22,18 +22,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005?api-version=2022-01-01 response: body: - string: '{"name":"clihcp-nsg000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","etag":"W/\"7f7e9d04-95f7-42f3-9918-221bff2739e2\"","type":"Microsoft.Network/networkSecurityGroups","location":"uksouth","properties":{"provisioningState":"Updating","resourceGuid":"c0526b63-f20b-414a-bdf4-00cc31c202c9","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowVnetInBound","etag":"W/\"7f7e9d04-95f7-42f3-9918-221bff2739e2\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","priority":65000,"description":"Allow - inbound traffic from all VMs in VNET","protocol":"*","access":"Allow","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowAzureLoadBalancerInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"7f7e9d04-95f7-42f3-9918-221bff2739e2\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"AzureLoadBalancer","destinationAddressPrefix":"*","priority":65001,"description":"Allow - inbound traffic from azure load balancer","protocol":"*","access":"Allow","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"DenyAllInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/DenyAllInBound","etag":"W/\"7f7e9d04-95f7-42f3-9918-221bff2739e2\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","priority":65500,"description":"Deny - all inbound traffic","protocol":"*","access":"Deny","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowVnetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"7f7e9d04-95f7-42f3-9918-221bff2739e2\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","priority":65000,"description":"Allow - outbound traffic from all VMs to all VMs in VNET","protocol":"*","access":"Allow","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowInternetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"7f7e9d04-95f7-42f3-9918-221bff2739e2\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"Internet","priority":65001,"description":"Allow - outbound traffic from all VMs to Internet","protocol":"*","access":"Allow","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"DenyAllOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/DenyAllOutBound","etag":"W/\"7f7e9d04-95f7-42f3-9918-221bff2739e2\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","priority":65500,"description":"Deny + string: '{"name":"clihcp-nsg000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","etag":"W/\"7b4be4f8-7bed-4b36-aad4-a752fd7d0172\"","type":"Microsoft.Network/networkSecurityGroups","location":"uksouth","properties":{"provisioningState":"Updating","resourceGuid":"5a825a32-82d7-4e7e-8041-64687dc00c6f","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowVnetInBound","etag":"W/\"7b4be4f8-7bed-4b36-aad4-a752fd7d0172\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","priority":65000,"description":"Allow + inbound traffic from all VMs in VNET","protocol":"*","access":"Allow","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowAzureLoadBalancerInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"7b4be4f8-7bed-4b36-aad4-a752fd7d0172\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"AzureLoadBalancer","destinationAddressPrefix":"*","priority":65001,"description":"Allow + inbound traffic from azure load balancer","protocol":"*","access":"Allow","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"DenyAllInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/DenyAllInBound","etag":"W/\"7b4be4f8-7bed-4b36-aad4-a752fd7d0172\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","priority":65500,"description":"Deny + all inbound traffic","protocol":"*","access":"Deny","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowVnetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"7b4be4f8-7bed-4b36-aad4-a752fd7d0172\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","priority":65000,"description":"Allow + outbound traffic from all VMs to all VMs in VNET","protocol":"*","access":"Allow","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowInternetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"7b4be4f8-7bed-4b36-aad4-a752fd7d0172\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"Internet","priority":65001,"description":"Allow + outbound traffic from all VMs to Internet","protocol":"*","access":"Allow","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"DenyAllOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/DenyAllOutBound","etag":"W/\"7b4be4f8-7bed-4b36-aad4-a752fd7d0172\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","priority":65500,"description":"Deny all outbound traffic","protocol":"*","access":"Deny","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}}]}}' headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/80e9ce28-aaa4-4ff9-8622-dc1fe8a61533?api-version=2022-01-01&t=639282832239834489&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/9fcd24e2-bb60-4769-8e48-21c05a348e91?api-version=2022-01-01&t=639289727913322619&c=REDACTED&s=REDACTED&h=REDACTED cache-control: - no-cache content-length: @@ -41,7 +41,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:27:03 GMT + - Fri, 30 Oct 2026 15:59:51 GMT expires: - '-1' pragma: @@ -53,16 +53,16 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ab726137-9125-48e5-ab8a-0c4e112a0359 + - 69e85564-86bf-484d-8b71-340bc9d598a8 x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' x-ms-throttle-levels: - - operationRatePct=0.1, operationConcurrencyPct=0.3, subscriptionWriteRatePct=0.4, + - operationRatePct=0.1, operationConcurrencyPct=0.3, subscriptionWriteRatePct=1.7, etc x-msedge-ref: - - 'Ref A: 90C8254D9AE6416DA4798A4BAE7170EA Ref B: DM2AA1091212027 Ref C: 2026-10-22T16:27:01Z' + - 'Ref A: EC33364FE3E645C6BB707088096F8BAA Ref B: DM2AA1091212047 Ref C: 2026-10-30T15:59:49Z' status: code: 201 message: Created @@ -82,7 +82,7 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/80e9ce28-aaa4-4ff9-8622-dc1fe8a61533?api-version=2022-01-01&t=639282832239834489&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/9fcd24e2-bb60-4769-8e48-21c05a348e91?api-version=2022-01-01&t=639289727913322619&c=REDACTED&s=REDACTED&h=REDACTED response: body: string: '{"status":"Succeeded"}' @@ -94,7 +94,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:27:04 GMT + - Fri, 30 Oct 2026 15:59:51 GMT expires: - '-1' pragma: @@ -106,13 +106,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ca7431cb-3dce-40b9-9b81-e83ec77b0b9e + - d8376d13-7c84-44c6-9c3c-a16a3d441ed2 x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-ms-throttle-levels: - - operationConcurrencyPct=0.5, subscriptionReadRatePct=6.2, etc + - operationConcurrencyPct=0.5, subscriptionReadRatePct=4.8, etc x-msedge-ref: - - 'Ref A: 89762F2566F2489BAF45F6B1643BAD2D Ref B: DM2AA1091212049 Ref C: 2026-10-22T16:27:04Z' + - 'Ref A: C29056EB20A7414DAC197857BD61EE2B Ref B: SN4AA2022305025 Ref C: 2026-10-30T15:59:51Z' status: code: 200 message: OK @@ -135,12 +135,12 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005?api-version=2022-01-01 response: body: - string: '{"name":"clihcp-nsg000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","etag":"W/\"a37f902e-1edc-477f-bb77-e5fd8ff63790\"","type":"Microsoft.Network/networkSecurityGroups","location":"uksouth","properties":{"provisioningState":"Succeeded","resourceGuid":"c0526b63-f20b-414a-bdf4-00cc31c202c9","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowVnetInBound","etag":"W/\"a37f902e-1edc-477f-bb77-e5fd8ff63790\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","priority":65000,"description":"Allow - inbound traffic from all VMs in VNET","protocol":"*","access":"Allow","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowAzureLoadBalancerInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"a37f902e-1edc-477f-bb77-e5fd8ff63790\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"AzureLoadBalancer","destinationAddressPrefix":"*","priority":65001,"description":"Allow - inbound traffic from azure load balancer","protocol":"*","access":"Allow","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"DenyAllInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/DenyAllInBound","etag":"W/\"a37f902e-1edc-477f-bb77-e5fd8ff63790\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","priority":65500,"description":"Deny - all inbound traffic","protocol":"*","access":"Deny","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowVnetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"a37f902e-1edc-477f-bb77-e5fd8ff63790\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","priority":65000,"description":"Allow - outbound traffic from all VMs to all VMs in VNET","protocol":"*","access":"Allow","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowInternetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"a37f902e-1edc-477f-bb77-e5fd8ff63790\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"Internet","priority":65001,"description":"Allow - outbound traffic from all VMs to Internet","protocol":"*","access":"Allow","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"DenyAllOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/DenyAllOutBound","etag":"W/\"a37f902e-1edc-477f-bb77-e5fd8ff63790\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","priority":65500,"description":"Deny + string: '{"name":"clihcp-nsg000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","etag":"W/\"7c00cb80-87ad-4483-8bbf-7920fe2df382\"","type":"Microsoft.Network/networkSecurityGroups","location":"uksouth","properties":{"provisioningState":"Succeeded","resourceGuid":"5a825a32-82d7-4e7e-8041-64687dc00c6f","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowVnetInBound","etag":"W/\"7c00cb80-87ad-4483-8bbf-7920fe2df382\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","priority":65000,"description":"Allow + inbound traffic from all VMs in VNET","protocol":"*","access":"Allow","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowAzureLoadBalancerInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"7c00cb80-87ad-4483-8bbf-7920fe2df382\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"AzureLoadBalancer","destinationAddressPrefix":"*","priority":65001,"description":"Allow + inbound traffic from azure load balancer","protocol":"*","access":"Allow","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"DenyAllInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/DenyAllInBound","etag":"W/\"7c00cb80-87ad-4483-8bbf-7920fe2df382\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","priority":65500,"description":"Deny + all inbound traffic","protocol":"*","access":"Deny","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowVnetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"7c00cb80-87ad-4483-8bbf-7920fe2df382\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","priority":65000,"description":"Allow + outbound traffic from all VMs to all VMs in VNET","protocol":"*","access":"Allow","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowInternetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"7c00cb80-87ad-4483-8bbf-7920fe2df382\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"Internet","priority":65001,"description":"Allow + outbound traffic from all VMs to Internet","protocol":"*","access":"Allow","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"DenyAllOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/DenyAllOutBound","etag":"W/\"7c00cb80-87ad-4483-8bbf-7920fe2df382\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","priority":65500,"description":"Deny all outbound traffic","protocol":"*","access":"Deny","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}}]}}' headers: cache-control: @@ -150,9 +150,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:27:05 GMT + - Fri, 30 Oct 2026 15:59:51 GMT etag: - - W/"a37f902e-1edc-477f-bb77-e5fd8ff63790" + - W/"7c00cb80-87ad-4483-8bbf-7920fe2df382" expires: - '-1' pragma: @@ -164,14 +164,14 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2ac4687f-d8ac-42d4-9acb-ad16c80c42b6 + - 5e89383d-3a01-4fbb-adf9-3dd50e59818d x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-ms-throttle-levels: - - operationRatePct=1.3, operationConcurrencyPct=0.5, subscriptionReadRatePct=6.2, + - operationRatePct=0.4, operationConcurrencyPct=0.5, subscriptionReadRatePct=4.8, etc x-msedge-ref: - - 'Ref A: 48B516162FEA4540A56F1EAED6851233 Ref B: SN4AA2022302031 Ref C: 2026-10-22T16:27:04Z' + - 'Ref A: 4321D102D2BA4970A0174CC6969363A9 Ref B: SN4AA2022303051 Ref C: 2026-10-30T15:59:52Z' status: code: 200 message: OK @@ -199,12 +199,12 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004?api-version=2025-07-01 response: body: - string: '{"name":"clihcp-vnet000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","etag":"W/\"f76fea33-d0e0-4f52-a652-77d9f4bdba4b\"","type":"Microsoft.Network/virtualNetworks","location":"uksouth","properties":{"provisioningState":"Updating","resourceGuid":"466885eb-be59-47f0-8b59-93385c9c3c1f","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' + string: '{"name":"clihcp-vnet000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","etag":"W/\"7f6e5f72-ac5a-40f2-a929-2a0ad6eef045\"","type":"Microsoft.Network/virtualNetworks","location":"uksouth","properties":{"provisioningState":"Updating","resourceGuid":"efc398d3-e0c2-4653-982a-e261c976ff5a","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/3524e6c4-0ec8-4410-ac4a-fa01d7b18b0f?api-version=2025-07-01&t=639282832268476435&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/9c81b510-a16f-4e0e-b432-71aa25b7ae5d?api-version=2025-07-01&t=639289727933704471&c=REDACTED&s=REDACTED&h=REDACTED cache-control: - no-cache content-length: @@ -212,7 +212,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:27:06 GMT + - Fri, 30 Oct 2026 15:59:52 GMT expires: - '-1' pragma: @@ -224,16 +224,16 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b27821fe-3609-44e9-ae6e-6e41c50384d9 + - 17565dcb-e363-464b-a0c6-5e962e104583 x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' x-ms-throttle-levels: - - operationRatePct=0.1, operationConcurrencyPct=0.3, subscriptionWriteRatePct=0.4, + - operationRatePct=0.1, operationConcurrencyPct=0.3, subscriptionWriteRatePct=1.7, etc x-msedge-ref: - - 'Ref A: 93671AF60E6D4F1F9595163E1792A9A4 Ref B: DM2AA1091212037 Ref C: 2026-10-22T16:27:06Z' + - 'Ref A: AD39DA5701814A0691E5FBCA79B85237 Ref B: DM2AA1091212011 Ref C: 2026-10-30T15:59:52Z' status: code: 201 message: Created @@ -253,7 +253,7 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/3524e6c4-0ec8-4410-ac4a-fa01d7b18b0f?api-version=2025-07-01&t=639282832268476435&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/9c81b510-a16f-4e0e-b432-71aa25b7ae5d?api-version=2025-07-01&t=639289727933704471&c=REDACTED&s=REDACTED&h=REDACTED response: body: string: '{"status":"InProgress"}' @@ -265,7 +265,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:27:07 GMT + - Fri, 30 Oct 2026 15:59:53 GMT expires: - '-1' pragma: @@ -277,13 +277,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6a9e6b58-df62-4280-90a7-a94e0680b2a9 + - 1d79f432-3c4f-4863-a2a5-877add5db8d5 x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-ms-throttle-levels: - - operationConcurrencyPct=0.5, subscriptionReadRatePct=6.3, etc + - operationConcurrencyPct=0.5, subscriptionReadRatePct=4.8, etc x-msedge-ref: - - 'Ref A: C221484586744A01BF9DD4C7BC915206 Ref B: DM2AA1091213029 Ref C: 2026-10-22T16:27:07Z' + - 'Ref A: D11E639F502E45A6A5C0D8F725BE2B6C Ref B: SN4AA2022305035 Ref C: 2026-10-30T15:59:53Z' status: code: 200 message: OK @@ -303,7 +303,7 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/3524e6c4-0ec8-4410-ac4a-fa01d7b18b0f?api-version=2025-07-01&t=639282832268476435&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/9c81b510-a16f-4e0e-b432-71aa25b7ae5d?api-version=2025-07-01&t=639289727933704471&c=REDACTED&s=REDACTED&h=REDACTED response: body: string: '{"status":"Succeeded"}' @@ -315,7 +315,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:27:18 GMT + - Fri, 30 Oct 2026 16:00:03 GMT expires: - '-1' pragma: @@ -327,13 +327,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 08ecdba6-8907-40a6-9d93-972b58c9e1f6 + - 10e53d6a-76db-4b47-bcda-67c0bcfe2e4c x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-ms-throttle-levels: - - operationConcurrencyPct=0.5, subscriptionReadRatePct=6.6, etc + - operationConcurrencyPct=0.5, subscriptionReadRatePct=4.5, etc x-msedge-ref: - - 'Ref A: E169BCBF9D8F4C00BD3549B2399C0A05 Ref B: SN4AA2022305037 Ref C: 2026-10-22T16:27:18Z' + - 'Ref A: 4C3228F00136447CA32F78A35A24495D Ref B: SN4AA2022302021 Ref C: 2026-10-30T16:00:04Z' status: code: 200 message: OK @@ -356,7 +356,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004?api-version=2025-07-01 response: body: - string: '{"name":"clihcp-vnet000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","etag":"W/\"6e97f911-b8ce-430a-9db5-a89a345e9956\"","type":"Microsoft.Network/virtualNetworks","location":"uksouth","properties":{"provisioningState":"Succeeded","resourceGuid":"466885eb-be59-47f0-8b59-93385c9c3c1f","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' + string: '{"name":"clihcp-vnet000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","etag":"W/\"9f160705-cf03-4d79-9641-528432db2b3b\"","type":"Microsoft.Network/virtualNetworks","location":"uksouth","properties":{"provisioningState":"Succeeded","resourceGuid":"efc398d3-e0c2-4653-982a-e261c976ff5a","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' headers: cache-control: - no-cache @@ -365,7 +365,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:27:18 GMT + - Fri, 30 Oct 2026 16:00:04 GMT expires: - '-1' pragma: @@ -377,14 +377,14 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 97742dc0-3862-4794-84cf-a5e7c8500ecb + - 7f9a8eaf-3e0d-4edc-bef3-72001923bc72 x-ms-ratelimit-remaining-subscription-global-reads: - - '3747' + - '3749' x-ms-throttle-levels: - - operationRatePct=0.8, operationConcurrencyPct=2.0, internalDataRatePct=0.1, - subscriptionReadRatePct=6.6, etc + - operationRatePct=0.9, operationConcurrencyPct=2.0, subscriptionReadRatePct=4.6, + etc x-msedge-ref: - - 'Ref A: AB4C47A240CA4C8EA3A6A7547B9B79A8 Ref B: SN4AA2022303035 Ref C: 2026-10-22T16:27:18Z' + - 'Ref A: 7BC3ABFB8C334D57BAA2EB84402BC5E8 Ref B: SN4AA2022302017 Ref C: 2026-10-30T16:00:04Z' status: code: 200 message: OK @@ -415,12 +415,12 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet?api-version=2024-07-01 response: body: - string: '{"name":"cluster-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","etag":"W/\"2458205b-4c1b-4915-86fd-a62d9bff5ca3\"","properties":{"provisioningState":"Updating","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005"},"delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}' + string: '{"name":"cluster-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","etag":"W/\"18448228-2c83-4440-95fe-bab97813a5ee\"","properties":{"provisioningState":"Updating","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005"},"delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}' headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/18f61869-7e1f-48c4-8739-8e30e60ac44c?api-version=2024-07-01&t=639282832395154817&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/43f75ff4-2961-438e-bb6d-766bb655f0c1?api-version=2024-07-01&t=639289728070956158&c=REDACTED&s=REDACTED&h=REDACTED cache-control: - no-cache content-length: @@ -428,7 +428,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:27:18 GMT + - Fri, 30 Oct 2026 16:00:06 GMT expires: - '-1' pragma: @@ -440,16 +440,16 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4b9dcbdf-2f69-4aa5-addb-91d326fe9ba0 + - cd627677-b7ec-4890-8c8c-b2a287266059 x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' x-ms-throttle-levels: - - operationRatePct=0.1, operationConcurrencyPct=0.3, subscriptionWriteRatePct=0.5, + - operationRatePct=0.1, operationConcurrencyPct=0.3, subscriptionWriteRatePct=1.1, etc x-msedge-ref: - - 'Ref A: 58DA953279A74C7BA5523DD3F81761A0 Ref B: SN4AA2022302023 Ref C: 2026-10-22T16:27:19Z' + - 'Ref A: E9CD5B7F2FC54D95929D36F7C9CDB494 Ref B: DM2AA1091213037 Ref C: 2026-10-30T16:00:05Z' status: code: 201 message: Created @@ -470,7 +470,7 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/18f61869-7e1f-48c4-8739-8e30e60ac44c?api-version=2024-07-01&t=639282832395154817&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/43f75ff4-2961-438e-bb6d-766bb655f0c1?api-version=2024-07-01&t=639289728070956158&c=REDACTED&s=REDACTED&h=REDACTED response: body: string: '{"status":"Succeeded"}' @@ -482,7 +482,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:27:19 GMT + - Fri, 30 Oct 2026 16:00:07 GMT expires: - '-1' pragma: @@ -494,13 +494,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 984dae74-6ae3-49ac-bb2b-7c10d987ed50 + - 82beea54-1056-425e-91cf-27ad5a76388c x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-ms-throttle-levels: - - operationConcurrencyPct=1.0, subscriptionReadRatePct=6.6, etc + - operationConcurrencyPct=0.5, subscriptionReadRatePct=4.6, etc x-msedge-ref: - - 'Ref A: 3CC11BE686D54A2BB8AB1A66C91EDC51 Ref B: SN4AA2022303035 Ref C: 2026-10-22T16:27:19Z' + - 'Ref A: CD38D8FB9C8D4C8DA533EAD59EEB9845 Ref B: DM2AA1091212045 Ref C: 2026-10-30T16:00:07Z' status: code: 200 message: OK @@ -524,7 +524,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet?api-version=2024-07-01 response: body: - string: '{"name":"cluster-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","etag":"W/\"f620623f-3b78-47c5-93c0-a63b4a796a81\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005"},"delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}' + string: '{"name":"cluster-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","etag":"W/\"71e0b38b-d1dc-45ad-b05f-842c2c6f34f1\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005"},"delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}' headers: cache-control: - no-cache @@ -533,9 +533,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:27:19 GMT + - Fri, 30 Oct 2026 16:00:07 GMT etag: - - W/"f620623f-3b78-47c5-93c0-a63b4a796a81" + - W/"71e0b38b-d1dc-45ad-b05f-842c2c6f34f1" expires: - '-1' pragma: @@ -547,14 +547,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4d2ebd47-a868-448c-bb1a-69deb2f7042c + - e139c5ce-637a-4f3c-88dd-86c19b0910d0 x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-ms-throttle-levels: - - operationRatePct=0.1, operationConcurrencyPct=0.5, subscriptionReadRatePct=6.6, - etc + - operationConcurrencyPct=0.5, subscriptionReadRatePct=4.6, etc x-msedge-ref: - - 'Ref A: 32A4346F004F4C74B86000B9E2DEB071 Ref B: DM2AA1091214037 Ref C: 2026-10-22T16:27:20Z' + - 'Ref A: 4E6EEC79442849FFBE2CF2597056A41D Ref B: SN4AA2022302009 Ref C: 2026-10-30T16:00:07Z' status: code: 200 message: OK @@ -584,12 +583,12 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet?api-version=2024-07-01 response: body: - string: '{"name":"integration-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet","etag":"W/\"49255177-27fd-4bc0-af88-bda31a1dff0f\"","properties":{"provisioningState":"Updating","addressPrefix":"10.0.1.0/24","delegations":[{"name":"0","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet/delegations/0","etag":"W/\"49255177-27fd-4bc0-af88-bda31a1dff0f\"","properties":{"provisioningState":"Succeeded","serviceName":"Microsoft.RedHatOpenShift/hcpOpenShiftClusters","actions":["Microsoft.Network/virtualNetworks/subnets/join/action"]},"type":"Microsoft.Network/virtualNetworks/subnets/delegations"}],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}' + string: '{"name":"integration-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet","etag":"W/\"d1de5a44-5c14-44ce-9c54-29b6013a1c84\"","properties":{"provisioningState":"Updating","addressPrefix":"10.0.1.0/24","delegations":[{"name":"0","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet/delegations/0","etag":"W/\"d1de5a44-5c14-44ce-9c54-29b6013a1c84\"","properties":{"provisioningState":"Succeeded","serviceName":"Microsoft.RedHatOpenShift/hcpOpenShiftClusters","actions":["Microsoft.Network/virtualNetworks/subnets/join/action"]},"type":"Microsoft.Network/virtualNetworks/subnets/delegations"}],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}' headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/042f7f45-82e7-44e8-bcaa-78bc92d6aabf?api-version=2024-07-01&t=639282832429861762&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/ab3d481b-6808-4f9d-af01-09a1bb27fc25?api-version=2024-07-01&t=639289728088733008&c=REDACTED&s=REDACTED&h=REDACTED cache-control: - no-cache content-length: @@ -597,7 +596,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:27:22 GMT + - Fri, 30 Oct 2026 16:00:08 GMT expires: - '-1' pragma: @@ -609,16 +608,16 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 25dc4629-0d4d-48ec-a444-89074f56cea0 + - 5aacb87e-a256-41b3-82c7-2d4fe4ce01e4 x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' x-ms-throttle-levels: - - operationRatePct=0.2, operationConcurrencyPct=0.3, subscriptionWriteRatePct=0.5, + - operationRatePct=0.2, operationConcurrencyPct=0.3, subscriptionWriteRatePct=1.1, etc x-msedge-ref: - - 'Ref A: 7075FC1B81CD41EABA328BE8C36CB384 Ref B: SN4AA2022305011 Ref C: 2026-10-22T16:27:21Z' + - 'Ref A: C7747AF05ACC4549938D24FB56F42EF4 Ref B: SN4AA2022303053 Ref C: 2026-10-30T16:00:08Z' status: code: 201 message: Created @@ -638,7 +637,7 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/042f7f45-82e7-44e8-bcaa-78bc92d6aabf?api-version=2024-07-01&t=639282832429861762&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/ab3d481b-6808-4f9d-af01-09a1bb27fc25?api-version=2024-07-01&t=639289728088733008&c=REDACTED&s=REDACTED&h=REDACTED response: body: string: '{"status":"Succeeded"}' @@ -650,7 +649,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:27:23 GMT + - Fri, 30 Oct 2026 16:00:08 GMT expires: - '-1' pragma: @@ -662,13 +661,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d431a1ff-b5b8-4743-b608-dd1cde8ef296 + - 06242eb8-c236-4a59-b808-52aec80e4f14 x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-ms-throttle-levels: - - operationConcurrencyPct=0.5, subscriptionReadRatePct=6.7, etc + - operationConcurrencyPct=0.5, subscriptionReadRatePct=4.6, etc x-msedge-ref: - - 'Ref A: F067904D9DBE45C78BFA097014BDEA60 Ref B: SN4AA2022303025 Ref C: 2026-10-22T16:27:23Z' + - 'Ref A: 4959866C87944DDA8423DFAB7D8DA5A2 Ref B: SN4AA2022302039 Ref C: 2026-10-30T16:00:09Z' status: code: 200 message: OK @@ -691,7 +690,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet?api-version=2024-07-01 response: body: - string: '{"name":"integration-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet","etag":"W/\"447b8b59-842e-4022-a89d-6da36cbbfc13\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.1.0/24","delegations":[{"name":"0","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet/delegations/0","etag":"W/\"447b8b59-842e-4022-a89d-6da36cbbfc13\"","properties":{"provisioningState":"Succeeded","serviceName":"Microsoft.RedHatOpenShift/hcpOpenShiftClusters","actions":["Microsoft.Network/virtualNetworks/subnets/join/action"]},"type":"Microsoft.Network/virtualNetworks/subnets/delegations"}],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}' + string: '{"name":"integration-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet","etag":"W/\"1a9f750d-fdfc-4b2e-956f-62ee1c5a4d55\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.1.0/24","delegations":[{"name":"0","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet/delegations/0","etag":"W/\"1a9f750d-fdfc-4b2e-956f-62ee1c5a4d55\"","properties":{"provisioningState":"Succeeded","serviceName":"Microsoft.RedHatOpenShift/hcpOpenShiftClusters","actions":["Microsoft.Network/virtualNetworks/subnets/join/action"]},"type":"Microsoft.Network/virtualNetworks/subnets/delegations"}],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}' headers: cache-control: - no-cache @@ -700,9 +699,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:27:23 GMT + - Fri, 30 Oct 2026 16:00:10 GMT etag: - - W/"447b8b59-842e-4022-a89d-6da36cbbfc13" + - W/"1a9f750d-fdfc-4b2e-956f-62ee1c5a4d55" expires: - '-1' pragma: @@ -714,14 +713,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 90ac8b78-4d5b-421d-865e-e9fedc8da315 + - 961258b9-ca4b-4f2a-bbfe-d68199b7c216 x-ms-ratelimit-remaining-subscription-global-reads: - - '3749' + - '3748' x-ms-throttle-levels: - - operationRatePct=0.1, operationConcurrencyPct=0.5, subscriptionReadRatePct=6.7, - etc + - operationConcurrencyPct=0.5, subscriptionReadRatePct=4.7, etc x-msedge-ref: - - 'Ref A: 5E9A0849DC0F4846B734B0CA454361A3 Ref B: DM2AA1091214009 Ref C: 2026-10-22T16:27:23Z' + - 'Ref A: 3E8983EB50B64D4386FCCD894E49CDC2 Ref B: DM2AA1091214047 Ref C: 2026-10-30T16:00:09Z' status: code: 200 message: OK @@ -744,7 +742,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004?api-version=2025-07-01 response: body: - string: '{"name":"clihcp-vnet000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","etag":"W/\"447b8b59-842e-4022-a89d-6da36cbbfc13\"","type":"Microsoft.Network/virtualNetworks","location":"uksouth","properties":{"provisioningState":"Succeeded","resourceGuid":"466885eb-be59-47f0-8b59-93385c9c3c1f","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[{"name":"cluster-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","etag":"W/\"447b8b59-842e-4022-a89d-6da36cbbfc13\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005"},"delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"},{"name":"integration-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet","etag":"W/\"447b8b59-842e-4022-a89d-6da36cbbfc13\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.1.0/24","delegations":[{"name":"0","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet/delegations/0","etag":"W/\"447b8b59-842e-4022-a89d-6da36cbbfc13\"","properties":{"provisioningState":"Succeeded","serviceName":"Microsoft.RedHatOpenShift/hcpOpenShiftClusters","actions":["Microsoft.Network/virtualNetworks/subnets/join/action"]},"type":"Microsoft.Network/virtualNetworks/subnets/delegations"}],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' + string: '{"name":"clihcp-vnet000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","etag":"W/\"1a9f750d-fdfc-4b2e-956f-62ee1c5a4d55\"","type":"Microsoft.Network/virtualNetworks","location":"uksouth","properties":{"provisioningState":"Succeeded","resourceGuid":"efc398d3-e0c2-4653-982a-e261c976ff5a","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[{"name":"cluster-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","etag":"W/\"1a9f750d-fdfc-4b2e-956f-62ee1c5a4d55\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005"},"delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"},{"name":"integration-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet","etag":"W/\"1a9f750d-fdfc-4b2e-956f-62ee1c5a4d55\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.1.0/24","delegations":[{"name":"0","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet/delegations/0","etag":"W/\"1a9f750d-fdfc-4b2e-956f-62ee1c5a4d55\"","properties":{"provisioningState":"Succeeded","serviceName":"Microsoft.RedHatOpenShift/hcpOpenShiftClusters","actions":["Microsoft.Network/virtualNetworks/subnets/join/action"]},"type":"Microsoft.Network/virtualNetworks/subnets/delegations"}],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' headers: cache-control: - no-cache @@ -753,7 +751,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:27:23 GMT + - Fri, 30 Oct 2026 16:00:12 GMT expires: - '-1' pragma: @@ -765,14 +763,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3200ee06-73bf-4845-b553-fee4595c8065 + - 716c6fa9-8123-4320-8705-d9053f46c787 x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-ms-throttle-levels: - - operationRatePct=1.0, operationConcurrencyPct=2.0, internalDataRatePct=0.1, - subscriptionReadRatePct=6.7, etc + - operationConcurrencyPct=2.0, subscriptionReadRatePct=4.7, etc x-msedge-ref: - - 'Ref A: DB131FD34C5446958B0E974DFDFE379C Ref B: SN4AA2022302023 Ref C: 2026-10-22T16:27:24Z' + - 'Ref A: 3C5257947B6D4FBE8E27BA5193DFE6D5 Ref B: SN4AA2022304039 Ref C: 2026-10-30T16:00:12Z' status: code: 200 message: OK @@ -807,7 +804,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:27:24 GMT + - Fri, 30 Oct 2026 16:00:12 GMT expires: - '-1' pragma: @@ -821,7 +818,7 @@ interactions: x-ms-failure-cause: - gateway x-msedge-ref: - - 'Ref A: 2D39A41D4452448482DCF82B3CE7BF81 Ref B: SN4AA2022301021 Ref C: 2026-10-22T16:27:24Z' + - 'Ref A: 2E5C9219167047CF8A63E155D0912FF4 Ref B: DM2AA1091212039 Ref C: 2026-10-30T16:00:12Z' status: code: 404 message: Not Found @@ -852,16 +849,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007?api-version=2026-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","name":"clihcpkv000007","type":"Microsoft.KeyVault/vaults","location":"uksouth","tags":{},"systemData":{"createdBy":"recording-user@example.com","createdByType":"User","createdAt":"2026-10-22T16:27:25.44Z","lastModifiedBy":"recording-user@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-10-22T16:27:25.44Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"00000000-0000-0000-0000-000000000001","accessPolicies":[],"enabledForDeployment":false,"enabledForDiskEncryption":false,"enabledForTemplateDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://clihcpkv000007.vault.azure.net","provisioningState":"RegisteringDns","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","name":"clihcpkv000007","type":"Microsoft.KeyVault/vaults","location":"uksouth","tags":{},"systemData":{"createdBy":"recording-user@example.com","createdByType":"User","createdAt":"2026-10-30T16:00:13.382Z","lastModifiedBy":"recording-user@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-10-30T16:00:13.382Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"00000000-0000-0000-0000-000000000001","accessPolicies":[],"enabledForDeployment":false,"enabledForDiskEncryption":false,"enabledForTemplateDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://clihcpkv000007.vault.azure.net","provisioningState":"RegisteringDns","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '903' + - '905' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:27:28 GMT + - Fri, 30 Oct 2026 16:00:14 GMT expires: - '-1' pragma: @@ -875,13 +872,13 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 2.2.1231.0 + - 2.2.1271.0 x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 388F66C588DB40A48A2C449F7473BD3B Ref B: DM2AA1091212029 Ref C: 2026-10-22T16:27:25Z' + - 'Ref A: EA9A5366C8D3446FBEDBD55FA2C36D8E Ref B: DM2AA1091213025 Ref C: 2026-10-30T16:00:13Z' status: code: 200 message: OK @@ -905,16 +902,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007?api-version=2026-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","name":"clihcpkv000007","type":"Microsoft.KeyVault/vaults","location":"uksouth","tags":{},"systemData":{"createdBy":"recording-user@example.com","createdByType":"User","createdAt":"2026-10-22T16:27:25.44Z","lastModifiedBy":"recording-user@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-10-22T16:27:25.44Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"00000000-0000-0000-0000-000000000001","accessPolicies":[],"enabledForDeployment":false,"enabledForDiskEncryption":false,"enabledForTemplateDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://clihcpkv000007.vault.azure.net/","provisioningState":"RegisteringDns","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","name":"clihcpkv000007","type":"Microsoft.KeyVault/vaults","location":"uksouth","tags":{},"systemData":{"createdBy":"recording-user@example.com","createdByType":"User","createdAt":"2026-10-30T16:00:13.382Z","lastModifiedBy":"recording-user@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-10-30T16:00:13.382Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"00000000-0000-0000-0000-000000000001","accessPolicies":[],"enabledForDeployment":false,"enabledForDiskEncryption":false,"enabledForTemplateDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://clihcpkv000007.vault.azure.net/","provisioningState":"RegisteringDns","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '904' + - '906' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:27:28 GMT + - Fri, 30 Oct 2026 16:00:17 GMT expires: - '-1' pragma: @@ -928,11 +925,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 2.2.1231.0 + - 2.2.1271.0 x-ms-ratelimit-remaining-subscription-global-reads: - - '3747' + - '3748' x-msedge-ref: - - 'Ref A: 248EF81299A248238AD7EF9B26DE1E34 Ref B: SN4AA2022304045 Ref C: 2026-10-22T16:27:28Z' + - 'Ref A: 8F6F46D88F3E4B57AB8673C09274C4B5 Ref B: SN4AA2022302035 Ref C: 2026-10-30T16:00:15Z' status: code: 200 message: OK @@ -956,16 +953,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007?api-version=2026-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","name":"clihcpkv000007","type":"Microsoft.KeyVault/vaults","location":"uksouth","tags":{},"systemData":{"createdBy":"recording-user@example.com","createdByType":"User","createdAt":"2026-10-22T16:27:25.44Z","lastModifiedBy":"recording-user@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-10-22T16:27:25.44Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"00000000-0000-0000-0000-000000000001","accessPolicies":[],"enabledForDeployment":false,"enabledForDiskEncryption":false,"enabledForTemplateDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://clihcpkv000007.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","name":"clihcpkv000007","type":"Microsoft.KeyVault/vaults","location":"uksouth","tags":{},"systemData":{"createdBy":"recording-user@example.com","createdByType":"User","createdAt":"2026-10-30T16:00:13.382Z","lastModifiedBy":"recording-user@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-10-30T16:00:13.382Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"00000000-0000-0000-0000-000000000001","accessPolicies":[],"enabledForDeployment":false,"enabledForDiskEncryption":false,"enabledForTemplateDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://clihcpkv000007.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '899' + - '901' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:27:58 GMT + - Fri, 30 Oct 2026 16:00:47 GMT expires: - '-1' pragma: @@ -979,11 +976,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 2.2.1231.0 + - 2.2.1271.0 x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: A7DB449931B2411C8316E4EFFA713000 Ref B: SN4AA2022302035 Ref C: 2026-10-22T16:27:58Z' + - 'Ref A: 28E10BBEFC8C4229BE5FD62586B537E7 Ref B: SN4AA2022303047 Ref C: 2026-10-30T16:00:47Z' status: code: 200 message: OK @@ -1013,11 +1010,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Thu, 22 Oct 2026 16:27:59 GMT + - Fri, 30 Oct 2026 16:00:48 GMT odata-version: - '4.0' request-id: - - 071f8c9f-0f3f-4b95-8029-a2a885923f78 + - cdc09879-db9d-4765-8cae-46520271491f strict-transport-security: - max-age=31536000 transfer-encoding: @@ -1025,15 +1022,15 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"South Central US","Slice":"E","Ring":"5","ScaleUnit":"003","RoleInstance":"SN4PEPF0000E8D2"}}' + - '{"ServerInfo":{"DataCenter":"South Central US","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SA2PEPF00004308"}}' x-ms-resource-unit: - '1' status: code: 200 message: OK - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "User", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/14b46e9e-c2b7-41b4-b07b-48a6ebf60603"}}' + body: '{"properties": {"principalType": "User", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/14b46e9e-c2b7-41b4-b07b-48a6ebf60603", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -1055,7 +1052,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/14b46e9e-c2b7-41b4-b07b-48a6ebf60603","principalId":"00000000-0000-0000-0000-000000000002","principalType":"User","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:28:00.6392883Z","updatedOn":"2026-10-22T16:28:00.8312894Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"e0be6c90-c3c4-47d4-be1e-8962cf2d3009"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/14b46e9e-c2b7-41b4-b07b-48a6ebf60603","principalId":"00000000-0000-0000-0000-000000000002","principalType":"User","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:00:49.8155295Z","updatedOn":"2026-10-30T16:00:50.5305660Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"d42bc724-82ea-4aa8-99d9-685cdacb5fa5"}' headers: cache-control: - no-cache @@ -1064,7 +1061,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:28:01 GMT + - Fri, 30 Oct 2026 16:00:50 GMT expires: - '-1' pragma: @@ -1080,7 +1077,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: CFF1F8C95D4847DC8062691DE9C4383C Ref B: SN4AA2022303025 Ref C: 2026-10-22T16:28:00Z' + - 'Ref A: A5B508251120421B93289F35A6D9E963 Ref B: SN4AA2022305045 Ref C: 2026-10-30T16:00:49Z' x-powered-by: - ASP.NET status: @@ -1119,7 +1116,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:29:01 GMT + - Fri, 30 Oct 2026 16:01:52 GMT expires: - '-1' pragma: @@ -1134,7 +1131,7 @@ interactions: x-ms-keyvault-region: - uksouth x-ms-keyvault-service-version: - - 1.9.3900.1 + - 1.9.3939.1 status: code: 401 message: Unauthorized @@ -1161,7 +1158,7 @@ interactions: uri: https://clihcpkv000007.vault.azure.net/keys/etcd-data-kms-encryption-key/create?api-version=7.6-preview.2 response: body: - string: '{"key":{"kid":"https://clihcpkv000007.vault.azure.net/keys/etcd-data-kms-encryption-key/488f22d2a3cc417785b54d3442e2ece0","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"t02nRNTwwNkuvKExMP2djVyAT-ZRYjauCwMYXDXwnpBmzmDa10Gqf0aw7biPU_xwJ0cUjq4MsKwkhaAqbqTffR0utBr-Tthw6sa1MLdS5teAsGpwYXar8DYD0Rq7tIFmIBIgN0KIEFec-fPofpzVvRRFkDDS7nv-837j8qEmkBRWgDG0ybvnyChIzwfw_bhVzfX9X5W07g-nihC4nK-mq-xM6sc24W3FQV9mkNY0BkCHIdN46HGf72u4_RJqztF_Vdsxqs4hMuersi8MIgSAYzLFh6O5VVuGH75MnS3HGnkTIcpbZxmFHHMu7fI95edrCtb5vYV7csdz6kgxk1ekQQ","e":"AQAB"},"attributes":{"enabled":true,"key_size":2048,"created":1792686543,"updated":1792686543,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90,"exportable":false,"hsmPlatform":"0"}}' + string: '{"key":{"kid":"https://clihcpkv000007.vault.azure.net/keys/etcd-data-kms-encryption-key/fecd7bb5b0ba4dd69f6a7cd474194ec1","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uwe6goZXqXxa-VJMUZryCYRDjqzqMj-w_NfmvsQhfm2JkGwAugdZqleAVODlYKuS79voD8iFdShj0A9PQiLtU14k9SZWVpELVeERxaU9UZQk8BRq8BwcS6pcL_vjp7GV3Sn8hIkCx6OymKj0lpnlWien6bKGlsgXp6O_e8L9uSXvFXnaKRQJwyfZAaNsWHCtZLTAjzodE9s9fvft_TIHJJpI0jINeuO54TFeuZQZzIlliPB3wBTC07vy4GK44UozxPghE_9YZTfkn8T_o3jJWN2oGZFUjVTT6dMwopih_Iu9yuQgaWZiaBLgmhYR_bgouFZa_b3NZL3-6DJpwv9QeQ","e":"AQAB"},"attributes":{"enabled":true,"key_size":2048,"created":1793376112,"updated":1793376112,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90,"exportable":false,"hsmPlatform":"0"}}' headers: cache-control: - no-cache @@ -1170,7 +1167,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:29:02 GMT + - Fri, 30 Oct 2026 16:01:52 GMT expires: - '-1' pragma: @@ -1180,11 +1177,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-rbac-assignment-id: - - e0be6c90c3c447d4be1e8962cf2d3009 + - d42bc72482ea4aa899d9685cdacb5fa5 x-ms-keyvault-region: - uksouth x-ms-keyvault-service-version: - - 1.9.3900.1 + - 1.9.3939.1 status: code: 200 message: OK @@ -1220,7 +1217,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:29:06 GMT + - Fri, 30 Oct 2026 16:01:54 GMT expires: - '-1' location: @@ -1229,12 +1226,16 @@ interactions: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 6606935098754BE08F3153C95EB1953A Ref B: SN4AA2022303051 Ref C: 2026-10-30T16:01:53Z' status: code: 201 message: Created @@ -1270,7 +1271,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:29:11 GMT + - Fri, 30 Oct 2026 16:01:57 GMT expires: - '-1' location: @@ -1279,12 +1280,16 @@ interactions: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 67C787D142FB46B5AAD0A1D42B228CD1 Ref B: SN4AA2022301021 Ref C: 2026-10-30T16:01:55Z' status: code: 201 message: Created @@ -1320,7 +1325,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:29:16 GMT + - Fri, 30 Oct 2026 16:02:00 GMT expires: - '-1' location: @@ -1329,12 +1334,16 @@ interactions: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 7328FBB5F3A74B2E80B23EE889654C4D Ref B: SN4AA2022303023 Ref C: 2026-10-30T16:01:58Z' status: code: 201 message: Created @@ -1370,7 +1379,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:29:20 GMT + - Fri, 30 Oct 2026 16:02:03 GMT expires: - '-1' location: @@ -1379,12 +1388,16 @@ interactions: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 0BBE9F190A8244E2B7359D49A8A9CC24 Ref B: SN4AA2022305031 Ref C: 2026-10-30T16:02:01Z' status: code: 201 message: Created @@ -1420,7 +1433,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:29:26 GMT + - Fri, 30 Oct 2026 16:02:05 GMT expires: - '-1' location: @@ -1429,12 +1442,16 @@ interactions: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 40DC018331834667AFA866769C507237 Ref B: DM2AA1091212023 Ref C: 2026-10-30T16:02:03Z' status: code: 201 message: Created @@ -1470,7 +1487,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:29:30 GMT + - Fri, 30 Oct 2026 16:02:08 GMT expires: - '-1' location: @@ -1479,12 +1496,16 @@ interactions: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: BC7102919FB04CD5B1FF3A3B1793AFAB Ref B: SN4AA2022302051 Ref C: 2026-10-30T16:02:06Z' status: code: 201 message: Created @@ -1520,7 +1541,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:29:34 GMT + - Fri, 30 Oct 2026 16:02:11 GMT expires: - '-1' location: @@ -1529,12 +1550,16 @@ interactions: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 44F78A5B01D941DFAC05F53C4F1D45A7 Ref B: DM2AA1091212049 Ref C: 2026-10-30T16:02:09Z' status: code: 201 message: Created @@ -1570,7 +1595,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:29:40 GMT + - Fri, 30 Oct 2026 16:02:14 GMT expires: - '-1' location: @@ -1579,12 +1604,16 @@ interactions: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 86B6F549D1214FEDB79B05DB5FC51CE6 Ref B: DM2AA1091213023 Ref C: 2026-10-30T16:02:11Z' status: code: 201 message: Created @@ -1620,7 +1649,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:29:44 GMT + - Fri, 30 Oct 2026 16:02:16 GMT expires: - '-1' location: @@ -1629,12 +1658,16 @@ interactions: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: C071530D0CA9493C91BDE1A3E68924D8 Ref B: SN4AA2022302009 Ref C: 2026-10-30T16:02:14Z' status: code: 201 message: Created @@ -1670,7 +1703,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:29:49 GMT + - Fri, 30 Oct 2026 16:02:19 GMT expires: - '-1' location: @@ -1679,12 +1712,16 @@ interactions: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 831B6123981A4086B4B84C13DBB585E7 Ref B: DM2AA1091211047 Ref C: 2026-10-30T16:02:17Z' status: code: 201 message: Created @@ -1720,7 +1757,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:29:53 GMT + - Fri, 30 Oct 2026 16:02:22 GMT expires: - '-1' location: @@ -1729,12 +1766,16 @@ interactions: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - - '2999' + - '2998' x-ms-ratelimit-remaining-subscription-writes: - - '199' + - '198' + x-msedge-ref: + - 'Ref A: 31B7C3763B304A818096DCDD3041BF5E Ref B: DM2AA1091214023 Ref C: 2026-10-30T16:02:20Z' status: code: 201 message: Created @@ -1770,7 +1811,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:29:58 GMT + - Fri, 30 Oct 2026 16:02:26 GMT expires: - '-1' location: @@ -1779,12 +1820,16 @@ interactions: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 992C033969844881B2A60C9FD16C33F4 Ref B: DM2AA1091212025 Ref C: 2026-10-30T16:02:23Z' status: code: 201 message: Created @@ -1820,7 +1865,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:30:03 GMT + - Fri, 30 Oct 2026 16:02:29 GMT expires: - '-1' location: @@ -1829,18 +1874,23 @@ interactions: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 7E51F88C057E42B2B7DEC0A8AF6D05DB Ref B: SN4AA2022301037 Ref C: 2026-10-30T16:02:27Z' status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/c0ff367d-66d8-445e-917c-583feb0ef0d4"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/c0ff367d-66d8-445e-917c-583feb0ef0d4", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -1862,7 +1912,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/c0ff367d-66d8-445e-917c-583feb0ef0d4","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:05.4686091Z","updatedOn":"2026-10-22T16:30:05.7326108Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"c74dea1b-206c-438d-b0be-34b676f58bd7"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/c0ff367d-66d8-445e-917c-583feb0ef0d4","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:30.7068227Z","updatedOn":"2026-10-30T16:02:30.9958276Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"d5e346bc-6529-4420-a425-25d067468397"}' headers: cache-control: - no-cache @@ -1871,27 +1921,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:30:06 GMT + - Fri, 30 Oct 2026 16:02:33 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 00AB3446993943D2A04F36629DBD0C8F Ref B: SN4AA2022301011 Ref C: 2026-10-30T16:02:30Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/c0ff367d-66d8-445e-917c-583feb0ef0d4"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/c0ff367d-66d8-445e-917c-583feb0ef0d4", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -1913,7 +1968,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/c0ff367d-66d8-445e-917c-583feb0ef0d4","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:08.5228691Z","updatedOn":"2026-10-22T16:30:08.8778739Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"0e39774a-bd3c-492a-a009-81aa7e458b7c"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/c0ff367d-66d8-445e-917c-583feb0ef0d4","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:34.0307823Z","updatedOn":"2026-10-30T16:02:34.3267794Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"96dea52d-0bfa-4c1f-8f0d-edd5e5800bce"}' headers: cache-control: - no-cache @@ -1922,27 +1977,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:30:10 GMT + - Fri, 30 Oct 2026 16:02:36 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - - '2999' + - '2998' x-ms-ratelimit-remaining-subscription-writes: - - '199' + - '198' + x-msedge-ref: + - 'Ref A: 5F0DE03596DD4546B37786F69A1FDB6B Ref B: SN4AA2022304037 Ref C: 2026-10-30T16:02:33Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/88366f10-ed47-4cc0-9fab-c8a06148393e"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/88366f10-ed47-4cc0-9fab-c8a06148393e", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -1964,7 +2024,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/88366f10-ed47-4cc0-9fab-c8a06148393e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:11.3877757Z","updatedOn":"2026-10-22T16:30:11.6587823Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"d827534e-5af8-494f-be75-15863d3a7956"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/88366f10-ed47-4cc0-9fab-c8a06148393e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:36.5375958Z","updatedOn":"2026-10-30T16:02:37.6096208Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"7e215641-1854-4742-816f-89865dee04a5"}' headers: cache-control: - no-cache @@ -1973,27 +2033,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:30:13 GMT + - Fri, 30 Oct 2026 16:02:39 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 5DCD80BA71804FECAAAF0D709065138F Ref B: DM2AA1091211027 Ref C: 2026-10-30T16:02:36Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/fc0c873f-45e9-4d0d-a7d1-585aab30c6ed"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/fc0c873f-45e9-4d0d-a7d1-585aab30c6ed", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -2015,7 +2080,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/fc0c873f-45e9-4d0d-a7d1-585aab30c6ed","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:15.1512541Z","updatedOn":"2026-10-22T16:30:15.4552582Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"18029355-313b-48c9-895b-abda91382d51"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/fc0c873f-45e9-4d0d-a7d1-585aab30c6ed","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:40.5948524Z","updatedOn":"2026-10-30T16:02:41.1538695Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"409886b2-fd7a-4eeb-bde9-f8fe4c5fbe79"}' headers: cache-control: - no-cache @@ -2024,27 +2089,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:30:16 GMT + - Fri, 30 Oct 2026 16:02:41 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 052ED58D41924664BD0CF5F9041332DE Ref B: DM2AA1091211051 Ref C: 2026-10-30T16:02:39Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/fc0c873f-45e9-4d0d-a7d1-585aab30c6ed"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/fc0c873f-45e9-4d0d-a7d1-585aab30c6ed", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -2066,7 +2136,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/fc0c873f-45e9-4d0d-a7d1-585aab30c6ed","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:17.8342656Z","updatedOn":"2026-10-22T16:30:18.1082727Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"7710f204-db6e-448a-a1dd-157830abcc6d"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/fc0c873f-45e9-4d0d-a7d1-585aab30c6ed","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:43.1164701Z","updatedOn":"2026-10-30T16:02:44.2535063Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"ee9a80be-82cb-4449-93d4-686df288f7f8"}' headers: cache-control: - no-cache @@ -2075,27 +2145,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:30:19 GMT + - Fri, 30 Oct 2026 16:02: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-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 27D9FBEC91944E6487416692B4619E4D Ref B: DM2AA1091214029 Ref C: 2026-10-30T16:02:42Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/a1f96423-95ce-4224-ab27-4e3dc72facd4"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/a1f96423-95ce-4224-ab27-4e3dc72facd4", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -2117,7 +2192,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/a1f96423-95ce-4224-ab27-4e3dc72facd4","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:21.4128897Z","updatedOn":"2026-10-22T16:30:21.6948943Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"ee7f7ff4-3a92-4ff0-b42e-ba12a1bfaae8"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/a1f96423-95ce-4224-ab27-4e3dc72facd4","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:46.8765729Z","updatedOn":"2026-10-30T16:02:47.1725744Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"f90f44ec-2f0e-4a66-8b1a-4f7e2bfd0129"}' headers: cache-control: - no-cache @@ -2126,27 +2201,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:30:21 GMT + - Fri, 30 Oct 2026 16:02:47 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 9F29DBA87FF14DDEAF9396BE86AF8923 Ref B: DM2AA1091213025 Ref C: 2026-10-30T16:02:46Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/a1f96423-95ce-4224-ab27-4e3dc72facd4"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/a1f96423-95ce-4224-ab27-4e3dc72facd4", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -2168,7 +2248,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/a1f96423-95ce-4224-ab27-4e3dc72facd4","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:23.8271319Z","updatedOn":"2026-10-22T16:30:24.0911339Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"7d6bde9f-c1e7-470a-957d-5d1f2c5ab709"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/a1f96423-95ce-4224-ab27-4e3dc72facd4","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:48.6691358Z","updatedOn":"2026-10-30T16:02:49.0841435Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"06faf6b7-7304-4ea3-a630-b843e29da4e9"}' headers: cache-control: - no-cache @@ -2177,27 +2257,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:30:25 GMT + - Fri, 30 Oct 2026 16:02:49 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: F544C730208447528DD3315D6C8D6F9B Ref B: DM2AA1091211025 Ref C: 2026-10-30T16:02:48Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0336e1d3-7a87-462b-b6db-342b63f7802c"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0336e1d3-7a87-462b-b6db-342b63f7802c", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -2219,7 +2304,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0336e1d3-7a87-462b-b6db-342b63f7802c","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:26.2341901Z","updatedOn":"2026-10-22T16:30:26.5221920Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"0ca1ffbc-c831-459d-b280-0597277ca055"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0336e1d3-7a87-462b-b6db-342b63f7802c","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:50.5559620Z","updatedOn":"2026-10-30T16:02:50.7509687Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"0d292110-b428-4e44-a173-1c6b68fc0f03"}' headers: cache-control: - no-cache @@ -2228,27 +2313,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:30:28 GMT + - Fri, 30 Oct 2026 16:02:52 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 548149F117DC49FAA5E04B9C56E0868F Ref B: DM2AA1091213045 Ref C: 2026-10-30T16:02:50Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -2270,7 +2360,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:29.7541126Z","updatedOn":"2026-10-22T16:30:30.0161128Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"586df35c-1d91-4bf4-8927-ed68e4ae6096"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:52.9031049Z","updatedOn":"2026-10-30T16:02:53.1085294Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"6779f25b-f843-4c41-874b-5252c98b82b9"}' headers: cache-control: - no-cache @@ -2279,27 +2369,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:30:30 GMT + - Fri, 30 Oct 2026 16:02:54 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 7D8514DE6E6D422B8843C63F7EAF2014 Ref B: SN4AA2022301039 Ref C: 2026-10-30T16:02:52Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -2321,7 +2416,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:32.0676309Z","updatedOn":"2026-10-22T16:30:32.3328404Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"ad575302-94d7-43ce-a13c-1c5c2c984326"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:55.9599386Z","updatedOn":"2026-10-30T16:02:56.5349436Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"f3443d49-2851-467c-8a09-44c68ada7e04"}' headers: cache-control: - no-cache @@ -2330,27 +2425,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:30:34 GMT + - Fri, 30 Oct 2026 16:02:57 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: B4CD855FD96C4B32B84C127DF7A353C3 Ref B: DM2AA1091213017 Ref C: 2026-10-30T16:02:55Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/8b32b316-c2f5-4ddf-b05b-83dacd2d08b5"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/8b32b316-c2f5-4ddf-b05b-83dacd2d08b5", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -2372,7 +2472,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/8b32b316-c2f5-4ddf-b05b-83dacd2d08b5","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:35.7668709Z","updatedOn":"2026-10-22T16:30:36.0288922Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"d07d1036-fada-4c1b-aa50-b3fdb278d1f9"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/8b32b316-c2f5-4ddf-b05b-83dacd2d08b5","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:58.2657219Z","updatedOn":"2026-10-30T16:02:58.5717306Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"627c1d2c-e266-4714-9a1e-e083bf76c75a"}' headers: cache-control: - no-cache @@ -2381,27 +2481,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:30:37 GMT + - Fri, 30 Oct 2026 16:02:59 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: E1FCC631DC7042D091F24EE04D1886F6 Ref B: SN4AA2022303035 Ref C: 2026-10-30T16:02:57Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/be7a6435-15ae-4171-8f30-4a343eff9e8f"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/be7a6435-15ae-4171-8f30-4a343eff9e8f", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -2423,7 +2528,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/be7a6435-15ae-4171-8f30-4a343eff9e8f","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:39.6177399Z","updatedOn":"2026-10-22T16:30:39.8847421Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"c5bfe41f-167b-459c-afa3-0d72db5c3d98"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/be7a6435-15ae-4171-8f30-4a343eff9e8f","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:59.9325874Z","updatedOn":"2026-10-30T16:03:00.2875922Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"7edaa4f6-a250-42c8-90ac-83dd9f968e85"}' headers: cache-control: - no-cache @@ -2432,27 +2537,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:30:40 GMT + - Fri, 30 Oct 2026 16:03:00 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 5D5FAA5134B04A31A30171B047402633 Ref B: SN4AA2022302047 Ref C: 2026-10-30T16:02:59Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/be7a6435-15ae-4171-8f30-4a343eff9e8f"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/be7a6435-15ae-4171-8f30-4a343eff9e8f", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -2474,7 +2584,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/be7a6435-15ae-4171-8f30-4a343eff9e8f","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:42.2606566Z","updatedOn":"2026-10-22T16:30:42.5326567Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"57a8259f-d6fd-4e68-9947-f9f89f6ef736"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/be7a6435-15ae-4171-8f30-4a343eff9e8f","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:01.8963947Z","updatedOn":"2026-10-30T16:03:02.1253986Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"e67adf57-e6ab-4164-a8d6-065016c8bb33"}' headers: cache-control: - no-cache @@ -2483,27 +2593,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:30:45 GMT + - Fri, 30 Oct 2026 16:03:02 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: DFDCFAAF90A14CB1BE12A6CA07A711CA Ref B: SN4AA2022302047 Ref C: 2026-10-30T16:03:01Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/12338af0-0e69-4776-bea7-57ae8d297424"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/12338af0-0e69-4776-bea7-57ae8d297424", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -2525,7 +2640,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/12338af0-0e69-4776-bea7-57ae8d297424","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:45.6613157Z","updatedOn":"2026-10-22T16:30:45.9343191Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"f447d326-3cee-4efa-a5cd-491d60ac5d10"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/12338af0-0e69-4776-bea7-57ae8d297424","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:03.8529767Z","updatedOn":"2026-10-30T16:03:04.1289826Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"d7db230c-814e-4d4e-a69d-f179b8f473b6"}' headers: cache-control: - no-cache @@ -2534,27 +2649,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:30:46 GMT + - Fri, 30 Oct 2026 16:03:04 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: D5B1A6C910E24C1B88409A9988D71581 Ref B: SN4AA2022304027 Ref C: 2026-10-30T16:03:03Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -2576,7 +2696,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:48.0067897Z","updatedOn":"2026-10-22T16:30:48.2798005Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"54263a95-0934-4257-adcb-e69432136818"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:05.5051570Z","updatedOn":"2026-10-30T16:03:05.7871679Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"1d65449f-1e5a-47c0-936b-a02b1b217c37"}' headers: cache-control: - no-cache @@ -2585,27 +2705,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:30:50 GMT + - Fri, 30 Oct 2026 16:03:06 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 2E2B87489CA749C2B881DDFB234410E8 Ref B: DM2AA1091211053 Ref C: 2026-10-30T16:03:05Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -2627,7 +2752,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:51.7125980Z","updatedOn":"2026-10-22T16:30:51.9976021Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"6fd2d9cf-9a50-4b5c-8b22-d9e6904eec51"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:07.1584120Z","updatedOn":"2026-10-30T16:03:07.5464128Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"6aa9aee3-5657-4147-85cb-0ae10ea69618"}' headers: cache-control: - no-cache @@ -2636,27 +2761,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:30:53 GMT + - Fri, 30 Oct 2026 16:03:08 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 4A5946D8AD87447F9F85B78BA832C066 Ref B: SN4AA2022303031 Ref C: 2026-10-30T16:03:06Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -2678,7 +2808,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:54.3615627Z","updatedOn":"2026-10-22T16:30:54.6375697Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"8eabd2c9-1d4e-4547-aa21-1325e922fb1a"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:09.5776351Z","updatedOn":"2026-10-30T16:03:09.9296380Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"e69fda1f-7586-4d53-90a0-9c5a2963b1a8"}' headers: cache-control: - no-cache @@ -2687,27 +2817,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:30:56 GMT + - Fri, 30 Oct 2026 16:03:10 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 678D3AD45DCA4766A44028A84BE1F070 Ref B: DM2AA1091211049 Ref C: 2026-10-30T16:03:09Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/8b32b316-c2f5-4ddf-b05b-83dacd2d08b5"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/8b32b316-c2f5-4ddf-b05b-83dacd2d08b5", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -2729,7 +2864,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/8b32b316-c2f5-4ddf-b05b-83dacd2d08b5","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:57.6280110Z","updatedOn":"2026-10-22T16:30:57.8880151Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"d1e99b43-4c26-45f2-8216-e69cbcc58dc7"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/8b32b316-c2f5-4ddf-b05b-83dacd2d08b5","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:11.2328875Z","updatedOn":"2026-10-30T16:03:11.4768930Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"a29ad771-8d34-455e-81e5-360a69e211ae"}' headers: cache-control: - no-cache @@ -2738,27 +2873,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:30:58 GMT + - Fri, 30 Oct 2026 16:03:11 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 8A13C0BF775E4304AFD9545EFEE85C6C Ref B: SN4AA2022304011 Ref C: 2026-10-30T16:03:11Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -2780,7 +2920,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:30:59.9024452Z","updatedOn":"2026-10-22T16:31:00.1974517Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"36bc7bff-17bf-4e79-91eb-6d66973b0a0e"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:12.7916200Z","updatedOn":"2026-10-30T16:03:13.0376252Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"3acde4c8-7931-41da-aa0e-6a4a8c9b21ac"}' headers: cache-control: - no-cache @@ -2789,27 +2929,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:31:00 GMT + - Fri, 30 Oct 2026 16:03:14 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 87BEEFA1271246F28390032EDD70E781 Ref B: SN4AA2022304039 Ref C: 2026-10-30T16:03:12Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -2831,7 +2976,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:31:01.9582005Z","updatedOn":"2026-10-22T16:31:02.2392025Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"93e8c38b-7539-4393-9c06-6cf78d539581"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:15.2529636Z","updatedOn":"2026-10-30T16:03:15.4719686Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"217cdcc0-3283-4c81-b982-a2f7073a19b4"}' headers: cache-control: - no-cache @@ -2840,27 +2985,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:31:03 GMT + - Fri, 30 Oct 2026 16:03:16 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 438427626C9B41019A4CE208F73E6EE7 Ref B: DM2AA1091214039 Ref C: 2026-10-30T16:03:15Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -2882,7 +3032,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:31:04.1165825Z","updatedOn":"2026-10-22T16:31:04.3845863Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"76038939-9158-4777-9d44-d88a7968aa65"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:16.9654262Z","updatedOn":"2026-10-30T16:03:17.2004241Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"5e2fbdef-4290-407c-891f-3d6c9e8d4264"}' headers: cache-control: - no-cache @@ -2891,27 +3041,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:31:05 GMT + - Fri, 30 Oct 2026 16:03:18 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 3C5AA9B88F67427694058B22691ADCFD Ref B: SN4AA2022302019 Ref C: 2026-10-30T16:03:16Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -2933,7 +3088,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:31:06.1718509Z","updatedOn":"2026-10-22T16:31:06.4528573Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"e510dae9-d186-42ce-951e-d4951250d71b"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:19.7075716Z","updatedOn":"2026-10-30T16:03:19.9745822Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"7a1e2279-35f1-4f74-81da-a162fa74e12c"}' headers: cache-control: - no-cache @@ -2942,27 +3097,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:31:08 GMT + - Fri, 30 Oct 2026 16:03:20 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: A13E6A668220404BBA1AB5C6206D9106 Ref B: SN4AA2022301033 Ref C: 2026-10-30T16:03:19Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -2984,7 +3144,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:31:09.5673761Z","updatedOn":"2026-10-22T16:31:09.8373757Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"e89bc53c-1a7c-4a20-8213-1ba48076491f"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:21.6947424Z","updatedOn":"2026-10-30T16:03:22.0417478Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"78f5fd83-a45a-473b-a23c-dc697a66ddcd"}' headers: cache-control: - no-cache @@ -2993,27 +3153,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:31:11 GMT + - Fri, 30 Oct 2026 16:03:22 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: BEDB0B2FBBC74BF28D7CAF5C1C0C1EE3 Ref B: DM2AA1091211029 Ref C: 2026-10-30T16:03:21Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -3035,7 +3200,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:31:11.9798579Z","updatedOn":"2026-10-22T16:31:12.2408688Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"3767d70c-1bf1-4dbb-b2b9-3c2d96b84ae4"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:23.4908364Z","updatedOn":"2026-10-30T16:03:23.8276224Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"1d972631-7b5f-444e-b4d9-4cc6a5b4172f"}' headers: cache-control: - no-cache @@ -3044,27 +3209,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:31:12 GMT + - Fri, 30 Oct 2026 16:03:24 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: C8752E19825C4E29A7180BD6B606CF8F Ref B: SN4AA2022305017 Ref C: 2026-10-30T16:03:23Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -3086,7 +3256,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:31:14.0618068Z","updatedOn":"2026-10-22T16:31:14.3278091Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"a49f0a6d-9e3e-4955-9941-13e0e8c81459"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:25.3650473Z","updatedOn":"2026-10-30T16:03:26.1410613Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"76adfa5e-b095-433f-acf7-52b4a93fb54e"}' headers: cache-control: - no-cache @@ -3095,27 +3265,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:31:16 GMT + - Fri, 30 Oct 2026 16:03:27 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 0F76E2397F874D94A50EF9E44478BD14 Ref B: SN4AA2022301049 Ref C: 2026-10-30T16:03:25Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -3137,7 +3312,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:31:17.4258730Z","updatedOn":"2026-10-22T16:31:17.6988806Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"f9e53ca1-61d2-43f1-881d-6d3a61fb570c"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:27.5862439Z","updatedOn":"2026-10-30T16:03:28.0374725Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"097c09f5-1098-4437-9c3a-3c2a866d6388"}' headers: cache-control: - no-cache @@ -3146,27 +3321,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:31:19 GMT + - Fri, 30 Oct 2026 16:03:28 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 996E8FB9EA5D46A8A5FC3FDB53CD4235 Ref B: SN4AA2022301053 Ref C: 2026-10-30T16:03:27Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -3188,7 +3368,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:31:20.9404803Z","updatedOn":"2026-10-22T16:31:21.2404815Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"da78f735-3bbf-4294-88fb-d1ca74cab46a"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:29.4324051Z","updatedOn":"2026-10-30T16:03:29.6074052Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"d0f4f110-b6a5-4f45-b315-34bdf7287a10"}' headers: cache-control: - no-cache @@ -3197,27 +3377,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:31:23 GMT + - Fri, 30 Oct 2026 16:03:29 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: A44B3B2C136F40649CDEF3D9352E7802 Ref B: SN4AA2022305027 Ref C: 2026-10-30T16:03:29Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -3239,7 +3424,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:31:24.3821286Z","updatedOn":"2026-10-22T16:31:24.6601361Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"9784158c-09e0-4ff0-9595-cb6a898a2687"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:34.5660189Z","updatedOn":"2026-10-30T16:03:35.0030278Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"16b84ac7-966f-4186-b614-b4a5d174373e"}' headers: cache-control: - no-cache @@ -3248,27 +3433,32 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:31:25 GMT + - Fri, 30 Oct 2026 16:03:38 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 1AE65671DEFB458388FEABA1D13C872A Ref B: SN4AA2022304011 Ref C: 2026-10-30T16:03:31Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -3290,7 +3480,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:31:27.3243229Z","updatedOn":"2026-10-22T16:31:27.5163233Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"6ac56409-d145-418e-93e6-96a6ad995b7c"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:40.0186920Z","updatedOn":"2026-10-30T16:03:40.4127026Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"b8306de1-8ff4-4739-9160-3fe94a2e0f7b"}' headers: cache-control: - no-cache @@ -3299,7 +3489,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:31:27 GMT + - Fri, 30 Oct 2026 16:03:41 GMT expires: - '-1' pragma: @@ -3315,15 +3505,16 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: A8C565DE6A7B4319A5D8A02CBCB3A66A Ref B: SN4AA2022301033 Ref C: 2026-10-22T16:31:27Z' + - 'Ref A: 604EBAC51F0A4D1AB77860CF2AE282F9 Ref B: SN4AA2022304017 Ref C: 2026-10-30T16:03:39Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", - "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e"}}' + body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e", + "principalId": "00000000-0000-0000-0000-000000000002"}}' headers: Accept: - application/json @@ -3345,7 +3536,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020","condition":null,"conditionVersion":null,"createdOn":"2026-10-22T16:31:29.2301066Z","updatedOn":"2026-10-22T16:31:29.4241188Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"11c9c4b8-31ba-4245-b313-52bb0ac531b9"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:42.0984999Z","updatedOn":"2026-10-30T16:03:42.3695037Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"727ab871-50b1-47a0-9982-ed6ff027288e"}' headers: cache-control: - no-cache @@ -3354,43 +3545,39 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Oct 2026 16:31:30 GMT + - Fri, 30 Oct 2026 16:03: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-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' - x-msedge-ref: - - 'Ref A: 2E081109DE314BD18DC78C0BBBDB4964 Ref B: SN4AA2022304011 Ref C: 2026-10-22T16:31:28Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"identity": {"userAssignedIdentities": {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016": - {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011": - {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009": - {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015": - {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008": + body: '{"identity": {"userAssignedIdentities": {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017": {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016": {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013": - {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008": {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012": - {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011": {}}, "type": "UserAssigned"}, "location": "uksouth", "properties": {"api": {"visibility": "Public"}, "clusterImageRegistry": {"state": "Enabled"}, "cryptoRestrictions": "None", "etcd": {"dataEncryption": {"customerManaged": {"encryptionType": "KMS", - "kms": {"activeKey": {"name": "etcd-data-kms-encryption-key", "version": "488f22d2a3cc417785b54d3442e2ece0"}, + "kms": {"activeKey": {"name": "etcd-data-kms-encryption-key", "version": "fecd7bb5b0ba4dd69f6a7cd474194ec1"}, "keyVaultType": "KeyVault", "vaultName": "clihcpkv000007", "visibility": "Public"}}, "keyManagementMode": "CustomerManaged"}}, "ingress": {"type": "Public"}, "network": {"hostPrefix": 23, "machineCidr": "10.0.0.0/16", "networkType": "OVNKubernetes", @@ -3459,12 +3646,13 @@ interactions: \ },\n \"autoscaling\": {\n \"maxNodeProvisionTimeSeconds\": 900,\n \"maxPodGracePeriodSeconds\": 600,\n \"podPriorityThreshold\": -10\n },\n \"clusterImageRegistry\": {\n \"state\": - \"Enabled\"\n },\n \"cryptoRestrictions\": \"None\",\n \"etcd\": + \"Enabled\"\n },\n \"cryptoRestrictions\": \"None\",\n \"dns\": + {\n \"baseDomainPrefix\": \"cluster\"\n },\n \"etcd\": {\n \"dataEncryption\": {\n \"customerManaged\": {\n \"encryptionType\": \"KMS\",\n \"kms\": {\n \"activeKey\": {\n \"name\": \"etcd-data-kms-encryption-key\",\n \"version\": - \"488f22d2a3cc417785b54d3442e2ece0\"\n },\n \"keyVaultType\": + \"fecd7bb5b0ba4dd69f6a7cd474194ec1\"\n },\n \"keyVaultType\": \"KeyVault\",\n \"vaultName\": \"clihcpkv000007\",\n \ \"visibility\": \"Public\"\n }\n \ },\n \"keyManagementMode\": \"CustomerManaged\"\n @@ -3495,40 +3683,38 @@ interactions: \ \"vnetIntegrationSubnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet\"\n \ },\n \"provisioningState\": \"Accepted\",\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22\"\n - \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-22T16:31:32.03062Z\",\n + \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-30T16:03:47.4925397Z\",\n \ \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": - \"User\",\n \"lastModifiedAt\": \"2026-10-22T16:31:32.03062Z\",\n \"lastModifiedBy\": - \"recording-user@example.com\",\n \"lastModifiedByType\": \"User\"\n - \ },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters\"\n}" + \"User\",\n \"lastModifiedAt\": \"2026-10-30T16:03:47.4925397Z\",\n + \ \"lastModifiedBy\": \"recording-user@example.com\",\n \"lastModifiedByType\": + \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters\"\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED cache-control: - no-cache content-length: - - '7849' + - '7923' content-type: - application/json date: - - Thu, 22 Oct 2026 16:31:32 GMT + - Fri, 30 Oct 2026 16:03:48 GMT expires: - '-1' pragma: - no-cache + server: + - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains - x-cache: - - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '208' + - '20' x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' - x-msedge-ref: - - 'Ref A: 72F78969A2C14548A7B9B9096C3548D7 Ref B: SN4AA2022303051 Ref C: 2026-10-22T16:31:31Z' status: code: 201 message: Created @@ -3556,37 +3742,35 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n - \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n + \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Accepted\",\n + \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" headers: cache-control: - no-cache content-length: - - '312' + - '308' content-type: - application/json date: - - Thu, 22 Oct 2026 16:31:33 GMT + - Fri, 30 Oct 2026 16:03:49 GMT expires: - '-1' pragma: - no-cache + server: + - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains - x-cache: - - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' - x-msedge-ref: - - 'Ref A: DE9C0DAFF7C945E49433586A6EFD1099 Ref B: SN4AA2022305053 Ref C: 2026-10-22T16:31:32Z' status: code: 200 message: OK @@ -3614,12 +3798,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n - \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n + \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" headers: cache-control: - no-cache @@ -3628,21 +3812,23 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:32:04 GMT + - Fri, 30 Oct 2026 16:04:20 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: DC078522ADA148198CE01368FE8DF8BA Ref B: DM2AA1091212021 Ref C: 2026-10-30T16:04:20Z' status: code: 200 message: OK @@ -3670,12 +3856,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n - \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n + \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" headers: cache-control: - no-cache @@ -3684,7 +3870,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:32:34 GMT + - Fri, 30 Oct 2026 16:04:52 GMT expires: - '-1' pragma: @@ -3696,11 +3882,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: 86D50CEEFCCF4D6CB9C68CDB53E9AE17 Ref B: SN4AA2022303037 Ref C: 2026-10-22T16:32:34Z' + - 'Ref A: 9C8221887FDB426BBDC562F652D3A83F Ref B: SN4AA2022303033 Ref C: 2026-10-30T16:04:51Z' status: code: 200 message: OK @@ -3728,12 +3914,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n - \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n + \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" headers: cache-control: - no-cache @@ -3742,21 +3928,23 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:33:05 GMT + - Fri, 30 Oct 2026 16:05:22 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: EB5E645AE98C457FBB83DB0BB32FB054 Ref B: DM2AA1091211031 Ref C: 2026-10-30T16:05:22Z' status: code: 200 message: OK @@ -3784,12 +3972,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n - \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n + \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" headers: cache-control: - no-cache @@ -3798,7 +3986,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:33:36 GMT + - Fri, 30 Oct 2026 16:05:52 GMT expires: - '-1' pragma: @@ -3810,7 +3998,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -3840,12 +4028,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n - \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n + \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" headers: cache-control: - no-cache @@ -3854,7 +4042,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:34:07 GMT + - Fri, 30 Oct 2026 16:06:24 GMT expires: - '-1' pragma: @@ -3896,12 +4084,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n - \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n + \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" headers: cache-control: - no-cache @@ -3910,7 +4098,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:34:38 GMT + - Fri, 30 Oct 2026 16:06:54 GMT expires: - '-1' pragma: @@ -3922,7 +4110,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -3952,12 +4140,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n - \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n + \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" headers: cache-control: - no-cache @@ -3966,7 +4154,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:35:09 GMT + - Fri, 30 Oct 2026 16:07:25 GMT expires: - '-1' pragma: @@ -4008,12 +4196,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n - \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n + \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" headers: cache-control: - no-cache @@ -4022,7 +4210,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:35:40 GMT + - Fri, 30 Oct 2026 16:07:55 GMT expires: - '-1' pragma: @@ -4034,7 +4222,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -4064,12 +4252,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n - \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n + \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" headers: cache-control: - no-cache @@ -4078,21 +4266,23 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:36:10 GMT + - Fri, 30 Oct 2026 16:08:27 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: CC0F562786A2405683EB958421E298A5 Ref B: SN4AA2022305047 Ref C: 2026-10-30T16:08:26Z' status: code: 200 message: OK @@ -4120,12 +4310,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n - \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n + \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" headers: cache-control: - no-cache @@ -4134,21 +4324,23 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:36:42 GMT + - Fri, 30 Oct 2026 16:08:57 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: D3218835974C4B89B8173AE58FCBB610 Ref B: SN4AA2022301037 Ref C: 2026-10-30T16:08:57Z' status: code: 200 message: OK @@ -4176,12 +4368,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n - \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n + \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" headers: cache-control: - no-cache @@ -4190,7 +4382,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:37:12 GMT + - Fri, 30 Oct 2026 16:09:28 GMT expires: - '-1' pragma: @@ -4202,11 +4394,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: D7177AB664DC43609B85F3874D275AE8 Ref B: SN4AA2022301047 Ref C: 2026-10-22T16:37:12Z' + - 'Ref A: A4B84E6A5F564C31B9B81BFE0BFDE0D4 Ref B: SN4AA2022303027 Ref C: 2026-10-30T16:09:28Z' status: code: 200 message: OK @@ -4234,12 +4426,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n - \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n + \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" headers: cache-control: - no-cache @@ -4248,7 +4440,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:37:43 GMT + - Fri, 30 Oct 2026 16:09:59 GMT expires: - '-1' pragma: @@ -4260,7 +4452,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -4290,12 +4482,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n - \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n + \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" headers: cache-control: - no-cache @@ -4304,21 +4496,23 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:38:14 GMT + - Fri, 30 Oct 2026 16:10:29 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 7DFF3342D2614EE0BEAFE9B91116E0DF Ref B: DM2AA1091211053 Ref C: 2026-10-30T16:10:29Z' status: code: 200 message: OK @@ -4346,12 +4540,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n - \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n + \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" headers: cache-control: - no-cache @@ -4360,7 +4554,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:38:45 GMT + - Fri, 30 Oct 2026 16:11:00 GMT expires: - '-1' pragma: @@ -4372,7 +4566,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -4402,12 +4596,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n - \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n + \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" headers: cache-control: - no-cache @@ -4416,7 +4610,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:39:16 GMT + - Fri, 30 Oct 2026 16:11:31 GMT expires: - '-1' pragma: @@ -4428,7 +4622,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -4458,12 +4652,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n - \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n + \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" headers: cache-control: - no-cache @@ -4472,23 +4666,21 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:39:47 GMT + - Fri, 30 Oct 2026 16:12:02 GMT expires: - '-1' pragma: - no-cache + server: + - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains - x-cache: - - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' - x-msedge-ref: - - 'Ref A: 75B3AF4AC6634F3890D06ACE745B2DE5 Ref B: SN4AA2022305053 Ref C: 2026-10-22T16:39:47Z' status: code: 200 message: OK @@ -4516,12 +4708,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n - \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n + \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" headers: cache-control: - no-cache @@ -4530,7 +4722,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:40:17 GMT + - Fri, 30 Oct 2026 16:12:32 GMT expires: - '-1' pragma: @@ -4542,7 +4734,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '15' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -4572,21 +4764,21 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1?api-version=2026-10-01&t=639282834926399868&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n - \ \"name\": \"285771b9-d85e-4a4a-a2c9-e197f47246e1\",\n \"status\": \"Succeeded\",\n - \ \"startTime\": \"2026-10-22T16:31:32.543578254Z\",\n \"endTime\": \"2026-10-22T16:40:45.461541796Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n + \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" headers: cache-control: - no-cache content-length: - - '358' + - '312' content-type: - application/json date: - - Thu, 22 Oct 2026 16:40:49 GMT + - Fri, 30 Oct 2026 16:13:03 GMT expires: - '-1' pragma: @@ -4598,7 +4790,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -4628,55 +4820,111 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002?api-version=2026-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002\",\n - \ \"identity\": {\n \"type\": \"UserAssigned\",\n \"userAssignedIdentities\": - {\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009\": - {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n - \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n - \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011\": - {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n - \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n - \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010\": - {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n - \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n - \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013\": - {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n - \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n - \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014\": - {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n - \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n - \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015\": - {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n - \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n - \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012\": - {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n - \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n - \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017\": - {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n - \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n - \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016\": - {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n - \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n - \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008\": - {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n - \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n - \ }\n }\n },\n \"location\": \"uksouth\",\n \"name\": - \"clihcp000002\",\n \"properties\": {\n \"api\": {\n \"url\": - \"https://api.b2h5b7m8j9f0n0z.mpdh.uksouth.aroapp-hcp.io:443\",\n \"visibility\": - \"Public\"\n },\n \"autoscaling\": {\n \"maxNodeProvisionTimeSeconds\": - 900,\n \"maxPodGracePeriodSeconds\": 600,\n \"podPriorityThreshold\": - -10\n },\n \"clusterImageRegistry\": {\n \"state\": - \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.b2h5b7m8j9f0n0z.mpdh.uksouth.aroapp-hcp.io\"\n - \ },\n \"cryptoRestrictions\": \"None\",\n \"dns\": {\n - \ \"baseDomain\": \"mpdh.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": - \"b2h5b7m8j9f0n0z\"\n },\n \"etcd\": {\n \"dataEncryption\": + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n + \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Succeeded\",\n + \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\",\n \"endTime\": \"2026-10-30T16:13:27.168643314Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '358' + content-type: + - application/json + date: + - Fri, 30 Oct 2026 16:13:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - istio-envoy + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '11' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002?api-version=2026-10-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002\",\n + \ \"identity\": {\n \"type\": \"UserAssigned\",\n \"userAssignedIdentities\": + {\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ }\n }\n },\n \"location\": \"uksouth\",\n \"name\": + \"clihcp000002\",\n \"properties\": {\n \"api\": {\n \"url\": + \"https://api.cluster.bhkww.uksouth.aroapp-hcp.io:443\",\n \"visibility\": + \"Public\"\n },\n \"autoscaling\": {\n \"maxNodeProvisionTimeSeconds\": + 900,\n \"maxPodGracePeriodSeconds\": 600,\n \"podPriorityThreshold\": + -10\n },\n \"clusterImageRegistry\": {\n \"state\": + \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.cluster.bhkww.uksouth.aroapp-hcp.io\"\n + \ },\n \"cryptoRestrictions\": \"None\",\n \"dns\": {\n + \ \"baseDomain\": \"bhkww.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": + \"cluster\"\n },\n \"etcd\": {\n \"dataEncryption\": {\n \"customerManaged\": {\n \"encryptionType\": \"KMS\",\n \"kms\": {\n \"activeKey\": {\n \"name\": \"etcd-data-kms-encryption-key\",\n - \ \"version\": \"488f22d2a3cc417785b54d3442e2ece0\"\n + \ \"version\": \"fecd7bb5b0ba4dd69f6a7cd474194ec1\"\n \ },\n \"keyVaultType\": \"KeyVault\",\n \ \"vaultName\": \"clihcpkv000007\",\n \"visibility\": \"Public\"\n }\n },\n \"keyManagementMode\": @@ -4685,7 +4933,7 @@ interactions: 23,\n \"machineCidr\": \"10.0.0.0/16\",\n \"networkType\": \"OVNKubernetes\",\n \"podCidr\": \"10.128.0.0/14\",\n \"serviceCidr\": \"172.30.0.0/16\"\n },\n \"nodeDrainTimeoutMinutes\": 0,\n \"platform\": - {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2tjuoponimc5ejoltq0vlo8l1ai1rj18\",\n + {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2tp73p94e2f58u7sjmi4tmc5mmaavngn\",\n \ \"managedResourceGroup\": \"clihcp-managed000006\",\n \"networkSecurityGroupId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005\",\n \ \"operatorsAuthentication\": {\n \"userAssignedIdentities\": @@ -4710,24 +4958,24 @@ interactions: \ },\n \"provisioningState\": \"Succeeded\",\n \"status\": {\n \"activeVersions\": [\n {\n \"version\": \"4.22\"\n }\n ],\n \"conditions\": [\n - \ {\n \"lastTransitionTime\": \"2026-10-22T16:31:34Z\",\n + \ {\n \"lastTransitionTime\": \"2026-10-30T16:03:49Z\",\n \ \"message\": \"\",\n \"reason\": \"Valid\",\n \ \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n \ }\n ]\n },\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22\"\n }\n },\n \"systemData\": - {\n \"createdAt\": \"2026-10-22T16:31:32.03062Z\",\n \"createdBy\": + {\n \"createdAt\": \"2026-10-30T16:03:47.4925397Z\",\n \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": \"User\",\n \"lastModifiedAt\": - \"2026-10-22T16:31:32.03062Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n + \"2026-10-30T16:03:47.4925397Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n \ \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters\"\n}" headers: cache-control: - no-cache content-length: - - '10306' + - '10289' content-type: - application/json date: - - Thu, 22 Oct 2026 16:40:49 GMT + - Fri, 30 Oct 2026 16:13:35 GMT expires: - '-1' pragma: @@ -4739,7 +4987,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '11' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -4771,17 +5019,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/36a61d4e-70aa-4717-889d-f31840b6c67e?api-version=2026-10-01&t=639282840531350133&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/56c92ff1-a570-41d7-8214-07d91c920c24?api-version=2026-10-01&t=639289736185694819&c=REDACTED&s=REDACTED&h=REDACTED cache-control: - no-cache content-length: - '0' date: - - Thu, 22 Oct 2026 16:40:52 GMT + - Fri, 30 Oct 2026 16:13:38 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/36a61d4e-70aa-4717-889d-f31840b6c67e?api-version=2026-10-01&t=639282840531506385&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/56c92ff1-a570-41d7-8214-07d91c920c24?api-version=2026-10-01&t=639289736185694819&c=REDACTED&s=REDACTED&h=REDACTED pragma: - no-cache server: @@ -4791,7 +5039,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '18' + - '23' x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: @@ -4815,21 +5063,21 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/36a61d4e-70aa-4717-889d-f31840b6c67e?api-version=2026-10-01&t=639282840531350133&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/56c92ff1-a570-41d7-8214-07d91c920c24?api-version=2026-10-01&t=639289736185694819&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/36a61d4e-70aa-4717-889d-f31840b6c67e\",\n - \ \"name\": \"36a61d4e-70aa-4717-889d-f31840b6c67e\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:40:52.157414674Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/56c92ff1-a570-41d7-8214-07d91c920c24\",\n + \ \"name\": \"56c92ff1-a570-41d7-8214-07d91c920c24\",\n \"status\": \"Accepted\",\n + \ \"startTime\": \"2026-10-30T16:13:37.514377417Z\"\n}" headers: cache-control: - no-cache content-length: - - '312' + - '308' content-type: - application/json date: - - Thu, 22 Oct 2026 16:40:53 GMT + - Fri, 30 Oct 2026 16:13:38 GMT expires: - '-1' pragma: @@ -4841,7 +5089,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -4863,12 +5111,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/36a61d4e-70aa-4717-889d-f31840b6c67e?api-version=2026-10-01&t=639282840531350133&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/56c92ff1-a570-41d7-8214-07d91c920c24?api-version=2026-10-01&t=639289736185694819&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/36a61d4e-70aa-4717-889d-f31840b6c67e\",\n - \ \"name\": \"36a61d4e-70aa-4717-889d-f31840b6c67e\",\n \"status\": \"Succeeded\",\n - \ \"startTime\": \"2026-10-22T16:40:52.157414674Z\",\n \"endTime\": \"2026-10-22T16:40:54.465088152Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/56c92ff1-a570-41d7-8214-07d91c920c24\",\n + \ \"name\": \"56c92ff1-a570-41d7-8214-07d91c920c24\",\n \"status\": \"Succeeded\",\n + \ \"startTime\": \"2026-10-30T16:13:37.514377417Z\",\n \"endTime\": \"2026-10-30T16:13:40.261194391Z\"\n}" headers: cache-control: - no-cache @@ -4877,7 +5125,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:41:24 GMT + - Fri, 30 Oct 2026 16:14:09 GMT expires: - '-1' pragma: @@ -4911,12 +5159,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/36a61d4e-70aa-4717-889d-f31840b6c67e?api-version=2026-10-01&t=639282840531506385&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/56c92ff1-a570-41d7-8214-07d91c920c24?api-version=2026-10-01&t=639289736185694819&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: '{"expirationTimestamp": "2026-10-23T16:40:52Z", "kubeconfig": "apiVersion: + string: '{"expirationTimestamp": "2026-10-31T16:13:38Z", "kubeconfig": "apiVersion: v1\nclusters:\n- cluster:\n certificate-authority-data: UkVEQUNURUQ=\n server: - https://api.b2h5b7m8j9f0n0z.mpdh.uksouth.aroapp-hcp.io:443\n name: cluster\ncontexts:\n- + https://api.cluster.bhkww.uksouth.aroapp-hcp.io:443\n name: cluster\ncontexts:\n- context:\n cluster: cluster\n user: admin\n name: admin\ncurrent-context: admin\nkind: Config\nusers:\n- name: admin\n user:\n client-certificate-data: UkVEQUNURUQ=\n"}' @@ -4924,11 +5172,11 @@ interactions: cache-control: - no-cache content-length: - - '429' + - '422' content-type: - application/json date: - - Thu, 22 Oct 2026 16:41:24 GMT + - Fri, 30 Oct 2026 16:14:10 GMT expires: - '-1' pragma: @@ -4940,7 +5188,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '23' + - '22' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -4999,18 +5247,18 @@ interactions: \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n \ }\n }\n },\n \"location\": \"uksouth\",\n \"name\": \"clihcp000002\",\n \"properties\": {\n \"api\": {\n \"url\": - \"https://api.b2h5b7m8j9f0n0z.mpdh.uksouth.aroapp-hcp.io:443\",\n \"visibility\": + \"https://api.cluster.bhkww.uksouth.aroapp-hcp.io:443\",\n \"visibility\": \"Public\"\n },\n \"autoscaling\": {\n \"maxNodeProvisionTimeSeconds\": 900,\n \"maxPodGracePeriodSeconds\": 600,\n \"podPriorityThreshold\": -10\n },\n \"clusterImageRegistry\": {\n \"state\": - \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.b2h5b7m8j9f0n0z.mpdh.uksouth.aroapp-hcp.io\"\n + \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.cluster.bhkww.uksouth.aroapp-hcp.io\"\n \ },\n \"cryptoRestrictions\": \"None\",\n \"dns\": {\n - \ \"baseDomain\": \"mpdh.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": - \"b2h5b7m8j9f0n0z\"\n },\n \"etcd\": {\n \"dataEncryption\": + \ \"baseDomain\": \"bhkww.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": + \"cluster\"\n },\n \"etcd\": {\n \"dataEncryption\": {\n \"customerManaged\": {\n \"encryptionType\": \"KMS\",\n \"kms\": {\n \"activeKey\": {\n \"name\": \"etcd-data-kms-encryption-key\",\n - \ \"version\": \"488f22d2a3cc417785b54d3442e2ece0\"\n + \ \"version\": \"fecd7bb5b0ba4dd69f6a7cd474194ec1\"\n \ },\n \"keyVaultType\": \"KeyVault\",\n \ \"vaultName\": \"clihcpkv000007\",\n \"visibility\": \"Public\"\n }\n },\n \"keyManagementMode\": @@ -5019,7 +5267,7 @@ interactions: 23,\n \"machineCidr\": \"10.0.0.0/16\",\n \"networkType\": \"OVNKubernetes\",\n \"podCidr\": \"10.128.0.0/14\",\n \"serviceCidr\": \"172.30.0.0/16\"\n },\n \"nodeDrainTimeoutMinutes\": 0,\n \"platform\": - {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2tjuoponimc5ejoltq0vlo8l1ai1rj18\",\n + {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2tp73p94e2f58u7sjmi4tmc5mmaavngn\",\n \ \"managedResourceGroup\": \"clihcp-managed000006\",\n \"networkSecurityGroupId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005\",\n \ \"operatorsAuthentication\": {\n \"userAssignedIdentities\": @@ -5044,24 +5292,24 @@ interactions: \ },\n \"provisioningState\": \"Succeeded\",\n \"status\": {\n \"activeVersions\": [\n {\n \"version\": \"4.22\"\n }\n ],\n \"conditions\": [\n - \ {\n \"lastTransitionTime\": \"2026-10-22T16:31:34Z\",\n + \ {\n \"lastTransitionTime\": \"2026-10-30T16:03:49Z\",\n \ \"message\": \"\",\n \"reason\": \"Valid\",\n \ \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n \ }\n ]\n },\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22\"\n }\n },\n \"systemData\": - {\n \"createdAt\": \"2026-10-22T16:31:32.03062Z\",\n \"createdBy\": + {\n \"createdAt\": \"2026-10-30T16:03:47.4925397Z\",\n \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": \"User\",\n \"lastModifiedAt\": - \"2026-10-22T16:31:32.03062Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n + \"2026-10-30T16:03:47.4925397Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n \ \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters\"\n}" headers: cache-control: - no-cache content-length: - - '10306' + - '10289' content-type: - application/json date: - - Thu, 22 Oct 2026 16:41:28 GMT + - Fri, 30 Oct 2026 16:14:10 GMT expires: - '-1' pragma: @@ -5132,18 +5380,18 @@ interactions: \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n \ }\n }\n },\n \"location\": \"uksouth\",\n \"name\": \"clihcp000002\",\n \"properties\": {\n \"api\": {\n \"url\": - \"https://api.b2h5b7m8j9f0n0z.mpdh.uksouth.aroapp-hcp.io:443\",\n \"visibility\": + \"https://api.cluster.bhkww.uksouth.aroapp-hcp.io:443\",\n \"visibility\": \"Public\"\n },\n \"autoscaling\": {\n \"maxNodeProvisionTimeSeconds\": 900,\n \"maxPodGracePeriodSeconds\": 600,\n \"podPriorityThreshold\": -10\n },\n \"clusterImageRegistry\": {\n \"state\": - \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.b2h5b7m8j9f0n0z.mpdh.uksouth.aroapp-hcp.io\"\n + \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.cluster.bhkww.uksouth.aroapp-hcp.io\"\n \ },\n \"cryptoRestrictions\": \"None\",\n \"dns\": {\n - \ \"baseDomain\": \"mpdh.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": - \"b2h5b7m8j9f0n0z\"\n },\n \"etcd\": {\n \"dataEncryption\": + \ \"baseDomain\": \"bhkww.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": + \"cluster\"\n },\n \"etcd\": {\n \"dataEncryption\": {\n \"customerManaged\": {\n \"encryptionType\": \"KMS\",\n \"kms\": {\n \"activeKey\": {\n \"name\": \"etcd-data-kms-encryption-key\",\n - \ \"version\": \"488f22d2a3cc417785b54d3442e2ece0\"\n + \ \"version\": \"fecd7bb5b0ba4dd69f6a7cd474194ec1\"\n \ },\n \"keyVaultType\": \"KeyVault\",\n \ \"vaultName\": \"clihcpkv000007\",\n \"visibility\": \"Public\"\n }\n },\n \"keyManagementMode\": @@ -5152,7 +5400,7 @@ interactions: 23,\n \"machineCidr\": \"10.0.0.0/16\",\n \"networkType\": \"OVNKubernetes\",\n \"podCidr\": \"10.128.0.0/14\",\n \"serviceCidr\": \"172.30.0.0/16\"\n },\n \"nodeDrainTimeoutMinutes\": 0,\n \"platform\": - {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2tjuoponimc5ejoltq0vlo8l1ai1rj18\",\n + {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2tp73p94e2f58u7sjmi4tmc5mmaavngn\",\n \ \"managedResourceGroup\": \"clihcp-managed000006\",\n \"networkSecurityGroupId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005\",\n \ \"operatorsAuthentication\": {\n \"userAssignedIdentities\": @@ -5177,24 +5425,24 @@ interactions: \ },\n \"provisioningState\": \"Succeeded\",\n \"status\": {\n \"activeVersions\": [\n {\n \"version\": \"4.22\"\n }\n ],\n \"conditions\": [\n - \ {\n \"lastTransitionTime\": \"2026-10-22T16:31:34Z\",\n + \ {\n \"lastTransitionTime\": \"2026-10-30T16:03:49Z\",\n \ \"message\": \"\",\n \"reason\": \"Valid\",\n \ \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n \ }\n ]\n },\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22\"\n }\n },\n \"systemData\": - {\n \"createdAt\": \"2026-10-22T16:31:32.03062Z\",\n \"createdBy\": + {\n \"createdAt\": \"2026-10-30T16:03:47.4925397Z\",\n \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": \"User\",\n \"lastModifiedAt\": - \"2026-10-22T16:31:32.03062Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n + \"2026-10-30T16:03:47.4925397Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n \ \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters\"\n}" headers: cache-control: - no-cache content-length: - - '10306' + - '10289' content-type: - application/json date: - - Thu, 22 Oct 2026 16:41:28 GMT + - Fri, 30 Oct 2026 16:14:12 GMT expires: - '-1' pragma: @@ -5226,9 +5474,9 @@ interactions: {}}}, "location": "uksouth", "properties": {"api": {"visibility": "Public"}, "autoscaling": {"maxNodeProvisionTimeSeconds": 900, "maxPodGracePeriodSeconds": 600, "podPriorityThreshold": -10}, "clusterImageRegistry": {"state": "Enabled"}, - "cryptoRestrictions": "None", "dns": {"baseDomainPrefix": "b2h5b7m8j9f0n0z"}, - "etcd": {"dataEncryption": {"customerManaged": {"encryptionType": "KMS", "kms": - {"activeKey": {"name": "etcd-data-kms-encryption-key", "version": "488f22d2a3cc417785b54d3442e2ece0"}, + "cryptoRestrictions": "None", "dns": {"baseDomainPrefix": "cluster"}, "etcd": + {"dataEncryption": {"customerManaged": {"encryptionType": "KMS", "kms": {"activeKey": + {"name": "etcd-data-kms-encryption-key", "version": "fecd7bb5b0ba4dd69f6a7cd474194ec1"}, "keyVaultType": "KeyVault", "vaultName": "clihcpkv000007", "visibility": "Public"}}, "keyManagementMode": "CustomerManaged"}}, "ingress": {"type": "Public"}, "network": {"hostPrefix": 23, "machineCidr": "10.0.0.0/16", "networkType": "OVNKubernetes", @@ -5262,7 +5510,7 @@ interactions: Connection: - keep-alive Content-Length: - - '5967' + - '5959' Content-Type: - application/json ParameterSetName: @@ -5307,18 +5555,18 @@ interactions: \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n \ }\n }\n },\n \"location\": \"uksouth\",\n \"name\": \"clihcp000002\",\n \"properties\": {\n \"api\": {\n \"url\": - \"https://api.b2h5b7m8j9f0n0z.mpdh.uksouth.aroapp-hcp.io:443\",\n \"visibility\": + \"https://api.cluster.bhkww.uksouth.aroapp-hcp.io:443\",\n \"visibility\": \"Public\"\n },\n \"autoscaling\": {\n \"maxNodeProvisionTimeSeconds\": 900,\n \"maxPodGracePeriodSeconds\": 600,\n \"podPriorityThreshold\": -10\n },\n \"clusterImageRegistry\": {\n \"state\": - \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.b2h5b7m8j9f0n0z.mpdh.uksouth.aroapp-hcp.io\"\n + \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.cluster.bhkww.uksouth.aroapp-hcp.io\"\n \ },\n \"cryptoRestrictions\": \"None\",\n \"dns\": {\n - \ \"baseDomain\": \"mpdh.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": - \"b2h5b7m8j9f0n0z\"\n },\n \"etcd\": {\n \"dataEncryption\": + \ \"baseDomain\": \"bhkww.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": + \"cluster\"\n },\n \"etcd\": {\n \"dataEncryption\": {\n \"customerManaged\": {\n \"encryptionType\": \"KMS\",\n \"kms\": {\n \"activeKey\": {\n \"name\": \"etcd-data-kms-encryption-key\",\n - \ \"version\": \"488f22d2a3cc417785b54d3442e2ece0\"\n + \ \"version\": \"fecd7bb5b0ba4dd69f6a7cd474194ec1\"\n \ },\n \"keyVaultType\": \"KeyVault\",\n \ \"vaultName\": \"clihcpkv000007\",\n \"visibility\": \"Public\"\n }\n },\n \"keyManagementMode\": @@ -5327,7 +5575,7 @@ interactions: 23,\n \"machineCidr\": \"10.0.0.0/16\",\n \"networkType\": \"OVNKubernetes\",\n \"podCidr\": \"10.128.0.0/14\",\n \"serviceCidr\": \"172.30.0.0/16\"\n },\n \"nodeDrainTimeoutMinutes\": 30,\n - \ \"platform\": {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2tjuoponimc5ejoltq0vlo8l1ai1rj18\",\n + \ \"platform\": {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2tp73p94e2f58u7sjmi4tmc5mmaavngn\",\n \ \"managedResourceGroup\": \"clihcp-managed000006\",\n \"networkSecurityGroupId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005\",\n \ \"operatorsAuthentication\": {\n \"userAssignedIdentities\": @@ -5352,42 +5600,44 @@ interactions: \ },\n \"provisioningState\": \"Accepted\",\n \"status\": {\n \"activeVersions\": [\n {\n \"version\": \"4.22\"\n }\n ],\n \"conditions\": [\n - \ {\n \"lastTransitionTime\": \"2026-10-22T16:31:34Z\",\n + \ {\n \"lastTransitionTime\": \"2026-10-30T16:03:49Z\",\n \ \"message\": \"\",\n \"reason\": \"Valid\",\n \ \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n \ }\n ]\n },\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22\"\n }\n },\n \"systemData\": - {\n \"createdAt\": \"2026-10-22T16:31:32.03062Z\",\n \"createdBy\": + {\n \"createdAt\": \"2026-10-30T16:03:47.4925397Z\",\n \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": \"User\",\n \"lastModifiedAt\": - \"2026-10-22T16:41:30.6623255Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n + \"2026-10-30T16:14:13.1706555Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n \ \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters\"\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/984551be-3801-4439-81dd-05d36b800669?api-version=2026-10-01&t=639282840923810941&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/950d4bfe-147c-477f-8b31-1a51bc534fd5?api-version=2026-10-01&t=639289736533894956&c=REDACTED&s=REDACTED&h=REDACTED cache-control: - no-cache content-length: - - '10308' + - '10289' content-type: - application/json date: - - Thu, 22 Oct 2026 16:41:31 GMT + - Fri, 30 Oct 2026 16:14:13 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '24' + - '27' x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: B1BC9A0B7791463FA7195F144FBB1776 Ref B: DM2AA1091213051 Ref C: 2026-10-30T16:14:12Z' status: code: 200 message: OK @@ -5407,12 +5657,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/984551be-3801-4439-81dd-05d36b800669?api-version=2026-10-01&t=639282840923810941&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/950d4bfe-147c-477f-8b31-1a51bc534fd5?api-version=2026-10-01&t=639289736533894956&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/984551be-3801-4439-81dd-05d36b800669\",\n - \ \"name\": \"984551be-3801-4439-81dd-05d36b800669\",\n \"status\": \"Accepted\",\n - \ \"startTime\": \"2026-10-22T16:41:31.728912446Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/950d4bfe-147c-477f-8b31-1a51bc534fd5\",\n + \ \"name\": \"950d4bfe-147c-477f-8b31-1a51bc534fd5\",\n \"status\": \"Accepted\",\n + \ \"startTime\": \"2026-10-30T16:14:13.356588035Z\"\n}" headers: cache-control: - no-cache @@ -5421,21 +5671,23 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:41:32 GMT + - Fri, 30 Oct 2026 16:14:13 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 976235FD1178419AA7BC84A216216895 Ref B: SN4AA2022305027 Ref C: 2026-10-30T16:14:13Z' status: code: 200 message: OK @@ -5455,35 +5707,37 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/984551be-3801-4439-81dd-05d36b800669?api-version=2026-10-01&t=639282840923810941&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/950d4bfe-147c-477f-8b31-1a51bc534fd5?api-version=2026-10-01&t=639289736533894956&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/984551be-3801-4439-81dd-05d36b800669\",\n - \ \"name\": \"984551be-3801-4439-81dd-05d36b800669\",\n \"status\": \"Updating\",\n - \ \"startTime\": \"2026-10-22T16:41:31.728912446Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/950d4bfe-147c-477f-8b31-1a51bc534fd5\",\n + \ \"name\": \"950d4bfe-147c-477f-8b31-1a51bc534fd5\",\n \"status\": \"Succeeded\",\n + \ \"startTime\": \"2026-10-30T16:14:13.356588035Z\",\n \"endTime\": \"2026-10-30T16:14:27.202778617Z\"\n}" headers: cache-control: - no-cache content-length: - - '308' + - '358' content-type: - application/json date: - - Thu, 22 Oct 2026 16:42:03 GMT + - Fri, 30 Oct 2026 16:14:43 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: E9B53A4AB0BB4B3ABA52F4D2730B47C4 Ref B: SN4AA2022302027 Ref C: 2026-10-30T16:14:44Z' status: code: 200 message: OK @@ -5503,35 +5757,122 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/984551be-3801-4439-81dd-05d36b800669?api-version=2026-10-01&t=639282840923810941&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002?api-version=2026-10-01 response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/984551be-3801-4439-81dd-05d36b800669\",\n - \ \"name\": \"984551be-3801-4439-81dd-05d36b800669\",\n \"status\": \"Succeeded\",\n - \ \"startTime\": \"2026-10-22T16:41:31.728912446Z\",\n \"endTime\": \"2026-10-22T16:42:05.507801673Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002\",\n + \ \"identity\": {\n \"type\": \"UserAssigned\",\n \"userAssignedIdentities\": + {\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ }\n }\n },\n \"location\": \"uksouth\",\n \"name\": + \"clihcp000002\",\n \"properties\": {\n \"api\": {\n \"url\": + \"https://api.cluster.bhkww.uksouth.aroapp-hcp.io:443\",\n \"visibility\": + \"Public\"\n },\n \"autoscaling\": {\n \"maxNodeProvisionTimeSeconds\": + 900,\n \"maxPodGracePeriodSeconds\": 600,\n \"podPriorityThreshold\": + -10\n },\n \"clusterImageRegistry\": {\n \"state\": + \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.cluster.bhkww.uksouth.aroapp-hcp.io\"\n + \ },\n \"cryptoRestrictions\": \"None\",\n \"dns\": {\n + \ \"baseDomain\": \"bhkww.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": + \"cluster\"\n },\n \"etcd\": {\n \"dataEncryption\": + {\n \"customerManaged\": {\n \"encryptionType\": + \"KMS\",\n \"kms\": {\n \"activeKey\": + {\n \"name\": \"etcd-data-kms-encryption-key\",\n + \ \"version\": \"fecd7bb5b0ba4dd69f6a7cd474194ec1\"\n + \ },\n \"keyVaultType\": \"KeyVault\",\n + \ \"vaultName\": \"clihcpkv000007\",\n \"visibility\": + \"Public\"\n }\n },\n \"keyManagementMode\": + \"CustomerManaged\"\n }\n },\n \"ingress\": {\n \"type\": + \"Public\"\n },\n \"network\": {\n \"hostPrefix\": + 23,\n \"machineCidr\": \"10.0.0.0/16\",\n \"networkType\": + \"OVNKubernetes\",\n \"podCidr\": \"10.128.0.0/14\",\n \"serviceCidr\": + \"172.30.0.0/16\"\n },\n \"nodeDrainTimeoutMinutes\": 30,\n + \ \"platform\": {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2tp73p94e2f58u7sjmi4tmc5mmaavngn\",\n + \ \"managedResourceGroup\": \"clihcp-managed000006\",\n \"networkSecurityGroupId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005\",\n + \ \"operatorsAuthentication\": {\n \"userAssignedIdentities\": + {\n \"controlPlaneOperators\": {\n \"cloud-controller-manager\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011\",\n + \ \"cloud-network-config\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016\",\n + \ \"cluster-api-azure\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009\",\n + \ \"control-plane\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010\",\n + \ \"disk-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013\",\n + \ \"file-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014\",\n + \ \"image-registry\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015\",\n + \ \"ingress\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012\",\n + \ \"kms\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017\"\n + \ },\n \"dataPlaneOperators\": {\n \"disk-csi-driver\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018\",\n + \ \"file-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019\",\n + \ \"image-registry\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020\"\n + \ },\n \"serviceManagedIdentity\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008\"\n + \ }\n },\n \"outboundType\": \"LoadBalancer\",\n + \ \"subnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet\",\n + \ \"vnetIntegrationSubnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet\"\n + \ },\n \"provisioningState\": \"Succeeded\",\n \"status\": + {\n \"activeVersions\": [\n {\n \"version\": + \"4.22\"\n }\n ],\n \"conditions\": [\n + \ {\n \"lastTransitionTime\": \"2026-10-30T16:03:49Z\",\n + \ \"message\": \"\",\n \"reason\": \"Valid\",\n + \ \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n + \ }\n ]\n },\n \"version\": {\n \"channelGroup\": + \"stable\",\n \"id\": \"4.22\"\n }\n },\n \"systemData\": + {\n \"createdAt\": \"2026-10-30T16:03:47.4925397Z\",\n \"createdBy\": + \"recording-user@example.com\",\n \"createdByType\": \"User\",\n \"lastModifiedAt\": + \"2026-10-30T16:14:13.1706555Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n + \ \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters\"\n}" headers: cache-control: - no-cache content-length: - - '358' + - '10290' content-type: - application/json date: - - Thu, 22 Oct 2026 16:42:34 GMT + - Fri, 30 Oct 2026 16:14:45 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '11' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 791440F4B0C247E7BD56CD85E875B0E8 Ref B: SN4AA2022305031 Ref C: 2026-10-30T16:14:45Z' status: code: 200 message: OK @@ -5539,15 +5880,61 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - aro hcp cluster update + - aro hcp cluster nodepool create Connection: - keep-alive ParameterSetName: - - -g -n --node-drain-timeout + - -g --cluster-name -n --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001?api-version=2024-11-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001","name":"cli_test_aro_hcp000001","type":"Microsoft.Resources/resourceGroups","location":"uksouth","tags":{"product":"azurecli","cause":"automation","test":"test_aro_hcp_cluster_lifecycle","date":"2026-10-30T15:59:46Z","module":"aro","createdAt":"2026-10-30T15:59:47.1941792Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '421' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 30 Oct 2026 16:14: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-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: AE11A50122D14E19B55671A81469F688 Ref B: SN4AA2022304031 Ref C: 2026-10-30T16:14:45Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET @@ -5588,18 +5975,18 @@ interactions: \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n \ }\n }\n },\n \"location\": \"uksouth\",\n \"name\": \"clihcp000002\",\n \"properties\": {\n \"api\": {\n \"url\": - \"https://api.b2h5b7m8j9f0n0z.mpdh.uksouth.aroapp-hcp.io:443\",\n \"visibility\": + \"https://api.cluster.bhkww.uksouth.aroapp-hcp.io:443\",\n \"visibility\": \"Public\"\n },\n \"autoscaling\": {\n \"maxNodeProvisionTimeSeconds\": 900,\n \"maxPodGracePeriodSeconds\": 600,\n \"podPriorityThreshold\": -10\n },\n \"clusterImageRegistry\": {\n \"state\": - \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.b2h5b7m8j9f0n0z.mpdh.uksouth.aroapp-hcp.io\"\n + \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.cluster.bhkww.uksouth.aroapp-hcp.io\"\n \ },\n \"cryptoRestrictions\": \"None\",\n \"dns\": {\n - \ \"baseDomain\": \"mpdh.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": - \"b2h5b7m8j9f0n0z\"\n },\n \"etcd\": {\n \"dataEncryption\": + \ \"baseDomain\": \"bhkww.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": + \"cluster\"\n },\n \"etcd\": {\n \"dataEncryption\": {\n \"customerManaged\": {\n \"encryptionType\": \"KMS\",\n \"kms\": {\n \"activeKey\": {\n \"name\": \"etcd-data-kms-encryption-key\",\n - \ \"version\": \"488f22d2a3cc417785b54d3442e2ece0\"\n + \ \"version\": \"fecd7bb5b0ba4dd69f6a7cd474194ec1\"\n \ },\n \"keyVaultType\": \"KeyVault\",\n \ \"vaultName\": \"clihcpkv000007\",\n \"visibility\": \"Public\"\n }\n },\n \"keyManagementMode\": @@ -5608,7 +5995,7 @@ interactions: 23,\n \"machineCidr\": \"10.0.0.0/16\",\n \"networkType\": \"OVNKubernetes\",\n \"podCidr\": \"10.128.0.0/14\",\n \"serviceCidr\": \"172.30.0.0/16\"\n },\n \"nodeDrainTimeoutMinutes\": 30,\n - \ \"platform\": {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2tjuoponimc5ejoltq0vlo8l1ai1rj18\",\n + \ \"platform\": {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2tp73p94e2f58u7sjmi4tmc5mmaavngn\",\n \ \"managedResourceGroup\": \"clihcp-managed000006\",\n \"networkSecurityGroupId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005\",\n \ \"operatorsAuthentication\": {\n \"userAssignedIdentities\": @@ -5633,38 +6020,40 @@ interactions: \ },\n \"provisioningState\": \"Succeeded\",\n \"status\": {\n \"activeVersions\": [\n {\n \"version\": \"4.22\"\n }\n ],\n \"conditions\": [\n - \ {\n \"lastTransitionTime\": \"2026-10-22T16:31:34Z\",\n + \ {\n \"lastTransitionTime\": \"2026-10-30T16:03:49Z\",\n \ \"message\": \"\",\n \"reason\": \"Valid\",\n \ \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n \ }\n ]\n },\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22\"\n }\n },\n \"systemData\": - {\n \"createdAt\": \"2026-10-22T16:31:32.03062Z\",\n \"createdBy\": + {\n \"createdAt\": \"2026-10-30T16:03:47.4925397Z\",\n \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": \"User\",\n \"lastModifiedAt\": - \"2026-10-22T16:41:30.6623255Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n + \"2026-10-30T16:14:13.1706555Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n \ \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters\"\n}" headers: cache-control: - no-cache content-length: - - '10309' + - '10290' content-type: - application/json date: - - Thu, 22 Oct 2026 16:42:35 GMT + - Fri, 30 Oct 2026 16:14:45 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: FDE243AFF5F041BDA98F03EA242CE167 Ref B: DM2AA1091213049 Ref C: 2026-10-30T16:14:46Z' status: code: 200 message: OK @@ -5687,7 +6076,7 @@ interactions: Content-Type: - application/json ParameterSetName: - - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT @@ -5703,13 +6092,13 @@ interactions: \ \"vmSize\": \"Standard_D8s_v3\"\n },\n \"provisioningState\": \"Accepted\",\n \"replicas\": 1,\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22.11\"\n }\n },\n \"systemData\": - {\n \"createdAt\": \"2026-10-22T16:42:38.3230691Z\",\n \"createdBy\": + {\n \"createdAt\": \"2026-10-30T16:14:46.8164827Z\",\n \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": \"User\",\n \"lastModifiedAt\": - \"2026-10-22T16:42:38.3230691Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n + \"2026-10-30T16:14:46.8164827Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n \ \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters/nodePools\"\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED cache-control: - no-cache content-length: @@ -5717,23 +6106,25 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:42:38 GMT + - Fri, 30 Oct 2026 16:14:46 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '28' + - '31' x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 8CDA87860B8B45FEA90B551377FFE2FF Ref B: SN4AA2022301033 Ref C: 2026-10-30T16:14:46Z' status: code: 201 message: Created @@ -5749,16 +6140,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n - \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Accepted\",\n - \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n + \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Accepted\",\n + \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" headers: cache-control: - no-cache @@ -5767,21 +6158,23 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:42:39 GMT + - Fri, 30 Oct 2026 16:14:47 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: BA5816C82185414585095F4C4296F71E Ref B: DM2AA1091213025 Ref C: 2026-10-30T16:14:47Z' status: code: 200 message: OK @@ -5797,16 +6190,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n - \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n + \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" headers: cache-control: - no-cache @@ -5815,21 +6208,23 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:43:10 GMT + - Fri, 30 Oct 2026 16:15:17 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 298F63B77F374A8A93612CC784BFB370 Ref B: DM2AA1091213017 Ref C: 2026-10-30T16:15:17Z' status: code: 200 message: OK @@ -5845,16 +6240,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n - \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n + \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" headers: cache-control: - no-cache @@ -5863,21 +6258,23 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:43:41 GMT + - Fri, 30 Oct 2026 16:15:48 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: DEEFFBEBDC884D0CADFA825F495587F2 Ref B: SN4AA2022301053 Ref C: 2026-10-30T16:15:48Z' status: code: 200 message: OK @@ -5893,16 +6290,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n - \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n + \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" headers: cache-control: - no-cache @@ -5911,21 +6308,23 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:44:11 GMT + - Fri, 30 Oct 2026 16:16:19 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 9750096131124633945294770E3488F6 Ref B: SN4AA2022301037 Ref C: 2026-10-30T16:16:19Z' status: code: 200 message: OK @@ -5941,16 +6340,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n - \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n + \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" headers: cache-control: - no-cache @@ -5959,7 +6358,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:44:43 GMT + - Fri, 30 Oct 2026 16:16:50 GMT expires: - '-1' pragma: @@ -5971,7 +6370,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -5989,16 +6388,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n - \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n + \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" headers: cache-control: - no-cache @@ -6007,7 +6406,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:45:13 GMT + - Fri, 30 Oct 2026 16:17:21 GMT expires: - '-1' pragma: @@ -6019,7 +6418,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -6037,16 +6436,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n - \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n + \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" headers: cache-control: - no-cache @@ -6055,21 +6454,23 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:45:44 GMT + - Fri, 30 Oct 2026 16:17:51 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: F4A66FB968E34924BC69B5FCBBB72106 Ref B: SN4AA2022401023 Ref C: 2026-10-30T16:17:51Z' status: code: 200 message: OK @@ -6085,16 +6486,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n - \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n + \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" headers: cache-control: - no-cache @@ -6103,7 +6504,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:46:15 GMT + - Fri, 30 Oct 2026 16:18:22 GMT expires: - '-1' pragma: @@ -6115,7 +6516,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -6133,16 +6534,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n - \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n + \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" headers: cache-control: - no-cache @@ -6151,21 +6552,23 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:46:46 GMT + - Fri, 30 Oct 2026 16:18:52 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: C44BE5045BF0406BAA606F15A91B71DE Ref B: SN4AA2022304027 Ref C: 2026-10-30T16:18:53Z' status: code: 200 message: OK @@ -6181,16 +6584,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n - \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n + \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" headers: cache-control: - no-cache @@ -6199,21 +6602,23 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:47:18 GMT + - Fri, 30 Oct 2026 16:19:23 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 64489BDBCB7F4CFEAE70B1F84870E24E Ref B: SN4AA2022303031 Ref C: 2026-10-30T16:19:23Z' status: code: 200 message: OK @@ -6229,16 +6634,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n - \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n + \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" headers: cache-control: - no-cache @@ -6247,7 +6652,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:47:48 GMT + - Fri, 30 Oct 2026 16:19:54 GMT expires: - '-1' pragma: @@ -6277,16 +6682,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n - \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n + \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" headers: cache-control: - no-cache @@ -6295,7 +6700,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:48:19 GMT + - Fri, 30 Oct 2026 16:20:25 GMT expires: - '-1' pragma: @@ -6325,16 +6730,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n - \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n + \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" headers: cache-control: - no-cache @@ -6343,7 +6748,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:48:50 GMT + - Fri, 30 Oct 2026 16:20:56 GMT expires: - '-1' pragma: @@ -6355,7 +6760,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -6373,16 +6778,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n - \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n + \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" headers: cache-control: - no-cache @@ -6391,7 +6796,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:49:21 GMT + - Fri, 30 Oct 2026 16:21:26 GMT expires: - '-1' pragma: @@ -6421,16 +6826,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n - \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n + \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" headers: cache-control: - no-cache @@ -6439,7 +6844,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:49:52 GMT + - Fri, 30 Oct 2026 16:21:57 GMT expires: - '-1' pragma: @@ -6451,7 +6856,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -6469,16 +6874,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n - \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n + \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" headers: cache-control: - no-cache @@ -6487,7 +6892,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:50:23 GMT + - Fri, 30 Oct 2026 16:22:27 GMT expires: - '-1' pragma: @@ -6517,25 +6922,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a?api-version=2026-10-01&t=639282841594168120&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n - \ \"name\": \"90e1f0b1-08c8-4954-b8a7-0f2a060a421a\",\n \"status\": \"Succeeded\",\n - \ \"startTime\": \"2026-10-22T16:42:38.755930929Z\",\n \"endTime\": \"2026-10-22T16:50:25.49374527Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n + \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Succeeded\",\n + \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\",\n \"endTime\": \"2026-10-30T16:22:47.340468444Z\"\n}" headers: cache-control: - no-cache content-length: - - '357' + - '358' content-type: - application/json date: - - Thu, 22 Oct 2026 16:50:53 GMT + - Fri, 30 Oct 2026 16:22:58 GMT expires: - '-1' pragma: @@ -6547,7 +6952,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '12' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -6565,7 +6970,7 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --cluster-name -n --location --replicas --vm-size --version --channel-group + - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET @@ -6582,13 +6987,13 @@ interactions: \"Succeeded\",\n \"replicas\": 1,\n \"status\": {\n \"activeVersions\": [\n {\n \"version\": \"4.22.11\"\n }\n \ ],\n \"conditions\": [\n {\n \"lastTransitionTime\": - \"2026-10-22T16:42:40Z\",\n \"message\": \"\",\n \"reason\": + \"2026-10-30T16:14:48Z\",\n \"message\": \"\",\n \"reason\": \"Valid\",\n \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n }\n ]\n },\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22.11\"\n - \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-22T16:42:38.3230691Z\",\n + \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-30T16:14:46.8164827Z\",\n \ \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": - \"User\",\n \"lastModifiedAt\": \"2026-10-22T16:42:38.3230691Z\",\n + \"User\",\n \"lastModifiedAt\": \"2026-10-30T16:14:46.8164827Z\",\n \ \"lastModifiedBy\": \"recording-user@example.com\",\n \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters/nodePools\"\n}" headers: @@ -6599,7 +7004,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:50:55 GMT + - Fri, 30 Oct 2026 16:22:59 GMT expires: - '-1' pragma: @@ -6646,13 +7051,13 @@ interactions: \"Succeeded\",\n \"replicas\": 1,\n \"status\": {\n \"activeVersions\": [\n {\n \"version\": \"4.22.11\"\n }\n \ ],\n \"conditions\": [\n {\n \"lastTransitionTime\": - \"2026-10-22T16:42:40Z\",\n \"message\": \"\",\n \"reason\": + \"2026-10-30T16:14:48Z\",\n \"message\": \"\",\n \"reason\": \"Valid\",\n \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n }\n ]\n },\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22.11\"\n - \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-22T16:42:38.3230691Z\",\n + \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-30T16:14:46.8164827Z\",\n \ \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": - \"User\",\n \"lastModifiedAt\": \"2026-10-22T16:42:38.3230691Z\",\n + \"User\",\n \"lastModifiedAt\": \"2026-10-30T16:14:46.8164827Z\",\n \ \"lastModifiedBy\": \"recording-user@example.com\",\n \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters/nodePools\"\n}" headers: @@ -6663,7 +7068,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:50:56 GMT + - Fri, 30 Oct 2026 16:23:01 GMT expires: - '-1' pragma: @@ -6675,7 +7080,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -6710,13 +7115,13 @@ interactions: \"Succeeded\",\n \"replicas\": 1,\n \"status\": {\n \"activeVersions\": [\n {\n \"version\": \"4.22.11\"\n }\n \ ],\n \"conditions\": [\n {\n \"lastTransitionTime\": - \"2026-10-22T16:42:40Z\",\n \"message\": \"\",\n \"reason\": + \"2026-10-30T16:14:48Z\",\n \"message\": \"\",\n \"reason\": \"Valid\",\n \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n }\n ]\n },\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22.11\"\n - \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-22T16:42:38.3230691Z\",\n + \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-30T16:14:46.8164827Z\",\n \ \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": - \"User\",\n \"lastModifiedAt\": \"2026-10-22T16:42:38.3230691Z\",\n + \"User\",\n \"lastModifiedAt\": \"2026-10-30T16:14:46.8164827Z\",\n \ \"lastModifiedBy\": \"recording-user@example.com\",\n \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters/nodePools\"\n}" headers: @@ -6727,7 +7132,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:50:57 GMT + - Fri, 30 Oct 2026 16:23:01 GMT expires: - '-1' pragma: @@ -6739,7 +7144,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '11' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -6783,18 +7188,18 @@ interactions: \"Accepted\",\n \"replicas\": 1,\n \"status\": {\n \"activeVersions\": [\n {\n \"version\": \"4.22.11\"\n }\n \ ],\n \"conditions\": [\n {\n \"lastTransitionTime\": - \"2026-10-22T16:42:40Z\",\n \"message\": \"\",\n \"reason\": + \"2026-10-30T16:14:48Z\",\n \"message\": \"\",\n \"reason\": \"Valid\",\n \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n }\n ]\n },\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22.11\"\n - \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-22T16:42:38.3230691Z\",\n + \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-30T16:14:46.8164827Z\",\n \ \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": - \"User\",\n \"lastModifiedAt\": \"2026-10-22T16:50:58.2269639Z\",\n + \"User\",\n \"lastModifiedAt\": \"2026-10-30T16:23:02.8889932Z\",\n \ \"lastModifiedBy\": \"recording-user@example.com\",\n \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters/nodePools\"\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c084d708-68bd-44de-9ac9-70ca270e8f8c?api-version=2026-10-01&t=639282846597113364&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/810a11af-fbc1-4534-b0a0-4a92035462be?api-version=2026-10-01&t=639289741842952481&c=REDACTED&s=REDACTED&h=REDACTED cache-control: - no-cache content-length: @@ -6802,7 +7207,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:50:59 GMT + - Fri, 30 Oct 2026 16:23:03 GMT expires: - '-1' pragma: @@ -6814,7 +7219,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '35' + - '29' x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: @@ -6838,12 +7243,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c084d708-68bd-44de-9ac9-70ca270e8f8c?api-version=2026-10-01&t=639282846597113364&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/810a11af-fbc1-4534-b0a0-4a92035462be?api-version=2026-10-01&t=639289741842952481&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c084d708-68bd-44de-9ac9-70ca270e8f8c\",\n - \ \"name\": \"c084d708-68bd-44de-9ac9-70ca270e8f8c\",\n \"status\": \"Accepted\",\n - \ \"startTime\": \"2026-10-22T16:50:58.679373876Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/810a11af-fbc1-4534-b0a0-4a92035462be\",\n + \ \"name\": \"810a11af-fbc1-4534-b0a0-4a92035462be\",\n \"status\": \"Accepted\",\n + \ \"startTime\": \"2026-10-30T16:23:03.320870874Z\"\n}" headers: cache-control: - no-cache @@ -6852,7 +7257,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:51:00 GMT + - Fri, 30 Oct 2026 16:23:04 GMT expires: - '-1' pragma: @@ -6864,7 +7269,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -6886,12 +7291,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c084d708-68bd-44de-9ac9-70ca270e8f8c?api-version=2026-10-01&t=639282846597113364&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/810a11af-fbc1-4534-b0a0-4a92035462be?api-version=2026-10-01&t=639289741842952481&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c084d708-68bd-44de-9ac9-70ca270e8f8c\",\n - \ \"name\": \"c084d708-68bd-44de-9ac9-70ca270e8f8c\",\n \"status\": \"Updating\",\n - \ \"startTime\": \"2026-10-22T16:50:58.679373876Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/810a11af-fbc1-4534-b0a0-4a92035462be\",\n + \ \"name\": \"810a11af-fbc1-4534-b0a0-4a92035462be\",\n \"status\": \"Updating\",\n + \ \"startTime\": \"2026-10-30T16:23:03.320870874Z\"\n}" headers: cache-control: - no-cache @@ -6900,7 +7305,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:51:31 GMT + - Fri, 30 Oct 2026 16:23:35 GMT expires: - '-1' pragma: @@ -6912,11 +7317,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '13' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: 15CEA96EF90B47E9B660A32411BD466E Ref B: DM2AA1091213025 Ref C: 2026-10-22T16:51:31Z' + - 'Ref A: 8E85CA27E78A477298DA4BF8141078C7 Ref B: DM2AA1091211029 Ref C: 2026-10-30T16:23:35Z' status: code: 200 message: OK @@ -6936,12 +7341,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c084d708-68bd-44de-9ac9-70ca270e8f8c?api-version=2026-10-01&t=639282846597113364&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/810a11af-fbc1-4534-b0a0-4a92035462be?api-version=2026-10-01&t=639289741842952481&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c084d708-68bd-44de-9ac9-70ca270e8f8c\",\n - \ \"name\": \"c084d708-68bd-44de-9ac9-70ca270e8f8c\",\n \"status\": \"Updating\",\n - \ \"startTime\": \"2026-10-22T16:50:58.679373876Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/810a11af-fbc1-4534-b0a0-4a92035462be\",\n + \ \"name\": \"810a11af-fbc1-4534-b0a0-4a92035462be\",\n \"status\": \"Updating\",\n + \ \"startTime\": \"2026-10-30T16:23:03.320870874Z\"\n}" headers: cache-control: - no-cache @@ -6950,7 +7355,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:52:02 GMT + - Fri, 30 Oct 2026 16:24:06 GMT expires: - '-1' pragma: @@ -6962,7 +7367,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -6984,21 +7389,21 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c084d708-68bd-44de-9ac9-70ca270e8f8c?api-version=2026-10-01&t=639282846597113364&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/810a11af-fbc1-4534-b0a0-4a92035462be?api-version=2026-10-01&t=639289741842952481&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c084d708-68bd-44de-9ac9-70ca270e8f8c\",\n - \ \"name\": \"c084d708-68bd-44de-9ac9-70ca270e8f8c\",\n \"status\": \"Succeeded\",\n - \ \"startTime\": \"2026-10-22T16:50:58.679373876Z\",\n \"endTime\": \"2026-10-22T16:52:15.53902255Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/810a11af-fbc1-4534-b0a0-4a92035462be\",\n + \ \"name\": \"810a11af-fbc1-4534-b0a0-4a92035462be\",\n \"status\": \"Succeeded\",\n + \ \"startTime\": \"2026-10-30T16:23:03.320870874Z\",\n \"endTime\": \"2026-10-30T16:24:27.257152965Z\"\n}" headers: cache-control: - no-cache content-length: - - '357' + - '358' content-type: - application/json date: - - Thu, 22 Oct 2026 16:52:32 GMT + - Fri, 30 Oct 2026 16:24:37 GMT expires: - '-1' pragma: @@ -7010,7 +7415,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -7046,13 +7451,13 @@ interactions: \"Succeeded\",\n \"replicas\": 1,\n \"status\": {\n \"activeVersions\": [\n {\n \"version\": \"4.22.11\"\n }\n \ ],\n \"conditions\": [\n {\n \"lastTransitionTime\": - \"2026-10-22T16:42:40Z\",\n \"message\": \"\",\n \"reason\": + \"2026-10-30T16:14:48Z\",\n \"message\": \"\",\n \"reason\": \"Valid\",\n \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n }\n ]\n },\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22.11\"\n - \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-22T16:42:38.3230691Z\",\n + \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-30T16:14:46.8164827Z\",\n \ \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": - \"User\",\n \"lastModifiedAt\": \"2026-10-22T16:50:58.2269639Z\",\n + \"User\",\n \"lastModifiedAt\": \"2026-10-30T16:23:02.8889932Z\",\n \ \"lastModifiedBy\": \"recording-user@example.com\",\n \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters/nodePools\"\n}" headers: @@ -7063,7 +7468,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:52:34 GMT + - Fri, 30 Oct 2026 16:24:37 GMT expires: - '-1' pragma: @@ -7105,17 +7510,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379?api-version=2026-10-01&t=639282847562851009&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3?api-version=2026-10-01&t=639289742801966019&c=REDACTED&s=REDACTED&h=REDACTED cache-control: - no-cache content-length: - '0' date: - - Thu, 22 Oct 2026 16:52:35 GMT + - Fri, 30 Oct 2026 16:24:39 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/e0f158a4-12d8-4f6b-a7cb-03515613f379?api-version=2026-10-01&t=639282847562851009&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/fd798d2c-773f-4e8a-b646-ada0433d7ff3?api-version=2026-10-01&t=639289742801966019&c=REDACTED&s=REDACTED&h=REDACTED pragma: - no-cache server: @@ -7125,7 +7530,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '26' + - '28' x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: @@ -7149,12 +7554,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379?api-version=2026-10-01&t=639282847562851009&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3?api-version=2026-10-01&t=639289742801966019&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n - \ \"name\": \"e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n \"status\": \"Accepted\",\n - \ \"startTime\": \"2026-10-22T16:52:35.278327164Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n + \ \"name\": \"fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-30T16:24:39.178506427Z\"\n}" headers: cache-control: - no-cache @@ -7163,7 +7568,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:52:36 GMT + - Fri, 30 Oct 2026 16:24:39 GMT expires: - '-1' pragma: @@ -7175,7 +7580,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '11' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' status: @@ -7197,12 +7602,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379?api-version=2026-10-01&t=639282847562851009&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3?api-version=2026-10-01&t=639289742801966019&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n - \ \"name\": \"e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-22T16:52:35.278327164Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n + \ \"name\": \"fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-30T16:24:39.178506427Z\"\n}" headers: cache-control: - no-cache @@ -7211,7 +7616,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:53:07 GMT + - Fri, 30 Oct 2026 16:25:10 GMT expires: - '-1' pragma: @@ -7223,11 +7628,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: AD7346EFB4BF4E7F9447975C22F433FF Ref B: SN4AA2022304027 Ref C: 2026-10-22T16:53:07Z' + - 'Ref A: CC025CE4FB6A4B339A4935BBD1B80809 Ref B: SN4AA2022302025 Ref C: 2026-10-30T16:25:11Z' status: code: 200 message: OK @@ -7247,12 +7652,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379?api-version=2026-10-01&t=639282847562851009&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3?api-version=2026-10-01&t=639289742801966019&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n - \ \"name\": \"e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-22T16:52:35.278327164Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n + \ \"name\": \"fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-30T16:24:39.178506427Z\"\n}" headers: cache-control: - no-cache @@ -7261,21 +7666,23 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:53:38 GMT + - Fri, 30 Oct 2026 16:25:42 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: F2B4CA10F6EB47C6A6C32EDB6E37CDD0 Ref B: SN4AA2022302031 Ref C: 2026-10-30T16:25:41Z' status: code: 200 message: OK @@ -7295,12 +7702,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379?api-version=2026-10-01&t=639282847562851009&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3?api-version=2026-10-01&t=639289742801966019&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n - \ \"name\": \"e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-22T16:52:35.278327164Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n + \ \"name\": \"fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-30T16:24:39.178506427Z\"\n}" headers: cache-control: - no-cache @@ -7309,21 +7716,23 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:54:09 GMT + - Fri, 30 Oct 2026 16:26:12 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 0E3FADE680234ABA9B00B3478052ECED Ref B: SN4AA2022301049 Ref C: 2026-10-30T16:26:12Z' status: code: 200 message: OK @@ -7343,12 +7752,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379?api-version=2026-10-01&t=639282847562851009&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3?api-version=2026-10-01&t=639289742801966019&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n - \ \"name\": \"e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-22T16:52:35.278327164Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n + \ \"name\": \"fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-30T16:24:39.178506427Z\"\n}" headers: cache-control: - no-cache @@ -7357,21 +7766,23 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:54:40 GMT + - Fri, 30 Oct 2026 16:26:43 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 262BB0A6CDA74094AFA796F3253C21F4 Ref B: SN4AA2022302053 Ref C: 2026-10-30T16:26:43Z' status: code: 200 message: OK @@ -7391,12 +7802,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379?api-version=2026-10-01&t=639282847562851009&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3?api-version=2026-10-01&t=639289742801966019&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n - \ \"name\": \"e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-22T16:52:35.278327164Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n + \ \"name\": \"fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-30T16:24:39.178506427Z\"\n}" headers: cache-control: - no-cache @@ -7405,21 +7816,23 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:55:11 GMT + - Fri, 30 Oct 2026 16:27:14 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: B9E48ED037084D9E8AA3F81C48E1BE43 Ref B: DM2AA1091211033 Ref C: 2026-10-30T16:27:13Z' status: code: 200 message: OK @@ -7439,21 +7852,21 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379?api-version=2026-10-01&t=639282847562851009&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3?api-version=2026-10-01&t=639289742801966019&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n - \ \"name\": \"e0f158a4-12d8-4f6b-a7cb-03515613f379\",\n \"status\": \"Succeeded\",\n - \ \"startTime\": \"2026-10-22T16:52:35.278327164Z\",\n \"endTime\": \"2026-10-22T16:55:35.50474627Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n + \ \"name\": \"fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n \"status\": \"Succeeded\",\n + \ \"startTime\": \"2026-10-30T16:24:39.178506427Z\",\n \"endTime\": \"2026-10-30T16:27:27.204419076Z\"\n}" headers: cache-control: - no-cache content-length: - - '357' + - '358' content-type: - application/json date: - - Thu, 22 Oct 2026 16:55:42 GMT + - Fri, 30 Oct 2026 16:27:45 GMT expires: - '-1' pragma: @@ -7465,11 +7878,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: 6BAD016DEB2546FC9E31FE860BB9E2C6 Ref B: DM2AA1091213035 Ref C: 2026-10-22T16:55:42Z' + - 'Ref A: 1DC66083B54143D5A9072A53A72A72E8 Ref B: SN4AA2022304019 Ref C: 2026-10-30T16:27:44Z' status: code: 200 message: OK @@ -7489,7 +7902,7 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/e0f158a4-12d8-4f6b-a7cb-03515613f379?api-version=2026-10-01&t=639282847562851009&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/fd798d2c-773f-4e8a-b646-ada0433d7ff3?api-version=2026-10-01&t=639289742801966019&c=REDACTED&s=REDACTED&h=REDACTED response: body: string: '' @@ -7497,7 +7910,7 @@ interactions: cache-control: - no-cache date: - - Thu, 22 Oct 2026 16:55:43 GMT + - Fri, 30 Oct 2026 16:27:45 GMT expires: - '-1' pragma: @@ -7509,11 +7922,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: 1FBFFD9D68984F8F9A3742A4EF639D69 Ref B: DM2AA1091212027 Ref C: 2026-10-22T16:55:43Z' + - 'Ref A: 178CBE5E39B94BA7A6A4BA8C32D665C7 Ref B: DM2AA1091212049 Ref C: 2026-10-30T16:27:45Z' status: code: 204 message: No Content @@ -7541,17 +7954,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED cache-control: - no-cache content-length: - '0' date: - - Thu, 22 Oct 2026 16:55:44 GMT + - Fri, 30 Oct 2026 16:27:47 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED pragma: - no-cache strict-transport-security: @@ -7561,13 +7974,13 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '38' + - '52' x-ms-ratelimit-remaining-subscription-deletes: - '199' x-ms-ratelimit-remaining-subscription-global-deletes: - '2999' x-msedge-ref: - - 'Ref A: 076E92C60C0D41938A08686B6F3B753C Ref B: SN4AA2022305037 Ref C: 2026-10-22T16:55:44Z' + - 'Ref A: 5761B588E9A245D18C5EF3BA78523449 Ref B: DM2AA1091214011 Ref C: 2026-10-30T16:27:46Z' status: code: 202 message: Accepted @@ -7587,12 +8000,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n - \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n + \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" headers: cache-control: - no-cache @@ -7601,7 +8014,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:55:45 GMT + - Fri, 30 Oct 2026 16:27:47 GMT expires: - '-1' pragma: @@ -7613,11 +8026,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '11' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: 575598742F024F9FAEDA447E12E69CF6 Ref B: SN4AA2022305021 Ref C: 2026-10-22T16:55:44Z' + - 'Ref A: FE622DC53D9543E5A11CE6241C0F5695 Ref B: SN4AA2022302049 Ref C: 2026-10-30T16:27:47Z' status: code: 200 message: OK @@ -7637,12 +8050,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n - \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n + \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" headers: cache-control: - no-cache @@ -7651,21 +8064,23 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:56:15 GMT + - Fri, 30 Oct 2026 16:28:19 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: D752466B8EA24E83BEA1390AEFF03362 Ref B: SN4AA2022304047 Ref C: 2026-10-30T16:28:18Z' status: code: 200 message: OK @@ -7685,12 +8100,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n - \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n + \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" headers: cache-control: - no-cache @@ -7699,21 +8114,23 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:56:46 GMT + - Fri, 30 Oct 2026 16:28:49 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: D6F69C89DAEB448698647B08F02CAAB6 Ref B: SN4AA2022305023 Ref C: 2026-10-30T16:28:49Z' status: code: 200 message: OK @@ -7733,12 +8150,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n - \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n + \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" headers: cache-control: - no-cache @@ -7747,21 +8164,23 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:57:17 GMT + - Fri, 30 Oct 2026 16:29:20 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: F1298D9E8DDF4AAE8022B0B21625E414 Ref B: SN4AA2022305011 Ref C: 2026-10-30T16:29:20Z' status: code: 200 message: OK @@ -7781,12 +8200,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n - \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n + \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" headers: cache-control: - no-cache @@ -7795,21 +8214,23 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:57:48 GMT + - Fri, 30 Oct 2026 16:29:51 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 876CC59A912B45E49FAD20389AF3EF7A Ref B: DM2AA1091211045 Ref C: 2026-10-30T16:29:51Z' status: code: 200 message: OK @@ -7829,12 +8250,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n - \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n + \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" headers: cache-control: - no-cache @@ -7843,21 +8264,23 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:58:18 GMT + - Fri, 30 Oct 2026 16:30:22 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '17' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: A1AF8658AE3543E087A0434E7AAFEC02 Ref B: SN4AA2022301017 Ref C: 2026-10-30T16:30:21Z' status: code: 200 message: OK @@ -7877,12 +8300,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n - \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n + \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" headers: cache-control: - no-cache @@ -7891,7 +8314,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:58:49 GMT + - Fri, 30 Oct 2026 16:30:52 GMT expires: - '-1' pragma: @@ -7903,11 +8326,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: E49C95FBB80141CB913B39B46E7AF14A Ref B: DM2AA1091214047 Ref C: 2026-10-22T16:58:50Z' + - 'Ref A: D73D64CB32C04F8CBD6CDF407FF46A79 Ref B: SN4AA2022305051 Ref C: 2026-10-30T16:30:52Z' status: code: 200 message: OK @@ -7927,12 +8350,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n - \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n + \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" headers: cache-control: - no-cache @@ -7941,7 +8364,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:59:21 GMT + - Fri, 30 Oct 2026 16:31:23 GMT expires: - '-1' pragma: @@ -7975,12 +8398,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n - \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n + \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" headers: cache-control: - no-cache @@ -7989,7 +8412,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 16:59:51 GMT + - Fri, 30 Oct 2026 16:31:54 GMT expires: - '-1' pragma: @@ -8023,12 +8446,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n - \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n + \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" headers: cache-control: - no-cache @@ -8037,107 +8460,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 17:00:23 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-cache: - - CONFIG_NOCACHE - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '9' - x-ms-ratelimit-remaining-subscription-global-reads: - - '3749' - x-msedge-ref: - - 'Ref A: CB8352A3DA1E4876B022BCCC5F706DB5 Ref B: SN4AA2022302053 Ref C: 2026-10-22T17:00:22Z' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aro hcp cluster delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n - \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" - headers: - cache-control: - - no-cache - content-length: - - '308' - content-type: - - application/json - date: - - Thu, 22 Oct 2026 17:00:53 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-cache: - - CONFIG_NOCACHE - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '12' - x-ms-ratelimit-remaining-subscription-global-reads: - - '3749' - x-msedge-ref: - - 'Ref A: 6FD4CF7F3A1A4A6A95BDBD05A05B70B2 Ref B: SN4AA2022302035 Ref C: 2026-10-22T17:00:53Z' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aro hcp cluster delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n - \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" - headers: - cache-control: - - no-cache - content-length: - - '308' - content-type: - - application/json - date: - - Thu, 22 Oct 2026 17:01:24 GMT + - Fri, 30 Oct 2026 16:32:24 GMT expires: - '-1' pragma: @@ -8171,12 +8494,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n - \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n + \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" headers: cache-control: - no-cache @@ -8185,7 +8508,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 17:01:55 GMT + - Fri, 30 Oct 2026 16:32:55 GMT expires: - '-1' pragma: @@ -8197,11 +8520,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: B4837059623D49E08E030C4AD9880B00 Ref B: DM2AA1091212033 Ref C: 2026-10-22T17:01:55Z' + - 'Ref A: F1E8C25BE16243C0B2B4E3DC8BB9D3FC Ref B: DM2AA1091211047 Ref C: 2026-10-30T16:32:55Z' status: code: 200 message: OK @@ -8221,12 +8544,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n - \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n + \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" headers: cache-control: - no-cache @@ -8235,23 +8558,21 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 17:02:26 GMT + - Fri, 30 Oct 2026 16:33:26 GMT expires: - '-1' pragma: - no-cache + server: + - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains - x-cache: - - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' - x-msedge-ref: - - 'Ref A: 04CBC4C8D05241D99CAC40BC13075E0B Ref B: SN4AA2022302033 Ref C: 2026-10-22T17:02:26Z' status: code: 200 message: OK @@ -8271,12 +8592,12 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n - \ \"name\": \"a22a10b4-d1a2-43d6-a987-c01e910474e3\",\n \"status\": \"Succeeded\",\n - \ \"startTime\": \"2026-10-22T16:55:44.571889407Z\",\n \"endTime\": \"2026-10-22T17:02:36.638920481Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n + \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Succeeded\",\n + \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\",\n \"endTime\": \"2026-10-30T16:33:48.656500309Z\"\n}" headers: cache-control: - no-cache @@ -8285,7 +8606,7 @@ interactions: content-type: - application/json date: - - Thu, 22 Oct 2026 17:02:58 GMT + - Fri, 30 Oct 2026 16:33:56 GMT expires: - '-1' pragma: @@ -8319,7 +8640,7 @@ interactions: User-Agent: - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/a22a10b4-d1a2-43d6-a987-c01e910474e3?api-version=2026-10-01&t=639282849446066625&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED response: body: string: '' @@ -8327,7 +8648,7 @@ interactions: cache-control: - no-cache date: - - Thu, 22 Oct 2026 17:02:58 GMT + - Fri, 30 Oct 2026 16:33:57 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/test_aro_hcp_scenario.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/test_aro_hcp_scenario.py index 56b6df01397..2063294a6a9 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/test_aro_hcp_scenario.py +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/test_aro_hcp_scenario.py @@ -370,7 +370,7 @@ def test_aro_hcp_cluster_lifecycle(self, resource_group): self.cmd( 'aro hcp cluster nodepool create -g {rg} --cluster-name {cluster} ' - '-n {nodepool} --location uksouth --replicas 1 ' + '-n {nodepool} --replicas 1 ' '--vm-size Standard_D8s_v3 --version 4.22.11 ' '--channel-group stable', checks=[ diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_commands.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_commands.py index 0969dc14712..1beb4921207 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_commands.py +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_commands.py @@ -22,6 +22,7 @@ def command_group(self, name): class CommandTableTest(unittest.TestCase): + @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp.custom.NodepoolCreate", autospec=True) @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp.custom.GetVersions", autospec=True) @mock.patch("azure.cli.command_modules.aro.aaz.latest.aro.hcp.cluster.nodepool._show.Show", autospec=True) @mock.patch("azure.cli.command_modules.aro.aaz.latest.aro.hcp.cluster.nodepool._list.List", autospec=True) @@ -32,7 +33,7 @@ class CommandTableTest(unittest.TestCase): @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp.custom.ClusterCreate", autospec=True) def test_load_command_table_registers_custom_commands_and_transformers( self, cluster_create, cluster_update, request_credential, cluster_list, cluster_show, - nodepool_list, nodepool_show, get_versions): + nodepool_list, nodepool_show, get_versions, nodepool_create): loader = _Loader() load_command_table(loader, None) @@ -48,6 +49,7 @@ def test_load_command_table_registers_custom_commands_and_transformers( "aro hcp cluster request-credential", "aro hcp cluster list", "aro hcp cluster show", + "aro hcp cluster nodepool create", "aro hcp cluster nodepool list", "aro hcp cluster nodepool show", "aro hcp get-versions", @@ -59,6 +61,7 @@ def test_load_command_table_registers_custom_commands_and_transformers( request_credential.assert_called_once_with(loader=loader) cluster_list.assert_called_once() cluster_show.assert_called_once() + nodepool_create.assert_called_once_with(loader=loader) nodepool_list.assert_called_once() nodepool_show.assert_called_once() get_versions.assert_called_once_with(loader=loader) diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py index 2779c9bdb38..b298d65089f 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py @@ -8,10 +8,11 @@ import unittest from unittest import mock +from azure.cli.core.aaz import AAZUndefined from azure.cli.core.aaz._field_value import AAZObject from azure.cli.core.azclierror import InvalidArgumentValueError, MutuallyExclusiveArgumentError -from azure.cli.command_modules.aro.azext_aro_hcp.custom import ClusterCreate, ClusterUpdate, GetVersions, RequestCredential +from azure.cli.command_modules.aro.azext_aro_hcp.custom import ClusterCreate, ClusterUpdate, GetVersions, NodepoolCreate, RequestCredential SUBNET_ID = ("/subscriptions/000/resourceGroups/network-rg/providers/Microsoft.Network/" @@ -42,6 +43,25 @@ def __init__(self, name, resource_id): class ClusterCreateTest(unittest.TestCase): + def test_required_create_arguments_are_marked_required_in_help(self): + schema = ClusterCreate._build_arguments_schema() + + for name in ( + "name", + "resource_group", + "version", + "key_management_mode", + "subnet_id", + "vnet_integration_subnet_id", + "nsg", + "assign_control_plane_operator_identity", + "assign_data_plane_operator_identity", + "assign_service_managed_identity", + ): + with self.subTest(argument=name): + command_arg = getattr(schema, name).to_cmd_arg(name) + self.assertTrue(command_arg.type.settings["required"]) + def test_help_examples_use_custom_identity_arguments(self): example_text = " ".join(example["text"] for example in ClusterCreate.AZ_HELP["examples"]) @@ -59,7 +79,29 @@ def test_key_management_mode_is_required_without_default(self): schema = ClusterCreate._build_arguments_schema() self.assertTrue(schema.key_management_mode._required) - self.assertIsNone(schema.key_management_mode._default) + self.assertIs(schema.key_management_mode._default, AAZUndefined) + + command_arg = schema.key_management_mode.to_cmd_arg("key_management_mode") + settings = command_arg.type.settings + self.assertTrue(settings["required"]) + self.assertIs(settings["default"], AAZUndefined) + + parser = argparse.ArgumentParser() + parser.add_argument( + *command_arg.options_list, + required=settings["required"], + default=settings["default"], + action=settings["action"], + choices=settings["choices"], + ) + with mock.patch("sys.stderr") as stderr, self.assertRaises(SystemExit) as error: + parser.parse_args([]) + self.assertEqual(error.exception.code, 2) + self.assertIn("--key-management-mode", "".join(call.args[0] for call in stderr.write.call_args_list)) + + args = parser.parse_args(["--key-management-mode", "CustomerManaged"]) + self.assertIsNotNone(args.key_management_mode) + @staticmethod def _identity_parser(): @@ -240,6 +282,58 @@ def test_content_replaces_identity_type(self): self.assertEqual({}, operation.content["identity"]["userAssignedIdentities"]) +class NodepoolCreateTest(unittest.TestCase): + + def test_vm_size_and_version_are_required_in_help(self): + schema = NodepoolCreate._build_arguments_schema() + + for name in ("vm_size", "version"): + with self.subTest(argument=name): + command_arg = getattr(schema, name).to_cmd_arg(name) + self.assertTrue(command_arg.type.settings["required"]) + + def test_location_is_not_registered_or_required(self): + schema = NodepoolCreate._build_arguments_schema() + + self.assertFalse(schema.location._registered) + self.assertFalse(schema.location._required) + + def test_help_examples_omit_location(self): + for example in NodepoolCreate.AZ_HELP["examples"]: + self.assertNotIn("--location", example["text"]) + + @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp.custom._ClusterShow") + def test_content_uses_parent_cluster_location(self, cluster_show): + for location in ("eastus", "westus"): + with self.subTest(location=location): + cluster_show.reset_mock() + cluster_show.return_value.return_value = {"location": location} + args = NodepoolCreate._build_arguments_schema()() + args.resource_group = "cluster-rg" + args.cluster_name = "parent-cluster" + args.vm_size = "Standard_D8s_v3" + args.version = "4.19.0" + args.location = "centralus" + command = object.__new__(NodepoolCreate) + command.cli_ctx = mock.Mock() + command.ctx = types.SimpleNamespace(args=args) + + command.pre_operations() + + cluster_show.assert_called_once_with(cli_ctx=command.cli_ctx) + cluster_show.return_value.assert_called_once_with(command_args={ + "resource_group": "cluster-rg", + "name": "parent-cluster", + }) + operation = object.__new__(NodepoolCreate.NodePoolsCreateOrUpdate) + operation.ctx = command.ctx + content = operation.content + + self.assertEqual(location, content["location"]) + self.assertEqual("Standard_D8s_v3", content["properties"]["platform"]["vmSize"]) + self.assertEqual("4.19.0", content["properties"]["version"]["id"]) + + class ClusterUpdateTest(unittest.TestCase): def test_help_examples_use_custom_identity_arguments(self): @@ -462,18 +556,21 @@ def test_default_output_filters_and_sorts_full_versions(self, base_output, _): @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp.custom.has_value", return_value=True) @mock.patch.object(GetVersions.__mro__[1], "_output") - def test_control_plane_output_deduplicates_major_minor(self, base_output, _): + def test_control_plane_output_deduplicates_major_minor_per_channel(self, base_output, _): base_output.return_value = ([ {"name": "4.20.2", "properties": {"channelGroup": "stable"}}, {"name": "4.19.3", "properties": {"channelGroup": "stable"}}, {"name": "4.20.1", "properties": {"channelGroup": "candidate"}}, + {"name": "4.20.3", "properties": {"channelGroup": "stable"}}, + {"name": "4.20.4", "properties": {"channelGroup": "candidate"}}, + {"name": "4.20.5", "properties": {"channelGroup": "fast", "enabled": False}}, {"name": "invalid", "properties": {}}, ], None) result, _ = self._command(control_plane=True)._output() - self.assertEqual(["4.19", "4.20"], [row["Name"] for row in result]) - self.assertEqual(["stable", "candidate"], [row["ChannelGroup"] for row in result]) + self.assertEqual(["4.19", "4.20", "4.20"], [row["Name"] for row in result]) + self.assertEqual(["stable", "candidate", "stable"], [row["ChannelGroup"] for row in result]) @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp.custom.has_value", return_value=True) @mock.patch.object(GetVersions.__mro__[1], "_output", return_value=([], None)) diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/integration/__init__.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/integration/__init__.py index dbe3d10ce7c..34913fb394d 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/integration/__init__.py +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/integration/__init__.py @@ -2,4 +2,3 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -# Licensed under the Apache License 2.0. diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/integration/recordings/test_aro_public_cluster.yaml b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/integration/recordings/test_aro_public_cluster.yaml index a92586f0cc2..a249a75d230 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/integration/recordings/test_aro_public_cluster.yaml +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/integration/recordings/test_aro_public_cluster.yaml @@ -7113,7 +7113,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro000001/providers/Microsoft.RedHatOpenShift/openShiftClusters/aro000005/listAdminCredentials?api-version=2025-07-25 response: body: - string: "{\n \"kubeconfig\": \"Y2x1c3RlcnM6Ci0gY2x1c3RlcjoKICAgIHNlcnZlcjogaHR0cHM6Ly9hcGkuaGVwdGc2NWsuZWFzdHVzLmFyb2FwcC5pbzo2NDQzCiAgbmFtZTogaGVwdGc2NWsKY29udGV4dHM6Ci0gY29udGV4dDoKICAgIGNsdXN0ZXI6IGhlcHRnNjVrCiAgICB1c2VyOiBzeXN0ZW06YWRtaW4KICBuYW1lOiBzeXN0ZW06YWRtaW4KY3VycmVudC1jb250ZXh0OiBzeXN0ZW06YWRtaW4KcHJlZmVyZW5jZXM6IHt9CnVzZXJzOgotIG5hbWU6IHN5c3RlbTphZG1pbgogIHVzZXI6CiAgICBjbGllbnQtY2VydGlmaWNhdGUtZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVUktWRU5EUVdjeVowRjNTVUpCWjBsSlRraHJZVGx6ZHpFd05sVjNSRkZaU2t0dldrbG9kbU5PUVZGRlRFSlJRWGRPYWtWVFRVSkJSMEV4VlVVS1EzaE5TbUl6UW14aWJrNXZZVmRhTUUxVFFYZElaMWxFVmxGUlJFVjRaR2hhUnpGd1lta3hjbVJYU214Wk1qbDFXbTFzYmt4WVRuQmFNalZzWTJwQlpRcEdkekI1VG1wQk5FMVVUWGhOYWtsNFRrUkNZVVozTUhsT2VrRTBUVlJOZUUxcVRUTk5SRnBoVFVKamVFWlVRVlJDWjA1V1FrRk5WRVJJVGpWak0xSnNDbUpVY0doYVJ6RndZbXBEUTBGVFNYZEVVVmxLUzI5YVNXaDJZMDVCVVVWQ1FsRkJSR2RuUlZCQlJFTkRRVkZ2UTJkblJVSkJUR2hQVlVzNGQxVmFSaXNLVkhKMlZXbHhOWGM1UTNoaWF6SmlUaXQzY2tOMFpYVmhaMjRyYzFodWFVZGFURFIyVld0bWQweFNhQ3RGTlhNcmFWRnJOVEZpVjB4TVprTjNaWGhUVVFwRmNFOW9jVUUzU2xKdVRUUkxWbloxWkVSTlRVUnFkM2xGZHpKdldEUjFaVzk0YzNWQk9XWktXbWhxY2l0U2ExTjRVaTlCTUhKWWNuWktOMDFMZEhkNUNrMVVTV1F6YUdObVptdG9Obk5KYmpVM1UyaERjWEZXU0RSVFFYaHZhblIwY0ZKQkwyeFlSMDFwWkhoMlRrUnNTR3hKT0VwMlNYZFNNRVJCTUUwNE1qSUtPREIxZGpkM2Ewb3plR2xEZFhaNlRuWkJabEZWYVZZMFJ6TjVUbTlNZGtGblRsQm9iRUpPZVZvcmIwRkdUM3B4VGtkQloycFhaa0pTVFRkQ1pFcDNXUXBSUzJwQk5IUjVhM0I1V1d3MVVrSkpVa2RuWnpkUEswcHFNV1JqUlVKTFluVlZWVnBhT0dGR2JVWjFRVGxYV0RSNFN6ZHRXVkZUTjJ4NWVuWnJVR05oQ2pWeE1FeGhNbTFuZDBRNFEwRjNSVUZCWVU1WFRVWlJkMFJuV1VSV1VqQlFRVkZJTDBKQlVVUkJaMWRuVFVKTlIwRXhWV1JLVVZGTlRVRnZSME5EYzBjS1FWRlZSa0ozVFVOTlFYZEhRVEZWWkVWM1JVSXZkMUZEVFVGQmQwaDNXVVJXVWpCcVFrSm5kMFp2UVZWVk1EZElWa294UVZWME5scFJkbU5sS3pZelVncDNaemd6WTNGamQwUlJXVXBMYjFwSmFIWmpUa0ZSUlV4Q1VVRkVaMmRGUWtGSloxTXpNV2R6WjBFMlNqRk5kbEJNVGtablJYWklRM1ZUWkcxQk5qaHpDbVZ6YUZSV2R5dEdMMDlaVDB4SE5YaFBha2xzZW1sVlRtbDRWelZGZG5BclFXaGhjbEJKU0hSdUwxaGpibXgyUzFSRlptdEhiRU1yWlZjNGNEa3pja2NLVlN0cFREQmxhVmhwT0d0M1NVbHJVVVpRVVZWV2EzUnpiemxzYzBac04yaFlNRVJyZWpFNFNqVkJRa0o0WW1ONkx6ZExlVkptWTBzNVlrUktNR3hCT0FwaU5VTTFkR1Z1YlRkU1JsaEJhbk41VVZWS1dGQnZjVkExZFZwSFVrWllVV3BKVXpOa1ZUVXZPVEYwUTNSNmRHWnZRVFJvY1ZwellWQlFTMVJHUldGdUNqRnRWSFpEVkVWdFNsRkVVRU5oVmtOMFlTdHdLMUZJVDFONmNrMTVTVGR5YTFaRVRHMVlUWFZoTDNCclUxQnJXWEZwWlUxNVp6ZHZaSFpLUVdNeFZrSUtRV0ZIU1haaWRISXZiMHRzTmsxYWNsSlVaMnhTZUc0dlNYSTBaMVJzT1d3d1JYQnRjSFI2ZEdobE9XdHVhV04yUnpJcmRrOVpWVDBLTFMwdExTMUZUa1FnUTBWU1ZFbEdTVU5CVkVVdExTMHRMUW89CiAgICBjbGllbnQta2V5LWRhdGE6IExTMHRMUzFDUlVkSlRpQlNVMEVnVUZKSlZrRlVSU0JMUlZrdExTMHRMUXBOU1VsRmIzZEpRa0ZCUzBOQlVVVkJkVVUxVVhKNlFsSnJXRFZQZFRsVFMzSnVSREJNUm5WVVduTXpOME56U3pFMk5YRkRaalo0WldWSldtdDJhVGxUQ2xJdlFYUkhTRFJVYlhvMlNrTlVibFowV1hOME9FeENOMFpLUVZOck5rZHZSSE5zUjJONlozQlhLelV3VFhkM1QxQkVTVlJFWVdobWFUVTJha2Q1TkVRS01UaHNiVWRQZGpWSFVreEdTRGhFVTNSbGRUaHVjM2R4TTBSSmVFMW9NMlZHZURrclUwaHhkMmxtYm5STFJVdHhjRlZtYUVsRVIybFBNakpzUlVRclZncGpXWGxLTTBjNE1FOVZaVlZxZDIwNGFrSklVVTFFVVhwNlltSjZVell2ZGtOUmJtWkhTVXMyTDAweU9FSTVRbE5LV0dkaVpra3laM1U0UTBFd0swZFZDa1V6U200MlowRlZOMDl2TUZsRFEwNWFPRVpGZW5OR01HNUNhRUZ4VFVScE0wdFRia3BwV0d4RlJXaEZZVU5FY3pjMGJWQldNWGRSUlhCMU5WSlNiRzRLZUc5WFdWYzBSREZhWm1wRmNuVmFhRUpNZFZoTVR5dFJPWGh5YlhKUmRISmhZVVJCVUhkSlJFRlJRVUpCYjBsQ1FVSnZWWEYzU1M5bGFYUXlhbXB0ZVFwT0wxYzNZMnBKWTNVeE1HVTFUbXdySzBST1p6VXZjV1JNTjJ0eFpUTk5WMU42VWpJemEzSkxMMGxrU21ORFltOUZhaTluWkVJelRrOHpNa3hpWWxkTENtVk1aWFUzT1UwMlRGWkJaa1JFTlRGQ1JXRnpXakZ1Vm1FM0wyTk5VVk5XYmtkSFlURkhTRTlqY1N0RWIyNVdPVEprVGpScGJtRkhUMk5LZWt3NVkwSUtkSFl6WVhKUmIyZHZiamRFTmxSV04xTmFObVEzTVU5Wk9HNVpjVXhwVm5GRFVIRjNjREVyTVdseWNsQTFORkkwYVd3MlFYTjNiRk5aVDNwNU1tSjVNUXBCYzFaeVNtdzFSM1JyZWtwME5scDBZazlxZDFWRlZIUjNSRWxLVTBWTlozTjVLMFpWVW5FeVRUTTRkV0l6WW1OTFpuQlZlRVJGT1ZWRFNrUlBRalJxQ2poeFQxZENkV0ZvZDI5U1ZXMXpabUpGSzJkRU5rTkdNazlaUVZaQ1RUTnhWV0kwVG5vMVVVSnNjVE0yVERWamVrWnVTVzFGVUhaRmRrTkNaVGs1TjBzS01tMUpUWGcyUlVObldVVkJlR1Z1ZDNGRldEVTJkVlpYYTJGUE9EVmhUa3BpWjJGeVRXa3ZiRGxqVEdVMFpHeDNaemRJY3pKcWFHMXhWMnhQYWxaV2VRcHZNV3REYkZVd2QybDVNaTlqYjJkSGFrRnZUVE5tVVM5U1NHRk1Xa0YwVWtsb2QwdFFZbFYwWWpCWlpVaE5URWMyTlhwNU1FOU5hVk53Y0hNM05FZDNDbGRVVW1SMVJqa3JUMUU1TmtGcVpXVkpNbU40YUV4TE1YRmFPVVpPUnpCaFJucDRTamRFTWs1U1N6ZENXbVV6UTNsdk5GSkphR05EWjFsRlFUZHRXREVLVlVKV1NGaDBkazFWTUhWdU5GSm5MMVZWUTNoU1dFcG9kVlpqZWl0SlJXbElhMGxIY1cxbE5UVkpjRWQ2V1dKSE4xbEdTbVpYTWtoQmRWb3lVVk5ITUFwcGRUTldaVGxPZFRCNFRDOWFXR1pGWVU1d1lVcDZjMkZoYVdoWFptazFiMWhGY21sTU5VZ3ZjSFZGTUc5TVFYTnJWR1I2UzJsRlMzZE1UV1UzYUM5cUNqRjZZekJXTmtGdFVYQkhSRWRyZEZWcVZHRlNOM1ZoWkVkUVlUUjVVazlTUWpKcVQyUkNhME5uV1VFM0wxZHZNa0l5WmpKdVIyUXJTVGg1U2t0MFMwTUtTMFZHVTB0Q1UycFNkSE0yVTBObFJITTNXR2RsTkVsaGVtUklRMjh5YW5CUVNIazRPWEpZUmt0cGRrTnpjSEZTWW1sYWVWUkxkVEIxT1RSTGFVTmxhUXB0UXpnclpubEdlbVpwVWpSblZUSTRZekJzYVhGaldtMUxTMHh0WjJ0QlN5dG5WME5qYldWWVRXbHlRV0V3TVdreU9Dc3hjMnh1UVZCWlprUnRWMG93Q2sxd1JWSnhOa3RpWkVGRmNGQlZWbnBGYkdJNVNuZExRbWRHVDAxbFFWTjNPRWR3VjB4aE1tcG1hSEIwU0ZGUGF6UklkWFZOYjBZMlFtdFROVkJRVUU0S2RpOW9TV3RsVml0alNVaHVSV2xDTm1oMk4yMVBPRXhSWTJaRmVHeHplRFYyWVNzdk1HSTRNMnRVY0VkV2VHUkpUSGRDUVhadGEydzJaVzlsTmxsUmRRb3lhMXBDY2trNFdISm9TVU55UW5aWmFYZDJaM1ZLZDBGTGJqZGFkbXRtVjIxUmJEaHVkWGRHWjNsVVlqaGhNM0o1WjJ0dU1sUmhLMmRPVVRObU1GSlNDbVp6YkVKQmIwZENRVXhJWlRGbGNIbFpjQ3RxWTBZeVQwNXhaMjFyYkhkeFJqSm5aa3BqZVhaRU1FZG5VbGRwTjBkSVFtSm5kMGhQSzNGYVVsSlpXRWNLVm1WRVdHZExUa2d6V25rMVQzVlROakpLS3k5MGMzaDBZVlV3Ykc5SlZtWktSR2czYUhvck9EaGxkMDVNVjNVeVkyWnFWRXRyVVZwRVlURnlWRTFPV1FvelJXNUJXRll3V1RkMmIySktZVkZIWmtnMFoyWTJjekY0VEVwSk5uQnBNall3VWxONlNuSXlSemMwVVhacllsYzVkMHRDQ2kwdExTMHRSVTVFSUZKVFFTQlFVa2xXUVZSRklFdEZXUzB0TFMwdENnPT0K\"\n}\n" + string: "{\n \"kubeconfig\": \"Y2x1c3RlcnM6Ci0gY2x1c3RlcjoKICAgIHNlcnZlcjogaHR0cHM6Ly9hcGkuaGVwdGc2NWsuZWFzdHVzLmFyb2FwcC5pbzo2NDQzCiAgbmFtZTogaGVwdGc2NWsKY29udGV4dHM6Ci0gY29udGV4dDoKICAgIGNsdXN0ZXI6IGhlcHRnNjVrCiAgICB1c2VyOiBzeXN0ZW06YWRtaW4KICBuYW1lOiBzeXN0ZW06YWRtaW4KY3VycmVudC1jb250ZXh0OiBzeXN0ZW06YWRtaW4KcHJlZmVyZW5jZXM6IHt9CnVzZXJzOgotIG5hbWU6IHN5c3RlbTphZG1pbgogIHVzZXI6CiAgICBjbGllbnQtY2VydGlmaWNhdGUtZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVUktWRU5EUVdjeVowRjNTVUpCWjBsSlRraHJZVGx6ZHpFd05sVjNSRkZaU2t0dldrbG9kbU5PUVZGRlRFSlJRWGRPYWtWVFRVSkJSMEV4VlVVS1EzaE5TbUl6UW14aWJrNXZZVmRhTUUxVFFYZElaMWxFVmxGUlJFVjRaR2hhUnpGd1lta3hjbVJYU214Wk1qbDFXbTFzYmt4WVRuQmFNalZzWTJwQlpRcEdkekI1VG1wQk5FMVVUWGhOYWtsNFRrUkNZVVozTUhsT2VrRTBUVlJOZUUxcVRUTk5SRnBoVFVKamVFWlVRVlJDWjA1V1FrRk5WRVJJVGpWak0xSnNDbUpVY0doYVJ6RndZbXBEUTBGVFNYZEVVVmxLUzI5YVNXaDJZMDVCVVVWQ1FsRkJSR2RuUlZCQlJFTkRRVkZ2UTJkblJVSkJUR2hQVlVzNGQxVmFSaXNLVkhKMlZXbHhOWGM1UTNoaWF6SmlUaXQzY2tOMFpYVmhaMjRyYzFodWFVZGFURFIyVld0bWQweFNhQ3RGTlhNcmFWRnJOVEZpVjB4TVprTjNaWGhUVVFwRmNFOW9jVUUzU2xKdVRUUkxWbloxWkVSTlRVUnFkM2xGZHpKdldEUjFaVzk0YzNWQk9XWktXbWhxY2l0U2ExTjRVaTlCTUhKWWNuWktOMDFMZEhkNUNrMVVTV1F6YUdObVptdG9Obk5KYmpVM1UyaERjWEZXU0RSVFFYaHZhblIwY0ZKQkwyeFlSMDFwWkhoMlRrUnNTR3hKT0VwMlNYZFNNRVJCTUUwNE1qSUtPREIxZGpkM2Ewb3plR2xEZFhaNlRuWkJabEZWYVZZMFJ6TjVUbTlNZGtGblRsQm9iRUpPZVZvcmIwRkdUM3B4VGtkQloycFhaa0pTVFRkQ1pFcDNXUXBSUzJwQk5IUjVhM0I1V1d3MVVrSkpVa2RuWnpkUEswcHFNV1JqUlVKTFluVlZWVnBhT0dGR2JVWjFRVGxYV0RSNFN6ZHRXVkZUTjJ4NWVuWnJVR05oQ2pWeE1FeGhNbTFuZDBRNFEwRjNSVUZCWVU1WFRVWlJkMFJuV1VSV1VqQlFRVkZJTDBKQlVVUkJaMWRuVFVKTlIwRXhWV1JLVVZGTlRVRnZSME5EYzBjS1FWRlZSa0ozVFVOTlFYZEhRVEZWWkVWM1JVSXZkMUZEVFVGQmQwaDNXVVJXVWpCcVFrSm5kMFp2UVZWVk1EZElWa294UVZWME5scFJkbU5sS3pZelVncDNaemd6WTNGamQwUlJXVXBMYjFwSmFIWmpUa0ZSUlV4Q1VVRkVaMmRGUWtGSloxTXpNV2R6WjBFMlNqRk5kbEJNVGtablJYWklRM1ZUWkcxQk5qaHpDbVZ6YUZSV2R5dEdMMDlaVDB4SE5YaFBha2xzZW1sVlRtbDRWelZGZG5BclFXaGhjbEJKU0hSdUwxaGpibXgyUzFSRlptdEhiRU1yWlZjNGNEa3pja2NLVlN0cFREQmxhVmhwT0d0M1NVbHJVVVpRVVZWV2EzUnpiemxzYzBac04yaFlNRVJyZWpFNFNqVkJRa0o0WW1ONkx6ZExlVkptWTBzNVlrUktNR3hCT0FwaU5VTTFkR1Z1YlRkU1JsaEJhbk41VVZWS1dGQnZjVkExZFZwSFVrWllVV3BKVXpOa1ZUVXZPVEYwUTNSNmRHWnZRVFJvY1ZwellWQlFTMVJHUldGdUNqRnRWSFpEVkVWdFNsRkVVRU5oVmtOMFlTdHdLMUZJVDFONmNrMTVTVGR5YTFaRVRHMVlUWFZoTDNCclUxQnJXWEZwWlUxNVp6ZHZaSFpLUVdNeFZrSUtRV0ZIU1haaWRISXZiMHRzTmsxYWNsSlVaMnhTZUc0dlNYSTBaMVJzT1d3d1JYQnRjSFI2ZEdobE9XdHVhV04yUnpJcmRrOVpWVDBLTFMwdExTMUZUa1FnUTBWU1ZFbEdTVU5CVkVVdExTMHRMUW89CiAgICBjbGllbnQta2V5LWRhdGE6IExTMHRMUzFDUlVkSlRpQlNVMEVnVUZKSlZrRlVSU0JMUlZrdExTMHRMUXBOU1VsRmIzZEpRa0ZCUzBOQlVVVkJkVVUxVVhKNlFsSnJXRFZQZFRsVFMzSnVSREJNUm5WVVduTXpOME56U3pFMk5YRkRaalo0WldWSldtdDJhVGxUQ2pORmJrRllWakJaTjNadllrcGhVVWRtU0RSblpqWnpNWGhNU2trMmNHa3lOakJTVTNwS2NqSkhOelJSZG10aVZ6bDNTMElLTFMwdExTMUZUa1FnVWxOQklGQlNTVlpCVkVVZ1MwVlpMUzB0TFMwSwo=\"\n}\n" headers: cache-control: - no-cache diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/unit/test_validators.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/unit/test_validators.py index 97b4db11b5d..2fafadf4901 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/unit/test_validators.py +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/standard/unit/test_validators.py @@ -815,7 +815,7 @@ def test_validate_worker_vm_disk_size_gb(test_description, namespace, expected_e ), ( "should raise RequiredArgumentMissingError Exception because namespace.client_secret is not None", - Mock(client_secret="secret_123"), + Mock(client_secret=Mock()), RequiredArgumentMissingError ), ( From d40f7756c84c93aec9a150704b2d7b190813ed2e Mon Sep 17 00:00:00 2001 From: kimorris27 Date: Tue, 3 Nov 2026 17:47:13 -0600 Subject: [PATCH 08/12] Small fixes recommended by Copilot - Raise error about invalid existing kubeconfig instead of logging warning - Preserve custom context for credential request when printing result to stdout - Ensure tests work on Windows --- .../aro/azext_aro_hcp/_kubeconfig.py | 9 ++++- .../aro/azext_aro_hcp/custom.py | 3 +- .../latest/hcp/unit/test_custom_commands.py | 33 ++++++++++++++++++- .../tests/latest/hcp/unit/test_kubeconfig.py | 26 ++++++++++++--- 4 files changed, 63 insertions(+), 8 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_kubeconfig.py b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_kubeconfig.py index db84788c650..f1d82fde6f0 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_kubeconfig.py +++ b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_kubeconfig.py @@ -150,6 +150,13 @@ def print_or_merge_credentials(path, kubeconfig, overwrite_existing, context_nam """ # Special case for printing to stdout if path == "-": + if context_name is not None: + config = yaml.safe_load(kubeconfig) + config["contexts"][0]["name"] = context_name + config["contexts"][0]["context"]["cluster"] = context_name + config["clusters"][0]["name"] = context_name + config["current-context"] = context_name + kubeconfig = yaml.safe_dump(config, default_flow_style=False) print(kubeconfig) return @@ -173,7 +180,7 @@ def print_or_merge_credentials(path, kubeconfig, overwrite_existing, context_nam additional_file.flush() merge_kubernetes_configurations(path, temp_path, overwrite_existing, context_name) except yaml.YAMLError as ex: - logger.warning("Failed to merge credentials to kube config file: %s", ex) + raise FileOperationError("Failed to merge credentials to kube config file: {}".format(ex)) from ex finally: additional_file.close() os.remove(temp_path) diff --git a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py index 4d32142bb4f..3b8db694fb9 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py +++ b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py @@ -542,7 +542,8 @@ def _handler(self, command_args): try: return super()._handler(command_args) except Exception: - del self._private_key_pem + if hasattr(self, "_private_key_pem"): + del self._private_key_pem raise def _output(self, *args, **kwargs): diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py index b298d65089f..6bb1983f44f 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py @@ -10,7 +10,7 @@ from azure.cli.core.aaz import AAZUndefined from azure.cli.core.aaz._field_value import AAZObject -from azure.cli.core.azclierror import InvalidArgumentValueError, MutuallyExclusiveArgumentError +from azure.cli.core.azclierror import FileOperationError, InvalidArgumentValueError, MutuallyExclusiveArgumentError from azure.cli.command_modules.aro.azext_aro_hcp.custom import ClusterCreate, ClusterUpdate, GetVersions, NodepoolCreate, RequestCredential @@ -621,6 +621,37 @@ def test_handler_clears_key_when_poller_creation_fails(self, _, __): command._handler({"admin": True}) self.assertFalse(hasattr(command, "_private_key_pem")) + @mock.patch( + "azure.cli.command_modules.aro.azext_aro_hcp._kubeconfig._generate_admin_credential_request", + return_value=(b"private-key", "csr"), + ) + @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp._kubeconfig.print_or_merge_credentials") + @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp._kubeconfig._embed_private_key", return_value="embedded") + @mock.patch.object(RequestCredential, "deserialize_output", return_value={"kubeconfig": "config"}) + @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp.custom.has_value", return_value=False) + def test_handler_preserves_merge_error_after_output_clears_key(self, _, __, ___, print_or_merge, ____): + command = object.__new__(RequestCredential) + command.ctx = types.SimpleNamespace( + vars=types.SimpleNamespace(instance=object()), + args=types.SimpleNamespace( + file=_Arg("/tmp/config"), + context_name=_Arg(None), + name=_Arg("cluster-one"), + resource_group=_Arg("group-one"), + overwrite_existing=_Arg(False), + ), + ) + merge_error = FileOperationError("Failed to merge credentials") + print_or_merge.side_effect = merge_error + + with mock.patch.object( + RequestCredential.__mro__[1], "_handler", side_effect=lambda command_args: command._output()): + with self.assertRaises(FileOperationError) as raised: + command._handler({"admin": True}) + + self.assertIs(merge_error, raised.exception) + self.assertFalse(hasattr(command, "_private_key_pem")) + @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp._kubeconfig.print_or_merge_credentials") @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp._kubeconfig._embed_private_key", return_value="embedded") @mock.patch.object(RequestCredential, "deserialize_output", return_value={"kubeconfig": "config\\n"}) diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_kubeconfig.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_kubeconfig.py index 1ea2eac5237..be80306848c 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_kubeconfig.py +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_kubeconfig.py @@ -90,10 +90,11 @@ def test_embed_private_key_in_admin_user(self): class LoadKubernetesConfigurationTest(unittest.TestCase): def test_loads_yaml(self): - with tempfile.NamedTemporaryFile(mode="w", encoding="utf-8") as stream: - yaml.safe_dump(_config(), stream) - stream.flush() - self.assertEqual(_config(), load_kubernetes_configuration(stream.name)) + with tempfile.TemporaryDirectory() as directory: + path = os.path.join(directory, "config") + with open(path, "w", encoding="utf-8") as stream: + yaml.safe_dump(_config(), stream) + self.assertEqual(_config(), load_kubernetes_configuration(path)) def test_missing_file_raises_cli_error(self): with self.assertRaisesRegex(CLIError, "does not exist"): @@ -153,7 +154,8 @@ def test_merges_and_renames_context_atomically(self): self.assertEqual("renamed", merged["current-context"]) self.assertIn("renamed", [item["name"] for item in merged["clusters"]]) self.assertIn("renamed", [item["name"] for item in merged["contexts"]]) - self.assertEqual(0o600, stat.S_IMODE(os.stat(existing_path).st_mode)) + if os.name != "nt": + self.assertEqual(0o600, stat.S_IMODE(os.stat(existing_path).st_mode)) def test_refuses_to_replace_symlink(self): with tempfile.TemporaryDirectory() as directory: @@ -171,6 +173,20 @@ def test_refuses_to_replace_symlink(self): class PrintOrMergeCredentialsTest(unittest.TestCase): + @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp._kubeconfig.os.remove", wraps=os.remove) + @mock.patch("azure.cli.command_modules.aro.azext_aro_hcp._kubeconfig.merge_kubernetes_configurations") + def test_merge_yaml_error_is_raised_and_temporary_credentials_are_removed(self, merge, remove): + merge_error = yaml.YAMLError("invalid YAML") + merge.side_effect = merge_error + with tempfile.TemporaryDirectory() as directory: + path = os.path.join(directory, "config") + with self.assertRaisesRegex(CLIError, "Failed to merge credentials") as raised: + print_or_merge_credentials(path, yaml.safe_dump(_config()), False, None) + + self.assertIs(merge_error, raised.exception.__cause__) + remove.assert_called_once_with(merge.call_args.args[1]) + self.assertFalse(os.path.exists(merge.call_args.args[1])) + def test_merges_credentials_for_two_clusters_without_user_collision(self): with tempfile.TemporaryDirectory() as directory: path = os.path.join(directory, "config") From 4b6c459bf94e2faea4cf02de5fb36d559263398b Mon Sep 17 00:00:00 2001 From: kimorris27 Date: Tue, 3 Nov 2026 19:23:11 -0600 Subject: [PATCH 09/12] Fix remaining Windows issue --- .../aro/tests/latest/hcp/unit/test_kubeconfig.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_kubeconfig.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_kubeconfig.py index be80306848c..04e7267c36c 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_kubeconfig.py +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_kubeconfig.py @@ -229,7 +229,8 @@ def test_creates_parent_and_secure_config(self): print_or_merge_credentials(path, yaml.safe_dump(_config()), False, None) self.assertEqual(_config(), load_kubernetes_configuration(path)) - self.assertEqual(0o600, stat.S_IMODE(os.stat(path).st_mode)) + if os.name != "nt": + self.assertEqual(0o600, stat.S_IMODE(os.stat(path).st_mode)) if __name__ == "__main__": From bc3dc62b83e328200505d87969a7eaffb058222b Mon Sep 17 00:00:00 2001 From: kimorris27 Date: Tue, 3 Nov 2026 21:35:37 -0600 Subject: [PATCH 10/12] Update to latest keyvault SDK version to fix CI --- .../test_aro_hcp_cluster_lifecycle.yaml | 2993 +++++++++-------- 1 file changed, 1643 insertions(+), 1350 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/recordings/test_aro_hcp_cluster_lifecycle.yaml b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/recordings/test_aro_hcp_cluster_lifecycle.yaml index 734ec0a07a1..e1227b2903c 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/recordings/test_aro_hcp_cluster_lifecycle.yaml +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/integration/recordings/test_aro_hcp_cluster_lifecycle.yaml @@ -17,23 +17,23 @@ interactions: ParameterSetName: - -g -n --location --query -o User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005?api-version=2022-01-01 response: body: - string: '{"name":"clihcp-nsg000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","etag":"W/\"7b4be4f8-7bed-4b36-aad4-a752fd7d0172\"","type":"Microsoft.Network/networkSecurityGroups","location":"uksouth","properties":{"provisioningState":"Updating","resourceGuid":"5a825a32-82d7-4e7e-8041-64687dc00c6f","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowVnetInBound","etag":"W/\"7b4be4f8-7bed-4b36-aad4-a752fd7d0172\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","priority":65000,"description":"Allow - inbound traffic from all VMs in VNET","protocol":"*","access":"Allow","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowAzureLoadBalancerInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"7b4be4f8-7bed-4b36-aad4-a752fd7d0172\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"AzureLoadBalancer","destinationAddressPrefix":"*","priority":65001,"description":"Allow - inbound traffic from azure load balancer","protocol":"*","access":"Allow","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"DenyAllInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/DenyAllInBound","etag":"W/\"7b4be4f8-7bed-4b36-aad4-a752fd7d0172\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","priority":65500,"description":"Deny - all inbound traffic","protocol":"*","access":"Deny","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowVnetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"7b4be4f8-7bed-4b36-aad4-a752fd7d0172\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","priority":65000,"description":"Allow - outbound traffic from all VMs to all VMs in VNET","protocol":"*","access":"Allow","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowInternetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"7b4be4f8-7bed-4b36-aad4-a752fd7d0172\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"Internet","priority":65001,"description":"Allow - outbound traffic from all VMs to Internet","protocol":"*","access":"Allow","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"DenyAllOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/DenyAllOutBound","etag":"W/\"7b4be4f8-7bed-4b36-aad4-a752fd7d0172\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","priority":65500,"description":"Deny + string: '{"name":"clihcp-nsg000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","etag":"W/\"b84009e3-96d2-4467-adca-f1bc8474aae2\"","type":"Microsoft.Network/networkSecurityGroups","location":"uksouth","properties":{"provisioningState":"Updating","resourceGuid":"4533aea7-df81-4ff4-a6c6-3609ca9e8cc3","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowVnetInBound","etag":"W/\"b84009e3-96d2-4467-adca-f1bc8474aae2\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","priority":65000,"description":"Allow + inbound traffic from all VMs in VNET","protocol":"*","access":"Allow","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowAzureLoadBalancerInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"b84009e3-96d2-4467-adca-f1bc8474aae2\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"AzureLoadBalancer","destinationAddressPrefix":"*","priority":65001,"description":"Allow + inbound traffic from azure load balancer","protocol":"*","access":"Allow","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"DenyAllInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/DenyAllInBound","etag":"W/\"b84009e3-96d2-4467-adca-f1bc8474aae2\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","priority":65500,"description":"Deny + all inbound traffic","protocol":"*","access":"Deny","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowVnetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"b84009e3-96d2-4467-adca-f1bc8474aae2\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","priority":65000,"description":"Allow + outbound traffic from all VMs to all VMs in VNET","protocol":"*","access":"Allow","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowInternetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"b84009e3-96d2-4467-adca-f1bc8474aae2\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"Internet","priority":65001,"description":"Allow + outbound traffic from all VMs to Internet","protocol":"*","access":"Allow","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"DenyAllOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/DenyAllOutBound","etag":"W/\"b84009e3-96d2-4467-adca-f1bc8474aae2\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Updating","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","priority":65500,"description":"Deny all outbound traffic","protocol":"*","access":"Deny","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}}]}}' headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/9fcd24e2-bb60-4769-8e48-21c05a348e91?api-version=2022-01-01&t=639289727913322619&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/974b0d06-15a2-48b6-b104-b288396ab469?api-version=2022-01-01&t=639293578138420315&c=REDACTED&s=REDACTED&h=REDACTED cache-control: - no-cache content-length: @@ -41,7 +41,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 15:59:51 GMT + - Wed, 04 Nov 2026 02:56:53 GMT expires: - '-1' pragma: @@ -53,19 +53,18 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 69e85564-86bf-484d-8b71-340bc9d598a8 + - 758986a8-a3f5-418f-b664-590b88accc2f x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' x-ms-throttle-levels: - - operationRatePct=0.1, operationConcurrencyPct=0.3, subscriptionWriteRatePct=1.7, - etc + - operationRatePct=0.1, operationConcurrencyPct=0.3, etc x-msedge-ref: - - 'Ref A: EC33364FE3E645C6BB707088096F8BAA Ref B: DM2AA1091212047 Ref C: 2026-10-30T15:59:49Z' + - 'Ref A: 78A13F5F60434F09A4B3B8CED9676D3D Ref B: SN4AA2022302033 Ref C: 2026-11-04T02:56:53Z' status: code: 201 - message: Created + message: '' - request: body: null headers: @@ -80,9 +79,9 @@ interactions: ParameterSetName: - -g -n --location --query -o User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/9fcd24e2-bb60-4769-8e48-21c05a348e91?api-version=2022-01-01&t=639289727913322619&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/974b0d06-15a2-48b6-b104-b288396ab469?api-version=2022-01-01&t=639293578138420315&c=REDACTED&s=REDACTED&h=REDACTED response: body: string: '{"status":"Succeeded"}' @@ -94,7 +93,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 15:59:51 GMT + - Wed, 04 Nov 2026 02:56:53 GMT expires: - '-1' pragma: @@ -106,16 +105,16 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d8376d13-7c84-44c6-9c3c-a16a3d441ed2 + - c29eba04-83cf-4862-835e-0e326751ac8d x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-ms-throttle-levels: - - operationConcurrencyPct=0.5, subscriptionReadRatePct=4.8, etc + - operationConcurrencyPct=0.5, subscriptionReadRatePct=4.9, etc x-msedge-ref: - - 'Ref A: C29056EB20A7414DAC197857BD61EE2B Ref B: SN4AA2022305025 Ref C: 2026-10-30T15:59:51Z' + - 'Ref A: AAE72834195A462F881B6880DE0870D2 Ref B: SN4AA2022301011 Ref C: 2026-11-04T02:56:54Z' status: code: 200 - message: OK + message: '' - request: body: null headers: @@ -130,17 +129,17 @@ interactions: ParameterSetName: - -g -n --location --query -o User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005?api-version=2022-01-01 response: body: - string: '{"name":"clihcp-nsg000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","etag":"W/\"7c00cb80-87ad-4483-8bbf-7920fe2df382\"","type":"Microsoft.Network/networkSecurityGroups","location":"uksouth","properties":{"provisioningState":"Succeeded","resourceGuid":"5a825a32-82d7-4e7e-8041-64687dc00c6f","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowVnetInBound","etag":"W/\"7c00cb80-87ad-4483-8bbf-7920fe2df382\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","priority":65000,"description":"Allow - inbound traffic from all VMs in VNET","protocol":"*","access":"Allow","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowAzureLoadBalancerInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"7c00cb80-87ad-4483-8bbf-7920fe2df382\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"AzureLoadBalancer","destinationAddressPrefix":"*","priority":65001,"description":"Allow - inbound traffic from azure load balancer","protocol":"*","access":"Allow","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"DenyAllInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/DenyAllInBound","etag":"W/\"7c00cb80-87ad-4483-8bbf-7920fe2df382\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","priority":65500,"description":"Deny - all inbound traffic","protocol":"*","access":"Deny","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowVnetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"7c00cb80-87ad-4483-8bbf-7920fe2df382\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","priority":65000,"description":"Allow - outbound traffic from all VMs to all VMs in VNET","protocol":"*","access":"Allow","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowInternetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"7c00cb80-87ad-4483-8bbf-7920fe2df382\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"Internet","priority":65001,"description":"Allow - outbound traffic from all VMs to Internet","protocol":"*","access":"Allow","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"DenyAllOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/DenyAllOutBound","etag":"W/\"7c00cb80-87ad-4483-8bbf-7920fe2df382\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","priority":65500,"description":"Deny + string: '{"name":"clihcp-nsg000005","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","etag":"W/\"fb58d9ec-a11e-4b69-abbe-71c683f01c4b\"","type":"Microsoft.Network/networkSecurityGroups","location":"uksouth","properties":{"provisioningState":"Succeeded","resourceGuid":"4533aea7-df81-4ff4-a6c6-3609ca9e8cc3","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowVnetInBound","etag":"W/\"fb58d9ec-a11e-4b69-abbe-71c683f01c4b\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","priority":65000,"description":"Allow + inbound traffic from all VMs in VNET","protocol":"*","access":"Allow","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowAzureLoadBalancerInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"fb58d9ec-a11e-4b69-abbe-71c683f01c4b\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"AzureLoadBalancer","destinationAddressPrefix":"*","priority":65001,"description":"Allow + inbound traffic from azure load balancer","protocol":"*","access":"Allow","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"DenyAllInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/DenyAllInBound","etag":"W/\"fb58d9ec-a11e-4b69-abbe-71c683f01c4b\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","priority":65500,"description":"Deny + all inbound traffic","protocol":"*","access":"Deny","direction":"Inbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowVnetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"fb58d9ec-a11e-4b69-abbe-71c683f01c4b\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","priority":65000,"description":"Allow + outbound traffic from all VMs to all VMs in VNET","protocol":"*","access":"Allow","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"AllowInternetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"fb58d9ec-a11e-4b69-abbe-71c683f01c4b\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"Internet","priority":65001,"description":"Allow + outbound traffic from all VMs to Internet","protocol":"*","access":"Allow","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}},{"name":"DenyAllOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/defaultSecurityRules/DenyAllOutBound","etag":"W/\"fb58d9ec-a11e-4b69-abbe-71c683f01c4b\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","priority":65500,"description":"Deny all outbound traffic","protocol":"*","access":"Deny","direction":"Outbound","sourcePortRanges":[],"destinationPortRanges":[],"sourceAddressPrefixes":[],"destinationAddressPrefixes":[]}}]}}' headers: cache-control: @@ -150,9 +149,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 15:59:51 GMT + - Wed, 04 Nov 2026 02:56:55 GMT etag: - - W/"7c00cb80-87ad-4483-8bbf-7920fe2df382" + - W/"fb58d9ec-a11e-4b69-abbe-71c683f01c4b" expires: - '-1' pragma: @@ -164,17 +163,17 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5e89383d-3a01-4fbb-adf9-3dd50e59818d + - cb51bdbe-0452-477d-b953-06f3128d846e x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-ms-throttle-levels: - - operationRatePct=0.4, operationConcurrencyPct=0.5, subscriptionReadRatePct=4.8, + - operationRatePct=0.4, operationConcurrencyPct=0.5, subscriptionReadRatePct=5.0, etc x-msedge-ref: - - 'Ref A: 4321D102D2BA4970A0174CC6969363A9 Ref B: SN4AA2022303051 Ref C: 2026-10-30T15:59:52Z' + - 'Ref A: 4152868994CB412E93AF2C987EA6F634 Ref B: SN4AA2022304031 Ref C: 2026-11-04T02:56:54Z' status: code: 200 - message: OK + message: '' - request: body: '{"location": "uksouth", "properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "enableDdosProtection": false, "enableVmProtection": false}}' @@ -194,17 +193,17 @@ interactions: ParameterSetName: - -g -n --location --address-prefixes User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004?api-version=2025-07-01 response: body: - string: '{"name":"clihcp-vnet000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","etag":"W/\"7f6e5f72-ac5a-40f2-a929-2a0ad6eef045\"","type":"Microsoft.Network/virtualNetworks","location":"uksouth","properties":{"provisioningState":"Updating","resourceGuid":"efc398d3-e0c2-4653-982a-e261c976ff5a","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' + string: '{"name":"clihcp-vnet000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","etag":"W/\"84b128f1-d532-4bfb-af59-78d421706c08\"","type":"Microsoft.Network/virtualNetworks","location":"uksouth","properties":{"provisioningState":"Updating","resourceGuid":"3edef0b1-2ddc-4075-bc51-685050bb4722","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/9c81b510-a16f-4e0e-b432-71aa25b7ae5d?api-version=2025-07-01&t=639289727933704471&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/d21e52db-c819-4b6d-b5be-6a75fd914876?api-version=2025-07-01&t=639293578187510278&c=REDACTED&s=REDACTED&h=REDACTED cache-control: - no-cache content-length: @@ -212,7 +211,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 15:59:52 GMT + - Wed, 04 Nov 2026 02:56:58 GMT expires: - '-1' pragma: @@ -224,19 +223,19 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 17565dcb-e363-464b-a0c6-5e962e104583 + - d3850307-e0db-41d7-bacf-c2f2cd01bb2c x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' x-ms-throttle-levels: - - operationRatePct=0.1, operationConcurrencyPct=0.3, subscriptionWriteRatePct=1.7, + - operationRatePct=0.1, operationConcurrencyPct=0.3, subscriptionWriteRatePct=0.1, etc x-msedge-ref: - - 'Ref A: AD39DA5701814A0691E5FBCA79B85237 Ref B: DM2AA1091212011 Ref C: 2026-10-30T15:59:52Z' + - 'Ref A: 223052A653D4448B9C43DD509A680518 Ref B: DM2AA1091211027 Ref C: 2026-11-04T02:56:56Z' status: code: 201 - message: Created + message: '' - request: body: null headers: @@ -251,9 +250,9 @@ interactions: ParameterSetName: - -g -n --location --address-prefixes User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/9c81b510-a16f-4e0e-b432-71aa25b7ae5d?api-version=2025-07-01&t=639289727933704471&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/d21e52db-c819-4b6d-b5be-6a75fd914876?api-version=2025-07-01&t=639293578187510278&c=REDACTED&s=REDACTED&h=REDACTED response: body: string: '{"status":"InProgress"}' @@ -265,7 +264,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 15:59:53 GMT + - Wed, 04 Nov 2026 02:56:58 GMT expires: - '-1' pragma: @@ -277,16 +276,16 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1d79f432-3c4f-4863-a2a5-877add5db8d5 + - 51492fc0-ff03-4f59-afd4-ba19634dd550 x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-ms-throttle-levels: - - operationConcurrencyPct=0.5, subscriptionReadRatePct=4.8, etc + - operationConcurrencyPct=0.5, subscriptionReadRatePct=5.1, etc x-msedge-ref: - - 'Ref A: D11E639F502E45A6A5C0D8F725BE2B6C Ref B: SN4AA2022305035 Ref C: 2026-10-30T15:59:53Z' + - 'Ref A: 21669E78C7AC43199A1C6469A99C7DCD Ref B: SN4AA2022303053 Ref C: 2026-11-04T02:56:58Z' status: code: 200 - message: OK + message: '' - request: body: null headers: @@ -301,9 +300,9 @@ interactions: ParameterSetName: - -g -n --location --address-prefixes User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/9c81b510-a16f-4e0e-b432-71aa25b7ae5d?api-version=2025-07-01&t=639289727933704471&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/d21e52db-c819-4b6d-b5be-6a75fd914876?api-version=2025-07-01&t=639293578187510278&c=REDACTED&s=REDACTED&h=REDACTED response: body: string: '{"status":"Succeeded"}' @@ -315,7 +314,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:00:03 GMT + - Wed, 04 Nov 2026 02:57:09 GMT expires: - '-1' pragma: @@ -327,16 +326,16 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 10e53d6a-76db-4b47-bcda-67c0bcfe2e4c + - e497f4f7-2c6b-4153-9471-c03f1a6c1a0e x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-ms-throttle-levels: - - operationConcurrencyPct=0.5, subscriptionReadRatePct=4.5, etc + - operationConcurrencyPct=0.5, subscriptionReadRatePct=4.8, etc x-msedge-ref: - - 'Ref A: 4C3228F00136447CA32F78A35A24495D Ref B: SN4AA2022302021 Ref C: 2026-10-30T16:00:04Z' + - 'Ref A: AE254309688947F680CB89A3FB6DA964 Ref B: SN4AA2022303031 Ref C: 2026-11-04T02:57:09Z' status: code: 200 - message: OK + message: '' - request: body: null headers: @@ -351,12 +350,12 @@ interactions: ParameterSetName: - -g -n --location --address-prefixes User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004?api-version=2025-07-01 response: body: - string: '{"name":"clihcp-vnet000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","etag":"W/\"9f160705-cf03-4d79-9641-528432db2b3b\"","type":"Microsoft.Network/virtualNetworks","location":"uksouth","properties":{"provisioningState":"Succeeded","resourceGuid":"efc398d3-e0c2-4653-982a-e261c976ff5a","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' + string: '{"name":"clihcp-vnet000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","etag":"W/\"bd1159f8-4853-4baf-b3f8-cad07bae5ef3\"","type":"Microsoft.Network/virtualNetworks","location":"uksouth","properties":{"provisioningState":"Succeeded","resourceGuid":"3edef0b1-2ddc-4075-bc51-685050bb4722","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' headers: cache-control: - no-cache @@ -365,7 +364,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:00:04 GMT + - Wed, 04 Nov 2026 02:57:09 GMT expires: - '-1' pragma: @@ -377,17 +376,17 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7f9a8eaf-3e0d-4edc-bef3-72001923bc72 + - 256d7e24-f70f-422f-a213-df8ef363f925 x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-ms-throttle-levels: - - operationRatePct=0.9, operationConcurrencyPct=2.0, subscriptionReadRatePct=4.6, + - operationRatePct=1.0, operationConcurrencyPct=2.0, subscriptionReadRatePct=4.8, etc x-msedge-ref: - - 'Ref A: 7BC3ABFB8C334D57BAA2EB84402BC5E8 Ref B: SN4AA2022302017 Ref C: 2026-10-30T16:00:04Z' + - 'Ref A: E50FC9DA2B424091BD8F0E62FB74F6AD Ref B: SN4AA2022302023 Ref C: 2026-11-04T02:57:09Z' status: code: 200 - message: OK + message: '' - request: body: '{"name": "cluster-subnet", "properties": {"addressPrefix": "10.0.0.0/24", "networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005"}, @@ -410,17 +409,17 @@ interactions: - -g --vnet-name -n --address-prefixes --network-security-group --disable-private-endpoint-network-policies --query -o User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet?api-version=2024-07-01 response: body: - string: '{"name":"cluster-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","etag":"W/\"18448228-2c83-4440-95fe-bab97813a5ee\"","properties":{"provisioningState":"Updating","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005"},"delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}' + string: '{"name":"cluster-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","etag":"W/\"528da1fc-fe4d-44b9-9a8b-cdb21f618545\"","properties":{"provisioningState":"Updating","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005"},"delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}' headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/43f75ff4-2961-438e-bb6d-766bb655f0c1?api-version=2024-07-01&t=639289728070956158&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/13a71bfe-00f8-4d3f-86e0-f857d8862ecf?api-version=2024-07-01&t=639293578422205302&c=REDACTED&s=REDACTED&h=REDACTED cache-control: - no-cache content-length: @@ -428,7 +427,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:00:06 GMT + - Wed, 04 Nov 2026 02:57:22 GMT expires: - '-1' pragma: @@ -440,19 +439,19 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cd627677-b7ec-4890-8c8c-b2a287266059 + - a989d784-b225-4c74-a023-a5e907c344f0 x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' x-ms-throttle-levels: - - operationRatePct=0.1, operationConcurrencyPct=0.3, subscriptionWriteRatePct=1.1, + - operationRatePct=0.1, operationConcurrencyPct=0.3, subscriptionWriteRatePct=0.2, etc x-msedge-ref: - - 'Ref A: E9CD5B7F2FC54D95929D36F7C9CDB494 Ref B: DM2AA1091213037 Ref C: 2026-10-30T16:00:05Z' + - 'Ref A: D4379167F3354549B9124B264CC0DF16 Ref B: DM2AA1091211029 Ref C: 2026-11-04T02:57:10Z' status: code: 201 - message: Created + message: '' - request: body: null headers: @@ -468,9 +467,9 @@ interactions: - -g --vnet-name -n --address-prefixes --network-security-group --disable-private-endpoint-network-policies --query -o User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/43f75ff4-2961-438e-bb6d-766bb655f0c1?api-version=2024-07-01&t=639289728070956158&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/13a71bfe-00f8-4d3f-86e0-f857d8862ecf?api-version=2024-07-01&t=639293578422205302&c=REDACTED&s=REDACTED&h=REDACTED response: body: string: '{"status":"Succeeded"}' @@ -482,7 +481,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:00:07 GMT + - Wed, 04 Nov 2026 02:57:22 GMT expires: - '-1' pragma: @@ -494,16 +493,17 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 82beea54-1056-425e-91cf-27ad5a76388c + - 50d396a7-ba92-44d9-9f7b-8a2bcbb7261a x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-ms-throttle-levels: - - operationConcurrencyPct=0.5, subscriptionReadRatePct=4.6, etc + - operationRatePct=0.1, operationConcurrencyPct=0.5, subscriptionReadRatePct=5.0, + etc x-msedge-ref: - - 'Ref A: CD38D8FB9C8D4C8DA533EAD59EEB9845 Ref B: DM2AA1091212045 Ref C: 2026-10-30T16:00:07Z' + - 'Ref A: B2337EE9CF0C41C8BA0F22EC9FB5448F Ref B: SN4AA2022303031 Ref C: 2026-11-04T02:57:22Z' status: code: 200 - message: OK + message: '' - request: body: null headers: @@ -519,12 +519,12 @@ interactions: - -g --vnet-name -n --address-prefixes --network-security-group --disable-private-endpoint-network-policies --query -o User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet?api-version=2024-07-01 response: body: - string: '{"name":"cluster-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","etag":"W/\"71e0b38b-d1dc-45ad-b05f-842c2c6f34f1\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005"},"delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}' + string: '{"name":"cluster-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","etag":"W/\"168270af-c818-4159-a0d8-3bdadcebf3da\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005"},"delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}' headers: cache-control: - no-cache @@ -533,9 +533,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:00:07 GMT + - Wed, 04 Nov 2026 02:57:22 GMT etag: - - W/"71e0b38b-d1dc-45ad-b05f-842c2c6f34f1" + - W/"168270af-c818-4159-a0d8-3bdadcebf3da" expires: - '-1' pragma: @@ -547,13 +547,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e139c5ce-637a-4f3c-88dd-86c19b0910d0 + - a76604d0-8d38-411c-bc3d-7e7c278f6560 x-ms-ratelimit-remaining-subscription-global-reads: - - '3749' + - '3748' x-ms-throttle-levels: - - operationConcurrencyPct=0.5, subscriptionReadRatePct=4.6, etc + - operationConcurrencyPct=0.5, subscriptionReadRatePct=5.0, etc x-msedge-ref: - - 'Ref A: 4E6EEC79442849FFBE2CF2597056A41D Ref B: SN4AA2022302009 Ref C: 2026-10-30T16:00:07Z' + - 'Ref A: 8E3C3E965C5948BDA6068D9DC4205D07 Ref B: SN4AA2022304039 Ref C: 2026-11-04T02:57:23Z' status: code: 200 message: OK @@ -578,17 +578,17 @@ interactions: ParameterSetName: - -g --vnet-name -n --address-prefixes --delegations --query -o User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet?api-version=2024-07-01 response: body: - string: '{"name":"integration-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet","etag":"W/\"d1de5a44-5c14-44ce-9c54-29b6013a1c84\"","properties":{"provisioningState":"Updating","addressPrefix":"10.0.1.0/24","delegations":[{"name":"0","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet/delegations/0","etag":"W/\"d1de5a44-5c14-44ce-9c54-29b6013a1c84\"","properties":{"provisioningState":"Succeeded","serviceName":"Microsoft.RedHatOpenShift/hcpOpenShiftClusters","actions":["Microsoft.Network/virtualNetworks/subnets/join/action"]},"type":"Microsoft.Network/virtualNetworks/subnets/delegations"}],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}' + string: '{"name":"integration-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet","etag":"W/\"d76ce1f7-c922-417c-88b9-3aeeaced1294\"","properties":{"provisioningState":"Updating","addressPrefix":"10.0.1.0/24","delegations":[{"name":"0","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet/delegations/0","etag":"W/\"d76ce1f7-c922-417c-88b9-3aeeaced1294\"","properties":{"provisioningState":"Succeeded","serviceName":"Microsoft.RedHatOpenShift/hcpOpenShiftClusters","actions":["Microsoft.Network/virtualNetworks/subnets/join/action"]},"type":"Microsoft.Network/virtualNetworks/subnets/delegations"}],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}' headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/ab3d481b-6808-4f9d-af01-09a1bb27fc25?api-version=2024-07-01&t=639289728088733008&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/7872bcd8-0a5d-4e14-b483-1e8bfeb30eeb?api-version=2024-07-01&t=639293578438488582&c=REDACTED&s=REDACTED&h=REDACTED cache-control: - no-cache content-length: @@ -596,7 +596,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:00:08 GMT + - Wed, 04 Nov 2026 02:57:23 GMT expires: - '-1' pragma: @@ -608,19 +608,19 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5aacb87e-a256-41b3-82c7-2d4fe4ce01e4 + - 2244d43e-120d-47e0-89ea-cda3ed8829d6 x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' x-ms-throttle-levels: - - operationRatePct=0.2, operationConcurrencyPct=0.3, subscriptionWriteRatePct=1.1, + - operationRatePct=0.2, operationConcurrencyPct=0.3, subscriptionWriteRatePct=0.2, etc x-msedge-ref: - - 'Ref A: C7747AF05ACC4549938D24FB56F42EF4 Ref B: SN4AA2022303053 Ref C: 2026-10-30T16:00:08Z' + - 'Ref A: 8EE5288CC2F84326AFB2B180F6E78108 Ref B: SN4AA2022304025 Ref C: 2026-11-04T02:57:23Z' status: code: 201 - message: Created + message: '' - request: body: null headers: @@ -635,9 +635,9 @@ interactions: ParameterSetName: - -g --vnet-name -n --address-prefixes --delegations --query -o User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/ab3d481b-6808-4f9d-af01-09a1bb27fc25?api-version=2024-07-01&t=639289728088733008&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/uksouth/operations/7872bcd8-0a5d-4e14-b483-1e8bfeb30eeb?api-version=2024-07-01&t=639293578438488582&c=REDACTED&s=REDACTED&h=REDACTED response: body: string: '{"status":"Succeeded"}' @@ -649,7 +649,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:00:08 GMT + - Wed, 04 Nov 2026 02:57:24 GMT expires: - '-1' pragma: @@ -661,16 +661,16 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 06242eb8-c236-4a59-b808-52aec80e4f14 + - f0412b94-2c83-4280-ae90-bffdbc599fe6 x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-ms-throttle-levels: - - operationConcurrencyPct=0.5, subscriptionReadRatePct=4.6, etc + - operationConcurrencyPct=0.5, subscriptionReadRatePct=5.0, etc x-msedge-ref: - - 'Ref A: 4959866C87944DDA8423DFAB7D8DA5A2 Ref B: SN4AA2022302039 Ref C: 2026-10-30T16:00:09Z' + - 'Ref A: B27E94C39D7F4BD68A80006CA99FC08B Ref B: DM2AA1091214047 Ref C: 2026-11-04T02:57:24Z' status: code: 200 - message: OK + message: '' - request: body: null headers: @@ -685,12 +685,12 @@ interactions: ParameterSetName: - -g --vnet-name -n --address-prefixes --delegations --query -o User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet?api-version=2024-07-01 response: body: - string: '{"name":"integration-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet","etag":"W/\"1a9f750d-fdfc-4b2e-956f-62ee1c5a4d55\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.1.0/24","delegations":[{"name":"0","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet/delegations/0","etag":"W/\"1a9f750d-fdfc-4b2e-956f-62ee1c5a4d55\"","properties":{"provisioningState":"Succeeded","serviceName":"Microsoft.RedHatOpenShift/hcpOpenShiftClusters","actions":["Microsoft.Network/virtualNetworks/subnets/join/action"]},"type":"Microsoft.Network/virtualNetworks/subnets/delegations"}],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}' + string: '{"name":"integration-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet","etag":"W/\"03d9b719-d600-4640-a930-4a51fde524cf\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.1.0/24","delegations":[{"name":"0","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet/delegations/0","etag":"W/\"03d9b719-d600-4640-a930-4a51fde524cf\"","properties":{"provisioningState":"Succeeded","serviceName":"Microsoft.RedHatOpenShift/hcpOpenShiftClusters","actions":["Microsoft.Network/virtualNetworks/subnets/join/action"]},"type":"Microsoft.Network/virtualNetworks/subnets/delegations"}],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}' headers: cache-control: - no-cache @@ -699,9 +699,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:00:10 GMT + - Wed, 04 Nov 2026 02:57:26 GMT etag: - - W/"1a9f750d-fdfc-4b2e-956f-62ee1c5a4d55" + - W/"03d9b719-d600-4640-a930-4a51fde524cf" expires: - '-1' pragma: @@ -713,13 +713,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 961258b9-ca4b-4f2a-bbfe-d68199b7c216 + - f90b51fe-1e42-4638-a759-e148fe10006a x-ms-ratelimit-remaining-subscription-global-reads: - - '3748' + - '3749' x-ms-throttle-levels: - - operationConcurrencyPct=0.5, subscriptionReadRatePct=4.7, etc + - operationConcurrencyPct=0.5, subscriptionReadRatePct=5.1, etc x-msedge-ref: - - 'Ref A: 3E8983EB50B64D4386FCCD894E49CDC2 Ref B: DM2AA1091214047 Ref C: 2026-10-30T16:00:09Z' + - 'Ref A: 8960B267976D40008BBA1BAE77C7D769 Ref B: DM2AA1091213017 Ref C: 2026-11-04T02:57:24Z' status: code: 200 message: OK @@ -737,12 +737,12 @@ interactions: ParameterSetName: - -g -n --query -o User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004?api-version=2025-07-01 response: body: - string: '{"name":"clihcp-vnet000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","etag":"W/\"1a9f750d-fdfc-4b2e-956f-62ee1c5a4d55\"","type":"Microsoft.Network/virtualNetworks","location":"uksouth","properties":{"provisioningState":"Succeeded","resourceGuid":"efc398d3-e0c2-4653-982a-e261c976ff5a","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[{"name":"cluster-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","etag":"W/\"1a9f750d-fdfc-4b2e-956f-62ee1c5a4d55\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005"},"delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"},{"name":"integration-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet","etag":"W/\"1a9f750d-fdfc-4b2e-956f-62ee1c5a4d55\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.1.0/24","delegations":[{"name":"0","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet/delegations/0","etag":"W/\"1a9f750d-fdfc-4b2e-956f-62ee1c5a4d55\"","properties":{"provisioningState":"Succeeded","serviceName":"Microsoft.RedHatOpenShift/hcpOpenShiftClusters","actions":["Microsoft.Network/virtualNetworks/subnets/join/action"]},"type":"Microsoft.Network/virtualNetworks/subnets/delegations"}],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' + string: '{"name":"clihcp-vnet000004","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","etag":"W/\"03d9b719-d600-4640-a930-4a51fde524cf\"","type":"Microsoft.Network/virtualNetworks","location":"uksouth","properties":{"provisioningState":"Succeeded","resourceGuid":"3edef0b1-2ddc-4075-bc51-685050bb4722","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"privateEndpointVNetPolicies":"Disabled","subnets":[{"name":"cluster-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","etag":"W/\"03d9b719-d600-4640-a930-4a51fde524cf\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005"},"delegations":[],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"},{"name":"integration-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet","etag":"W/\"03d9b719-d600-4640-a930-4a51fde524cf\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.1.0/24","delegations":[{"name":"0","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet/delegations/0","etag":"W/\"03d9b719-d600-4640-a930-4a51fde524cf\"","properties":{"provisioningState":"Succeeded","serviceName":"Microsoft.RedHatOpenShift/hcpOpenShiftClusters","actions":["Microsoft.Network/virtualNetworks/subnets/join/action"]},"type":"Microsoft.Network/virtualNetworks/subnets/delegations"}],"privateEndpointNetworkPolicies":"Disabled","privateLinkServiceNetworkPolicies":"Enabled"},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false}}' headers: cache-control: - no-cache @@ -751,7 +751,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:00:12 GMT + - Wed, 04 Nov 2026 02:57:28 GMT expires: - '-1' pragma: @@ -763,16 +763,17 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 716c6fa9-8123-4320-8705-d9053f46c787 + - 8bf52036-fb8d-4b89-83b8-c9f471cf9bd2 x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-ms-throttle-levels: - - operationConcurrencyPct=2.0, subscriptionReadRatePct=4.7, etc + - operationRatePct=0.5, operationConcurrencyPct=2.0, subscriptionReadRatePct=5.1, + etc x-msedge-ref: - - 'Ref A: 3C5257947B6D4FBE8E27BA5193DFE6D5 Ref B: SN4AA2022304039 Ref C: 2026-10-30T16:00:12Z' + - 'Ref A: ED17C7D0F4B74867A98464F61D437B06 Ref B: DM2AA1091212021 Ref C: 2026-11-04T02:57:28Z' status: code: 200 - message: OK + message: '' - request: body: null headers: @@ -788,9 +789,9 @@ interactions: - -g -n --location --enable-rbac-authorization --public-network-access --query -o User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007?api-version=2026-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007?api-version=2026-05-15 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.KeyVault/vaults/clihcpkv000007'' @@ -804,7 +805,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:00:12 GMT + - Wed, 04 Nov 2026 02:57:28 GMT expires: - '-1' pragma: @@ -818,7 +819,7 @@ interactions: x-ms-failure-cause: - gateway x-msedge-ref: - - 'Ref A: 2E5C9219167047CF8A63E155D0912FF4 Ref B: DM2AA1091212039 Ref C: 2026-10-30T16:00:12Z' + - 'Ref A: 38E675C9C5C843E2B3436C9A3EB10BBB Ref B: SN4AA2022303017 Ref C: 2026-11-04T02:57:28Z' status: code: 404 message: Not Found @@ -844,12 +845,12 @@ interactions: - -g -n --location --enable-rbac-authorization --public-network-access --query -o User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007?api-version=2026-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007?api-version=2026-05-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","name":"clihcpkv000007","type":"Microsoft.KeyVault/vaults","location":"uksouth","tags":{},"systemData":{"createdBy":"recording-user@example.com","createdByType":"User","createdAt":"2026-10-30T16:00:13.382Z","lastModifiedBy":"recording-user@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-10-30T16:00:13.382Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"00000000-0000-0000-0000-000000000001","accessPolicies":[],"enabledForDeployment":false,"enabledForDiskEncryption":false,"enabledForTemplateDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://clihcpkv000007.vault.azure.net","provisioningState":"RegisteringDns","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","name":"clihcpkv000007","type":"Microsoft.KeyVault/vaults","location":"uksouth","tags":{},"systemData":{"createdBy":"recording-user@example.com","createdByType":"User","createdAt":"2026-11-04T02:57:29.593Z","lastModifiedBy":"recording-user@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-11-04T02:57:29.593Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"00000000-0000-0000-0000-000000000001","accessPolicies":[],"enabledForDeployment":false,"enabledForDiskEncryption":false,"enabledForTemplateDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://clihcpkv000007.vault.azure.net","provisioningState":"RegisteringDns","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache @@ -858,7 +859,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:00:14 GMT + - Wed, 04 Nov 2026 02:57:31 GMT expires: - '-1' pragma: @@ -878,7 +879,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: EA9A5366C8D3446FBEDBD55FA2C36D8E Ref B: DM2AA1091213025 Ref C: 2026-10-30T16:00:13Z' + - 'Ref A: C993D243087642189C383EAAAC4CCCE9 Ref B: SN4AA2022303011 Ref C: 2026-11-04T02:57:29Z' status: code: 200 message: OK @@ -897,12 +898,12 @@ interactions: - -g -n --location --enable-rbac-authorization --public-network-access --query -o User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007?api-version=2026-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007?api-version=2026-05-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","name":"clihcpkv000007","type":"Microsoft.KeyVault/vaults","location":"uksouth","tags":{},"systemData":{"createdBy":"recording-user@example.com","createdByType":"User","createdAt":"2026-10-30T16:00:13.382Z","lastModifiedBy":"recording-user@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-10-30T16:00:13.382Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"00000000-0000-0000-0000-000000000001","accessPolicies":[],"enabledForDeployment":false,"enabledForDiskEncryption":false,"enabledForTemplateDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://clihcpkv000007.vault.azure.net/","provisioningState":"RegisteringDns","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","name":"clihcpkv000007","type":"Microsoft.KeyVault/vaults","location":"uksouth","tags":{},"systemData":{"createdBy":"recording-user@example.com","createdByType":"User","createdAt":"2026-11-04T02:57:29.593Z","lastModifiedBy":"recording-user@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-11-04T02:57:29.593Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"00000000-0000-0000-0000-000000000001","accessPolicies":[],"enabledForDeployment":false,"enabledForDiskEncryption":false,"enabledForTemplateDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://clihcpkv000007.vault.azure.net/","provisioningState":"RegisteringDns","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache @@ -911,7 +912,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:00:17 GMT + - Wed, 04 Nov 2026 02:57:31 GMT expires: - '-1' pragma: @@ -927,9 +928,9 @@ interactions: x-ms-keyvault-service-version: - 2.2.1271.0 x-ms-ratelimit-remaining-subscription-global-reads: - - '3748' + - '3749' x-msedge-ref: - - 'Ref A: 8F6F46D88F3E4B57AB8673C09274C4B5 Ref B: SN4AA2022302035 Ref C: 2026-10-30T16:00:15Z' + - 'Ref A: E4B2948AEB904D4D8BECA7F4ECF4A671 Ref B: DM2AA1091212019 Ref C: 2026-11-04T02:57:31Z' status: code: 200 message: OK @@ -948,12 +949,12 @@ interactions: - -g -n --location --enable-rbac-authorization --public-network-access --query -o User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007?api-version=2026-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007?api-version=2026-05-15 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","name":"clihcpkv000007","type":"Microsoft.KeyVault/vaults","location":"uksouth","tags":{},"systemData":{"createdBy":"recording-user@example.com","createdByType":"User","createdAt":"2026-10-30T16:00:13.382Z","lastModifiedBy":"recording-user@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-10-30T16:00:13.382Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"00000000-0000-0000-0000-000000000001","accessPolicies":[],"enabledForDeployment":false,"enabledForDiskEncryption":false,"enabledForTemplateDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://clihcpkv000007.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","name":"clihcpkv000007","type":"Microsoft.KeyVault/vaults","location":"uksouth","tags":{},"systemData":{"createdBy":"recording-user@example.com","createdByType":"User","createdAt":"2026-11-04T02:57:29.593Z","lastModifiedBy":"recording-user@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-11-04T02:57:29.593Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"00000000-0000-0000-0000-000000000001","accessPolicies":[],"enabledForDeployment":false,"enabledForDiskEncryption":false,"enabledForTemplateDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://clihcpkv000007.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache @@ -962,7 +963,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:00:47 GMT + - Wed, 04 Nov 2026 02:58:01 GMT expires: - '-1' pragma: @@ -978,9 +979,9 @@ interactions: x-ms-keyvault-service-version: - 2.2.1271.0 x-ms-ratelimit-remaining-subscription-global-reads: - - '3749' + - '3748' x-msedge-ref: - - 'Ref A: 28E10BBEFC8C4229BE5FD62586B537E7 Ref B: SN4AA2022303047 Ref C: 2026-10-30T16:00:47Z' + - 'Ref A: 155017FC62584E60A70A21B2BA474AED Ref B: SN4AA2022301051 Ref C: 2026-11-04T02:58:02Z' status: code: 200 message: OK @@ -996,7 +997,7 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) AZURECLI/2.91.0 + - python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) AZURECLI/2.92.0 method: GET uri: https://graph.microsoft.com/v1.0/me response: @@ -1010,11 +1011,11 @@ interactions: content-type: - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 date: - - Fri, 30 Oct 2026 16:00:48 GMT + - Wed, 04 Nov 2026 02:58:03 GMT odata-version: - '4.0' request-id: - - cdc09879-db9d-4765-8cae-46520271491f + - f18970fd-3cf4-4024-984a-9885eec63af3 strict-transport-security: - max-age=31536000 transfer-encoding: @@ -1022,15 +1023,15 @@ interactions: vary: - Accept-Encoding x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"South Central US","Slice":"E","Ring":"5","ScaleUnit":"000","RoleInstance":"SA2PEPF00004308"}}' + - '{"ServerInfo":{"DataCenter":"South Central US","Slice":"E","Ring":"5","ScaleUnit":"003","RoleInstance":"SN4PEPF00000509"}}' x-ms-resource-unit: - '1' status: code: 200 message: OK - request: - body: '{"properties": {"principalType": "User", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/14b46e9e-c2b7-41b4-b07b-48a6ebf60603", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "User", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/14b46e9e-c2b7-41b4-b07b-48a6ebf60603"}}' headers: Accept: - application/json @@ -1047,12 +1048,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/14b46e9e-c2b7-41b4-b07b-48a6ebf60603","principalId":"00000000-0000-0000-0000-000000000002","principalType":"User","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:00:49.8155295Z","updatedOn":"2026-10-30T16:00:50.5305660Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"d42bc724-82ea-4aa8-99d9-685cdacb5fa5"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/14b46e9e-c2b7-41b4-b07b-48a6ebf60603","principalId":"00000000-0000-0000-0000-000000000002","principalType":"User","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T02:58:03.9279147Z","updatedOn":"2026-11-04T02:58:04.7419248Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"4fc48ae0-d6d9-44af-828f-f12a1de14ece"}' headers: cache-control: - no-cache @@ -1061,7 +1062,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:00:50 GMT + - Wed, 04 Nov 2026 02:58:04 GMT expires: - '-1' pragma: @@ -1077,7 +1078,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: A5B508251120421B93289F35A6D9E963 Ref B: SN4AA2022305045 Ref C: 2026-10-30T16:00:49Z' + - 'Ref A: 51477175D488457AB05F4B7F37A64127 Ref B: SN4AA2022303033 Ref C: 2026-11-04T02:58:03Z' x-powered-by: - ASP.NET status: @@ -1101,7 +1102,7 @@ interactions: ParameterSetName: - --vault-name -n --kty --size User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: POST uri: https://clihcpkv000007.vault.azure.net/keys/etcd-data-kms-encryption-key/create?api-version=7.6-preview.2 response: @@ -1116,7 +1117,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:01:52 GMT + - Wed, 04 Nov 2026 02:59:06 GMT expires: - '-1' pragma: @@ -1153,12 +1154,12 @@ interactions: ParameterSetName: - --vault-name -n --kty --size User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: POST uri: https://clihcpkv000007.vault.azure.net/keys/etcd-data-kms-encryption-key/create?api-version=7.6-preview.2 response: body: - string: '{"key":{"kid":"https://clihcpkv000007.vault.azure.net/keys/etcd-data-kms-encryption-key/fecd7bb5b0ba4dd69f6a7cd474194ec1","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"uwe6goZXqXxa-VJMUZryCYRDjqzqMj-w_NfmvsQhfm2JkGwAugdZqleAVODlYKuS79voD8iFdShj0A9PQiLtU14k9SZWVpELVeERxaU9UZQk8BRq8BwcS6pcL_vjp7GV3Sn8hIkCx6OymKj0lpnlWien6bKGlsgXp6O_e8L9uSXvFXnaKRQJwyfZAaNsWHCtZLTAjzodE9s9fvft_TIHJJpI0jINeuO54TFeuZQZzIlliPB3wBTC07vy4GK44UozxPghE_9YZTfkn8T_o3jJWN2oGZFUjVTT6dMwopih_Iu9yuQgaWZiaBLgmhYR_bgouFZa_b3NZL3-6DJpwv9QeQ","e":"AQAB"},"attributes":{"enabled":true,"key_size":2048,"created":1793376112,"updated":1793376112,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90,"exportable":false,"hsmPlatform":"0"}}' + string: '{"key":{"kid":"https://clihcpkv000007.vault.azure.net/keys/etcd-data-kms-encryption-key/2194f189e201460aa9465785bc2fc7a9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"vzIlActqj_t39wkjVexzV30CwXwCcnvOM4FJitl1YYpwa0Lhppp9T7ZD4-aE9jvAnjRJmxZO2a0E8FEPKXzezxLv73CAKhPTQ4ZNR85mrXtBxxdyWwyqysRarv8-l279_pwwlQTwaSvU8_QNRGtactMfOy077oSevJdQJvC6TrciRRic5Ph56wc-TPKRG4-qK1yQXNwbV5S2ZUI31Nr6KXeiWwM16bGI6yPzBVqqMgK6VNrqDmnsFjtRdxApmt5Cnv1k_2mRRVXvEWzWJON1QTGq5mfyVgCgGABg5u7aHjqU1qjCJsPt5yPAY5EqlrvlGKcyA3y1bOiRnmL2UnkwHQ","e":"AQAB"},"attributes":{"enabled":true,"key_size":2048,"created":1793761147,"updated":1793761147,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90,"exportable":false,"hsmPlatform":"0"}}' headers: cache-control: - no-cache @@ -1167,7 +1168,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:01:52 GMT + - Wed, 04 Nov 2026 02:59:06 GMT expires: - '-1' pragma: @@ -1177,7 +1178,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-rbac-assignment-id: - - d42bc72482ea4aa899d9685cdacb5fa5 + - 4fc48ae0d6d944af828ff12a1de14ece x-ms-keyvault-region: - uksouth x-ms-keyvault-service-version: @@ -1203,7 +1204,7 @@ interactions: ParameterSetName: - -g -n --location User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008?api-version=2025-05-31-preview response: @@ -1217,7 +1218,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:01:54 GMT + - Wed, 04 Nov 2026 02:59:10 GMT expires: - '-1' location: @@ -1235,7 +1236,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 6606935098754BE08F3153C95EB1953A Ref B: SN4AA2022303051 Ref C: 2026-10-30T16:01:53Z' + - 'Ref A: 640C9D25A0774A25983E4ED01C8EFF0C Ref B: DM2AA1091212049 Ref C: 2026-11-04T02:59:07Z' status: code: 201 message: Created @@ -1257,7 +1258,7 @@ interactions: ParameterSetName: - -g -n --location User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009?api-version=2025-05-31-preview response: @@ -1271,7 +1272,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:01:57 GMT + - Wed, 04 Nov 2026 02:59:12 GMT expires: - '-1' location: @@ -1289,7 +1290,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 67C787D142FB46B5AAD0A1D42B228CD1 Ref B: SN4AA2022301021 Ref C: 2026-10-30T16:01:55Z' + - 'Ref A: EFAB3B97E4ED4552AE3471D45AEFE98C Ref B: SN4AA2022302027 Ref C: 2026-11-04T02:59:10Z' status: code: 201 message: Created @@ -1311,7 +1312,7 @@ interactions: ParameterSetName: - -g -n --location User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010?api-version=2025-05-31-preview response: @@ -1325,7 +1326,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:02:00 GMT + - Wed, 04 Nov 2026 02:59:16 GMT expires: - '-1' location: @@ -1343,7 +1344,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 7328FBB5F3A74B2E80B23EE889654C4D Ref B: SN4AA2022303023 Ref C: 2026-10-30T16:01:58Z' + - 'Ref A: 062DC6DB10C74835AB88C8714F2D1A19 Ref B: DM2AA1091212019 Ref C: 2026-11-04T02:59:14Z' status: code: 201 message: Created @@ -1365,7 +1366,7 @@ interactions: ParameterSetName: - -g -n --location User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011?api-version=2025-05-31-preview response: @@ -1379,7 +1380,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:02:03 GMT + - Wed, 04 Nov 2026 02:59:21 GMT expires: - '-1' location: @@ -1397,7 +1398,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 0BBE9F190A8244E2B7359D49A8A9CC24 Ref B: SN4AA2022305031 Ref C: 2026-10-30T16:02:01Z' + - 'Ref A: CB0755FB952D4C6FA15DE40228BF2E78 Ref B: SN4AA2022305033 Ref C: 2026-11-04T02:59:17Z' status: code: 201 message: Created @@ -1419,7 +1420,7 @@ interactions: ParameterSetName: - -g -n --location User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012?api-version=2025-05-31-preview response: @@ -1433,7 +1434,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:02:05 GMT + - Wed, 04 Nov 2026 02:59:25 GMT expires: - '-1' location: @@ -1451,7 +1452,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 40DC018331834667AFA866769C507237 Ref B: DM2AA1091212023 Ref C: 2026-10-30T16:02:03Z' + - 'Ref A: D7707DD702A54C8C862B65B56B3FED43 Ref B: SN4AA2022304037 Ref C: 2026-11-04T02:59:22Z' status: code: 201 message: Created @@ -1473,7 +1474,7 @@ interactions: ParameterSetName: - -g -n --location User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013?api-version=2025-05-31-preview response: @@ -1487,7 +1488,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:02:08 GMT + - Wed, 04 Nov 2026 02:59:29 GMT expires: - '-1' location: @@ -1505,7 +1506,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: BC7102919FB04CD5B1FF3A3B1793AFAB Ref B: SN4AA2022302051 Ref C: 2026-10-30T16:02:06Z' + - 'Ref A: B1F50B5AD6244526A7A7CB470AF849A0 Ref B: SN4AA2022301049 Ref C: 2026-11-04T02:59:25Z' status: code: 201 message: Created @@ -1527,7 +1528,7 @@ interactions: ParameterSetName: - -g -n --location User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014?api-version=2025-05-31-preview response: @@ -1541,7 +1542,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:02:11 GMT + - Wed, 04 Nov 2026 02:59:32 GMT expires: - '-1' location: @@ -1559,7 +1560,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 44F78A5B01D941DFAC05F53C4F1D45A7 Ref B: DM2AA1091212049 Ref C: 2026-10-30T16:02:09Z' + - 'Ref A: 858DF71F07454A5DB2DA96F66C732AD0 Ref B: DM2AA1091214049 Ref C: 2026-11-04T02:59:29Z' status: code: 201 message: Created @@ -1581,7 +1582,7 @@ interactions: ParameterSetName: - -g -n --location User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015?api-version=2025-05-31-preview response: @@ -1595,7 +1596,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:02:14 GMT + - Wed, 04 Nov 2026 02:59:35 GMT expires: - '-1' location: @@ -1613,7 +1614,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 86B6F549D1214FEDB79B05DB5FC51CE6 Ref B: DM2AA1091213023 Ref C: 2026-10-30T16:02:11Z' + - 'Ref A: A75364493B64490BA3F050A78E82B1E0 Ref B: SN4AA2022305011 Ref C: 2026-11-04T02:59:33Z' status: code: 201 message: Created @@ -1635,7 +1636,7 @@ interactions: ParameterSetName: - -g -n --location User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016?api-version=2025-05-31-preview response: @@ -1649,7 +1650,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:02:16 GMT + - Wed, 04 Nov 2026 02:59:38 GMT expires: - '-1' location: @@ -1667,7 +1668,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: C071530D0CA9493C91BDE1A3E68924D8 Ref B: SN4AA2022302009 Ref C: 2026-10-30T16:02:14Z' + - 'Ref A: D02133D00A444356B67F0771F434CA09 Ref B: SN4AA2022303037 Ref C: 2026-11-04T02:59:36Z' status: code: 201 message: Created @@ -1689,7 +1690,7 @@ interactions: ParameterSetName: - -g -n --location User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017?api-version=2025-05-31-preview response: @@ -1703,7 +1704,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:02:19 GMT + - Wed, 04 Nov 2026 02:59:42 GMT expires: - '-1' location: @@ -1721,7 +1722,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 831B6123981A4086B4B84C13DBB585E7 Ref B: DM2AA1091211047 Ref C: 2026-10-30T16:02:17Z' + - 'Ref A: 3A8C5DA8EF25429B91591840656F6237 Ref B: DM2AA1091213051 Ref C: 2026-11-04T02:59:40Z' status: code: 201 message: Created @@ -1743,7 +1744,7 @@ interactions: ParameterSetName: - -g -n --location User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018?api-version=2025-05-31-preview response: @@ -1757,7 +1758,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:02:22 GMT + - Wed, 04 Nov 2026 02:59:46 GMT expires: - '-1' location: @@ -1771,11 +1772,11 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - - '2998' + - '2999' x-ms-ratelimit-remaining-subscription-writes: - - '198' + - '199' x-msedge-ref: - - 'Ref A: 31B7C3763B304A818096DCDD3041BF5E Ref B: DM2AA1091214023 Ref C: 2026-10-30T16:02:20Z' + - 'Ref A: C622328297A44CBAB8E4630F2DF1DB6C Ref B: SN4AA2022303053 Ref C: 2026-11-04T02:59:43Z' status: code: 201 message: Created @@ -1797,7 +1798,7 @@ interactions: ParameterSetName: - -g -n --location User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019?api-version=2025-05-31-preview response: @@ -1811,7 +1812,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:02:26 GMT + - Wed, 04 Nov 2026 02:59:49 GMT expires: - '-1' location: @@ -1829,7 +1830,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 992C033969844881B2A60C9FD16C33F4 Ref B: DM2AA1091212025 Ref C: 2026-10-30T16:02:23Z' + - 'Ref A: 8A7D9688A1B646B6B13F948F0A2FBF4E Ref B: SN4AA2022302009 Ref C: 2026-11-04T02:59:46Z' status: code: 201 message: Created @@ -1851,7 +1852,7 @@ interactions: ParameterSetName: - -g -n --location User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020?api-version=2025-05-31-preview response: @@ -1865,7 +1866,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:02:29 GMT + - Wed, 04 Nov 2026 02:59:53 GMT expires: - '-1' location: @@ -1883,14 +1884,13 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 7E51F88C057E42B2B7DEC0A8AF6D05DB Ref B: SN4AA2022301037 Ref C: 2026-10-30T16:02:27Z' + - 'Ref A: 3A57BCC6E4F64FBF9FFB40A261B6454C Ref B: DM2AA1091213033 Ref C: 2026-11-04T02:59:50Z' status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/c0ff367d-66d8-445e-917c-583feb0ef0d4", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/c0ff367d-66d8-445e-917c-583feb0ef0d4"}}' headers: Accept: - application/json @@ -1907,12 +1907,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/c0ff367d-66d8-445e-917c-583feb0ef0d4","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:30.7068227Z","updatedOn":"2026-10-30T16:02:30.9958276Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"d5e346bc-6529-4420-a425-25d067468397"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/c0ff367d-66d8-445e-917c-583feb0ef0d4","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T02:59:53.8963531Z","updatedOn":"2026-11-04T02:59:54.1613591Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"bc609dac-81a0-41b8-a1df-34850fd473f5"}' headers: cache-control: - no-cache @@ -1921,7 +1921,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:02:33 GMT + - Wed, 04 Nov 2026 02:59:54 GMT expires: - '-1' pragma: @@ -1937,16 +1937,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 00AB3446993943D2A04F36629DBD0C8F Ref B: SN4AA2022301011 Ref C: 2026-10-30T16:02:30Z' + - 'Ref A: 55F305BF0EEA4023BF67DB364FEA7237 Ref B: SN4AA2022303017 Ref C: 2026-11-04T02:59:53Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/c0ff367d-66d8-445e-917c-583feb0ef0d4", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/c0ff367d-66d8-445e-917c-583feb0ef0d4"}}' headers: Accept: - application/json @@ -1963,12 +1962,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/c0ff367d-66d8-445e-917c-583feb0ef0d4","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:34.0307823Z","updatedOn":"2026-10-30T16:02:34.3267794Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"96dea52d-0bfa-4c1f-8f0d-edd5e5800bce"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/c0ff367d-66d8-445e-917c-583feb0ef0d4","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T02:59:55.5697927Z","updatedOn":"2026-11-04T02:59:56.3254670Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"5c53c565-1327-4522-946c-faf6507df477"}' headers: cache-control: - no-cache @@ -1977,7 +1976,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:02:36 GMT + - Wed, 04 Nov 2026 02:59:57 GMT expires: - '-1' pragma: @@ -1989,20 +1988,19 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - - '2998' + - '2999' x-ms-ratelimit-remaining-subscription-writes: - - '198' + - '199' x-msedge-ref: - - 'Ref A: 5F0DE03596DD4546B37786F69A1FDB6B Ref B: SN4AA2022304037 Ref C: 2026-10-30T16:02:33Z' + - 'Ref A: 64D500F1B33C4876B8195742288B5BBD Ref B: DM2AA1091214025 Ref C: 2026-11-04T02:59:55Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/88366f10-ed47-4cc0-9fab-c8a06148393e", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/88366f10-ed47-4cc0-9fab-c8a06148393e"}}' headers: Accept: - application/json @@ -2019,12 +2017,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/88366f10-ed47-4cc0-9fab-c8a06148393e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:36.5375958Z","updatedOn":"2026-10-30T16:02:37.6096208Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"7e215641-1854-4742-816f-89865dee04a5"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/88366f10-ed47-4cc0-9fab-c8a06148393e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T02:59:58.1006373Z","updatedOn":"2026-11-04T02:59:58.6786546Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"8ab9b66b-4b3e-4cf8-a162-0c98dead061a"}' headers: cache-control: - no-cache @@ -2033,7 +2031,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:02:39 GMT + - Wed, 04 Nov 2026 02:59:59 GMT expires: - '-1' pragma: @@ -2049,16 +2047,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 5DCD80BA71804FECAAAF0D709065138F Ref B: DM2AA1091211027 Ref C: 2026-10-30T16:02:36Z' + - 'Ref A: 071EFDF6EF7740CDA2F2D748365A7BB3 Ref B: SN4AA2022305039 Ref C: 2026-11-04T02:59:57Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/fc0c873f-45e9-4d0d-a7d1-585aab30c6ed", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/fc0c873f-45e9-4d0d-a7d1-585aab30c6ed"}}' headers: Accept: - application/json @@ -2075,12 +2072,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/fc0c873f-45e9-4d0d-a7d1-585aab30c6ed","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:40.5948524Z","updatedOn":"2026-10-30T16:02:41.1538695Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"409886b2-fd7a-4eeb-bde9-f8fe4c5fbe79"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/fc0c873f-45e9-4d0d-a7d1-585aab30c6ed","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T02:59:59.9871391Z","updatedOn":"2026-11-04T03:00:00.6897814Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"0dc2d8a8-a848-4281-a43a-681933499814"}' headers: cache-control: - no-cache @@ -2089,7 +2086,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:02:41 GMT + - Wed, 04 Nov 2026 03:00:01 GMT expires: - '-1' pragma: @@ -2105,16 +2102,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 052ED58D41924664BD0CF5F9041332DE Ref B: DM2AA1091211051 Ref C: 2026-10-30T16:02:39Z' + - 'Ref A: F2E509F6E4434BA7BD861761CEAA02C5 Ref B: SN4AA2022302049 Ref C: 2026-11-04T02:59:59Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/fc0c873f-45e9-4d0d-a7d1-585aab30c6ed", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/fc0c873f-45e9-4d0d-a7d1-585aab30c6ed"}}' headers: Accept: - application/json @@ -2131,12 +2127,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/fc0c873f-45e9-4d0d-a7d1-585aab30c6ed","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:43.1164701Z","updatedOn":"2026-10-30T16:02:44.2535063Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"ee9a80be-82cb-4449-93d4-686df288f7f8"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/fc0c873f-45e9-4d0d-a7d1-585aab30c6ed","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:00:02.3691857Z","updatedOn":"2026-11-04T03:00:03.1699366Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"44f3b0e0-b933-4225-a540-0aa6fd71342c"}' headers: cache-control: - no-cache @@ -2145,7 +2141,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:02:45 GMT + - Wed, 04 Nov 2026 03:00:03 GMT expires: - '-1' pragma: @@ -2161,16 +2157,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 27D9FBEC91944E6487416692B4619E4D Ref B: DM2AA1091214029 Ref C: 2026-10-30T16:02:42Z' + - 'Ref A: DA21F278EC4F401EAEE6EB1AD66E4B8A Ref B: SN4AA2022304029 Ref C: 2026-11-04T03:00:02Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/a1f96423-95ce-4224-ab27-4e3dc72facd4", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/a1f96423-95ce-4224-ab27-4e3dc72facd4"}}' headers: Accept: - application/json @@ -2187,12 +2182,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/a1f96423-95ce-4224-ab27-4e3dc72facd4","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:46.8765729Z","updatedOn":"2026-10-30T16:02:47.1725744Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"f90f44ec-2f0e-4a66-8b1a-4f7e2bfd0129"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/a1f96423-95ce-4224-ab27-4e3dc72facd4","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:00:04.8696361Z","updatedOn":"2026-11-04T03:00:05.7691411Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"7bac7aaa-78e8-49fb-a49d-d26f8dc6c3ba"}' headers: cache-control: - no-cache @@ -2201,7 +2196,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:02:47 GMT + - Wed, 04 Nov 2026 03:00:05 GMT expires: - '-1' pragma: @@ -2217,16 +2212,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 9F29DBA87FF14DDEAF9396BE86AF8923 Ref B: DM2AA1091213025 Ref C: 2026-10-30T16:02:46Z' + - 'Ref A: 5193B8B377984FE19F4480B23CD85276 Ref B: SN4AA2022304019 Ref C: 2026-11-04T03:00:04Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/a1f96423-95ce-4224-ab27-4e3dc72facd4", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/a1f96423-95ce-4224-ab27-4e3dc72facd4"}}' headers: Accept: - application/json @@ -2243,12 +2237,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/a1f96423-95ce-4224-ab27-4e3dc72facd4","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:48.6691358Z","updatedOn":"2026-10-30T16:02:49.0841435Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"06faf6b7-7304-4ea3-a630-b843e29da4e9"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/a1f96423-95ce-4224-ab27-4e3dc72facd4","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:00:08.0180834Z","updatedOn":"2026-11-04T03:00:08.4842406Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"dbb6b570-97a8-4d3e-9ab7-b149a3b1a286"}' headers: cache-control: - no-cache @@ -2257,7 +2251,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:02:49 GMT + - Wed, 04 Nov 2026 03:00:09 GMT expires: - '-1' pragma: @@ -2273,16 +2267,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: F544C730208447528DD3315D6C8D6F9B Ref B: DM2AA1091211025 Ref C: 2026-10-30T16:02:48Z' + - 'Ref A: 0A271647D97445B18C2A62971668D066 Ref B: SN4AA2022302039 Ref C: 2026-11-04T03:00:07Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0336e1d3-7a87-462b-b6db-342b63f7802c", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0336e1d3-7a87-462b-b6db-342b63f7802c"}}' headers: Accept: - application/json @@ -2299,12 +2292,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0336e1d3-7a87-462b-b6db-342b63f7802c","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:50.5559620Z","updatedOn":"2026-10-30T16:02:50.7509687Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"0d292110-b428-4e44-a173-1c6b68fc0f03"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0336e1d3-7a87-462b-b6db-342b63f7802c","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:00:10.4878357Z","updatedOn":"2026-11-04T03:00:11.1578422Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"4a24d8ad-425e-4cf3-a7ed-1ca09f45bdd4"}' headers: cache-control: - no-cache @@ -2313,7 +2306,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:02:52 GMT + - Wed, 04 Nov 2026 03:00:12 GMT expires: - '-1' pragma: @@ -2329,16 +2322,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 548149F117DC49FAA5E04B9C56E0868F Ref B: DM2AA1091213045 Ref C: 2026-10-30T16:02:50Z' + - 'Ref A: E4E89FBEAB7F4A01B38F23AEFBF5D115 Ref B: SN4AA2022301047 Ref C: 2026-11-04T03:00:10Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e"}}' headers: Accept: - application/json @@ -2355,12 +2347,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:52.9031049Z","updatedOn":"2026-10-30T16:02:53.1085294Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"6779f25b-f843-4c41-874b-5252c98b82b9"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:00:13.8656716Z","updatedOn":"2026-11-04T03:00:15.0582296Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"1c4bc133-c5fc-44f8-96d1-4bf0202722fe"}' headers: cache-control: - no-cache @@ -2369,7 +2361,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:02:54 GMT + - Wed, 04 Nov 2026 03:00:15 GMT expires: - '-1' pragma: @@ -2385,16 +2377,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 7D8514DE6E6D422B8843C63F7EAF2014 Ref B: SN4AA2022301039 Ref C: 2026-10-30T16:02:52Z' + - 'Ref A: F4D17E8580B146A7966B8312957C5716 Ref B: SN4AA2022305029 Ref C: 2026-11-04T03:00:13Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e"}}' headers: Accept: - application/json @@ -2411,12 +2402,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:55.9599386Z","updatedOn":"2026-10-30T16:02:56.5349436Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"f3443d49-2851-467c-8a09-44c68ada7e04"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:00:16.5447637Z","updatedOn":"2026-11-04T03:00:17.1373718Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"0448caf6-3f1c-4996-abe2-fd3a95a2f765"}' headers: cache-control: - no-cache @@ -2425,7 +2416,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:02:57 GMT + - Wed, 04 Nov 2026 03:00:17 GMT expires: - '-1' pragma: @@ -2441,16 +2432,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: B4CD855FD96C4B32B84C127DF7A353C3 Ref B: DM2AA1091213017 Ref C: 2026-10-30T16:02:55Z' + - 'Ref A: 6EE51EBFD67144DE888C439AE04DBF46 Ref B: SN4AA2022301037 Ref C: 2026-11-04T03:00:16Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/8b32b316-c2f5-4ddf-b05b-83dacd2d08b5", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/8b32b316-c2f5-4ddf-b05b-83dacd2d08b5"}}' headers: Accept: - application/json @@ -2467,12 +2457,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/8b32b316-c2f5-4ddf-b05b-83dacd2d08b5","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:58.2657219Z","updatedOn":"2026-10-30T16:02:58.5717306Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"627c1d2c-e266-4714-9a1e-e083bf76c75a"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/8b32b316-c2f5-4ddf-b05b-83dacd2d08b5","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:00:18.6485069Z","updatedOn":"2026-11-04T03:00:19.3075252Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"a4cf64e3-17d0-45b0-bc6c-4ee2c4b97215"}' headers: cache-control: - no-cache @@ -2481,7 +2471,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:02:59 GMT + - Wed, 04 Nov 2026 03:00:19 GMT expires: - '-1' pragma: @@ -2497,16 +2487,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: E1FCC631DC7042D091F24EE04D1886F6 Ref B: SN4AA2022303035 Ref C: 2026-10-30T16:02:57Z' + - 'Ref A: DDC54CD0626B4EAEA97E3F230BDEE5C6 Ref B: DM2AA1091211023 Ref C: 2026-11-04T03:00:18Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/be7a6435-15ae-4171-8f30-4a343eff9e8f", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/be7a6435-15ae-4171-8f30-4a343eff9e8f"}}' headers: Accept: - application/json @@ -2523,12 +2512,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/be7a6435-15ae-4171-8f30-4a343eff9e8f","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:02:59.9325874Z","updatedOn":"2026-10-30T16:03:00.2875922Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"7edaa4f6-a250-42c8-90ac-83dd9f968e85"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/be7a6435-15ae-4171-8f30-4a343eff9e8f","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:00:20.7573820Z","updatedOn":"2026-11-04T03:00:21.3443872Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"f5d35920-6fa2-40f9-9b34-b73e8f5817a4"}' headers: cache-control: - no-cache @@ -2537,7 +2526,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:03:00 GMT + - Wed, 04 Nov 2026 03:00:21 GMT expires: - '-1' pragma: @@ -2553,16 +2542,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 5D5FAA5134B04A31A30171B047402633 Ref B: SN4AA2022302047 Ref C: 2026-10-30T16:02:59Z' + - 'Ref A: 43382F6D6B04416BB40A51DF34FEE4C0 Ref B: SN4AA2022305029 Ref C: 2026-11-04T03:00:20Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/be7a6435-15ae-4171-8f30-4a343eff9e8f", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/be7a6435-15ae-4171-8f30-4a343eff9e8f"}}' headers: Accept: - application/json @@ -2579,12 +2567,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/be7a6435-15ae-4171-8f30-4a343eff9e8f","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:01.8963947Z","updatedOn":"2026-10-30T16:03:02.1253986Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"e67adf57-e6ab-4164-a8d6-065016c8bb33"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/be7a6435-15ae-4171-8f30-4a343eff9e8f","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:00:23.0680821Z","updatedOn":"2026-11-04T03:00:23.3480893Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"45586fbc-9f4a-4c49-a2ac-34220cc675ff"}' headers: cache-control: - no-cache @@ -2593,7 +2581,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:03:02 GMT + - Wed, 04 Nov 2026 03:00:24 GMT expires: - '-1' pragma: @@ -2609,16 +2597,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: DFDCFAAF90A14CB1BE12A6CA07A711CA Ref B: SN4AA2022302047 Ref C: 2026-10-30T16:03:01Z' + - 'Ref A: D303821A3EE94CFEA03B4A648C9383FD Ref B: SN4AA2022305035 Ref C: 2026-11-04T03:00:22Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/12338af0-0e69-4776-bea7-57ae8d297424", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/12338af0-0e69-4776-bea7-57ae8d297424"}}' headers: Accept: - application/json @@ -2635,12 +2622,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/12338af0-0e69-4776-bea7-57ae8d297424","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:03.8529767Z","updatedOn":"2026-10-30T16:03:04.1289826Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"d7db230c-814e-4d4e-a69d-f179b8f473b6"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/12338af0-0e69-4776-bea7-57ae8d297424","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:00:25.1566062Z","updatedOn":"2026-11-04T03:00:25.4706121Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.KeyVault/vaults/clihcpkv000007/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"38d03342-a3fe-475d-a28f-8fbc95f0c8c3"}' headers: cache-control: - no-cache @@ -2649,7 +2636,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:03:04 GMT + - Wed, 04 Nov 2026 03:00:27 GMT expires: - '-1' pragma: @@ -2665,16 +2652,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: D5B1A6C910E24C1B88409A9988D71581 Ref B: SN4AA2022304027 Ref C: 2026-10-30T16:03:03Z' + - 'Ref A: DBB5D0098BD74DA39F16198FE429C7E5 Ref B: SN4AA2022301021 Ref C: 2026-11-04T03:00:24Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e"}}' headers: Accept: - application/json @@ -2691,12 +2677,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:05.5051570Z","updatedOn":"2026-10-30T16:03:05.7871679Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"1d65449f-1e5a-47c0-936b-a02b1b217c37"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:00:28.0508550Z","updatedOn":"2026-11-04T03:00:28.9091033Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"4c210f2d-292f-4499-9b0e-c84a90066df8"}' headers: cache-control: - no-cache @@ -2705,7 +2691,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:03:06 GMT + - Wed, 04 Nov 2026 03:00:30 GMT expires: - '-1' pragma: @@ -2721,16 +2707,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 2E2B87489CA749C2B881DDFB234410E8 Ref B: DM2AA1091211053 Ref C: 2026-10-30T16:03:05Z' + - 'Ref A: 16D3CFDEDF3D427FAF989B642B992E88 Ref B: SN4AA2022301049 Ref C: 2026-11-04T03:00:27Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e"}}' headers: Accept: - application/json @@ -2747,12 +2732,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:07.1584120Z","updatedOn":"2026-10-30T16:03:07.5464128Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"6aa9aee3-5657-4147-85cb-0ae10ea69618"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:00:30.8277569Z","updatedOn":"2026-11-04T03:00:31.9524810Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"55981d48-3174-4491-9a6f-78cd8b3d1f5d"}' headers: cache-control: - no-cache @@ -2761,7 +2746,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:03:08 GMT + - Wed, 04 Nov 2026 03:00:34 GMT expires: - '-1' pragma: @@ -2777,16 +2762,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 4A5946D8AD87447F9F85B78BA832C066 Ref B: SN4AA2022303031 Ref C: 2026-10-30T16:03:06Z' + - 'Ref A: 6F1C8727061E436D968DC0287B2DF733 Ref B: SN4AA2022305051 Ref C: 2026-11-04T03:00:30Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e"}}' headers: Accept: - application/json @@ -2803,12 +2787,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:09.5776351Z","updatedOn":"2026-10-30T16:03:09.9296380Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"e69fda1f-7586-4d53-90a0-9c5a2963b1a8"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/0d7aedc0-15fd-4a67-a412-efad370c947e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:00:34.5771169Z","updatedOn":"2026-11-04T03:00:35.4331292Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"96d431fa-6f0b-409c-ac9c-c2a054a17d85"}' headers: cache-control: - no-cache @@ -2817,7 +2801,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:03:10 GMT + - Wed, 04 Nov 2026 03:00:36 GMT expires: - '-1' pragma: @@ -2833,16 +2817,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 678D3AD45DCA4766A44028A84BE1F070 Ref B: DM2AA1091211049 Ref C: 2026-10-30T16:03:09Z' + - 'Ref A: 98672AB2956A49AD8191E4077B02BD00 Ref B: SN4AA2022301033 Ref C: 2026-11-04T03:00:34Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/8b32b316-c2f5-4ddf-b05b-83dacd2d08b5", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/8b32b316-c2f5-4ddf-b05b-83dacd2d08b5"}}' headers: Accept: - application/json @@ -2859,12 +2842,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/8b32b316-c2f5-4ddf-b05b-83dacd2d08b5","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:11.2328875Z","updatedOn":"2026-10-30T16:03:11.4768930Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"a29ad771-8d34-455e-81e5-360a69e211ae"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/8b32b316-c2f5-4ddf-b05b-83dacd2d08b5","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:00:37.9173354Z","updatedOn":"2026-11-04T03:00:38.8083621Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"1708729a-ad44-41b4-9003-d95f300fb965"}' headers: cache-control: - no-cache @@ -2873,7 +2856,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:03:11 GMT + - Wed, 04 Nov 2026 03:00:39 GMT expires: - '-1' pragma: @@ -2889,16 +2872,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 8A13C0BF775E4304AFD9545EFEE85C6C Ref B: SN4AA2022304011 Ref C: 2026-10-30T16:03:11Z' + - 'Ref A: 2A21DC6CA1324EADAA15E6A69055D6C2 Ref B: SN4AA2022301031 Ref C: 2026-11-04T03:00:37Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' headers: Accept: - application/json @@ -2915,12 +2897,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:12.7916200Z","updatedOn":"2026-10-30T16:03:13.0376252Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"3acde4c8-7931-41da-aa0e-6a4a8c9b21ac"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:00:40.3302401Z","updatedOn":"2026-11-04T03:00:41.0032361Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"e86551e6-cdd1-424e-a77a-cd0f1d055f3a"}' headers: cache-control: - no-cache @@ -2929,7 +2911,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:03:14 GMT + - Wed, 04 Nov 2026 03:00:46 GMT expires: - '-1' pragma: @@ -2945,16 +2927,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 87BEEFA1271246F28390032EDD70E781 Ref B: SN4AA2022304039 Ref C: 2026-10-30T16:03:12Z' + - 'Ref A: B56280ABF0D2448E92DABDD1145D45C7 Ref B: SN4AA2022305049 Ref C: 2026-11-04T03:00:39Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' headers: Accept: - application/json @@ -2971,12 +2952,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:15.2529636Z","updatedOn":"2026-10-30T16:03:15.4719686Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"217cdcc0-3283-4c81-b982-a2f7073a19b4"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:00:47.0120409Z","updatedOn":"2026-11-04T03:00:47.2810463Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"6ab6001f-17f1-4083-8d85-68a34f8ab788"}' headers: cache-control: - no-cache @@ -2985,7 +2966,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:03:16 GMT + - Wed, 04 Nov 2026 03:00:48 GMT expires: - '-1' pragma: @@ -3001,16 +2982,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 438427626C9B41019A4CE208F73E6EE7 Ref B: DM2AA1091214039 Ref C: 2026-10-30T16:03:15Z' + - 'Ref A: 7E62212694584F3DA0B586865413ADA9 Ref B: SN4AA2022301053 Ref C: 2026-11-04T03:00:46Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' headers: Accept: - application/json @@ -3027,12 +3007,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:16.9654262Z","updatedOn":"2026-10-30T16:03:17.2004241Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"5e2fbdef-4290-407c-891f-3d6c9e8d4264"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:00:48.7580082Z","updatedOn":"2026-11-04T03:00:49.5780220Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"a96b0596-119b-4fee-a384-fcada68d9365"}' headers: cache-control: - no-cache @@ -3041,7 +3021,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:03:18 GMT + - Wed, 04 Nov 2026 03:00:49 GMT expires: - '-1' pragma: @@ -3057,16 +3037,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 3C5AA9B88F67427694058B22691ADCFD Ref B: SN4AA2022302019 Ref C: 2026-10-30T16:03:16Z' + - 'Ref A: BB5D2EE2E473412BB9672F3B2CAD5B1F Ref B: DM2AA1091214045 Ref C: 2026-11-04T03:00:48Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' headers: Accept: - application/json @@ -3083,12 +3062,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:19.7075716Z","updatedOn":"2026-10-30T16:03:19.9745822Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"7a1e2279-35f1-4f74-81da-a162fa74e12c"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:00:51.2032441Z","updatedOn":"2026-11-04T03:00:52.3342612Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"9c289ba8-fa11-443e-9700-ce5d4cbe1b79"}' headers: cache-control: - no-cache @@ -3097,7 +3076,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:03:20 GMT + - Wed, 04 Nov 2026 03:00:52 GMT expires: - '-1' pragma: @@ -3113,16 +3092,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: A13E6A668220404BBA1AB5C6206D9106 Ref B: SN4AA2022301033 Ref C: 2026-10-30T16:03:19Z' + - 'Ref A: 7FE924D60FD24F05A53AA0C8D9BC310C Ref B: DM2AA1091212045 Ref C: 2026-11-04T03:00:50Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' headers: Accept: - application/json @@ -3139,12 +3117,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:21.6947424Z","updatedOn":"2026-10-30T16:03:22.0417478Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"78f5fd83-a45a-473b-a23c-dc697a66ddcd"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:00:53.8232850Z","updatedOn":"2026-11-04T03:00:54.5862946Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"c4bfeb62-bd2a-4e3e-9404-5e2650dbfa54"}' headers: cache-control: - no-cache @@ -3153,7 +3131,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:03:22 GMT + - Wed, 04 Nov 2026 03:00:55 GMT expires: - '-1' pragma: @@ -3169,16 +3147,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: BEDB0B2FBBC74BF28D7CAF5C1C0C1EE3 Ref B: DM2AA1091211029 Ref C: 2026-10-30T16:03:21Z' + - 'Ref A: C7042196C587485090D950B5D8FDA8DB Ref B: SN4AA2022303053 Ref C: 2026-11-04T03:00:53Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' headers: Accept: - application/json @@ -3195,12 +3172,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:23.4908364Z","updatedOn":"2026-10-30T16:03:23.8276224Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"1d972631-7b5f-444e-b4d9-4cc6a5b4172f"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:00:56.2245508Z","updatedOn":"2026-11-04T03:00:56.8641193Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"70b153f5-9150-4d4f-8209-b0ab2b926d94"}' headers: cache-control: - no-cache @@ -3209,7 +3186,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:03:24 GMT + - Wed, 04 Nov 2026 03:00:58 GMT expires: - '-1' pragma: @@ -3225,16 +3202,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: C8752E19825C4E29A7180BD6B606CF8F Ref B: SN4AA2022305017 Ref C: 2026-10-30T16:03:23Z' + - 'Ref A: 26986DE38FAE4D879FA015E2AC761642 Ref B: SN4AA2022303023 Ref C: 2026-11-04T03:00:55Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' headers: Accept: - application/json @@ -3251,12 +3227,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:25.3650473Z","updatedOn":"2026-10-30T16:03:26.1410613Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"76adfa5e-b095-433f-acf7-52b4a93fb54e"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:01:00.2268873Z","updatedOn":"2026-11-04T03:01:00.8888908Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"6f42b0e8-709b-48ad-aada-bd985dbf9aa8"}' headers: cache-control: - no-cache @@ -3265,7 +3241,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:03:27 GMT + - Wed, 04 Nov 2026 03:01:03 GMT expires: - '-1' pragma: @@ -3281,16 +3257,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 0F76E2397F874D94A50EF9E44478BD14 Ref B: SN4AA2022301049 Ref C: 2026-10-30T16:03:25Z' + - 'Ref A: 2687C4F00B134458A97D47A5D0AC9738 Ref B: SN4AA2022302027 Ref C: 2026-11-04T03:00:59Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' headers: Accept: - application/json @@ -3307,12 +3282,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:27.5862439Z","updatedOn":"2026-10-30T16:03:28.0374725Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"097c09f5-1098-4437-9c3a-3c2a866d6388"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:01:03.5706771Z","updatedOn":"2026-11-04T03:01:04.4577148Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"a6d6e225-be62-41c8-88e9-5730d169d6fb"}' headers: cache-control: - no-cache @@ -3321,7 +3296,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:03:28 GMT + - Wed, 04 Nov 2026 03:01:05 GMT expires: - '-1' pragma: @@ -3337,16 +3312,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 996E8FB9EA5D46A8A5FC3FDB53CD4235 Ref B: SN4AA2022301053 Ref C: 2026-10-30T16:03:27Z' + - 'Ref A: 3838976F71F248D0AE1F2C3EA1DE0CEF Ref B: DM2AA1091213021 Ref C: 2026-11-04T03:01:03Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7"}}' headers: Accept: - application/json @@ -3363,12 +3337,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:29.4324051Z","updatedOn":"2026-10-30T16:03:29.6074052Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"d0f4f110-b6a5-4f45-b315-34bdf7287a10"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:01:06.6532937Z","updatedOn":"2026-11-04T03:01:07.4713113Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"a5cbda66-d258-4e3d-b3f2-b2880bf81308"}' headers: cache-control: - no-cache @@ -3377,7 +3351,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:03:29 GMT + - Wed, 04 Nov 2026 03:01:08 GMT expires: - '-1' pragma: @@ -3393,16 +3367,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: A44B3B2C136F40649CDEF3D9352E7802 Ref B: SN4AA2022305027 Ref C: 2026-10-30T16:03:29Z' + - 'Ref A: 221140404B0C4E058A4B1A68DE3938E4 Ref B: SN4AA2022303053 Ref C: 2026-11-04T03:01:06Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e"}}' headers: Accept: - application/json @@ -3419,12 +3392,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:34.5660189Z","updatedOn":"2026-10-30T16:03:35.0030278Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"16b84ac7-966f-4186-b614-b4a5d174373e"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:01:09.1192680Z","updatedOn":"2026-11-04T03:01:09.8242853Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"98921a7f-2aa5-4e84-9307-42c6e2fc8db2"}' headers: cache-control: - no-cache @@ -3433,7 +3406,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:03:38 GMT + - Wed, 04 Nov 2026 03:01:10 GMT expires: - '-1' pragma: @@ -3449,16 +3422,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 1AE65671DEFB458388FEABA1D13C872A Ref B: SN4AA2022304011 Ref C: 2026-10-30T16:03:31Z' + - 'Ref A: 31053FE76F594B49A2643B43F87F4A34 Ref B: SN4AA2022303009 Ref C: 2026-11-04T03:01:08Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e"}}' headers: Accept: - application/json @@ -3475,12 +3447,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:40.0186920Z","updatedOn":"2026-10-30T16:03:40.4127026Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"b8306de1-8ff4-4739-9160-3fe94a2e0f7b"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:01:11.3058058Z","updatedOn":"2026-11-04T03:01:11.6618164Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"3e8648c1-80d0-4cdb-9cbe-86b422285387"}' headers: cache-control: - no-cache @@ -3489,7 +3461,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:03:41 GMT + - Wed, 04 Nov 2026 03:01:13 GMT expires: - '-1' pragma: @@ -3505,16 +3477,15 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 604EBAC51F0A4D1AB77860CF2AE282F9 Ref B: SN4AA2022304017 Ref C: 2026-10-30T16:03:39Z' + - 'Ref A: DB2E9EDF9B8B4DAEA82EDE913D49DFC2 Ref B: SN4AA2022301025 Ref C: 2026-11-04T03:01:11Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"properties": {"principalType": "ServicePrincipal", "roleDefinitionId": - "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e", - "principalId": "00000000-0000-0000-0000-000000000002"}}' + body: '{"properties": {"principalId": "00000000-0000-0000-0000-000000000002", + "principalType": "ServicePrincipal", "roleDefinitionId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e"}}' headers: Accept: - application/json @@ -3531,12 +3502,12 @@ interactions: ParameterSetName: - --assignee-object-id --assignee-principal-type --role --scope User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004?api-version=2022-04-01 response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020","condition":null,"conditionVersion":null,"createdOn":"2026-10-30T16:03:42.0984999Z","updatedOn":"2026-10-30T16:03:42.3695037Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"727ab871-50b1-47a0-9982-ed6ff027288e"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/ef318e2a-8334-4a05-9e4a-295a196c6a6e","principalId":"00000000-0000-0000-0000-000000000002","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020","condition":null,"conditionVersion":null,"createdOn":"2026-11-04T03:01:14.2957049Z","updatedOn":"2026-11-04T03:01:14.7577172Z","createdBy":null,"updatedBy":"recording-user@example.com","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020/providers/Microsoft.Authorization/roleAssignments/00000000-0000-0000-0000-000000000004","type":"Microsoft.Authorization/roleAssignments","name":"3f390bbc-3b45-4f3e-995e-9b40aca46283"}' headers: cache-control: - no-cache @@ -3545,39 +3516,43 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:03:45 GMT + - Wed, 04 Nov 2026 03:01: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-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 1FB96B3FE2CD4668B88943525BB1FB21 Ref B: SN4AA2022305049 Ref C: 2026-11-04T03:01:14Z' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"identity": {"userAssignedIdentities": {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017": - {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010": - {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016": - {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013": - {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008": + body: '{"identity": {"userAssignedIdentities": {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011": {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013": {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015": - {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008": {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014": - {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009": + {}, "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010": {}}, "type": "UserAssigned"}, "location": "uksouth", "properties": {"api": {"visibility": "Public"}, "clusterImageRegistry": {"state": "Enabled"}, "cryptoRestrictions": "None", "etcd": {"dataEncryption": {"customerManaged": {"encryptionType": "KMS", - "kms": {"activeKey": {"name": "etcd-data-kms-encryption-key", "version": "fecd7bb5b0ba4dd69f6a7cd474194ec1"}, + "kms": {"activeKey": {"name": "etcd-data-kms-encryption-key", "version": "2194f189e201460aa9465785bc2fc7a9"}, "keyVaultType": "KeyVault", "vaultName": "clihcpkv000007", "visibility": "Public"}}, "keyManagementMode": "CustomerManaged"}}, "ingress": {"type": "Public"}, "network": {"hostPrefix": 23, "machineCidr": "10.0.0.0/16", "networkType": "OVNKubernetes", @@ -3624,7 +3599,7 @@ interactions: --assign-data-plane-operator-identity --assign-data-plane-operator-identity --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002?api-version=2026-10-01 response: @@ -3652,7 +3627,7 @@ interactions: {\n \"encryptionType\": \"KMS\",\n \"kms\": {\n \"activeKey\": {\n \"name\": \"etcd-data-kms-encryption-key\",\n \"version\": - \"fecd7bb5b0ba4dd69f6a7cd474194ec1\"\n },\n \"keyVaultType\": + \"2194f189e201460aa9465785bc2fc7a9\"\n },\n \"keyVaultType\": \"KeyVault\",\n \"vaultName\": \"clihcpkv000007\",\n \ \"visibility\": \"Public\"\n }\n \ },\n \"keyManagementMode\": \"CustomerManaged\"\n @@ -3683,14 +3658,14 @@ interactions: \ \"vnetIntegrationSubnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet\"\n \ },\n \"provisioningState\": \"Accepted\",\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22\"\n - \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-30T16:03:47.4925397Z\",\n + \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-11-04T03:01:16.5762188Z\",\n \ \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": - \"User\",\n \"lastModifiedAt\": \"2026-10-30T16:03:47.4925397Z\",\n + \"User\",\n \"lastModifiedAt\": \"2026-11-04T03:01:16.5762188Z\",\n \ \"lastModifiedBy\": \"recording-user@example.com\",\n \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters\"\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED cache-control: - no-cache content-length: @@ -3698,15 +3673,15 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:03:48 GMT + - Wed, 04 Nov 2026 03:01:15 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: @@ -3715,6 +3690,8 @@ interactions: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 52C4E2D6265844CDB085F815B1337AFF Ref B: DM2AA1091214017 Ref C: 2026-11-04T03:01:16Z' status: code: 201 message: Created @@ -3740,14 +3717,14 @@ interactions: --assign-data-plane-operator-identity --assign-data-plane-operator-identity --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n - \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Accepted\",\n - \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Accepted\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\"\n}" headers: cache-control: - no-cache @@ -3756,21 +3733,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:03:49 GMT + - Wed, 04 Nov 2026 03:01:17 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 3084CB46B3884ADEB5F23209B5AADFA5 Ref B: SN4AA2022303051 Ref C: 2026-11-04T03:01:17Z' status: code: 200 message: OK @@ -3796,14 +3775,14 @@ interactions: --assign-data-plane-operator-identity --assign-data-plane-operator-identity --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n - \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\"\n}" headers: cache-control: - no-cache @@ -3812,7 +3791,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:04:20 GMT + - Wed, 04 Nov 2026 03:01:47 GMT expires: - '-1' pragma: @@ -3828,7 +3807,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: DC078522ADA148198CE01368FE8DF8BA Ref B: DM2AA1091212021 Ref C: 2026-10-30T16:04:20Z' + - 'Ref A: 81E91A9F3FB84452B70BD51747FEC058 Ref B: SN4AA2022303047 Ref C: 2026-11-04T03:01:47Z' status: code: 200 message: OK @@ -3854,14 +3833,14 @@ interactions: --assign-data-plane-operator-identity --assign-data-plane-operator-identity --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n - \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\"\n}" headers: cache-control: - no-cache @@ -3870,7 +3849,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:04:52 GMT + - Wed, 04 Nov 2026 03:02:18 GMT expires: - '-1' pragma: @@ -3882,11 +3861,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: 9C8221887FDB426BBDC562F652D3A83F Ref B: SN4AA2022303033 Ref C: 2026-10-30T16:04:51Z' + - 'Ref A: 2EE2CD69DB594C4084704EC43BF39612 Ref B: DM2AA1091212025 Ref C: 2026-11-04T03:02:18Z' status: code: 200 message: OK @@ -3912,14 +3891,14 @@ interactions: --assign-data-plane-operator-identity --assign-data-plane-operator-identity --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n - \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\"\n}" headers: cache-control: - no-cache @@ -3928,7 +3907,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:05:22 GMT + - Wed, 04 Nov 2026 03:02:49 GMT expires: - '-1' pragma: @@ -3940,11 +3919,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: EB5E645AE98C457FBB83DB0BB32FB054 Ref B: DM2AA1091211031 Ref C: 2026-10-30T16:05:22Z' + - 'Ref A: 3A82A935263340B4BCE681D0A8AB4C9A Ref B: DM2AA1091211027 Ref C: 2026-11-04T03:02:49Z' status: code: 200 message: OK @@ -3970,14 +3949,14 @@ interactions: --assign-data-plane-operator-identity --assign-data-plane-operator-identity --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n - \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\"\n}" headers: cache-control: - no-cache @@ -3986,21 +3965,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:05:52 GMT + - Wed, 04 Nov 2026 03:03:20 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: A30888D1865A48BCA10CCFED8BD09344 Ref B: DM2AA1091214047 Ref C: 2026-11-04T03:03:20Z' status: code: 200 message: OK @@ -4026,14 +4007,14 @@ interactions: --assign-data-plane-operator-identity --assign-data-plane-operator-identity --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n - \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\"\n}" headers: cache-control: - no-cache @@ -4042,21 +4023,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:06:24 GMT + - Wed, 04 Nov 2026 03:03:50 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: F1A539A5F7D1410388E7E7C289A0F61B Ref B: SN4AA2022304011 Ref C: 2026-11-04T03:03:51Z' status: code: 200 message: OK @@ -4082,14 +4065,14 @@ interactions: --assign-data-plane-operator-identity --assign-data-plane-operator-identity --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n - \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\"\n}" headers: cache-control: - no-cache @@ -4098,21 +4081,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:06:54 GMT + - Wed, 04 Nov 2026 03:04:21 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: B80C8A6B3F614FC29020E794CA6F8369 Ref B: SN4AA2022303053 Ref C: 2026-11-04T03:04:21Z' status: code: 200 message: OK @@ -4138,14 +4123,14 @@ interactions: --assign-data-plane-operator-identity --assign-data-plane-operator-identity --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n - \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\"\n}" headers: cache-control: - no-cache @@ -4154,21 +4139,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:07:25 GMT + - Wed, 04 Nov 2026 03:04:52 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 16C89393F0854D01A90EBF8BA131A68D Ref B: SN4AA2022301021 Ref C: 2026-11-04T03:04:52Z' status: code: 200 message: OK @@ -4194,14 +4181,14 @@ interactions: --assign-data-plane-operator-identity --assign-data-plane-operator-identity --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n - \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\"\n}" headers: cache-control: - no-cache @@ -4210,21 +4197,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:07:55 GMT + - Wed, 04 Nov 2026 03:05:23 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: BD86CC1FA4B44B57B49D8A91526607CE Ref B: SN4AA2022305053 Ref C: 2026-11-04T03:05:23Z' status: code: 200 message: OK @@ -4250,14 +4239,14 @@ interactions: --assign-data-plane-operator-identity --assign-data-plane-operator-identity --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n - \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\"\n}" headers: cache-control: - no-cache @@ -4266,7 +4255,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:08:27 GMT + - Wed, 04 Nov 2026 03:05:53 GMT expires: - '-1' pragma: @@ -4278,11 +4267,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: CC0F562786A2405683EB958421E298A5 Ref B: SN4AA2022305047 Ref C: 2026-10-30T16:08:26Z' + - 'Ref A: 4F6AC3755D8D471A85299214F142209F Ref B: SN4AA2022302047 Ref C: 2026-11-04T03:05:53Z' status: code: 200 message: OK @@ -4308,14 +4297,14 @@ interactions: --assign-data-plane-operator-identity --assign-data-plane-operator-identity --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n - \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\"\n}" headers: cache-control: - no-cache @@ -4324,7 +4313,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:08:57 GMT + - Wed, 04 Nov 2026 03:06:24 GMT expires: - '-1' pragma: @@ -4336,11 +4325,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: D3218835974C4B89B8173AE58FCBB610 Ref B: SN4AA2022301037 Ref C: 2026-10-30T16:08:57Z' + - 'Ref A: 53D210934CFF4D399F23BF166B5FC820 Ref B: SN4AA2022303019 Ref C: 2026-11-04T03:06:24Z' status: code: 200 message: OK @@ -4366,14 +4355,14 @@ interactions: --assign-data-plane-operator-identity --assign-data-plane-operator-identity --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n - \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\"\n}" headers: cache-control: - no-cache @@ -4382,7 +4371,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:09:28 GMT + - Wed, 04 Nov 2026 03:06:55 GMT expires: - '-1' pragma: @@ -4398,7 +4387,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: A4B84E6A5F564C31B9B81BFE0BFDE0D4 Ref B: SN4AA2022303027 Ref C: 2026-10-30T16:09:28Z' + - 'Ref A: 1F998FB79F4449789A30B172FF7B8778 Ref B: DM2AA1091213035 Ref C: 2026-11-04T03:06:55Z' status: code: 200 message: OK @@ -4424,14 +4413,14 @@ interactions: --assign-data-plane-operator-identity --assign-data-plane-operator-identity --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n - \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\"\n}" headers: cache-control: - no-cache @@ -4440,21 +4429,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:09:59 GMT + - Wed, 04 Nov 2026 03:07:26 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: CB1D0C968A7247488FFCD9BD33FD4E24 Ref B: DM2AA1091214021 Ref C: 2026-11-04T03:07:25Z' status: code: 200 message: OK @@ -4480,14 +4471,14 @@ interactions: --assign-data-plane-operator-identity --assign-data-plane-operator-identity --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n - \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\"\n}" headers: cache-control: - no-cache @@ -4496,7 +4487,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:10:29 GMT + - Wed, 04 Nov 2026 03:07:57 GMT expires: - '-1' pragma: @@ -4508,11 +4499,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: 7DFF3342D2614EE0BEAFE9B91116E0DF Ref B: DM2AA1091211053 Ref C: 2026-10-30T16:10:29Z' + - 'Ref A: 27623F0647D5447580522CD4A77F90D8 Ref B: SN4AA2022303023 Ref C: 2026-11-04T03:07:56Z' status: code: 200 message: OK @@ -4538,14 +4529,14 @@ interactions: --assign-data-plane-operator-identity --assign-data-plane-operator-identity --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n - \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\"\n}" headers: cache-control: - no-cache @@ -4554,21 +4545,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:11:00 GMT + - Wed, 04 Nov 2026 03:08:27 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 66FCFC10CE6B475CA467AFE81D88B12F Ref B: SN4AA2022304045 Ref C: 2026-11-04T03:08:27Z' status: code: 200 message: OK @@ -4594,14 +4587,14 @@ interactions: --assign-data-plane-operator-identity --assign-data-plane-operator-identity --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n - \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\"\n}" headers: cache-control: - no-cache @@ -4610,21 +4603,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:11:31 GMT + - Wed, 04 Nov 2026 03:08:58 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: FF5D99066D494443B7CEF718D68E8C23 Ref B: SN4AA2022305051 Ref C: 2026-11-04T03:08:58Z' status: code: 200 message: OK @@ -4650,14 +4645,14 @@ interactions: --assign-data-plane-operator-identity --assign-data-plane-operator-identity --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n - \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\"\n}" headers: cache-control: - no-cache @@ -4666,21 +4661,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:12:02 GMT + - Wed, 04 Nov 2026 03:09:28 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: D7F8C51797554FA39A598159FDEC91AF Ref B: DM2AA1091214037 Ref C: 2026-11-04T03:09:29Z' status: code: 200 message: OK @@ -4706,14 +4703,14 @@ interactions: --assign-data-plane-operator-identity --assign-data-plane-operator-identity --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n - \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\"\n}" headers: cache-control: - no-cache @@ -4722,21 +4719,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:12:32 GMT + - Wed, 04 Nov 2026 03:09:59 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '15' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 792465401DD64C20881AE693BA7957F0 Ref B: SN4AA2022304049 Ref C: 2026-11-04T03:09:59Z' status: code: 200 message: OK @@ -4762,14 +4761,14 @@ interactions: --assign-data-plane-operator-identity --assign-data-plane-operator-identity --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n - \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\"\n}" headers: cache-control: - no-cache @@ -4778,21 +4777,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:13:03 GMT + - Wed, 04 Nov 2026 03:10:29 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 4D3C244FF6BC4533B62132BA514A1B25 Ref B: DM2AA1091213053 Ref C: 2026-11-04T03:10:30Z' status: code: 200 message: OK @@ -4818,37 +4819,39 @@ interactions: --assign-data-plane-operator-identity --assign-data-plane-operator-identity --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5?api-version=2026-10-01&t=639289730291800363&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n - \ \"name\": \"c89f13ae-23cf-4b83-8653-ffa79b81ecd5\",\n \"status\": \"Succeeded\",\n - \ \"startTime\": \"2026-10-30T16:03:48.559060085Z\",\n \"endTime\": \"2026-10-30T16:13:27.168643314Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\"\n}" headers: cache-control: - no-cache content-length: - - '358' + - '312' content-type: - application/json date: - - Fri, 30 Oct 2026 16:13:34 GMT + - Wed, 04 Nov 2026 03:11:00 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: E265E2CE547E45AA86DF178DE9676BD6 Ref B: SN4AA2022304035 Ref C: 2026-11-04T03:11:00Z' status: code: 200 message: OK @@ -4874,179 +4877,100 @@ interactions: --assign-data-plane-operator-identity --assign-data-plane-operator-identity --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002?api-version=2026-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002\",\n - \ \"identity\": {\n \"type\": \"UserAssigned\",\n \"userAssignedIdentities\": - {\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009\": - {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n - \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n - \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011\": - {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n - \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n - \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010\": - {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n - \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n - \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013\": - {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n - \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n - \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014\": - {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n - \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n - \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015\": - {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n - \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n - \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012\": - {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n - \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n - \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017\": - {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n - \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n - \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016\": - {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n - \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n - \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008\": - {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n - \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n - \ }\n }\n },\n \"location\": \"uksouth\",\n \"name\": - \"clihcp000002\",\n \"properties\": {\n \"api\": {\n \"url\": - \"https://api.cluster.bhkww.uksouth.aroapp-hcp.io:443\",\n \"visibility\": - \"Public\"\n },\n \"autoscaling\": {\n \"maxNodeProvisionTimeSeconds\": - 900,\n \"maxPodGracePeriodSeconds\": 600,\n \"podPriorityThreshold\": - -10\n },\n \"clusterImageRegistry\": {\n \"state\": - \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.cluster.bhkww.uksouth.aroapp-hcp.io\"\n - \ },\n \"cryptoRestrictions\": \"None\",\n \"dns\": {\n - \ \"baseDomain\": \"bhkww.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": - \"cluster\"\n },\n \"etcd\": {\n \"dataEncryption\": - {\n \"customerManaged\": {\n \"encryptionType\": - \"KMS\",\n \"kms\": {\n \"activeKey\": - {\n \"name\": \"etcd-data-kms-encryption-key\",\n - \ \"version\": \"fecd7bb5b0ba4dd69f6a7cd474194ec1\"\n - \ },\n \"keyVaultType\": \"KeyVault\",\n - \ \"vaultName\": \"clihcpkv000007\",\n \"visibility\": - \"Public\"\n }\n },\n \"keyManagementMode\": - \"CustomerManaged\"\n }\n },\n \"ingress\": {\n \"type\": - \"Public\"\n },\n \"network\": {\n \"hostPrefix\": - 23,\n \"machineCidr\": \"10.0.0.0/16\",\n \"networkType\": - \"OVNKubernetes\",\n \"podCidr\": \"10.128.0.0/14\",\n \"serviceCidr\": - \"172.30.0.0/16\"\n },\n \"nodeDrainTimeoutMinutes\": 0,\n \"platform\": - {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2tp73p94e2f58u7sjmi4tmc5mmaavngn\",\n - \ \"managedResourceGroup\": \"clihcp-managed000006\",\n \"networkSecurityGroupId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005\",\n - \ \"operatorsAuthentication\": {\n \"userAssignedIdentities\": - {\n \"controlPlaneOperators\": {\n \"cloud-controller-manager\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011\",\n - \ \"cloud-network-config\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016\",\n - \ \"cluster-api-azure\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009\",\n - \ \"control-plane\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010\",\n - \ \"disk-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013\",\n - \ \"file-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014\",\n - \ \"image-registry\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015\",\n - \ \"ingress\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012\",\n - \ \"kms\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017\"\n - \ },\n \"dataPlaneOperators\": {\n \"disk-csi-driver\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018\",\n - \ \"file-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019\",\n - \ \"image-registry\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020\"\n - \ },\n \"serviceManagedIdentity\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008\"\n - \ }\n },\n \"outboundType\": \"LoadBalancer\",\n - \ \"subnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet\",\n - \ \"vnetIntegrationSubnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet\"\n - \ },\n \"provisioningState\": \"Succeeded\",\n \"status\": - {\n \"activeVersions\": [\n {\n \"version\": - \"4.22\"\n }\n ],\n \"conditions\": [\n - \ {\n \"lastTransitionTime\": \"2026-10-30T16:03:49Z\",\n - \ \"message\": \"\",\n \"reason\": \"Valid\",\n - \ \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n - \ }\n ]\n },\n \"version\": {\n \"channelGroup\": - \"stable\",\n \"id\": \"4.22\"\n }\n },\n \"systemData\": - {\n \"createdAt\": \"2026-10-30T16:03:47.4925397Z\",\n \"createdBy\": - \"recording-user@example.com\",\n \"createdByType\": \"User\",\n \"lastModifiedAt\": - \"2026-10-30T16:03:47.4925397Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n - \ \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\"\n}" headers: cache-control: - no-cache content-length: - - '10289' + - '312' content-type: - application/json date: - - Fri, 30 Oct 2026 16:13:35 GMT + - Wed, 04 Nov 2026 03:11:32 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: ED5478E2106B424B92906DB22A15BAD5 Ref B: SN4AA2022301033 Ref C: 2026-11-04T03:11:31Z' status: code: 200 message: OK - request: - body: '{"certificateSigningRequest": "redacted-csr"}' + body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - aro hcp cluster request-credential + - aro hcp cluster create Connection: - keep-alive - Content-Length: - - '45' - Content-Type: - - application/json ParameterSetName: - - -g -n --admin -f + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/requestAdminCredential?api-version=2026-10-01 + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: '' + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\"\n}" headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/56c92ff1-a570-41d7-8214-07d91c920c24?api-version=2026-10-01&t=639289736185694819&c=REDACTED&s=REDACTED&h=REDACTED cache-control: - no-cache content-length: - - '0' + - '312' + content-type: + - application/json date: - - Fri, 30 Oct 2026 16:13:38 GMT + - Wed, 04 Nov 2026 03:12:02 GMT expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/56c92ff1-a570-41d7-8214-07d91c920c24?api-version=2026-10-01&t=639289736185694819&c=REDACTED&s=REDACTED&h=REDACTED pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '23' - x-ms-ratelimit-remaining-subscription-global-writes: - - '2999' - x-ms-ratelimit-remaining-subscription-writes: - - '199' + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 11145050EE1E4C5F87F1B7EE825F9D95 Ref B: SN4AA2022305023 Ref C: 2026-11-04T03:12:02Z' status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -5055,20 +4979,277 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - aro hcp cluster request-credential + - aro hcp cluster create Connection: - keep-alive ParameterSetName: - - -g -n --admin -f + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da?api-version=2026-10-01&t=639293580768418527&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/cedaf982-01af-439b-978d-9b298f5a55da\",\n + \ \"name\": \"cedaf982-01af-439b-978d-9b298f5a55da\",\n \"status\": \"Succeeded\",\n + \ \"startTime\": \"2026-11-04T03:01:16.785002035Z\",\n \"endTime\": \"2026-11-04T03:12:27.096320383Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '358' + content-type: + - application/json + date: + - Wed, 04 Nov 2026 03:12:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 215F9138C6594371A21952F6FD06A8ED Ref B: SN4AA2022301035 Ref C: 2026-11-04T03:12:33Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --version --subnet-id --vnet-integration-subnet-id --nsg + --managed-resource-group-name --key-management-mode --kms-vault-name --vault-visibility + --kms-active-key --assign-service-managed-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-control-plane-operator-identity --assign-control-plane-operator-identity + --assign-data-plane-operator-identity --assign-data-plane-operator-identity + --assign-data-plane-operator-identity + User-Agent: + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002?api-version=2026-10-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002\",\n + \ \"identity\": {\n \"type\": \"UserAssigned\",\n \"userAssignedIdentities\": + {\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ },\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008\": + {\n \"clientId\": \"00000000-0000-0000-0000-000000000003\",\n + \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n + \ }\n }\n },\n \"location\": \"uksouth\",\n \"name\": + \"clihcp000002\",\n \"properties\": {\n \"api\": {\n \"url\": + \"https://api.cluster.pg9q9.uksouth.aroapp-hcp.io:443\",\n \"visibility\": + \"Public\"\n },\n \"autoscaling\": {\n \"maxNodeProvisionTimeSeconds\": + 900,\n \"maxPodGracePeriodSeconds\": 600,\n \"podPriorityThreshold\": + -10\n },\n \"clusterImageRegistry\": {\n \"state\": + \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.cluster.pg9q9.uksouth.aroapp-hcp.io\"\n + \ },\n \"cryptoRestrictions\": \"None\",\n \"dns\": {\n + \ \"baseDomain\": \"pg9q9.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": + \"cluster\"\n },\n \"etcd\": {\n \"dataEncryption\": + {\n \"customerManaged\": {\n \"encryptionType\": + \"KMS\",\n \"kms\": {\n \"activeKey\": + {\n \"name\": \"etcd-data-kms-encryption-key\",\n + \ \"version\": \"2194f189e201460aa9465785bc2fc7a9\"\n + \ },\n \"keyVaultType\": \"KeyVault\",\n + \ \"vaultName\": \"clihcpkv000007\",\n \"visibility\": + \"Public\"\n }\n },\n \"keyManagementMode\": + \"CustomerManaged\"\n }\n },\n \"ingress\": {\n \"type\": + \"Public\"\n },\n \"network\": {\n \"hostPrefix\": + 23,\n \"machineCidr\": \"10.0.0.0/16\",\n \"networkType\": + \"OVNKubernetes\",\n \"podCidr\": \"10.128.0.0/14\",\n \"serviceCidr\": + \"172.30.0.0/16\"\n },\n \"nodeDrainTimeoutMinutes\": 0,\n \"platform\": + {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2ts540mr2595fe25uq5g15odjmjclg6n\",\n + \ \"managedResourceGroup\": \"clihcp-managed000006\",\n \"networkSecurityGroupId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005\",\n + \ \"operatorsAuthentication\": {\n \"userAssignedIdentities\": + {\n \"controlPlaneOperators\": {\n \"cloud-controller-manager\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ccm000011\",\n + \ \"cloud-network-config\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-network000016\",\n + \ \"cluster-api-azure\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-capi000009\",\n + \ \"control-plane\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-control000010\",\n + \ \"disk-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-disk000013\",\n + \ \"file-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-file000014\",\n + \ \"image-registry\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-image000015\",\n + \ \"ingress\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-ingress000012\",\n + \ \"kms\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-kms000017\"\n + \ },\n \"dataPlaneOperators\": {\n \"disk-csi-driver\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpdisk000018\",\n + \ \"file-csi-driver\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpfile000019\",\n + \ \"image-registry\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-dpimage000020\"\n + \ },\n \"serviceManagedIdentity\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/clihcp-service000008\"\n + \ }\n },\n \"outboundType\": \"LoadBalancer\",\n + \ \"subnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/cluster-subnet\",\n + \ \"vnetIntegrationSubnetId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/virtualNetworks/clihcp-vnet000004/subnets/integration-subnet\"\n + \ },\n \"provisioningState\": \"Succeeded\",\n \"status\": + {\n \"activeVersions\": [\n {\n \"version\": + \"4.22\"\n }\n ],\n \"conditions\": [\n + \ {\n \"lastTransitionTime\": \"2026-11-04T03:01:18Z\",\n + \ \"message\": \"\",\n \"reason\": \"Valid\",\n + \ \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n + \ }\n ]\n },\n \"version\": {\n \"channelGroup\": + \"stable\",\n \"id\": \"4.22\"\n }\n },\n \"systemData\": + {\n \"createdAt\": \"2026-11-04T03:01:16.5762188Z\",\n \"createdBy\": + \"recording-user@example.com\",\n \"createdByType\": \"User\",\n \"lastModifiedAt\": + \"2026-11-04T03:01:16.5762188Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n + \ \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '10289' + content-type: + - application/json + date: + - Wed, 04 Nov 2026 03:12:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '14' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 4DC316B2E576457681EF241954CBFA64 Ref B: SN4AA2022301051 Ref C: 2026-11-04T03:12:33Z' + status: + code: 200 + message: OK +- request: + body: '{"certificateSigningRequest": "redacted-csr"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster request-credential + Connection: + - keep-alive + Content-Length: + - '45' + Content-Type: + - application/json + ParameterSetName: + - -g -n --admin -f + User-Agent: + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/requestAdminCredential?api-version=2026-10-01 + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/6933a9be-6f48-459b-aa4d-17736b913511?api-version=2026-10-01&t=639293587554386740&c=REDACTED&s=REDACTED&h=REDACTED + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 04 Nov 2026 03:12:34 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/6933a9be-6f48-459b-aa4d-17736b913511?api-version=2026-10-01&t=639293587554542997&c=REDACTED&s=REDACTED&h=REDACTED + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '17' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' + x-ms-ratelimit-remaining-subscription-writes: + - '199' + x-msedge-ref: + - 'Ref A: B3A09D1920EB4E56A80939E987792A5D Ref B: DM2AA1091212033 Ref C: 2026-11-04T03:12:35Z' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster request-credential + Connection: + - keep-alive + ParameterSetName: + - -g -n --admin -f User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/56c92ff1-a570-41d7-8214-07d91c920c24?api-version=2026-10-01&t=639289736185694819&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/6933a9be-6f48-459b-aa4d-17736b913511?api-version=2026-10-01&t=639293587554386740&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/56c92ff1-a570-41d7-8214-07d91c920c24\",\n - \ \"name\": \"56c92ff1-a570-41d7-8214-07d91c920c24\",\n \"status\": \"Accepted\",\n - \ \"startTime\": \"2026-10-30T16:13:37.514377417Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/6933a9be-6f48-459b-aa4d-17736b913511\",\n + \ \"name\": \"6933a9be-6f48-459b-aa4d-17736b913511\",\n \"status\": \"Accepted\",\n + \ \"startTime\": \"2026-11-04T03:12:35.420206962Z\"\n}" headers: cache-control: - no-cache @@ -5077,21 +5258,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:13:38 GMT + - Wed, 04 Nov 2026 03:12:35 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: CA7D9B87118B49E2B4E614544DB0D0CA Ref B: SN4AA2022304017 Ref C: 2026-11-04T03:12:35Z' status: code: 200 message: OK @@ -5109,14 +5292,14 @@ interactions: ParameterSetName: - -g -n --admin -f User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/56c92ff1-a570-41d7-8214-07d91c920c24?api-version=2026-10-01&t=639289736185694819&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/6933a9be-6f48-459b-aa4d-17736b913511?api-version=2026-10-01&t=639293587554386740&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/56c92ff1-a570-41d7-8214-07d91c920c24\",\n - \ \"name\": \"56c92ff1-a570-41d7-8214-07d91c920c24\",\n \"status\": \"Succeeded\",\n - \ \"startTime\": \"2026-10-30T16:13:37.514377417Z\",\n \"endTime\": \"2026-10-30T16:13:40.261194391Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/6933a9be-6f48-459b-aa4d-17736b913511\",\n + \ \"name\": \"6933a9be-6f48-459b-aa4d-17736b913511\",\n \"status\": \"Succeeded\",\n + \ \"startTime\": \"2026-11-04T03:12:35.420206962Z\",\n \"endTime\": \"2026-11-04T03:12:47.069053172Z\"\n}" headers: cache-control: - no-cache @@ -5125,21 +5308,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:14:09 GMT + - Wed, 04 Nov 2026 03:13:06 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 060F83866C3D4B63A792260260246AD8 Ref B: SN4AA2022303037 Ref C: 2026-11-04T03:13:06Z' status: code: 200 message: OK @@ -5157,14 +5342,14 @@ interactions: ParameterSetName: - -g -n --admin -f User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/56c92ff1-a570-41d7-8214-07d91c920c24?api-version=2026-10-01&t=639289736185694819&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/6933a9be-6f48-459b-aa4d-17736b913511?api-version=2026-10-01&t=639293587554542997&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: '{"expirationTimestamp": "2026-10-31T16:13:38Z", "kubeconfig": "apiVersion: + string: '{"expirationTimestamp": "2026-11-05T03:12:35Z", "kubeconfig": "apiVersion: v1\nclusters:\n- cluster:\n certificate-authority-data: UkVEQUNURUQ=\n server: - https://api.cluster.bhkww.uksouth.aroapp-hcp.io:443\n name: cluster\ncontexts:\n- + https://api.cluster.pg9q9.uksouth.aroapp-hcp.io:443\n name: cluster\ncontexts:\n- context:\n cluster: cluster\n user: admin\n name: admin\ncurrent-context: admin\nkind: Config\nusers:\n- name: admin\n user:\n client-certificate-data: UkVEQUNURUQ=\n"}' @@ -5176,21 +5361,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:14:10 GMT + - Wed, 04 Nov 2026 03:13:07 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '22' + - '19' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 9B5F77509D6D455D8E3B8268EAEA3E88 Ref B: SN4AA2022302019 Ref C: 2026-11-04T03:13:07Z' status: code: 200 message: OK @@ -5208,7 +5395,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002?api-version=2026-10-01 response: @@ -5247,18 +5434,18 @@ interactions: \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n \ }\n }\n },\n \"location\": \"uksouth\",\n \"name\": \"clihcp000002\",\n \"properties\": {\n \"api\": {\n \"url\": - \"https://api.cluster.bhkww.uksouth.aroapp-hcp.io:443\",\n \"visibility\": + \"https://api.cluster.pg9q9.uksouth.aroapp-hcp.io:443\",\n \"visibility\": \"Public\"\n },\n \"autoscaling\": {\n \"maxNodeProvisionTimeSeconds\": 900,\n \"maxPodGracePeriodSeconds\": 600,\n \"podPriorityThreshold\": -10\n },\n \"clusterImageRegistry\": {\n \"state\": - \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.cluster.bhkww.uksouth.aroapp-hcp.io\"\n + \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.cluster.pg9q9.uksouth.aroapp-hcp.io\"\n \ },\n \"cryptoRestrictions\": \"None\",\n \"dns\": {\n - \ \"baseDomain\": \"bhkww.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": + \ \"baseDomain\": \"pg9q9.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": \"cluster\"\n },\n \"etcd\": {\n \"dataEncryption\": {\n \"customerManaged\": {\n \"encryptionType\": \"KMS\",\n \"kms\": {\n \"activeKey\": {\n \"name\": \"etcd-data-kms-encryption-key\",\n - \ \"version\": \"fecd7bb5b0ba4dd69f6a7cd474194ec1\"\n + \ \"version\": \"2194f189e201460aa9465785bc2fc7a9\"\n \ },\n \"keyVaultType\": \"KeyVault\",\n \ \"vaultName\": \"clihcpkv000007\",\n \"visibility\": \"Public\"\n }\n },\n \"keyManagementMode\": @@ -5267,7 +5454,7 @@ interactions: 23,\n \"machineCidr\": \"10.0.0.0/16\",\n \"networkType\": \"OVNKubernetes\",\n \"podCidr\": \"10.128.0.0/14\",\n \"serviceCidr\": \"172.30.0.0/16\"\n },\n \"nodeDrainTimeoutMinutes\": 0,\n \"platform\": - {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2tp73p94e2f58u7sjmi4tmc5mmaavngn\",\n + {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2ts540mr2595fe25uq5g15odjmjclg6n\",\n \ \"managedResourceGroup\": \"clihcp-managed000006\",\n \"networkSecurityGroupId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005\",\n \ \"operatorsAuthentication\": {\n \"userAssignedIdentities\": @@ -5292,14 +5479,14 @@ interactions: \ },\n \"provisioningState\": \"Succeeded\",\n \"status\": {\n \"activeVersions\": [\n {\n \"version\": \"4.22\"\n }\n ],\n \"conditions\": [\n - \ {\n \"lastTransitionTime\": \"2026-10-30T16:03:49Z\",\n + \ {\n \"lastTransitionTime\": \"2026-11-04T03:01:18Z\",\n \ \"message\": \"\",\n \"reason\": \"Valid\",\n \ \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n \ }\n ]\n },\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22\"\n }\n },\n \"systemData\": - {\n \"createdAt\": \"2026-10-30T16:03:47.4925397Z\",\n \"createdBy\": + {\n \"createdAt\": \"2026-11-04T03:01:16.5762188Z\",\n \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": \"User\",\n \"lastModifiedAt\": - \"2026-10-30T16:03:47.4925397Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n + \"2026-11-04T03:01:16.5762188Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n \ \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters\"\n}" headers: cache-control: @@ -5309,21 +5496,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:14:10 GMT + - Wed, 04 Nov 2026 03:13:07 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 74E1294FC2F24272996DA3704E7E759E Ref B: DM2AA1091211011 Ref C: 2026-11-04T03:13:08Z' status: code: 200 message: OK @@ -5341,7 +5530,7 @@ interactions: ParameterSetName: - -g -n --node-drain-timeout User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002?api-version=2026-10-01 response: @@ -5380,18 +5569,18 @@ interactions: \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n \ }\n }\n },\n \"location\": \"uksouth\",\n \"name\": \"clihcp000002\",\n \"properties\": {\n \"api\": {\n \"url\": - \"https://api.cluster.bhkww.uksouth.aroapp-hcp.io:443\",\n \"visibility\": + \"https://api.cluster.pg9q9.uksouth.aroapp-hcp.io:443\",\n \"visibility\": \"Public\"\n },\n \"autoscaling\": {\n \"maxNodeProvisionTimeSeconds\": 900,\n \"maxPodGracePeriodSeconds\": 600,\n \"podPriorityThreshold\": -10\n },\n \"clusterImageRegistry\": {\n \"state\": - \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.cluster.bhkww.uksouth.aroapp-hcp.io\"\n + \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.cluster.pg9q9.uksouth.aroapp-hcp.io\"\n \ },\n \"cryptoRestrictions\": \"None\",\n \"dns\": {\n - \ \"baseDomain\": \"bhkww.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": + \ \"baseDomain\": \"pg9q9.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": \"cluster\"\n },\n \"etcd\": {\n \"dataEncryption\": {\n \"customerManaged\": {\n \"encryptionType\": \"KMS\",\n \"kms\": {\n \"activeKey\": {\n \"name\": \"etcd-data-kms-encryption-key\",\n - \ \"version\": \"fecd7bb5b0ba4dd69f6a7cd474194ec1\"\n + \ \"version\": \"2194f189e201460aa9465785bc2fc7a9\"\n \ },\n \"keyVaultType\": \"KeyVault\",\n \ \"vaultName\": \"clihcpkv000007\",\n \"visibility\": \"Public\"\n }\n },\n \"keyManagementMode\": @@ -5400,7 +5589,7 @@ interactions: 23,\n \"machineCidr\": \"10.0.0.0/16\",\n \"networkType\": \"OVNKubernetes\",\n \"podCidr\": \"10.128.0.0/14\",\n \"serviceCidr\": \"172.30.0.0/16\"\n },\n \"nodeDrainTimeoutMinutes\": 0,\n \"platform\": - {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2tp73p94e2f58u7sjmi4tmc5mmaavngn\",\n + {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2ts540mr2595fe25uq5g15odjmjclg6n\",\n \ \"managedResourceGroup\": \"clihcp-managed000006\",\n \"networkSecurityGroupId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005\",\n \ \"operatorsAuthentication\": {\n \"userAssignedIdentities\": @@ -5425,14 +5614,14 @@ interactions: \ },\n \"provisioningState\": \"Succeeded\",\n \"status\": {\n \"activeVersions\": [\n {\n \"version\": \"4.22\"\n }\n ],\n \"conditions\": [\n - \ {\n \"lastTransitionTime\": \"2026-10-30T16:03:49Z\",\n + \ {\n \"lastTransitionTime\": \"2026-11-04T03:01:18Z\",\n \ \"message\": \"\",\n \"reason\": \"Valid\",\n \ \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n \ }\n ]\n },\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22\"\n }\n },\n \"systemData\": - {\n \"createdAt\": \"2026-10-30T16:03:47.4925397Z\",\n \"createdBy\": + {\n \"createdAt\": \"2026-11-04T03:01:16.5762188Z\",\n \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": \"User\",\n \"lastModifiedAt\": - \"2026-10-30T16:03:47.4925397Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n + \"2026-11-04T03:01:16.5762188Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n \ \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters\"\n}" headers: cache-control: @@ -5442,21 +5631,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:14:12 GMT + - Wed, 04 Nov 2026 03:13:08 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - - '3749' + - '3747' + x-msedge-ref: + - 'Ref A: B8CD19D24BE5484792C7EB20FD16F496 Ref B: DM2AA1091214029 Ref C: 2026-11-04T03:13:08Z' status: code: 200 message: OK @@ -5476,7 +5667,7 @@ interactions: 600, "podPriorityThreshold": -10}, "clusterImageRegistry": {"state": "Enabled"}, "cryptoRestrictions": "None", "dns": {"baseDomainPrefix": "cluster"}, "etcd": {"dataEncryption": {"customerManaged": {"encryptionType": "KMS", "kms": {"activeKey": - {"name": "etcd-data-kms-encryption-key", "version": "fecd7bb5b0ba4dd69f6a7cd474194ec1"}, + {"name": "etcd-data-kms-encryption-key", "version": "2194f189e201460aa9465785bc2fc7a9"}, "keyVaultType": "KeyVault", "vaultName": "clihcpkv000007", "visibility": "Public"}}, "keyManagementMode": "CustomerManaged"}}, "ingress": {"type": "Public"}, "network": {"hostPrefix": 23, "machineCidr": "10.0.0.0/16", "networkType": "OVNKubernetes", @@ -5516,7 +5707,7 @@ interactions: ParameterSetName: - -g -n --node-drain-timeout User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002?api-version=2026-10-01 response: @@ -5555,18 +5746,18 @@ interactions: \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n \ }\n }\n },\n \"location\": \"uksouth\",\n \"name\": \"clihcp000002\",\n \"properties\": {\n \"api\": {\n \"url\": - \"https://api.cluster.bhkww.uksouth.aroapp-hcp.io:443\",\n \"visibility\": + \"https://api.cluster.pg9q9.uksouth.aroapp-hcp.io:443\",\n \"visibility\": \"Public\"\n },\n \"autoscaling\": {\n \"maxNodeProvisionTimeSeconds\": 900,\n \"maxPodGracePeriodSeconds\": 600,\n \"podPriorityThreshold\": -10\n },\n \"clusterImageRegistry\": {\n \"state\": - \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.cluster.bhkww.uksouth.aroapp-hcp.io\"\n + \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.cluster.pg9q9.uksouth.aroapp-hcp.io\"\n \ },\n \"cryptoRestrictions\": \"None\",\n \"dns\": {\n - \ \"baseDomain\": \"bhkww.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": + \ \"baseDomain\": \"pg9q9.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": \"cluster\"\n },\n \"etcd\": {\n \"dataEncryption\": {\n \"customerManaged\": {\n \"encryptionType\": \"KMS\",\n \"kms\": {\n \"activeKey\": {\n \"name\": \"etcd-data-kms-encryption-key\",\n - \ \"version\": \"fecd7bb5b0ba4dd69f6a7cd474194ec1\"\n + \ \"version\": \"2194f189e201460aa9465785bc2fc7a9\"\n \ },\n \"keyVaultType\": \"KeyVault\",\n \ \"vaultName\": \"clihcpkv000007\",\n \"visibility\": \"Public\"\n }\n },\n \"keyManagementMode\": @@ -5575,7 +5766,7 @@ interactions: 23,\n \"machineCidr\": \"10.0.0.0/16\",\n \"networkType\": \"OVNKubernetes\",\n \"podCidr\": \"10.128.0.0/14\",\n \"serviceCidr\": \"172.30.0.0/16\"\n },\n \"nodeDrainTimeoutMinutes\": 30,\n - \ \"platform\": {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2tp73p94e2f58u7sjmi4tmc5mmaavngn\",\n + \ \"platform\": {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2ts540mr2595fe25uq5g15odjmjclg6n\",\n \ \"managedResourceGroup\": \"clihcp-managed000006\",\n \"networkSecurityGroupId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005\",\n \ \"operatorsAuthentication\": {\n \"userAssignedIdentities\": @@ -5600,18 +5791,18 @@ interactions: \ },\n \"provisioningState\": \"Accepted\",\n \"status\": {\n \"activeVersions\": [\n {\n \"version\": \"4.22\"\n }\n ],\n \"conditions\": [\n - \ {\n \"lastTransitionTime\": \"2026-10-30T16:03:49Z\",\n + \ {\n \"lastTransitionTime\": \"2026-11-04T03:01:18Z\",\n \ \"message\": \"\",\n \"reason\": \"Valid\",\n \ \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n \ }\n ]\n },\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22\"\n }\n },\n \"systemData\": - {\n \"createdAt\": \"2026-10-30T16:03:47.4925397Z\",\n \"createdBy\": + {\n \"createdAt\": \"2026-11-04T03:01:16.5762188Z\",\n \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": \"User\",\n \"lastModifiedAt\": - \"2026-10-30T16:14:13.1706555Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n + \"2026-11-04T03:13:09.0135705Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n \ \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters\"\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/950d4bfe-147c-477f-8b31-1a51bc534fd5?api-version=2026-10-01&t=639289736533894956&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/07a0fdd7-2353-47c7-98fd-4acf5c2d08f4?api-version=2026-10-01&t=639293587892791952&c=REDACTED&s=REDACTED&h=REDACTED cache-control: - no-cache content-length: @@ -5619,7 +5810,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:14:13 GMT + - Wed, 04 Nov 2026 03:13:08 GMT expires: - '-1' pragma: @@ -5631,13 +5822,13 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '27' + - '25' x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: B1BC9A0B7791463FA7195F144FBB1776 Ref B: DM2AA1091213051 Ref C: 2026-10-30T16:14:12Z' + - 'Ref A: 378AF255DA0144E6AF9A21DB29B392D1 Ref B: SN4AA2022304037 Ref C: 2026-11-04T03:13:08Z' status: code: 200 message: OK @@ -5655,23 +5846,23 @@ interactions: ParameterSetName: - -g -n --node-drain-timeout User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/950d4bfe-147c-477f-8b31-1a51bc534fd5?api-version=2026-10-01&t=639289736533894956&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/07a0fdd7-2353-47c7-98fd-4acf5c2d08f4?api-version=2026-10-01&t=639293587892791952&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/950d4bfe-147c-477f-8b31-1a51bc534fd5\",\n - \ \"name\": \"950d4bfe-147c-477f-8b31-1a51bc534fd5\",\n \"status\": \"Accepted\",\n - \ \"startTime\": \"2026-10-30T16:14:13.356588035Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/07a0fdd7-2353-47c7-98fd-4acf5c2d08f4\",\n + \ \"name\": \"07a0fdd7-2353-47c7-98fd-4acf5c2d08f4\",\n \"status\": \"Accepted\",\n + \ \"startTime\": \"2026-11-04T03:13:09.21932335Z\"\n}" headers: cache-control: - no-cache content-length: - - '308' + - '307' content-type: - application/json date: - - Fri, 30 Oct 2026 16:14:13 GMT + - Wed, 04 Nov 2026 03:13:09 GMT expires: - '-1' pragma: @@ -5687,7 +5878,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: 976235FD1178419AA7BC84A216216895 Ref B: SN4AA2022305027 Ref C: 2026-10-30T16:14:13Z' + - 'Ref A: 0CA9E2F8752E4350AAD03BBC1E22026C Ref B: DM2AA1091212009 Ref C: 2026-11-04T03:13:09Z' status: code: 200 message: OK @@ -5705,23 +5896,23 @@ interactions: ParameterSetName: - -g -n --node-drain-timeout User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/950d4bfe-147c-477f-8b31-1a51bc534fd5?api-version=2026-10-01&t=639289736533894956&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/07a0fdd7-2353-47c7-98fd-4acf5c2d08f4?api-version=2026-10-01&t=639293587892791952&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/950d4bfe-147c-477f-8b31-1a51bc534fd5\",\n - \ \"name\": \"950d4bfe-147c-477f-8b31-1a51bc534fd5\",\n \"status\": \"Succeeded\",\n - \ \"startTime\": \"2026-10-30T16:14:13.356588035Z\",\n \"endTime\": \"2026-10-30T16:14:27.202778617Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/07a0fdd7-2353-47c7-98fd-4acf5c2d08f4\",\n + \ \"name\": \"07a0fdd7-2353-47c7-98fd-4acf5c2d08f4\",\n \"status\": \"Updating\",\n + \ \"startTime\": \"2026-11-04T03:13:09.21932335Z\"\n}" headers: cache-control: - no-cache content-length: - - '358' + - '307' content-type: - application/json date: - - Fri, 30 Oct 2026 16:14:43 GMT + - Wed, 04 Nov 2026 03:13:40 GMT expires: - '-1' pragma: @@ -5737,7 +5928,57 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: E9B53A4AB0BB4B3ABA52F4D2730B47C4 Ref B: SN4AA2022302027 Ref C: 2026-10-30T16:14:44Z' + - 'Ref A: 60F1C81F9CF647B8BFAD0EE2CD8F95E5 Ref B: DM2AA1091211031 Ref C: 2026-11-04T03:13:40Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster update + Connection: + - keep-alive + ParameterSetName: + - -g -n --node-drain-timeout + User-Agent: + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/07a0fdd7-2353-47c7-98fd-4acf5c2d08f4?api-version=2026-10-01&t=639293587892791952&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/07a0fdd7-2353-47c7-98fd-4acf5c2d08f4\",\n + \ \"name\": \"07a0fdd7-2353-47c7-98fd-4acf5c2d08f4\",\n \"status\": \"Succeeded\",\n + \ \"startTime\": \"2026-11-04T03:13:09.21932335Z\",\n \"endTime\": \"2026-11-04T03:13:57.264706821Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '357' + content-type: + - application/json + date: + - Wed, 04 Nov 2026 03:14:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 4356EC05206B458ABAECD8796CBC1782 Ref B: SN4AA2022302019 Ref C: 2026-11-04T03:14:11Z' status: code: 200 message: OK @@ -5755,7 +5996,7 @@ interactions: ParameterSetName: - -g -n --node-drain-timeout User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002?api-version=2026-10-01 response: @@ -5794,18 +6035,18 @@ interactions: \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n \ }\n }\n },\n \"location\": \"uksouth\",\n \"name\": \"clihcp000002\",\n \"properties\": {\n \"api\": {\n \"url\": - \"https://api.cluster.bhkww.uksouth.aroapp-hcp.io:443\",\n \"visibility\": + \"https://api.cluster.pg9q9.uksouth.aroapp-hcp.io:443\",\n \"visibility\": \"Public\"\n },\n \"autoscaling\": {\n \"maxNodeProvisionTimeSeconds\": 900,\n \"maxPodGracePeriodSeconds\": 600,\n \"podPriorityThreshold\": -10\n },\n \"clusterImageRegistry\": {\n \"state\": - \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.cluster.bhkww.uksouth.aroapp-hcp.io\"\n + \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.cluster.pg9q9.uksouth.aroapp-hcp.io\"\n \ },\n \"cryptoRestrictions\": \"None\",\n \"dns\": {\n - \ \"baseDomain\": \"bhkww.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": + \ \"baseDomain\": \"pg9q9.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": \"cluster\"\n },\n \"etcd\": {\n \"dataEncryption\": {\n \"customerManaged\": {\n \"encryptionType\": \"KMS\",\n \"kms\": {\n \"activeKey\": {\n \"name\": \"etcd-data-kms-encryption-key\",\n - \ \"version\": \"fecd7bb5b0ba4dd69f6a7cd474194ec1\"\n + \ \"version\": \"2194f189e201460aa9465785bc2fc7a9\"\n \ },\n \"keyVaultType\": \"KeyVault\",\n \ \"vaultName\": \"clihcpkv000007\",\n \"visibility\": \"Public\"\n }\n },\n \"keyManagementMode\": @@ -5814,7 +6055,7 @@ interactions: 23,\n \"machineCidr\": \"10.0.0.0/16\",\n \"networkType\": \"OVNKubernetes\",\n \"podCidr\": \"10.128.0.0/14\",\n \"serviceCidr\": \"172.30.0.0/16\"\n },\n \"nodeDrainTimeoutMinutes\": 30,\n - \ \"platform\": {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2tp73p94e2f58u7sjmi4tmc5mmaavngn\",\n + \ \"platform\": {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2ts540mr2595fe25uq5g15odjmjclg6n\",\n \ \"managedResourceGroup\": \"clihcp-managed000006\",\n \"networkSecurityGroupId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005\",\n \ \"operatorsAuthentication\": {\n \"userAssignedIdentities\": @@ -5839,14 +6080,14 @@ interactions: \ },\n \"provisioningState\": \"Succeeded\",\n \"status\": {\n \"activeVersions\": [\n {\n \"version\": \"4.22\"\n }\n ],\n \"conditions\": [\n - \ {\n \"lastTransitionTime\": \"2026-10-30T16:03:49Z\",\n + \ {\n \"lastTransitionTime\": \"2026-11-04T03:01:18Z\",\n \ \"message\": \"\",\n \"reason\": \"Valid\",\n \ \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n \ }\n ]\n },\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22\"\n }\n },\n \"systemData\": - {\n \"createdAt\": \"2026-10-30T16:03:47.4925397Z\",\n \"createdBy\": + {\n \"createdAt\": \"2026-11-04T03:01:16.5762188Z\",\n \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": \"User\",\n \"lastModifiedAt\": - \"2026-10-30T16:14:13.1706555Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n + \"2026-11-04T03:13:09.0135705Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n \ \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters\"\n}" headers: cache-control: @@ -5856,7 +6097,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:14:45 GMT + - Wed, 04 Nov 2026 03:14:11 GMT expires: - '-1' pragma: @@ -5868,11 +6109,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: 791440F4B0C247E7BD56CD85E875B0E8 Ref B: SN4AA2022305031 Ref C: 2026-10-30T16:14:45Z' + - 'Ref A: 36DFEB57FB4E46C489E96C3C99C5CF64 Ref B: SN4AA2022302029 Ref C: 2026-11-04T03:14:11Z' status: code: 200 message: OK @@ -5890,12 +6131,12 @@ interactions: ParameterSetName: - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_aro_hcp000001?api-version=2024-11-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001","name":"cli_test_aro_hcp000001","type":"Microsoft.Resources/resourceGroups","location":"uksouth","tags":{"product":"azurecli","cause":"automation","test":"test_aro_hcp_cluster_lifecycle","date":"2026-10-30T15:59:46Z","module":"aro","createdAt":"2026-10-30T15:59:47.1941792Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001","name":"cli_test_aro_hcp000001","type":"Microsoft.Resources/resourceGroups","location":"uksouth","tags":{"product":"azurecli","cause":"automation","test":"test_aro_hcp_cluster_lifecycle","date":"2026-11-04T02:56:50Z","module":"aro","createdAt":"2026-11-04T02:56:51.5644970Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -5904,7 +6145,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Oct 2026 16:14:45 GMT + - Wed, 04 Nov 2026 03:14:12 GMT expires: - '-1' pragma: @@ -5918,7 +6159,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: AE11A50122D14E19B55671A81469F688 Ref B: SN4AA2022304031 Ref C: 2026-10-30T16:14:45Z' + - 'Ref A: CD3F9ABB3AFB4826AB4384717F11492C Ref B: SN4AA2022303029 Ref C: 2026-11-04T03:14:12Z' status: code: 200 message: OK @@ -5936,7 +6177,7 @@ interactions: ParameterSetName: - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002?api-version=2026-10-01 response: @@ -5975,18 +6216,18 @@ interactions: \ \"principalId\": \"00000000-0000-0000-0000-000000000002\"\n \ }\n }\n },\n \"location\": \"uksouth\",\n \"name\": \"clihcp000002\",\n \"properties\": {\n \"api\": {\n \"url\": - \"https://api.cluster.bhkww.uksouth.aroapp-hcp.io:443\",\n \"visibility\": + \"https://api.cluster.pg9q9.uksouth.aroapp-hcp.io:443\",\n \"visibility\": \"Public\"\n },\n \"autoscaling\": {\n \"maxNodeProvisionTimeSeconds\": 900,\n \"maxPodGracePeriodSeconds\": 600,\n \"podPriorityThreshold\": -10\n },\n \"clusterImageRegistry\": {\n \"state\": - \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.cluster.bhkww.uksouth.aroapp-hcp.io\"\n + \"Enabled\"\n },\n \"console\": {\n \"url\": \"https://console-openshift-console.apps.aro.cluster.pg9q9.uksouth.aroapp-hcp.io\"\n \ },\n \"cryptoRestrictions\": \"None\",\n \"dns\": {\n - \ \"baseDomain\": \"bhkww.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": + \ \"baseDomain\": \"pg9q9.uksouth.aroapp-hcp.io\",\n \"baseDomainPrefix\": \"cluster\"\n },\n \"etcd\": {\n \"dataEncryption\": {\n \"customerManaged\": {\n \"encryptionType\": \"KMS\",\n \"kms\": {\n \"activeKey\": {\n \"name\": \"etcd-data-kms-encryption-key\",\n - \ \"version\": \"fecd7bb5b0ba4dd69f6a7cd474194ec1\"\n + \ \"version\": \"2194f189e201460aa9465785bc2fc7a9\"\n \ },\n \"keyVaultType\": \"KeyVault\",\n \ \"vaultName\": \"clihcpkv000007\",\n \"visibility\": \"Public\"\n }\n },\n \"keyManagementMode\": @@ -5995,7 +6236,7 @@ interactions: 23,\n \"machineCidr\": \"10.0.0.0/16\",\n \"networkType\": \"OVNKubernetes\",\n \"podCidr\": \"10.128.0.0/14\",\n \"serviceCidr\": \"172.30.0.0/16\"\n },\n \"nodeDrainTimeoutMinutes\": 30,\n - \ \"platform\": {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2tp73p94e2f58u7sjmi4tmc5mmaavngn\",\n + \ \"platform\": {\n \"issuerUrl\": \"https://uksouth.oic.aro-hcp.azure.com/00000000-0000-0000-0000-000000000001/2ts540mr2595fe25uq5g15odjmjclg6n\",\n \ \"managedResourceGroup\": \"clihcp-managed000006\",\n \"networkSecurityGroupId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.Network/networkSecurityGroups/clihcp-nsg000005\",\n \ \"operatorsAuthentication\": {\n \"userAssignedIdentities\": @@ -6020,14 +6261,14 @@ interactions: \ },\n \"provisioningState\": \"Succeeded\",\n \"status\": {\n \"activeVersions\": [\n {\n \"version\": \"4.22\"\n }\n ],\n \"conditions\": [\n - \ {\n \"lastTransitionTime\": \"2026-10-30T16:03:49Z\",\n + \ {\n \"lastTransitionTime\": \"2026-11-04T03:01:18Z\",\n \ \"message\": \"\",\n \"reason\": \"Valid\",\n \ \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n \ }\n ]\n },\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22\"\n }\n },\n \"systemData\": - {\n \"createdAt\": \"2026-10-30T16:03:47.4925397Z\",\n \"createdBy\": + {\n \"createdAt\": \"2026-11-04T03:01:16.5762188Z\",\n \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": \"User\",\n \"lastModifiedAt\": - \"2026-10-30T16:14:13.1706555Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n + \"2026-11-04T03:13:09.0135705Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n \ \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters\"\n}" headers: cache-control: @@ -6037,7 +6278,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:14:45 GMT + - Wed, 04 Nov 2026 03:14:12 GMT expires: - '-1' pragma: @@ -6049,11 +6290,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: FDE243AFF5F041BDA98F03EA242CE167 Ref B: DM2AA1091213049 Ref C: 2026-10-30T16:14:46Z' + - 'Ref A: 829FF170AB73471DAE36EF40A4431DF0 Ref B: SN4AA2022305023 Ref C: 2026-11-04T03:14:12Z' status: code: 200 message: OK @@ -6078,7 +6319,7 @@ interactions: ParameterSetName: - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/nodePools/clihcpnp000003?api-version=2026-10-01 response: @@ -6092,13 +6333,13 @@ interactions: \ \"vmSize\": \"Standard_D8s_v3\"\n },\n \"provisioningState\": \"Accepted\",\n \"replicas\": 1,\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22.11\"\n }\n },\n \"systemData\": - {\n \"createdAt\": \"2026-10-30T16:14:46.8164827Z\",\n \"createdBy\": + {\n \"createdAt\": \"2026-11-04T03:14:13.4248909Z\",\n \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": \"User\",\n \"lastModifiedAt\": - \"2026-10-30T16:14:46.8164827Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n + \"2026-11-04T03:14:13.4248909Z\",\n \"lastModifiedBy\": \"recording-user@example.com\",\n \ \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters/nodePools\"\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7?api-version=2026-10-01&t=639293588535342645&c=REDACTED&s=REDACTED&h=REDACTED cache-control: - no-cache content-length: @@ -6106,7 +6347,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:14:46 GMT + - Wed, 04 Nov 2026 03:14:13 GMT expires: - '-1' pragma: @@ -6118,16 +6359,166 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '31' + - '25' x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' x-msedge-ref: - - 'Ref A: 8CDA87860B8B45FEA90B551377FFE2FF Ref B: SN4AA2022301033 Ref C: 2026-10-30T16:14:46Z' + - 'Ref A: B4AA2CCF882143398B862A937E3E7836 Ref B: SN4AA2022303053 Ref C: 2026-11-04T03:14:13Z' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7?api-version=2026-10-01&t=639293588535342645&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n + \ \"name\": \"50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n \"status\": \"Accepted\",\n + \ \"startTime\": \"2026-11-04T03:14:13.480050455Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json + date: + - Wed, 04 Nov 2026 03:14:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: F77489D82A9C4E6DB2548B39646A1D48 Ref B: SN4AA2022303045 Ref C: 2026-11-04T03:14:13Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7?api-version=2026-10-01&t=639293588535342645&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n + \ \"name\": \"50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:14:13.480050455Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Wed, 04 Nov 2026 03:14:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 8DE2CCF370144BB19609C03411A77692 Ref B: DM2AA1091212051 Ref C: 2026-11-04T03:14:44Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aro hcp cluster nodepool create + Connection: + - keep-alive + ParameterSetName: + - -g --cluster-name -n --replicas --vm-size --version --channel-group + User-Agent: + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7?api-version=2026-10-01&t=639293588535342645&c=REDACTED&s=REDACTED&h=REDACTED + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n + \ \"name\": \"50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:14:13.480050455Z\"\n}" + headers: + cache-control: + - no-cache + content-length: + - '312' + content-type: + - application/json + date: + - Wed, 04 Nov 2026 03:15:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' + x-msedge-ref: + - 'Ref A: 03F57879508049928B184F7CAF2B56C7 Ref B: DM2AA1091211039 Ref C: 2026-11-04T03:15:15Z' status: - code: 201 - message: Created + code: 200 + message: OK - request: body: null headers: @@ -6142,23 +6533,23 @@ interactions: ParameterSetName: - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7?api-version=2026-10-01&t=639293588535342645&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n - \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Accepted\",\n - \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n + \ \"name\": \"50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:14:13.480050455Z\"\n}" headers: cache-control: - no-cache content-length: - - '308' + - '312' content-type: - application/json date: - - Fri, 30 Oct 2026 16:14:47 GMT + - Wed, 04 Nov 2026 03:15:45 GMT expires: - '-1' pragma: @@ -6174,7 +6565,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: BA5816C82185414585095F4C4296F71E Ref B: DM2AA1091213025 Ref C: 2026-10-30T16:14:47Z' + - 'Ref A: E2F0A137ED9E4FF7860E41F55C9BE7DF Ref B: SN4AA2022305027 Ref C: 2026-11-04T03:15:45Z' status: code: 200 message: OK @@ -6192,14 +6583,14 @@ interactions: ParameterSetName: - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7?api-version=2026-10-01&t=639293588535342645&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n - \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n + \ \"name\": \"50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:14:13.480050455Z\"\n}" headers: cache-control: - no-cache @@ -6208,7 +6599,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:15:17 GMT + - Wed, 04 Nov 2026 03:16:16 GMT expires: - '-1' pragma: @@ -6220,11 +6611,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: 298F63B77F374A8A93612CC784BFB370 Ref B: DM2AA1091213017 Ref C: 2026-10-30T16:15:17Z' + - 'Ref A: 9E70672B33EE46E3BE4C3F9C1C162270 Ref B: SN4AA2022304025 Ref C: 2026-11-04T03:16:16Z' status: code: 200 message: OK @@ -6242,14 +6633,14 @@ interactions: ParameterSetName: - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7?api-version=2026-10-01&t=639293588535342645&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n - \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n + \ \"name\": \"50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:14:13.480050455Z\"\n}" headers: cache-control: - no-cache @@ -6258,7 +6649,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:15:48 GMT + - Wed, 04 Nov 2026 03:16:47 GMT expires: - '-1' pragma: @@ -6270,11 +6661,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: DEEFFBEBDC884D0CADFA825F495587F2 Ref B: SN4AA2022301053 Ref C: 2026-10-30T16:15:48Z' + - 'Ref A: 31DE3014A5F64A098F48796DE3BFB151 Ref B: SN4AA2022302023 Ref C: 2026-11-04T03:16:47Z' status: code: 200 message: OK @@ -6292,14 +6683,14 @@ interactions: ParameterSetName: - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7?api-version=2026-10-01&t=639293588535342645&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n - \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n + \ \"name\": \"50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:14:13.480050455Z\"\n}" headers: cache-control: - no-cache @@ -6308,7 +6699,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:16:19 GMT + - Wed, 04 Nov 2026 03:17:18 GMT expires: - '-1' pragma: @@ -6320,11 +6711,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: 9750096131124633945294770E3488F6 Ref B: SN4AA2022301037 Ref C: 2026-10-30T16:16:19Z' + - 'Ref A: 5A25445D334B4CFFBC6E63E7F3C8B457 Ref B: DM2AA1091214037 Ref C: 2026-11-04T03:17:18Z' status: code: 200 message: OK @@ -6342,14 +6733,14 @@ interactions: ParameterSetName: - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7?api-version=2026-10-01&t=639293588535342645&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n - \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n + \ \"name\": \"50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:14:13.480050455Z\"\n}" headers: cache-control: - no-cache @@ -6358,21 +6749,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:16:50 GMT + - Wed, 04 Nov 2026 03:17:48 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 99B2FF9918254C2BA16E190524B670D5 Ref B: SN4AA2022303037 Ref C: 2026-11-04T03:17:48Z' status: code: 200 message: OK @@ -6390,14 +6783,14 @@ interactions: ParameterSetName: - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7?api-version=2026-10-01&t=639293588535342645&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n - \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n + \ \"name\": \"50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:14:13.480050455Z\"\n}" headers: cache-control: - no-cache @@ -6406,21 +6799,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:17:21 GMT + - Wed, 04 Nov 2026 03:18:19 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 1EE5FF0B50A84F45B8B4A3C1992D01A3 Ref B: SN4AA2022302025 Ref C: 2026-11-04T03:18:19Z' status: code: 200 message: OK @@ -6438,14 +6833,14 @@ interactions: ParameterSetName: - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7?api-version=2026-10-01&t=639293588535342645&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n - \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n + \ \"name\": \"50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:14:13.480050455Z\"\n}" headers: cache-control: - no-cache @@ -6454,7 +6849,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:17:51 GMT + - Wed, 04 Nov 2026 03:18:50 GMT expires: - '-1' pragma: @@ -6470,7 +6865,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: F4A66FB968E34924BC69B5FCBBB72106 Ref B: SN4AA2022401023 Ref C: 2026-10-30T16:17:51Z' + - 'Ref A: 3AE12575DC514539A8C30C41CC4D59B0 Ref B: SN4AA2022304029 Ref C: 2026-11-04T03:18:50Z' status: code: 200 message: OK @@ -6488,14 +6883,14 @@ interactions: ParameterSetName: - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7?api-version=2026-10-01&t=639293588535342645&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n - \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n + \ \"name\": \"50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:14:13.480050455Z\"\n}" headers: cache-control: - no-cache @@ -6504,21 +6899,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:18:22 GMT + - Wed, 04 Nov 2026 03:19:20 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 72D8BA035B7B458DAA86ABD0A0F2DF60 Ref B: DM2AA1091211023 Ref C: 2026-11-04T03:19:20Z' status: code: 200 message: OK @@ -6536,14 +6933,14 @@ interactions: ParameterSetName: - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7?api-version=2026-10-01&t=639293588535342645&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n - \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n + \ \"name\": \"50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:14:13.480050455Z\"\n}" headers: cache-control: - no-cache @@ -6552,7 +6949,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:18:52 GMT + - Wed, 04 Nov 2026 03:19:51 GMT expires: - '-1' pragma: @@ -6564,11 +6961,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: C44BE5045BF0406BAA606F15A91B71DE Ref B: SN4AA2022304027 Ref C: 2026-10-30T16:18:53Z' + - 'Ref A: 6246619F200B45D0BD484FFDD4946247 Ref B: DM2AA1091211009 Ref C: 2026-11-04T03:19:51Z' status: code: 200 message: OK @@ -6586,14 +6983,14 @@ interactions: ParameterSetName: - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7?api-version=2026-10-01&t=639293588535342645&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n - \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n + \ \"name\": \"50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:14:13.480050455Z\"\n}" headers: cache-control: - no-cache @@ -6602,7 +6999,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:19:23 GMT + - Wed, 04 Nov 2026 03:20:22 GMT expires: - '-1' pragma: @@ -6614,11 +7011,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: 64489BDBCB7F4CFEAE70B1F84870E24E Ref B: SN4AA2022303031 Ref C: 2026-10-30T16:19:23Z' + - 'Ref A: B7124CBD4AB744D795D0A21BA345DFC0 Ref B: SN4AA2022304047 Ref C: 2026-11-04T03:20:22Z' status: code: 200 message: OK @@ -6636,14 +7033,14 @@ interactions: ParameterSetName: - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7?api-version=2026-10-01&t=639293588535342645&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n - \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n + \ \"name\": \"50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:14:13.480050455Z\"\n}" headers: cache-control: - no-cache @@ -6652,21 +7049,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:19:54 GMT + - Wed, 04 Nov 2026 03:20:53 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 6803A8A3EA32473E9AD86C2163E293AE Ref B: SN4AA2022301039 Ref C: 2026-11-04T03:20:53Z' status: code: 200 message: OK @@ -6684,14 +7083,14 @@ interactions: ParameterSetName: - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7?api-version=2026-10-01&t=639293588535342645&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n - \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n + \ \"name\": \"50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:14:13.480050455Z\"\n}" headers: cache-control: - no-cache @@ -6700,21 +7099,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:20:25 GMT + - Wed, 04 Nov 2026 03:21:23 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: EAC15661BF58489A954FF4B57E43FB50 Ref B: SN4AA2022305033 Ref C: 2026-11-04T03:21:23Z' status: code: 200 message: OK @@ -6732,14 +7133,14 @@ interactions: ParameterSetName: - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7?api-version=2026-10-01&t=639293588535342645&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n - \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n + \ \"name\": \"50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:14:13.480050455Z\"\n}" headers: cache-control: - no-cache @@ -6748,21 +7149,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:20:56 GMT + - Wed, 04 Nov 2026 03:21:54 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: C9895D165A354DFA8FD2BBDB9965E00F Ref B: SN4AA2022301023 Ref C: 2026-11-04T03:21:54Z' status: code: 200 message: OK @@ -6780,14 +7183,14 @@ interactions: ParameterSetName: - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7?api-version=2026-10-01&t=639293588535342645&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n - \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n + \ \"name\": \"50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:14:13.480050455Z\"\n}" headers: cache-control: - no-cache @@ -6796,21 +7199,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:21:26 GMT + - Wed, 04 Nov 2026 03:22:26 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 9341052485804124ABA2BCA83F8C4748 Ref B: DM2AA1091213049 Ref C: 2026-11-04T03:22:25Z' status: code: 200 message: OK @@ -6828,14 +7233,14 @@ interactions: ParameterSetName: - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7?api-version=2026-10-01&t=639293588535342645&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n - \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n + \ \"name\": \"50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:14:13.480050455Z\"\n}" headers: cache-control: - no-cache @@ -6844,21 +7249,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:21:57 GMT + - Wed, 04 Nov 2026 03:22:56 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 6865BBFC6C394DE8A853930BEA1FCE71 Ref B: SN4AA2022305019 Ref C: 2026-11-04T03:22:56Z' status: code: 200 message: OK @@ -6876,14 +7283,14 @@ interactions: ParameterSetName: - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7?api-version=2026-10-01&t=639293588535342645&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n - \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Provisioning\",\n - \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n + \ \"name\": \"50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n \"status\": \"Provisioning\",\n + \ \"startTime\": \"2026-11-04T03:14:13.480050455Z\"\n}" headers: cache-control: - no-cache @@ -6892,21 +7299,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:22:27 GMT + - Wed, 04 Nov 2026 03:23:27 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: E1203326B95E48DE80499209A9380FB1 Ref B: DM2AA1091211033 Ref C: 2026-11-04T03:23:27Z' status: code: 200 message: OK @@ -6924,14 +7333,14 @@ interactions: ParameterSetName: - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300?api-version=2026-10-01&t=639289736869414839&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7?api-version=2026-10-01&t=639293588535342645&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/37154618-a0b2-4a05-af3e-856e9ea81300\",\n - \ \"name\": \"37154618-a0b2-4a05-af3e-856e9ea81300\",\n \"status\": \"Succeeded\",\n - \ \"startTime\": \"2026-10-30T16:14:46.890805552Z\",\n \"endTime\": \"2026-10-30T16:22:47.340468444Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n + \ \"name\": \"50823ceb-487a-4c82-b1f2-a092e57d78b7\",\n \"status\": \"Succeeded\",\n + \ \"startTime\": \"2026-11-04T03:14:13.480050455Z\",\n \"endTime\": \"2026-11-04T03:23:47.121877248Z\"\n}" headers: cache-control: - no-cache @@ -6940,21 +7349,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:22:58 GMT + - Wed, 04 Nov 2026 03:23:58 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '12' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: BDD510F144CC4E2D84272943014ED497 Ref B: SN4AA2022301037 Ref C: 2026-11-04T03:23:58Z' status: code: 200 message: OK @@ -6972,7 +7383,7 @@ interactions: ParameterSetName: - -g --cluster-name -n --replicas --vm-size --version --channel-group User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/nodePools/clihcpnp000003?api-version=2026-10-01 response: @@ -6987,13 +7398,13 @@ interactions: \"Succeeded\",\n \"replicas\": 1,\n \"status\": {\n \"activeVersions\": [\n {\n \"version\": \"4.22.11\"\n }\n \ ],\n \"conditions\": [\n {\n \"lastTransitionTime\": - \"2026-10-30T16:14:48Z\",\n \"message\": \"\",\n \"reason\": + \"2026-11-04T03:14:14Z\",\n \"message\": \"\",\n \"reason\": \"Valid\",\n \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n }\n ]\n },\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22.11\"\n - \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-30T16:14:46.8164827Z\",\n + \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-11-04T03:14:13.4248909Z\",\n \ \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": - \"User\",\n \"lastModifiedAt\": \"2026-10-30T16:14:46.8164827Z\",\n + \"User\",\n \"lastModifiedAt\": \"2026-11-04T03:14:13.4248909Z\",\n \ \"lastModifiedBy\": \"recording-user@example.com\",\n \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters/nodePools\"\n}" headers: @@ -7004,21 +7415,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:22:59 GMT + - Wed, 04 Nov 2026 03:23:58 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 5392B6E7D5E94AAF9988E7C8BA807221 Ref B: SN4AA2022303029 Ref C: 2026-11-04T03:23:58Z' status: code: 200 message: OK @@ -7036,7 +7449,7 @@ interactions: ParameterSetName: - -g --cluster-name -n User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/nodePools/clihcpnp000003?api-version=2026-10-01 response: @@ -7051,13 +7464,13 @@ interactions: \"Succeeded\",\n \"replicas\": 1,\n \"status\": {\n \"activeVersions\": [\n {\n \"version\": \"4.22.11\"\n }\n \ ],\n \"conditions\": [\n {\n \"lastTransitionTime\": - \"2026-10-30T16:14:48Z\",\n \"message\": \"\",\n \"reason\": + \"2026-11-04T03:14:14Z\",\n \"message\": \"\",\n \"reason\": \"Valid\",\n \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n }\n ]\n },\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22.11\"\n - \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-30T16:14:46.8164827Z\",\n + \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-11-04T03:14:13.4248909Z\",\n \ \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": - \"User\",\n \"lastModifiedAt\": \"2026-10-30T16:14:46.8164827Z\",\n + \"User\",\n \"lastModifiedAt\": \"2026-11-04T03:14:13.4248909Z\",\n \ \"lastModifiedBy\": \"recording-user@example.com\",\n \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters/nodePools\"\n}" headers: @@ -7068,21 +7481,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:23:01 GMT + - Wed, 04 Nov 2026 03:23:58 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '9' x-ms-ratelimit-remaining-subscription-global-reads: - - '3749' + - '3748' + x-msedge-ref: + - 'Ref A: E78E8C48372C42AC9BFEB94D1CCC19EC Ref B: DM2AA1091212021 Ref C: 2026-11-04T03:23:59Z' status: code: 200 message: OK @@ -7100,7 +7515,7 @@ interactions: ParameterSetName: - -g --cluster-name -n --node-drain-timeout User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/nodePools/clihcpnp000003?api-version=2026-10-01 response: @@ -7115,13 +7530,13 @@ interactions: \"Succeeded\",\n \"replicas\": 1,\n \"status\": {\n \"activeVersions\": [\n {\n \"version\": \"4.22.11\"\n }\n \ ],\n \"conditions\": [\n {\n \"lastTransitionTime\": - \"2026-10-30T16:14:48Z\",\n \"message\": \"\",\n \"reason\": + \"2026-11-04T03:14:14Z\",\n \"message\": \"\",\n \"reason\": \"Valid\",\n \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n }\n ]\n },\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22.11\"\n - \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-30T16:14:46.8164827Z\",\n + \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-11-04T03:14:13.4248909Z\",\n \ \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": - \"User\",\n \"lastModifiedAt\": \"2026-10-30T16:14:46.8164827Z\",\n + \"User\",\n \"lastModifiedAt\": \"2026-11-04T03:14:13.4248909Z\",\n \ \"lastModifiedBy\": \"recording-user@example.com\",\n \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters/nodePools\"\n}" headers: @@ -7132,21 +7547,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:23:01 GMT + - Wed, 04 Nov 2026 03:23:59 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 66773C8FF93044BD8FCBA7B657F466C6 Ref B: SN4AA2022304033 Ref C: 2026-11-04T03:23:59Z' status: code: 200 message: OK @@ -7172,7 +7589,7 @@ interactions: ParameterSetName: - -g --cluster-name -n --node-drain-timeout User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/nodePools/clihcpnp000003?api-version=2026-10-01 response: @@ -7188,18 +7605,18 @@ interactions: \"Accepted\",\n \"replicas\": 1,\n \"status\": {\n \"activeVersions\": [\n {\n \"version\": \"4.22.11\"\n }\n \ ],\n \"conditions\": [\n {\n \"lastTransitionTime\": - \"2026-10-30T16:14:48Z\",\n \"message\": \"\",\n \"reason\": + \"2026-11-04T03:14:14Z\",\n \"message\": \"\",\n \"reason\": \"Valid\",\n \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n }\n ]\n },\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22.11\"\n - \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-30T16:14:46.8164827Z\",\n + \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-11-04T03:14:13.4248909Z\",\n \ \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": - \"User\",\n \"lastModifiedAt\": \"2026-10-30T16:23:02.8889932Z\",\n + \"User\",\n \"lastModifiedAt\": \"2026-11-04T03:24:00.2636247Z\",\n \ \"lastModifiedBy\": \"recording-user@example.com\",\n \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters/nodePools\"\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/810a11af-fbc1-4534-b0a0-4a92035462be?api-version=2026-10-01&t=639289741842952481&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/34fa73be-ad74-4c2f-b731-1e390990735d?api-version=2026-10-01&t=639293594403105021&c=REDACTED&s=REDACTED&h=REDACTED cache-control: - no-cache content-length: @@ -7207,15 +7624,15 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:23:03 GMT + - Wed, 04 Nov 2026 03:23:59 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: @@ -7224,6 +7641,8 @@ interactions: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 4BAC877F403E45C28CB1A4159D800D51 Ref B: DM2AA1091212051 Ref C: 2026-11-04T03:24:00Z' status: code: 200 message: OK @@ -7241,14 +7660,14 @@ interactions: ParameterSetName: - -g --cluster-name -n --node-drain-timeout User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/810a11af-fbc1-4534-b0a0-4a92035462be?api-version=2026-10-01&t=639289741842952481&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/34fa73be-ad74-4c2f-b731-1e390990735d?api-version=2026-10-01&t=639293594403105021&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/810a11af-fbc1-4534-b0a0-4a92035462be\",\n - \ \"name\": \"810a11af-fbc1-4534-b0a0-4a92035462be\",\n \"status\": \"Accepted\",\n - \ \"startTime\": \"2026-10-30T16:23:03.320870874Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/34fa73be-ad74-4c2f-b731-1e390990735d\",\n + \ \"name\": \"34fa73be-ad74-4c2f-b731-1e390990735d\",\n \"status\": \"Accepted\",\n + \ \"startTime\": \"2026-11-04T03:24:00.287225988Z\"\n}" headers: cache-control: - no-cache @@ -7257,21 +7676,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:23:04 GMT + - Wed, 04 Nov 2026 03:24:01 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 570673B86FEF47C78D06355E6B7EE2FE Ref B: SN4AA2022303033 Ref C: 2026-11-04T03:24:00Z' status: code: 200 message: OK @@ -7289,14 +7710,14 @@ interactions: ParameterSetName: - -g --cluster-name -n --node-drain-timeout User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/810a11af-fbc1-4534-b0a0-4a92035462be?api-version=2026-10-01&t=639289741842952481&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/34fa73be-ad74-4c2f-b731-1e390990735d?api-version=2026-10-01&t=639293594403105021&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/810a11af-fbc1-4534-b0a0-4a92035462be\",\n - \ \"name\": \"810a11af-fbc1-4534-b0a0-4a92035462be\",\n \"status\": \"Updating\",\n - \ \"startTime\": \"2026-10-30T16:23:03.320870874Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/34fa73be-ad74-4c2f-b731-1e390990735d\",\n + \ \"name\": \"34fa73be-ad74-4c2f-b731-1e390990735d\",\n \"status\": \"Updating\",\n + \ \"startTime\": \"2026-11-04T03:24:00.287225988Z\"\n}" headers: cache-control: - no-cache @@ -7305,7 +7726,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:23:35 GMT + - Wed, 04 Nov 2026 03:24:31 GMT expires: - '-1' pragma: @@ -7317,11 +7738,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '13' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: 8E85CA27E78A477298DA4BF8141078C7 Ref B: DM2AA1091211029 Ref C: 2026-10-30T16:23:35Z' + - 'Ref A: E07DE8C48FA94006890B033C65597CD8 Ref B: DM2AA1091214017 Ref C: 2026-11-04T03:24:31Z' status: code: 200 message: OK @@ -7339,14 +7760,14 @@ interactions: ParameterSetName: - -g --cluster-name -n --node-drain-timeout User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/810a11af-fbc1-4534-b0a0-4a92035462be?api-version=2026-10-01&t=639289741842952481&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/34fa73be-ad74-4c2f-b731-1e390990735d?api-version=2026-10-01&t=639293594403105021&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/810a11af-fbc1-4534-b0a0-4a92035462be\",\n - \ \"name\": \"810a11af-fbc1-4534-b0a0-4a92035462be\",\n \"status\": \"Updating\",\n - \ \"startTime\": \"2026-10-30T16:23:03.320870874Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/34fa73be-ad74-4c2f-b731-1e390990735d\",\n + \ \"name\": \"34fa73be-ad74-4c2f-b731-1e390990735d\",\n \"status\": \"Updating\",\n + \ \"startTime\": \"2026-11-04T03:24:00.287225988Z\"\n}" headers: cache-control: - no-cache @@ -7355,21 +7776,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:24:06 GMT + - Wed, 04 Nov 2026 03:25:02 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 111C7310E9794C3CBDE9F63E469C540B Ref B: SN4AA2022304025 Ref C: 2026-11-04T03:25:02Z' status: code: 200 message: OK @@ -7387,14 +7810,14 @@ interactions: ParameterSetName: - -g --cluster-name -n --node-drain-timeout User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/810a11af-fbc1-4534-b0a0-4a92035462be?api-version=2026-10-01&t=639289741842952481&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/34fa73be-ad74-4c2f-b731-1e390990735d?api-version=2026-10-01&t=639293594403105021&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/810a11af-fbc1-4534-b0a0-4a92035462be\",\n - \ \"name\": \"810a11af-fbc1-4534-b0a0-4a92035462be\",\n \"status\": \"Succeeded\",\n - \ \"startTime\": \"2026-10-30T16:23:03.320870874Z\",\n \"endTime\": \"2026-10-30T16:24:27.257152965Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/34fa73be-ad74-4c2f-b731-1e390990735d\",\n + \ \"name\": \"34fa73be-ad74-4c2f-b731-1e390990735d\",\n \"status\": \"Succeeded\",\n + \ \"startTime\": \"2026-11-04T03:24:00.287225988Z\",\n \"endTime\": \"2026-11-04T03:25:29.877231472Z\"\n}" headers: cache-control: - no-cache @@ -7403,21 +7826,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:24:37 GMT + - Wed, 04 Nov 2026 03:25:33 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: D70F0A454917436A80E55F2C00240F0B Ref B: SN4AA2022302021 Ref C: 2026-11-04T03:25:32Z' status: code: 200 message: OK @@ -7435,7 +7860,7 @@ interactions: ParameterSetName: - -g --cluster-name -n --node-drain-timeout User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/nodePools/clihcpnp000003?api-version=2026-10-01 response: @@ -7451,13 +7876,13 @@ interactions: \"Succeeded\",\n \"replicas\": 1,\n \"status\": {\n \"activeVersions\": [\n {\n \"version\": \"4.22.11\"\n }\n \ ],\n \"conditions\": [\n {\n \"lastTransitionTime\": - \"2026-10-30T16:14:48Z\",\n \"message\": \"\",\n \"reason\": + \"2026-11-04T03:14:14Z\",\n \"message\": \"\",\n \"reason\": \"Valid\",\n \"status\": \"True\",\n \"type\": \"RequirementsValid\"\n }\n ]\n },\n \"version\": {\n \"channelGroup\": \"stable\",\n \"id\": \"4.22.11\"\n - \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-10-30T16:14:46.8164827Z\",\n + \ }\n },\n \"systemData\": {\n \"createdAt\": \"2026-11-04T03:14:13.4248909Z\",\n \ \"createdBy\": \"recording-user@example.com\",\n \"createdByType\": - \"User\",\n \"lastModifiedAt\": \"2026-10-30T16:23:02.8889932Z\",\n + \"User\",\n \"lastModifiedAt\": \"2026-11-04T03:24:00.2636247Z\",\n \ \"lastModifiedBy\": \"recording-user@example.com\",\n \"lastModifiedByType\": \"User\"\n },\n \"type\": \"Microsoft.RedHatOpenShift/hcpOpenShiftClusters/nodePools\"\n}" headers: @@ -7468,21 +7893,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:24:37 GMT + - Wed, 04 Nov 2026 03:25:33 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '9' x-ms-ratelimit-remaining-subscription-global-reads: - - '3749' + - '3746' + x-msedge-ref: + - 'Ref A: 79D6A58FC38045F89C67F8BF8AA01A60 Ref B: SN4AA2022302051 Ref C: 2026-11-04T03:25:33Z' status: code: 200 message: OK @@ -7502,7 +7929,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002/revokeCredentials?api-version=2026-10-01 response: @@ -7510,31 +7937,33 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3?api-version=2026-10-01&t=639289742801966019&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/099af1ff-9b84-40d1-af7e-fedcbca2c524?api-version=2026-10-01&t=639293595346143542&c=REDACTED&s=REDACTED&h=REDACTED cache-control: - no-cache content-length: - '0' date: - - Fri, 30 Oct 2026 16:24:39 GMT + - Wed, 04 Nov 2026 03:25:33 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/fd798d2c-773f-4e8a-b646-ada0433d7ff3?api-version=2026-10-01&t=639289742801966019&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/099af1ff-9b84-40d1-af7e-fedcbca2c524?api-version=2026-10-01&t=639293595346143542&c=REDACTED&s=REDACTED&h=REDACTED pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '28' + - '23' x-ms-ratelimit-remaining-subscription-global-writes: - '2999' x-ms-ratelimit-remaining-subscription-writes: - '199' + x-msedge-ref: + - 'Ref A: 3605158F05F847519717C4E1C7F7195F Ref B: SN4AA2022303031 Ref C: 2026-11-04T03:25:34Z' status: code: 202 message: Accepted @@ -7552,62 +7981,14 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3?api-version=2026-10-01&t=639289742801966019&c=REDACTED&s=REDACTED&h=REDACTED - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n - \ \"name\": \"fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-30T16:24:39.178506427Z\"\n}" - headers: - cache-control: - - no-cache - content-length: - - '308' - content-type: - - application/json - date: - - Fri, 30 Oct 2026 16:24:39 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - istio-envoy - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '11' - x-ms-ratelimit-remaining-subscription-global-reads: - - '3749' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aro hcp cluster revoke-credential - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3?api-version=2026-10-01&t=639289742801966019&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/099af1ff-9b84-40d1-af7e-fedcbca2c524?api-version=2026-10-01&t=639293595346143542&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n - \ \"name\": \"fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-30T16:24:39.178506427Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/099af1ff-9b84-40d1-af7e-fedcbca2c524\",\n + \ \"name\": \"099af1ff-9b84-40d1-af7e-fedcbca2c524\",\n \"status\": \"Accepted\",\n + \ \"startTime\": \"2026-11-04T03:25:34.579478101Z\"\n}" headers: cache-control: - no-cache @@ -7616,7 +7997,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:25:10 GMT + - Wed, 04 Nov 2026 03:25:34 GMT expires: - '-1' pragma: @@ -7628,11 +8009,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: CC025CE4FB6A4B339A4935BBD1B80809 Ref B: SN4AA2022302025 Ref C: 2026-10-30T16:25:11Z' + - 'Ref A: 0D677B678DF349DB81AA34D207F9EEEE Ref B: SN4AA2022302049 Ref C: 2026-11-04T03:25:34Z' status: code: 200 message: OK @@ -7650,14 +8031,14 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3?api-version=2026-10-01&t=639289742801966019&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/099af1ff-9b84-40d1-af7e-fedcbca2c524?api-version=2026-10-01&t=639293595346143542&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n - \ \"name\": \"fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-30T16:24:39.178506427Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/099af1ff-9b84-40d1-af7e-fedcbca2c524\",\n + \ \"name\": \"099af1ff-9b84-40d1-af7e-fedcbca2c524\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-11-04T03:25:34.579478101Z\"\n}" headers: cache-control: - no-cache @@ -7666,7 +8047,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:25:42 GMT + - Wed, 04 Nov 2026 03:26:05 GMT expires: - '-1' pragma: @@ -7682,7 +8063,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: F2B4CA10F6EB47C6A6C32EDB6E37CDD0 Ref B: SN4AA2022302031 Ref C: 2026-10-30T16:25:41Z' + - 'Ref A: C97F5CB2E6EF41E097BE0C3B9C167216 Ref B: DM2AA1091214009 Ref C: 2026-11-04T03:26:05Z' status: code: 200 message: OK @@ -7700,14 +8081,14 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3?api-version=2026-10-01&t=639289742801966019&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/099af1ff-9b84-40d1-af7e-fedcbca2c524?api-version=2026-10-01&t=639293595346143542&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n - \ \"name\": \"fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-30T16:24:39.178506427Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/099af1ff-9b84-40d1-af7e-fedcbca2c524\",\n + \ \"name\": \"099af1ff-9b84-40d1-af7e-fedcbca2c524\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-11-04T03:25:34.579478101Z\"\n}" headers: cache-control: - no-cache @@ -7716,7 +8097,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:26:12 GMT + - Wed, 04 Nov 2026 03:26:36 GMT expires: - '-1' pragma: @@ -7728,11 +8109,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: 0E3FADE680234ABA9B00B3478052ECED Ref B: SN4AA2022301049 Ref C: 2026-10-30T16:26:12Z' + - 'Ref A: 1CFDB395333B49C1B2DC3ECB3F1598D6 Ref B: DM2AA1091211035 Ref C: 2026-11-04T03:26:36Z' status: code: 200 message: OK @@ -7750,14 +8131,14 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3?api-version=2026-10-01&t=639289742801966019&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/099af1ff-9b84-40d1-af7e-fedcbca2c524?api-version=2026-10-01&t=639293595346143542&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n - \ \"name\": \"fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-30T16:24:39.178506427Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/099af1ff-9b84-40d1-af7e-fedcbca2c524\",\n + \ \"name\": \"099af1ff-9b84-40d1-af7e-fedcbca2c524\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-11-04T03:25:34.579478101Z\"\n}" headers: cache-control: - no-cache @@ -7766,7 +8147,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:26:43 GMT + - Wed, 04 Nov 2026 03:27:06 GMT expires: - '-1' pragma: @@ -7778,11 +8159,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: 262BB0A6CDA74094AFA796F3253C21F4 Ref B: SN4AA2022302053 Ref C: 2026-10-30T16:26:43Z' + - 'Ref A: EA21B1B426C140939CB980330AB79C1D Ref B: DM2AA1091213039 Ref C: 2026-11-04T03:27:07Z' status: code: 200 message: OK @@ -7800,14 +8181,14 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3?api-version=2026-10-01&t=639289742801966019&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/099af1ff-9b84-40d1-af7e-fedcbca2c524?api-version=2026-10-01&t=639293595346143542&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n - \ \"name\": \"fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-30T16:24:39.178506427Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/099af1ff-9b84-40d1-af7e-fedcbca2c524\",\n + \ \"name\": \"099af1ff-9b84-40d1-af7e-fedcbca2c524\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-11-04T03:25:34.579478101Z\"\n}" headers: cache-control: - no-cache @@ -7816,7 +8197,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:27:14 GMT + - Wed, 04 Nov 2026 03:27:37 GMT expires: - '-1' pragma: @@ -7828,11 +8209,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '12' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: B9E48ED037084D9E8AA3F81C48E1BE43 Ref B: DM2AA1091211033 Ref C: 2026-10-30T16:27:13Z' + - 'Ref A: C9B994EAA84C4806A3FF5897125E1A89 Ref B: SN4AA2022303031 Ref C: 2026-11-04T03:27:37Z' status: code: 200 message: OK @@ -7850,14 +8231,14 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3?api-version=2026-10-01&t=639289742801966019&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/099af1ff-9b84-40d1-af7e-fedcbca2c524?api-version=2026-10-01&t=639293595346143542&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n - \ \"name\": \"fd798d2c-773f-4e8a-b646-ada0433d7ff3\",\n \"status\": \"Succeeded\",\n - \ \"startTime\": \"2026-10-30T16:24:39.178506427Z\",\n \"endTime\": \"2026-10-30T16:27:27.204419076Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/099af1ff-9b84-40d1-af7e-fedcbca2c524\",\n + \ \"name\": \"099af1ff-9b84-40d1-af7e-fedcbca2c524\",\n \"status\": \"Succeeded\",\n + \ \"startTime\": \"2026-11-04T03:25:34.579478101Z\",\n \"endTime\": \"2026-11-04T03:27:39.862161572Z\"\n}" headers: cache-control: - no-cache @@ -7866,7 +8247,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:27:45 GMT + - Wed, 04 Nov 2026 03:28:08 GMT expires: - '-1' pragma: @@ -7882,7 +8263,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: 1DC66083B54143D5A9072A53A72A72E8 Ref B: SN4AA2022304019 Ref C: 2026-10-30T16:27:44Z' + - 'Ref A: 9AF53F1D990F49518B7CDDB14B3A55C0 Ref B: SN4AA2022304045 Ref C: 2026-11-04T03:28:08Z' status: code: 200 message: OK @@ -7900,9 +8281,9 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/fd798d2c-773f-4e8a-b646-ada0433d7ff3?api-version=2026-10-01&t=639289742801966019&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/099af1ff-9b84-40d1-af7e-fedcbca2c524?api-version=2026-10-01&t=639293595346143542&c=REDACTED&s=REDACTED&h=REDACTED response: body: string: '' @@ -7910,7 +8291,7 @@ interactions: cache-control: - no-cache date: - - Fri, 30 Oct 2026 16:27:45 GMT + - Wed, 04 Nov 2026 03:28:09 GMT expires: - '-1' pragma: @@ -7926,7 +8307,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: 178CBE5E39B94BA7A6A4BA8C32D665C7 Ref B: DM2AA1091212049 Ref C: 2026-10-30T16:27:45Z' + - 'Ref A: 6C0932FF9F56483CB80F4E1BE2036404 Ref B: DM2AA1091213045 Ref C: 2026-11-04T03:28:09Z' status: code: 204 message: No Content @@ -7946,7 +8327,7 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_aro_hcp000001/providers/Microsoft.RedHatOpenShift/hcpOpenShiftClusters/clihcp000002?api-version=2026-10-01 response: @@ -7954,17 +8335,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741?api-version=2026-10-01&t=639293596908126433&c=REDACTED&s=REDACTED&h=REDACTED cache-control: - no-cache content-length: - '0' date: - - Fri, 30 Oct 2026 16:27:47 GMT + - Wed, 04 Nov 2026 03:28:10 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/8f135e51-bc88-4434-b779-77669f4f9741?api-version=2026-10-01&t=639293596908126433&c=REDACTED&s=REDACTED&h=REDACTED pragma: - no-cache strict-transport-security: @@ -7974,13 +8355,13 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '52' + - '37' x-ms-ratelimit-remaining-subscription-deletes: - '199' x-ms-ratelimit-remaining-subscription-global-deletes: - '2999' x-msedge-ref: - - 'Ref A: 5761B588E9A245D18C5EF3BA78523449 Ref B: DM2AA1091214011 Ref C: 2026-10-30T16:27:46Z' + - 'Ref A: 99C1A3861BF64CA8BEF8F303842B1EF8 Ref B: SN4AA2022305025 Ref C: 2026-11-04T03:28:10Z' status: code: 202 message: Accepted @@ -7998,14 +8379,14 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741?api-version=2026-10-01&t=639293596908126433&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n - \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741\",\n + \ \"name\": \"8f135e51-bc88-4434-b779-77669f4f9741\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-11-04T03:28:10.769389914Z\"\n}" headers: cache-control: - no-cache @@ -8014,7 +8395,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:27:47 GMT + - Wed, 04 Nov 2026 03:28:10 GMT expires: - '-1' pragma: @@ -8026,11 +8407,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: FE622DC53D9543E5A11CE6241C0F5695 Ref B: SN4AA2022302049 Ref C: 2026-10-30T16:27:47Z' + - 'Ref A: 5CAB2C7A5E6847CE87830D593ECB6583 Ref B: SN4AA2022303051 Ref C: 2026-11-04T03:28:11Z' status: code: 200 message: OK @@ -8048,14 +8429,14 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741?api-version=2026-10-01&t=639293596908126433&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n - \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741\",\n + \ \"name\": \"8f135e51-bc88-4434-b779-77669f4f9741\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-11-04T03:28:10.769389914Z\"\n}" headers: cache-control: - no-cache @@ -8064,7 +8445,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:28:19 GMT + - Wed, 04 Nov 2026 03:28:41 GMT expires: - '-1' pragma: @@ -8076,11 +8457,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: D752466B8EA24E83BEA1390AEFF03362 Ref B: SN4AA2022304047 Ref C: 2026-10-30T16:28:18Z' + - 'Ref A: 4173090FA67149A4A050CB4A98E956FB Ref B: SN4AA2022302021 Ref C: 2026-11-04T03:28:41Z' status: code: 200 message: OK @@ -8098,14 +8479,14 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741?api-version=2026-10-01&t=639293596908126433&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n - \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741\",\n + \ \"name\": \"8f135e51-bc88-4434-b779-77669f4f9741\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-11-04T03:28:10.769389914Z\"\n}" headers: cache-control: - no-cache @@ -8114,7 +8495,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:28:49 GMT + - Wed, 04 Nov 2026 03:29:11 GMT expires: - '-1' pragma: @@ -8126,11 +8507,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '11' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: D6F69C89DAEB448698647B08F02CAAB6 Ref B: SN4AA2022305023 Ref C: 2026-10-30T16:28:49Z' + - 'Ref A: CFD0D861061245DABD1D3487D3CFDD7B Ref B: SN4AA2022304039 Ref C: 2026-11-04T03:29:12Z' status: code: 200 message: OK @@ -8148,14 +8529,14 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741?api-version=2026-10-01&t=639293596908126433&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n - \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741\",\n + \ \"name\": \"8f135e51-bc88-4434-b779-77669f4f9741\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-11-04T03:28:10.769389914Z\"\n}" headers: cache-control: - no-cache @@ -8164,7 +8545,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:29:20 GMT + - Wed, 04 Nov 2026 03:29:43 GMT expires: - '-1' pragma: @@ -8180,7 +8561,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: F1298D9E8DDF4AAE8022B0B21625E414 Ref B: SN4AA2022305011 Ref C: 2026-10-30T16:29:20Z' + - 'Ref A: F1C3717B59CA4882AF6A05966101C2D7 Ref B: DM2AA1091213011 Ref C: 2026-11-04T03:29:43Z' status: code: 200 message: OK @@ -8198,14 +8579,14 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741?api-version=2026-10-01&t=639293596908126433&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n - \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741\",\n + \ \"name\": \"8f135e51-bc88-4434-b779-77669f4f9741\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-11-04T03:28:10.769389914Z\"\n}" headers: cache-control: - no-cache @@ -8214,7 +8595,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:29:51 GMT + - Wed, 04 Nov 2026 03:30:13 GMT expires: - '-1' pragma: @@ -8226,11 +8607,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: 876CC59A912B45E49FAD20389AF3EF7A Ref B: DM2AA1091211045 Ref C: 2026-10-30T16:29:51Z' + - 'Ref A: 3BF3CFD7F40946BE8D883760A25669FC Ref B: SN4AA2022301039 Ref C: 2026-11-04T03:30:14Z' status: code: 200 message: OK @@ -8248,14 +8629,14 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741?api-version=2026-10-01&t=639293596908126433&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n - \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741\",\n + \ \"name\": \"8f135e51-bc88-4434-b779-77669f4f9741\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-11-04T03:28:10.769389914Z\"\n}" headers: cache-control: - no-cache @@ -8264,7 +8645,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:30:22 GMT + - Wed, 04 Nov 2026 03:30:45 GMT expires: - '-1' pragma: @@ -8276,11 +8657,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '17' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: A1AF8658AE3543E087A0434E7AAFEC02 Ref B: SN4AA2022301017 Ref C: 2026-10-30T16:30:21Z' + - 'Ref A: AF1905BFCB0046C0AB7343ABB2C13D3D Ref B: DM2AA1091214039 Ref C: 2026-11-04T03:30:44Z' status: code: 200 message: OK @@ -8298,14 +8679,14 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741?api-version=2026-10-01&t=639293596908126433&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n - \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741\",\n + \ \"name\": \"8f135e51-bc88-4434-b779-77669f4f9741\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-11-04T03:28:10.769389914Z\"\n}" headers: cache-control: - no-cache @@ -8314,7 +8695,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:30:52 GMT + - Wed, 04 Nov 2026 03:31:15 GMT expires: - '-1' pragma: @@ -8326,107 +8707,11 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: D73D64CB32C04F8CBD6CDF407FF46A79 Ref B: SN4AA2022305051 Ref C: 2026-10-30T16:30:52Z' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aro hcp cluster delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n - \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" - headers: - cache-control: - - no-cache - content-length: - - '308' - content-type: - - application/json - date: - - Fri, 30 Oct 2026 16:31:23 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - istio-envoy - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '10' - x-ms-ratelimit-remaining-subscription-global-reads: - - '3749' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aro hcp cluster delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --yes - User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n - \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" - headers: - cache-control: - - no-cache - content-length: - - '308' - content-type: - - application/json - date: - - Fri, 30 Oct 2026 16:31:54 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - istio-envoy - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '10' - x-ms-ratelimit-remaining-subscription-global-reads: - - '3749' + - 'Ref A: B3246D4E448A49799CE3699E19B51246 Ref B: SN4AA2022303051 Ref C: 2026-11-04T03:31:15Z' status: code: 200 message: OK @@ -8444,14 +8729,14 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741?api-version=2026-10-01&t=639293596908126433&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n - \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741\",\n + \ \"name\": \"8f135e51-bc88-4434-b779-77669f4f9741\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-11-04T03:28:10.769389914Z\"\n}" headers: cache-control: - no-cache @@ -8460,21 +8745,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:32:24 GMT + - Wed, 04 Nov 2026 03:31:46 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '9' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: EECF3E16D6AB44EC80107DC3E802ECAE Ref B: DM2AA1091212023 Ref C: 2026-11-04T03:31:46Z' status: code: 200 message: OK @@ -8492,14 +8779,14 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741?api-version=2026-10-01&t=639293596908126433&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n - \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741\",\n + \ \"name\": \"8f135e51-bc88-4434-b779-77669f4f9741\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-11-04T03:28:10.769389914Z\"\n}" headers: cache-control: - no-cache @@ -8508,7 +8795,7 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:32:55 GMT + - Wed, 04 Nov 2026 03:32:17 GMT expires: - '-1' pragma: @@ -8524,7 +8811,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '3749' x-msedge-ref: - - 'Ref A: F1E8C25BE16243C0B2B4E3DC8BB9D3FC Ref B: DM2AA1091211047 Ref C: 2026-10-30T16:32:55Z' + - 'Ref A: C5329DF5857F43538C79DE9E60951D86 Ref B: DM2AA1091213023 Ref C: 2026-11-04T03:32:17Z' status: code: 200 message: OK @@ -8542,14 +8829,14 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741?api-version=2026-10-01&t=639293596908126433&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n - \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Deleting\",\n - \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741\",\n + \ \"name\": \"8f135e51-bc88-4434-b779-77669f4f9741\",\n \"status\": \"Deleting\",\n + \ \"startTime\": \"2026-11-04T03:28:10.769389914Z\"\n}" headers: cache-control: - no-cache @@ -8558,21 +8845,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:33:26 GMT + - Wed, 04 Nov 2026 03:32:48 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: A968D206155B41D9A7828A2059A15594 Ref B: SN4AA2022301011 Ref C: 2026-11-04T03:32:48Z' status: code: 200 message: OK @@ -8590,14 +8879,14 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741?api-version=2026-10-01&t=639293596908126433&c=REDACTED&s=REDACTED&h=REDACTED response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n - \ \"name\": \"e6ded0fc-39e4-4246-a718-5ff42c712d0c\",\n \"status\": \"Succeeded\",\n - \ \"startTime\": \"2026-10-30T16:27:47.102139063Z\",\n \"endTime\": \"2026-10-30T16:33:48.656500309Z\"\n}" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationStatuses/8f135e51-bc88-4434-b779-77669f4f9741\",\n + \ \"name\": \"8f135e51-bc88-4434-b779-77669f4f9741\",\n \"status\": \"Succeeded\",\n + \ \"startTime\": \"2026-11-04T03:28:10.769389914Z\",\n \"endTime\": \"2026-11-04T03:32:59.871710602Z\"\n}" headers: cache-control: - no-cache @@ -8606,21 +8895,23 @@ interactions: content-type: - application/json date: - - Fri, 30 Oct 2026 16:33:56 GMT + - Wed, 04 Nov 2026 03:33:19 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - '10' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 004EBCA42F274CD88B59663EFEA578D6 Ref B: SN4AA2022304045 Ref C: 2026-11-04T03:33:18Z' status: code: 200 message: OK @@ -8638,9 +8929,9 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.91.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) + - AZURECLI/2.92.0 azsdk-python-core/1.39.0 Python/3.11.12 (macOS-26.7.1-arm64-arm-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/e6ded0fc-39e4-4246-a718-5ff42c712d0c?api-version=2026-10-01&t=639289744671614067&c=REDACTED&s=REDACTED&h=REDACTED + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RedHatOpenShift/locations/uksouth/hcpOperationResults/8f135e51-bc88-4434-b779-77669f4f9741?api-version=2026-10-01&t=639293596908126433&c=REDACTED&s=REDACTED&h=REDACTED response: body: string: '' @@ -8648,21 +8939,23 @@ interactions: cache-control: - no-cache date: - - Fri, 30 Oct 2026 16:33:57 GMT + - Wed, 04 Nov 2026 03:33:19 GMT expires: - '-1' pragma: - no-cache - server: - - istio-envoy strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '8' x-ms-ratelimit-remaining-subscription-global-reads: - '3749' + x-msedge-ref: + - 'Ref A: 16A7DB3D7EA54D0A9270927E92ED1CF7 Ref B: DM2AA1091211051 Ref C: 2026-11-04T03:33:19Z' status: code: 204 message: No Content From 8c29e1825f0e5306c95a8e01593b0be179915200 Mon Sep 17 00:00:00 2001 From: kimorris27 Date: Thu, 5 Nov 2026 10:53:15 -0600 Subject: [PATCH 11/12] Fix command example and remove role sets command for now --- .../aro/hcp/cluster/_request_credential.py | 2 +- .../aro/hcp/identity_role_sets/__cmd_group.py | 23 -- .../aro/hcp/identity_role_sets/__init__.py | 12 - .../aro/hcp/identity_role_sets/_list.py | 259 ------------------ 4 files changed, 1 insertion(+), 295 deletions(-) delete mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/__cmd_group.py delete mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/__init__.py delete mode 100644 src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/_list.py diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_request_credential.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_request_credential.py index 061729e39ec..3d64f4d7ff3 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_request_credential.py +++ b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/cluster/_request_credential.py @@ -18,7 +18,7 @@ class RequestCredential(AAZCommand): """Request a temporary credential for your Azure Red Hat OpenShift with hosted control plane cluster :example: Request a temporary admin credential - az aro hcp cluster request-credential --resource-group MyResourceGroup --name MyCluster + az aro hcp cluster request-credential --admin --resource-group MyResourceGroup --name MyCluster """ _aaz_info = { diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/__cmd_group.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/__cmd_group.py deleted file mode 100644 index 6cf87eca8ca..00000000000 --- a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/__cmd_group.py +++ /dev/null @@ -1,23 +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_group( - "aro hcp identity-role-sets", -) -class __CMDGroup(AAZCommandGroup): - """View Azure Red Hat OpenShift with hosted control plane identity role sets - """ - pass - - -__all__ = ["__CMDGroup"] diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/__init__.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/__init__.py deleted file mode 100644 index d63ae5a6fc9..00000000000 --- a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/__init__.py +++ /dev/null @@ -1,12 +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 .__cmd_group import * -from ._list import * diff --git a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/_list.py b/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/_list.py deleted file mode 100644 index 53551066c36..00000000000 --- a/src/azure-cli/azure/cli/command_modules/aro/aaz/latest/aro/hcp/identity_role_sets/_list.py +++ /dev/null @@ -1,259 +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( - "aro hcp identity-role-sets list", -) -class List(AAZCommand): - """List Azure Red Hat OpenShift with hosted control plane identity role sets by location - - :example: List operator identity role sets in a location - az aro hcp identity-role-sets list --location eastus - """ - - _aaz_info = { - "version": "2026-10-01", - "resources": [ - ["mgmt-plane", "/subscriptions/{}/providers/microsoft.redhatopenshift/locations/{}/hcpoperatoridentityrolesets", "2026-10-01"], - ] - } - - AZ_SUPPORT_PAGINATION = True - - def _handler(self, command_args): - super()._handler(command_args) - return self.build_paging(self._execute_operations, self._output) - - _args_schema = None - - @classmethod - def _build_arguments_schema(cls, *args, **kwargs): - if cls._args_schema is not None: - return cls._args_schema - cls._args_schema = super()._build_arguments_schema(*args, **kwargs) - - # define Arg Group "" - - _args_schema = cls._args_schema - _args_schema.location = AAZResourceLocationArg( - required=True, - ) - return cls._args_schema - - def _execute_operations(self): - self.pre_operations() - self.HcpOperatorIdentityRoleSetsList(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 HcpOperatorIdentityRoleSetsList(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.RedHatOpenShift/locations/{location}/hcpOperatorIdentityRoleSets", - **self.url_parameters - ) - - @property - def method(self): - return "GET" - - @property - def error_format(self): - return "MgmtErrorFormat" - - @property - def url_parameters(self): - parameters = { - **self.serialize_url_param( - "location", self.ctx.args.location, - required=True, - ), - **self.serialize_url_param( - "subscriptionId", self.ctx.subscription_id, - required=True, - ), - } - return parameters - - @property - def query_parameters(self): - parameters = { - **self.serialize_query_param( - "api-version", "2026-10-01", - required=True, - ), - } - return parameters - - @property - def header_parameters(self): - parameters = { - **self.serialize_header_param( - "Accept", "application/json", - ), - } - return parameters - - def on_200(self, session): - data = self.deserialize_http_content(session) - self.ctx.set_var( - "instance", - data, - schema_builder=self._build_schema_on_200 - ) - - _schema_on_200 = None - - @classmethod - def _build_schema_on_200(cls): - if cls._schema_on_200 is not None: - return cls._schema_on_200 - - cls._schema_on_200 = AAZObjectType() - - _schema_on_200 = cls._schema_on_200 - _schema_on_200.next_link = AAZStrType( - serialized_name="nextLink", - ) - _schema_on_200.value = AAZListType( - flags={"required": True}, - ) - - value = cls._schema_on_200.value - value.Element = AAZObjectType() - - _element = cls._schema_on_200.value.Element - _element.id = AAZStrType( - flags={"read_only": True}, - ) - _element.name = AAZStrType( - flags={"read_only": True}, - ) - _element.properties = AAZObjectType() - _element.system_data = AAZObjectType( - serialized_name="systemData", - flags={"read_only": True}, - ) - _element.type = AAZStrType( - flags={"read_only": True}, - ) - - properties = cls._schema_on_200.value.Element.properties - properties.control_plane_operators = AAZListType( - serialized_name="controlPlaneOperators", - flags={"required": True}, - ) - properties.data_plane_operators = AAZListType( - serialized_name="dataPlaneOperators", - flags={"required": True}, - ) - - control_plane_operators = cls._schema_on_200.value.Element.properties.control_plane_operators - control_plane_operators.Element = AAZObjectType() - _ListHelper._build_schema_operator_identity_roles_read(control_plane_operators.Element) - - data_plane_operators = cls._schema_on_200.value.Element.properties.data_plane_operators - data_plane_operators.Element = AAZObjectType() - _ListHelper._build_schema_operator_identity_roles_read(data_plane_operators.Element) - - 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", - ) - - return cls._schema_on_200 - - -class _ListHelper: - """Helper class for List""" - - _schema_operator_identity_roles_read = None - - @classmethod - def _build_schema_operator_identity_roles_read(cls, _schema): - if cls._schema_operator_identity_roles_read is not None: - _schema.name = cls._schema_operator_identity_roles_read.name - _schema.required = cls._schema_operator_identity_roles_read.required - _schema.role_definitions = cls._schema_operator_identity_roles_read.role_definitions - return - - cls._schema_operator_identity_roles_read = _schema_operator_identity_roles_read = AAZObjectType() - - operator_identity_roles_read = _schema_operator_identity_roles_read - operator_identity_roles_read.name = AAZStrType( - flags={"required": True}, - ) - operator_identity_roles_read.required = AAZStrType( - flags={"required": True}, - ) - operator_identity_roles_read.role_definitions = AAZListType( - serialized_name="roleDefinitions", - flags={"required": True}, - ) - - role_definitions = _schema_operator_identity_roles_read.role_definitions - role_definitions.Element = AAZObjectType() - - _element = _schema_operator_identity_roles_read.role_definitions.Element - _element.name = AAZStrType( - flags={"required": True}, - ) - _element.resource_id = AAZStrType( - serialized_name="resourceId", - flags={"required": True}, - ) - - _schema.name = cls._schema_operator_identity_roles_read.name - _schema.required = cls._schema_operator_identity_roles_read.required - _schema.role_definitions = cls._schema_operator_identity_roles_read.role_definitions - - -__all__ = ["List"] From ca2a767b38ef9821dfdc45d8992b4dbeff1e1001 Mon Sep 17 00:00:00 2001 From: kimorris27 Date: Thu, 5 Nov 2026 12:16:03 -0600 Subject: [PATCH 12/12] Addressed Copilot feedback - Fixed identity replacement on cluster updates - Further unit test compatibility fix for Windows - Removed unintentional `--ids` arg from credential request command - Removed unused helper function and corresponding unit test --- .../aro/azext_aro_hcp/_format.py | 4 -- .../aro/azext_aro_hcp/custom.py | 16 +++-- .../latest/hcp/unit/test_custom_commands.py | 72 ++++++++++++++----- .../aro/tests/latest/hcp/unit/test_format.py | 9 --- .../tests/latest/hcp/unit/test_kubeconfig.py | 1 + 5 files changed, 66 insertions(+), 36 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_format.py b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_format.py index 380295db33f..dad7b3055b3 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_format.py +++ b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/_format.py @@ -22,10 +22,6 @@ def _major_minor(version_str): return '' -def get_versions_table_format(results): - return [_version_row(r) for r in results] - - def _version_row(result): props = result.get('properties', {}) return collections.OrderedDict( diff --git a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py index 3b8db694fb9..4901b0e0787 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py +++ b/src/azure-cli/azure/cli/command_modules/aro/azext_aro_hcp/custom.py @@ -343,7 +343,7 @@ def _build_arguments_schema(cls, *args, **kwargs): "Assign user-assigned identities to control plane operators. " "Usage: --assign-control-plane-operator-identity OPERATOR_NAME IDENTITY. " "IDENTITY is a resource ID or the name of an identity in the cluster subnet's resource group. " - "Repeat the argument to assign more identities.", + "Repeat the argument to assign more identities. Existing operators not specified are preserved.", required=False, ) args_schema.assign_data_plane_operator_identity = _build_operator_identity_arg( @@ -351,7 +351,7 @@ def _build_arguments_schema(cls, *args, **kwargs): "Assign user-assigned identities to data plane operators. " "Usage: --assign-data-plane-operator-identity OPERATOR_NAME IDENTITY. " "IDENTITY is a resource ID or the name of an identity in the cluster subnet's resource group. " - "Repeat the argument to assign more identities.", + "Repeat the argument to assign more identities. Existing operators not specified are preserved.", required=False, ) args_schema.assign_service_managed_identity = AAZStrArg( @@ -399,19 +399,21 @@ def pre_instance_update(self, instance): operator_identities = platform.operators_authentication.user_assigned_identities if has_value(control_plane_arg): - control_plane = _operator_identities( + control_plane = operator_identities.control_plane_operators.to_serialized_data() + control_plane.update(_operator_identities( control_plane_arg, "--assign-control-plane-operator-identity", subnet_id, - ) + )) operator_identities.control_plane_operators = control_plane if has_value(data_plane_arg): - data_plane = _operator_identities( + data_plane = operator_identities.data_plane_operators.to_serialized_data() + data_plane.update(_operator_identities( data_plane_arg, "--assign-data-plane-operator-identity", subnet_id, - ) + )) operator_identities.data_plane_operators = data_plane if has_value(service_arg): @@ -422,7 +424,6 @@ def pre_instance_update(self, instance): operator_identities.service_managed_identity = service assigned_resource_ids = set(operator_identities.control_plane_operators.to_serialized_data().values()) - assigned_resource_ids.update(operator_identities.data_plane_operators.to_serialized_data().values()) assigned_resource_ids.add(operator_identities.service_managed_identity.to_serialized_data()) instance.identity.user_assigned_identities = { resource_id: {} for resource_id in assigned_resource_ids @@ -503,6 +504,7 @@ def __init__(self, *args, **kwargs): @classmethod def _build_arguments_schema(cls, *args, **kwargs): args_schema = super()._build_arguments_schema(*args, **kwargs) + args_schema.name._id_part = None # pylint: disable=protected-access args_schema.no_wait = AAZBoolArg(default=False, registered=False) args_schema.certificate_signing_request = AAZStrArg( options=["--certificate-signing-request"], diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py index 6bb1983f44f..712bf9933c0 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_custom_commands.py @@ -393,7 +393,7 @@ def _instance(): } return AAZObject(schema, data=schema.process_data(data)) - def test_pre_instance_update_replaces_supplied_category_and_rebuilds_top_level_identities(self): + def test_pre_instance_update_merges_supplied_category_and_rebuilds_top_level_identities(self): instance = self._instance() command = self._command( control_plane=[{"name": "new-control", "resource_id": "new-control-identity"}], @@ -402,35 +402,76 @@ def test_pre_instance_update_replaces_supplied_category_and_rebuilds_top_level_i command.pre_instance_update(instance) operator_identities = instance.properties.platform.operators_authentication.user_assigned_identities - self.assertEqual({"new-control": _identity_id("new-control-identity")}, - operator_identities.control_plane_operators) + self.assertEqual({ + "existing-control": _identity_id("control"), + "new-control": _identity_id("new-control-identity"), + }, operator_identities.control_plane_operators) self.assertEqual({"existing-data": _identity_id("data")}, operator_identities.data_plane_operators) self.assertEqual(_identity_id("service"), operator_identities.service_managed_identity) self.assertEqual({ + _identity_id("control"): {}, _identity_id("new-control-identity"): {}, - _identity_id("data"): {}, _identity_id("service"): {}, }, instance.identity.user_assigned_identities.to_serialized_data()) + def test_pre_instance_update_removes_replaced_identity_from_put_content(self): + instance = self._instance() + operator_identities = instance.properties.platform.operators_authentication.user_assigned_identities + operator_identities.control_plane_operators = { + "cluster-api-azure": _identity_id("control"), + "other-operator": _identity_id("other-control"), + } + command = self._command(control_plane=[ + {"name": "cluster-api-azure", "resource_id": "replacement-control"}, + ]) + command.ctx.vars = types.SimpleNamespace(instance=instance) + + command.pre_instance_update(instance) + command.InstanceUpdateByJson(ctx=command.ctx)() + content = command.HcpOpenShiftClustersCreateOrUpdate(ctx=command.ctx).content + + operators = content["properties"]["platform"]["operatorsAuthentication"]["userAssignedIdentities"] + self.assertEqual({ + "cluster-api-azure": _identity_id("replacement-control"), + "other-operator": _identity_id("other-control"), + }, operators["controlPlaneOperators"]) + self.assertNotIn(_identity_id("control"), operators["controlPlaneOperators"].values()) + self.assertEqual({ + _identity_id("replacement-control"): {}, + _identity_id("other-control"): {}, + _identity_id("service"): {}, + }, content["identity"]["userAssignedIdentities"]) + self.assertNotIn(_identity_id("control"), content["identity"]["userAssignedIdentities"]) + def test_pre_instance_update_resolves_all_identity_names_from_subnet(self): instance = self._instance() command = self._command( - control_plane=[{"name": "new-control", "resource_id": "control-two"}], - data_plane=[{"name": "new-data", "resource_id": "data-two"}], + control_plane=[ + {"name": "existing-control", "resource_id": "control-two"}, + {"name": "new-control", "resource_id": "control-three"}, + ], + data_plane=[ + {"name": "existing-data", "resource_id": "data-two"}, + {"name": "new-data", "resource_id": "data-three"}, + ], service="service-two", ) command.pre_instance_update(instance) operator_identities = instance.properties.platform.operators_authentication.user_assigned_identities - self.assertEqual({"new-control": _identity_id("control-two")}, - operator_identities.control_plane_operators) - self.assertEqual({"new-data": _identity_id("data-two")}, - operator_identities.data_plane_operators) + self.assertEqual({ + "existing-control": _identity_id("control-two"), + "new-control": _identity_id("control-three"), + }, operator_identities.control_plane_operators) + self.assertEqual({ + "existing-data": _identity_id("data-two"), + "new-data": _identity_id("data-three"), + }, operator_identities.data_plane_operators) self.assertEqual(_identity_id("service-two"), operator_identities.service_managed_identity) self.assertEqual({ _identity_id("control-two"): {}, - _identity_id("data-two"): {}, + _identity_id("control-three"): {}, _identity_id("service-two"): {}, }, instance.identity.user_assigned_identities.to_serialized_data()) @@ -502,12 +543,11 @@ def test_pre_instance_update_identity_flags_produce_put_content(self): if field is None: platform["containerRegistry"]["managedIdentity"] = _identity_id("replacement") else: - operators[field] = ( - {"replacement": _identity_id("replacement")} - if flag in ("control_plane", "data_plane") else _identity_id("replacement") - ) + if flag in ("control_plane", "data_plane"): + operators[field]["replacement"] = _identity_id("replacement") + else: + operators[field] = _identity_id("replacement") assigned_ids = set(operators["controlPlaneOperators"].values()) - assigned_ids.update(operators["dataPlaneOperators"].values()) assigned_ids.add(operators["serviceManagedIdentity"]) expected["identity"]["userAssignedIdentities"] = { identity_id: {} for identity_id in assigned_ids diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_format.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_format.py index ee1c60dfcba..7ba6dc9afbc 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_format.py +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_format.py @@ -10,7 +10,6 @@ _parse_semver, cluster_list_table_format, cluster_show_table_format, - get_versions_table_format, nodepool_list_table_format, nodepool_show_table_format, ) @@ -30,14 +29,6 @@ def test_major_minor(self): self.assertEqual("", _major_minor("invalid")) self.assertEqual("", _major_minor(None)) - def test_version_table_format(self): - self.assertEqual( - [{"Name": "4.19.2", "ChannelGroup": "stable"}, {"Name": "", "ChannelGroup": ""}], - get_versions_table_format([ - {"name": "4.19.2", "properties": {"channelGroup": "stable"}}, - {}, - ]), - ) def test_cluster_table_formats(self): cluster = { diff --git a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_kubeconfig.py b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_kubeconfig.py index 04e7267c36c..821d0ec6736 100644 --- a/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_kubeconfig.py +++ b/src/azure-cli/azure/cli/command_modules/aro/tests/latest/hcp/unit/test_kubeconfig.py @@ -157,6 +157,7 @@ def test_merges_and_renames_context_atomically(self): if os.name != "nt": self.assertEqual(0o600, stat.S_IMODE(os.stat(existing_path).st_mode)) + @unittest.skipIf(os.name == "nt", "Symlink test not applicable on Windows") def test_refuses_to_replace_symlink(self): with tempfile.TemporaryDirectory() as directory: target_path = os.path.join(directory, "target")